]> sourceware.org Git - glibc.git/blame - ChangeLog
Use M_SQRT1_2l instead of local M_SQRT_2_2 in libm-test.inc.
[glibc.git] / ChangeLog
CommitLineData
faa7f811
JM
12013-05-09 Joseph Myers <joseph@codesourcery.com>
2
0d3e777a
JM
3 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5
24f56066
JM
6 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7 M_PI_4l.
8
faa7f811
JM
9 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10 (M_PI_34_LOG10El): Likewise.
11 (M_PI2_LOG10El): Likewise.
12 (M_PI4_LOG10El): Likewise.
13 (M_PI_LOG10El): Likewise.
14
e9a5e0fd
AZ
152013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16
17 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18
d8cd06db
JM
192013-05-08 Joseph Myers <joseph@codesourcery.com>
20
a0d9f9d7
JM
21 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22 (MINUS_ZERO_INIT): Likewise.
23 (PLUS_INFTY_INIT): Likewise.
24 (MINUS_INFTY_INIT): Likewise.
25 (QNAN_VALUE_INIT): Likewise.
26 (MAX_VALUE_INIT): Likewise.
27 (MIN_VALUE_INIT): Likewise.
28 (MIN_SUBNORM_VALUE_INIT): Likewise.
29 (plus_zero): Initialize with PLUS_ZERO_INIT.
30 (minus_zero): Initialize with MINUS_ZERO_INIT.
31 (plus_infty): Initialize with PLUS_INFTY_INIT.
32 (minus_infty): Initialize with MINUS_INFTY_INIT.
33 (qnan_value): Initialize with QNAN_VALUE_INIT.
34 (max_value): Initialize with MAX_VALUE_INIT.
35 (min_value): Initialize with MIN_VALUE_INIT.
36 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
37
ae08db3b
JM
38 * math/libm-test.inc (RUN_TEST_if_f): New macro.
39 (jn_test): Use TEST_if_f instead of TEST_ff_f.
40 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41 (yn_test): Use TEST_if_f instead of TEST_ff_f.
42
f44bf14a
JM
43 * math/libm-test.inc (RUN_TEST_f_f): New macro.
44 (RUN_TEST_2_f): Likewise.
45 (RUN_TEST_ff_f): Likewise.
46 (RUN_TEST_fi_f): Likewise.
47 (RUN_TEST_fl_f): Likewise.
48 (RUN_TEST_fff_f): Likewise.
49 (RUN_TEST_c_f): Likewise.
50 (RUN_TEST_f_f1): Likewise.
51 (RUN_TEST_fF_f1): Likewise.
52 (RUN_TEST_fI_f1): Likewise.
53 (RUN_TEST_ffI_f1): Likewise.
54 (RUN_TEST_c_c): Likewise.
55 (RUN_TEST_cc_c): Likewise.
56 (RUN_TEST_f_i): Likewise.
57 (RUN_TEST_f_i_tg): Likewise.
58 (RUN_TEST_ff_i_tg): Likewise.
59 (RUN_TEST_f_b): Likewise.
60 (RUN_TEST_f_b_tg): Likewise.
61 (RUN_TEST_f_l): Likewise.
62 (RUN_TEST_f_L): Likewise.
63 (RUN_TEST_sincos): Likewise.
64 * math/gen-libm-test.pl (new_test): Take new argument to indicate
65 whether to show exceptions. Do not include ");\n" in return
66 value.
67 (special_functions): Output call to RUN_TEST_sincos instead of
68 check_float calls. Update calls to new_test.
69 (parse_args): Output call to single RUN_TEST_* macro instead of
70 check_* calls and other assignments. Update calls to new_test.
71
d8cd06db
JM
72 [BZ #2546]
73 [BZ #2560]
74 [BZ #5159]
75 [BZ #15426]
76 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
77 input to result for tgamma overflow.
78 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
79 (gamma_coeff): New variable.
80 (NCOEFF): New macro.
81 (gamma_positive): New function.
82 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
83 underflow here. Use gamma_positive instead of exp (lgamma) for
84 other arguments.
85 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
86 (gamma_coeff): New variable.
87 (NCOEFF): New macro.
88 (gammaf_positive): New function.
89 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
90 underflow here. Use gamma_positive instead of exp (lgamma) for
91 other arguments.
92 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
93 (gamma_coeff): New variable.
94 (NCOEFF): New macro.
95 (gammal_positive): New function.
96 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
97 underflow here. Use gamma_positive instead of exp (lgamma) for
98 other arguments.
99 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
100 (gamma_coeff): New variable.
101 (NCOEFF): New macro.
102 (gammal_positive): New function.
103 (__ieee754_gammal_r): Handle positive infinity, overflow and
104 underflow here. Handle NaN the same as positive infinity. Remove
105 check x < 0xffffffff for negative integers. Use gamma_positive
106 instead of exp (lgamma) for other arguments.
107 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
108 (gamma_coeff): New variable.
109 (NCOEFF): New macro.
110 (gammal_positive): New function.
111 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
112 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
113 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
114 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
115 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
116 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
117 * sysdeps/generic/math_private.h (__gamma_productf): New
118 prototype.
119 (__gamma_product): Likewise.
120 (__gamma_productl): Likewise.
121 * math/Makefile (libm-calls): Add gamma_product.
122 * math/libm-test.inc (tgamma_test): Add more tests.
123 * sysdeps/i386/fpu/libm-test-ulps: Update.
124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
125
bb7cf681
OB
1262013-05-08 Ondřej Bílka <neleai@seznam.cz>
127
128 * benchtests/bench-skeleton.c (main): Preheat CPU.
129
ba853947
AJ
1302013-05-07 Aurelien Jarno <aurelien@aurel32.net>
131
132 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
133
8347c74c
RM
1342013-05-07 Roland McGrath <roland@hack.frob.com>
135
136 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
137 and _dl_skip_args_internal.
138
e8dd4791
CD
1392013-05-07 Carlos O'Donell <carlos@redhat.com>
140
141 * manual/message.texi (Message Translation): Talk about users.
142 Message to key mapping impacts design.
143
c7405830
RM
1442013-05-06 Roland McGrath <roland@hack.frob.com>
145
a9173057
RM
146 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
147
976e2f03
RM
148 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
149
9723ffc5
RM
150 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
151 * sysdeps/wordsize-64/glob64.c: ... here.
152
962e6658
RM
153 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
154 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
155 New macros.
156
ee586a6d
RM
157 * debug/getlogin_r_chk.c: Moved to ...
158 * login/getlogin_r_chk.c: ... here.
159 * debug/Makefile (routines): Move getlogin_r_chk to ...
160 * login/Makefile (routines): ... here.
161 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
162 * login/Versions (libc: GLIBC_2.4): ... here.
163
355f9165
RM
164 * io/poll.c (__poll): Renamed from poll.
165 Add libc_hidden_def.
166 (poll): Define as weak alias.
167
bd9ffde6
RM
168 * debug/ptsname_r_chk.c: Moved to ...
169 * login/ptsname_r_chk.c: ... here.
170 * debug/Makefile (routines): Move ptsname_r_chk to ...
171 * login/Makefile (routines): ... here.
172 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
173 * login/Versions (libc: GLIBC_2.4): ... here.
174
8fb16a04
RM
175 * posix/getlogin.c: Moved to ...
176 * login/getlogin.c: ... here.
177 * posix/getlogin_r.c: Moved to ...
178 * login/getlogin_r.c: ... here.
179 * posix/getlogin_r.c: Moved to ...
180 * login/getlogin_r.c: ... here.
181 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
182 * login/Makefile (routines): ... here.
183 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
184 * login/Versions (libc: GLIBC_2.0): ... here.
185
b99b892f
RM
186 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
187 (setrlimit): Define as weak alias.
188
c7405830
RM
189 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
190 Call __ names for open, ftruncate, and close.
191 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
192 (truncate): Define as weak alias.
193
5bf96de5
JM
1942013-05-06 Joseph Myers <joseph@codesourcery.com>
195
9ea3513c
JM
196 * math/gen-libm-test.pl (parse_args): Initialize x before each
197 test of frexp, modf and remquo.
198
5bf96de5
JM
199 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
200 test signgam value.
201
16e616a7
AZ
2022013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
203
204 [BZ #15418]
205 [BZ #15419]
206 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
207 internal tests.
208 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
209
d5e82754
RM
2102013-05-06 Roland McGrath <roland@hack.frob.com>
211
212 * elf/dl-writev.h: New file.
213 * elf/dl-misc.c: Include it.
214 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
215 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
216
a7548d41
JM
2172013-05-04 Joseph Myers <joseph@codesourcery.com>
218
b7dab1e4
JM
219 * math/libm-test.inc (noXFails): Remove variable.
220 (noXPasses): Likewise.
221 (BUILD_COMPLEX_INT): Remove macro.
222 (print_screen): Remove xfail argument.
223 (print_screen_max_error): Likewise.
224 (update_stats): Likewise.
225 (print_max_error): Likewise. Update calls to other affected
226 functions.
227 (print_complex_max_error): Likewise.
228 (test_single_exception): Update calls to print_screen.
229 (test_single_errno): Likewise.
230 (check_float_internal): Remove xfail argument. Update calls to
231 other affected functions.
232 (check_float): Likewise.
233 (check_complex): Likewise.
234 (check_int): Likewise.
235 (check_long): Likewise.
236 (check_bool): Likewise.
237 (check_longlong): Likewise.
238 (main): Don't print noXFails and noXPasses.
239 * math/gen-libm-test.pl (top level): Don't mention expected
240 failure handling in comment.
241 (new_test): Don't handle expected failures.
242 (parse_args): Don't mention expected failure handling in comment.
243 (generate_testfile): Don't handle expected failures.
244 (parse_ulps): Likewise.
245 (print_ulps_file): Likewise.
246 (get_failure): Remove function.
247 (output_test): Don't handle expected failures.
248 * make/README.libm-test: Don't mention expected failure handling.
249
a7548d41
JM
250 * math/libm-test.inc (plus_zero): Make const. Add initializer.
251 (minus_zero): Likewise.
252 (plus_infty): Likewise.
253 (minus_infty): Likewise.
254 (qnan_value): Likewise.
255 (max_value): Likewise.
256 (min_value): Likewise.
257 (min_subnorm_value): Likewise.
258 (initialize): Do not initialize those variables dynamically.
259
60bfd54c
RM
2602013-05-03 Roland McGrath <roland@hack.frob.com>
261
cc0e6ed8
RM
262 * io/open.c (__open_2): Moved to ...
263 * io/open_2.c: ... this new file.
264 * io/open64.c (__open64_2): Moved to ...
265 * io/open64_2.c: ... this new file.
266 * io/openat.c (__openat_2): Moved to ...
267 * io/openat_2.c: ... this new file.
268 * io/openat64.c (__openat64_2): Moved to ...
269 * io/openat64_2.c: ... this new file.
270 * io/Makefile (routines): Add them.
271 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
272 * sysdeps/unix/sysv/linux/open_2.c: File removed.
273 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
274 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
275 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
276 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
277 (__openat64): Add hidden_ver.
278 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
279 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
280
60bfd54c
RM
281 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
282 Separately conditionalize setting of GLRO(dl_sysinfo) so
283 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
284 as well, but the actual setting is only under [NEED_DL_SYSINFO].
285
83e7640f
AZ
2862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
287
288 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
289 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
290 definition.
291 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
292 * sysdeps/unix/sysv/linux/powerpc/init-first.c
293 (_libc_vdso_platform_setup): Add __vdso_time initialization.
294 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
295 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
296
d5dc2af3
JM
2972013-05-03 Joseph Myers <joseph@codesourcery.com>
298
c31a5b1e
JM
299 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
300 test signgam value.
301
d5dc2af3
JM
302 * math/libm-test.inc (hypot_test): Do not use
303 IGNORE_ZERO_INF_SIGN.
304
164fd39d
AJ
3052013-05-03 Andreas Jaeger <aj@suse.de>
306
307 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
308 Linux 3.9.
309 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
310 (PF_MAX): Adjust for VSOCK change.
311
8237f48c
AZ
3122013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
313
314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
315
9df02941
CD
3162013-05-02 Carlos O'Donell <carlos@redhat.com>
317
318 [BZ #15264]
319 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
320 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
321 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
322
d422395e
DM
3232013-05-02 David S. Miller <davem@davemloft.net>
324
325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
326
a07c5731
OB
3272013-05-01 Ondřej Bílka <neleai@seznam.cz>
328
329 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
330
1324e37f
RM
3312013-05-01 Roland McGrath <roland@hack.frob.com>
332
333 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
334
0695940b
RS
3352013-05-01 Richard Smith <richard@metafoo.co.uk>
336
bb5f27ad 337 [BZ #14952]
0695940b
RS
338 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
339 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
340 Use __attribute__ ((__gnu_inline__)).
341 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
342 Don't use __attribute__ ((__gnu_inline__)).
343
10de07f5
JM
3442013-05-01 Joseph Myers <joseph@codesourcery.com>
345
346 [BZ #15423]
347 * math/s_catan.c (__catan): Handle small real or imaginary part of
348 input specially to avoid spurious underflow.
349 * math/s_catanf.c (__catanf): Likewise.
350 * math/s_catanh.c (__catanh): Likewise.
351 * math/s_catanhf.c (__catanhf): Likewise.
352 * math/s_catanhl.c (__catanhl): Likewise.
353 * math/s_catanl.c (__catanl): Likewise.
354 * math/libm-test.inc (catan_test): Add more tests.
355 (catanh_test): Likewise.
356 * sysdeps/i386/fpu/libm-test-ulps: Update.
357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
358
cb4d5414
AZ
3592013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
360
361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
362
caf84319
JM
3632013-04-30 Joseph Myers <joseph@codesourcery.com>
364
365 [BZ #15416]
366 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
367 accurately for denominator in atan2.
368 * math/s_catanf.c (__catanf): Likewise.
369 * math/s_catanh.c (__catanh): Likewise.
370 * math/s_catanhf.c (__catanhf): Likewise.
371 * math/s_catanhl.c (__catanhl): Likewise.
372 * math/s_catanl.c (__catanl): Likewise.
373 * math/libm-test.inc (catan_test): Add more tests.
374 (catanh_test): Likewise.
375 * sysdeps/i386/fpu/libm-test-ulps: Update.
376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
377
d569c6ee
SP
3782013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
379
6dbe713d
SP
380 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
381
f0ee064b
SP
382 * benchtests/Makefile (bench): Remove slow benchmarks.
383 * benchtests/atan-inputs: Add slow benchmark inputs.
384 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
385 (BENCH_FUNC): Accept variant offset.
386 (VARIANT): Define.
387 * benchtests/bench-skeleton.c (main): Run benchmark for each
388 variant.
389 * benchtests/cos-inputs: Add slow benchmark inputs.
390 * benchtests/exp-inputs: Likewise.
391 * benchtests/pow-inputs: Likewise.
392 * benchtests/sin-inputs: Likewise.
393 * benchtests/slowatan-inputs: Remove.
394 * benchtests/slowatan.c: Remove.
395 * benchtests/slowcos-inputs: Remove.
396 * benchtests/slowcos.c: Remove.
397 * benchtests/slowexp-inputs: Remove.
398 * benchtests/slowexp.c: Remove.
399 * benchtests/slowpow-inputs: Remove.
400 * benchtests/slowpow.c: Remove.
401 * benchtests/slowsin-inputs: Remove.
402 * benchtests/slowsin.c: Remove.
403 * benchtests/slowtan-inputs: Remove.
404 * benchtests/slowtan.c: Remove.
405 * benchtests/tan-inputs: Add slow benchmark inputs.
406 * scripts/bench.pl: Parse comments and directives.
407
d569c6ee
SP
408 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
409 in CPPFLAGS.
410 ($(objpfx)bench-%.c): Remove *-ITER.
411 * benchtests/bench-modf.c: Remove definition of ITER.
412 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
413 (main): Loop for DURATION seconds instead of fixed number of
414 iterations.
415 * scripts/bench.pl: Don't expect iterations in parameters.
416
a6a242fe
RM
4172013-04-29 Roland McGrath <roland@hack.frob.com>
418
419 * io/fchdir.c (__fchdir): Renamed from fchdir.
420 (fchdir): Define as weak alias.
421
f2da7793
JM
4222013-04-29 Joseph Myers <joseph@codesourcery.com>
423
424 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
425 (ERRNO_EDOM): Likewise.
426 (ERRNO_ERANGE): Likewise.
427 (noErrnoTests): New variable.
428 (init_max_error): Set errno to 0.
429 (test_single_errno): New function.
430 (test_errno): Likewise.
431 (check_float_internal): Call test_errno. Set errno to 0.
432 (check_complex): Refer to errno tests in comment.
433 (check_int): Call test_errno. Set errno to 0.
434 (check_long): Likewise.
435 (check_bool): Likewise.
436 (check_longlong): Likewise.
437 (cos_test): Use ERRNO_* flags for errno tests instead of
438 check_int.
439 (expm1_test): Likewise.
440 (fmod_test): Likewise.
441 (ilogb_test): Likewise.
442 (lgamma_test): Likewise.
443 (pow_test): Likewise.
444 (remainder_test): Likewise.
445 (sin_test): Likewise.
446 (tan_test): Likewise.
447 (yn_test): Likewise.
448 (initialize): Set errno to 0.
449 (main): Print number of errno tests.
450 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
451
b1a36ceb
AJ
4522013-04-29 Andreas Jaeger <aj@suse.de>
453
c3ed8088
AJ
454 [BZ #15084]
455 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
456 and RES_USEVC.
457
f1a24198
AJ
458 [BZ #15085]
459 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
460 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
461 unimplemented.
462
9ce3b2cb
AJ
463 [BZ #15380]
464 * stdlib/random.c (__initstate): Return NULL if
465 __initstate fails.
466
f1a24198 467 [BZ #15086]
b1a36ceb
AJ
468 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
469 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
470 RES_SNGLKUPREOP.
471
7e7b6f36
AZ
4722013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
473
474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
475
4d14f449
JM
4762013-04-29 Joseph Myers <joseph@codesourcery.com>
477
478 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
479 of individual tests.
480 (casin_test): Likewise.
481 (casinh_test): Likewise.
482
5b4217d7
JM
4832013-04-27 Joseph Myers <joseph@codesourcery.com>
484
485 [BZ #15409]
486 * math/s_catan.c (__catan): Handle arguments with large real or
487 imaginary part separately without squaring.
488 * math/s_catanf.c (__catanf): Likewise.
489 * math/s_catanh.c (__catanh): Likewise.
490 * math/s_catanhf.c (__catanhf): Likewise.
491 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
492 and redefine.
493 (__catanhl): Handle arguments with large real or imaginary part
494 separately without squaring.
495 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
496 and redefine.
497 (__catanl): Handle arguments with large real or imaginary part
498 separately without squaring.
499 * math/libm-test.inc (catan_test): Add more tests.
500 (catanh_test): Likewise.
501 * sysdeps/i386/fpu/libm-test-ulps: Update.
502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
503
4220c3ef
AJ
5042013-04-27 Andreas Jaeger <aj@suse.de>
505
506 [BZ #15007]
507 * stdlib/stdlib.h: Update guards for qecvt.
508 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
509 <stdlib.h>.
510
4721b2d1
AM
5112013-04-27 Allan McRae <allan@archlinux.org>
512
513 * sysdeps/i386/fpu/libm-test-ulps: Update.
514
f0302940
JM
5152013-04-26 Joseph Myers <joseph@codesourcery.com>
516
9457fd95
JM
517 [BZ #15406]
518 * math/s_catan.c: Include <float.h>.
519 (__catan): Ensure underflow exception occurs for underflowed
520 result.
521 * math/s_catanf.c: Include <float.h>.
522 (__catanf): Ensure underflow exception occurs for underflowed
523 result.
524 * math/s_catanh.c: Include <float.h>.
525 (__catanh): Ensure underflow exception occurs for underflowed
526 result.
527 * math/s_catanhf.c: Include <float.h>.
528 (__catanhf): Ensure underflow exception occurs for underflowed
529 result.
530 * math/s_catanhl.c: Include <float.h>.
531 (__catanhl): Ensure underflow exception occurs for underflowed
532 result.
533 * math/s_catanl.c: Include <float.h>.
534 (__catanl): Ensure underflow exception occurs for underflowed
535 result.
536 * math/libm-test.inc (catan_test): Add more tests.
537 (catanh_test): Likewise.
538
f0302940
JM
539 [BZ #15405]
540 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
541 underflowed result.
542 * math/s_ccoshf.c (__ccoshf): Likewise.
543 * math/s_ccoshl.c (__ccoshl): Likewise.
544 * math/s_csin.c (__csin): Likewise.
545 * math/s_csinf.c (__csinf): Likewise.
546 * math/s_csinh.c (__csinh): Likewise.
547 * math/s_csinhf.c (__csinhf): Likewise.
548 * math/s_csinhl.c (__csinhl): Likewise.
549 * math/s_csinl.c (__csinl): Likewise.
550 * math/libm-test.inc (ccos_test): Add more tests.
551 (ccosh_test): Likewise.
552 (csin_test): Likewise.
553 (csinh_test): Likewise.
554
aa630f59
AZ
5552013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
556
557 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
558 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
559 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
560 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
561 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
562 powerpc/power5+/fpu folders.
563 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
564
565
1b835983
MT
5662013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
567
568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
569
73709b26
JM
5702013-04-25 Joseph Myers <joseph@codesourcery.com>
571
572 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
573 additions to variable.
574 [$(config-machine) = x86_64] (modules-names): Likewise.
575 ($(objpfx)tst-audit3): Remove dependency.
576 ($(objpfx)tst-audit3.out): Likewise.
577 ($(objpfx)tst-audit4): Likewise.
578 ($(objpfx)tst-audit4.out): Likewise.
579 ($(objpfx)tst-audit5): Likewise.
580 ($(objpfx)tst-audit5.out): Likewise.
581 ($(objpfx)tst-audit6): Likewise.
582 ($(objpfx)tst-audit6.out): Likewise.
583 ($(objpfx)tst-audit7): Likewise.
584 ($(objpfx)tst-audit7.out): Likewise.
585 (tst-audit3-ENV): Remove variable.
586 (tst-audit4-ENV): Likewise.
587 (tst-audit5-ENV): Likewise.
588 (tst-audit6-ENV): Likewise.
589 (tst-audit7-ENV): Likewise.
590 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
591 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
592 addition to variable.
593 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
594 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
595 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
596 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
597 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
598 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
599 tst-audit3, tst-audit4 and tst-audit5.
600 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
601 tst-audit6 and tst-audit7.
602 [$(subdir) = elf] (modules-names): Add audit modules for those
603 tests.
604 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
605 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
606 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
607 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
608 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
609 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
610 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
611 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
612 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
613 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
614 [$(subdir) = elf] (tst-audit3-ENV): New variable.
615 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
616 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
617 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
618 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
619 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
620 Likewise.
621 [$(subdir) = elf && $(config-cflags-avx) = yes]
622 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
623 [$(subdir) = elf && $(config-cflags-avx) = yes]
624 (CFLAGS-tst-auditmod4a.c): Likewise.
625 [$(subdir) = elf && $(config-cflags-avx) = yes]
626 (CFLAGS-tst-auditmod4b.c): Likewise.
627 [$(subdir) = elf && $(config-cflags-avx) = yes]
628 (CFLAGS-tst-auditmod6b.c): Likewise.
629 [$(subdir) = elf && $(config-cflags-avx) = yes]
630 (CFLAGS-tst-auditmod6c.c): Likewise.
631 [$(subdir) = elf && $(config-cflags-avx) = yes]
632 (CFLAGS-tst-auditmod7b.c): Likewise.
633 * elf/tst-audit3.c: Move to ...
634 * sysdeps/x86_64/tst-audit3.c: ... here.
635 * elf/tst-audit4.c: Move to ...
636 * sysdeps/x86_64/tst-audit4.c: ... here.
637 * elf/tst-audit5.c: Move to ...
638 * sysdeps/x86_64/tst-audit5.c: ... here.
639 * elf/tst-audit6.c: Move to ...
640 * sysdeps/x86_64/tst-audit6.c: ... here.
641 * elf/tst-audit7.c: Move to ...
642 * sysdeps/x86_64/tst-audit7.c: ... here.
643 * elf/tst-auditmod3a.c: Move to ...
644 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
645 * elf/tst-auditmod3b.c: Move to ...
646 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
647 * elf/tst-auditmod4a.c: Move to ...
648 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
649 * elf/tst-auditmod4b.c: Move to ...
650 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
651 * elf/tst-auditmod5a.c: Move to ...
652 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
653 * elf/tst-auditmod5b.c: Move to ...
654 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
655 * elf/tst-auditmod6a.c: Move to ...
656 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
657 * elf/tst-auditmod6b.c: Move to ...
658 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
659 * elf/tst-auditmod6c.c: Move to ...
660 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
661 * elf/tst-auditmod7a.c: Move to ...
662 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
663 * elf/tst-auditmod7b.c: Move to ...
664 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
665
1ef74943
PP
6662013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
667
668 [BZ #15366]
669 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
670 define unconditionally.
671 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
672 define unconditionally.
673 (INT8_C, INT16_C, etc.): Likewise.
674
93fd48c5
MR
6752013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
676
ae9552cf
MR
677 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
678 __ehdr_start with hidden visibility.
679
93fd48c5
MR
680 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
681
418601aa
CD
6822013-04-24 Carlos O'Donell <carlos@redhat.com>
683
684 * math/libm-test.inc (cos_test): Use accurate hex constants.
685 (sincost_test): Likewise.
686
2f38fbfe
JM
6872013-04-24 Joseph Myers <joseph@codesourcery.com>
688
5e221800
JM
689 * math/libm-test.inc (catan_test): Add more tests.
690 (catanh_test): Likewise.
691
77f143fd
JM
692 * math/s_catanf.c (__catanf): Use suffixed floating-point
693 constants.
694 * math/s_catanhf.c (__catanhf): Likewise.
695 * math/s_catanhl.c (__catanhl): Likewise.
696 * math/s_catanl.c (__catanl): Likewise.
697
2f38fbfe
JM
698 [BZ #15394]
699 * math/s_catan.c (__catan): Calculate imaginary part of result
700 with log1p not log unless computing log of number close to 0.
701 * math/s_catanf.c (__catanf): Likewise.
702 * math/s_catanl.c (__catanl): Likewise.
703 * math/s_catanh.c (__catanh): Calculate real part of result with
704 log1p not log unless computing log of number close to 0.
705 * math/s_catanhf.c (__catanhf): Likewise.
706 * math/s_catanhl.c (__catanhl): Likewise.
707 * math/libm-test.inc (catan_test): Add more tests.
708 (catanh_test): Likewise.
709 * sysdeps/i386/fpu/libm-test-ulps: Update.
710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
711
45d69176
SP
7122013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
713
714 * benchtests/Makefile: Mention files in which fast and slow
715 paths of math functions are implemented.
716
87f51853
RM
7172013-04-23 Roland McGrath <roland@hack.frob.com>
718
719 * sysdeps/posix/timespec_get.c: New file.
720
3c026539
AZ
7212013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
722
723 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
724 POWER.
725 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
726 for POWER.
727 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
728 powerpc/power5/fpu folders.
729 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
730 * benchtests/Makefile: Add modf testcase.
731 * benchtests/bench-modf.c: New file: Benchmark test for mo
732
ff491d14
SP
7332013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
734
735 [BZ #14888]
736 * time/Makefile (tests): Add tst-strptime-whitespace.
737 * time/strptime_l.c (get_number): Use ISSPACE.
738 (__strptime_internal): Likewise.
739 * time/tst-strptime-whitespace.c: New test case.
740
7ed3f4e8
AS
7412013-04-23 Andreas Schwab <schwab@linux-m68k.org>
742
743 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
744 member.
745 (_nss_files_init): Set it here.
746
5c95f7b6
HC
7472013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
748
749 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
750 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
751 unsigned.
752
d34c9158
JBG
7532013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
754
755 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
756
2169712d
SP
7572013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
758
759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
760 size just once.
761
29c5de99
DM
7622013-04-21 David S. Miller <davem@davemloft.net>
763
764 * po/ru.po: Update Russion translation from translation project.
765
ccdad15d
AC
7662013-04-17 Adam Conrad <adconrad@0c3.net>
767
768 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
769 and setfsgid.
770
0f122b8d
CD
7712013-04-17 Carlos O'Donell <carlos@redhat.com>
772
5c5b07da 773 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 774 * configure: Regenerate.
5c5b07da 775 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
776 Add example to error message.
777 * sysdeps/i386/configure: Regenerate.
778
037714dd
SP
7792013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
780
781 * benchtests/Makefile (bench): Add cos, tan, slowcos and
782 slowtan.
783 * benchtests/cos-inputs: New file.
784 * benchtests/slowcos-inputs: New file.
785 * benchtests/slowcos.c: New file.
786 * benchtests/slowtan-inputs: New file.
787 * benchtests/slowtan.c: New file.
788 * benchtests/tan-inputs: New file.
789
e913141d
RM
7902013-04-16 Roland McGrath <roland@hack.frob.com>
791
792 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
793 considered kosher.
794
a2964074
SP
7952013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
796
4856bcd2
SP
797 * benchtests/Makefile: Include cppflags-iterator.mk to add
798 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
799
a2964074
SP
800 * Makefile.in (bench-clean): New target.
801 * benchtests/Makefile (bench-clean): Likewise.
802
9fbf9aca
DH
8032013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
804
805 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
806
207d1e2a
TS
8072013-04-15 Thomas Schwinge <thomas@codesourcery.com>
808
809 * stdio-common/tstdiomisc.c: Fix coding-style violation.
810
306dfba9
AS
8112013-04-15 Andreas Schwab <schwab@suse.de>
812
813 * nscd/grpcache.c (cache_addgr): Properly check for short write.
814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
815 * nscd/pwdcache.c (cache_addpw): Likewise.
816 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
817 more than recsize.
818
206a6699
SP
8192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
820
821 * benchtests/Makefile (bench): Write all output to
822 bench-out.tmp together.
823
0582f6b3
AS
8242013-04-15 Andreas Schwab <schwab@suse.de>
825
826 * nscd/nscd.c (main): Don't fork again after closing files.
827
acb4325f
SP
8282013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
829
5cb26d0a
SP
830 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
831
acb4325f
SP
832 * benchtests/Rules (bench-deps): Collect dependencies into a
833 single variable. Add Makefile to dependencies.
834 ($(objpfx)bench-%.c): Depend on bench-deps.
835
47792506
RM
8362013-04-12 Roland McGrath <roland@hack.frob.com>
837 Xavier Roche <roche+kml2@exalead.com>
838
839 [BZ #15361]
840 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
841 just that it's a file descriptor.
842 * manual/llio.texi (Synchronizing AIO Operations): Update description
843 for EBADF error from aio_fsync.
844
8fc1bee5
SP
8452013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
846
847 * Rules (bench): Move target definition...
848 * benchtests/Makefile: ... here.
849
aba5e333
CD
8502013-04-11 Carlos O'Donell <carlos@redhat.com>
851
852 * math/libm-test.inc (cos_test): Fix PI/2 test.
853 (sincos_test): Likewise.
854 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
855 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
856
273cdee8
AS
8572013-04-11 Andreas Schwab <schwab@suse.de>
858
6ecec3b6
AS
859 [BZ #13988]
860 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
861 accept exponent character only when digits were seen.
862 * stdio-common/Makefile (tests): Add bug26.
863 * stdio-common/bug26.c: New file.
864
273cdee8
AS
865 [BZ #14293]
866 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
867 non-freeable.
868
8da491f5
SP
8692013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
870
01dc6df9
SP
871 * Makeconfig (rtld-prefix): Define built linker prefix.
872 * Rules (run-bench): Use it.
873 * math/Makefile (run-regen-ulps): Likewise.
874
8da491f5
SP
875 * Rules (bench): Remove eval.
876
abe7f530
SP
8772013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
878 Roland McGrath <roland@hack.frob.com>
879 Ondrej Bilka <neleai@seznam.cz>
880
881 [BZ #15346]
882 * time/getdate.c: Include ctype.h and alloca.h.
883 (__getdate_r): Trim leading and trailing spaces of input.
884 * time/tst-getdate.c (tests): Add tests with leading and
885 trailing spaces.
886
61c23e62
RM
8872013-04-08 Roland McGrath <roland@hack.frob.com>
888
889 [BZ #14280]
890 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
891 when computing value.
892
7208a313
CD
8932013-04-06 Carlos O'Donell <carlos@redhat.com>
894
085b2d41
CD
895 * math/README.libm-test (How can I generate "libm-test-ulps"?):
896 Use testrun.sh to run libm tests.
897
7208a313
CD
898 [BZ #15309]
899 * elf/dl-open.c (dl_open_worker): memset all of seen array.
900
872c0acd
MM
9012013-04-06 Marko Myllynen <myllynen@redhat.com>
902
903 [BZ #15264]
904 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
905
26510bdd
CD
9062013-04-06 Carlos O'Donell <carlos@redhat.com>
907
908 * Makefile.in (regen-ulps): New target.
909 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
910 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
911 [ifneq (no,$(PERL)] (regen-ulps): New target.
912 [ifeq (no,$(PERL)] (regen-ulps): New target.
913 * math/libm-test.inc (ulps_file_name): Define.
914 (output_dir): New variable.
915 (options): Add "output-dir" option.
916 (parse_opt): Handle 'o' case.
917 (main): If output_dir is non-NULL use it as a prefix
918 otherwise use "".
919 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
920
a01f19c8
CD
9212013-04-06 Carlos O'Donell <carlos@redhat.com>
922
923 [BZ #10060, #10062]
924 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
925 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
926 fail configure if __sync_val_compare_and_swap is not inlined.
927 * sysdeps/i386/configure: Regenerate.
928 * configure.in: Build for i686 when configured for i386.
929 * configure: Regenerate.
930 * README: Remove i386 reference.
931
b7a329a5
CD
9322013-04-06 Carlos O'Donell <carlos@redhat.com>
933
934 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
935 * sysdeps/s390/s390-64/sysdep.h: Likewise.
936
bf0f50df
TS
9372013-04-05 Thomas Schwinge <thomas@codesourcery.com>
938
ee091edf
TS
939 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
940 (lmsnanval): New variables.
941 (F): Add conversion tests.
942 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
943 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
944
a8b792d6
TS
945 * stdio-common/tstdiomisc.c (F): Properly collect individual
946 tests' results.
947
a1cbf437
TS
948 [BZ #14686, #15336]
949 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
950 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
951 Instead, use input NaN values or generate a qNaN by arithmetic
952 operation. Also fix bugs to comply with the standard.
953 * math/libm-test.inc (remainder_test): Add more tests.
954
8b43a0c9
TS
955 [BZ #15335, #15342]
956 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
958 input NaN values or generate a qNaN by arithmetic operation.
959
d91da4ce
TS
960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
961 unreachable code.
962
bf0f50df
TS
963 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
964 definitions.
965
05e166c8
JM
9662013-04-03 Joseph Myers <joseph@codesourcery.com>
967
968 [BZ #14478]
969 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
970 underflowed result.
971 * math/s_cexpf.c (__cexpf): Likewise.
972 * math/s_cexpl.c (__cexpl): Likewise.
973 * math/libm-test.inc (cexp_test): Add more tests.
974
1cef1b19
AS
9752013-04-03 Andreas Schwab <schwab@suse.de>
976
977 [BZ #15330]
978 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
979 order arrays from heap if bigger than alloca cutoff.
980
74d87055
TS
9812013-04-03 Thomas Schwinge <thomas@codesourcery.com>
982
983 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
984 (SNAN_TESTS_double): Refer to GCC PR56831.
985 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
986 GCC PR56828.
987
d755bba4
SP
9882013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
989
90d5d5bb
SP
990 * Rules (bench): Move bench.out after the run is complete.
991
73e0cd5d
SP
992 * Rules (bench): Echo currently running benchmark.
993
64aabd4b
SP
994 * benchtests/Makefile (bench): Add atan and slowatan.
995 * benchtests/atan-inputs: New file.
996 * benchtests/slowatan-inputs: New file.
997 * benchtests/slowatan.c: New file.
998
c871eccd
SP
999 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1000 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1001 its value.
1002
d755bba4
SP
1003 [BZ #15305]
1004 * sysdeps/unix/sysv/linux/kernel-features.h
1005 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1006 __ASSUME_XFS_RESTRICTED_CHOWN.
1007 * sysdeps/unix/sysv/linux/pathconf.c
1008 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1009 Save and restore errno.
1010
52ce4860
JM
10112013-04-02 Joseph Myers <joseph@codesourcery.com>
1012
1013 [BZ #15327]
1014 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1015 arguments using __kernel_casinh.
1016 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1017 arguments using __kernel_casinhf.
1018 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1019 arguments using __kernel_casinhl.
1020 * math/libm-test.inc (cacosh_test): Add more tests.
1021 * sysdeps/i386/fpu/libm-test-ulps: Update.
1022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1023
81f311c2
SP
10242013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1025
e7906a47
SP
1026 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1028
92e3664b
SP
1029 * bench/Makefile (bench): Add sin and slowsin.
1030 * benchtests/sin-inputs: New file.
1031 * benchtests/slowsin-inputs: New file.
1032 * benchtests/slowsin.c: New file.
1033
81f311c2
SP
1034 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1035 (bench): Add slowexp and slowpow.
1036 (exp-ITER): Increase iterations.
1037 (pow-ITER): Likewise.
1038 * benchtests/exp-inputs: Change input.
1039 * benchtests/pow-inputs: Likewise.
1040 * benchtests/slowexp-inputs: New file.
1041 * benchtests/slowexp.c: New file.
1042 * benchtests/slowpow-inputs: New file.
1043 * benchtests/slowpow.c: New file.
1044
ab0f1aa9
AZ
10452013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1046
1047 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1048 instructions.
1049 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1050 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1051 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1052 * benchtests/Makefile: Add rint benchtest.
1053 * benchtests/rint-inputs: Input for rint benchtest.
1054
57267616
TS
10552013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1056
1057 * Versions.def (libm): Add GLIBC_2.18.
1058 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1059 hidden libm prototypes.
1060 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1061 * math/Makefile (libm-calls): Add s_issignaling.
1062 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1063 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1064 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1065 declaration.
1066 * math/math.h [__USE_GNU] (issignaling): New macro.
1067 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1068 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1069 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1070 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1071 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1072 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1073 * manual/arith.texi (issignaling): New section.
1074 * manual/libm-err-tab.pl (@all_functions): Update comment.
1075 * math/gen-libm-test.pl (parse_args): Apply special handling for
1076 issignaling.
1077 * math/libm-test.inc (print_float, issignaling_test): New
1078 functions.
1079 (check_float_internal): Add issignaling checks.
1080 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1081 default definition.
1082 * sysdeps/powerpc/math-tests.h: New file.
1083 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1084 tests.
1085 * math/test-snan.c (TEST_FUNC): Likewise.
1086
6142896d
DM
10872013-03-30 David S. Miller <davem@davemloft.net>
1088
1089 * po/de.po: Update from translation team.
1090
ccc8cadf
JM
10912013-03-30 Joseph Myers <joseph@codesourcery.com>
1092
1093 [BZ #10357]
1094 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1095 imaginary part less than 1.0 and real part less than 0.5
1096 specially.
1097 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1098 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1099 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1100 (cacos_test): Add more tests.
1101 (casin_test): Likewise.
1102 (casinh_test): Likewise.
1103 * sysdeps/i386/fpu/libm-test-ulps: Update.
1104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1105
0f6a8d4b
SP
11062013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1107
0d1029de
SP
1108 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1109 ONE with its value.
1110
c2d94018
SP
1111 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1112 (__pow_mp): Replace ONE and MONE with their values.
1113 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1115 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1116 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1117 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1118 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1119
27ec37f1
SP
1120 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1121
a64d7e0e
SP
1122 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1123 (__pow_mp): Replace ZERO and MZERO with their values.
1124 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1126 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1128 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1129 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1130 (__sqr): Likewise.
1131
d26dd3eb
SP
1132 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1133
0f6a8d4b
SP
1134 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1135
e57b0c61
RM
11362013-03-28 Roland McGrath <roland@hack.frob.com>
1137
1138 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1139 Declare with __attribute__ ((weak)).
1140 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1141 Call __call_tls_dtors only if it's not NULL.
1142
356b3480
RM
11432013-03-28 Roland McGrath <roland@hack.frob.com>
1144
288f7d79
RM
1145 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1146 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1147 magic __ehdr_start linker symbol if it's defined.
1148 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1149 them up here if it was already done.
1150
dc0a0263
RM
1151 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1152 (_dl_aux_init): Use const in cast when setting it.
1153 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1154 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1155 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1156
3d3436ae
RM
1157 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1158 Declare them here.
1159 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1160 * csu/libc-tls.c: Nor here.
1161 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1162
356b3480
RM
1163 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1164 (__libc_message): Never call vsyslog.
1165
b0f1246a
AM
11662013-03-28 Alan Modra <amodra@gmail.com>
1167
1168 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1169 Define as empty.
1170 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1171 Likewise.
1172
fbbe2b9a
AZ
11732013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1174
1175 [BZ #15214]
1176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1177 underflow.
1178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1179
1728ab37
SP
11802013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1181
7a86be6e
SP
1182 [BZ #15304]
1183 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1184 Don't add gid passed as argument.
1185
1728ab37
SP
1186 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1187
3a7182a1
JM
11882013-03-27 Joseph Myers <joseph@codesourcery.com>
1189
1190 [BZ #15307]
1191 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1192 imaginary part between 1.0 and 1.5 and real part less than 0.5
1193 specially.
1194 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1195 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1196 * math/libm-test.inc (cacos_test): Add more tests.
1197 (casin_test): Likewise.
1198 (casinh_test): Likewise.
1199 * sysdeps/i386/fpu/libm-test-ulps: Update.
1200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1201
6f2e90e7
SP
12022013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1203
5739f705
SP
1204 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1205 constants.
1206 (norm): Likewise.
1207 (denorm): Likewise.
1208 (__dbl_mp): Likewise.
1209 (add_magnitudes): Likewise.
1210 (sub_magnitudes): Likewise.
1211 (__add): Likewise.
1212 (__sub): Likewise.
1213 (__mul): Likewise.
1214 (__sqr): Likewise.
1215 (__inv): Likewise.
1216 (__dvd): Likewise.
1217
e375e83d
SP
1218 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1219 commented code.
1220 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1221 (__dubcos): Likewise.
1222 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1223 (__ieee754_acos): Likewise.
1224 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1225 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1226 (__exp1): Likewise.
1227 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1229 (log1): Likewise.
1230 (my_log2): Likewise.
1231 (checkint): Likewise.
1232 * sysdeps/ieee754/dbl-64/e_remainder.c
1233 (__ieee754_remainder): Likewise.
1234 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1235 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1236 (bsloww): Likewise.
1237 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1238
6f2e90e7
SP
1239 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1240 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1241 MANTISSA_STORE_T to store computations on mantissa. Use
1242 macros for rounding and division.
1243 (denorm): Likewise.
1244 (__dbl_mp): Likewise.
1245 (add_magnitudes): Likewise.
1246 (sub_magnitudes): Likewise.
1247 (__mul): Likewise.
1248 (__sqr): Likewise.
1249 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1250 powers of two in terms of TWOPOW macro.
1251 (mp_no): Make type of mantissa as MANTISSA_T.
1252 [!RADIXI]: Define RADIXI.
1253 [!TWO52]: Define TWO52.
1254 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1255
fce14d4e
AZ
12562013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1257
1258 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1259 llroundl symbol when building for PPC32.
1260
9ad027fb
MW
12612013-03-24 Mark H Weaver <mhw@netris.org>
1262
1263 * manual/arith.texi (Normalization Functions): Fix prototypes for
1264 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1265
e42a38dd
AZ
12662013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1267
1268 [BZ #13889]
1269 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1270 high value to check if expl overflow.
1271 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1272 to check for underflow and overflow.
1273 * math/libm-test.inc: Add exp test.
1274
2e0fb521
DL
12752013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1276
1277 [BZ #11120]
1278 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1279 with NOT_IN_libc.
1280
b5784d95
AZ
12812013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1282
1283 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1284 symbol.
1285
5aa4a1a1
TS
12862013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1287
bdef0be7
TS
1288 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1289 wrap blocks consisting of several statements.
1290
5aa4a1a1
TS
1291 * sysdeps/generic/math-tests.h: New file.
1292 * sysdeps/i386/fpu/math-tests.h: Likewise.
1293 * math/test-snan.c: Include it.
1294 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1295
98c48fe5
JM
12962013-03-21 Joseph Myers <joseph@codesourcery.com>
1297
1298 [BZ #15285]
1299 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1300 (__ieee754_j0l): Do not improve calculations using cos of twice
1301 input for inputs above LDBL_MAX / 2.0L.
1302 (__ieee754_y0l): Likewise.
1303 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1304 (__ieee754_j1l): Do not improve calculations using cos of twice
1305 input for inputs above LDBL_MAX / 2.0L.
1306 (__ieee754_y1l): Likewise.
1307 * math/libm-test.inc (j0_test): Add another test.
1308 (j1_test): Likewise.
1309 (y0_test): Likewise.
1310 (y1_test): Likewise.
1311 * sysdeps/i386/fpu/libm-test-ulps: Update.
1312
3775a8bc
SP
13132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1314
1315 * Rules ($(objpfx)bench-%.c): Include code from a C source
1316 file.
1317
0a1b2ae6
JM
13182013-03-21 Joseph Myers <joseph@codesourcery.com>
1319
1320 [BZ #15287]
1321 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1322 imaginary part 1.0 and real part less than 0.5 specially.
1323 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1324 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1325 * math/libm-test.inc (cacos_test): Add more tests.
1326 (casin_test): Likewise.
1327 (casinh_test): Likewise.
1328 * sysdeps/i386/fpu/libm-test-ulps: Update.
1329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1330
b33d4ce4
SP
13312013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1332
1333 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1334 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1335
bef0b507
JM
13362013-03-20 Joseph Myers <joseph@codesourcery.com>
1337
1338 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1339 * config.make.in (config-cflags-sse4): Remove variable.
1340 (config-cflags-avx): Likewise.
1341 (config-cflags-sse2avx): Likewise.
1342 (config-cflags-novzeroupper): Likewise.
1343 (config-asflags-i686): Likewise.
1344 (have-mfma4): Likewise.
1345 (have-as-vis3): Likewise.
1346 (MIG): Likewise.
1347 * configure.in (MIG): Do not AC_SUBST.
1348 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1349 (libc_cv_cc_sse4): Do not AC_SUBST.
1350 (libc_cv_cc_avx): Likewise.
1351 (libc_cv_cc_sse2avx): Likewise.
1352 (libc_cv_cc_novzeroupper): Likewise.
1353 (libc_cv_cc_fma4): Likewise.
1354 (libc_cv_as_i686): Likewise.
1355 (libc_cv_sparc_as_vis3): Likewise.
1356 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1357 LIBC_CONFIG_VAR.
1358 (config-asflags-i686): Likewise.
1359 (config-cflags-avx): Likewise.
1360 (config-cflags-sse2avx): Likewise.
1361 (have-mfma4): Likewise.
1362 (config-cflags-novzeroupper): Likewise.
1363 * sysdeps/mach/configure.in (MIG): Likewise.
1364 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1365 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1366 LIBC_CONFIG_VAR.
1367 (config-cflags-avx): Likewise.
1368 (config-cflags-sse2avx): Likewise.
1369 (have-mfma4): Likewise.
1370 (config-cflags-novzeroupper): Likewise.
1371 * configure: Regenerated.
1372 * sysdeps/i386/configure: Likewise.
1373 * sysdeps/mach/configure: Likewise.
1374 * sysdeps/sparc/configure: Likewise.
1375 * sysdeps/x86_64/configure: Likewise.
1376
912cc4b3
RM
13772013-03-20 Roland McGrath <roland@hack.frob.com>
1378
1379 [BZ #14812]
1380 * locale/programs/localedef.c (options): Put N_ translation marker
1381 on argument names, not just descriptions.
1382
04eed2b0
MS
13832013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1384
1385 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1386
a065ceff
OB
13872013-03-20 Ondřej Bílka <neleai@seznam.cz>
1388
9bb2a810 1389 [BZ #14176]
a065ceff
OB
1390 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1391
a600e5ce
RM
13922013-03-19 Roland McGrath <roland@hack.frob.com>
1393
1394 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1395 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1396 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1397 [!BEFORE_ABORT] (before_abort): New function.
1398 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1399 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1400 (writev_for_fatal): New function.
1401 (WRITEV_FOR_FATAL): New macro; call that.
1402 (backtrace_and_maps): New function.
1403 (BEFORE_ABORT): New macro; call that.
1404 (struct str_list): Type removed.
1405 (__libc_message, __libc_fatal): Functions removed.
1406 Include <sysdeps/posix/libc_fatal.c> instead.
1407
6b18bea6
JM
14082013-03-19 Joseph Myers <joseph@codesourcery.com>
1409
1410 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1411 constants.
1412 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1413 double constants.
1414
aaa8cb4b
AS
14152013-03-19 Andreas Schwab <schwab@suse.de>
1416
44673770
AS
1417 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1418 * sysdeps/gnu/configure: Regenerate.
1419
aaa8cb4b
AS
1420 * configure.in: Substitute libc_cv_rtlddir.
1421 * configure: Regenerate.
1422 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1423 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1424 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1425 * elf/Makefile (install-others, CFLAGS-interp.c)
1426 (ldso_install, common-ldd-rewrite): Likewise.
1427 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1428 $(inst_slibdir)/$(rtld-installed-name).
1429 * scripts/rellns-sh: Add -p option.
1430 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1431 for source.
1432
d3cfc668
SP
14332013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1434
1435 * manual/nptl.texi: Renamed to ...
1436 * manual/threads.texi: ... this.
1437 * manual/Makefile (chapters): Update.
1438
0e2b9cdd
RM
14392013-03-18 Roland McGrath <roland@hack.frob.com>
1440
1441 [BZ #14812]
1442 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1443 on argument names, not just descriptions.
0e2b9cdd
RM
1444 * malloc/memusagestat.c (options): Likewise.
1445 * nss/getent.c (options): Likewise.
63270c24
RM
1446
14472013-03-18 Benno Schulenberg <bensberg@justemail.net>
1448
1449 [BZ #14812]
1450 * iconv/iconv_prog.c (options): Put N_ translation marker
1451 on argument names, not just descriptions.
1452 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1453
b2e1393c
OB
14542013-03-18 Ondrej Bilka <neleai@seznam.cz>
1455
1456 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1457 implementation which is faster on all x86_64 architectures.
1458 Tested on AMD, Intel Nehalem, SNB, IVB.
1459 * sysdeps/x86_64/strnlen.S: Likewise.
1460
1461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1462 Remove all multiarch strlen and strnlen versions.
1463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1464 Remove strlen and strnlen related parts.
1465
1466 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1467 Inline strlen part.
1468 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1469
1470 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1471 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1472 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1473 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1474 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1475 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1476
ec4ff04d
CD
14772013-03-17 Carlos O'Donell <carlos@redhat.com>
1478
1479 * manual/memory.texi (Malloc Tunable Parameters):
1480 Sort parameters alphabetically. Add comments for missing entries.
1481
cd18e90a
DM
14822013-03-17 David S. Miller <davem@davemloft.net>
1483
1484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1485
2a185d32
JM
14862013-03-16 Joseph Myers <joseph@codesourcery.com>
1487
d2f9799e
JM
1488 [BZ #15283]
1489 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1490 for arguments at most half maximum finite value.
1491 * math/libm-test.inc (j0_test): Add more tests.
1492 (j1_test): Likewise.
1493 (y0_test): Likewise.
1494 (y1_test): Likewise.
1495 * sysdeps/i386/fpu/libm-test-ulps: Update.
1496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1497
2a185d32
JM
1498 [BZ #14155]
1499 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1500 1 / x and functions P and Q for arguments above 0x1p256L.
1501 (__ieee754_y0l): Likewise.
1502 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1503 (__ieee754_y1l): Likewise.
1504 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1505 (j1_test): Likewise.
1506 (y0_test): Likewise.
1507 (y1_test): Likewise.
1508
6cbec759
TS
15092013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1510
1511 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1512 variable.
1513
bc16e260
RM
15142013-03-15 Roland McGrath <roland@hack.frob.com>
1515
aefc9b8c
RM
1516 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1517 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1518 zero since it's initialized to EXEC_PAGESIZE.
1519
bc16e260
RM
1520 * sysdeps/unix/sysv/linux/ldsodefs.h
1521 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1522 * sysdeps/generic/ldsodefs.h: ... here.
1523
a57da955
TS
15242013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1525
af00a34d
TS
1526 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1527
495ded2c
TS
1528 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1529 math/test-snan.c.
1530 * math/test-snan.c: Renamed from
1531 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1532 * math/Makefile (tests): Add test-snan.
1533 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1534 test-powerpc-snan.
1535
777b0332
TS
1536 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1537 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1538 functions.
1539 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1540 __builtin_nan family of functions.
1541 * math/libm-test.inc (initialize): Initialize qnan_value with
1542 __builtin_nan family of functions.
1543 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1544 Remove variables.
1545 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1546 Remove functions.
1547 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1548 storage class. Initialize qNaN_var and sNaN_var with
1549 __builtin_nan and __builtin_nans families of functions,
1550 respectively.
1551
64d063b8
TS
1552 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1553 (sqrt_test): Remove duplicate test with qNaN input.
1554 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1555 (round_test, signbit_test, significand_test): Note missing +/-Inf
1556 as well as qNaN tests.
1557
67e971f1
TS
1558 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1559 qNaN_var. Fix a few strings, too.
1560 * math/libm-test.inc (nan_value): Rename to qnan_value.
1561 * math/gen-libm-test.pl (%beautify): Adjust to that.
1562 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1563 * math/test-misc.c (main): Likewise.
1564 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1565 to __qnan_bytes, and __qnan_union, respectively.
1566 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1567 Likewise.
1568 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1569 and lqnanval, respectively.
1570 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1571 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1572 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1573 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1574
64487e12
TS
1575 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1576 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1577 doubles.
1578
e015e27b
TS
1579 * math/test-misc.c (main): Fix copy'n'pastos.
1580 * misc/tst-efgcvt.c (special): Likewise.
1581
a57da955
TS
1582 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1583 Remove declarations.
1584
1e380345
SP
15852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1586
1587 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1588 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1589 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1590 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1591
ef26eece
AZ
15922013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1593
1594 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1595 macro to return vdso values correctly in IFUNC implementations.
1596 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1597 Optimization by using IFUNC.
1598
8cfdb7e0
SP
15992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1600 Richard Henderson <rth@redhat.com>
1601 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1602
1603 * Makefile.in (bench): New target.
1604 * NEWS: Mention the benchmark framework.
1605 * Rules (bench): Likewise.
1606 (binaries-bench): Generate binaries for functions to
1607 benchmark.
1608 * benchtests/Makefile: New makefile for benchmark tests.
1609 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1610 programs.
1611 * benchtests/exp-inputs: New input file for EXP function.
1612 * benchtests/pow-inputs: New input file for POW function.
1613 * scripts/bench.pl: New script to generate source files for
1614 benchmark programs.
1615
bcda9880
SP
16162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1617
d22ca8cd
SP
1618 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1619 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1620 computations on mantissa. Use macros for rounding and
1621 division.
1622 (denorm): Likewise.
1623 (__dbl_mp): Likewise.
1624 (add_magnitudes): Likewise.
1625 (sub_magnitudes): Likewise.
1626 (__mul): Likewise.
1627 (__sqr): Likewise.
1628 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1629 powers of two in terms of TWOPOW macro.
1630 (mp_no): Make type of mantissa as MANTISSA_T.
1631 [!RADIXI]: Define RADIXI.
1632 [!TWO52]: Define TWO52.
1633 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1634
bcda9880
SP
1635 * manual/nptl.texi (cindex): Modify threads to pthreads.
1636
06d5adfb
JM
16372013-03-15 Joseph Myers <joseph@codesourcery.com>
1638
1639 * sysdeps/x86_64/preconfigure: Regenerated.
1640
41c7328e
JM
16412013-03-14 Joseph Myers <joseph@codesourcery.com>
1642
1643 [BZ #14155]
1644 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1645 0x1p28 and above.
1646 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1647 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1648 0x1p28 and above.
1649 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1650 * math/libm-test.inc (j0_test): Do not allow one spurious
1651 underflow exception.
1652 (y1_test): Likewise.
1653
e25cfa60
SP
16542013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1655
0409959c
SP
1656 * manual/Makefile (chapters): Add nptl.
1657 * manual/debug.texi (Debugging Support): Add link to Threads
1658 chapter.
1659 * manual/nptl.texi: New file.
1660
e25cfa60
SP
1661 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1662
58a1335e
PB
16632013-03-14 Petr Baudis <pasky@ucw.cz>
1664
1665 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1666 for non-NULL pointer before the memory validity test. Pointed
1667 out by Holger Brunck <holger.brunck@keymile.com>.
1668
9dc7c64f
AS
16692013-03-13 Andreas Schwab <schwab@suse.de>
1670
1671 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1672 instead of .os.
1673
54206aa6
JM
16742013-03-13 Joseph Myers <joseph@codesourcery.com>
1675
1676 * timezone/zic.c: Update from tzcode 2013b.
1677
e98cdb38
CD
16782013-03-12 Carlos O'Donell <carlos@redhat.com>
1679
1680 * manual/install.texi (Configuring and compiling):
1681 Mention i686 and i586.
1682 * INSTALL: Regenerate.
1683
9967e003
RM
16842013-03-12 Roland McGrath <roland@hack.frob.com>
1685
1686 * sysdeps/init_array/elf-init.c: New file.
1687 * csu/elf-init.c
1688 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1689 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1690
1691 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1692 __gmon_start__ as global, but as static with a .preinit_array pointer.
1693 * sysdeps/init_array/gmon-start.c: New file. Use that.
1694 * sysdeps/init_array/crti.S: New file, empty except for comments.
1695 * sysdeps/init_array/crtn.S: Likewise.
1696
e6b5a293 16972013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1698
1699 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1700 definining bcopy.
80f844c9
OB
1701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1702 Remove Prefer_SSE_for_memop.
1703 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1704 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1705 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1707 memset-x86-64.
80f844c9 1708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1709 Remove bzero, memset ifunc support.
80f844c9
OB
1710 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1711 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1712 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1713 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1714
fb6b0fcb
AS
17152013-03-11 Andreas Schwab <schwab@suse.de>
1716
1717 [BZ #15234]
1718 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1719 by SHLIB_COMPAT.
1720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1721 (GLIBC_2.16): Remove pthread_atfork.
1722
3e6bd4b1
PP
17232013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1724
1725 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1726 (ptestcases.h): Likewise.
1727
222d7f00
RM
17282013-03-08 Roland McGrath <roland@hack.frob.com>
1729
1730 * Makeconfig ($(common-objpfx)config.status): Depend on
1731 sysdeps/*/preconfigure{,.in} too.
1732
1ba4f030
JM
17332013-03-08 Joseph Myers <joseph@codesourcery.com>
1734
a222d91a
JM
1735 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1736 (__free_hook): Use void * instead of __malloc_ptr_t.
1737 (__malloc_hook): Likewise.
1738 (__realloc_hook): Likewise.
1739 (__memalign_hook): Likewise.
1740 (__after_morecore_hook): Likewise.
1741 * malloc/arena.c (save_malloc_hook): Likewise.
1742 (save_free_hook): Likewise.
1743 * malloc/hooks.c (malloc_hook_ini): Likewise.
1744 (realloc_hook_ini): Likewise.
1745 (memalign_hook_ini): Likewise.
1746 * malloc/malloc.c (malloc_hook_ini): Likewise.
1747 (realloc_hook_ini): Likewise.
1748 (memalign_hook_ini): Likewise.
1749 (__free_hook): Likewise.
1750 (__malloc_hook): Likewise.
1751 (__realloc_hook): Likewise.
1752 (__memalign_hook): Likewise.
1753 (__libc_malloc): Likewise.
1754 (__libc_free): Likewise.
1755 (__libc_realloc): Likewise.
1756 (__libc_memalign): Likewise.
1757 (__libc_valloc): Likewise.
1758 (__libc_pvalloc): Likewise.
1759 (__libc_calloc): Likewise.
1760 (__posix_memalign): Likewise.
1761 * malloc/morecore.c (__sbrk): Likewise.
1762 (__default_morecore): Likewise.
1763
5cc45e10
JM
1764 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1765
dd54b864
JM
1766 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1767 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1768 __malloc_ptrdiff_t.
1769
1ba4f030
JM
1770 * malloc/malloc.h (__malloc_size_t): Remove macro.
1771 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1772 __malloc_size_t.
1773 (old_memalign_hook): Likewise.
1774 (old_realloc_hook): Likewise.
1775 (struct hdr): Likewise.
1776 (flood): Likewise.
1777 (mallochook): Likewise.
1778 (memalignhook): Likewise.
1779 (reallochook): Likewise.
1780 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1781 (tr_old_realloc_hook): Likewise.
1782 (tr_old_memalign_hook): Likewise.
1783 (tr_mallochook): Likewise.
1784 (tr_reallochook): Likewise.
1785 (tr_memalignhook): Likewise.
1786
edf66e57
AZ
17872013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1788
1789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1790 default_ldbl_pack and using as default implementation.
1791 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1792 implementation.
1793 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1794 redundant definition.
1795 (ldbl_insert_mantissa): Likewise.
1796 (ldbl_canonicalize): Likewise.
1797 (ldbl_nearbyint): Likewise.
1798 (ldbl_pack): Rename to ldbl_pack_ppc.
1799 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1800 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1801 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1802
6d9145d8
SP
18032013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1804
1805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1806 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1807 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1808 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1810 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1811 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1812 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1813
4dd4e157
AJ
18142013-03-07 Andreas Jaeger <aj@suse.de>
1815
1816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1817 bits/mman-linux.h.
1818
adbb8027
SP
18192013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1820
ce544b5b
SP
1821 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1822 Include mpa.h and declare __MPEXP.
1823 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1824 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1825 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1826 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1827 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1828 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1829 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1830
4cc149fd
SP
1831 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1832 (__slowpow): Use long double EXPL and LOGL functions to
1833 compute POW.
1834 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1835 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1836 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1837 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1838 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1839 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1840
e6ebd4a7
SP
1841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1842 intermediate variable to calculate exponent.
1843 (__sqr): Likewise.
1844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1845 Likewise.
1846 (__sqr): Likewise.
1847
82a9811d
SP
1848 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1849 [!NO__SQR]: Define __sqr.
1850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1851 and NO__SQR. Remove all code except __mul and __sqr. Include
1852 sysdeps/ieee754/dbl-64/mpa.c.
1853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1854
adbb8027
SP
1855 [BZ #12723]
1856 * posix/Makefile (tests): Add tst-pathconf.
1857 * posix/tst-pathconf.c: New test case.
1858 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1859 _PC_PIPE_BUF.
1860 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1861
39120df9
PF
18622013-03-06 Patsy Franklin <pfrankli@redhat.com>
1863
1864 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1865
67525cb8
AJ
18662013-03-06 Andreas Jaeger <aj@suse.de>
1867
664a9ce4
AJ
1868 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1869 definition via __MAP_ANONYMOUS.
1870
8e39047d
AJ
1871 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1872 it's not part of Linux headers.
1873
67525cb8
AJ
1874 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1875 (MAP_HUGE_MASK): Define.
1876
1877 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1878 Define.
1879 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1880 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1881 Define.
1882 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1883 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1884 Define.
1885 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1886 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1887 Define.
1888 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1889
1890 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1891 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1892 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1893 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1894 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1895 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1896
1897 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1898 Handle f2fs.
1899
1900 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1901 Handle f2fs and efivarfs.
1902
1903 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1904 f2fs.
1905
1906 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1907 (EFIVARFS_MAGIC): Add.
1908 (F2FS_LINK_MAX): Add.
1909
e1b42695
PP
19102013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1911
1912 * stdio-common/vfprintf.c: Replace __builtin_expect with
1913 __glibc_unlikely.
1914
2d67d91a
JM
19152013-03-06 Joseph Myers <joseph@codesourcery.com>
1916
1917 [BZ #13550]
1918 * sysdeps/generic/bp-sym.h: Remove file.
1919 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1920 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1921 <bp-sym.h> and <bp-asm.h>.
1922 (__longjmp): Don't use BP_SYM.
1923 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1924 and <bp-asm.h>.
1925 (memcpy): Don't use BP_SYM.
1926 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1927 <bp-sym.h> and <bp-asm.h>.
1928 (memcpy): Don't use BP_SYM.
1929 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1930 <bp-asm.h>.
1931 (memcpy): Don't use BP_SYM.
1932 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1933 <bp-asm.h>.
1934 (memset): Don't use BP_SYM.
1935 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1936 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1937 (__bzero): Don't use BP_SYM.
1938 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1939 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1940 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1941 <bp-sym.h> and <bp-asm.h>.
1942 (memcmp): Don't use BP_SYM. Remove comment about bounded
1943 pointers.
1944 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1945 <bp-sym.h> and <bp-asm.h>.
1946 (memcpy): Don't use BP_SYM.
1947 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1948 <bp-sym.h> and <bp-asm.h>.
1949 (memset): Don't use BP_SYM.
1950 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1951 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1952 (__bzero): Don't use BP_SYM.
1953 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1954 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1955 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1956 <bp-sym.h> and <bp-asm.h>.
1957 (strncmp): Don't use BP_SYM. Remove comment about bounded
1958 pointers.
1959 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1960 <bp-sym.h> and <bp-asm.h>.
1961 (memcpy): Don't use BP_SYM.
1962 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1963 <bp-sym.h> and <bp-asm.h>.
1964 (memset): Don't use BP_SYM.
1965 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1966 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1967 (__bzero): Don't use BP_SYM.
1968 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1969 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1970 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1971 <bp-sym.h> and <bp-asm.h>.
1972 (__memchr): Don't use BP_SYM.
1973 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1974 <bp-sym.h> and <bp-asm.h>.
1975 (memcmp): Don't use BP_SYM. Remove comment about bounded
1976 pointers.
1977 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1978 <bp-sym.h> and <bp-asm.h>.
1979 (memcpy): Don't use BP_SYM.
1980 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1981 <bp-sym.h> and <bp-asm.h>.
1982 (__mempcpy): Don't use BP_SYM.
1983 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1984 <bp-sym.h> and <bp-asm.h>.
1985 (__memrchr): Don't use BP_SYM.
1986 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1987 <bp-sym.h> and <bp-asm.h>.
1988 (memset): Don't use BP_SYM.
1989 (__bzero): Likewise.
1990 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1991 <bp-sym.h> and <bp-asm.h>.
1992 (__rawmemchr): Don't use BP_SYM.
1993 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1994 <bp-sym.h> and <bp-asm.h>.
1995 (__STRCMP): Don't use BP_SYM.
1996 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1997 <bp-sym.h> and <bp-asm.h>.
1998 (strchr): Don't use BP_SYM.
1999 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2000 <bp-sym.h> and <bp-asm.h>.
2001 (__strchrnul): Don't use BP_SYM.
2002 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2003 <bp-sym.h> and <bp-asm.h>.
2004 (strlen): Don't use BP_SYM.
2005 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2006 <bp-sym.h> and <bp-asm.h>.
2007 (strncmp): Don't use BP_SYM. Remove comment about bounded
2008 pointers.
2009 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2010 <bp-sym.h> and <bp-asm.h>.
2011 (__strnlen): Don't use BP_SYM.
2012 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2013 <bp-sym.h> and <bp-asm.h>.
2014 (__GI__setjmp): Don't use BP_SYM.
2015 (_setjmp): Likewise.
2016 (__sigsetjmp): Likewise.
2017 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2018 (L(start_addresses)): Don't use BP_SYM.
2019 (_start): Likewise.
2020 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2021 <bp-asm.h>.
2022 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2023 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2024 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2025 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2026 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2027 <bp-asm.h>.
2028 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2029 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2030 about bounded pointers.
2031 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2032 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2033 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2034 <bp-asm.h>.
2035 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2036 about bounded pointers. Remove GKM FIXME comments.
2037 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2038 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2039 <bp-asm.h>.
2040 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2041 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2042 Remove GKM FIXME comments.
2043 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2044 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2045 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2046 <bp-asm.h>.
2047 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2048 about bounded pointers. Remove GKM FIXME comment.
2049 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2050 and <bp-asm.h>.
2051 (strncmp): Don't use BP_SYM. Remove comment about bounded
2052 pointers.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2054 <bp-sym.h> and <bp-asm.h>.
2055 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2057 <bp-sym.h> and <bp-asm.h>.
2058 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2059 comment.
2060
cdcf361f
PP
20612013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2062
2063 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2064 call free(NULL).
2065
3c4a2b15
DM
20662013-03-05 David S. Miller <davem@davemloft.net>
2067
2068 * po/es.po: Update from translation team.
2069
cdcf361f 20702013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2071
2072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2073 <bits/mman-linux.h>.
2074 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2075 is fine.
2076 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2077 <bits/mman-linux.h> to end of file.
2078 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2079 is fine.
2080 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2081 <bits/mman-linux.h> to end of file.
2082 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2083 is fine.
2084 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2085 <bits/mman-linux.h> to end of file.
2086
2087 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2088 (MCL_CURRENT, MCL_FUTURE): Define here.
2089
5f67c04f
AK
20902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2091
8a4473cc 2092 [BZ #15232]
5f67c04f
AK
2093 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2094 attribute_hidden.
2095 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2096
c3e94a95
AK
20972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2098
2099 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2100 fourth parameter needed for rt_sigprocmask syscall.
2101 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2102 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2103 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2104 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2105 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2106 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2107
cfb6382a
JM
21082013-03-04 Joseph Myers <joseph@codesourcery.com>
2109
2110 [BZ #13550]
2111 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2112 comment about bounded pointers.
2113 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2114 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2115
539d8e01
AJ
21162013-03-04 Andreas Jaeger <aj@suse.de>
2117
2118 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2119 common definitions.
2120
2121 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2122 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2123 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2125 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2127
2e167a70 21282013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2129
2130 [BZ #15055]
2131 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2132 __ieee754_sqrl instead of __sqrl.
2133
68508633
JM
21342013-03-01 Joseph Myers <joseph@codesourcery.com>
2135
2136 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2137 * sysdeps/powerpc/fpu_control.h: ... here.
2138 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2139 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2140 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2141 * sysdeps/powerpc/bits/mathinline.h: ... here.
2142
7775448e
RM
21432013-03-01 Roland McGrath <roland@hack.frob.com>
2144
2145 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2146 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2147 to just [NEED_DL_SYSINFO_DSO].
2148 * elf/dl-support.c: Likewise.
2149 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2150 * elf/rtld.c (dl_main): Likewise.
2151 * elf/setup-vdso.h (setup_vdso): Likewise.
2152 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2153 * sysdeps/unix/sysv/linux/dl-sysdep.c
2154 (_dl_discover_osversion): Likewise.
2155
4e9b5995
CD
21562013-03-01 Carlos O'Donell <carlos@redhat.com>
2157
2158 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2159 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2160
e23872c8
SP
21612013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2162
e5c74c63
SP
2163 * NEWS: Mention libm performance improvements and non-x86 PI
2164 futex support.
2165
e23872c8
SP
2166 * csu/libc-start.c (__pthread_initialize_minimal): Change
2167 function arguments.
2168 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2169
b5510883
JM
21702013-02-28 Joseph Myers <joseph@codesourcery.com>
2171
2172 [BZ #13550]
2173 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2174 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2175 <bp-sym.h> and <bp-asm.h>.
2176 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2177 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2178 and <bp-asm.h>.
2179 (memcpy): Don't use BP_SYM.
2180 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2181 <bp-asm.h>.
2182 (__mpn_add_n): Don't use BP_SYM.
2183 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2184 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2185 and <bp-asm.h>.
2186 (__mpn_addmul_1): Don't use BP_SYM.
2187 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2188 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2189 <bp-sym.h>.
2190 (_setjmp): Don't use BP_SYM.
2191 (__novmx_setjmp): Likewise.
2192 (__GI__setjmp): Likewise.
2193 (__vmx_setjmp): Likewise.
2194 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2195 <bp-sym.h>.
2196 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2197 (__bzero): Don't use BP_SYM.
2198 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2199 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2200 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2201 <bp-sym.h> and <bp-asm.h>.
2202 (memcpy): Don't use BP_SYM.
2203 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2204 <bp-sym.h> and <bp-asm.h>.
2205 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2206 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2207 <bp-sym.h> and <bp-asm.h>.
2208 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2209 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2210 <bp-asm.h>.
2211 (__mpn_lshift): Don't use BP_SYM.
2212 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2213 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2214 <bp-asm.h>.
2215 (memset): Don't use BP_SYM.
2216 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2217 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2218 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2219 <bp-asm.h>.
2220 (__mpn_mul_1): Don't use BP_SYM.
2221 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2222 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2223 <bp-sym.h> and <bp-asm.h>.
2224 (memcmp): Don't use BP_SYM.
2225 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2226 <bp-sym.h> and <bp-asm.h>.
2227 (memcpy): Don't use BP_SYM.
2228 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2229 <bp-sym.h> and <bp-asm.h>.
2230 (memset): Don't use BP_SYM.
2231 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2232 <bp-sym.h> and <bp-asm.h>.
2233 (strncmp): Don't use BP_SYM.
2234 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2235 <bp-sym.h> and <bp-asm.h>.
2236 (memcpy): Don't use BP_SYM.
2237 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2238 <bp-sym.h> and <bp-asm.h>.
2239 (memset): Don't use BP_SYM.
2240 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2241 <bp-sym.h> and <bp-asm.h>.
2242 (__memchr): Don't use BP_SYM.
2243 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2244 <bp-sym.h> and <bp-asm.h>.
2245 (memcmp): Don't use BP_SYM.
2246 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2247 <bp-sym.h> and <bp-asm.h>.
2248 (memcpy): Don't use BP_SYM.
2249 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2250 <bp-sym.h> and <bp-asm.h>.
2251 (__mempcpy): Don't use BP_SYM.
2252 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2253 <bp-sym.h> and <bp-asm.h>.
2254 (__memrchr): Don't use BP_SYM.
2255 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2256 <bp-sym.h> and <bp-asm.h>.
2257 (memset): Don't use BP_SYM.
2258 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2259 <bp-sym.h> and <bp-asm.h>.
2260 (__rawmemchr): Don't use BP_SYM.
2261 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2262 <bp-sym.h> and <bp-asm.h>.
2263 (__STRCMP): Don't use BP_SYM.
2264 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2265 <bp-sym.h> and <bp-asm.h>.
2266 (strchr): Don't use BP_SYM.
2267 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2268 <bp-sym.h> and <bp-asm.h>.
2269 (__strchrnul): Don't use BP_SYM.
2270 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2271 <bp-sym.h> and <bp-asm.h>.
2272 (strlen): Don't use BP_SYM.
2273 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2274 <bp-sym.h> and <bp-asm.h>.
2275 (strncmp): Don't use BP_SYM.
2276 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2277 <bp-sym.h> and <bp-asm.h>.
2278 (__strnlen): Don't use BP_SYM.
2279 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2280 <bp-asm.h>.
2281 (__mpn_rshift): Don't use BP_SYM.
2282 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2283 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2284 <bp-sym.h> and <bp-asm.h>.
2285 (__sigsetjmp): Don't use BP_SYM.
2286 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2287 (L(start_addresses)): Don't use BP_SYM.
2288 (_start): Likewise.
2289 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2290 <bp-asm.h>.
2291 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2292 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2293 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2294 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2295 <bp-asm.h>.
2296 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2297 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2298 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2299 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2300 <bp-asm.h>.
2301 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2302 comments.
2303 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2304 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2305 <bp-asm.h>.
2306 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2307 FIXME comments.
2308 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2309 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2310 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2311 <bp-asm.h>.
2312 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2313 comment.
2314 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2315 and <bp-asm.h>.
2316 (strncmp): Don't use BP_SYM,
2317 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2318 <bp-asm.h>.
2319 (__mpn_sub_n): Don't use BP_SYM.
2320 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2321 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2322 and <bp-asm.h>.
2323 (__mpn_submul_1): Don't use BP_SYM.
2324 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2326 <bp-sym.h> and <bp-asm.h>.
2327 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2329 <bp-sym.h> and <bp-asm.h>.
2330 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2331 comment.
2332
8d19fe64
SP
23332013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2334
2335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2336 Use ZK to minimize writes to Z.
2337 (sub_magnitudes): Simplify code a bit.
2338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2339 Use ZK to minimize writes to Z.
2340 (sub_magnitudes): Simplify code a bit.
2341
85bd816a
RM
23422013-02-27 Roland McGrath <roland@hack.frob.com>
2343
2344 * csu/gmon-start.c: Add special exception to license text.
2345
b5977bf2
RH
23462013-02-27 Richard Henderson <rth@redhat.com>
2347
2348 * scripts/config.guess: Update from config.git.
2349 * scripts/config.sub: Likewise.
2350
11d6e2f2
SP
23512013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2352
09c14ed2
SP
2353 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2354
a688864e
SP
2355 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2356
6295157a
SP
2357 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2358
b8de2202
SP
2359 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2360
11d6e2f2
SP
2361 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2362
7e80ddb8
RM
23632013-02-26 Roland McGrath <roland@hack.frob.com>
2364
2365 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2366 [$(build-shared = yes].
7e80ddb8 2367
7da6d9ed
SP
23682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2369
45f05884
SP
2370 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2371 (__mul): Reduce iterations for calculating mantissa.
2372
2236d359
SP
2373 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2374 MPTWO.
2375 (__mpranred): Likewise.
2376
7da6d9ed
SP
2377 [BZ #15160]
2378 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2379 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2380
b7688c42
PE
23812013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2382
2383 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2384 Define __attribute__.
2385
53a5c423
SP
23862013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2387
2388 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2389 unused.
2390 * posix/regex_internal.h (__attribute): Remove.
2391 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2392 (re_string_context_at): Likewise.
2393 (bitset_not): Use __attribute__ and mark function as possibly
2394 unused.
2395 (bitset_merge): Likewise.
2396 (bitset_mask): Likewise.
2397 (re_string_char_size_at): Likewise.
2398 (re_string_wchar_at): Likewise.
2399 (re_string_elem_size_at): Likewise.
2400
60f5a8b5
SP
24012013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2402
2a983a2e
SP
2403 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2404 code.
2405 (cc32): Likewise.
2406
e69804d1
SP
2407 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2408 (__acr): Likewise.
2409 (__cpy): Likewise.
2410 (norm): Likewise.
2411 (denorm): Likewise.
2412 (__dbl_mp): Likewise.
2413 (add_magnitudes): Likewise.
2414 (sub_magnitudes): Likewise.
2415 (__mul): Likewise.
2416 (__inv): Likewise.
2417
2f22a1e8
SP
2418 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2419 style.
2420
8930ddc7
SP
2421 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2422 style.
2423
dc60cb11
SP
2424 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2425 code.
2426
60f5a8b5
SP
2427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2428 up changes with default code.
2429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2430 Likewise.
2431
b4d1fd33
AM
24322013-02-24 Allan McRae <allan@archlinux.org>
2433
faf6f8bc
AM
2434 * manual/socket.texi (The Internet Namespace): Order menu items
2435 to match that in the file.
2436
b4d1fd33
AM
2437 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2438 node listing of the info page menu.
2439
2366713d
JM
24402013-02-21 Joseph Myers <joseph@codesourcery.com>
2441
2442 [BZ #13550]
2443 * sysdeps/i386/bp-asm.h: Remove file.
2444 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2445 (PARMS): Do not use macros from bp-asm.h.
2446 (S1): Likewise.
2447 (S2): Likewise.
2448 (SIZE): Likewise.
2449 (__mpn_add_n): Do not use BP_SYM
2450 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2451 "bp-asm.h".
2452 (PARMS): Do not use macros from bp-asm.h.
2453 (S1): Likewise.
2454 (SIZE): Likewise.
2455 (__mpn_addmul_1): Do not use BP_SYM
2456 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2457 "bp-asm.h".
2458 (PARMS): Do not use macros from bp-asm.h.
2459 (SIGMSK): Likewise.
2460 (_setjmp): Likewise. Do not use BP_SYM.
2461 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2462 "bp-asm.h".
2463 (PARMS): Do not use macros from bp-asm.h.
2464 (SIGMSK): Likewise.
2465 (setjmp): Likewise. Do not use BP_SYM.
2466 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2467 "bp-asm.h".
2468 (PARMS): Do not use macros from bp-asm.h.
2469 (__frexp): Do not use BP_SYM.
2470 (frexp): Likewise.
2471 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2472 "bp-asm.h".
2473 (PARMS): Do not use macros from bp-asm.h.
2474 (__frexpf): Do not use BP_SYM.
2475 (frexpf): Likewise.
2476 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2477 "bp-asm.h".
2478 (PARMS): Do not use macros from bp-asm.h.
2479 (__frexpl): Do not use BP_SYM.
2480 (frexpl): Likewise.
2481 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2482 "bp-asm.h".
2483 (PARMS): Do not use macros from bp-asm.h.
2484 (__remquo): Do not use BP_SYM.
2485 (remquo): Likewise.
2486 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2487 "bp-asm.h".
2488 (PARMS): Do not use macros from bp-asm.h.
2489 (__remquof): Do not use BP_SYM.
2490 (remquof): Likewise.
2491 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2492 "bp-asm.h".
2493 (PARMS): Do not use macros from bp-asm.h.
2494 (__remquol): Do not use BP_SYM.
2495 (remquol): Likewise.
2496 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2497 "bp-asm.h".
2498 (PARMS): Do not use macros from bp-asm.h.
2499 (DEST): Likewise.
2500 (SRC): Likewise.
2501 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2502 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2503 "bp-asm.h".
2504 (PARMS): Do not use macros from bp-asm.h.
2505 (strlen): Do not use BP_SYM.
2506 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2507 "bp-asm.h".
2508 (PARMS): Do not use macros from bp-asm.h.
2509 (S1): Likewise.
2510 (S2): Likewise.
2511 (SIZE): Likewise.
2512 (__mpn_add_n): Do not use BP_SYM.
2513 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2514 "bp-asm.h".
2515 (PARMS): Do not use macros from bp-asm.h.
2516 (S1): Likewise.
2517 (SIZE): Likewise.
2518 (__mpn_addmul_1): Do not use BP_SYM.
2519 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2520 weak_alias.
2521 (bzero): Likewise.
2522 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2523 "bp-asm.h".
2524 (PARMS): Do not use macros from bp-asm.h.
2525 (S): Likewise.
2526 (SIZE): Likewise.
2527 (__mpn_lshift): Do not use BP_SYM.
2528 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2529 "bp-asm.h".
2530 (PARMS): Do not use macros from bp-asm.h.
2531 (DEST): Likewise.
2532 (SRC): Likewise.
2533 (LEN): Likewise.
2534 (memcpy): Likewise. Do not use BP_SYM.
2535 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2536 libc_hidden_def and weak_alias.
2537 (mempcpy): Do not use BP_SYM in weak_alias.
2538 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2539 "bp-asm.h".
2540 (PARMS): Do not use macros from bp-asm.h.
2541 (DEST): Likewise.
2542 (LEN): Likewise.
2543 [!BZERO_P] (CHR): Likewise.
2544 (memset): Likewise. Do not use BP_SYM.
2545 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2546 "bp-asm.h".
2547 (PARMS): Do not use macros from bp-asm.h.
2548 (S1): Likewise.
2549 (SIZE): Likewise.
2550 (__mpn_mul_1): Do not use BP_SYM.
2551 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2552 "bp-asm.h".
2553 (PARMS): Do not use macros from bp-asm.h.
2554 (S): Likewise.
2555 (SIZE): Likewise.
2556 (__mpn_rshift): Do not use BP_SYM.
2557 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2558 "bp-asm.h".
2559 (PARMS): Do not use macros from bp-asm.h.
2560 (STR): Likewise.
2561 (CHR): Likewise.
2562 (strchr): Likewise. Do not use BP_SYM.
2563 (index): Do not use BP_SYM in weak_alias.
2564 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2565 "bp-asm.h".
2566 (PARMS): Do not use macros from bp-asm.h.
2567 (DEST): Likewise.
2568 (SRC): Likewise.
2569 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2570 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2571 "bp-asm.h".
2572 (PARMS): Do not use macros from bp-asm.h.
2573 (strlen): Do not use BP_SYM.
2574 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2575 "bp-asm.h".
2576 (PARMS): Do not use macros from bp-asm.h.
2577 (S1): Likewise.
2578 (S2): Likewise.
2579 (SIZE): Likewise.
2580 (__mpn_sub_n): Do not use BP_SYM.
2581 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2582 "bp-asm.h".
2583 (PARMS): Do not use macros from bp-asm.h.
2584 (S1): Likewise.
2585 (SIZE): Likewise.
2586 (__mpn_submul_1): Do not use BP_SYM.
2587 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2588 "bp-asm.h".
2589 (PARMS): Do not use macros from bp-asm.h.
2590 (S1): Likewise.
2591 (S2): Likewise.
2592 (SIZE): Likewise.
2593 (__mpn_add_n): Do not use BP_SYM.
2594 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2595 weak_alias.
2596 (bzero): Likewise.
2597 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2598 "bp-asm.h".
2599 (PARMS): Do not use macros from bp-asm.h.
2600 (BLK2): Likewise.
2601 (LEN): Likewise.
2602 (memcmp): Do not use BP_SYM.
2603 (bcmp): Do not use BP_SYM in weak_alias.
2604 * sysdeps/i386/i686/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
2611 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2612 "bp-asm.h".
2613 (PARMS): Do not use macros from bp-asm.h.
2614 (DEST): Likewise.
2615 (SRC): Likewise.
2616 (LEN): Likewise.
2617 (memmove): Likewise. Do not use BP_SYM.
2618 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2619 "bp-asm.h".
2620 (PARMS): Do not use macros from bp-asm.h.
2621 (DEST): Likewise.
2622 (SRC): Likewise.
2623 (LEN): Likewise.
2624 (__mempcpy): Likewise. Do not use BP_SYM.
2625 (mempcpy): Do not use BP_SYM in weak_alias.
2626 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2627 "bp-asm.h".
2628 (PARMS): Do not use macros from bp-asm.h.
2629 (DEST): Likewise.
2630 (LEN): Likewise.
2631 [!BZERO_P] (CHR): Likewise.
2632 (memset): Likewise. Do not use BP_SYM.
2633 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2634 "bp-asm.h".
2635 (PARMS): Do not use macros from bp-asm.h.
2636 (STR2): Likewise.
2637 (strcmp): Do not use BP_SYM.
2638 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2639 "bp-asm.h".
2640 (PARMS): Do not use macros from bp-asm.h.
2641 (STR): Likewise.
2642 (DELIM): Likewise.
2643 [USE_AS_STRTOK_R] (SAVE): Likewise.
2644 (FUNCTION): Likewise. Do not use BP_SYM.
2645 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2646 aliases.
2647 (strtok_r): Likewise.
2648 (__GI___strtok_r): Likewise.
2649 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2650 (PARMS): Do not use macros from bp-asm.h.
2651 (S): Likewise.
2652 (SIZE): Likewise.
2653 (__mpn_lshift): Do not use BP_SYM.
2654 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2655 (PARMS): Do not use macros from bp-asm.h.
2656 (STR): Likewise.
2657 (CHR): Likewise.
2658 (__memchr): Do not use BP_SYM.
2659 (memchr): Do not use BP_SYM in weak_alias.
2660 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2661 (PARMS): Do not use macros from bp-asm.h.
2662 (BLK2): Likewise.
2663 (LEN): Likewise.
2664 (memcmp): Do not use BP_SYM.
2665 (bcmp): Do not use BP_SYM in weak_alias.
2666 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2667 (PARMS): Do not use macros from bp-asm.h.
2668 (S1): Likewise.
2669 (SIZE): Likewise.
2670 (__mpn_mul_1): Do not use BP_SYM.
2671 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2672 "bp-asm.h".
2673 (PARMS): Do not use macros from bp-asm.h.
2674 (STR): Likewise.
2675 (CHR): Likewise.
2676 (__rawmemchr): Do not use BP_SYM.
2677 (rawmemchr): Do not use BP_SYM in weak_alias.
2678 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2679 (PARMS): Do not use macros from bp-asm.h.
2680 (S): Likewise.
2681 (SIZE): Likewise.
2682 (__mpn_rshift): Do not use BP_SYM.
2683 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2684 (PARMS): Do not use macros from bp-asm.h.
2685 (SIGMSK): Likewise.
2686 (__sigsetjmp): Likewise. Do not use BP_SYM.
2687 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2688 (_start): Do not use BP_SYM.
2689 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2690 (PARMS): Do not use macros from bp-asm.h.
2691 (DEST): Likewise.
2692 (SRC): Likewise.
2693 (__stpcpy): Likewise. Do not use BP_SYM.
2694 (stpcpy): Do not use BP_SYM in weak_alias.
2695 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2696 "bp-asm.h".
2697 (PARMS): Do not use macros from bp-asm.h.
2698 (DEST): Likewise.
2699 (SRC): Likewise.
2700 (LEN): Likewise.
2701 (__stpncpy): Likewise. Do not use BP_SYM.
2702 (stpncpy): Do not use BP_SYM in weak_alias.
2703 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2704 (PARMS): Do not use macros from bp-asm.h.
2705 (STR): Likewise.
2706 (CHR): Likewise.
2707 (strchr): Likewise. Do not use BP_SYM.
2708 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2709 "bp-asm.h".
2710 (PARMS): Do not use macros from bp-asm.h.
2711 (STR): Likewise.
2712 (CHR): Likewise.
2713 (__strchrnul): Likewise. Do not use BP_SYM.
2714 (strchrnul): Do not use BP_SYM in weak_alias.
2715 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2716 "bp-asm.h".
2717 (PARMS): Do not use macros from bp-asm.h.
2718 (STOP): Likewise.
2719 (strcspn): Do not use BP_SYM.
2720 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2721 "bp-asm.h".
2722 (PARMS): Do not use macros from bp-asm.h.
2723 (STR): Likewise.
2724 (STOP): Likewise.
2725 (strpbrk): Likewise. Do not use BP_SYM.
2726 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2727 "bp-asm.h".
2728 (PARMS): Do not use macros from bp-asm.h.
2729 (STR): Likewise.
2730 (CHR): Likewise.
2731 (strrchr): Likewise. Do not use BP_SYM.
2732 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2733 (PARMS): Do not use macros from bp-asm.h.
2734 (SKIP): Likewise.
2735 (strspn): Do not use BP_SYM.
2736 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2737 (PARMS): Do not use macros from bp-asm.h.
2738 (STR): Likewise.
2739 (DELIM): Likewise.
2740 (SAVE): Likewise.
2741 (FUNCTION): Likewise. Do not use BP_SYM.
2742 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2743 aliases.
2744 (strtok_r): Likewise.
2745 (__GI___strtok_r): Likewise.
2746 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2747 (PARMS): Do not use macros from bp-asm.h.
2748 (S1): Likewise.
2749 (S2): Likewise.
2750 (SIZE): Likewise.
2751 (__mpn_sub_n): Do not use BP_SYM.
2752 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2753 "bp-asm.h".
2754 (PARMS): Do not use macros from bp-asm.h.
2755 (S1): Likewise.
2756 (SIZE): Likewise.
2757 (__mpn_submul_1): Do not use BP_SYM.
2758 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2759 <bp-sym.h>.
2760 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2761 and <bp-asm.h>.
2762 (PARMS): Do not use macros from bp-asm.h.
2763 (FLAGS): Likewise.
2764 (PTID): Likewise.
2765 (TLS): Likewise.
2766 (CTID): Likewise.
2767 (__clone): Do not use BP_SYM.
2768 (clone): Do not use BP_SYM in weak_alias.
2769 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2770 and <bp-asm.h>.
2771 (PARMS): Do not use macros from bp-asm.h.
2772 (LEN): Likewise.
2773 (__mmap64): Do not use BP_SYM.
2774 (mmap64): Do not use BP_SYM in weak_alias.
2775 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2776 <bp-sym.h> and <bp-asm.h>.
2777 (PARMS): Do not use macros from bp-asm.h.
2778 (__posix_fadvise64_l64): Do not use BP_SYM.
2779 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2780 (PARMS): Do not use macros from bp-asm.h.
2781 (NSOPS): Likewise.
2782 (semtimedop): Do not use BP_SYM.
2783 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2784 and <bp-asm.h>.
2785
582a3cff
AM
27862013-02-21 Allan McRae <allan@archlinux.org>
2787
2788 * manual/message.texi (Charset conversion in gettext):
2789 Move @end statement to beginning of line.
2790
bab8a695
SP
27912013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2792
80945231
SP
2793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2794 static.
2795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2796 Likewise.
2797
bab8a695
SP
2798 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2799 (denorm): Likewise.
2800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2802
e21d7aa7
AK
28032013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2804
2805 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2806 tail-call to the resolved function if pltexit isn't needed.
2807
4c7a4263
SP
28082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2809
2810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2811 or Y being zero as being unlikely.
2812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2813 Likewise.
2814
41f49342
CD
28152013-02-20 Carlos O'Donell <carlos@redhat.com>
2816
2817 * manual/nss.texi (System Databases and Name Service Switch):
2818 Remove frobnicate @pxref.
2819
50022a93
TS
28202013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2821
2822 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2823 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2824
08cbd996
PM
28252013-02-20 Petr Machata <pmachata@redhat.com>
2826
2827 * elf/elf.h (R_ARM_TARGET1): New macro.
2828 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2829 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2830 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2831 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2832 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2833 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2834 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2835 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2836 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2837 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2838 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2839 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2840 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2841 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2842 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2843 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2844 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2845 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2846 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2847 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2848 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2849 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2850 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2851 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2852 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2853 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2854 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2855 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2856 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2857 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2858 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2859 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2860 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2861 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2862 (R_ARM_THM_GOT_BREL12): Likewise.
2863 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2864 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2865 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2866 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2867 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2868 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2869 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2870 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2871 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2872
c7b275d6
TS
28732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2874
2875 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2876 __attribute_used__ to __attribute__ ((unused)).
2877
20cd7fb3
SP
28782013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2879
2880 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2881 powerpc mpa.c.
2882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2883 comment formatting.
2884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2885
92945b52
JM
28862013-02-19 Joseph Myers <joseph@codesourcery.com>
2887
2888 [BZ #13550]
2889 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2890 Remove macro.
2891 (ENTER): Remove both macro definitions.
2892 (LEAVE): Likewise.
2893 (CHECK_BOUNDS_LOW): Likewise.
2894 (CHECK_BOUNDS_HIGH): Likewise.
2895 (CHECK_BOUNDS_BOTH): Likewise.
2896 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2897 (RETURN_BOUNDED_POINTER): Likewise.
2898 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2899 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2900 (POP_ERRNO_LOCATION_RETURN): Likewise.
2901 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2902 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2903 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2904 macros.
2905 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2906 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2907 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2908 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2909 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2910 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2911 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2912 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2913 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2914 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2915 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2916 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2917 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2918 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2919 removed macros.
2920 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2921 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2922 macros.
2923 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2924 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2925 * sysdeps/i386/i586/memset.S (memset): Likewise.
2926 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2927 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2928 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2929 macros.
2930 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2931 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2932 Change uses of L(2) to L(out).
2933 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2934 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2935 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2936 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2937 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2938 removed macros.
2939 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2940 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2941 macros.
2942 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2943 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2944 (RETURN): Do not use macro LEAVE.
2945 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2946 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2947 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2948 * sysdeps/i386/i686/memset.S (memset): Likewise.
2949 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2950 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2951 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2952 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2953 Likewise.
2954 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2955 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2956 L(1_2) and L(1_3) into L(1).
2957 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2958 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2959 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2960 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2961 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2962 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2963 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2964 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2965 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2966 macros.
2967 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2968 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2969 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2970 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2971 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2972 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2973 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2974 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2975 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2976 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2977 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2978 * sysdeps/i386/strspn.S (strspn): Likewise.
2979 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2980 conditional code.
2981 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2982 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2983 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2984 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2985 L(1_3) into L(1_1).
2986 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2987 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2988 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2989 macros.
2990 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2991
2389741a
JJ
29922013-02-19 Jakub Jelinek <jakub@redhat.com>
2993
2994 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2995 macro.
2996
2016b3cd
SP
29972013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2998
e4f22324
SP
2999 * math/atest-exp.c (exp_mpn): Remove ROUND.
3000 * math/atest-exp2.c (exp_mpn): Likewise.
3001 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3002
2016b3cd
SP
3003 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3004 * stdlib/tst-tls-atexit-lib.c: Likewise.
3005 * stdlib/tst-tls-atexit.c: Likewise.
3006
4be9b544
MF
30072013-02-18 Mike Frysinger <vapier@gentoo.org>
3008
3009 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3010 and __attribute_alloc_size__.
3011
2f62b9ee
MF
30122013-02-18 Mike Frysinger <vapier@gentoo.org>
3013
3014 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3015 __attribute_alloc_size__.
3016 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3017 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3018
6ff444c4
MF
30192013-02-18 Mike Frysinger <vapier@gentoo.org>
3020
3021 * include/programs/xmalloc.h: New file.
3022 * catgets/gencat.c: Include it.
3023 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3024 * elf/pldd.c: Likewise.
3025 * iconv/iconv_charmap.c: Likewise.
3026 * iconv/iconvconfig.c: Likewise.
3027 * iconv/strtab.c: Likewise.
3028 * locale/programs/locale.c: Likewise.
3029 * locale/programs/localedef.h: Likewise.
3030 * locale/programs/simple-hash.c: Likewise.
3031 * nscd/nscd.h: Likewise.
3032 * nss/makedb.c: Likewise.
3033 * sysdeps/generic/ldconfig.h: Likewise.
3034
be179c8a
SP
30352013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3036
ba384f6e
SP
3037 * Versions.def: Add GLIBC_2.18.
3038 * include/link.h (struct link_map): New member l_tls_dtor_count.
3039 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3040 (__call_tls_dtors): Likewise.
3041 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3042 __cxa_thread_atexit_impl.
3043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3044 Likewise.
3045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3046 Likewise.
3047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3048 Likewise.
3049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3050 Likewise.
3051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3053 Likewise.
3054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3055 Likewise.
3056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3058 Likewise.
3059 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3060 (tests): Add test case tst-tls-atexit.
3061 (modules-names): Add shared library for tst-tls-atexit.
3062 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3063 (GLIBC_PRIVATE): Add __call_tls_dtors.
3064 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3065 for libstdc++.
3066 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3067 * stdlib/tst-tls-atexit.c: New test case.
3068 * stdlib/tst-tls-atexit-lib.c: New test case.
3069
ffaa74cf 3070 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3071
be179c8a
SP
3072 * elf/Versions (ld): Add _dl_find_dso_for_object.
3073 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3074 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3075 (dl_open_worker): Use _dl_find_dso_for_object.
3076 * elf/dl-sym.c (do_sym): Likewise.
3077 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3078
f78b5caa
AK
30792013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3080
3081 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3082 Syntactic changes only.
3083 (_dl_runtime_profile): Do a tail-call to the resolved function.
3084
29691210
JM
30852013-02-17 Joseph Myers <joseph@codesourcery.com>
3086
3087 [BZ #13550]
3088 * sysdeps/x86_64/bp-asm.h: Remove file.
3089 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3090 <bp-sym.h> and <bp-asm.h>.
3091 (__clone): Do not use BP_SYM.
3092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3093 <bp-sym.h> and <bp-asm.h>.
3094 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3095 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3096 "bp-asm.h".
3097 (_setjmp): Do not use BP_SYM.
3098 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3099 "bp-asm.h".
3100 (setjmp): Do not use BP_SYM.
3101 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3102 libc_hidden_def.
3103 (mempcpy): Do not use BP_SYM in weak_alias.
3104 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3105 "bp-asm.h".
3106 (strchr): Do not use BP_SYM.
3107 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3108 "bp-asm.h".
3109 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3110 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3111 (_start): Do not use BP_SYM.
3112 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3113 "bp-asm.h".
3114 (strcat): Do not use BP_SYM.
3115 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3116 "bp-asm.h".
3117 (STRCMP): Do not use BP_SYM.
3118 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3119 "bp-asm.h".
3120 (STRCPY): Do not use BP_SYM.
3121 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3122 "bp-asm.h".
3123 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3124 "bp-asm.h".
3125 (FUNCTION): Do not use BP_SYM.
3126 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3127 weak_alias.
3128 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3129
f238fd19
AJ
31302013-02-17 Andreas Jaeger <aj@suse.de>
3131
3132 * time/Versions: Sort entries.
3133 * string/Versions: Likewise.
3134 * resolv/Versions: Likewise.
3135 * posix/Versions: Likewise.
3136 * iconv/Versions: Likewise.
3137 * elf/Versions: Likewise.
3138 * wcsmbs/Versions: Likewise.
3139
bd07f23c 31402013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3141
22af19f9
SP
3142 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3143 loop termination condition.
3144
4709fe76
SP
3145 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3146 variable to calculate EZ.
3147 (__sqr): Likewise.
2d0e0f29
SP
3148
3149 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3150 the lower precision input.
3151
daaa7713
JM
31522013-02-15 Joseph Myers <joseph@codesourcery.com>
3153
3154 [BZ #13550]
3155 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3156 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3157 (run-via-rtld-prefix): Do not handle %-bp tests.
3158 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3159 (all-object-suffixes): Remove .ob.
3160 (bppfx): Remove variable.
3161 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3162 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3163 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3164 [$(build-bounded) = yes] (libtype.ob): Likewise.
3165 * Makerules (elide-routines.ob): Remove variable.
3166 (do-tests-clean): Do not handle *-bp.out.
3167 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3168 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3169 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3170 (tests): Do not include $(tests-bp.out).
3171 (xtests): Do not include $(xtests-bp.out).
3172 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3173 [$(build-bounded) = yes] ($(addprefix
3174 $(objpfx),$(binaries-bounded))): Remove rule.
3175 ($(objpfx)%-bp.out): Remove rule.
3176 * config.make.in (build-bounded): Remove variable.
3177 * crypt/Makefile [$(build-bounded) = yes]
3178 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3179 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3180 append to variable.
3181 [$(build-bounded) = yes] (install-lib): Likewise.
3182 [$(build-bounded) = yes] (generated): Likewise.
3183 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3184 Remove rule.
3185 * intl/Makefile [$(build-bounded) = yes]
3186 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3187 * math/Makefile [$(build-bounded) = yes]
3188 ($(tests:%=$(objpfx)%-bp): Likewise.
3189 * misc/Makefile [$(build-bounded) = yes]
3190 ($(objpfx)tst-tsearch-bp): Likewise.
3191 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3192 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3193 Remove dependency.
3194 * string/Makefile (o-objects.ob): Remove variable.
3195 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3196 (CFLAGS-.ob): Remove variable.
3197 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3198 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3199 both definitions of variable.
3200 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3201 (ASFLAGS-.ob): Remove variable.
3202
e97ed6dd
JM
32032013-02-14 Joseph Myers <joseph@codesourcery.com>
3204
2bdd4ca6
JM
3205 [BZ #13550]
3206 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3207 Remove __BOUNDED_POINTERS__ from condition.
3208 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3209 * string/bits/string2.h [!__NO_STRING_INLINES &&
3210 !__BOUNDED_POINTERS__]: Likewise.
3211 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3212 Likewise.
3213 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3214 Remove conditional code.
3215 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3216 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3217 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3218 condition.
3219
e97ed6dd
JM
3220 [BZ #13550]
3221 * csu/libc-start.c: Do not include <bp-sym.h>.
3222 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3223 * elf/dl-open.c: Do not include <bp-sym.h>.
3224 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3225 * math/fegetenv.c: Do not include <bp-sym.h>.
3226 (fegetenv): Do not use BP_SYM in versioned symbols.
3227 * nptl/sysdeps/pthread/bits/libc-lockP.h
3228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3229 <bp-sym.h>.
3230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3231 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3233 (__pthread_mutex_destroy): Likewise.
3234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3235 (__pthread_mutex_lock): Likewise.
3236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3237 (__pthread_mutex_trylock): Likewise.
3238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3239 (__pthread_mutex_unlock): Likewise.
3240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3241 (__pthread_mutexattr_init): Likewise.
3242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3243 (__pthread_mutexattr_destroy): Likewise.
3244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3245 (__pthread_mutexattr_settype): Likewise.
3246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3247 (__pthread_rwlock_init): Likewise.
3248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3249 (__pthread_rwlock_destroy): Likewise.
3250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3251 (__pthread_rwlock_rdlock): Likewise.
3252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3253 (__pthread_rwlock_tryrdlock): Likewise.
3254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3255 (__pthread_rwlock_wrlock): Likewise.
3256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3257 (__pthread_rwlock_trywrlock): Likewise.
3258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3259 (__pthread_rwlock_unlock): Likewise.
3260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3261 (__pthread_key_create): Likewise.
3262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3263 (__pthread_setspecific): Likewise.
3264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3265 (__pthread_getspecific): Likewise.
3266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3267 Likewise.
3268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3269 (_pthread_cleanup_push_defer): Likewise.
3270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3271 (_pthread_cleanup_pop_restore): Likewise.
3272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3273 (pthread_setcancelstate): Likewise.
3274 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3275 <bp-sym.h>.
3276 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3277 (memchr): Do not use BP_SYM in weak_alias.
3278 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3279 (fegetenv): Do not use BP_SYM in versioned symbols.
3280 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3281 (fesetenv): Do not use BP_SYM in versioned symbols.
3282 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3283 (feupdateenv): Do not use BP_SYM in versioned symbols.
3284 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3285 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3286 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3287 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3288 (open64): Do not use BP_SYM in weak_alias.
3289 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3290 (fegetenv): Do not use BP_SYM in versioned symbols.
3291 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3292 (fesetenv): Do not use BP_SYM in versioned symbols.
3293 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3294 (feupdateenv): Do not use BP_SYM in versioned symbols.
3295 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3296 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3297 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3298 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3299 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3300 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3301 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3302 <bp-sym.h>.
3303 (__libc_start_main): Do not use BP_SYM.
3304
d6752ccd
SP
33052013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3306
cb57ce60
SP
3307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3308 redundant return line.
3309 (norm): Likewise.
3310 (denorm): Likewise.
3311 (dbl_mp): Likewise.
3312 (sub_magnitudes): Likewise.
3313 (__add): Likewise.
3314 (__sub): Likewise.
3315 (__mul): Likewise.
3316 (__inv): Likewise.
3317 (__dvd): Likewise.
3318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3319 (norm): Likewise.
3320 (denorm): Likewise.
3321 (dbl_mp): Likewise.
3322 (sub_magnitudes): Likewise.
3323 (__add): Likewise.
3324 (__sub): Likewise.
3325 (__mul): Likewise.
3326 (__inv): Likewise.
3327 (__dvd): Likewise.
3328
f414520d
SP
3329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3330 instead of __mul.
3331 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3332 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3333 (cc32): Likewise.
3334
d6752ccd
SP
3335 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3336 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3338 of __mul for squares.
3339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3340 function
3341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3342 Likewise.
3343 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3344 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3345
70d9946a
JM
33462013-02-13 Joseph Myers <joseph@codesourcery.com>
3347
3348 [BZ #13550]
3349 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3350 code.
3351 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3352 prototype or function definition. Rename ubp_* variables and
3353 parameters. Remove argv definitions conditional on
3354 [__BOUNDED_POINTERS__].
3355 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3356 * elf/dl-runtime.c (_dl_fixup): Likewise.
3357 * include/set-hooks.h (RUN_HOOK): Likewise.
3358 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3359 definition.
3360 * string/strcpy.c (strcpy): Do not use __unbounded.
3361 * sysdeps/generic/frame.h (struct layout): Likewise.
3362 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3363 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3364 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3365 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3366 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3367 (__backtrace): Likewise.
3368 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3369 use __ptrvalue.
3370 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3371 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3372 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3373 Likewise.
3374 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3375 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3376 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3377 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3378 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3379 Do not use __unbounded.
3380 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3381 Rename __unboundedrlimits parameter to rlimits in prototype.
3382 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3383 Do not use __unbounded.
3384 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3385 not use __ptrvalue.
3386 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3387 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3388 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3389 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3390 __ptrvalue or __unbounded.
3391 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3392 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3393 use __unbounded.
3394 (__new_msgctl): Do not use __ptrvalue.
3395 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3396 __unbounded.
3397 (__libc_msgrcv): Do not use __ptrvalue.
3398 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3399 startup_info): Do not use __unbounded.
3400 (__libc_start_main): Likewise. Rename ubp_* variables and
3401 parameters. Remove argv definitions conditional on
3402 [__BOUNDED_POINTERS__].
3403 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3404 __ptrvalue.
3405 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3406 use __unbounded.
3407 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3408 or __ptrvalue.
3409 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3410 use __unbounded.
3411 (__new_shmctl): Do not use __ptrvalue.
3412 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3413 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3414 Likewise.
3415 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3416 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3417 (__libc_sigaction): Likewise.
3418 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3419 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3420 Likewise.
3421 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3422
cc7834d6
OB
34232013-02-13 Ondřej Bílka <neleai@seznam.cz>
3424
ffb1ec7b 3425 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3426
3427 * string/mempcpy.c: Implement by calling memcpy.
3428
bdf02814
SP
34292013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3430
c2af38aa
SP
3431 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3432
4e92d59e
SP
3433 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3434 evaluation.
3435
909279a5
SP
3436 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3437 values in the mantissa.
3438
bdf02814
SP
3439 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3440 minimize writes to Z.
3441 (sub_magnitudes): Simplify code a bit.
3442
cd525923
RM
34432013-02-12 Roland McGrath <roland@hack.frob.com>
3444
3445 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3446 from the message. The linker prefixes all warnings with that already.
3447
7e2f0d2d
AS
34482013-02-12 Andreas Schwab <schwab@suse.de>
3449
a445af0b
AS
3450 [BZ #15078]
3451 * posix/regexec.c (extend_buffers): Add parameter min_len.
3452 (check_matching): Pass minimum needed length.
3453 (clean_state_log_if_needed): Likewise.
3454 (get_subexp): Likewise.
3455 * posix/Makefile (tests): Add bug-regex34.
3456 (bug-regex34-ENV): Define.
3457 * posix/bug-regex34.c: New file.
3458
7e2f0d2d
AS
3459 [BZ #11561]
3460 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3461 elements compare against the byte sequence of it, not its name.
3462 * posix/Makefile (tests): Add bug-regex35.
3463 (bug-regex35-ENV): Define.
3464 * posix/bug-regex35.c: New file.
3465
a175b684
TV
34662013-02-11 Tom de Vries <tom@codesourcery.com>
3467
3468 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3469 comment.
3470 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3471 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3472 (CHECK_EOL): Add undef.
3473
310998fe 34742013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3475
3476 * bits/stdlib-bsearch.h: New file.
3477 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3478 * stdlib/stdlib.h: Likewise.
41eda41d 3479
8ded91fb
RM
34802013-02-11 Roland McGrath <roland@hack.frob.com>
3481
3482 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3483 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3484 declaration.
3485 * manual/search.texi (Array Search Function): Add missing const in
3486 lfind prototype.
3487 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3488 declaration to use rlim_t.
3489 (Basic Scheduling Functions): Remove erroneous const from
3490 sched_getparam prototype. Remove erroneous * from
3491 sched_get_priority_max and sched_get_priority_min prototypes.
3492 (Resource Usage): Fix summary @comment on vtimes to refer to
3493 sys/vtimes.h rather than vtimes.h.
3494 Add missing *s in vtimes prototype.
3495 (Limits on Resources): Fix ulimit prototype to return long int.
3496 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3497 prototypes to use long int rather than double.
3498 (BSD Random): Fix initstate and setstate to use char *, not void *.
3499 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3500 prototype to make second argument 'struct aiocb64 *const[]'.
3501 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3502 (Status of AIO Operations): Remove erroneous const in aio_return and
3503 aio_return64 prototypes.
3504 (Synchronizing I/O): Fix sync prototype to return void.
3505 * manual/startup.texi (Suboptions): Remove an erroneous const in
3506 getsubopt prototype.
3507 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3508 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3509 use size_t rather than int.
3510 (Scanning All Users): Likewise for getpwent_r.
3511 (Setting Groups): Add missing const to setgroups prototype.
3512 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3513 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3514 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3515 'const void *' rather than 'const char *'.
3516 (Host Address Functions): Likewise for inet_ntop.
3517 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3518 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3519 ssize_t for return value.
3520 (Sending Data): Likewise for send, sendto, sendmsg.
3521 (Socket Option Functions): Add a missing const in setsockopt prototype.
3522 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3523 use wchar_t for the argument.
3524 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3525 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3526 take no arguments.
3527 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3528 double/float/long double for second argument.
3529 Fix return types of significand, significandf, significandl.
3530 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3531 argument in fchmod prototype.
3532 (File Owner): Use uid_t and gid_t in fchown prototype.
3533 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3534 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3535 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3536 use 'const struct dirent **' as argument types to CMP function pointer
3537 argument.
3538 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3539 (File Times): Fix summary magic @comment for struct utimbuf and utime
3540 to refer to utime.h, not time.h.
3541 * manual/string.texi (Argz Functions): Add missing const in
3542 argz_extract and argz_next prototypes.
3543 (Finding Tokens in a String): Likewise for basename.
3544 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3545 (Copying and Concatenation): Fix typo in wmemmove prototype.
3546 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3547 (Signal Stack): Remove erroneous const in sigstack prototype.
3548 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3549 prototype.
3550 (Simple Calendar Time): Likewise for stime.
3551 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3552 prototype.
3553 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3554 say sys/sysctl.h instead.
3555 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3556 and vsyslog prototypes.
3557
fe77fe6d
TV
35582013-02-11 Tom de Vries <tom@codesourcery.com>
3559
3560 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3561 Remove.
3562
3a09b620
RM
35632013-02-11 Roland McGrath <roland@hack.frob.com>
3564
3565 * misc/sys/mman.h: Fix typo in mremap comment.
3566
550a0b89
RM
35672013-02-08 Roland McGrath <roland@hack.frob.com>
3568
3569 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3570 the '\0' terminator.
3571
a2da1673
JM
35722013-02-08 Joseph Myers <joseph@codesourcery.com>
3573
3574 [BZ #13550]
3575 * debug/segfault.c: Don't include <bp-checks.h>.
3576 * sysdeps/generic/bp-checks.h: Remove file.
3577 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3578 (__GETDENTS): Don't use CHECK_N.
3579 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3580 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3581 (__getgroups): Don't use CHECK_N.
3582 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3583 (setgroups): Don't use CHECK_N.
3584 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3585 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3586 (__libc_msgrcv): Don't use CHECK_N.
3587 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3588 (__libc_msgsnd): Don't use CHECK_N.
3589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3590 <bp-checks.h>.
3591 (__libc_pread): Don't use CHECK_N.
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3593 include <bp-checks.h>.
3594 (__libc_pread64): Don't use CHECK_N.
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3596 include <bp-checks.h>.
3597 (__libc_pwrite): Don't use CHECK_N.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3599 include <bp-checks.h>.
3600 (__libc_pwrite64): Don't use CHECK_N.
3601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3602 <bp-checks.h>.
3603 (__libc_pread): Don't use CHECK_N.
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3605 include <bp-checks.h>.
3606 (__libc_pread64): Don't use CHECK_N.
3607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3608 include <bp-checks.h>.
3609 (__libc_pwrite): Don't use CHECK_N.
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3611 include <bp-checks.h>.
3612 (__libc_pwrite64): Don't use CHECK_N.
3613 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3614 (do_pread): Don't use CHECK_N.
3615 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3616 (do_pread64): Don't use CHECK_N.
3617 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3618 (do_pwrite): Don't use CHECK_N.
3619 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3620 (do_pwrite64): Don't use CHECK_N.
3621 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3622 (__libc_readv): Don't use CHECK_N.
3623 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3624 (semop): Don't use CHECK_N.
3625 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3626 <bp-checks.h>.
3627 (semtimedop): Don't use CHECK_N.
3628 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3629 (__libc_pread): Don't use CHECK_N.
3630 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3631 <bp-checks.h>.
3632 (__libc_pread64): Don't use CHECK_N.
3633 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3634 <bp-checks.h>.
3635 (__libc_pwrite): Don't use CHECK_N.
3636 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3637 <bp-checks.h>.
3638 (__libc_pwrite64): Don't use CHECK_N.
3639 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3640 <bp-checks.h>.
3641 (__libc_msgrcv): Don't use CHECK_N.
3642 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3643 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3644 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3645 (__libc_writev): Don't use CHECK_N.
3646
b84660a8
RM
36472013-02-08 Roland McGrath <roland@hack.frob.com>
3648
7f3e75f8
RM
3649 * string/strcpy.c: Removed unused variable.
3650
b84660a8
RM
3651 * Makeconfig (+sysdep-includes): Define with := rather than =.
3652 Use an existing include/ subdir of each sysdeps dir before it.
3653
471514d3
CD
36542013-02-08 Carlos O'Donell <carlos@redhat.com>
3655
3656 * nscd/connection.c (register_traced_file): Comment function.
3657 [HAVE_INOTIFY] (union __inev): Define.
3658 [HAVE_INOTIFY] (inotify_check_files): New function.
3659 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3660 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3661 clear_db_cache.
3662 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3663
b2d3c3be
CD
36642013-02-08 Carlos O'Donell <carlos@redhat.com>
3665
3666 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3667 loaded if not already and that a failure is permanent.
3668
b39949d2
CD
36692013-02-08 Carlos O'Donell <carlos@redhat.com>
3670
ddacd1db 3671 [BZ #15006]
b39949d2
CD
3672 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3673 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3674
b2c9eff4
JM
36752013-02-08 Joseph Myers <joseph@codesourcery.com>
3676
f3aae3f3
JM
3677 [BZ #13550]
3678 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3679 (CHECK_1_NULL_OK): Likewise.
3680 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3681 (__fxstat): Do not use CHECK_1.
3682 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3683 <bp-checks.h>.
3684 (___fxstat64): Do not use CHECK_1.
3685 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3686 <bp-checks.h>.
3687 (__fxstatat): Do not use CHECK_1.
3688 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3689 <bp-checks.h>.
3690 (__fxstatat64): Do not use CHECK_1.
3691 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3692 <bp-checks.h>.
3693 (__fxstat): Do not use CHECK_1.
3694 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3695 <bp-checks.h>.
3696 (__fxstatat): Do not use CHECK_1.
3697 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3698 <bp-checks.h>.
3699 (__getresgid): Do not use CHECK_1.
3700 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3701 <bp-checks.h>.
3702 (__getresuid): Do not use CHECK_1.
3703 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3704 <bp-checks.h>.
3705 (__lxstat): Do not use CHECK_1.
3706 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3707 <bp-checks.h>.
3708 (__old_msgctl): Do not use CHECK_1.
3709 (__new_msgctl): Likewise.
3710 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3711 <bp-checks.h>.
3712 (__new_setrlimit): Do not use CHECK_1.
3713 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3714 <bp-checks.h>.
3715 (__old_shmctl): Do not use CHECK_1.
3716 (__new_shmctl): Likewise.
3717 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3718 <bp-checks.h>.
3719 (__xstat): Do not use CHECK_1.
3720 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3721 (__lxstat): Do not use CHECK_1.
3722 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3723 <bp-checks.h>.
3724 (___lxstat64): Do not use CHECK_1.
3725 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3726 (__old_msgctl): Do not use CHECK_1.
3727 (__new_msgctl): Likewise.
3728 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3729 <bp-checks.h>.
3730 (__gettimeofday): Do not use CHECK_1.
3731 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3732 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3733 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3734 <bp-checks.h>.
3735 (__gettimeofday): Do not use CHECK_1.
3736 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3737 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3738 (__new_shmctl): Do not use CHECK_1.
3739 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3740 <bp-checks.h>.
3741 (do_sigtimedwait): Do not use CHECK_1.
3742 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3743 <bp-checks.h>.
3744 (do_sigwaitinfo): Do not use CHECK_1.
3745 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3746 <bp-checks.h>.
3747 (msgctl): Do not use CHECK_1.
3748 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3749 <bp-checks.h>.
3750 (shmctl): Do not use CHECK_1.
3751 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3752 (ustat): Do not use CHECK_1.
3753 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3754 <bp-checks.h>.
3755 (__fxstat): Do not use CHECK_1.
3756 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3757 <bp-checks.h>.
3758 (__fxstatat): Do not use CHECK_1.
3759 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3760 <bp-checks.h>.
3761 (__lxstat): Do not use CHECK_1.
3762 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3763 <bp-checks.h>.
3764 (__xstat): Do not use CHECK_1.
3765 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3766 (__xstat): Do not use CHECK_1.
3767 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3768 (___xstat64): Do not use CHECK_1.
3769
b2c9eff4
JM
3770 [BZ #13550]
3771 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3772 definitions.
3773 (CHECK_BOUNDS_HIGH): Likewise.
3774 * string/strcpy.c: Do not include <bp-checks.h>.
3775 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3776
f1d70dad
RM
37772013-02-07 Roland McGrath <roland@hack.frob.com>
3778
3779 * nscd/nscd-client.h (__nscd_drop_map_ref):
3780 Add __attribute__ ((unused)).
3781 * nis/nss-nisplus.h (niserr2nss): Likewise.
3782
3783 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3784 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3785
3786 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3787 Remove inline keyword.
3788 * include/rounding-mode.h (round_away): Likewise.
3789 * libio/wfileops.c (adjust_wide_data): Likewise.
3790 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3791 (__m128i_strloadu_tolower): Likewise.
3792 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3793 (__m128i_strloadu_tolower): Likewise.
3794 * time/mktime.c (ydhms_diff): Likewise.
3795 * locale/elem-hash.h (elem_hash): Likewise.
3796 * locale/setlocale.c (setdata): Likewise.
3797 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3798 (re_string_wchar_at): Likewise.
3799 (bitset_not, bitset_merge, bitset_mask): Likewise.
3800 [!(__GNUC__ > 3)] (inline): Remove macro.
3801 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3802 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3803 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3804 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3805 * string/memcmp.c (memcmp_bytes): Likewise.
3806 * locale/programs/locarchive.c (compute_hashval): Likewise.
3807 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3808 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3809 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3810 * nss/getent.c (print_rpc, print_protocols): Likewise.
3811 (print_passwd, print_group, print_aliases): Likewise.
3812 * nis/nss-nisplus.h (niserr2nss): Likewise.
3813 * nscd/connections.c (restart_p): Likewise.
3814 Change return type to bool.
3815
eab55bfb
RM
38162013-02-05 Roland McGrath <roland@hack.frob.com>
3817
7bd642f5
RM
3818 * Makeconfig (all-Depend-files): Add existing
3819 $(sorted-subdirs:=/Depend) files.
3820 (all-subdirs): Remove nss.
3821 * sysdeps/unix/inet/Subdirs: Add it here instead.
3822 * hesiod/Depend: New file.
3823
573c29b2
RM
3824 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3825 instead of calling alloca.
3826
b2e25af0
RM
3827 * io/lseek.c (__lseek): Rename to __libc_lseek.
3828 Define __lseek as an alias.
3829
eab55bfb
RM
3830 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3831
9a0d1941
CD
38322013-02-04 Carlos O'Donell <carlos@redhat.com>
3833
3834 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3835 else clause and remove check for non-standard endianness.
3836
b83bbec4
DM
38372013-02-04 David S. Miller <davem@davemloft.net>
3838
3839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3840
6277fdab
JM
38412013-02-04 Joseph Myers <joseph@codesourcery.com>
3842
3843 [BZ #13550]
3844 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3845 (__ubp_memchr): Remove prototype.
3846 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3847 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3848 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3849 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3850 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3851 Remove alias.
3852 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3853 (__ubp_memchr): Likewise.
3854 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3855 (__ubp_memchr): Likewise.
3856 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3857 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3858 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3859 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3860 CHECK_STRING.
3861 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3862 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3863 (__getcwd): Do not use CHECK_STRING.
3864 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3865 <bp-checks.h>.
3866 (__real_chown): Do not use CHECK_STRING.
3867 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3868 <bp-checks.h>.
3869 (fchownat): Do not use CHECK_STRING.
3870 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3871 CHECK_STRING.
3872 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3873 <bp-checks.h>.
3874 (__lchown): Do not use CHECK_STRING.
3875 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3876 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3877 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3878 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3880 include <bp-checks.h>.
3881 (truncate64): Do not use CHECK_STRING.
3882 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3883 <bp-checks.h>.
3884 (__real_chown): Do not use CHECK_STRING.
3885 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3886 <bp-checks.h>.
3887 (__lchown): Do not use CHECK_STRING.
3888 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3889 <bp-checks.h>.
3890 (__chown): Do not use CHECK_STRING.
3891 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3892 <bp-checks.h>.
3893 (truncate64): Do not use CHECK_STRING.
3894 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3895 Likewise.
3896 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3897 (__xmknod): Do not use CHECK_STRING.
3898 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3899 <bp-checks.h>.
3900 (__xmknodat): Do not use CHECK_STRING.
3901 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3902 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3903
903ae060
AS
39042013-02-04 Andreas Schwab <schwab@suse.de>
3905
3906 [BZ #14142]
3907 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3908 * include/netdb.h: Likewise for h_errno.
3909 * elf/tst-stackguard1.c: Include <tls.h>.
3910
542f9466
JK
39112013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3912
3913 * elf/link.h (struct link_map): Extend the l_addr comment.
3914 * include/link.h (struct link_map): Likewise.
3915
e782a927
JM
39162013-02-01 Joseph Myers <joseph@codesourcery.com>
3917
3918 [BZ #13550]
3919 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3920 (BOUNDED_1): Remove macro.
3921 * debug/backtrace.c: Don't include <bp-checks.h>.
3922 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3923 (__backtrace): Likewise.
3924 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3925 <bp-checks.h>.
3926 (__backtrace): Don't use BOUNDED_1.
3927 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3928 <bp-checks.h>.
3929 (__backtrace): Don't use BOUNDED_1.
3930 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3931 (__backtrace): Don't use BOUNDED_1.
3932 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3933 (shmat): Don't use BOUNDED_N.
3934
8cf28c5e
JM
39352013-01-31 Joseph Myers <joseph@codesourcery.com>
3936
3a7ac8a0
JM
3937 [BZ #13550]
3938 * sysdeps/generic/bp-start.h: Remove file.
3939 * csu/libc-start.c: Don't include <bp-start.h>.
3940 (LIBC_START_MAIN): Set up __environ directly instead of using
3941 INIT_ARGV_and_ENVIRON.
3942 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3943 <bp-start.h>.
3944
f3499f95
JM
3945 [BZ #13550]
3946 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3947 definitions.
3948 (CHECK_FCNTL): Likewise.
3949 (CHECK_N_PAGES): Likewise.
3950
32a45bea
JM
3951 [BZ #13550]
3952 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3953 definitions.
3954 (CHECK_SIGSET_NULL_OK): Likewise.
3955 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3956 <bp-checks.h>.
3957 (sigpending): Don't use CHECK_SIGSET.
3958 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3959 <bp-checks.h>.
3960 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3961 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3962 <bp-checks.h>.
3963 (do_sigsuspend): Don't use CHECK_SIGSET.
3964 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3965 use CHECK_SIGSET.
3966 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3967 (do_sigwait): Don't use CHECK_SIGSET.
3968 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3969 use CHECK_SIGSET.
3970 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3971 include <bp-checks.h>.
3972 (sigpending): Don't use CHECK_SIGSET.
3973 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3974 include <bp-checks.h>.
3975 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3976 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3977 <bp-checks.h>.
3978 (sigpending): Don't use CHECK_SIGSET.
3979 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3980 <bp-checks.h>.
3981 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3982
2e8a5c8c
JM
3983 [BZ #13550]
3984 * sysdeps/generic/bp-semctl.h: Remove file.
3985 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3986 <bp-checks.h> and <bp-semctl.h>.
3987 (__old_semctl): Don't use CHECK_SEMCTL.
3988 (__new_semctl): Likewise.
3989 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3990 and <bp-semctl.h>.
3991 (__old_semctl): Don't use CHECK_SEMCTL.
3992 (__new_semctl): Likewise.
3993 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3994 <bp-checks.h> and <bp-semctl.h>.
3995 (__old_semctl): Don't use CHECK_SEMCTL.
3996 (__new_semctl): Likewise.
3997 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3998 <bp-checks.h> and <bp-semctl.h>.
3999 (semctl): Don't use CHECK_SEMCTL.
4000
c2d54929
JM
4001 [BZ #13550]
4002 * Makerules (elide-bp-thunks): Remove variable.
4003 (elide-routines.oS): Don't use $(elide-bp-thunks).
4004 (elide-routines.os): Likewise.
4005 (elide-routines.o): Likewise.
4006 (elide-routines.op): Likewise.
4007 (elide-routines.og): Likewise.
4008 (objects): Don't use $(bp-thunks).
4009 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4010 include.
4011 (common-generated): Do not add s-proto-bp.d.
4012 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4013 (int): Likewise.
4014 (typ): Likewise.
4015 Do not generate makefile rules for bounded-pointer thunks.
4016 * sysdeps/generic/bp-thunks.h: Remove file.
4017 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4018 * sysdeps/unix/s-proto-bp.S: Likewise.
4019
8cf28c5e
JM
4020 [BZ #15062]
4021 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4022 parts of result separately when argument is not close to line from
4023 -i to i and one part of argument is small.
4024 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4025 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4026 * math/libm-test.inc (cacos_test): Add more tests.
4027 (casin_test): Likewise.
4028 (casinh_test): Likewise.
4029 * sysdeps/i386/fpu/libm-test-ulps: Update.
4030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4031
c4e33b8d
DM
40322013-01-31 David S. Miller <davem@davemloft.net>
4033
4034 * po/de.po: Update from translation team.
4035
3b60b421
MK
40362013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4037
4038 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4039
bb931195
TS
40402013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4041
b5a5da23
TS
4042 * configure.in (_AC_PROG_CC_C89): New definition.
4043 * configure: Regenerate.
4044
bb931195
TS
4045 * configure.in (AC_PROG_CPP): New definition.
4046 * configure: Regenerate.
4047
8c53a12c
JM
40482013-01-23 Joseph Myers <joseph@codesourcery.com>
4049
4050 * debug/tst-backtrace.h: New file.
4051 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4052 (ret): Remove variable.
4053 (x): Likewise.
4054 (FAIL): Remove macro.
4055 (NO_INLINE): Likewise.
4056 (fn1): Use match function instead of strstr.
4057 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4058 (ret): Remove variable.
4059 (x): Likewise.
4060 (FAIL): Remove macro.
4061 (NO_INLINE): Likewise.
4062 (fn): Use match function instead of strstr.
4063 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4064 (ret): Remove variable.
4065 (x): Likewise.
4066 (FAIL): Remove macro.
4067 (NO_INLINE): Likewise.
4068 (handle_signal): Use match function instead of strstr.
4069 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4070 (ret): Remove variable.
4071 (x): Likewise.
4072 (FAIL): Remove macro.
4073 (NO_INLINE): Likewise.
4074 (handle_signal): Use match function instead of strstr.
4075
4858fa2a
RM
40762013-01-23 Roland McGrath <roland@hack.frob.com>
4077
4078 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4079
bae8e7f5
DM
40802013-01-23 David S. Miller <davem@davemloft.net>
4081
4082 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4083 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4084 argument of CAS if possible.
4085 * sysdeps/sparc/sparc64/bits/atomic.h
4086 (__arch_compare_and_exchange_val_32_acq): Likewise.
4087 (__arch_compare_and_exchange_val_64_acq): Likewise.
4088
9cbbc4ae
PT
40892013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4090
4091 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4092 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4093 Include <limits.h>.
67b3f58c 4094 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4095
5655a0b5
AC
40962013-01-23 Adam Conrad <adconrad@0c3.net>
4097
4098 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4099 (LDFLAGS-tst-array5): Likewise.
4100
052aff95
JM
41012013-01-23 Joseph Myers <joseph@codesourcery.com>
4102
4103 [BZ #15036]
4104 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4105 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4106 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4107 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4108
7c1e01aa
DM
41092013-01-21 David S. Miller <davem@davemloft.net>
4110
4111 * sysdeps/sparc/backtrace.c: New file.
4112 * sysdeps/sparc/sparc32/backtrace.h: New file.
4113 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4114 * sysdeps/sparc/sparc64/backtrace.h: New file.
4115 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4116 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4117 -funwind-tables.
4118
ab087e0a
AS
41192013-01-21 Andreas Schwab <schwab@suse.de>
4120
4121 [BZ #15020]
4122 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4123 closed its stdout.
4124
ed689c2f
AS
41252013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4126
4127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4128 "mpa2.h".
4129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4130
31d470ac
JM
41312013-01-18 Joseph Myers <joseph@codesourcery.com>
4132 Mark Mitchell <mark@codesourcery.com>
4133 Tom de Vries <tom@codesourcery.com>
4134 Paul Pluzhnikov <ppluzhnikov@google.com>
4135
4136 * debug/tst-backtrace2.c: New file.
4137 * debug/tst-backtrace3.c: Likewise.
4138 * debug/tst-backtrace4.c: Likewise.
4139 * debug/tst-backtrace5.c: Likewise.
4140 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4141 (CFLAGS-tst-backtrace3.c): Likewise.
4142 (CFLAGS-tst-backtrace4.c): Likewise.
4143 (CFLAGS-tst-backtrace5.c): Likewise.
4144 (LDFLAGS-tst-backtrace2): Likewise.
4145 (LDFLAGS-tst-backtrace3): Likewise.
4146 (LDFLAGS-tst-backtrace4): Likewise.
4147 (LDFLAGS-tst-backtrace5): Likewise.
4148 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4149 tst-backtrace4 and tst-backtrace5.
4150
90567f30 41512013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4152 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4153
4154 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4155 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4156 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4157 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4159 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4160 "+r" and remove output regs list as redundant. Add explicit inline
4161 asm to specify register of return val to work around compiler codegen
4162 bug. Remove (int) cast on return value. Add return type parameter to
4163 use in macro so that this macro does not truncate return value for
4164 64-bit values.
4165 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4166 pass to INTERNAL_VSYSCALL_NCS.
4167 (INLINE_VSYSCALL): Add 'long int' as return type to
4168 INTERNAL_VSYSCALL_NCS macro invocation.
4169 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4170 INTERNAL_VSYSCALL_NCS macro invocation.
4171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4172
d3b9ea61
SP
41732013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4174
0b57daeb
SP
4175 [BZ #14496]
4176 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4177 Fix application of SIMD FP exception mask.
4178
caa99d06
SP
4179 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4180 mp_no from a power of two.
4181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4182 __mpexp_twomm1. Use __pow_mp.
4183
d3b9ea61
SP
4184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4185 multiplication.
4186
1dbaee3c
DM
41872013-01-17 David S. Miller <davem@davemloft.net>
4188
4189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4190
728d7b43
JM
41912013-01-17 Joseph Myers <joseph@codesourcery.com>
4192
4193 [BZ #15023]
4194 * include/complex.h: Condition contents on [!_COMPLEX_H].
4195 (__kernel_casinhf): New prototype.
4196 (__kernel_casinh): Likewise.
4197 (__kernel_casinhl): Likewise.
4198 * math/Makefile (libm_calls): Add k_casinh.
4199 * math/k_casinh.c: New file.
4200 * math/k_casinhf.c: Likewise.
4201 * math/k_casinhl.c: Likewise.
4202 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4203 finite nonzero arguments.
4204 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4205 finite nonzero arguments.
4206 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4207 finite nonzero arguments.
4208 * math/s_casinh.c: Do not include <float.h>.
4209 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4210 * math/s_casinhf.c: Do not include <float.h>.
4211 (__casinhf): Move code for finite nonzero arguments to
4212 k_casinhf.c.
4213 * math/s_casinhl.c: Do not include <float.h>.
4214 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4215 redefine.
4216 (__casinhl): Move code for finite nonzero arguments to
4217 k_casinhl.c.
4218 * math/libm-test.inc (cacos_test): Add more tests.
4219 * sysdeps/i386/fpu/libm-test-ulps: Update.
4220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4221
2a26ef3a
PT
42222013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4223
4224 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4225 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4226 [!HAVE_MREMAP]: Remove [defined linux] case.
4227 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4228
a897655d
SP
42292013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4230
4231 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4232
881ebe89 42332013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4234
4235 * elf/elf.h (R_386_SIZE32): New relocation.
4236 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4237 R_386_SIZE32.
4238 (elf_machine_rela): Likewise.
4239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4240 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4241
59981e9b
JM
42422013-01-17 Joseph Myers <joseph@codesourcery.com>
4243
4244 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4245 (FP_FAST_FMA): Do not define.
4246 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4247 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4248 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4249 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4250 !_SOFT_FLOAT]: Likewise.
4251 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4252 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4253 value.
4254 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4255 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4256 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4257 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4258 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4259 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4260 file.
4261
cfa8054f
AS
42622013-01-16 Andreas Schwab <schwab@suse.de>
4263
4264 [BZ #14327]
4265 * include/stdlib.h (__mktemp): Add declaration.
4266 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4267 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4268
dd930cc5
SP
42692013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4270
881ebe89
SP
4271 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4272 definitions.
4273 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4274 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4275 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4276 definitions here.
4277 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4278 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4279 definitions.
4280 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4281 and ONE.
4282 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4283 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4284 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4285 definitions.
4286 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4287 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4288 definitions.
4289 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4290
dd930cc5
SP
4291 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4292
c19a9f89
DM
42932013-01-15 David S. Miller <davem@davemloft.net>
4294
1aa61767
DM
4295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4296 trunc{,f} to libm-sysdep_routes.
4297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4299 file.
4300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4302 file.
4303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4304 file.
4305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4307 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4308 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4309 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4310 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4311 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4312 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4313
c42d5e98
DM
4314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4315 nearbyint{,f} to libm-sysdep_routes.
4316 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4318 New file.
4319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4320 file.
4321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4322 New file.
4323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4324 file.
4325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4327 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4328 file.
4329 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4330 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4331 file.
4332 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4333 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4334 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4335
c19a9f89
DM
4336 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4337 libc_feholdexcept and libc_fesetenv.
4338
357679d2
MF
43392013-01-15 Mike Frysinger <vapier@gentoo.org>
4340
4341 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4342
65a82e3d
DM
43432013-01-14 David S. Miller <davem@davemloft.net>
4344
8b954ab9
DM
4345 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4346 (SPARC_ASM_VIS2_IFUNC): Likewise.
4347 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4349 use of 'siam' instruction.
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4351 Likewise.
4352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4353 Likewise.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4355 Likewise.
4356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4361 file.
4362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4363 file.
4364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4365 file.
4366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4367 file.
4368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4373 new VIS2 routines.
4374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4377 Likewise.
4378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4383 routines to libm-sysdep_routines.
4384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4385
65a82e3d
DM
4386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4387 fdim/fdimf to libm-sysdep_routines.
4388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4389 file.
4390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4392 file.
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4396 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4397 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4398 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4399 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4400
e34ab705
SP
44012013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4402
2a91b573
SP
4403 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4404 to optimize copies.
4405
1066a534
SP
4406 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4409
e34ab705
SP
4410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4411 local variable MPTWO.
4412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4413 Likewise.
4414
aba5e596
MF
44152013-01-13 Mike Frysinger <vapier@gentoo.org>
4416
4417 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4418 GLOB_NOESCAPE.
4419
e557e9e5
MF
44202013-01-13 Mike Frysinger <vapier@gentoo.org>
4421
4422 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4423
0428cec9
MF
44242013-01-13 Mike Frysinger <vapier@gentoo.org>
4425
4426 * manual/pattern.texi (glob_t): Document gl_flags.
4427 (glob64_t): Likewise.
4428
8794a964
DM
44292013-01-11 David S. Miller <davem@davemloft.net>
4430
66438c3f
RM
4431 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4432 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4433 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4434 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4435 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4436 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4437 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4438 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4439 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4440 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4441 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4442 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4443 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4444
4ae4244d
DM
4445 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4446 sparc V9 rather than using V8 code.
4447 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4448 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4449
8794a964
DM
4450 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4451 Move to...
4452 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4453 Here.
4454
6270516e
RM
44552013-01-11 Roland McGrath <roland@hack.frob.com>
4456
4457 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4458 not in the main loop.
4459 * configure: Regenerated.
4460
6a57d931
JM
44612013-01-11 Joseph Myers <joseph@codesourcery.com>
4462
4463 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4464 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4465 to just #else.
4466 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4467 [!__GLIBC_HAVE_LONG_LONG] case.
4468 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4469 condition to just #else.
4470 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4471 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4472 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4473 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4474 unconditional.
4475 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4476 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4477 #elif condition to just #else.
4478 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4479 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4480 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4481 #elif condition to just #else.
4482
0e8529e9
SE
44832013-01-11 Steve Ellcey <sellcey@mips.com>
4484
4485 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4486 (EF_MIPS_ARCH_64): Fix value.
4487 (EF_MIPS_ARCH_32R2): New.
4488 (EF_MIPS_ARCH_64R2): New.
4489
740b3dbe
L
44902013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4491
4492 * Makeconfig (+link-pie-before-libc): New.
4493 (+link-pie-after-libc): Likewise.
4494 (+link-pie-tests): Likewise.
4495 (+link-pie): Rewritten.
4496 (link-before-libc): Remove $(config-LDFLAGS).
4497 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4498 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4499 (config-LDFLAGS): Renamed to ...
4500 (rtld-LDFLAGS): This.
4501 (rtld-tests-LDFLAGS): New macro.
4502 (link-libc-rpath-link): Likewise.
4503 (link-libc-tests-rpath-link): Likewise.
4504 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4505 (link-libc): Prepand $(link-libc-rpath-link).
4506 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4507 (test-program-prefix): New macro.
4508 (test-via-rtld-prefix): Likewise.
4509 (test-program-cmd): Likewise.
4510 (host-test-program-cmd): Likewise.
4511 * Makefile ($(common-objpfx)testrun.sh): Replace
4512 $(run-program-prefix) with $(test-program-prefix).
4513 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4514 $(rtld-LDFLAGS).
4515 ($(common-objpfx)shlib.lds): Likewise.
4516 (build-module-helper): Likewise.
4517 ($(common-objpfx)format.lds): Likewise.
4518 * Rules (binaries-pie-tests): New.
4519 (binaries-pie-notests): Likewise.
4520 (binaries-pie): Rewritten.
4521 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4522 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4523 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4524 (make-test-out): Replace $(host-built-program-cmd) with
4525 $(host-test-program-cmd).
4526 * config.make.in (build-hardcoded-path-in-tests): New variable.
4527 * configure.in (--enable-hardcoded-path-in-tests): New configure
4528 option.
4529 (hardcoded_path_in_tests): New AC_SUBST.
4530 * configure: Regenerated.
4531 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4532 $(built-program-cmd) with $(test-program-cmd).
4533 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4534 (test_program_cmd): This.
4535 * elf/Makefile ($(objpfx)order.out): Run test with
4536 $(test-program-prefix).
4537 ($(objpfx)order2.out): Likewise.
4538 ($(objpfx)tst-initorder.out): Likewise.
4539 ($(objpfx)tst-initorder2.out): Likewise.
4540 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4541 $(test-program-cmd).
4542 ($(objpfx)tst-array1-static.out): Likewise.
4543 ($(objpfx)tst-array2.out): Likewise.
4544 ($(objpfx)tst-array3.out): Likewise.
4545 ($(objpfx)tst-array4.out): Likewise.
4546 ($(objpfx)tst-array5.out): Likewise.
4547 ($(objpfx)tst-array5-static.out): Likewise.
4548 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4549 $(test-program-cmd).
4550 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4551 $(run-program-prefix) with $(test-program-prefix).
4552 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4553 (test_program_prefix): This.
4554 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4555 $(run-program-prefix) with $(test-program-prefix).
4556 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4557 (test_program_prefix): This.
4558 * iconvdata/tst-tables.sh: Likewise.
4559 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4560 $(run-program-prefix) with $(test-program-prefix).
4561 ($(objpfx)tst-translit.out): Likewise.
4562 ($(objpfx)tst-gettext2.out): Likewise.
4563 ($(objpfx)tst-gettext4.out): Likewise.
4564 ($(objpfx)tst-gettext6.out): Likewise.
4565 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4566 (test_program_prefix): This.
4567 * intl/tst-gettext2.sh: Likewise.
4568 * intl/tst-gettext4.sh Likewise.
4569 * intl/tst-gettext6.sh: Likewise.
4570 * intl/tst-translit.sh: Likewise.
4571 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4572 with $(test-program-cmd).
4573 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4574 $(run-program-prefix) with $(test-program-prefix).
4575 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4576 (test_program_prefix): This.
4577 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4578 $(run-program-prefix) with $(test-program-prefix).
4579 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4580 (test_program_prefix): This.
4581 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4582 * posix/Makefile ($(objpfx)globtest.out): Replace
4583 $(run-via-rtld-prefix) and $(test-wrapper) with
4584 $(test-program-prefix) and $(test-via-rtld-prefix).
4585 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4586 $(test-program-prefix).
4587 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4588 $(host-test-program-cmd).
4589 (tst-spawn-ARGS): Likewise.
4590 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4591 $(test-program-prefix).
4592 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4593 (test_via_rtld_prefix): This.
4594 (test_wrapper): Renamed to ...
4595 (test_program_prefix): This.
4596 (run_program_prefix): Replaced by test_program_prefix.
4597 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4598 (test_program_prefix): This.
4599 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4600 with $(host-test-program-cmd).
4601 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4602 $(run-program-prefix) with $(test-program-prefix).
4603 ($(objpfx)tst-printf.out): Likewise.
4604 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4605 $(test-program-cmd).
4606 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4607 (test_program_prefix): This.
4608 * stdio-common/tst-unbputc.sh: Likewise.
4609 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4610 $(run-program-prefix) with $(test-program-prefix).
4611 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4612 (test_program_prefix): This.
4613 * string/Makefile ($(objpfx)tst-svc.out): Replace
4614 $(built-program-cmd) with $(test-program-cmd).
4615
c6fe55cf
AJ
46162013-01-11 Andreas Jaeger <aj@suse.de>
4617
4618 [BZ #15003]
4619 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4620 value. Sync with Linux 3.7.
4621
9e6919c8
DM
46222013-01-10 David S. Miller <davem@davemloft.net>
4623
4624 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4625 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4626 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4627
1c9f1a02
RM
46282013-01-10 Roland McGrath <roland@hack.frob.com>
4629
4630 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4631 never set.
4632 * configure: Regenerated.
4633
b9de2dde
DM
46342013-01-10 David S. Miller <davem@davemloft.net>
4635
4636 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4637 sparc V9 rather than using V8 code.
4638 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4639 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4640
e7f68ef4
RM
46412013-01-10 Roland McGrath <roland@hack.frob.com>
4642
4643 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4644 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4645 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4646 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4647 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4648 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4649 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4650 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4651 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4652 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4653 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4654 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4655 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4656 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4657 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4658 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4659 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4660 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4661 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4662 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4663 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4664 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4665 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4666 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4667 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4668 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4669 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4670
5a47cc9c
DM
46712013-01-10 David S. Miller <davem@davemloft.net>
4672
4673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4674
4cf8f209
L
46752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4676
4677 * posix/Makefile (tests-static): New variable.
4678 (tests): Add $(tests-static).
4679 (tst-exec-static-ARGS): New variable.
4680 (tst-spawn-static-ARGS): Likewise.
4681 * posix/tst-exec-static.c: New file.
4682 * posix/tst-spawn-static.c: Likewise.
4683 * posix/tst-exec.c: Support run directly.
4684 * posix/tst-spawn.c: Likewise.
4685
fed0faa1
JM
46862013-01-10 Joseph Myers <joseph@codesourcery.com>
4687
828beb13
JM
4688 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4689 long.
4690 * math/bits/mathcalls.h (llrint): Likewise.
4691 (llround): Likewise.
4692 * stdlib/stdlib.h (struct drand48_data): Likewise.
4693 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4694 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4695 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4696 Likewise.
4697 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4698 Likewise.
4699 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4700 (elf_greg_t): Likewise.
4701 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4702 (__jmp_buf): Likewise.
4703 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4704 definitions.
4705 (llrint): Likewise, for all definitions.
4706 (llrintl): Likewise.
4707
fed0faa1
JM
4708 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4709 Remove [__GNUC__] condition.
4710 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4711 condition to just [__USE_ISOC99].
4712 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4713
1a20cb20
L
47142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4715
4716 [BZ #14200]
4717 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4718 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4719 defined.
4720 (_POSIX_V6_ILP32_OFF32): Likewise.
4721 (_XBS5_ILP32_OFF32): Likewise.
4722 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4723 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4724
751b85f7
SP
47252013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4726
7490eb81
SP
4727 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4728
751b85f7
SP
4729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4730 doubles __mpexp_twomm1. Adjust usage.
4731 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4732 Remove.
4733
988197f0
AS
47342013-01-10 Andreas Schwab <schwab@suse.de>
4735
4736 [BZ #14964]
4737 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4738 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4739
e83d7298
DM
47402013-01-09 David S. Miller <davem@davemloft.net>
4741
034ed64b 4742 [BZ #15003]
e83d7298
DM
4743 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4744 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4745 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4746 TCP_FASTOPEN): Define.
4747 (tcp_repair_opt): New structure.
4748 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4749 enum values.
4750 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4751 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4752 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4753 (tcp_cookie_transactions): New structure.
4754
d5e0b9bd
AB
47552013-01-09 Anton Blanchard <anton@samba.org>
4756
4757 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4758 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4759 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4760 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4761
0c07e3ea
JM
47622013-01-09 Joseph Myers <joseph@codesourcery.com>
4763
4764 * include/features.h (__USE_ANSI): Remove.
4765
232f7002
RM
47662013-01-09 Roland McGrath <roland@hack.frob.com>
4767
ad98e30c
RM
4768 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4769
232f7002
RM
4770 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4771
950c99ca
SP
47722013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4773
b5792741
SP
4774 * sysdeps/s390/fpu/libm-test-ulps: Update.
4775
47cf2278
SP
4776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4777
950c99ca
SP
4778 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4807 (__acr): Likewise.
4808 (__cpy): Likewise.
4809 (norm): Likewise.
4810 (denorm): Likewise.
4811 (__mp_dbl): Likewise.
4812 (__dbl_mp): Likewise.
4813 (add_magnitudes): Likewise.
4814 (sub_magnitudes): Likewise.
4815 (__add): Likewise.
4816 (__sub): Likewise.
4817 (__mul): Likewise.
4818 (__inv): Likewise.
4819 (__dvd): Likewise.
4820
eede9df9
JM
48212013-01-08 Joseph Myers <joseph@codesourcery.com>
4822
4823 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4824 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4825 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4826 2 && __USE_EXTERN_INLINES]: Likewise.
4827
c40ea3d9
AJ
48282013-01-08 Andreas Jaeger <aj@suse.de>
4829
4830 [BZ# 14985]
4831 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4832 Remove.
4833 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4834 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4835
2ccdea26
AB
48362013-01-07 Anton Blanchard <anton@samba.org>
4837
4838 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4839 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4840 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4841 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4842 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4843 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4844 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4845 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4847 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4848 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4849 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4850 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4851 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4852 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4853 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4854 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4855 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4856 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4857 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4858 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4859 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4860 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4861 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4862 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4863 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4864 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4865 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4866 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4867 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4868 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4870 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4871 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4872 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4873 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4874 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4876 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4877 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4878 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4879 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4880 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4881
a9708fed
JM
48822013-01-07 Joseph Myers <joseph@codesourcery.com>
4883
375607b9
JM
4884 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4885 (__MALLOC_PMT): Likewise.
4886 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4887 [__GNUC__], only on [_LIBC].
4888 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4889 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4890 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4891 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4892 forward declaration.
4893 (realloc_hook_ini): Likewise.
4894 (memalign_hook_ini): Likewise.
4895 (__libc_memalign): Do not use __MALLOC_PMT in variable
4896 declaration.
4897 (__libc_valloc): Likewise.
4898 (__libc_pvalloc): Likewise.
4899 (__libc_calloc): Likewise.
4900 (__posix_memalign): Likewise.
4901
a9708fed
JM
4902 [BZ #14996]
4903 * math/s_casinh.c: Include <float.h>.
4904 (__casinh): Do not do computation with squaring and square root
4905 for large arguments.
4906 * math/s_casinhf.c: Include <float.h>.
4907 (__casinhf): Do not do computation with squaring and square root
4908 for large arguments.
4909 * math/s_casinhl.c: Include <float.h>.
4910 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4911 (__casinhl): Do not do computation with squaring and square root
4912 for large arguments.
4913 * math/libm-test.inc (casin_test): Add more tests.
4914 (casinh_test): Likewise.
4915 * sysdeps/i386/fpu/libm-test-ulps: Update.
4916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4917
afec409a
L
49182013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4919
4920 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4921 (__x86_64_raw_data_cache_size): Likewise.
4922 (__x86_64_data_cache_size_half): Likewise.
4923 (__x86_64_raw_data_cache_size_half): Likewise.
4924 (__x86_64_shared_cache_size): Likewise.
4925 (__x86_64_raw_shared_cache_size): Likewise.
4926 (__x86_64_shared_cache_size_half): Likewise.
4927 (__x86_64_raw_shared_cache_size_half): Likewise.
4928 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4929 to ...
4930 (__x86_data_cache_size): This.
4931 (__x86_64_raw_data_cache_size): Renamed to ...
4932 (__x86_raw_data_cache_size): This.
4933 (__x86_64_data_cache_size_half): Renamed to ...
4934 (__x86_data_cache_size_half): This.
4935 (__x86_64_raw_data_cache_size_half): Renamed to ...
4936 (__x86_raw_data_cache_size_half): This.
4937 (__x86_64_shared_cache_size): Renamed to ...
4938 (__x86_shared_cache_size): This.
4939 (__x86_64_raw_shared_cache_size): Renamed to ...
4940 (__x86_raw_shared_cache_size): This.
4941 (__x86_64_shared_cache_size_half): Renamed to ...
4942 (__x86_shared_cache_size_half): This.
4943 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4944 (__x86_raw_shared_cache_size_half): This.
4945 * sysdeps/x86_64/memcpy.S: Updated.
4946 * sysdeps/x86_64/memset.S: Likewise.
4947 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4948 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4949 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4950
0b3986d0
DM
49512013-01-04 David S. Miller <davem@davemloft.net>
4952
4953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4954
e47686e9
AS
49552013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4956
d643bac1
AS
4957 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4958 1 to avoid redefinition warning.
4959 (__USE_GNU): Don't define.
4960 (init_signaling_nan): Protoize.
4961
e47686e9
AS
4962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4963
b18decba
SP
49642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4965
fffb407f
SP
4966 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4968 (__cpymn): Likewise.
4969 (norm): Remove commented code.
4970 (denorm): Likewise.
4971 (__mp_dbl): Likewise.
4972 (__inv): Likewise.
4973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4974 (__cpymn): Likewise.
4975 (norm): Remove commented code.
4976 (denorm): Likewise.
4977 (__mp_dbl): Likewise.
4978 (__inv): Likewise.
4979
b18decba
SP
4980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4981 mp_no value for 1.0 and 2.0.
4982 (norm): Use RADIXI instead of radixi.d.
4983 (denorm): Likewise.
4984 (__mul): Use 0.0 instead of zero.d.
4985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4986 mp_no value for 1.0 and 2.0.
4987 (norm): Use RADIXI instead of radixi.d.
4988 (denorm): Likewise.
4989 (__mul): Use 0.0 instead of zero.d.
4990
cdc1c96f
JM
49912013-01-04 Joseph Myers <joseph@codesourcery.com>
4992
4993 [BZ #14994]
4994 * math/s_casinh.c (__casinh): Reduce finite argument to first
4995 quadrant then set signs of results at the end.
4996 * math/s_casinhf.c (__casinhf): Likewise.
4997 * math/s_casinhl.c (__casinhl): Likewise.
4998 * math/libm-test.inc (casin_test): Add more tests.
4999 (casinh_test): Likewise.
5000 * sysdeps/i386/fpu/libm-test-ulps: Update.
5001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5002
302913e1
SP
50032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5004
6420d207
SP
5005 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5006
a9e48ab4
SP
5007 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5008
b7837264
SP
5009 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5010 declarations.
5011 (denorm): Likewise.
5012 (__mp_dbl): Likewise.
5013 (__inv): Likewise.
5014
f8af25d2
SP
5015 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5016 and adjust the header comment.
5017
302913e1
SP
5018 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5019 variable name from declaration.
5020
5d7dd1ca
L
50212013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5022
5023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5024 Initialize COMMON_CPUID_INDEX_7 element.
5025 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5026 (CPUID_RTM): Likewise.
5027 (HAS_RTM): Likewise.
5028 (COMMON_CPUID_INDEX_7): New enum.
5029
2f5f40f4
AS
50302013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5031
5032 [BZ #14981]
5033 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5034 size is zero, record memory as freed.
5035
4056f4a0
AJ
50362013-01-03 Andreas Jaeger <aj@suse.de>
5037
5038 * po/ia.po: Add new Interlingua translation.
5039
ab15736f 50402012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5041
5042 * locale/programs/localedef.c: Fix description of '--posix' flag.
5043
568035b7
JM
50442013-01-02 Joseph Myers <joseph@codesourcery.com>
5045
e6898b8d
JM
5046 * NEWS: Update dates in second copyright notice.
5047 * README: Update copyright dates in example.
5048 * manual/libc.texinfo: Update copyright dates.
5049 * scripts/test-installation.pl: Update copyright date in --version
5050 output.
5051
0e2f9562
JM
5052 * hurd/ctty-input.c: Fix copyright notice formatting.
5053 * hurd/ctty-output.c: Likewise.
5054 * hurd/dtable.c: Likewise.
5055 * hurd/hurd-raise.c: Likewise.
5056 * hurd/hurdprio.c: Likewise.
5057 * hurd/msgportdemux.c: Likewise.
5058 * misc/sys/file.h: Likewise.
5059 * misc/sys/ioctl.h: Likewise.
5060 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5061 * sysdeps/mach/hurd/chdir.c: Likewise.
5062 * sysdeps/mach/hurd/fchdir.c: Likewise.
5063 * sysdeps/mach/hurd/rename.c: Likewise.
5064 * sysdeps/mach/hurd/rmdir.c: Likewise.
5065 * sysdeps/mach/hurd/seekdir.c: Likewise.
5066 * sysdeps/mach/hurd/setsid.c: Likewise.
5067 * sysdeps/posix/wait3.c: Likewise.
5068
568035b7
JM
5069 * All files with FSF copyright notices: Update copyright dates
5070 using scripts/update-copyrights.
5071 * intl/plural.c: Regenerated.
5072 * locale/programs/charmap-kw.h: Likewise.
5073 * locale/programs/locfile-kw.h: Likewise.
5074
da08f647
SP
50752013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5076
0f5477af
SP
5077 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5078 four values.
5079
44e0d4c2
SP
5080 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5081 calculation loop and add branch prediction.
5082
4d55b4e5
SP
5083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5084 check access beyond bounds of m1np.
5085
da08f647
SP
5086 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5087 MPTWO.
5088 (__inv): Remove local variable MPTWO to use the global
5089 constant.
5090 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5091 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5092 variable MPTWO.
5093 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5094 MP3HALFS static const.
5095
8e051029
DM
50962013-01-01 David S. Miller <davem@davemloft.net>
5097
5098 * po/ca.po: Update from translation team.
5099
f4cf5f2d
JM
51002013-01-01 Joseph Myers <joseph@codesourcery.com>
5101
5102 * scripts/update-copyrights: New file.
5103 * Makeconfig: Reformat copyright notice.
5104 * ctype/ctype.h: Likewise.
5105 * debug/swprintf_chk.c: Likewise.
5106 * elf/dl-cache.c: Likewise.
5107 * elf/dl-debug.c: Likewise.
5108 * elf/dl-object.c: Likewise.
5109 * grp/initgroups.c: Likewise.
5110 * hurd/Makefile: Likewise.
5111 * hurd/hurd/signal.h: Likewise.
5112 * hurd/hurdfault.c: Likewise.
5113 * hurd/hurdioctl.c: Likewise.
5114 * hurd/hurdlookup.c: Likewise.
5115 * hurd/intr-msg.c: Likewise.
5116 * iconv/gconv_open.c: Likewise.
5117 * libio/swprintf.c: Likewise.
5118 * locale/lc-ctype.c: Likewise.
5119 * locale/nl_langinfo.c: Likewise.
5120 * mach/Machrules: Likewise.
5121 * mach/Makefile: Likewise.
5122 * malloc/obstack.h: Likewise.
5123 * manual/Makefile: Likewise.
5124 * manual/tsort.awk: Likewise.
5125 * misc/bits/stab.def: Likewise.
5126 * nis/nis_print_group_entry.c: Likewise.
5127 * nis/nis_table.c: Likewise.
5128 * nis/nss_compat/compat-pwd.c: Likewise.
5129 * nis/nss_compat/compat-spwd.c: Likewise.
5130 * po/Makefile: Likewise.
5131 * posix/fnmatch.c: Likewise.
5132 * posix/regex.h: Likewise.
5133 * resolv/Makefile: Likewise.
5134 * resolv/nss_dns/dns-network.c: Likewise.
5135 * resolv/res_hconf.c: Likewise.
5136 * scripts/gen-sorted.awk: Likewise.
5137 * soft-fp/soft-fp.h: Likewise.
5138 * stdio-common/printf.h: Likewise.
5139 * stdlib/monetary.h: Likewise.
5140 * stdlib/random.c: Likewise.
5141 * stdlib/random_r.c: Likewise.
5142 * sysdeps/generic/Makefile: Likewise.
5143 * sysdeps/gnu/Makefile: Likewise.
5144 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5149 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5151 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5152 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5153 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5154 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5155 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5156 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5157 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5158 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5159 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5160 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5162 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5164 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5165 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5166 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5167 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5168 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5169 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5170 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5171 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5172 * sysdeps/mach/hurd/errnos.awk: Likewise.
5173 * sysdeps/mach/hurd/fork.c: Likewise.
5174 * sysdeps/mach/hurd/getcwd.c: Likewise.
5175 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5176 * sysdeps/mach/hurd/mmap.c: Likewise.
5177 * sysdeps/mach/hurd/utimes.c: Likewise.
5178 * sysdeps/mach/hurd/xmknod.c: Likewise.
5179 * sysdeps/posix/profil.c: Likewise.
5180 * sysdeps/posix/readdir_r.c: Likewise.
5181 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5182 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5183 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5184 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5186 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5187 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5188 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5190 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5191 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5192 * sysdeps/pthread/lio_listio.c: Likewise.
5193 * sysdeps/sparc/dl-procinfo.h: Likewise.
5194 * sysdeps/unix/i386/sysdep.S: Likewise.
5195 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5196 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5197 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5198 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5200 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5201 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5202 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5203 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5204 * sysdeps/wordsize-32/divdi3.c: Likewise.
5205 * time/sys/time.h: Likewise.
5206 * wcsmbs/Makefile: Likewise.
5207
0549fbba
DM
52082013-01-01 David S. Miller <davem@davemloft.net>
5209
a141f1a7
DM
5210 * po/fr.po: Update from translation team.
5211
0549fbba
DM
5212 * catgets/gencat.c: Update copyright year.
5213 * csu/version.c: Likewise.
5214 * debug/catchsegv.sh: Likewise.
5215 * debug/pcprofiledump.c: Likewise.
5216 * debug/xtrace.sh: Likewise.
5217 * elf/ldconfig.c: Likewise.
5218 * elf/ldd.bash.in: Likewise.
5219 * elf/pldd.c: Likewise.
5220 * elf/sotruss.ksh: Likewise.
5221 * elf/sprof.c: Likewise.
5222 * iconv/iconv_prog.c: Likewise.
5223 * iconv/iconvconfig.c: Likewise.
5224 * locale/programs/locale.c: Likewise.
5225 * locale/programs/localedef.c: Likewise.
5226 * login/programs/pt_chown.c: Likewise.
5227 * malloc/memusage.sh: Likewise.
5228 * malloc/memusagestat.c: Likewise.
5229 * malloc/mtrace.pl: Likewise.
5230 * nscd/nscd.c: Likewise.
5231 * nss/getent.c: Likewise.
5232 * nss/makedb.c: Likewise.
5233 * posix/getconf.c: Likewise.
5234
18ea052c
SP
52352012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5236
5237 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5238 numbers.
5239
9c89fca6
MF
52402012-12-30 Mike Frysinger <vapier@gentoo.org>
5241
5242 * math/bits/mathcalls.h (modf): Use __nonnull.
5243
085ec079
SP
52442012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5245
5246 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5247 (split): Use macro CN instead of the bare value.
5248 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5249 could be used.
5250 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5251 instead of the bare value.
5252 (power1): Likewise.
5253
6d9f97e1
SP
52542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5255
d63f73be
SP
5256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5257 __ATAN_TWOM.
5258 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5259
6d9f97e1
SP
5260 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5261 their values.
5262 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5263 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5264 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5265 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5266
4c4febf5
AJ
52672012-12-28 Andreas Jaeger <aj@suse.de>
5268
af5843ef
AJ
5269 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5270 values are from Linux 3.7.
5271
4c4febf5
AJ
5272 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5273 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5274
99136f82
SP
52752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5276
2f216c3c 5277 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5278 TRUE case.
5279
99136f82
SP
5280 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5281 (norm): Likewise.
5282 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5283 variables with preprocessor constants.
5284 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5285 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5286 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5287
7fffbdff
BH
52882012-12-27 Bruno Haible <bruno@clisp.org>
5289
5290 [BZ #14317]
5291 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5292 only if needed.
5293
b76eb5f0
SP
52942012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5295
31a7fe5c
SP
5296 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5297 and use variable directly.
5298 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5299
b76eb5f0
SP
5300 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5301 MPONE.
5302 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5303 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5304 variable MPONE.
5305 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5307 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5308 include directive. Remove local variable MPONE.
5309 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5310 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5311 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5312
2c8bfe7d
DM
53132012-12-25 David S. Miller <davem@davemloft.net>
5314
5315 * version.h (RELEASE): Set to "development".
5316 (VERSION): Set to "2.17.90".
5317 * NEWS: Add 2.18 section.
5318
147d03b0
DM
53192012-12-21 David S. Miller <davem@davemloft.net>
5320
5321 * po/hr.po: Update from translation team.
5322
a8ebb2b9
AK
53232012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5324
5325 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5326
95b4f1b6
SE
53272012-12-19 Steve Ellcey <sellcey@mips.com>
5328
b2d94007 5329 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5330
cedb2a90
MS
53312012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5332
5333 * manual/contrib.texi (Contributors): Spelling correction.
5334
bbf527d6
DM
53352012-12-15 David S. Miller <davem@davemloft.net>
5336
5337 * po/ru.po: Update from translation team.
5338
bc38c906
DM
53392012-12-13 David S. Miller <davem@davemloft.net>
5340
85429b1a
DM
5341 * NEWS: Mention IFUNC testsuite enhancements.
5342
d283e353
DM
5343 * po/pl.po: Update from translation team.
5344 * po/bg.po: Likewise.
5345
bc38c906
DM
5346 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5347 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5348
a181b0d7
DM
53492012-12-11 David S. Miller <davem@davemloft.net>
5350
4641d57e
DM
5351 * po/sv.po: Update from translation team.
5352
f7bc6495
DM
5353 * po/vi.po: Update from translation team.
5354
6fc9048f
DM
5355 * po/cs.po: Update from translation team.
5356
a181b0d7
DM
5357 * po/de.po: Update from translation team.
5358 * po/eo.po: Likewise.
5359 * po/nl.po: Likewise.
5360
f70bfe80
SP
53612012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5362
3c8b4190
SP
5363 [BZ #14246]
5364 * manual/argp.texi (Argp Helper Functions): Move node to follow
5365 Argp Parsing State.
5366
f70bfe80
SP
5367 [BZ #14872]
5368 * manual/conf.texi (Limits on File System Capacity): Mention if
5369 terminating null is included in the max size.
5370
188f0adf
AJ
53712012-12-10 Andreas Jaeger <aj@suse.de>
5372
5373 * po/cs.po: Update from translation team.
5374
56e7d3ad
SP
53752012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5376
5377 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5378 void pointer and cast to uintptr_t.
5379 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5380 path.
5381 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5382 * sysdeps/s390/s390-64/memset.S: Likewise.
5383
76f2d2ea 53842012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5385
5386 [BZ #14833]
5387 * menual/message.texi (Message Translation): Fix typos.
5388 (Helper programs for gettext): Likewise.
5389
67cbf9a2
AS
53902012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5391
5392 [BZ #14898]
5393 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5394 Change to -1.
5395
682d0e9a
DM
53962012-12-07 David S. Miller <davem@davemloft.net>
5397
5398 * po/libc.pot: Update.
5399
573cd484
RH
54002012-12-07 Richard Henderson <rth@redhat.com>
5401
7e9da188 5402 [BZ #10114]
573cd484
RH
5403 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5404 normal/normal case to before the switch.
5405 (_FP_DIV): Likewise.
5406
e933a943
MF
54072012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5408 Mike Frysinger <vapier@gentoo.org>
5409
5410 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5411 check for __NR_fadvise64_64.
5412
82123268
CM
54132012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5414
5415 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5416 0, not just to plain "0" as a statement.
5417 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5418 with cw.
5419
d9814526
JM
54202012-12-06 Joseph Myers <joseph@codesourcery.com>
5421
5422 * NEWS: Use sourceware.org in Bugzilla URL.
5423
7728c574
SP
54242012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
f16946dd
SP
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5427 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5428
5704bbcb
SP
5429 * stdio-common/tst-put-error.c (do_test): Add newline to the
5430 padded test to ensure flush.
5431
17aa0516
JL
54322012-12-05 Jeff Law <law@redhat.com>
5433
5434 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5435
363313b5
JM
54362012-12-05 Joseph Myers <joseph@codesourcery.com>
5437
effbd42a
JM
5438 * README: Don't refer to ports add-on as distributed separately.
5439 Mention AArch64 in list of systems supported in the ports add-on.
5440
87600365
JM
5441 * LICENSES: Add more non-FSF copyright and license notices.
5442
a0d7066a
JM
5443 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5444 ((unused)).
5445
66ca5a5b
JM
5446 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5447
363313b5
JM
5448 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5449 10000 as width of padded output.
5450
b37984ad
JM
54512012-12-04 Joseph Myers <joseph@codesourcery.com>
5452
9003570a
JM
5453 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5454
b37984ad
JM
5455 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5456 variable LX with __attribute__ ((unused)).
5457 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5458 Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5460 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5461 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5462 with __attribute__ ((unused)).
5463
c8df52ec
DM
54642012-12-04 David S. Miller <davem@abraco.davemloft.net>
5465
5466 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5467
b3b099af
JM
54682012-12-04 Joseph Myers <joseph@codesourcery.com>
5469
c33aa6e3
JM
5470 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5471 (CFLAGS-nldbl-acos.c): New variable.
5472 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5473 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5474 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5475 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5476 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5477 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5478 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5479 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5480 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5481 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5482 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5483 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5484 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5485 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5486 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5487 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5488 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5489 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5490 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5491 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5492 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5493 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5494 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5495 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5496 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5497 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5498 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5499 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5500 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5501 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5502 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5503 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5504 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5505 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5506 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5507 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5508 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5509 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5510 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5511 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5512 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5513 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5514 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5515 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5516 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5517 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5518 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5519 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5520 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5521 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5522 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5523 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5524 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5525 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5526 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5527 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5528 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5529 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5530 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5531 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5532 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5533 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5534 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5535 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5536 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5537 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5538 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5539 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5540 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5541 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5542 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5543 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5544 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5545 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5546 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5547 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5548 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5549 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5550 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5551 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5552 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5553 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5554 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5555 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5556 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5557 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5558 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5559 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5560 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5561 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5562 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5563 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5564 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5565 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5566 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5567 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5568 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5569
20f0018d
JM
5570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5571 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5572
b3b099af
JM
5573 [BZ #14914]
5574 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5575 whole low double instead of just low 47 bits when splitting values
5576 into two parts.
5577
029264d1
AM
55782012-12-03 Allan McRae <allan@archlinux.org>
5579
5580 * manual/stdio.texi (Predefined Printf Handlers): Remove
5581 @hsep and @vsep usage.
5582
c9d6789e
MF
55832012-12-03 Mike Frysinger <vapier@gentoo.org>
5584
5585 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5586 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5587
4b7634a5
JL
55882012-12-03 Jeff Law <law@redhat.com>
5589
5590 * time/sys/time.h (settimeofday): Do not mark TV argument
5591 as __nonnull.
5592
eb6cbd24
MF
55932012-12-01 Mike Frysinger <vapier@gentoo.org>
5594
5595 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5596 when currently writing and seek to current position when not.
5597 * libio/Makefile (tests): Remove bug-fclose1.
5598 * libio/bug-fclose1.c: Delete.
5599
f638872a
JM
56002012-12-01 Joseph Myers <joseph@codesourcery.com>
5601
5602 * manual/arith.texi (feenableexcept): Fix typo.
5603 (fedisableexcept): Likewise.
5604
48085d14
RM
56052012-11-30 Roland McGrath <roland@hack.frob.com>
5606
5607 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5608 second, differently-typed declaration, rather than a cast.
5609
1a538b9f
SP
56102012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5611
5612 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5613 * include/rpc/svc.h: ... here.
5614
d07f2ff1 56152012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5616
5617 [BZ #13013]
5618 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5619 depending n and resplen2 to catch cases where answer
5620 equals answerp2.
5621
c93ec1f0
CD
56222012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5623
5624 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5625 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5626
37db69de
MF
56272012-11-29 Mike Frysinger <vapier@gentoo.org>
5628
5629 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5630
e10c4e4f
RM
56312012-11-29 Roland McGrath <roland@hack.frob.com>
5632
5633 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5634
2af1b328
JL
56352012-11-28 Jeff Law <law@redhat.com>
5636
5637 [BZ #13761]
5638 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5639 dataset_temporary. Track alloca usage into alloca_used.
5640 If dataset is large allocate and release it via malloc/free.
5641
111db5b1
FW
56422012-06-04 Florian Weimer <fweimer@redhat.com>
5643
f06cc227 5644 [BZ #14197]
111db5b1
FW
5645 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5646
dd694abd
DM
56472012-11-28 David S. Miller <davem@davemloft.net>
5648
5649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5650
9984dd01
JM
56512012-11-28 Joseph Myers <joseph@codesourcery.com>
5652
5653 [BZ #14803]
5654 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5655 of pi/2 rounded to nearest to 64 bits.
5656 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5657 nearest to 64 bits.
5658 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5659 bits.
5660
14bc93a9
JL
56612012-11-28 Jeff Law <law@redhat.com>
5662 Martin Osvald <mosvald@redhat.com>
5663
5664 [BZ #14889]
5665 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5666 * sunrpc/svc.c: Include time.h.
5667 (__svc_accept_failed): New function.
5668 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5669 any reason other than EINTR, call __svc_accept_failed.
5670 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5671 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5672
e3c6aa3a
AS
56732012-11-28 Andreas Schwab <schwab@suse.de>
5674
5675 * scripts/abilist.awk: Also handle indirect functions in .opd
5676 section.
5677
1bead169
JM
56782012-11-28 Joseph Myers <joseph@codesourcery.com>
5679
5680 [BZ #13881]
5681 * sysdeps/x86/fpu/powl_helper.c: New file.
5682 * sysdeps/x86/fpu/Makefile: Likewise.
5683 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5684 (p3): New object.
5685 (__ieee754_powl): Use __powl_helper for finite arguments except
5686 integer exponents below 8.
5687 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5688 (p3): New object.
5689 (__ieee754_powl): Use __powl_helper for finite arguments except
5690 integer exponents below 8.
5691 * math/libm-test.inc (pow_test): Add more tests and enable some
5692 previously disabled tests.
5693 * sysdeps/i386/fpu/libm-test-ulps: Update.
5694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5695
0817d63d
SP
56962012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5697 Carlos O'Donell <carlos_odonell@mentor.com>
5698
5699 * nss/makedb.c (is_prime): Assert that input is odd and greater
5700 than 4. Note that fact in a comment too.
5701 (next_prime): Add 4 to input.
5702
de2fd463
SP
57032012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5704
5705 [BZ #11741]
5706 * libio/Makefile (tests): Add test case tst-fwrite-error.
5707 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5708 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5709 * libio/tst-fwrite-error.c: New test case.
5710
c515fb51
L
57112012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5712
5713 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5714 before casting to void *.
5715 * include/libc-internal.h (__pointer_type): New macro.
5716 (__integer_if_pointer_type_sub): Likewise.
5717 (__integer_if_pointer_type): Likewise.
5718 (cast_to_integer): Likewise.
5719 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5720 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5721 before casting to atomic64_t.
5722 (atomic_exchange_acq): Likewise.
5723 (__arch_exchange_and_add_body): Likewise.
5724 (__arch_add_body): Likewise.
5725 (atomic_add_negative): Likewise.
5726 (atomic_add_zero): Likewise.
5727
4cf77aa9
JM
57282012-11-26 Joseph Myers <joseph@codesourcery.com>
5729
5730 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5731 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5732 (add_fdes): Likewise.
5733 (linear_search_fdes): Likewise.
5734 (binary_search_unencoded_fdes): Likewise.
5735
d260b3b4
AS
57362012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5737
5738 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5739
67060746
AC
57402012-11-24 Adam Conrad <adconrad@0c3.net>
5741
5742 * configure.in: Autodetect C++ header directories.
5743 * configure: Regenerated.
5744
800938a1
MF
57452012-11-23 Mike Frysinger <vapier@gentoo.org>
5746
5747 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5748
4e6e34e6
AS
57492012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5750
5751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5752
7c7feb47
JM
57532012-11-22 Joseph Myers <joseph@codesourcery.com>
5754
7184dcdf
JM
5755 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5756 LDBL_MANT_DIG == 106]: Disable some tests.
5757 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5758 Likewise.
5759 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5760 Likewise.
5761
0a42601f
JM
5762 [BZ #14871]
5763 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5764 input for small inputs. Return +/- pi/2 for large inputs.
5765 * math/libm-test.inc (atan_test): Add more tests.
5766
79c9b9fe
JM
5767 * sysdeps/generic/unwind-dw2-fde-glibc.c
5768 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5769 __attribute__ ((unused)).
5770
c60d3bf2
JM
5771 [BZ #14645]
5772 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5773 x * y if x and y are nonzero and z is zero.
5774
ef1e0867
JM
5775 [BZ #14811]
5776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5777 nonzero exponents with absolute value below 0x1p-117 to +/-
5778 0x1p-117.
5779
1468ded3
JM
5780 [BZ #14869]
5781 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5782 up arguments below 2**-450, not just those below 2**-500.
5783 * math/libm-test.inc (hypot_test): Add another test.
5784
8e27e3cc
JM
5785 [BZ #14868]
5786 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5787 Return a+b for ratio over 2**120, not 2**60.
5788 * math/libm-test.inc (hypot_test): Add another test.
5789
c9c0279b
JM
5790 * math/libm-test.inc (clog_test): Use
5791 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5792 (clog10_test): Likewise.
5793
7c7feb47
JM
5794 [BZ #6778]
5795 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5796
fff1530e
AS
57972012-11-22 Andreas Schwab <schwab@suse.de>
5798
5799 * sysdeps/i386/fpu/libm-test-ulps: Update.
5800
94558d30
PT
58012012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5802
5803 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5804 printf output with newline.
5805
7e1be741
L
58062012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5807
6bfea974
L
5808 [BZ #14865]
5809 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5810 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5811 -z nodlopen, -z initfirst and -z execstack support.
5812 * configure: Regenerated.
5813
7e1be741
L
5814 * elf/elf.h (DF_1_NODIRECT): New macro.
5815 (DF_1_IGNMULDEF): Likewise.
5816 (DF_1_NOKSYMS): Likewise.
5817 (DF_1_NOHDR): Likewise.
5818 (DF_1_EDITED): Likewise.
5819 (DF_1_NORELOC): Likewise.
5820 (DF_1_SYMINTPOSE): Likewise.
5821 (DF_1_GLOBAUDIT): Likewise.
5822 (DF_1_SINGLETON): Likewise.
5823 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5824 DT_1_SUPPORTED_MASK bits.
5825 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5826
105ce2ce
CD
58272012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5828
5829 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5830
123be9de
TS
58312012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5832
d072f3f7
TS
5833 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5834 macro.
5835
123be9de
TS
5836 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5837 (sendmmsg): Move declarations...
5838 * socket/sys/socket.h: ... here.
5839 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5840 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5841 include it from...
5842 * socket/recvmmsg.c: ... this new file.
5843 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5844 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5845 definition of __sendmmsg hidden.
5846 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5847 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5848 Move ENOSYS stub into and include it from...
5849 * socket/sendmmsg.c: ... this new file.
5850 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5851 (sysdep_routines): Move recvmmsg and sendmmsg...
5852 * socket/Makefile (routines): ... here.
5853 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5854 (GLIBC_PRIVATE): Add __sendmmsg.
5855 * include/sys/socket.h (__sendmmsg): Add declarations.
5856 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5857 sendmmsg.
5858
cf9a5d18
JM
58592012-11-20 Joseph Myers <joseph@codesourcery.com>
5860
5861 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5862 variable I1 with __attribute__ ((unused)).
5863 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5864
ecd4caf9
JM
58652012-11-19 Joseph Myers <joseph@codesourcery.com>
5866
be14d48f
JM
5867 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5868 DUMMY variables with __attribute__ ((unused)).
5869
ecd4caf9
JM
5870 * bits/byteswap.h: Include <bits/types.h>.
5871 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5872
986cab95
PT
58732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5874
5875 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5876 string_t. Do not manually set errno.
5877 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5878 length with __strnlen. Make sure to both set errno and return it on
5879 failure.
5880
6d33cc9d
DM
58812012-11-19 David S. Miller <davem@davemloft.net>
5882
5883 With help from Joseph Myers.
5884 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5885 very large arguments properly.
5886 * math/libm-test.inc (atan_test): New tests.
5887 (atan2_test): New tests.
5888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5890
ee663277
JM
58912012-11-19 Joseph Myers <joseph@codesourcery.com>
5892
877f2d8e
JM
5893 [BZ #14856]
5894 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5895 Define to 3.
5896
116fc08a
JM
5897 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5898 [POSIX] (EADDRNOTAVAIL): Likewise.
5899 [POSIX] (EAFNOSUPPORT): Likewise.
5900 [POSIX] (EALREADY): Likewise.
5901 [POSIX] (ECONNABORTED): Likewise.
5902 [POSIX] (ECONNREFUSED): Likewise.
5903 [POSIX] (ECONNRESET): Likewise.
5904 [POSIX] (EDESTADDRREQ): Likewise.
5905 [POSIX] (EDQUOT): Likewise.
5906 [POSIX] (EHOSTUNREACH): Likewise.
5907 [POSIX] (EIDRM): Likewise.
5908 [POSIX] (EISCONN): Likewise.
5909 [POSIX] (ELOOP): Likewise.
5910 [POSIX] (EMULTIHOP): Likewise.
5911 [POSIX] (ENETDOWN): Likewise.
5912 [POSIX] (ENETUNREACH): Likewise.
5913 [POSIX] (ENOBUFS): Likewise.
5914 [POSIX] (ENODATA): Likewise.
5915 [POSIX] (ENOLINK): Likewise.
5916 [POSIX] (ENOMSG): Likewise.
5917 [POSIX] (ENOPROTOOPT): Likewise.
5918 [POSIX] (ENOSR): Likewise.
5919 [POSIX] (ENOSTR): Likewise.
5920 [POSIX] (ENOTCONN): Likewise.
5921 [POSIX] (ENOTSOCK): Likewise.
5922 [POSIX] (EOPNOTSUPP): Likewise.
5923 [POSIX] (EOVERFLOW): Likewise.
5924 [POSIX] (EPROTO): Likewise.
5925 [POSIX] (EPROTONOSUPPORT): Likewise.
5926 [POSIX] (EPROTOTYPE): Likewise.
5927 [POSIX] (ESTALE): Likewise.
5928 [POSIX] (ETIME): Likewise.
5929 [POSIX] (ETXTBSY): Likewise.
5930 [POSIX] (EWOULDBLOCK): Likewise.
5931 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5932 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5933 [POSIX] (SEEK_CUR): Likewise.
5934 [POSIX] (SEEK_END): Likewise.
5935 [POSIX || UNIX98] (mode_t): Do not require.
5936 [POSIX] (off_t): Likewise.
5937 [POSIX] (pid_t): Likewise.
5938 [POSIX] (sys/stat.h): Do not allow header.
5939 [POSIX] (unistd.h): Likewise.
5940 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5941 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5942 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5943 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5944 require.
5945 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5946 sigevent): Specify elements.
5947 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5948 entry.
5949 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5950 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5951
a483863f
JM
5952 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5953 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5954 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5955 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5956 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5957 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5958 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5959 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5960 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5961 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5962 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5963 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5964 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5965 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5966 Likewise.
5967 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5968 Likewise.
5969 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5970 Likewise.
5971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5972 Likewise.
5973 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5974 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5975 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5976 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5977 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5978 Specify lower bound on value.
5979 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5980 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5981 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5982 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5983 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5984 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5985 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5986 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5987 value.
5988 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5989 as optional.
5990 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5991 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5992 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5993 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5994 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5995 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5996 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5997 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5998 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5999 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6000 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6001 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6002 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6003 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6004 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6005 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6006 entry.
6007 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6008 optional.
6009 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6010 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6011 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6012 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6013 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6014 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6015 Likewise.
6016 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6017 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6018 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6019 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6020 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6021 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6022 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6023 as optional.
6024 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6025 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6026 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6027 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6028 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6029 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6030 specify as optional.
6031 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6032 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6033 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6034 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6035 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6036 [XPG3] (NL_LANGMAX): Likewise.
6037 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6038 [POSIX || XPG3] (NL_NMAX): Likewise.
6039 [POSIX || XPG3] (NL_SETMAX): Likewise.
6040 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6041 [XPG3] (NZERO): Likewise.
6042 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6043 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6044 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6045 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6046 (REG_ERANGE): Expect.
6047 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6048 optional-constant.
6049 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6050 Use (void) in prototype.
6051 [POSIX] (*_t): Allow.
6052 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6053 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6054 (WRDE_BADVAL): Expect.
6055
5ba924e3
JM
6056 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6057 expect.
6058 [XPG3 || XPG4] (O_RSYNC): Likewise.
6059 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6060 Likewise.
6061 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6062 [XPG3 || XPG4] (sigqueue): Likewise.
6063 [XPG3 || XPG4] (sigtimedwait): Likewise.
6064 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6065 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6066 [XPG3 || XPG4] (vsnprintf): Likewise.
6067 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6068 Likewise.
6069 [XPG3 || XPG4] (blksize_t): Likewise.
6070 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6071 Likewise.
6072 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6073 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6074 [XPG3 || XPG4] (struct itimerspec): Likewise.
6075 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6076 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6077 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6078 [XPG3 || XPG4] (clockid_t): Likewise.
6079 [XPG3 || XPG4] (timer_t): Likewise.
6080 [XPG3 || XPG4] (clock_getres): Likewise.
6081 [XPG3 || XPG4] (clock_gettime): Likewise.
6082 [XPG3 || XPG4] (clock_settime): Likewise.
6083 [XPG3 || XPG4] (nanosleep): Likewise.
6084 [XPG3 || XPG4] (timer_create): Likewise.
6085 [XPG3 || XPG4] (timer_delete): Likewise.
6086 [XPG3 || XPG4] (timer_gettime): Likewise.
6087 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6088 [XPG3 || XPG4] (timer_settime): Likewise.
6089 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6090 [XPG3 || XPG4] (getlogin_r): Likewise.
6091 [XPG3 || XPG4] (pread): Likewise.
6092 [XPG3 || XPG4] (pthread_atfork): Likewise.
6093 [XPG3 || XPG4] (pwrite): Likewise.
6094
ee663277
JM
6095 [BZ #14835]
6096 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6097 <bits/siginfo.h>.
6098
942caa16
PT
60992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6100
e19af380
PT
6101 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6102 finalizing MALLSTREAM.
6103
942caa16
PT
6104 * sysdeps/mach/hurd/syncfs.c: New file.
6105
cfde9b46
SP
61062012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6107
6108 [BZ #14719]
6109 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6110 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6111 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6112 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6113 (_nss_dns_gethostbyname4_r): Likewise.
6114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6115 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6116
f6da27e5
PH
61172012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6118
6119 [BZ #13763]
6120 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6121
6665d4a2
SM
61222012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6123
1f51ee92
SM
6124 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6125 * elf/cache.c (print_entry): Print ",AArch64" for
6126 FLAG_AARCH64_LIB64
6127
6665d4a2
SM
6128 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6129 * elf/cache.c (print_entry): Print ",hard-float" for
6130 FLAG_ARM_LIBHF.
6131
05b227bd
DM
61322012-11-18 David S. Miller <davem@davemloft.net>
6133
6134 With help from Joseph Myers.
6135 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6136 cutoff to 2**-13.
6137 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6138 cutoff to 2**-25.
6139 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6140 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6141 small.
6142 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6143 * math/libm-test.inc (y0_test): New tests.
6144 (y1_test): New tests.
6145 * sysdeps/i386/fpu/libm-test-ulps: Update.
6146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6148
786b0b67
AS
61492012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6150
6151 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6152 64-bit targets.
6153 * configure: Regenerated.
6154
8e18b86d
DM
61552012-11-17 David S. Miller <davem@davemloft.net>
6156
6157 [BZ #14811]
6158 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6159 nonzero exponents with absolute value below 0x1p-128 to +/-
6160 0x1p-128.
6161
531f1ae0
JM
61622012-11-17 Joseph Myers <joseph@codesourcery.com>
6163
12df29e2
JM
6164 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6165
150dc1a0
JM
6166 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6167
531f1ae0
JM
6168 * posix/getconf-speclist.c: New file.
6169 * posix/posix-envs.def: Likewise.
6170 * posix/confstr.c (START_ENV_GROUP): New macro.
6171 (END_ENV_GROUP): Likewise.
6172 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6173 (KNOWN_PRESENT_ENV_STRING): Likewise.
6174 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6175 (UNKNOWN_ENVIRONMENT): Likewise.
6176 (confstr): Include posix-envs.def instead of handling
6177 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6178 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6179 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6180 (END_ENV_GROUP): Likewise.
6181 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6182 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6183 (UNKNOWN_ENVIRONMENT): Likewise.
6184 (__sysconf): Include posix-envs.def instead of handling associated
6185 cases directly here.
6186 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6187 preprocessing getconf-speclist.c rather than running getconf or
6188 generating empty file.
6189
a93f9cbc
PT
61902012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6191
6192 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6193
d64d9f87
AL
61942012-11-16 Andrej Lajovic <natrij@gmail.com>
6195
6196 [BZ #14672]
6197 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6198
447885eb
DM
61992012-11-16 David S. Miller <davem@davemloft.net>
6200
6201 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6202 smaller than LDBL_EPSILON/2.0L, just return xm1.
6203
bcbf9830
L
62042012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6205
6206 * elf/tst-array1.c (init): Set constructor priority to 1000.
6207 (fini): Set destructor priority to 1000.
6208 * elf/tst-array2dep.c: Likewise.
6209
2b766585
SP
62102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6211
6212 [BZ #11741]
6213 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6214 (_IO_new_file_xsputn): Also return EOF if none of the input
6215 data was written when overflow failed.
6216 * libio/iopadn.c (_IO_padn): Likewise.
6217 * libio/iowpadn.c (_IO_wpadn): Likewise.
6218 * stdio-common/tst-put-error.c: Add copyright notice.
6219 (do_test): Add case for printing padded string.
6220 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6221 _IO_padn returned error.
6222 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6223 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6224 return EOF.
6225
b1848fde
SP
62262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6227
6228 * libio/libioP.h: Add comment note that the references to C++
6229 bits are now obsolete.
6230
2fd89785
MS
62312012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6232
6233 * math/libm-test.inc (check_complex): Use asprintf.
6234
e3ea5409
JM
62352012-11-14 Joseph Myers <joseph@codesourcery.com>
6236
6237 * debug/pcprofiledump.c (print_version): Update copyright year.
6238 * malloc/memusagestat.c (print_version): Likewise.
6239
2e64d265
L
62402012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6241
6242 [BZ #14831]
6243 * elf/Makefile (tests): Add tst-audit8.
6244 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6245 ($(objpfx)tst-audit8.out): New target.
6246 (tst-audit8-ENV): New variable.
6247 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6248 audit if l_reloc_result is NULL.
6249 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6250 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6251 * elf/tst-audit8.c: New file.
6252
c485e4d2
MS
62532012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6254
6255 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6256 * misc/Makefile (CFLAGS-select.c): Define.
6257 * posix/Makefile (CFLAGS-pause.c): Define.
6258
3a0d900a
DM
62592012-11-13 David S. Miller <davem@davemloft.net>
6260
6261 * crypt/Makefile: Move test targets after toplevel Rules
6262 inclusion. Grab any necessary sysdep routines when linking.
6263 * crypt/md5.c (md5_process_block): Remove define, we will always
6264 name it __md5_process_block.
6265 (md5_finish_ctx): Update md5_process_block call.
6266 (md5_stream): Likewise.
6267 (md5_process_bytes): Likewise.
6268 (md5_process_block): Rename to __md5_process_block and move to ...
6269 * crypt/md5-block.c: ... here.
6270 * crypt/sha256.c (sha256_process_block): Move to ...
6271 * crypt/sha256-block.c: ... here.
6272 * crypt/sha512.c (sha512_process_block): Move to ...
6273 * crypt/sha512-block.c: ... here.
6274 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6275 path.
6276 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6277 * sysdeps/sparc/sparc64/multiarch/Makefile
6278 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6279 crypt subdir.
6280 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6281 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6282 multiarch changes.
6283 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6284 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6285 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6286 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6287 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6288 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6289 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6290 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6291 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6292 file.
6293 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6294 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6295 file.
6296 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6297
8ca89318
JM
62982012-11-13 Joseph Myers <joseph@codesourcery.com>
6299
e27d476a
JM
6300 * timezone/tzselect.ksh: Update from tzcode git revision
6301 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6302 * timezone/zdump.c: Likewise.
6303 * timezone/zic.c: Likewise.
6304 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6305 in TZVERSION setting, not $(PKGVERSION).
6306 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6307 REPORT_BUGS_TO settings.
6308
8ca89318
JM
6309 [BZ #14838]
6310 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6311 macro.
6312
47594329
MS
63132012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6314
6315 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6316 detection to immediately after _FP_ROUND().
6317 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6318 bits are 0.
6319
640ac3f1
DM
63202012-11-11 David S. Miller <davem@davemloft.net>
6321
6322 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6323 inttypes.h
6324 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6325 __close rather than their public counterparts.
6326
3d2577bb
JM
63272012-11-10 Joseph Myers <joseph@codesourcery.com>
6328
6329 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6330 file.
6331 [UNIX98] (sem_timedwait): Do not expect.
6332 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6333 [XPG4 || UNIX98] (sockatmark): Do not expect.
6334 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6335 (clock_getcpuclockid): Do not expect.
6336 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6337 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6338 Do not expect.
6339 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6340 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6341 [UNIX98] (vwscanf): Likewise.
6342 [UNIX98] (vswscanf): Likewise.
6343
fb1ae1ee
JM
63442012-11-09 Joseph Myers <joseph@codesourcery.com>
6345
9ec6f8bd
JM
6346 * timezone/version.h: Remove file.
6347 * timezone/README: Do not refer to version.h.
6348 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6349 $(objpfx)version.h.
6350 ($(objpfx)zdump.o): Likewise.
c3f81911 6351 ($(objpfx)version.h): New target.
9ec6f8bd 6352
0aa8f8a1
JM
6353 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6354 2012i.
6355 * timezone/README: Don't mention modification to tzselect.ksh.
6356 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6357 work on unmodified tzselect.ksh. Substitute version numbers in
6358 tzselect.ksh.
6359
4e87147f
JM
6360 * Makefile (format-me): Remove.
6361 (INSTALL): Adjust indentation. Use commands directly instead of
6362 using $(format-me).
6363
8b748aed
JM
6364 * aclocal.m4 (ACX_PKGVERSION): New macro.
6365 (ACX_BUGURL): Likewise.
6366 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6367 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6368 (REPORT_BUGS_TO): Likewise.
6369 * configure: Regenerated.
6370 * config.h.in (PKGVERSION): New macro.
6371 (REPORT_BUGS_TO): Likewise.
6372 * config.make.in (PKGVERSION): New variable.
6373 (PKGVERSION_TEXI): Likewise.
6374 (REPORT_BUGS_TO): Likewise.
6375 (REPORT_BUGS_TEXI): Likewise.
6376 * Makefile (format-me): Use -I$(common-objpfx)manual.
6377 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6378 ($(common-objpfx)manual/%): New target.
6379 (manual/%): Remove target.
6380 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6381 (print_version): Use PKGVERSION.
6382 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6383 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6384 and REPORT_BUGS_TO.
6385 ($(objpfx)xtrace): Likewise.
6386 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6387 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6388 (print_version): Use PKGVERSION.
6389 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6390 (do_version): Use PKGVERSION.
6391 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6392 REPORT_BUGS_TO.
6393 (common-ldd-rewrite): Likewise.
6394 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6395 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6396 (print_version): Use PKGVERSION.
6397 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6398 * elf/pldd.c (argp_program_bug_address): Remove variable.
6399 (more_help): New function.
6400 (argp): Use more_help.
6401 (print_version): Use PKGVERSION.
6402 * elf/sln.c (main): Use PKGVERSION.
6403 (usage): Use REPORT_BUGS_TO.
6404 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6405 (top level): Use PKGVERSION.
6406 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6407 (print_version): Use PKGVERSION.
6408 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6409 (print_version): Use PKGVERSION.
6410 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6411 (print_version): Use PKGVERSION.
6412 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6413 (print_version): Use PKGVERSION.
6414 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6415 (print_version): Use PKGVERSION.
6416 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6417 (print_version): Use PKGVERSION.
6418 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6419 and BUGURL.
6420 ($(objpfx)memusage): Likewise.
6421 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6422 (do_version): Use PKGVERSION.
6423 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6424 (print_version): Use PKGVERSION.
6425 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6426 ($PKGVERSION): New variable.
6427 ($REPORT_BUGS_TO): Likewise.
6428 (usage): Use $REPORT_BUGS_TO.
6429 (top level): Use $PKGVERSION.
6430 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6431 ($(objpfx)pkgvers.texi): New rule.
6432 ($(objpfx)stamp-pkgvers): Likewise.
6433 * manual/install.texi: Include pkgvers.texi.
6434 (--with-pkgversion): Document new configure option.
6435 (--with-bugurl): Likewise.
6436 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6437 than necessarily for this particular distribution. Use
6438 REPORT_BUGS_TO for where to report bugs.
6439 * INSTALL: Regenerated.
6440 * manual/libc.texinfo: Include pkgvers.texi.
6441 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6442 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6443 (print_version): Use PKGVERSION.
6444 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6445 (print_version): Use PKGVERSION.
6446 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6447 (print_version): Use PKGVERSION.
6448 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6449 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6450 macro.
6451 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6452 (print_version): Use PKGVERSION.
6453 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6454 (print_version): Use PKGVERSION.
6455 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6456 and PKGVERSION.
6457
92e4b6a9
JM
6458 * timezone/checktab.awk: Update from tzcode 2012i.
6459 * timezone/ialloc.c: Likewise.
6460 * timezone/private.h: Likewise.
6461 * timezone/scheck.c: Likewise.
6462 * timezone/tzfile.h: Likewise.
6463 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6464 (TZVERSION): Hardcode tzcode version number.
6465 * timezone/zdump.c: Update from tzcode 2012i.
6466 * timezone/zic.c: Likewise.
6467 * timezone/version.h: New file.
6468 * timezone/README: Describe version.h. Update upstream location.
6469
9bde902c
JM
6470 [BZ #14824]
6471 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6472 (mktemp): Enable declaration.
6473 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6474 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6475 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6477 Likewise.
6478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6479 Likewise.
6480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6481 Likewise.
6482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6483 Likewise.
6484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6485 Likewise.
6486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6487 Likewise.
6488
fb1ae1ee
JM
6489 [BZ #14821]
6490 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6491 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6492 for copies of such integer values.
6493 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6494 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6495
2c1adbcb
AJ
64962012-11-09 Andreas Jaeger <aj@suse.de>
6497
6498 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6499 definitions and declarations that are provided by
6500 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6501
d0f8457e
AK
65022012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6503
3a235abb 6504 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6505 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6506 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6507 definition.
6508
57241e26
MS
65092012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6510
6511 * elf/elf.h: Update comment before AArch64 relocations.
6512
60e8270d
DM
65132012-11-07 David S. Miller <davem@davemloft.net>
6514
6515 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6516 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6517 (__start_context): Declare.
6518 (__makecontext_ret): Delete.
6519 (__makecontext): Hook up __start_context instead of
6520 __makecontext_ret.
6521 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6522 (sysdep_routines): Add __start_context when in stdlib.
6523
0fbb0fbc
JM
65242012-11-07 Joseph Myers <joseph@codesourcery.com>
6525
6526 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6527 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6528 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6529 hardcoded "nm".
6530 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6531 (READELF): New variable. Use it instead of hardcoded "readelf".
6532
eb48db7e
L
65332012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6534
6535 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6536 * sysdeps/x86/Makefile: Here.
6537 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6538 * sysdeps/x86/tst-xmmymm.sh: This.
6539
05bcf62a
JM
65402012-11-07 Joseph Myers <joseph@codesourcery.com>
6541
c4b6cf53
JM
6542 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6543 expectations.
6544 [UNIX98] (pthread_barrier_t): Do not expect.
6545 [UNIX98] (pthread_barrierattr_t): Likewise.
6546 [UNIX98] (pthread_spinlock_t): Likewise.
6547 [UNIX98] (pthread_barrier_destroy): Likewise.
6548 [UNIX98] (pthread_barrier_init): Likewise.
6549 [UNIX98] (pthread_barrier_wait): Likewise.
6550 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6551 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6552 [UNIX98] (pthread_barrierattr_init): Likewise.
6553 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6554 [UNIX98] (pthread_getcpuclockid): Likewise.
6555 [UNIX98] (pthread_mutex_timedlock): Likewise.
6556 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6557 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6558 [UNIX98] (pthread_sigmask): Likewise.
6559 [UNIX98] (pthread_spin_destroy): Likewise.
6560 [UNIX98] (pthread_spin_init): Likewise.
6561 [UNIX98] (pthread_spin_lock): Likewise.
6562 [UNIX98] (pthread_spin_trylock): Likewise.
6563 [UNIX98] (pthread_spin_unlock): Likewise.
6564 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6565 Do not expect.
6566 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6567 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6568 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6569 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6570 [XPG3 || XPG4] (pthread_key_t): Likewise.
6571 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6572 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6573 [XPG3 || XPG4] (pthread_once_t): Likewise.
6574 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6575 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6576 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6577 [XPG3 || XPG4] (pthread_t): Likewise.
6578
cbe6e120
JM
6579 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6580 not expect.
6581 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6582
1b126443
JM
6583 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6584 Change function return type to int.
6585
b961a573
JM
6586 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6587 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6588 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6589 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6590 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6591 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6592 [!POSIX] (posix_madvise): Likewise.
6593 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6594 && !UNIX98].
6595 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6596 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6597 (mode_t): Likewise.
6598 (posix_mem_offset): Likewise.
6599 (posix_typed_mem_get_info): Likewise.
6600 (posix_typed_mem_open): Likewise.
6601
9e188909
JM
6602 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6603 Change condition to [XOPEN2K8].
6604
05bcf62a
JM
6605 * conform/conformtest.pl: Preprocess allow-header data with -x c
6606 instead of from stdin.
6607 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6608 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6609 [C99-based standards] (cerfc): Likewise.
6610 [C99-based standards] (cexp2): Likewise.
6611 [C99-based standards] (cexpm1): Likewise.
6612 [C99-based standards] (clog10): Likewise.
6613 [C99-based standards] (clog1p): Likewise.
6614 [C99-based standards] (clog2): Likewise.
6615 [C99-based standards] (clgamma): Likewise.
6616 [C99-based standards] (ctgamma): Likewise.
6617 [C99-based standards] (cerff): Likewise.
6618 [C99-based standards] (cerfcf): Likewise.
6619 [C99-based standards] (cexp2f): Likewise.
6620 [C99-based standards] (cexpm1f): Likewise.
6621 [C99-based standards] (clog10f): Likewise.
6622 [C99-based standards] (clog1pf): Likewise.
6623 [C99-based standards] (clog2f): Likewise.
6624 [C99-based standards] (clgammaf): Likewise.
6625 [C99-based standards] (ctgammaf): Likewise.
6626 [C99-based standards] (cerfl): Likewise.
6627 [C99-based standards] (cerfcl): Likewise.
6628 [C99-based standards] (cexp2l): Likewise.
6629 [C99-based standards] (cexpm1l): Likewise.
6630 [C99-based standards] (clog10l): Likewise.
6631 [C99-based standards] (clog1pl): Likewise.
6632 [C99-based standards] (clog2l): Likewise.
6633 [C99-based standards] (clgammal): Likewise.
6634 [C99-based standards] (ctgammal): Likewise.
6635 * conform/data/inttypes.h-data [C99-based standards]: Include
6636 stdint.h-data. Remove all expectations for stdint.h contents.
6637 [C99-based standards] (PRI*): Do not allow.
6638 [C99-based standards] (SCN*): Likewise.
6639 [C99-based standards] (*_t): Likewise.
6640 [C99-based-standards] (PRId8): Expect macro.
6641 [C99-based-standards] (PRIi8): Likewise.
6642 [C99-based-standards] (PRIo8): Likewise.
6643 [C99-based-standards] (PRIu8): Likewise.
6644 [C99-based-standards] (PRIx8): Likewise.
6645 [C99-based-standards] (PRIX8): Likewise.
6646 [C99-based-standards] (SCNd8): Likewise.
6647 [C99-based-standards] (SCNi8): Likewise.
6648 [C99-based-standards] (SCNo8): Likewise.
6649 [C99-based-standards] (SCNu8): Likewise.
6650 [C99-based-standards] (SCNx8): Likewise.
6651 [C99-based-standards] (PRIdLEAST8): Likewise.
6652 [C99-based-standards] (PRIiLEAST8): Likewise.
6653 [C99-based-standards] (PRIoLEAST8): Likewise.
6654 [C99-based-standards] (PRIuLEAST8): Likewise.
6655 [C99-based-standards] (PRIxLEAST8): Likewise.
6656 [C99-based-standards] (PRIXLEAST8): Likewise.
6657 [C99-based-standards] (SCNdLEAST8): Likewise.
6658 [C99-based-standards] (SCNiLEAST8): Likewise.
6659 [C99-based-standards] (SCNoLEAST8): Likewise.
6660 [C99-based-standards] (SCNuLEAST8): Likewise.
6661 [C99-based-standards] (SCNxLEAST8): Likewise.
6662 [C99-based-standards] (PRIdFAST8): Likewise.
6663 [C99-based-standards] (PRIiFAST8): Likewise.
6664 [C99-based-standards] (PRIoFAST8): Likewise.
6665 [C99-based-standards] (PRIuFAST8): Likewise.
6666 [C99-based-standards] (PRIxFAST8): Likewise.
6667 [C99-based-standards] (PRIXFAST8): Likewise.
6668 [C99-based-standards] (SCNdFAST8): Likewise.
6669 [C99-based-standards] (SCNiFAST8): Likewise.
6670 [C99-based-standards] (SCNoFAST8): Likewise.
6671 [C99-based-standards] (SCNuFAST8): Likewise.
6672 [C99-based-standards] (SCNxFAST8): Likewise.
6673 [C99-based-standards] (PRId16): Likewise.
6674 [C99-based-standards] (PRIi16): Likewise.
6675 [C99-based-standards] (PRIo16): Likewise.
6676 [C99-based-standards] (PRIu16): Likewise.
6677 [C99-based-standards] (PRIx16): Likewise.
6678 [C99-based-standards] (PRIX16): Likewise.
6679 [C99-based-standards] (SCNd16): Likewise.
6680 [C99-based-standards] (SCNi16): Likewise.
6681 [C99-based-standards] (SCNo16): Likewise.
6682 [C99-based-standards] (SCNu16): Likewise.
6683 [C99-based-standards] (SCNx16): Likewise.
6684 [C99-based-standards] (PRIdLEAST16): Likewise.
6685 [C99-based-standards] (PRIiLEAST16): Likewise.
6686 [C99-based-standards] (PRIoLEAST16): Likewise.
6687 [C99-based-standards] (PRIuLEAST16): Likewise.
6688 [C99-based-standards] (PRIxLEAST16): Likewise.
6689 [C99-based-standards] (PRIXLEAST16): Likewise.
6690 [C99-based-standards] (SCNdLEAST16): Likewise.
6691 [C99-based-standards] (SCNiLEAST16): Likewise.
6692 [C99-based-standards] (SCNoLEAST16): Likewise.
6693 [C99-based-standards] (SCNuLEAST16): Likewise.
6694 [C99-based-standards] (SCNxLEAST16): Likewise.
6695 [C99-based-standards] (PRIdFAST16): Likewise.
6696 [C99-based-standards] (PRIiFAST16): Likewise.
6697 [C99-based-standards] (PRIoFAST16): Likewise.
6698 [C99-based-standards] (PRIuFAST16): Likewise.
6699 [C99-based-standards] (PRIxFAST16): Likewise.
6700 [C99-based-standards] (PRIXFAST16): Likewise.
6701 [C99-based-standards] (SCNdFAST16): Likewise.
6702 [C99-based-standards] (SCNiFAST16): Likewise.
6703 [C99-based-standards] (SCNoFAST16): Likewise.
6704 [C99-based-standards] (SCNuFAST16): Likewise.
6705 [C99-based-standards] (SCNxFAST16): Likewise.
6706 [C99-based-standards] (PRId32): Likewise.
6707 [C99-based-standards] (PRIi32): Likewise.
6708 [C99-based-standards] (PRIo32): Likewise.
6709 [C99-based-standards] (PRIu32): Likewise.
6710 [C99-based-standards] (PRIx32): Likewise.
6711 [C99-based-standards] (PRIX32): Likewise.
6712 [C99-based-standards] (SCNd32): Likewise.
6713 [C99-based-standards] (SCNi32): Likewise.
6714 [C99-based-standards] (SCNo32): Likewise.
6715 [C99-based-standards] (SCNu32): Likewise.
6716 [C99-based-standards] (SCNx32): Likewise.
6717 [C99-based-standards] (PRIdLEAST32): Likewise.
6718 [C99-based-standards] (PRIiLEAST32): Likewise.
6719 [C99-based-standards] (PRIoLEAST32): Likewise.
6720 [C99-based-standards] (PRIuLEAST32): Likewise.
6721 [C99-based-standards] (PRIxLEAST32): Likewise.
6722 [C99-based-standards] (PRIXLEAST32): Likewise.
6723 [C99-based-standards] (SCNdLEAST32): Likewise.
6724 [C99-based-standards] (SCNiLEAST32): Likewise.
6725 [C99-based-standards] (SCNoLEAST32): Likewise.
6726 [C99-based-standards] (SCNuLEAST32): Likewise.
6727 [C99-based-standards] (SCNxLEAST32): Likewise.
6728 [C99-based-standards] (PRIdFAST32): Likewise.
6729 [C99-based-standards] (PRIiFAST32): Likewise.
6730 [C99-based-standards] (PRIoFAST32): Likewise.
6731 [C99-based-standards] (PRIuFAST32): Likewise.
6732 [C99-based-standards] (PRIxFAST32): Likewise.
6733 [C99-based-standards] (PRIXFAST32): Likewise.
6734 [C99-based-standards] (SCNdFAST32): Likewise.
6735 [C99-based-standards] (SCNiFAST32): Likewise.
6736 [C99-based-standards] (SCNoFAST32): Likewise.
6737 [C99-based-standards] (SCNuFAST32): Likewise.
6738 [C99-based-standards] (SCNxFAST32): Likewise.
6739 [C99-based-standards] (PRId64): Likewise.
6740 [C99-based-standards] (PRIi64): Likewise.
6741 [C99-based-standards] (PRIo64): Likewise.
6742 [C99-based-standards] (PRIu64): Likewise.
6743 [C99-based-standards] (PRIx64): Likewise.
6744 [C99-based-standards] (PRIX64): Likewise.
6745 [C99-based-standards] (SCNd64): Likewise.
6746 [C99-based-standards] (SCNi64): Likewise.
6747 [C99-based-standards] (SCNo64): Likewise.
6748 [C99-based-standards] (SCNu64): Likewise.
6749 [C99-based-standards] (SCNx64): Likewise.
6750 [C99-based-standards] (PRIdLEAST64): Likewise.
6751 [C99-based-standards] (PRIiLEAST64): Likewise.
6752 [C99-based-standards] (PRIoLEAST64): Likewise.
6753 [C99-based-standards] (PRIuLEAST64): Likewise.
6754 [C99-based-standards] (PRIxLEAST64): Likewise.
6755 [C99-based-standards] (PRIXLEAST64): Likewise.
6756 [C99-based-standards] (SCNdLEAST64): Likewise.
6757 [C99-based-standards] (SCNiLEAST64): Likewise.
6758 [C99-based-standards] (SCNoLEAST64): Likewise.
6759 [C99-based-standards] (SCNuLEAST64): Likewise.
6760 [C99-based-standards] (SCNxLEAST64): Likewise.
6761 [C99-based-standards] (PRIdFAST64): Likewise.
6762 [C99-based-standards] (PRIiFAST64): Likewise.
6763 [C99-based-standards] (PRIoFAST64): Likewise.
6764 [C99-based-standards] (PRIuFAST64): Likewise.
6765 [C99-based-standards] (PRIxFAST64): Likewise.
6766 [C99-based-standards] (PRIXFAST64): Likewise.
6767 [C99-based-standards] (SCNdFAST64): Likewise.
6768 [C99-based-standards] (SCNiFAST64): Likewise.
6769 [C99-based-standards] (SCNoFAST64): Likewise.
6770 [C99-based-standards] (SCNuFAST64): Likewise.
6771 [C99-based-standards] (SCNxFAST64): Likewise.
6772 [C99-based-standards] (PRIdMAX): Likewise.
6773 [C99-based-standards] (PRIiMAX): Likewise.
6774 [C99-based-standards] (PRIoMAX): Likewise.
6775 [C99-based-standards] (PRIuMAX): Likewise.
6776 [C99-based-standards] (PRIxMAX): Likewise.
6777 [C99-based-standards] (PRIXMAX): Likewise.
6778 [C99-based-standards] (SCNdMAX): Likewise.
6779 [C99-based-standards] (SCNiMAX): Likewise.
6780 [C99-based-standards] (SCNoMAX): Likewise.
6781 [C99-based-standards] (SCNuMAX): Likewise.
6782 [C99-based-standards] (SCNxMAX): Likewise.
6783 [C99-based-standards] (PRIdPTR): Likewise.
6784 [C99-based-standards] (PRIiPTR): Likewise.
6785 [C99-based-standards] (PRIoPTR): Likewise.
6786 [C99-based-standards] (PRIuPTR): Likewise.
6787 [C99-based-standards] (PRIxPTR): Likewise.
6788 [C99-based-standards] (PRIXPTR): Likewise.
6789 [C99-based-standards] (SCNdPTR): Likewise.
6790 [C99-based-standards] (SCNiPTR): Likewise.
6791 [C99-based-standards] (SCNoPTR): Likewise.
6792 [C99-based-standards] (SCNuPTR): Likewise.
6793 [C99-based-standards] (SCNxPTR): Likewise.
6794 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6795 allow.
6796 * conform/data/stdint.h-data: Update comments to clarify
6797 requirements.
6798 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6799 type.
6800 [C99-based standards] (INT8_MAX): Likewise.
6801 [C99-based standards] (INT16_MIN): Likewise.
6802 [C99-based standards] (INT16_MAX): Likewise.
6803 [C99-based standards] (INT32_MIN): Likewise.
6804 [C99-based standards] (INT32_MAX): Likewise.
6805 [C99-based standards] (INT64_MIN): Likewise.
6806 [C99-based standards] (INT64_MAX): Likewise.
6807 [C99-based standards] (UINT8_MAX): Likewise.
6808 [C99-based standards] (UINT16_MAX): Likewise.
6809 [C99-based standards] (UINT32_MAX): Likewise.
6810 [C99-based standards] (UINT64_MAX): Likewise.
6811 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6812 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6813 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6814 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6815 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6816 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6817 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6818 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6819 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6820 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6821 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6822 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6823 [C99-based standards] (INT_FAST8_MIN): Likewise.
6824 [C99-based standards] (INT_FAST8_MAX): Likewise.
6825 [C99-based standards] (INT_FAST16_MIN): Likewise.
6826 [C99-based standards] (INT_FAST16_MAX): Likewise.
6827 [C99-based standards] (INT_FAST32_MIN): Likewise.
6828 [C99-based standards] (INT_FAST32_MAX): Likewise.
6829 [C99-based standards] (INT_FAST64_MIN): Likewise.
6830 [C99-based standards] (INT_FAST64_MAX): Likewise.
6831 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6832 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6833 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6834 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6835 [C99-based standards] (INTPTR_MIN): Likewise.
6836 [C99-based standards] (INTPTR_MAX): Likewise.
6837 [C99-based standards] (UINTPTR_MAX): Likewise.
6838 [C99-based standards] (INTMAX_MIN): Likewise.
6839 [C99-based standards] (INTMAX_MAX): Likewise.
6840 [C99-based standards] (UINTMAX_MAX): Likewise.
6841 [C99-based standards] (PTRDIFF_MIN): Likewise.
6842 [C99-based standards] (PTRDIFF_MAX): Likewise.
6843 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6844 [C99-based standards] (SIZE_MAX): Likewise.
6845 [C99-based standards] (WCHAR_MAX): Likewise.
6846 [C99-based standards] (WINT_MAX): Likewise.
6847 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6848 constraint on value.
6849 [C99-based standards] (WCHAR_MIN): Likewise.
6850 [C99-based standards] (WINT_MIN): Likewise.
6851 [C99-based standards] (*_t): Allow.
6852 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6853 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6854 Include math.h-data and complex.h-data. Remove all expectations
6855 of math.h and complex.h contents.
6856 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6857 at end of line.
6858 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6859 (struct tm): Expect tag.
6860 [C99-based-standards] (wcstof): Expect function.
6861 [C99-based-standards] (wcstold): Likewise.
6862 [C99-based-standards] (wcstoll): Likewise.
6863 [C99-based-standards] (wcstoull): Likewise.
6864 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6865 macro-int-constant. Specify type.
6866 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6867 constraint on value.
6868 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6869 Specify type.
6870 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6871 Specify value.
6872 [ISO C standards]: Do not allow headers.
6873 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6874 wcs[abcdefghijklmnopqrstuvwxyz]*.
6875 [ISO C standards] (*_t): Do not allow.
6876 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6877 Expect function.
6878 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6879 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6880 Specify type.
6881 [ISO C standards]: Do not allow headers.
6882 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6883 is[abcdefghijklmnopqrstuvwxyz]*.
6884 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6885 to[abcdefghijklmnopqrstuvwxyz]*.
6886 [ISO C standards] (*_t): Do not allow.
6887 * conform/data/stdalign.h-data: New file.
6888 * conform/data/stdbool.h-data: Likewise.
6889 * conform/data/stdnoreturn.h-data: Likewise.
6890
7514feb8
RM
68912012-11-07 Roland McGrath <roland@hack.frob.com>
6892
6893 [BZ #14815]
6894 * manual/filesys.texi (Directory Entries): Typo fix.
6895 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6896
19b2ecfc
MS
68972012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6898
6899 * elf/elf.h (EM_AARCH64): New macro.
6900 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6901 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6902 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6903 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6904 (R_AARCH64_TLSDESC): Likewise.
6905 (NT_ARM_TLS): Likewise.
6906 (NT_ARM_HW_BREAK): Likewise.
6907 (NT_ARM_HW_WATCH): Likewise.
6908
60e235ee
JM
69092012-11-07 Joseph Myers <joseph@codesourcery.com>
6910
6911 [BZ #14811]
6912 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6913 (__ieee754_powl): Saturate nonzero exponents with absolute value
6914 below 0x1p-79 to +/- 0x1p-79.
6915 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6916 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6917 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6918 nonzero exponents with absolute value below 0x1p-32 to +/-
6919 0x1p-32.
6920 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6921 (__ieee754_powl): Saturate nonzero exponents with absolute value
6922 below 0x1p-79 to +/- 0x1p-79.
6923 * math/libm-test.inc (pow_test): Add more tests.
6924
0ab234b7
AK
69252012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6926
6927 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6928 _dl_s390_cap_flags with kernel. Increase string length.
6929 (_dl_s390_platforms): Add z196 and zEC12.
6930
45832f74
JM
69312012-11-07 Joseph Myers <joseph@codesourcery.com>
6932
6933 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6934 Change XOPEN21K to XOPEN2K.
6935
19218757
MK
69362012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6937
6938 * string/memmove.c: Use memcpy when possible.
6939
c5f45721
AJ
69402012-11-06 Andreas Jaeger <aj@suse.de>
6941
6942 * po/eo.po: Update from translation team.
6943
82477c28
JM
69442012-11-06 Joseph Myers <joseph@codesourcery.com>
6945
6946 [BZ #14793]
6947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6948 exponent and small x and y exponents, scale x or y up. Increase
6949 by 2 the exponent used in scaling up.
6950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6952 * math/libm-test.inc (fma_test): Add more tests.
6953 (fma_test_towardzero): Likewise.
6954 (fma_test_downward): Likewise.
6955 (fma_test_upward): Likewise.
6956
99252c8c
JM
69572012-11-05 Joseph Myers <joseph@codesourcery.com>
6958
acfa885f
JM
6959 [BZ #14805]
6960 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6961 fenv_t *.
6962
99252c8c
JM
6963 [BZ #14801]
6964 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6965 namespace for names of struct fields.
6966 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6967 fenv_t fields.
6968 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6969 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6970
d6d98dea
ST
69712012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6972
6973 [BZ #3665]
6974 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6975
e10bb107
TS
69762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6977
6978 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6979 PTR_DEMANGLE.
6980
6981 [BZ #5246]
6982 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6983 PTR_DEMANGLE.
6984
a0c2940d
JM
69852012-11-04 Joseph Myers <joseph@codesourcery.com>
6986
6987 [BZ #14797]
6988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6989 definitely overflow as x * y not x * y + z.
6990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6992 * math/libm-test.inc (fma_test): Add more tests.
6993 (fma_test_towardzero): Likewise.
6994 (fma_test_downward): Likewise.
6995 (fma_test_upward): Likewise.
6996
b830319d
TS
69972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6998
6999 [BZ #157]
7000
7001 * include/stub-tag.h: Remove file.
7002 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7003 '#include' of it.
7004 * manual/maint.texi (Porting): Don't reference it.
7005 * Makerules ($(objpfx)stubs): Likewise.
7006 * dirent/closedir.c: Don't include <stub-tag.h>.
7007 * dirent/dirfd.c: Likewise.
7008 * dirent/fdopendir.c: Likewise.
7009 * dirent/getdents.c: Likewise.
7010 * dirent/getdents64.c: Likewise.
7011 * dirent/opendir.c: Likewise.
7012 * dirent/readdir.c: Likewise.
7013 * dirent/readdir64.c: Likewise.
7014 * dirent/readdir64_r.c: Likewise.
7015 * dirent/readdir_r.c: Likewise.
7016 * dirent/rewinddir.c: Likewise.
7017 * dirent/seekdir.c: Likewise.
7018 * dirent/telldir.c: Likewise.
7019 * gmon/profil.c: Likewise.
7020 * grp/setgroups.c: Likewise.
7021 * inet/if_index.c: Likewise.
7022 * io/access.c: Likewise.
7023 * io/chdir.c: Likewise.
7024 * io/chmod.c: Likewise.
7025 * io/chown.c: Likewise.
7026 * io/close.c: Likewise.
7027 * io/dup.c: Likewise.
7028 * io/dup2.c: Likewise.
7029 * io/dup3.c: Likewise.
7030 * io/euidaccess.c: Likewise.
7031 * io/faccessat.c: Likewise.
7032 * io/fchdir.c: Likewise.
7033 * io/fchmod.c: Likewise.
7034 * io/fchmodat.c: Likewise.
7035 * io/fchown.c: Likewise.
7036 * io/fchownat.c: Likewise.
7037 * io/fcntl.c: Likewise.
7038 * io/flock.c: Likewise.
7039 * io/fstatfs.c: Likewise.
7040 * io/fstatfs64.c: Likewise.
7041 * io/fstatvfs.c: Likewise.
7042 * io/fstatvfs64.c: Likewise.
7043 * io/futimens.c: Likewise.
7044 * io/fxstat.c: Likewise.
7045 * io/fxstat64.c: Likewise.
7046 * io/fxstatat.c: Likewise.
7047 * io/fxstatat64.c: Likewise.
7048 * io/getcwd.c: Likewise.
7049 * io/isatty.c: Likewise.
7050 * io/lchmod.c: Likewise.
7051 * io/lchown.c: Likewise.
7052 * io/link.c: Likewise.
7053 * io/linkat.c: Likewise.
7054 * io/lseek.c: Likewise.
7055 * io/lseek64.c: Likewise.
7056 * io/lxstat64.c: Likewise.
7057 * io/mkdir.c: Likewise.
7058 * io/mkdirat.c: Likewise.
7059 * io/mkfifo.c: Likewise.
7060 * io/mkfifoat.c: Likewise.
7061 * io/open.c: Likewise.
7062 * io/open64.c: Likewise.
7063 * io/openat.c: Likewise.
7064 * io/openat64.c: Likewise.
7065 * io/pipe.c: Likewise.
7066 * io/pipe2.c: Likewise.
7067 * io/poll.c: Likewise.
7068 * io/posix_fadvise.c: Likewise.
7069 * io/posix_fadvise64.c: Likewise.
7070 * io/posix_fallocate.c: Likewise.
7071 * io/posix_fallocate64.c: Likewise.
7072 * io/read.c: Likewise.
7073 * io/readlink.c: Likewise.
7074 * io/readlinkat.c: Likewise.
7075 * io/rmdir.c: Likewise.
7076 * io/sendfile.c: Likewise.
7077 * io/sendfile64.c: Likewise.
7078 * io/statfs.c: Likewise.
7079 * io/statfs64.c: Likewise.
7080 * io/statvfs.c: Likewise.
7081 * io/statvfs64.c: Likewise.
7082 * io/symlink.c: Likewise.
7083 * io/symlinkat.c: Likewise.
7084 * io/ttyname.c: Likewise.
7085 * io/ttyname_r.c: Likewise.
7086 * io/umask.c: Likewise.
7087 * io/unlink.c: Likewise.
7088 * io/unlinkat.c: Likewise.
7089 * io/utime.c: Likewise.
7090 * io/utimensat.c: Likewise.
7091 * io/write.c: Likewise.
7092 * io/xmknod.c: Likewise.
7093 * io/xmknodat.c: Likewise.
7094 * io/xstat.c: Likewise.
7095 * io/xstat64.c: Likewise.
7096 * login/getpt.c: Likewise.
7097 * login/grantpt.c: Likewise.
7098 * login/unlockpt.c: Likewise.
7099 * math/e_acoshl.c: Likewise.
7100 * math/e_acosl.c: Likewise.
7101 * math/e_asinl.c: Likewise.
7102 * math/e_atan2l.c: Likewise.
7103 * math/e_atanhl.c: Likewise.
7104 * math/e_coshl.c: Likewise.
7105 * math/e_expl.c: Likewise.
7106 * math/e_fmodl.c: Likewise.
7107 * math/e_gammal_r.c: Likewise.
7108 * math/e_hypotl.c: Likewise.
7109 * math/e_j0l.c: Likewise.
7110 * math/e_j1l.c: Likewise.
7111 * math/e_jnl.c: Likewise.
7112 * math/e_lgammal_r.c: Likewise.
7113 * math/e_log10l.c: Likewise.
7114 * math/e_log2l.c: Likewise.
7115 * math/e_logl.c: Likewise.
7116 * math/e_powl.c: Likewise.
7117 * math/e_rem_pio2l.c: Likewise.
7118 * math/e_sinhl.c: Likewise.
7119 * math/e_sqrtl.c: Likewise.
7120 * math/fclrexcpt.c: Likewise.
7121 * math/fedisblxcpt.c: Likewise.
7122 * math/feenablxcpt.c: Likewise.
7123 * math/fegetenv.c: Likewise.
7124 * math/fegetexcept.c: Likewise.
7125 * math/fegetround.c: Likewise.
7126 * math/feholdexcpt.c: Likewise.
7127 * math/fesetenv.c: Likewise.
7128 * math/fesetround.c: Likewise.
7129 * math/feupdateenv.c: Likewise.
7130 * math/fgetexcptflg.c: Likewise.
7131 * math/fraiseexcpt.c: Likewise.
7132 * math/fsetexcptflg.c: Likewise.
7133 * math/ftestexcept.c: Likewise.
7134 * math/k_cosl.c: Likewise.
7135 * math/k_rem_pio2l.c: Likewise.
7136 * math/k_sinl.c: Likewise.
7137 * math/k_tanl.c: Likewise.
7138 * math/s_asinhl.c: Likewise.
7139 * math/s_atanl.c: Likewise.
7140 * math/s_cbrtl.c: Likewise.
7141 * math/s_erfl.c: Likewise.
7142 * math/s_expm1l.c: Likewise.
7143 * math/s_log1pl.c: Likewise.
7144 * math/s_tanhl.c: Likewise.
7145 * misc/acct.c: Likewise.
7146 * misc/brk.c: Likewise.
7147 * misc/chflags.c: Likewise.
7148 * misc/chroot.c: Likewise.
7149 * misc/fchflags.c: Likewise.
7150 * misc/fgetxattr.c: Likewise.
7151 * misc/flistxattr.c: Likewise.
7152 * misc/fremovexattr.c: Likewise.
7153 * misc/fsetxattr.c: Likewise.
7154 * misc/fsync.c: Likewise.
7155 * misc/ftruncate.c: Likewise.
7156 * misc/futimes.c: Likewise.
7157 * misc/futimesat.c: Likewise.
7158 * misc/getdomain.c: Likewise.
7159 * misc/getdtsz.c: Likewise.
7160 * misc/gethostid.c: Likewise.
7161 * misc/gethostname.c: Likewise.
7162 * misc/getloadavg.c: Likewise.
7163 * misc/getpagesize.c: Likewise.
7164 * misc/getsysstats.c: Likewise.
7165 * misc/getxattr.c: Likewise.
7166 * misc/gtty.c: Likewise.
7167 * misc/ioctl.c: Likewise.
7168 * misc/lgetxattr.c: Likewise.
7169 * misc/listxattr.c: Likewise.
7170 * misc/llistxattr.c: Likewise.
7171 * misc/lremovexattr.c: Likewise.
7172 * misc/lsetxattr.c: Likewise.
7173 * misc/lutimes.c: Likewise.
7174 * misc/madvise.c: Likewise.
7175 * misc/mincore.c: Likewise.
7176 * misc/mlock.c: Likewise.
7177 * misc/mlockall.c: Likewise.
7178 * misc/mmap.c: Likewise.
7179 * misc/mprotect.c: Likewise.
7180 * misc/msync.c: Likewise.
7181 * misc/munlock.c: Likewise.
7182 * misc/munlockall.c: Likewise.
7183 * misc/munmap.c: Likewise.
7184 * misc/preadv.c: Likewise.
7185 * misc/preadv64.c: Likewise.
7186 * misc/ptrace.c: Likewise.
7187 * misc/pwritev.c: Likewise.
7188 * misc/pwritev64.c: Likewise.
7189 * misc/readv.c: Likewise.
7190 * misc/reboot.c: Likewise.
7191 * misc/remap_file_pages.c: Likewise.
7192 * misc/removexattr.c: Likewise.
7193 * misc/revoke.c: Likewise.
7194 * misc/select.c: Likewise.
7195 * misc/setdomain.c: Likewise.
7196 * misc/setegid.c: Likewise.
7197 * misc/seteuid.c: Likewise.
7198 * misc/sethostid.c: Likewise.
7199 * misc/sethostname.c: Likewise.
7200 * misc/setregid.c: Likewise.
7201 * misc/setreuid.c: Likewise.
7202 * misc/setxattr.c: Likewise.
7203 * misc/sstk.c: Likewise.
7204 * misc/stty.c: Likewise.
7205 * misc/swapoff.c: Likewise.
7206 * misc/swapon.c: Likewise.
7207 * misc/sync.c: Likewise.
7208 * misc/syncfs.c: Likewise.
7209 * misc/syscall.c: Likewise.
7210 * misc/truncate.c: Likewise.
7211 * misc/ualarm.c: Likewise.
7212 * misc/usleep.c: Likewise.
7213 * misc/ustat.c: Likewise.
7214 * misc/utimes.c: Likewise.
7215 * misc/vhangup.c: Likewise.
7216 * misc/writev.c: Likewise.
7217 * posix/_exit.c: Likewise.
7218 * posix/alarm.c: Likewise.
7219 * posix/execve.c: Likewise.
7220 * posix/fexecve.c: Likewise.
7221 * posix/fork.c: Likewise.
7222 * posix/fpathconf.c: Likewise.
7223 * posix/getaddrinfo.c: Likewise.
7224 * posix/getegid.c: Likewise.
7225 * posix/geteuid.c: Likewise.
7226 * posix/getgid.c: Likewise.
7227 * posix/getgroups.c: Likewise.
7228 * posix/getlogin.c: Likewise.
7229 * posix/getlogin_r.c: Likewise.
7230 * posix/getpgid.c: Likewise.
7231 * posix/getpid.c: Likewise.
7232 * posix/getppid.c: Likewise.
7233 * posix/getresgid.c: Likewise.
7234 * posix/getresuid.c: Likewise.
7235 * posix/getsid.c: Likewise.
7236 * posix/getuid.c: Likewise.
7237 * posix/glob64.c: Likewise.
7238 * posix/nanosleep.c: Likewise.
7239 * posix/pathconf.c: Likewise.
7240 * posix/pause.c: Likewise.
7241 * posix/posix_madvise.c: Likewise.
7242 * posix/pread.c: Likewise.
7243 * posix/pread64.c: Likewise.
7244 * posix/pwrite.c: Likewise.
7245 * posix/pwrite64.c: Likewise.
7246 * posix/sched_getaffinity.c: Likewise.
7247 * posix/sched_getp.c: Likewise.
7248 * posix/sched_gets.c: Likewise.
7249 * posix/sched_primax.c: Likewise.
7250 * posix/sched_primin.c: Likewise.
7251 * posix/sched_rr_gi.c: Likewise.
7252 * posix/sched_setaffinity.c: Likewise.
7253 * posix/sched_setp.c: Likewise.
7254 * posix/sched_sets.c: Likewise.
7255 * posix/sched_yield.c: Likewise.
7256 * posix/setgid.c: Likewise.
7257 * posix/setlogin.c: Likewise.
7258 * posix/setpgid.c: Likewise.
7259 * posix/setresgid.c: Likewise.
7260 * posix/setresuid.c: Likewise.
7261 * posix/setsid.c: Likewise.
7262 * posix/setuid.c: Likewise.
7263 * posix/sleep.c: Likewise.
7264 * posix/spawni.c: Likewise.
7265 * posix/sysconf.c: Likewise.
7266 * posix/times.c: Likewise.
7267 * posix/wait.c: Likewise.
7268 * posix/wait3.c: Likewise.
7269 * posix/wait4.c: Likewise.
7270 * posix/waitpid.c: Likewise.
7271 * resolv/gai_sigqueue.c: Likewise.
7272 * resource/getpriority.c: Likewise.
7273 * resource/getrlimit.c: Likewise.
7274 * resource/getrusage.c: Likewise.
7275 * resource/nice.c: Likewise.
7276 * resource/setpriority.c: Likewise.
7277 * resource/setrlimit.c: Likewise.
7278 * resource/ulimit.c: Likewise.
7279 * rt/aio_cancel.c: Likewise.
7280 * rt/aio_fsync.c: Likewise.
7281 * rt/aio_read.c: Likewise.
7282 * rt/aio_sigqueue.c: Likewise.
7283 * rt/aio_suspend.c: Likewise.
7284 * rt/aio_write.c: Likewise.
7285 * rt/clock_getres.c: Likewise.
7286 * rt/clock_gettime.c: Likewise.
7287 * rt/clock_nanosleep.c: Likewise.
7288 * rt/clock_settime.c: Likewise.
7289 * rt/lio_listio.c: Likewise.
7290 * rt/mq_close.c: Likewise.
7291 * rt/mq_getattr.c: Likewise.
7292 * rt/mq_notify.c: Likewise.
7293 * rt/mq_open.c: Likewise.
7294 * rt/mq_receive.c: Likewise.
7295 * rt/mq_send.c: Likewise.
7296 * rt/mq_setattr.c: Likewise.
7297 * rt/mq_timedreceive.c: Likewise.
7298 * rt/mq_timedsend.c: Likewise.
7299 * rt/mq_unlink.c: Likewise.
7300 * rt/shm_open.c: Likewise.
7301 * rt/shm_unlink.c: Likewise.
7302 * rt/timer_create.c: Likewise.
7303 * rt/timer_delete.c: Likewise.
7304 * rt/timer_getoverr.c: Likewise.
7305 * rt/timer_gettime.c: Likewise.
7306 * rt/timer_settime.c: Likewise.
7307 * setjmp/__longjmp.c: Likewise.
7308 * setjmp/setjmp.c: Likewise.
7309 * signal/kill.c: Likewise.
7310 * signal/killpg.c: Likewise.
7311 * signal/raise.c: Likewise.
7312 * signal/sigaction.c: Likewise.
7313 * signal/sigaltstack.c: Likewise.
7314 * signal/sigblock.c: Likewise.
7315 * signal/sigignore.c: Likewise.
7316 * signal/sigintr.c: Likewise.
7317 * signal/signal.c: Likewise.
7318 * signal/sigpause.c: Likewise.
7319 * signal/sigpending.c: Likewise.
7320 * signal/sigqueue.c: Likewise.
7321 * signal/sigreturn.c: Likewise.
7322 * signal/sigset.c: Likewise.
7323 * signal/sigsetmask.c: Likewise.
7324 * signal/sigstack.c: Likewise.
7325 * signal/sigsuspend.c: Likewise.
7326 * signal/sigtimedwait.c: Likewise.
7327 * signal/sigvec.c: Likewise.
7328 * signal/sigwait.c: Likewise.
7329 * signal/sigwaitinfo.c: Likewise.
7330 * signal/sysv_signal.c: Likewise.
7331 * socket/accept.c: Likewise.
7332 * socket/accept4.c: Likewise.
7333 * socket/bind.c: Likewise.
7334 * socket/connect.c: Likewise.
7335 * socket/getpeername.c: Likewise.
7336 * socket/getsockname.c: Likewise.
7337 * socket/getsockopt.c: Likewise.
7338 * socket/isfdtype.c: Likewise.
7339 * socket/listen.c: Likewise.
7340 * socket/recv.c: Likewise.
7341 * socket/recvfrom.c: Likewise.
7342 * socket/recvmsg.c: Likewise.
7343 * socket/send.c: Likewise.
7344 * socket/sendmsg.c: Likewise.
7345 * socket/sendto.c: Likewise.
7346 * socket/setsockopt.c: Likewise.
7347 * socket/shutdown.c: Likewise.
7348 * socket/sockatmark.c: Likewise.
7349 * socket/socket.c: Likewise.
7350 * socket/socketpair.c: Likewise.
7351 * stdio-common/ctermid.c: Likewise.
7352 * stdio-common/cuserid.c: Likewise.
7353 * stdio-common/remove.c: Likewise.
7354 * stdio-common/rename.c: Likewise.
7355 * stdio-common/renameat.c: Likewise.
7356 * stdio-common/tempname.c: Likewise.
7357 * stdlib/getcontext.c: Likewise.
7358 * stdlib/makecontext.c: Likewise.
7359 * stdlib/setcontext.c: Likewise.
7360 * stdlib/swapcontext.c: Likewise.
7361 * stdlib/system.c: Likewise.
7362 * streams/fattach.c: Likewise.
7363 * streams/fdetach.c: Likewise.
7364 * streams/getmsg.c: Likewise.
7365 * streams/getpmsg.c: Likewise.
7366 * streams/putmsg.c: Likewise.
7367 * streams/putpmsg.c: Likewise.
7368 * sysdeps/unix/bsd/getpt.c: Likewise.
7369 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7370 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7371 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7373 Likewise.
7374 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7375 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7376 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7377 * sysvipc/msgctl.c: Likewise.
7378 * sysvipc/msgget.c: Likewise.
7379 * sysvipc/msgrcv.c: Likewise.
7380 * sysvipc/msgsnd.c: Likewise.
7381 * sysvipc/semctl.c: Likewise.
7382 * sysvipc/semget.c: Likewise.
7383 * sysvipc/semop.c: Likewise.
7384 * sysvipc/semtimedop.c: Likewise.
7385 * sysvipc/shmat.c: Likewise.
7386 * sysvipc/shmctl.c: Likewise.
7387 * sysvipc/shmdt.c: Likewise.
7388 * sysvipc/shmget.c: Likewise.
7389 * termios/tcdrain.c: Likewise.
7390 * termios/tcflow.c: Likewise.
7391 * termios/tcflush.c: Likewise.
7392 * termios/tcgetattr.c: Likewise.
7393 * termios/tcgetpgrp.c: Likewise.
7394 * termios/tcsendbrk.c: Likewise.
7395 * termios/tcsetattr.c: Likewise.
7396 * termios/tcsetpgrp.c: Likewise.
7397 * time/adjtime.c: Likewise.
7398 * time/clock.c: Likewise.
7399 * time/getitimer.c: Likewise.
7400 * time/gettimeofday.c: Likewise.
7401 * time/setitimer.c: Likewise.
7402 * time/settimeofday.c: Likewise.
7403 * time/stime.c: Likewise.
7404 * time/time.c: Likewise.
7405
74062012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7407
a20492cf
PT
7408 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7409 /usr/old/bin.
7410
72e182e3
PT
7411 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7412 instead of spaces.
7413 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7414
fbeafede
JM
74152012-11-03 Joseph Myers <joseph@codesourcery.com>
7416
5b5b04d6
JM
7417 [BZ #14796]
7418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7419 FE_TONEAREST before applying Dekker multiplication and Knuth
7420 addition. Clear inexact exceptions and check for exact zero
7421 results afterwards.
7422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7423 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7424 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7425 * math/libm-test.inc (fma_test): Add more tests.
7426 (fma_test_towardzero): Likewise.
7427 (fma_test_downward): Likewise.
7428 (fma_test_upward): Likewise.
7429 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7430 function.
7431 (libc_fesetround): New macro.
7432 (libc_fesetroundf): Likewise.
7433 (libc_fesetroundl): Likewise.
7434 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7435 function.
7436 (libc_fesetround_387): Likewise.
7437 (libc_fesetroundf): New macro.
7438 (libc_fesetround): Likewise.
7439 (libc_fesetroundl): Likewise.
7440 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7441 function.
7442 (libc_fesetroundf): New macro.
7443 (libc_fesetround): Likewise.
7444 (libc_fesetroundl): Likewise.
7445 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7446 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7447 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7448 libm_hidden_ver.
7449 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7450 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7451 libm_hidden_def.
7452 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7453 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7454 libm_hidden_ver.
7455 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7456 libm_hidden_def.
7457
fbeafede
JM
7458 [BZ #3439]
7459 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7460 integer constant usable in #if and use that to give value to enum
7461 constant.
7462 (FE_DIVBYZERO): Likewise.
7463 (FE_UNDERFLOW): Likewise.
7464 (FE_OVERFLOW): Likewise.
7465 (FE_INVALID): Likewise.
7466 (FE_INVALID_SNAN): Likewise.
7467 (FE_INVALID_ISI): Likewise.
7468 (FE_INVALID_IDI): Likewise.
7469 (FE_INVALID_ZDZ): Likewise.
7470 (FE_INVALID_IMZ): Likewise.
7471 (FE_INVALID_COMPARE): Likewise.
7472 (FE_INVALID_SOFTWARE): Likewise.
7473 (FE_INVALID_SQRT): Likewise.
7474 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7475 (FE_TONEAREST): Likewise.
7476 (FE_TOWARDZERO): Likewise.
7477 (FE_UPWARD): Likewise.
7478 (FE_DOWNWARD): Likewise.
7479 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7480 (FE_DIVBYZERO): Likewise.
7481 (FE_OVERFLOW): Likewise.
7482 (FE_UNDERFLOW): Likewise.
7483 (FE_INEXACT): Likewise.
7484 (FE_TONEAREST): Likewise.
7485 (FE_DOWNWARD): Likewise.
7486 (FE_UPWARD): Likewise.
7487 (FE_TOWARDZERO): Likewise.
7488 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7489 (FE_UNDERFLOW): Likewise.
7490 (FE_OVERFLOW): Likewise.
7491 (FE_DIVBYZERO): Likewise.
7492 (FE_INVALID): Likewise.
7493 (FE_TONEAREST): Likewise.
7494 (FE_TOWARDZERO): Likewise.
7495 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7496 (FE_OVERFLOW): Likewise.
7497 (FE_UNDERFLOW): Likewise.
7498 (FE_DIVBYZERO): Likewise.
7499 (FE_INEXACT): Likewise.
7500 (FE_TONEAREST): Likewise.
7501 (FE_TOWARDZERO): Likewise.
7502 (FE_UPWARD): Likewise.
7503 (FE_DOWNWARD): Likewise.
7504 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7505 (FE_DIVBYZERO): Likewise.
7506 (FE_OVERFLOW): Likewise.
7507 (FE_UNDERFLOW): Likewise.
7508 (FE_INEXACT): Likewise.
7509 (FE_TONEAREST): Likewise.
7510 (FE_DOWNWARD): Likewise.
7511 (FE_UPWARD): Likewise.
7512 (FE_TOWARDZERO): Likewise.
7513
105ca950
CM
75142012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7515
7516 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7517
a542b389
AS
75182012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7519
7520 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7521 commands. Quote $PWD.
7522 (blacklist_exports): Don't use remove_newlines. Replace "declare
7523 -x" by "export".
7524 (remove_newlines): Remove.
7525
f62c8abc
L
75262012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7527
7528 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7529 * stdlib/stdlib.h (atof): Moved to ...
7530 * include/bits/stdlib-float.h: Here. New file.
7531 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7532 * stdlib/bits/stdlib-float.h: New file.
7533 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7534 -mno-sse -mno-mmx.
7535 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7536 <xmmintrin.h>.
7537
0155d5b2
JM
75382012-11-02 Joseph Myers <joseph@codesourcery.com>
7539
a68d0680
JM
7540 * conform/conformtest.pl (@headers): Add fenv.h.
7541 * conform/data/fenv.h-data: New file.
7542 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7543 include of <math/fenv.h>.
7544
caf7f573
JM
7545 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7546 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7547 && !UNIX98]. Enables tests for XOPEN2K8.
7548 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7549 POSIX2008]: Likewise.
7550
6c073ad6
JM
7551 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7552 (struct rusage): Do not expect type or its members.
7553
0155d5b2
JM
7554 [BZ #3439]
7555 * math/math.h (FP_NAN): Define macro to integer constant usable in
7556 #if and use that to give value to enum constant.
7557 (FP_INFINITE): Likewise.
7558 (FP_ZERO): Likewise.
7559 (FP_SUBNORMAL): Likewise.
7560 (FP_NORMAL): Likewise.
7561
b5dcacb4
AS
75622012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7563
7564 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7565 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7566 arguments.
7567
f7934be8
RM
75682012-11-02 Roland McGrath <roland@hack.frob.com>
7569
7570 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7571 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7572 autoconf-time if not.
7573 * configure.in: Remove AC_PREREQ.
7574
d7d08bde
TMQMF
75752012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7576
7577 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7578 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7579 of the internal implementation.
7580
dcdae19a
JM
75812012-11-02 Joseph Myers <joseph@codesourcery.com>
7582
7583 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7584 except include of <misc/sys/syslog.h>.
7585
d6cffd3e
AS
75862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7587
7588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7589 function returns with a NULL context exit with zero.
7590
b3563932
TMQMF
75912012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7592
7593 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7594
b288a93d
L
75952012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7596
7597 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7598 (run_program_cmd): This.
7599 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7600 (tst_langinfo): New variable. Use it.
7601
a2421a68
SAS
76022012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7603
7604 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7605 floating point opcodes.
7606
6f796e1b
TS
76072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7608
7402596b
TS
7609 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7610 variable.
7611
d0d4f868
TS
7612 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7613
6f796e1b
TS
7614 * sysdeps/mach/hurd/powerpc: Remove directory.
7615 * sysdeps/mach/powerpc: Likewise.
7616
4da224a2
AS
76172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7618
7619 * scripts/check-local-headers.sh: Ignore c++ headers.
7620
341dd673
TS
76212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7622
7623 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7624 __libc_cleanup_region_start argument.
7625
473611b2
JM
76262012-11-01 Joseph Myers <joseph@codesourcery.com>
7627
7628 [BZ #14784]
7629 [BZ #14785]
7630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7631 x * y using scaling, not as x * y + z.
7632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7634 * math/libm-test.inc (fma_test): Add more tests.
7635 (fma_test_towardzero): Likewise.
7636 (fma_test_downward): Likewise.
7637 (fma_test_upward): Likewise.
7638
4078da3d
TS
76392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7640
7641 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7642
903252aa
JM
76432012-10-31 Joseph Myers <joseph@codesourcery.com>
7644
7645 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7646 New variable.
7647
cbc818d0
TS
76482012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7649
7650 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7651
5a03cb1e
AS
76522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7653
7654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7655 Fix sort order.
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7657 Likewise.
7658
90aff2ff
TMQMF
76592012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7660
7661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7662 Fix the order of the list for glibc 2.17.
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7664 Likewise.
7665
1818fcb7
AS
76662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7667
7668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7669
ef82f4da
JM
76702012-10-31 Joseph Myers <joseph@codesourcery.com>
7671
16a0e2ec
JM
7672 [BZ #14610]
7673 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7674 for low part of x being zero before using __atanl (y).
7675 * math/libm-test.inc (atan2_test): Add another test.
7676
0eb69512
JM
7677 * manual/install.texi (Configuring and compiling): Document
7678 general use of test-wrapper and test-wrapper-env.
7679 * INSTALL: Regenerated.
7680
ef82f4da
JM
7681 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7682 (__fma): Do not extract and scale down low bits on after-rounding
7683 systems when result rounded to normal precision would have normal
7684 exponent.
7685 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7686 (__fmal): Do not extract and scale down low bits on after-rounding
7687 systems when result rounded to normal precision would have normal
7688 exponent.
7689 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7690 (__fmal): Do not extract and scale down low bits on after-rounding
7691 systems when result rounded to normal precision would have normal
7692 exponent.
7693 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7694 macro.
7695 (fma_test): Add more tests.
7696 (fma_test_towardzero): Likewise.
7697 (fma_test_downward): Likewise.
7698 (fma_test_upward): Likewise.
7699
954ef0d9
L
77002012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7701
7702 * sysdeps/i386/tininess.h: Renamed to ...
7703 * sysdeps/x86/tininess.h: This.
7704 * sysdeps/x86_64/tininess.h: Removed.
7705
df61ffb2
JM
77062012-10-30 Joseph Myers <joseph@codesourcery.com>
7707
7708 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7709 input. Use $(build-program-cmd).
7710 ($(objpfx)tst-array1-static.out): Likewise.
7711 ($(objpfx)tst-array2.out): Likewise.
7712 ($(objpfx)tst-array3.out): Likewise.
7713 ($(objpfx)tst-array4.out): Likewise.
7714 ($(objpfx)tst-array5.out): Likewise.
7715 ($(objpfx)tst-array5-static.out): Likewise.
7716
01767843
CM
77172012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7718
47cc1490
CM
7719 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7720 if defined.
7721
01767843
CM
7722 * nss/nsswitch.h (nss_interface_function): Provide new
7723 macro for use with NSS functions.
7724 * grp/initgroups.c: Use new macro.
7725 * nss/getXXbyYY.c: Likewise.
7726 * nss/getXXbyYY_r.c: Likewise.
7727 * nss/getXXent.c: Likewise.
7728 * nss/getXXent_r.c: Likewise.
7729 * sysdeps/posix/getaddrinfo.c: Likewise.
7730
8321aa97
AJ
77312012-10-30 Andreas Jaeger <aj@suse.de>
7732
7733 * po/ru.po: Update Russion translation from translation project.
7734
2a27fd6d
JM
77352012-10-30 Joseph Myers <joseph@codesourcery.com>
7736
8627a232
JM
7737 [BZ #14152]
7738 [BZ #14783]
7739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7740 result and shift together with sticky bit instead of replicating
7741 round-to-nearest rounding.
7742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7744 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7745 missing underflow exceptions.
7746 (fma_test_towardzero): Add more tests.
7747 (fma_test_downward): Likewise.
7748 (fma_test_upward): Likewise.
7749
2a27fd6d
JM
7750 [BZ #14047]
7751 * sysdeps/generic/tininess.h: New file.
7752 * sysdeps/i386/tininess.h: Likewise.
7753 * sysdeps/sh/tininess.h: Likewise.
7754 * sysdeps/x86_64/tininess.h: Likewise.
7755 * stdlib/tst-strtod-underflow.c: Likewise.
7756 * stdlib/tst-tininess.c: Likewise.
7757 * stdlib/strtod_l.c: Include <tininess.h>.
7758 (round_and_return): Do not set errno for exact underflow cases.
7759 Force an underflow exception when setting errno for underflow.
7760 Determine underflow based on rounding to normal precision if
7761 TININESS_AFTER_ROUNDING.
7762 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7763 ERANGE for exact underflow cases.
7764 * stdlib/Makefile (tests): Add tst-tininess and
7765 tst-strtod-underflow.
7766 ($(objpfx)tst-tininess): Use $(link-libm).
7767 ($(objpfx)tst-strtod-underflow): Likewise.
7768
e7170363
AJ
77692012-10-30 Andreas Jaeger <aj@suse.de>
7770
e5088dc6
AJ
7771 [BZ#14767]
7772 * elf/Makefile (tests): Remove conditional for have-initfini-array
7773 since this is now always required and the variable does not exist
7774 anymore.
7775 (tests-static): Likewise.
7776 (modules-names): Likewise.
7777
e7170363 7778 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7779
7780 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7781 merged with constructor/destructor.
7782 (init_array): Likewise.
7783 * elf/tst-array2dep.c (fini_array): Likewise.
7784 (init_array): Likewise.
7785
60457d8a
MF
77862012-10-29 Mike Frysinger <vapier@gentoo.org>
7787
7788 * manual/message.texi: Delete @cartouche tags.
7789
8bece752
PT
77902012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7791
94ce799f
PT
7792 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7793 EOPNOTSUPP.
7794 * sysdeps/mach/hurd/fsync.c: Likewise.
7795
8bece752
PT
7796 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7797 [_POSIX_REALTIME_SIGNALS]: Change condition to
7798 [_POSIX_REALTIME_SIGNALS > 0].
7799
86ebe6b1
AJ
78002012-10-27 Andreas Jaeger <aj@suse.de>
7801
7802 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7803 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7805 [__WORDSIZE != 64]: Likewise.
7806
54399c08
L
78072012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7808
7809 * iconvdata/tst-table.sh: Remove ${SHELL}.
7810 * iconvdata/tst-tables.sh: Likewise.
7811
e2211bed
DM
78122012-10-25 David S. Miller <davem@davemloft.net>
7813
7814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7815 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7816 of strtoull.
7817
f303f97c
DM
7818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7819 ifunc-impl-list.c
7820 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7821 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7822 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7823 file.
7824
1e9d84cd
RM
78252012-10-25 Roland McGrath <roland@hack.frob.com>
7826
7827 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7828 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7829 __getdirentries.
7830
df381762
JM
78312012-10-25 Joseph Myers <joseph@codesourcery.com>
7832 Jim Blandy <jimb@codesourcery.com>
7833
7834 * scripts/cross-test-ssh.sh: New file.
7835 * manual/install.texi (Configuring and compiling): Document use of
7836 cross-test-ssh.sh.
7837 * INSTALL: Regenerated.
7838
bff64913
PT
78392012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7840
7841 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7842 EOPNOTSUPP.
7843
25fe8932
JM
78442012-10-25 Joseph Myers <joseph@codesourcery.com>
7845
7846 * Makeconfig (run-program-prefix): Fix comment.
7847
cc1290d0
JM
78482012-10-24 Joseph Myers <joseph@codesourcery.com>
7849 Jim Blandy <jimb@codesourcery.com>
7850
7851 * Makeconfig (test-wrapper): New variable,
7852 (test-wrapper-env): Likewise.
7853 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7854 (run-built-tests): Define to yes.
7855 (run-program-prefix): Use $(test-wrapper).
7856 (built-program-cmd): Likewise.
7857 * Rules (make-test-out): Use $(test-wrapper-env) and
7858 $(host-built-program-cmd).
7859 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7860 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7861 tst-pathopt.sh.
7862 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7863 $(test-wrapper-env) to tst-rtld-load-self.sh.
7864 ($(objpfx)order2.out): Use $(test-wrapper).
7865 ($(objpfx)tst-initorder.out): Likewise.
7866 ($(objpfx)tst-initorder2.out): Likewise.
7867 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7868 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7869 (test_wrapper_env): New variable. Use it to run ld.so.
7870 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7871 Use it to run ld.so.
7872 (test_wrapper_env): Likewise.
7873 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7874 $(test-wrapper) to run-iconv-test.sh.
7875 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7876 (ICONV): Use $test_wrapper.
7877 * posix/Makefile ($(objpfx)globtest.out): Pass
7878 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7879 globtest.sh, not $(run-program-prefix).
7880 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7881 (test_wrapper): Likewise.
7882 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7883 set together with run_via_rtld_prefix.
7884 (run_program_prefix): Define in terms of test_wrapper and
7885 run_via_rtld_prefix.
7886
6e6249d0
RM
78872012-10-24 Roland McGrath <roland@hack.frob.com>
7888
7889 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7890 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7891 Targets removed.
7892
7893 [BZ #14743]
7894 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7895 Declare __clock_getres, __clock_gettime, __clock_settime,
7896 __clock_nanosleep, and __clock_getcpuclockid.
7897 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7898 Remove librt_hidden_def (clock_gettime).
7899 * sysdeps/unix/clock_gettime.c: Likewise.
7900 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7901 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7902 * rt/clock_getres.c: Define __clock_getres as an alias.
7903 * sysdeps/posix/clock_getres.c: Likewise.
7904 * rt/clock_settime.c: Define __clock_settime as an alias.
7905 * sysdeps/unix/clock_settime.c: Likewise.
7906 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7907 * sysdeps/unix/clock_nanosleep.c: Likewise.
7908 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7909 * rt/clock-compat.c: New file.
7910 * rt/Makefile (librt-routines): Add clock-compat and move
7911 $(clock-routines) to ...
7912 (routines): ... here, new variable.
7913 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7914 Don't add get_clockfreq here.
7915 * rt/Versions (libc: GLIBC_2.17): New version set.
7916 Add clock_* symbols here.
7917 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7918 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7919 (GLIBC_2.17): Add clock_* symbols.
7920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7922 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7924 Likewise.
7925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7926 Likewise.
7927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7931 * NEWS: Mention the move.
7932
7933 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7934 Use __open, __read, __close rather than their public counterparts.
7935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7936 (__get_clockfreq_via_cpuinfo): Likewise.
7937 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7938 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7939
7940 * config.h.in (HAVE_IFUNC): New #undef.
7941 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7942 was successful.
7943 * configure: Regenerated.
7944
0cae3f4b
MF
79452012-10-24 Mike Frysinger <vapier@gentoo.org>
7946
7947 * configure.in: Move READELF check to start of file.
7948 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7949 libc_cv_asm_gnu_indirect_function in the process.
7950 * configure: Regenerated.
7951
8175a253
MF
79522012-10-24 Mike Frysinger <vapier@gentoo.org>
7953
7954 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7955 send the output to /dev/null.
7956 (libc_cv_cc_with_libunwind): Likewise.
7957 (libc_cv_as_noexecstack): Likewise.
7958 * configure: Regenerate.
7959
0708a7d1
JM
79602012-10-24 Joseph Myers <joseph@codesourcery.com>
7961
10b40d85
JM
7962 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7963
0708a7d1
JM
7964 * posix/globtest.sh (TMPDIR): Do not set.
7965 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7966 (testout): Likewise.
7967
9fddec1a
AJ
79682012-10-24 Andreas Jaeger <aj@suse.de>
7969
3a8db22f
AJ
7970 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7971 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7972 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7973 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7974 posix_fadvise64, posix_fallocate64.
7975
9fddec1a
AJ
7976 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7977 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7978 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7979 Likewise.
7980 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7981 Likewise.
7982 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7983
7984 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7985 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7986 <bits/fcntl-linux.h>.
7987 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7988
7989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7990 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7991 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7992 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7993 [__WORDSIZE != 64]: Likewise.
7994
ebfd1bbd
JM
79952012-10-23 Joseph Myers <joseph@codesourcery.com>
7996
03ac099f
JM
7997 * Makeconfig (run-built-tests): New variable.
7998 * Rules [$(cross-compiling) = yes]: Change condition to
7999 [$(run-built-tests) = no].
8000 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8001 to [$(run-built-tests) = yes].
8002 * elf/Makefile [$(cross-compiling) = no]: Likewise
8003 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8004 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8005 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8006 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8007 * io/Makefile [$(cross-compiling) = no]: Likewise.
8008 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8009 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8010 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8011 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8012 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8013 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8014 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8015 * string/Makefile [$(cross-compiling) = no]: Likewise.
8016
ebfd1bbd
JM
8017 * posix/Makefile ($(objpfx)globtest.out): Pass
8018 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8019 $(rtld-installed-name).
8020 * posix/globtest.sh (elf_objpfx): Remove variable.
8021 (rtld_installed_name): Likewise.
8022 (library_path): Likewise.
8023 (run_program_prefix): New variable. Use for running globtest
8024 binary.
8025
166bca24
JB
80262012-10-23 Jim Blandy <jimb@codesourcery.com>
8027 Joseph Myers <joseph@codesourcery.com>
8028
8029 * Makeconfig (host-built-program-cmd): New variable.
8030 * elf/Makefile (tst-stackguard1-ARGS): Use
8031 $(host-built-program-cmd).
8032 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8033 (tst-spawn-ARGS): Likewise.
8034 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8035
88866099
JM
80362012-10-23 Joseph Myers <joseph@codesourcery.com>
8037 Jim Blandy <jimb@codesourcery.com>
8038
8039 * Makeconfig (run-via-rtld-prefix): New variable.
8040 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8041 (built-program-cmd): Likewise.
8042
b4b4c296
AJ
80432012-10-22 Andreas Jaeger <aj@suse.de>
8044
8045 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8046 __O_RSYNC if it exists, otherwise to O_SYNC.
8047
6fb54a22
JB
80482012-10-22 Jim Blandy <jimb@codesourcery.com>
8049 Joseph Myers <joseph@codesourcery.com>
8050
8051 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8052 /dev/null.
8053 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8054 from /dev/null
8055 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8056 /dev/null.
8057
481b90b9
AJ
80582012-10-22 Andreas Jaeger <aj@suse.de>
8059
2a0e2669
AJ
8060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8061 Define always.
8062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8063
76e38f9a
AJ
8064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8065 bits/fcntl-linux.h.
8066
7cd37b43
AJ
8067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8068 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8069
481b90b9
AJ
8070 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8071 to __O_LARGEFILE.
8072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8073 to __O_LARGEFILE.
8074
aba75984
JB
80752012-10-21 Jim Blandy <jimb@codesourcery.com>
8076 Joseph Myers <joseph@codesourcery.com>
8077
8078 * config.make.in (NM): New variable.
8079
88d4247f
AJ
80802012-10-21 Andreas Jaeger <aj@suse.de>
8081
8082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8083 definitions and declarations that are provided by
8084 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8085
f2eed205
L
80862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8087
8088 [BZ #14683]
8089 * elf/Makefile (tests-static): Add tst-leaks1-static.
8090 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8091 ($(objpfx)tst-leaks1-static): New rule.
8092 ($(objpfx)tst-leaks1-static-mem): Likewise.
8093 (tst-leaks1-static-ENV): New macro.
8094 * elf/dl-open.c (dl_open_worker): Check the main application
8095 only if SHARED is defined.
8096 * elf/tst-leaks1-static.c: New file.
8097
335e6931
AJ
80982012-10-20 Andreas Jaeger <aj@suse.de>
8099
8100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8101 generic values for Linux.
8102 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8103 and declarations that are provided by <bits/fcntl-linux.h> and
8104 include <bits/fcntl-linux.h>.
8105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8107
ac5c94d3
RM
81082012-10-20 Roland McGrath <roland@hack.frob.com>
8109
8110 * io/fcntl.h: Move include of <bits/types.h> to the top and
8111 include it unconditionally.
8112
de54b33a
L
81132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8114
228cfb01
L
8115 * wcsmbs/Makefile (tests-ifunc): New variable.
8116 (tests): Add $(tests-ifunc).
8117 * wcsmbs/test-wcschr-ifunc.c: New file.
8118 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8119 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8120 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8121 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8122 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8123
69f07e5f
L
8124 * string/Makefile (tests-ifunc): New variable.
8125 (tests): Add $(tests-ifunc).
8126 * string/test-memccpy.c (TEST_NAME): New macro.
8127 * string/test-memchr.c (TEST_NAME): Likewise.
8128 * string/test-memcmp.c (TEST_NAME): Likewise.
8129 * string/test-memcpy.c (TEST_NAME): Likewise.
8130 * string/test-memmem.c (TEST_NAME): Likewise.
8131 * string/test-memmove.c (TEST_NAME): Likewise.
8132 * string/test-memset.c (TEST_NAME): Likewise.
8133 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8134 * string/test-stpcpy.c (TEST_NAME): Likewise.
8135 * string/test-stpncpy.c (TEST_NAME): Likewise.
8136 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8137 * string/test-strcasestr.c (TEST_NAME): Likewise.
8138 * string/test-strcat.c (TEST_NAME): Likewise.
8139 * string/test-strchr.c (TEST_NAME): Likewise.
8140 * string/test-strcmp.c(TEST_NAME): Likewise.
8141 * string/test-strcpy.c (TEST_NAME): Likewise.
8142 * string/test-strcspn.c (TEST_NAME): Likewise.
8143 * string/test-strlen.c (TEST_NAME): Likewise.
8144 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8145 * string/test-strncmp.c (TEST_NAME): Likewise.
8146 * string/test-strncpy.c (TEST_NAME): Likewise.
8147 * string/test-strnlen.c (TEST_NAME): Likewise.
8148 * string/test-strpbrk.c (TEST_NAME): Likewise.
8149 * string/test-strrchr.c (TEST_NAME): Likewise.
8150 * string/test-strspn.c (TEST_NAME): Likewise.
8151 * string/test-strstr.c (TEST_NAME): Likewise.
8152 * string/test-bcopy-ifunc.c: New file.
8153 * string/test-bzero-ifunc.c: Likewise.
8154 * string/test-memccpy-ifunc.c: Likewise.
8155 * string/test-memchr-ifunc.c: Likewise.
8156 * string/test-memcmp-ifunc.c: Likewise.
8157 * string/test-memcpy-ifunc.c: Likewise.
8158 * string/test-memmem-ifunc.c: Likewise.
8159 * string/test-memmove-ifunc.c: Likewise.
8160 * string/test-mempcpy-ifunc.c: Likewise.
8161 * string/test-memset-ifunc.c: Likewise.
8162 * string/test-rawmemchr-ifunc.c: Likewise.
8163 * string/test-stpcpy-ifunc.c: Likewise.
8164 * string/test-stpncpy-ifunc.c: Likewise.
8165 * string/test-strcasecmp-ifunc.c: Likewise.
8166 * string/test-strcasestr-ifunc.c: Likewise.
8167 * string/test-strcat-ifunc.c: Likewise.
8168 * string/test-strchr-ifunc.c: Likewise.
8169 * string/test-strchrnul-ifunc.c: Likewise.
8170 * string/test-strcmp-ifunc.c: Likewise.
8171 * string/test-strcpy-ifunc.c: Likewise.
8172 * string/test-strcspn-ifunc.c: Likewise.
8173 * string/test-strlen-ifunc.c: Likewise.
8174 * string/test-strncasecmp-ifunc.c: Likewise.
8175 * string/test-strncat-ifunc.c: Likewise.
8176 * string/test-strncmp-ifunc.c: Likewise.
8177 * string/test-strncpy-ifunc.c: Likewise.
8178 * string/test-strnlen-ifunc.c: Likewise.
8179 * string/test-strpbrk-ifunc.c: Likewise.
8180 * string/test-strrchr-ifunc.c: Likewise.
8181 * string/test-strspn-ifunc.c: Likewise.
8182 * string/test-strstr-ifunc.c: Likewise.
8183
de54b33a
L
8184 * debug/Makefile (tests-ifunc): New variable.
8185 (tests): Add $(tests-ifunc).
8186 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8187 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8188 * debug/test-stpcpy_chk-ifunc.c: New file.
8189 * debug/test-strcpy_chk-ifunc.c: Likewise.
8190
88481c16
SP
81912012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8192
8193 [BZ #13601]
8194 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8195 header is not read in.
8196
135948bd
JM
81972012-10-19 Joseph Myers <joseph@codesourcery.com>
8198
89f1c388
JM
8199 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8200 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8201 directly. Pass built executable to script as
8202 $(built-program-cmd).
8203 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8204 $testprogram without using LD_LIBRARY_PATH and $ldso.
8205
e40a0d21
JM
8206 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8207 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8208 $(rtld-installed-name).
8209 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8210 (rtld_installed_name): Likewise.
8211 (library_path): Likewise.
8212 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8213 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8214 $(run-program-prefix) to tst-tables.sh.
8215 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8216 it to run tst-table-from and tst-table-to.
8217 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8218 Pass it to tst-table.sh.
8219 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8220 $(run-program-prefix) to tst-gettext.sh.
8221 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8222 tst-translit.sh.
8223 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8224 tst-gettext2.sh.
8225 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8226 to run tst-gettext.
8227 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8228 to run tst-gettext2.
8229 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8230 to run tst-translit.
8231 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8232 $(run-program-prefix) to tst-mtrace.sh.
8233 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8234 to run tst-mtrace.
8235 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8236 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8237 $(rtld-installed-name).
8238 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8239 (rtld_installed_name): Likewise.
8240 (run_program_prefix): New variable. Use it to run wordexp-test.
8241
728e272a
JM
8242 * Makeconfig (ARCH): Remove all definitions.
8243 (machine): Likewise.
8244 [ARCH]: Remove conditional code.
8245 [!objdir]: Give error.
8246 [!objdir] (objpfx): Remove.
8247 [!objdir] (common-objpfx): Likewise.
8248 [!objdir] (common-objdir): Likewise.
8249 * configure.in (config_makefile): Remove. Hardcode Makefile in
8250 AC_CONFIG_FILES call.
8251 * configure: Regenerated.
8252
d528cdcf
JM
8253 [BZ #13888]
8254 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8255 or TMPDIR.
8256 (testout): Likewise.
8257
135948bd
JM
8258 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8259 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8260 $(rtld-installed-name).
8261 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8262 (rtld_installed_name): Likwise.
8263 (runit): Remove function.
8264 (run_getconf): New variable, Use it for running getconf binary.
8265
38c78296
L
82662012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8267
8268 [BZ #14716]
8269 * string/test-memmem.c (check_result): New function.
8270 (do_one_test): Use it.
8271 (check1): New function.
8272 (test_main): Use it.
8273
d077f65f
MT
82742012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8275
8276 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8277
ced52c71
JM
82782012-10-18 Joseph Myers <joseph@codesourcery.com>
8279
8280 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8281 (_G_LSEEK64): Likewise.
8282 (_G_MMAP64): Likewise.
8283 (_G_FSTAT64): Likewise.
8284 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8285 (_G_LSEEK64): Likewise.
8286 (_G_MMAP64): Likewise.
8287 (_G_FSTAT64): Likewise.
8288 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8289 unconditional. Call __mmap64 directly.
8290 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8291 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8292 __lseek64 directly.
8293 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8294 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8295 __mmap64 directly.
8296 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8297 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8298 __lseek64 directly.
8299 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8300 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8301 __lseek64 directly.
8302 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8303 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8304 __lseek64 directly.
8305 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8306 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8307 __fxstat64 directly.
8308 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8309 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8310 unconditional.
8311 (freopen64) [!_G_OPEN64]: Remove conditional code.
8312 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8313 unconditional.
8314 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8315 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8316 unconditional.
8317 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8318 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8319 unconditional.
8320 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8321 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8322 unconditional.
8323 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8324 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8325 unconditional.
8326 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8327 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8328 unconditional.
8329 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8330 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8331 unconditional.
8332 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8333
b741de23
SP
83342012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8335
8336 [BZ #12140]
8337 * manual/memory.texi (Malloc Tunable Parameters): Add note
8338 about free list pointers overwriting some perturb bytes.
8339 Wording suggested by Roland McGrath.
8340
f9b9d9c9
JM
83412012-10-17 Joseph Myers <joseph@codesourcery.com>
8342
8343 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8344 (lgamma_test): Likewise.
8345 (tgamma_test): Likewise.
8346
172a631a
FW
83472012-10-16 Florian Weimer <fweimer@redhat.com>
8348
8349 [BZ #14700]
8350 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8351 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8352
e9f37252
MK
83532012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8354
8355 * NEWS: Mention BZ #14716.
8356 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8357 when removing AVAILABLE1_USES_J macro.
8358
d394eb74
L
83592012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8360
8361 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8362 (__bswap_64): __uint64_t for unsigned 64-bit int.
8363
ca38dc17
AS
83642012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8365
8366 * include/string.h (memmem): Declare libc hidden alias.
8367 * string/memmem.c (memmem): Define libc hidden alias.
8368 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8369 __read, __close instead of open, read, close.
8370
9a387d1f
L
83712012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8372
ac49ecaf
L
8373 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8374 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8375 global and hidden.
8376 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8377 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8378 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8379 Likewise.
8380 (__rawmemchr_sse2): Likewise.
8381 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8382 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8383 (__strchr_sse2): Likewise.
8384 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8385 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8386 (__strcasecmp_sse2): Likewise.
8387 (__strncasecmp_sse2): Likewise.
8388 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8389 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8390 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8391 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8392 (__strrchr_sse2): Likewise.
8393 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8394 ifunc-impl-list.c.
8395 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8396 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8397 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8398 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8399 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8400 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8401 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8402 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8403 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8404 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8405 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8406 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8407 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8408 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8409 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8410 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8411 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8412 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8413 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8414 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8415 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8416 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8417 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8418 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8419 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8420 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8421 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8422 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8423 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8424 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8425
b090e8ea
L
8426 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8427 global and hidden.
8428 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8429 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8430 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8431 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8432 Likewise.
8433 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8434 Likewise.
8435 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8436 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8437 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8438 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8439 ifunc-impl-list.c.
8440 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8441 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8444 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8445 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8446 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8453 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8454 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8456 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8457 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8458 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8459 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8460 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8461 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8462 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8463 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8464 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8465 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8466 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8467 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8468 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8469 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8470 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8471 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8472 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8473 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8474 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8475 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8476 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8477 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8478 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8479 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8480 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8481
11dd4af6
L
8482 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8483 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8484 * include/ifunc-impl-list.h: New file.
8485 * misc/ifunc-impl-list.c: Likewise.
8486 * misc/Makefile (routines): Add ifunc-impl-list.
8487 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8488 * string/test-string.h: Include <ifunc-impl-list.h>.
8489 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8490 impl_array): New variables.
8491 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8492 are defined.
8493 (test_init): Call __libc_ifunc_impl_list to initialize
8494 func_list if TEST_IFUNC and TEST_NAME are defined.
8495
9a387d1f
L
8496 * string/Makefile (strop-tests): Add bcopy and bzero.
8497 * string/test-bcopy.c: New file.
8498 * string/test-bzero.c: Likewise.
8499 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8500 defined.
8501 * string/test-memset.c: Support bzero test if TEST_BZERO is
8502 defined.
8503 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8504 __libc_memmove.
8505 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8506 __libc_memset.
8507 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8508 of memset.
8509
472371b9
JM
85102012-10-10 Joseph Myers <joseph@codesourcery.com>
8511
1e4a9536
JM
8512 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8513 * configure: Regenerated.
8514
d173d12e
JM
8515 * Makeconfig (+link-static-before-libc): Don't include
8516 $(link-static-libc).
8517
472371b9
JM
8518 * libio/libio.h (_IO_pos_t): Remove.
8519
89a3ad0b
AO
85202012-10-10 Alexandre Oliva <aoliva@redhat.com>
8521
8522 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8523 McGrath.
8524
e7451425
AO
85252012-10-10 Alexandre Oliva <aoliva@redhat.com>
8526
8527 * crypt/crypt-entry.c: Include fips-private.h.
8528 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8529 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8530 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8531 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8532
4ba74a35
AO
85332012-10-10 Alexandre Oliva <aoliva@redhat.com>
8534
8535 * crypt/crypt-private.h: Include stdbool.h.
8536 (_ufc_setup_salt_r): Return bool.
8537 * crypt/crypt-entry.c: Include errno.h.
8538 (__crypt_r): Return NULL with EINVAL for bad salt.
8539 * crypt/crypt_util.c (bad_for_salt): New.
8540 (_ufc_setup_salt_r): Check that salt is long enough and within
8541 the specified alphabet.
8542 * crypt/badsalttest.c: New file.
8543 * crypt/Makefile (tests): Add it.
8544 ($(objpfx)badsalttest): New.
8545
f96f1242
MK
85462012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8547
8548 * NEWS: Add entry for BZ #14602.
8549
0e8e0c1c
JM
85502012-10-09 Joseph Myers <joseph@codesourcery.com>
8551
8552 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8553 type-generic.
8554 * math/libm-test.inc: Update comment listing what functions and
8555 macros are tested.
8556 (isgreater_test): New function.
8557 (isgreaterequal_test): Likewise.
8558 (isless_test): Likewise.
8559 (islessequal_test): Likewise.
8560 (islessgreater_test): Likewise.
8561 (isunordered_test): Likewise.
8562 (main): Call the new functions.
8563
273edc5e
RM
85642012-10-09 Roland McGrath <roland@hack.frob.com>
8565
b8493de0
RM
8566 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8567 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8568 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8569 * sysdeps/i386/configure: Regenerated.
8570 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8571 * sysdeps/mach/configure: Regenerated.
8572 * sysdeps/mach/hurd/configure: Regenerated.
8573 * sysdeps/powerpc/configure: Regenerated.
8574 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8575 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8576 * sysdeps/s390/s390-32/configure: Regenerated.
8577 * sysdeps/s390/s390-64/configure: Regenerated.
8578 * sysdeps/sh/configure: Regenerated.
8579 * sysdeps/sparc/configure: Regenerated.
8580 * sysdeps/unix/sysv/linux/configure: Regenerated.
8581 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8582 * sysdeps/x86_64/configure: Regenerated.
8583
273edc5e
RM
8584 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8585 defined. Don't check if MAP is NULL.
8586
c8450f70
JM
85872012-10-09 Joseph Myers <joseph@codesourcery.com>
8588
8589 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8590 (_G_stat64): Likewise.
8591 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8592 (_G_stat64): Likewise.
8593 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8594 instead of struct _G_stat64.
8595 * libio/fileops.c (mmap_remap_check): Likewise.
8596 (decide_maybe_mmap): Likewise.
8597 (_IO_new_file_seekoff): Likewise.
8598 (_IO_file_stat): Likewise.
8599 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8600 _G_off64_t.
8601 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8602 instead of struct _G_stat64.
8603 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8604
57e605ba
MK
86052012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8606
8607 [BZ #14602]
8608 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8609 Replace with ...
8610 (CHECK_EOL): New macro.
8611 (two_way_short_needle): Check beginning of haystack for EOL. Use
8612 CHECK_EOL.
8613 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8614 Replace with CHECK_EOL.
8615 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8616 Replace with CHECK_EOL.
8617
ef1bb361
JM
86182012-10-08 Joseph Myers <joseph@codesourcery.com>
8619
8620 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8621 type-generic.
8622 * math/libm-test.inc: Update comment listing what functions and
8623 macros are tested.
8624 (finite_test): New function.
8625 (isinf_test): Likewise.
8626 (isnan_test): Likewise.
8627 (fpclassify_test): Test subnormal input.
8628 (isfinite_test): Likewise.
8629 (isnormal_test): Likewise.
8630 (main): Call the new functions.
8631
55f11534
JN
86322012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8633
8634 [BZ #14660]
8635 * Makerules (%.dynsym): Force C locale when running
8636 $(OBJDUMP) --dynamic-syms.
8637
1ab29350
AS
86382012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8639
8640 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8641 <stdint.h>.
8642
f1ecb7ef
DM
86432012-10-06 David S. Miller <davem@davemloft.net>
8644
8645 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8646 upper 32-bits of the length value in %o2 since we use branch-on-register
8647 tests which consider the entire 64-bit register.
8648
5d41d91a
L
86492012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8650
8651 * string/test-strstr.c (check2): Add a test for page boundary.
8652
3baddb72
DM
86532012-10-05 David S. Miller <davem@davemloft.net>
8654
8655 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8656 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8657 file.
8658 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8659 sysdep_routines.
8660 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8661 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8662 and bzero when HWCAP_SPARC_CRYPTO is present.
8663
9cee5585
L
86642012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8665
d7e0dab9
L
8666 [BZ #14602]
8667 * string/test-strstr.c (check2): New function.
8668 (test_main): Call check2.
8669
03759f47
L
8670 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8671 and bug-strchr1.
8672 * string/bug-strcasestr1.c (do_test): Moved to ...
8673 * string/test-strcasestr.c (check1): Here. New function.
8674 (do_one_test): Break out result checking code into ...
8675 (check_result): This. New function.
8676 (do_one_test): Call check_result.
8677 (test_main): Call check1.
8678 * string/bug-strchr1.c (do_test): Moved to ...
8679 * string/test-strchr.c (check1): Here. New function.
8680 (do_one_test): Break out result checking code into ...
8681 (check_result): This. New function.
8682 (do_one_test): Call check_result.
8683 (test_main): Call check1.
8684 * string/bug-strstr1.c (main): Moved to ...
046f153e 8685 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8686 (do_one_test): Break out result checking code into ...
8687 (check_result): This. New function.
8688 (do_one_test): Call check_result.
8689 (test_main): Call check1.
8690 * string/bug-strcasestr1.c: Removed.
8691 * string/bug-strchr1.c: Likewise.
8692 * string/bug-strstr1.c: Likewise.
8693
53cea63e
L
8694 * elf/Makefile (dl-routines): Add hwcaps.
8695 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8696 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8697 (_dl_important_hwcaps): Moved to ...
8698 * elf/dl-hwcaps.c: Here. New file.
8699 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8700
9cee5585 8701 [BZ #14557]
bb859b06
L
8702 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8703 if IS_IN_rtld isn't defined.
8704
9cee5585
L
8705 * elf/dl-support.c (_dl_sysinfo_map): New.
8706 Include "get-dynamic-info.h" and "setup-vdso.h".
8707 (_dl_non_dynamic_init): Call setup_vdso.
8708 * elf/dynamic-link.h: Don't include <assert.h>.
8709 (elf_get_dynamic_info): Moved to ...
8710 * elf/get-dynamic-info.h: Here. New file.
8711 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8712 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8713 * elf/setup-vdso.h: Here. New file.
8714 * elf/rtld.c: Include "setup-vdso.h".
8715 (dl_main): Call setup_vdso.
8716
23c31b76
JM
87172012-10-05 Joseph Myers <joseph@codesourcery.com>
8718
28234b07
JM
8719 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8720 creal in comment listing functions tested. List finite, isinf,
8721 isnan, isless, islessequal, isgreater, isgreaterequal,
8722 islessgreater, isunordered, lgamma_r and pow10 as functions and
8723 macros not tested. Mention which functions not tested are aliases
8724 for other functions. Fix typo. Note that signs of NaNs are not
8725 tested.
8726
23c31b76
JM
8727 * scripts/config.guess: Update from config.git.
8728 * scripts/config.sub: Likewise.
8729
9043e228
RM
87302012-10-04 Roland McGrath <roland@hack.frob.com>
8731
8732 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8733 * misc/madvise.c (madvise): Renamed to __madvise.
8734 Make madvise a weak alias.
8735 * include/sys/mman.h: Declare __madvise.
8736 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8737 * sysdeps/unix/syscalls.list
8738 (madvise): Make __madvise the strong name, and madvise a weak alias.
8739 * sysdeps/unix/sysv/linux/syscalls.list
8740 (madvise, mmap): Remove redundant entries.
8741 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8742 * malloc/malloc.c (mtrim): Likewise.
8743 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8744
f57f8055
RM
87452012-10-03 Roland McGrath <roland@hack.frob.com>
8746
8747 * sysdeps/mach/hurd/dl-cache.c: File removed.
8748 * config.h.in (USE_LDCONFIG): New #undef.
8749 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8750 * configure: Regenerated.
8751 * elf/Makefile (dl-routines): Add dl-cache only under
8752 [$(use-ldconfig) = yes].
8753 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8754 cache on [USE_LDCONFIG].
8755 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8756 [USE_LDCONFIG].
8757 * elf/rtld.c (dl_main): Likewise.
8758
5bb0c10a
PT
87592012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8760
8761 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8762 _SC_LEVEL4_CACHE_LINESIZE.
8763
010188c6
RM
87642012-10-03 Roland McGrath <roland@hack.frob.com>
8765
8766 * sysdeps/unix/bsd/confstr.h: File removed.
8767
b6c5ec07
AO
87682012-10-02 Alexandre Oliva <aoliva@redhat.com>
8769
8770 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8771 sys/sdt-config.h.
8772
408223d4
RM
87732012-10-02 Roland McGrath <roland@hack.frob.com>
8774
8775 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8776 Make 'mapoff' field ElfW(Off) rather than off_t.
8777
bb9510dc
DL
87782012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8779
fc997c6e
DL
8780 * nscd/Makefile: Remove nscd-cflags and all its users.
8781 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8782 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8783
bb9510dc
DL
8784 [BZ #10631]
8785 * malloc.c (malloc_printerr): Clarify error message.
8786
05699367
L
87872012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8788
8789 [BZ #14648]
8790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8791 Set bit_FMA_Usable if FMA is supported.
8792 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8793 macro.
8794 (bit_FMA4_Usable): Updated.
8795 (index_FMA_Usable): New macro.
8796 (CPUID_FMA): Likewise
8797 (HAS_FMA): Defined with bit_FMA_Usable.
8798
51367701
RM
87992012-10-01 Roland McGrath <roland@hack.frob.com>
8800
8801 * bits/types.h (__swblk_t): Type removed.
8802 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8803 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8805 (__SWBLK_T_TYPE): Likewise.
8806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8807 (__SWBLK_T_TYPE): Likewise.
8808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8809 (__SWBLK_T_TYPE): Likewise.
8810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8811 (__SWBLK_T_TYPE): Likewise.
8812
4d57bf63 88132012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8814 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8815
8816 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8817 (xdr_mapname): Use YPMAXMAP as maxsize.
8818 (xdr_peername): Use YPMAXPEER as maxsize.
8819 (xdr_keydat): Use YPAXRECORD as maxsize.
8820 (xdr_valdat): Use YPMAXRECORD as maxsize.
8821
93c65d43
RM
88222012-10-01 Roland McGrath <roland@hack.frob.com>
8823
497a03d6
RM
8824 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8825
93c65d43
RM
8826 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8827 * csu/init-first.c: ... here.
8828 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8829 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8830 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8831 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8832 * sysdeps/i386/init-first.c: File removed.
8833 * sysdeps/sh/init-first.c: File removed.
8834
bec749fd
JM
88352012-10-01 Joseph Myers <joseph@codesourcery.com>
8836
8837 [BZ #14645]
8838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8839 if x * y might underflow to zero and z is zero.
8840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8841 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8842 * math/libm-test.inc (min_subnorm_value): New variable.
8843 (fma_test): Add more tests.
8844 (fma_test_towardzero): Likewise.
8845 (fma_test_downward): Likewise
8846 (fma_test_upward): Likewise.
8847 (initialize): Set min_subnorm_value.
8848
8ec5b013
JM
88492012-09-29 Joseph Myers <joseph@codesourcery.com>
8850
8851 [BZ #14638]
8852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8853 0 + 0.
8854 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8855 mode for addition resulting in exact zero.
8856 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8858 exact 0 + 0.
8859 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8860 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8861 * math/libm-test.inc (fma_test): Add more tests.
8862 (fma_test_towardzero): New function.
8863 (fma_test_downward): Likewise.
8864 (fma_test_upward): Likewise.
8865 (main): Call the new functions.
8866
b1fa802e
DM
88672012-09-28 David S. Miller <davem@davemloft.net>
8868
8869 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8870
d3b9fd9e
RM
88712012-09-28 Roland McGrath <roland@hack.frob.com>
8872
ea4d37b3
RM
8873 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8874 instead of SIGALRM.
8875
ac51c949
RM
8876 * sysdeps/gnu/_G_config.h: Moved to ...
8877 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8878 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8879 * sysdeps/generic/_G_config.h: ... here.
8880
28c195f7
RM
8881 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8882
848917f9
RM
8883 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8884
6bacf05b
RM
8885 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8886 Conditionalize target on [libnss_test1.so-version].
8887
91363dbb
RM
8888 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8889
cc87f7d8
RM
8890 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8891 (elfobjdir): Move out of conditionals.
8892
b1c608fe
RM
8893 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8894 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8895 (__nss_lookup_function): Conditionalize label remove_from_tree on
8896 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8897
1d9a6d96
DM
88982012-09-28 David S. Miller <davem@davemloft.net>
8899
8900 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8901 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8902 file.
8903 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8904 sysdep_routines.
8905 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8907 when HWCAP_SPARC_CRYPTO is present.
8908
72581615
PT
89092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8910
8911 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8912
715a900c
JL
89132012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8914
8915 [BZ #6530]
8916 * stdio-common/vfprintf.c (process_string_arg): Revert
8917 2000-07-22 change.
8918
89192011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8920
8921 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8922 for testcase.
8923 * stdio-common/tst-sprintf.c: Include <locale.h>
8924 (main): Test sprintf's handling of incomplete multibyte
8925 characters.
8926
9bac1d86
L
89272012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8928
8929 * elf/dl-runtime.c (VERSYMIDX): Removed.
8930 * elf/dl-version.c (VERSYMIDX): Likewise.
8931 * elf/do-rel.h (VERSYMIDX): Likewise.
8932 (VALIDX): Likewise.
8933 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8934 * elf/rtld.c (VALIDX): Likewise.
8935 (ADDRIDX): Likewise.
9bac1d86
L
8936 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8937 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8938 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8939 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8940 (VALIDX): Likewise.
8941 (ADDRIDX): Likewise.
9bac1d86 8942
b31606c0
PT
89432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8944
8945 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8946
11541177
JL
89472012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8948
8949 [BZ #11438]
8950 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8951 to global scope.
8952 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8953 addresses are in the same scope as 192.0.2/24.
8954 * posix/gai.conf: Document new scope table defaults.
8955
adb26fae
SP
89562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8957
8958 [BZ #5298]
8959 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8960 for ftell. Compute offsets from write pointers instead.
8961 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8962
4573c6b0
SP
89632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8964
8965 [BZ #14543]
8966 * libio/Makefile (tests): New test case tst-fseek.
8967 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8968 combination works in wide mode.
8969 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8970 state when the external buffer state changes.
8971
aa9bbfe6
DM
89722012-09-27 David S. Miller <davem@davemloft.net>
8973
8974 [BZ #14376]
8975 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8976 pass reloc->r_addend in as the 'high' argument to
8977 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8978
784421e7
DM
8979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8980
c39bc8b8
PT
89812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8982
8983 * rt/tst-aio2.c: Include <pthread.h>.
8984 * rt/tst-aio3.c: Likewise.
8985
1ccc2399
SE
89862012-09-27 Steve Ellcey <sellcey@mips.com>
8987
8988 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8989
31ed4153
L
89902012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8991
25f5f885
L
8992 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8993 contents on [SHARED].
31ed4153 8994
b7bfe116
MP
89952012-09-26 Marek Polacek <polacek@redhat.com>
8996
8997 [BZ #14530]
8998 [BZ #13741]
8999 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9000 for C++ and GCC <4.3 as well as for non GCC compilers.
9001
43c4edba
MT
90022012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9003
9004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9005
6a1bf82f
RM
90062012-09-25 Roland McGrath <roland@hack.frob.com>
9007
9008 * Makefile.in (all, install): Declare with .PHONY.
9009 Reported by Michael Hope <michael.hope@linaro.org>.
9010
8ad11b9a
TMQMF
90112012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9012
9013 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9014 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9015 system header.
9016 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9017 Likewise.
9018 (sydep_routines): Add the new and the internal functions.
9019 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9020 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9022 (GLIBC_2.17): Add the new function.
9023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9024 (GLIBC_2.17): Likewise.
9025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9026 (GLIBC_2.17): Likewise.
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9028 (GLIBC_2.17): Likewise.
9029 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9030
7e2fca8d
AM
90312012-09-25 Alan Modra <amodra@gmail.com>
9032
9033 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9034 Add release barrier before setting once_control to say
9035 initialisation is done. Add hints on lwarx. Use macro in
9036 place of isync.
9037 (clear_once_control): Add release barrier.
9038
b87c4b24
JM
90392012-09-25 Joseph Myers <joseph@codesourcery.com>
9040
d032e0d2
JM
9041 [BZ #13629]
9042 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9043 specially.
9044 * math/s_clog10.c (__clog10): Likewise.
9045 * math/s_clog10f.c (__clog10f): Likewise.
9046 * math/s_clog10l.c (__clog10l): Likewise.
9047 * math/s_clogf.c (__clogf): Likewise.
9048 * math/s_clogl.c (__clogl): Likewise.
9049 * math/Makefile (libm-calls): Add x2y2m1.
9050 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9051 (__x2y2m1): Likewise.
9052 (__x2y2m1l): Likewise.
9053 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9054 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9057 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9058 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9059 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9060 * sysdeps/i386/fpu/libm-test-ulps: Update.
9061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9062
b87c4b24
JM
9063 [BZ #14621]
9064 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9065 int as type of variable DEPTH.
9066 (glob): Use size_t instead of int as type of variables NEWCOUNT
9067 and OLD_PATHC.
9068
6d3bf199
LD
90692012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9070
22bf5c17
LD
9071 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9072 Add s_sincosf-sse2.
9073 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9074 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9075 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9076 macros for using routine as __sincosf_ia32.
9077 Use macro for function declaration and weak_alias.
9078 * sysdeps/i386/fpu/libm-test-ulps: Update.
9079
9080 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9082
9083 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9084 subnormal argument.
9085 * math/s_cexpf.c (__cexpf): Likewise.
9086 * math/s_csinf.c (__csinf): Likewise.
9087 * math/s_csinhf.c (__csinhf): Likewise.
9088 * math/s_ctanf.c (__ctanf): Likewise.
9089 * math/s_ctanhf.c (__ctanhf): Likewise.
9090 * math/s_ccosh.c (__ccoshf): Likewise.
9091 * math/s_cexp.c (__cexpl): Likewise.
9092 * math/s_csin.c (__csin): Likewise.
9093 * math/s_csinh.c (__csinh): Likewise.
9094 * math/s_ctan.c (__ctan): Likewise.
9095 * math/s_ctanh.c (ctanh): Likewise.
9096 * math/s_ccoshl.c (__ccoshl): Likewise.
9097 * math/s_cexpl.c (__cexpl): Likewise.
9098 * math/s_csinl.c (__csinl): Likewise.
9099 * math/s_csinhl.c (__csinhl): Likewise.
9100 * math/s_ctanl.c (__ctanl): Likewise.
9101 * math/s_ctanhl.c (__ctanhl): Likewise.
9102
203e5603
JM
91032012-09-25 Joseph Myers <joseph@codesourcery.com>
9104
9105 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9106 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9107 (_IO_off_t): Define to __off_t, not _G_off_t.
9108 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9109 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9110 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9111 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9112 type of __dummy and __dummy2 fields.
9113 * sysdeps/generic/_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 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9121 (_G_ssize_t): Likewise.
9122 (_G_off_t): Likewise.
9123 (_G_pid_t): Likewise.
9124 (_G_uid_t): Likewise.
9125 (_G_wchar_t): Likewise.
9126 (_G_wint_t): Likewise.
9127 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9128 (_G_ssize_t): Likewise.
9129 (_G_off_t): Likewise.
9130 (_G_pid_t): Likewise.
9131 (_G_uid_t): Likewise.
9132 (_G_wchar_t): Likewise.
9133 (_G_wint_t): Likewise.
9134
9fab36eb
SP
91352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9136
9137 * malloc/arena.c: Include malloc-sysdep.h.
9138 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9139 is sufficient to shrink the heap or an unmap is needed.
9140 * sysdeps/generic/malloc-sysdep.h: New file. Define
9141 new function check_may_shrink_heap.
9142 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9143 new function check_may_shrink_heap.
9144
2b4f00d1
SP
91452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9146
9147 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9148 comments.
9149
9a9028b1
DL
91502012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9151
57c69bef
DL
9152 * catgets/test-gencat.sh: Add "set -e".
9153 * elf/tst-pathopt.sh: Likewise.
9154 * grp/tst_fgetgrent.sh: Likewise.
9155 * iconvdata/run-iconv-test.sh: Likewise.
9156 * intl/tst-gettext.sh: Likewise.
9157 * intl/tst-gettext2.sh: Likewise.
9158 * intl/tst-gettext4.sh: Likewise.
9159 * intl/tst-gettext6.sh: Likewise.
9160 * intl/tst-translit.sh: Likewise.
9161 * io/ftwtest-sh: Likewise.
9162 * libio/test-freopen.sh: Likewise.
9163 * malloc/tst-mtrace.sh: Likewise.
9164 * posix/globtest.sh: Likewise.
9165 * posix/tst-getconf.sh: Likewise.
9166 * posix/wordexp-tst.sh: Likewise.
9167 * stdio-common/tst-printf.sh: Likewise.
9168 * stdio-common/tst-unbputc.sh: Likewise.
9169 * stdlib/tst-fmtmsg.sh: Likewise.
9170 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9171 * catgets/Makefile: Do not specify -e option when running
9172 testsuite shell scripts.
9173 * elf/Makefile: Likewise.
9174 * grp/Makefile: Likewise.
9175 * iconvdata/Makefile: Likewise.
9176 * intl/Makefile: Likewise.
9177 * io/Makefile: Likewise.
9178 * libio/Makefile: Likewise.
9179 * malloc/Makefile: Likewise.
9180 * posix/Makefile: Likewise.
9181 * stdio-common/Makefile: Likewise.
9182 * stdlib/Makefile: Likewise.
9183 * sysdeps/x86_64/Makefile: Likewise.
9184
9a9028b1
DL
9185 * io/ftwtest-sh: Add copyright header.
9186 * posix/globtest.sh: Likewise.
9187 * posix/tst-getconf.sh: Likewise.
9188 * posix/wordexp-tst.sh: Likewise.
9189 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9190
ced6f16e
L
91912012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9192
94b32c39
L
9193 [BZ #13679]
9194 * Makeconfig (+link): Defined as $(+link-static) if
9195 $(build-shared) isn't yes.
9196 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9197 isn't yes.
9198 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9199
189e935b
L
9200 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9201
ced6f16e
L
9202 [BZ #14562]
9203 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9204 new chunk size with MALLOC_ALIGN_MASK.
9205
a9f8e53a
JM
92062012-09-24 Joseph Myers <joseph@codesourcery.com>
9207
9208 [BZ #5044]
9209 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9210 <rounding-mode.h>.
9211 (__printf_fphex): Determine rounding using get_rounding_mode and
9212 round_away.
9213 * stdio-common/tst-printf-round.c (struct hex_test): New
9214 structure.
9215 (hex_tests): New variable.
9216 (test_hex_in_one_mode): New function.
9217 (do_test): Also run tests for hex float output.
9218
43153109
JM
92192012-09-21 Joseph Myers <joseph@codesourcery.com>
9220
9221 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9222 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9223 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9224 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9225 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9226 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9227 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9228 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9229
8a26625d
JM
92302012-09-20 Joseph Myers <joseph@codesourcery.com>
9231
9232 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9233 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9234 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9235 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9236
f3fd569c
DL
92372012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9238
9239 [BZ #14579]
9240 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9241 mode only.
9242 * elf/tst-rtld-load-self.sh: New test.
9243 * elf/Makefile: Run it.
9244
63bbedd4
JM
92452012-09-18 Joseph Myers <joseph@codesourcery.com>
9246
9247 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9248 (tst-writev-ENV): Remove.
9249 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9250
626f8b6a
CM
92512012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9252
9253 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9254
b7aaa4d6
JM
92552012-09-17 Joseph Myers <joseph@codesourcery.com>
9256
9257 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9258 unconditional.
9259 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9260 Likewise.
9261 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9262 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9263 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9264 Likewise.
9265
65513990
L
92662012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9267
9268 [BZ #14587]
9269 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9270 * config.make.in (have-cpp-asm-debuginfo): Removed.
9271 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9272 * configure: Regenerated.
9273
784761be
JM
92742012-09-14 Joseph Myers <joseph@codesourcery.com>
9275
9276 [BZ #5044]
9277 * stdio-common/printf_fp.c: Include <stdbool.h> and
9278 <rounding-mode.h>.
9279 (___printf_fp): Determine rounding using get_rounding_mode and
9280 round_away.
9281 * stdio-common/tst-printf-round.c: New file.
9282 * stdio-common/Makefile (tests): Add tst-printf-round.
9283 (link-libm): New variable.
9284 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9285
9503345f
L
92862012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9287
9288 [BZ #14576]
9289 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9290 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9291 Likewise.
9292 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9293 Likewise.
9294
ad35fc00
JM
92952012-09-13 Joseph Myers <joseph@codesourcery.com>
9296
9297 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9298 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9299 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9300 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9301
6c9b0f68
JM
93022012-09-12 Joseph Myers <joseph@codesourcery.com>
9303
9304 [BZ #14518]
9305 * include/rounding-mode.h: New file.
9306 * sysdeps/generic/get-rounding-mode.h: Likewise.
9307 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9308 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9309 (MAX_VALUE): New macro.
9310 (MIN_VALUE): Likewise.
9311 (overflow_value): New function.
9312 (underflow_value): Likewise.
9313 (round_and_return): Use overflow_value and underflow_value to
9314 determine return values in overflow and underflow cases. Use
9315 round_away to determine rounding depending on rounding mode.
9316 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9317 determine return values in overflow and underflow cases.
9318 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9319 (struct test_results): New structure.
9320 (struct test): Use struct test_results to store expected results
9321 for all rounding modes.
9322 (TEST): Include expected results for all rounding modes.
9323 (test_in_one_mode): New function.
9324 (do_test): Use test_in_one_mode to compute and check results.
9325 Check results for all rounding modes.
9326 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9327 $(link-libm).
9328
19fcedd5
AM
93292012-12-09 Allan McRae <allan@archlinux.org>
9330
1e9d84cd 9331 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9332
8bbfd2f1
JM
93332012-09-11 Joseph Myers <joseph@codesourcery.com>
9334
9335 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9336 (_G_int32_t): Likewise.
9337 (_G_uint16_t): Likewise.
9338 (_G_uint32_t): Likewise.
9339 (_G_HAVE_BOOL): Likewise.
9340 (_G_HAVE_ATEXIT): Likewise.
9341 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9342 (_G_HAVE_IO_FILE_OPEN): Likewise.
9343 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9344 (_G_int32_t): Likewise.
9345 (_G_uint16_t): Likewise.
9346 (_G_uint32_t): Likewise.
9347 (_G_HAVE_BOOL): Likewise.
9348 (_G_HAVE_ATEXIT): Likewise.
9349 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9350 (_G_HAVE_IO_FILE_OPEN): Likewise.
9351 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9352 (_G_int32_t): Likewise.
9353 (_G_uint16_t): Likewise.
9354 (_G_uint32_t): Likewise.
9355 (_G_HAVE_BOOL): Likewise.
9356 (_G_HAVE_ATEXIT): Likewise.
9357 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9358 (_G_HAVE_IO_FILE_OPEN): Likewise.
9359
b1dc5912
L
93602012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9361
9362 * csu/libc-tls.c: Update copyright years.
9363
0e886ef9
JM
93642012-09-10 Joseph Myers <joseph@codesourcery.com>
9365
28361c5e
JM
9366 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9367 [!_G_USING_THUNKS]: Remove conditional code.
9368 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9369 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9370
0e886ef9
JM
9371 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9372 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9373 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9374 (_G_VTABLE_LABEL_PREFIX): Likewise.
9375 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9376 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9377 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9378 (_G_VTABLE_LABEL_PREFIX): Likewise.
9379 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9380 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9381 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9382 (_G_VTABLE_LABEL_PREFIX): Likewise.
9383 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9384
bcba7aa2
L
93852012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9386
9387 * libio/Makefile: Include ../Makeconfig before tests.
9388 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9389 only if $(build-shared) is yes.
9390
06585ee8
L
9391 * iconv/gconv_db.c: Update copyright years.
9392
80ccd52c
LD
93932012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9394
9395 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9396 unwind info if defined PIC. Fix special cases description.
9397 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9398
9399 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9400 DP_HI_MASK entry.
9401 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9402
691bc9c1
L
94032012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9404
3d9b46b3
L
9405 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9406
de2139a9
L
9407 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9408 is NULL.
9409
5ca78dd0
L
9410 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9411 (LDLIBS-tst-chk4): This.
9412 (LDFLAGS-tst-chk5): Renamed to ...
9413 (LDLIBS-tst-chk5): This.
9414 (LDFLAGS-tst-chk6): Renamed to ...
9415 (LDLIBS-tst-chk6): This.
9416 (LDFLAGS-tst-lfschk4): Renamed to ...
9417 (LDLIBS-tst-lfschk4): This.
9418 (LDFLAGS-tst-lfschk5): Renamed to ...
9419 (LDLIBS-tst-lfschk5): This.
9420 (LDFLAGS-tst-lfschk6): Renamed to ...
9421 (LDLIBS-tst-lfschk6): This.
9422
691bc9c1
L
9423 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9424 on $(common-objpfx)soversions.mk.
9425
65cafb1c
JM
94262012-09-07 Joseph Myers <joseph@codesourcery.com>
9427
9428 [BZ #10014]
9429 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9430 example host name.
9431
c78ab094
SP
94322012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9433
9434 * malloc/arena.c (arena_get_retry): New function that gets
9435 another arena for the caller to try its request on.
9436 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9437 current arena cannot fulfill the request.
9438 (__libc_memalign): Likewise.
9439 (__libc_memalign): Likewise.
9440 (__libc_pvalloc): Likewise.
9441 (__libc_calloc): Likewise.
9442
01f49f59
JT
94432012-09-05 John Tobey <john.tobey@gmail.com>
9444
9445 [BZ #13542]
9446 * manual/arith.texi (Operations on Complex): Fix description
9447 of carg branch cut.
9448
4c23fed5
JM
94492012-09-06 Joseph Myers <joseph@codesourcery.com>
9450
1d3c8572
JM
9451 [BZ #10014]
9452 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9453 host name.
9454
4c23fed5
JM
9455 [BZ #10038]
9456 * manual/memory.texi (Memory): Make order of menu items match
9457 order of sections.
9458
04570aaa
L
94592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9460
9461 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9462 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9463 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9464
b80af2f4
L
94652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9466
9467 * csu/libc-tls.c (static_dtv): Renamed to ...
9468 (_dl_static_dtv): This. Make it global.
9469 (_dl_initial_dtv): Removed.
9470 (__libc_setup_tls): Updated.
9471 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9472 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9473 DL_INITIAL_DTV.
9474
2abe9f15
PM
94752012-09-06 Petr Machata <pmachata@redhat.com>
9476
9477 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9478 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9479 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9480 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9481
0948c3af
L
94822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9483
9484 [BZ #14545]
9485 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9486 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9487 freeing dtv[-1].
9488
a5055ad1
L
94892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9490
9491 [BZ #14544]
9492 * Makeconfig (link-static-before-libc): Replace $(+prector)
9493 with $(+prectorT).
9494 (link-static-after-libc): Replace $(+postctor) with
9495 $(+postctorT).
9496 (link-bounded): Replace $(+prector)/$(+postctor) with
9497 $(+prectorT)/$(+postctorT).
9498 (+prectorT): New macro.
9499 (+postctorT): Likewise.
9500
ed8c2ecd
JM
95012012-09-06 Joseph Myers <joseph@codesourcery.com>
9502
9503 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9504 (round_str): Handle values above the maximum for IBM long double
9505 as inexact.
9506 * stdlib/tst-strtod-round.c (tests): Regenerated.
9507
14c996c8
AK
95082012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9509
9510 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9511 assembler flag.
9512 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9513 zarch_nohighgprs around the zarch optimized routines.
9514 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9515 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9516 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9517 for zarch.
9518
430d6ce6
DM
95192012-09-05 David S. Miller <davem@davemloft.net>
9520
9521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9522
ff04dda4
DM
9523 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9524 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9525 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9526 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9527 entries.
9528
24d4e01b
AO
95292012-09-05 Alexandre Oliva <aoliva@redhat.com>
9530
9531 * malloc/arena.c: Fold copyright years.
9532 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9533
61d58174
AO
95342012-09-05 Alexandre Oliva <aoliva@redhat.com>
9535
9536 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9537
20196a5e
AO
95382012-09-05 Alexandre Oliva <aoliva@redhat.com>
9539
9540 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9541
5c447383
AO
95422012-09-05 Alexandre Oliva <aoliva@redhat.com>
9543
9544 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9545 change internal state upon failure.
9546
fad64255
AO
95472012-09-05 Alexandre Oliva <aoliva@redhat.com>
9548
9549 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9550 * malloc/memusage.c (mmap): Likewise.
9551 (mmap64, mremap): Likewise. Adjust name in comment.
9552
1ffb8c90
SP
95532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9554
9555 * libio/fileops.c: Fix typos in comments.
9556 * libio/oldfileops.c: Likewise.
9557 * libio/wfileops.c: Likewise.
9558
6ef9cc37
SP
95592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9560
9561 [BZ #1349]
9562 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9563 (tst-malloc-usable-ENV): Set environment for test case.
9564 * malloc/hooks.c (malloc_check_get_size): New function to get
9565 requested size.
9566 * malloc/malloc.c (musable): Use malloc_check_get_size.
9567 * malloc/tst-malloc-usable.c: New test case.
9568
4d038ae3
AS
95692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9570
9571 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9572
c4e85184
AM
95732012-09-05 Allan McRae <allan@archlinux.org>
9574
b9dafc56 9575 [BZ #13966]
c4e85184
AM
9576 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9577 determine header location.
9578 * configure: Regenerated.
9579
e1343020
AS
95802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9581
9582 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9583 float format.
9584 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9585 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9586 format.
e1343020
AS
9587 (test): Regenerate.
9588
0a9f1987
DM
95892012-09-04 David S. Miller <davem@davemloft.net>
9590
9591 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9592 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9593 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9594
29237804
FW
95952012-09-04 Florian Weimer <fweimer@redhat.com>
9596
9597 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9598 failures.
9599
edb3cb88
FW
9600 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9601
60160d83
JM
96022012-09-04 Joseph Myers <joseph@codesourcery.com>
9603
9604 [BZ #9914]
9605 * libio/iogetdelim.c: Include <limits.h>.
9606 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9607 + len + 1 would overflow.
9608
bcd6c8dc
AJ
96092012-09-03 Andreas Jaeger <aj@suse.de>
9610
9611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9612 * sysdeps/i386/fpu/libm-test-ulps: Update.
9613
4ffffbd2
LD
96142012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9615
9616 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9617 Add s_sinf-sse2, s_conf-sse2.
9618
9619 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9620 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9621 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9622 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9623
9624 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9625 for using routine as __sinf_ia32.
9626 Use macro for function declaration and weak_alias.
9627 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9628 for using routine as __cosf_ia32.
9629 Use macro for function declaration and weak_alias.
9630
9631 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9632 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9633
9634 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9635 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9637
9638 * math/libm-test.inc (cos_test): Add more test cases.
9639 (sin_test): Likewise.
9640 (sincos_test): Likewise.
9641
511fa286
AK
96422012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9643
9644 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9645 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9646 hidden.
9647 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9648
5f30cfec
L
96492012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9650
9651 [BZ #14538]
9652 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9653 first element of the GOT.
9654 (elf_machine_load_address): Return the difference between
9655 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9656
0786794f
AM
96572012-09-01 Allan McRae <allan@archlinux.org>
9658
5f30cfec
L
9659 [BZ #13412]
9660 * configure.in (AWK): Require gawk version 3.0 or later.
9661 * configure: Regenerated.
0786794f 9662
26889eac
JM
96632012-09-01 Joseph Myers <joseph@codesourcery.com>
9664
9665 * sysdeps/unix/sysv/linux/kernel-features.h
9666 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9667 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9668 [__NR_clock_getres]: Make code unconditional.
9669 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9670 (clock_getcpuclockid): Remove code left unreachable by removal of
9671 conditionals.
9672 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9673 code unconditional.
9674 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9675 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9676 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9677 Make code unconditional.
9678 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9679 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9680 * sysdeps/unix/sysv/linux/clock_settime.c
9681 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9682 conditional code.
9683 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9684 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9685
d22e28b0
L
96862012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9687
9688 [BZ #14476]
9689 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9690 scripts/test-installation.pl.
9691
9692 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9693 and $ld_so_version if it is set.
9694
050af9c4
SP
96952012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9696
9697 [BZ #14516]
9698 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9699 failure if reading from procfs failed.
9700 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9701
ad845c0b
JM
97022012-08-27 Joseph Myers <joseph@codesourcery.com>
9703
9704 * sysdeps/unix/sysv/linux/kernel-features.h
9705 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9706 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9707 Remove conditional code.
9708 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9709 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9710 Remove conditional code.
9711 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9712 * sysdeps/unix/sysv/linux/i386/fxstat.c
9713 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9715 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9716 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9717 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9718 * sysdeps/unix/sysv/linux/i386/lxstat.c
9719 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9721 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9722 Remove conditional code.
9723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9724 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9725 Remove conditional code.
9726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9727 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9728 <kernel-features.h>.
9729 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9730 Remove.
9731 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9732 Remove conditional code.
9733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9734 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9735 Remove conditional.
9736
5dbf56af
MF
97372012-08-27 Mike Frysinger <vapier@gentoo.org>
9738
9739 [BZ #5400]
9740 * NEWS: Add fixed bug number.
9741
d6e70f43
JM
97422012-08-27 Joseph Myers <joseph@codesourcery.com>
9743
7efb4737
JM
9744 [BZ #14519]
9745 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9746 underflowing exponent in case of negative sign.
9747 * stdlib/tst-strtod-round-data: Add more tests.
9748 * stdlib/tst-strtod-round.c (tests): Regenerated.
9749
af92131a
JM
9750 [BZ #3479]
9751 * stdlib/strtod_l.c (NDIG): Remove.
9752 (HEXNDIG): Likewise.
9753 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9754 smallest representable value.
9755 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9756 lie within an exact representation of 1/2 ulp of the result.
9757 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9758 unconditionally.
9759 (TENS_P9_IDX): Define unconditionally.
9760 (TENS_P9_SIZE): Likewise.
9761 (TENS_P10_IDX): Likewise.
9762 (TENS_P10_SIZE): Likewise.
9763 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9764 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9765 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9766 entries for 10^2^13 and 10^2^14.
9767 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9768 (TENS_P13_IDX): Define.
9769 (TENS_P13_SIZE): Likewise.
9770 (TENS_P14_IDX): Likewise.
9771 (TENS_P14_SIZE): Likewise.
9772 (_fpioconst_pow10): Change array size to
9773 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9774 unconditional.
9775 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9776 1024]: Add entries for 10^2^13 and 10^2^14.
9777 [LAST_POW10 > _LAST_POW10]: Remove #error.
9778 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9779 (_fpioconst_pow10): Change array size to
9780 FPIOCONST_POW10_ARRAY_SIZE.
9781 * stdlib/gen-fpioconst.c: New file.
9782 * stdlib/gen-tst-strtod-round.c: Likewise.
9783 * stdlib/tst-strtod-round-data: Likewise.
9784 * stdlib/tst-strtod-round.c: Likewise.
9785 * stdlib/Makefile (tests): Add tst-strtod-round.
9786
d6e70f43
JM
9787 [BZ #14459]
9788 * stdlib/strtod_l.c: Include <stdint.h>.
9789 (NDEBUG): Do not define.
9790 (round_and_return): Change EXPONENT parameter to type intmax_t.
9791 Rearrange calculations to avoid internal overflow possibilities.
9792 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9793 Rearrange calculations to avoid internal overflow possibilities.
9794 Assert that number fits inside MPNSIZE limbs.
9795 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9796 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9797 calculations and add assertions to avoid internal overflow
9798 possibilities. Add casts to avoid signed/unsigned operations.
9799 * stdlib/tst-strtod-overflow.c: New file.
9800 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9801
1f529f7d
MP
98022012-08-25 Marek Polacek <polacek@redhat.com>
9803
9804 * time/time.h: Fix some typos in comments.
9805
59a629f1
RM
98062012-08-23 Roland McGrath <roland@hack.frob.com>
9807
9808 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9809 * posix/tst-rfc3484-2.c: Likewise.
9810 * posix/tst-rfc3484-3.c: Likewise.
9811
d3bafbc9
SM
98122012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9813
9814 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9815 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9816
4efcc022
JM
98172012-08-23 Joseph Myers <joseph@codesourcery.com>
9818
9819 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9820 #include of fxstatat64.c.
9821
3cc3ef96
RM
98222012-08-22 Roland McGrath <roland@hack.frob.com>
9823
f04e2132
RM
9824 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9825 * shadow/getspent_r.c: Likewise.
9826 * shadow/getspnam.c: Likewise.
9827 * shadow/getspnam_r.c: Likewise.
9828 * gshadow/getsgent.c: Likewise.
9829 * gshadow/getsgent_r.c: Likewise.
9830 * gshadow/getsgnam.c: Likewise.
9831 * gshadow/getsgnam_r.c: Likewise.
9832 * inet/getnetbyad.c: Likewise.
9833 * inet/getnetbyad_r.c: Likewise.
9834 * inet/getnetbynm.c: Likewise.
9835 * inet/getnetbynm_r.c: Likewise.
9836 * inet/getnetent.c: Likewise.
9837 * inet/getnetent_r.c: Likewise.
9838 * inet/getproto.c: Likewise.
9839 * inet/getproto_r.c: Likewise.
9840 * inet/getprtent.c: Likewise.
9841 * inet/getprtent_r.c: Likewise.
9842 * inet/getprtname.c: Likewise.
9843 * inet/getprtname_r.c: Likewise.
9844 * inet/getrpcbyname.c: Likewise.
9845 * inet/getrpcbyname_r.c: Likewise.
9846 * inet/getrpcbynumber.c: Likewise.
9847 * inet/getrpcbynumber_r.c: Likewise.
9848 * inet/getrpcent.c: Likewise.
9849 * inet/getrpcent_r.c: Likewise.
9850 * inet/getaliasent.c: Likewise.
9851 * inet/getaliasent_r.c: Likewise.
9852 * inet/getaliasname.c: Likewise.
9853 * inet/getaliasname_r.c: Likewise.
9854 * nscd/getgrgid_r.c: Likewise.
9855 * nscd/getgrnam_r.c: Likewise.
9856 * nscd/gethstbyad_r.c: Likewise.
9857 * nscd/gethstbynm3_r.c: Likewise.
9858 * nscd/getpwnam_r.c: Likewise.
9859 * nscd/getpwuid_r.c: Likewise.
9860 * nscd/getsrvbynm_r.c: Likewise.
9861 * nscd/getsrvbypt_r.c: Likewise.
9862 * nscd/gai.c: Likewise.
9863
c53d909c
RM
9864 * configure.in (build_nscd): New substituted variable, set
9865 by --disable-build-nscd and defaults to $use_nscd.
9866 * configure: Regenerated.
9867 * config.make.in (build-nscd): New substituted variable.
9868 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9869 Change conditional to require [$(build-nscd) = yes] as well.
9870 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9871
3cc3ef96
RM
9872 [BZ# 13696]
9873 * configure.in (use_nscd): New substituted variable, set by
9874 --disable-nscd. If enabled, define USE_NSCD.
9875 * configure: Regenerated.
9876 * config.h.in: Add USE_NSCD.
9877 * config.make.in (use-nscd): New substituted variable.
9878 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9879 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9880 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9881 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9882 (CFLAGS-getgrnam_r.c): Likewise.
9883 (CFLAGS-initgroups.c): Likewise.
9884 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9885 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9886 Variables removed.
9887 * inet/getnetgrent_r.c
9888 (nscd_setnetgrent): New function, broken out of ...
9889 (setnetgrent): ... here. Call it.
9890 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9891 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9892 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9893 * nscd/Makefile (routines, aux): Move definitions after include of
9894 Makeconfig. Conditionalize on [$(use-nscd) != no].
9895 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9896 Conditionalize on [USE_NSCD].
9897 (is_nscd, nscd_init_cb): Likewise.
9898 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9899 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9900 * nss/nss_db/db-init.c: Likewise.
9901 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9902 [USE_NSCD].
9903 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9904 (make_request): Use it.
9905 (cache_valid_p): New function.
9906 (__check_pf): Use it.
9907 * NEWS: Add item for --disable-nscd.
9908
07e51550
DL
99092012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9910
9911 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9912 to support sed >= 4.2.1-20-ga9bf076.
9913 * configure: Regenerated.
9914
35a5b08b
RM
99152012-08-22 Roland McGrath <roland@hack.frob.com>
9916
9917 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9918 Conditionalize whole body on [IREL].
9919
8479f23a
JL
99202012-08-22 Jeff Law <law@redhat.com>
9921
9922 [BZ #14505]
9923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9924 if the family is PF_UNSPEC.
9925
48da0b21
MF
99262012-08-22 Mike Frysinger <vapier@gentoo.org>
9927
9928 * Makerules (lib-version): Rename from V.
9929 (install-lib-nosubdir): Change V to lib-version.
9930
15d0da8c
WS
99312012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9932
9933 [BZ #14252]
9934 * powerpc32/power6/wcschr.c: New file.
9935 * powerpc32/power6/wcscpy.c: New file.
9936 * powerpc32/power6/wcsrchr.c: New file.
9937 * powerpc64/power6/wcschr.c: New file.
9938 * powerpc64/power6/wcscpy.c: New file.
9939 * powerpc64/power6/wcsrchr.c: New file.
9940
bcca0895
MK
99412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9942
9943 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9944 (two_way_short_needle): Use it.
5a4aaa33
RM
9945 * string/strstr.c (AVAILABLE1_USES_J): Define.
9946 * string/strcasestr.c: Likewise.
99677e57
MK
9947
9948 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9949 array references.
9950 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9951
400726de
MK
9952 [BZ #11607]
9953 * NEWS: Add an entry.
9954 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9955 define their defaults.
9956 (two_way_short_needle): Detect end-of-string on-the-fly.
9957 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9958 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9959 * string/bug-strcasestr1.c: New test.
9960 * string/Makefile: Run it.
9961
20a71f2c
MK
99622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9963
9964 [BZ #11607]
9965 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9966 the first character.
9967
21ad0558
RM
99682012-08-21 Roland McGrath <roland@hack.frob.com>
9969
9970 * csu/elf-init.c (__libc_csu_irel): Function removed.
9971 * csu/libc-start.c (apply_irel): New function.
9972 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9973
0e1d9911
JM
99742012-08-21 Joseph Myers <joseph@codesourcery.com>
9975
9976 * sysdeps/unix/sysv/linux/kernel-features.h
9977 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9978 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9979 <kernel-features.h>.
9980 [__NR_fadvise64_64]: Make code unconditional.
9981 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9982 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9983 !__NR_fadvise64_64)]: Likewise.
9984 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9985 !__NR_fadvise64_64))]: Likewise.
9986 [__NR_fadvise64]: Make code unconditional.
9987 [!__NR_fadvise64]: Remove conditional code.
9988 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9989 <kernel-features.h>.
9990 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9991 unconditional.
9992 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9993 conditional code.
9994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9995 not include <kernel-features.h>.
9996 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9997 unconditional.
9998 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9999 conditional code.
10000 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10001 include <kernel-features.h>.
10002 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10003 unconditional.
10004 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10005 conditional code.
10006
14a50c9d
WS
100072012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10008
10009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10010 slight instruction rearrangements per scrollpipe analysis.
10011 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10012
c0f4faf0
RM
100132012-08-20 Roland McGrath <roland@hack.frob.com>
10014
696da859
RM
10015 * manual/syslog.texi (syslog; vsyslog, closelog):
10016 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10017 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10018
c0f4faf0
RM
10019 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10020 DSOCAPS to match condition on defining it.
10021
348363b2
JM
100222012-08-20 Joseph Myers <joseph@codesourcery.com>
10023
a35cbf28
JM
10024 * sysdeps/unix/sysv/linux/kernel-features.h
10025 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10027 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10028 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10030 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10031 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10033 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10034 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10035
445f7ecd
JM
10036 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10037 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10038
348363b2
JM
10039 * sysdeps/unix/sysv/linux/kernel-features.h
10040 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10041 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10042 unconditional.
10043 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10044 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10045 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10046 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10047 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10048 Make code unconditional.
10049 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10050 (__mmap64) [!__NR_mmap2]: Likewise.
10051 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10052 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10053 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10054 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10055 [__NR_mmap2]: Make code unconditional.
10056 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10057 (__mmap64) [!__NR_mmap2]: Likewise.
10058
bc5bc0e5
AK
100592012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10060
10061 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10062
88d506de
AJ
100632012-08-18 Andreas Jaeger <aj@suse.de>
10064
10065 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10066
493387d2
MF
100672012-08-18 Mike Frysinger <vapier@gentoo.org>
10068
10069 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10070 * include/unistd.h (__have_sock_cloexec): Likewise.
10071 (__have_pipe2): Likewise.
10072 (__have_dup3): Likewise.
10073
a277af22
MF
100742012-08-18 Mike Frysinger <vapier@gentoo.org>
10075
10076 [BZ #9685]
10077 * include/unistd.h (__have_pipe2): Change define into an extern int.
10078 (__have_dup3): Likewise.
10079 * socket/have_sock_cloexec.c: Include fcntl.h.
10080 (__have_pipe2): New variable.
10081 (__have_dup3): Likewise.
10082
fdab8fd3
MF
100832012-08-17 Mike Frysinger <vapier@gentoo.org>
10084
10085 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10086
31035e80
MP
100872012-08-17 Marek Polacek <polacek@redhat.com>
10088
10089 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10090 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10091
3bd9e993
RM
100922012-08-17 Roland McGrath <roland@hack.frob.com>
10093
c91c505f
RM
10094 * configure.in: Add AC_SUBST for sysheaders.
10095 * configure: Regenerated.
10096 * config.make.in (sysheaders): New substituted variable.
10097
7c6f9d53
RM
10098 * sysdeps/unix/mkfifo.c: Moved ...
10099 * sysdeps/posix/mkfifo.c: ... here.
10100 * sysdeps/unix/mkfifoat.c: Moved ...
10101 * sysdeps/posix/mkfifoat.c: ... here.
10102
10103 * sysdeps/unix/utime.c: Moved ...
10104 * sysdeps/posix/utime.c: ... here.
10105
10106 * sysdeps/unix/time.c: Moved ...
10107 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10108 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10109 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10110
10111 * sysdeps/unix/nice.c: Moved ...
10112 * sysdeps/posix/nice.c: ... here.
10113
10114 * sysdeps/unix/alarm.c: Moved ...
10115 * sysdeps/posix/alarm.c: ... here.
10116
3bd9e993
RM
10117 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10118
d1f09384
JL
101192012-08-17 Jeff Law <law@redhat.com>
10120
10121 * intl/Makefile (codeset_mo): New variable.
10122 ($(codeset_mo)): New target.
10123 (tst-codeset.out): Depend on that. Remove explicit rule.
10124 (tst-gettext3.out, tst-gettext5.out): Likewise.
10125 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10126 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10127 * intl/tst-codeset.sh: Remove.
10128 * intl/tst-gettext3.sh: Likewise.
10129 * intl/tst-gettext5.sh: Likewise.
10130
2ae1ae5c
RM
101312012-08-17 Roland McGrath <roland@hack.frob.com>
10132
c31fdb83
RM
10133 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10134 * sysdeps/unix/syscalls.list: ... here.
10135
a0844057
RM
10136 * sysdeps/posix/getaddrinfo.c
10137 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10138 (gaiconf_init, gaiconf_reload): Use them.
10139 [!_STATBUF_ST_NSEC]
10140 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10141 Define using time_t rather than struct timespec.
10142
750c1f2a
RM
10143 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10144 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10145 Macros removed.
10146 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10147 [!NO_THREADS].
10148 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10149 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10150 Likewise.
10151
2ae1ae5c
RM
10152 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10153 __libc_cleanup_push argument.
10154
e66a42f5
RM
10155 * bits/param.h: New file.
10156 * misc/sys/param.h: New file.
10157 * include/sys/param.h: New file.
10158 * misc/Makefile (headers): Add bits/param.h.
10159 * sysdeps/generic/sys/param.h: File removed.
10160 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10161 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10162 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10163 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10164
b7c08a66
RM
10165 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10166 last change.
10167
b2e1c562
RM
10168 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10169 [_IO_MTSAFE_IO].
10170 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10171 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10172 New macros.
10173
c75ccd4c
RM
10174 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10175 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10176 rather than -D_IO_MTSAFE_IO conditionally.
10177 * stdio-common/Makefile (CPPFLAGS): Likewise.
10178 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10179 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10180 Use $(libio-mtsafe).
10181 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10182 of -D_IO_MTSAFE_IO.
10183 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10184 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10185 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10186 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10187 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10188 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10189 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10190 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10191 (CFLAGS-fread_u_chk.c): Likewise.
10192 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10193 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10194 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10195 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10196 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10197 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10198 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10199 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10200 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10201
10202 * libio/Makefile: Test [$(libc-reentrant) = yes]
10203 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10204
10205 * Makeconfig
10206 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10207 * sysdeps/pthread/configure: File removed.
10208 * sysdeps/pthread/Makeconfig: New file.
10209 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10210 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10211
d9195db8
GB
102122012-08-16 Gary Benson <gbenson@redhat.com>
10213
10214 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10215 unmapping the first object in a namespace.
10216
86466cd9
RM
102172012-08-16 Roland McGrath <roland@hack.frob.com>
10218
10219 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10220 (__internal_setnetgrent): ... this. Add internal_function to
10221 definition. Add libc_hidden_def.
10222 (setnetgrent): Update caller.
10223 (internal_endnetgrent): Renamed to ...
10224 (__internal_endnetgrent): ... this. Add internal_function to
10225 definition. Add libc_hidden_def.
10226 (endnetgrent): Update caller.
10227 (internal_getnetgrent_r): Renamed to ...
10228 (__internal_getnetgrent_r): ... this. Add internal_function to
10229 definition. Add libc_hidden_def.
10230 (__getnetgrent_r): Update caller.
10231 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10232
c3c8283c
JM
102332012-08-16 Joseph Myers <joseph@codesourcery.com>
10234
10235 * stdlib/longlong.h: Update from GCC.
10236
db1ee0a8
RM
102372012-08-16 Roland McGrath <roland@hack.frob.com>
10238
10239 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10240 on _QL, which is set by umul_ppmm but never used.
10241 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10242 variables, which are set by GMP macros but never used.
10243 * stdio-common/_itowa.c (_itowa): Likewise.
10244 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10245 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10246
30f69637
CD
102472012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10248
10249 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10250 struct La_sh_regs is not constant.
10251 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10252 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10253 and struct La_sparc64_regs are not constant.
10254
93a78ac4
JM
102552012-08-16 Joseph Myers <joseph@codesourcery.com>
10256
10257 * sysdeps/unix/sysv/linux/kernel-features.h
10258 (__ASSUME_POSIX_TIMERS): Remove.
10259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10260 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10261 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10262 Make code unconditional.
10263 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10264 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10265 Make code unconditional.
10266 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10267 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10268 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10269 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10270 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10271 Make code unconditional.
10272 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10273 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10274 (__libc_missing_posix_timers): Remove.
10275
dd924cd7
RM
102762012-08-15 Roland McGrath <roland@hack.frob.com>
10277
4b4f2771
RM
10278 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10279 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10280
601c888b
RM
10281 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10282
176790a7
RM
10283 * elf/dl-sym.c: Include <stdlib.h>.
10284
329bc018
RM
10285 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10286 constants, which avoids warnings in 32-bit builds.
10287
e04e272d
RM
10288 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10289 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10290
952bf94a
RM
10291 * misc/lseek.c: File moved to ...
10292 * io/lseek.c: ... here.
10293
7c99b50a
RM
10294 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10295
dd924cd7
RM
10296 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10297 shifting LEN more than 31 bits at once.
10298
b3f479a8
LD
102992012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10300
10301 [BZ #14195]
8c4ae0d4
RM
10302 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10303 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10304 * string/test-strncasecmp.c (check1): Renamed to...
10305 (bz12205): ...this.
10306 (bz14195): Add new testcase for two empty input strings and N > 0.
10307 (test_main): Call new testcase, adapt for renamed function.
10308
9c55864e
AJ
103092012-08-15 Andreas Jaeger <aj@suse.de>
10310
10311 [BZ #14090]
10312 * crypt/md5test2.c: New test, based on test supplied by Serge
10313 Belyshev <belyshev@depni.sinp.msu.ru>.
10314 * crypt/Makefile (xtests): Add md5test-giant..
10315 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10316
02dcb6c5
PE
103172012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10318
10319 [BZ #14090]
10320 * crypt/md5.c (md5_process_block): Don't assume the buffer
10321 length is less than 2**32.
10322 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10323 length is less than 2**64.
10324
a3f95dcc
RM
103252012-08-15 Roland McGrath <roland@hack.frob.com>
10326
be75d758
RM
10327 * string/str-two-way.h: Include <sys/param.h>.
10328 (MAX): Macro removed.
10329
7312ca90
RM
10330 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10331 Move #define and #undef of memmove to just before and after
10332 including <string.h>.
10333
9a0a5486
RM
10334 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10335 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10336 and after including <string.h>. Move declarations of
10337 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10338 to before #include "string/memmove.c".
10339
67cc348d
RM
10340 * include/dirent.h: Declare __getdirentries.
10341
a3f95dcc
RM
10342 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10343 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10344
ca98e171
MF
103452012-08-14 Mike Frysinger <vapier@gentoo.org>
10346
10347 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10348 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10349 * sysdeps/i386/configure: Regenerated.
10350 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10351 STABS_CURRENT_FILE, and STABS_FUN.
10352 (END): Remove call to STABS_FUN_END.
10353 (STABS_CURRENT_FILE1): Delete.
10354 (STABS_CURRENT_FILE): Likewise.
10355 (STABS_FUN): Likewise.
10356 (STABS_FUN_END): Likewise.
10357 (STABS_FUN2): Likewise.
10358 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10359 * sysdeps/x86_64/configure: Regenerated.
10360
5908bf46
RM
103612012-08-14 Roland McGrath <roland@hack.frob.com>
10362
10363 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10364 * elf/dl-lookup.c: Likewise.
5908bf46 10365
f2c05b9e
JM
103662012-08-14 Joseph Myers <joseph@codesourcery.com>
10367
10368 * sysdeps/unix/sysv/linux/kernel-features.h
10369 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10370 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10371 unconditionally.
10372 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10373 unconditionally.
10374 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10375 condition on __ASSUME_CLONE_THREAD_FLAGS.
10376
e11f5155
AJ
103772012-08-14 Andreas Jaeger <aj@suse.de>
10378
10379 * sysdeps/i386/fpu/libm-test-ulps: Update.
10380
51a9ba86
MK
103812012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10382
2fdd4f78
AJ
10383 * include/atomic.h (atomic_exchange_and_add): Split into ...
10384 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10385 New atomic macros.
51a9ba86 10386
ba6cba9e
MT
103872012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10388
10389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10390
42443a47
JL
103912012-08-13 Jeff Law <law@redhat.com>
10392
10393 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10394 null byte in the output string.
10395
121dce05
JM
103962012-08-10 Joseph Myers <joseph@codesourcery.com>
10397
10398 * sysdeps/unix/sysv/linux/kernel-features.h
10399 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10400 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10401 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10402 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10403 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10404 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10405 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10406
bf51f568
JL
104072012-08-09 Jeff Law <law@redhat.com>
10408
10409 [BZ #13939]
10410 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10411 When avoid_arena is set, don't retry in the that arena. Pick the
10412 next one, whatever it might be.
10413 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10414 (arena_lock): Pass in new parameter to arena_get2.
10415 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10416 arena_get2.
10417 (__libc_malloc): Unify retrying after main arena failure with
10418 __libc_memalign version.
10419 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10420
f85fa270
L
104212012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10422
10423 [BZ #14166]
10424 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10425 to __redirect_strstr.
10426 (__strstr_sse42): Use typeof __redirect_strstr.
10427 (__strstr_ia32): Likewise.
10428 (__libc_strstr): New prototype.
10429 (strstr): Renamed to ...
10430 (__libc_strstr): This.
10431 (strstr): New strong alias of __libc_strstr.
10432 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10433 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10434 __redirect_time.
10435 Include <time.h>.
10436 (__libc_time): New prototype.
10437 (time_ifunc): Replace time with __libc_time.
10438 (time): New strong alias and hidden definition of __libc_time.
10439 (__GI_time): Remove strong alias.
10440 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10441 Include <stddef.h>.
10442 (memmove): Redefined to __redirect_memmove.
10443 (__memmove_sse2): Use typeof __redirect_memmove.
10444 (__memmove_ssse3): Likewise.
10445 (__memmove_ssse3_back): Likewise.
10446 (__libc_memmove): New prototype.
10447 (memmove): Renamed to ...
10448 (__libc_memmove): This.
10449 (memmove): New strong alias of __libc_memmove.
10450
33b4a91e
MS
104512012-08-08 Mark Salter <msalter@redhat.com>
10452
10453 * elf/elf.h
10454 (R_MN10300_TLS_GD): Define.
10455 (R_MN10300_TLS_LD): Likewise.
10456 (R_MN10300_TLS_LDO): Likewise.
10457 (R_MN10300_TLS_GOTIE): Likewise.
10458 (R_MN10300_TLS_IE): Likewise.
10459 (R_MN10300_TLS_LE): Likewise.
10460 (R_MN10300_TLS_DTPMOD): Likewise.
10461 (R_MN10300_TLS_DTPOFF): Likewise.
10462 (R_MN10300_TLS_TPOFF): Likewise.
10463 (R_MN10300_SYM_DIFF): Likewise.
10464 (R_MN10300_ALIGN): Likewise.
10465 (R_MN10300_NUM): Update.
10466
b36137f1
JM
104672012-08-08 Joseph Myers <joseph@codesourcery.com>
10468
10469 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10470 Remove.
10471
cdd915fd
RM
104722012-08-08 Roland McGrath <roland@hack.frob.com>
10473
a2433aac
RM
10474 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10475
cdd915fd
RM
10476 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10477 sysdeps/unix -> sysdeps/posix move.
10478 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10479
bf9b740a
AM
104802012-08-07 Allan McRae <allan@archlinux.org>
10481
10482 [BZ #14303]
10483 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10484 (SUNOS_CPP): Likewise.
10485 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10486 not found.
10487 (open_input): Call CPP using execvp.
10488
93df14ee
JM
104892012-08-07 Joseph Myers <joseph@codesourcery.com>
10490
10491 * sysdeps/unix/sysv/linux/kernel-features.h
10492 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10493 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10494 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10495 (__ASSUME_WAITID_SYSCALL): Likewise.
10496 * sysdeps/unix/sysv/linux/dl-execstack.c
10497 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10498 code unconditional.
10499 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10500 conditional code.
10501 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10502 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10503 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10504 code.
10505 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10506 unconditional.
10507 [__ASSUME_WAITID_SYSCALL]: Likewise.
10508 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10509
d34689de
RM
105102012-08-07 Roland McGrath <roland@hack.frob.com>
10511
a281decc
RM
10512 * sysdeps/unix/closedir.c: Renamed to ...
10513 * sysdeps/posix/closedir.c: ... here.
10514 * sysdeps/unix/dirfd.c: Renamed to ...
10515 * sysdeps/posix/dirfd.c: ... here.
10516 * sysdeps/unix/dirstream.h: Renamed to ...
10517 * sysdeps/posix/dirstream.h: ... here.
10518 * sysdeps/unix/fdopendir.c: Renamed to ...
10519 * sysdeps/posix/fdopendir.c: ... here.
10520 * sysdeps/unix/opendir.c: Renamed to ...
10521 * sysdeps/posix/opendir.c: ... here.
10522 * sysdeps/unix/readdir.c: Renamed to ...
10523 * sysdeps/posix/readdir.c: ... here.
10524 * sysdeps/unix/readdir_r.c: Renamed to ...
10525 * sysdeps/posix/readdir_r.c: ... here.
10526 * sysdeps/unix/rewinddir.c: Renamed to ...
10527 * sysdeps/posix/rewinddir.c: ... here.
10528 * sysdeps/unix/seekdir.c: Renamed to ...
10529 * sysdeps/posix/seekdir.c: ... here.
10530 * sysdeps/unix/telldir.c: Renamed to ...
10531 * sysdeps/posix/telldir.c: ... here.
10532 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10533 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10534 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10535 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10536
22895b47
RM
10537 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10538 * bits/fcntl.h: ... here.
10539
707a53b6
RM
10540 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10541 not 0.
10542 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10543 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10544 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10545 (struct flock): Move l_start, l_len to the beginning.
10546 Use __pid_t for l_pid.
10547 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10548 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10549 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10550 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10551 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10552 [__USE_LARGEFILE64] (struct flock64): New type.
10553 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10554
f0bd3e25
RM
10555 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10556 * bits/dirent.h: ... here.
10557
d34689de
RM
10558 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10559 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10560
6dad2c06
JM
105612012-08-07 Joseph Myers <joseph@codesourcery.com>
10562
10563 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10564 Change from 2.6.0 to 2.6.16.
10565 * sysdeps/unix/sysv/linux/configure: Regenerated.
10566 * sysdeps/unix/sysv/linux/kernel-features.h
10567 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10568 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10569 version.
10570 (__ASSUME_UTIMES): Likewise.
10571 (__ASSUME_CLONE_STOPPED): Remove.
10572 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10573 architectures, not kernel version.
10574 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10575 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10576 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10577 (__ASSUME_WAITID_SYSCALL): Likewise.
10578 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10579 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10580 * README: State 2.6.16 as minimum Linux kernel version. Do not
10581 refer to older versions.
10582
03af9520
RM
105832012-08-06 Roland McGrath <roland@hack.frob.com>
10584
8e49df1d
RM
10585 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10586 Define alphasort64 as an alias.
10587 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10588 Define versionsort64 as an alias.
10589 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10590 Define scandir64 as an alias.
10591 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10592 Define scandirat64 as an alias.
10593 * dirent/alphasort64.c (alphasort64):
10594 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10595 * dirent/versionsort64.c: Likewise.
10596 * dirent/scandir64.c: Likewise.
10597 * dirent/scandirat64.c: Likewise.
10598 * sysdeps/wordsize-64/alphasort.c: File removed.
10599 * sysdeps/wordsize-64/alphasort64.c: File removed.
10600 * sysdeps/wordsize-64/scandir.c: File removed.
10601 * sysdeps/wordsize-64/scandir64.c: File removed.
10602 * sysdeps/wordsize-64/scandirat.c: File removed.
10603 * sysdeps/wordsize-64/scandirat64.c: File removed.
10604 * sysdeps/wordsize-64/versionsort.c: File removed.
10605 * sysdeps/wordsize-64/versionsort64.c: File removed.
10606 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10607 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10608 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10610 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10612 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10613 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10614
10615 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10617 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10618 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10619 [defined __arch64__ || defined __sparcv9]
10620 (__INO_T_MATCHES_INO64_T): New macro.
10621 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10622 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10623 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10624 * sysdeps/unix/sysv/linux/bits/dirent.h
10625 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10626 (_DIRENT_MATCHES_DIRENT64): New macro.
10627
03af9520
RM
10628 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10629 Define lockf64 as an alias.
10630 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10631 Define fseeko64 as an alias.
10632 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10633 Define ftello64 as an alias.
10634 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10635 Define _IO_fgetpos64 and fgetpos64 as aliases.
10636 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10637 Define _IO_fsetpos64 and fsetpos64 as aliases.
10638 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10639 Conditionalize body on this.
10640 * libio/fseeko64.c: Likewise.
10641 * libio/ftello64.c: Likewise.
10642 * libio/iofgetpos64.c: Likewise.
10643 * libio/iofsetpos64.c: Likewise.
10644 * sysdeps/wordsize-64/lockf.c: File removed.
10645 * sysdeps/wordsize-64/lockf64.c: File removed.
10646 * sysdeps/wordsize-64/fseeko.c: File removed.
10647 * sysdeps/wordsize-64/fseeko64.c: File removed.
10648 * sysdeps/wordsize-64/ftello.c: File removed.
10649 * sysdeps/wordsize-64/ftello64.c: File removed.
10650 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10651 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10652 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10653 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10654 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10655 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10656 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10657 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10658 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10659 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10660 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10661 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10662 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10663 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10664
10665 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10667 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10669 [defined __arch64__ || defined __sparcv9]
10670 (__OFF_T_MATCHES_OFF64_T): New macro.
10671 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10672 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10674 (__OFF_T_MATCHES_OFF64_T): New macro.
10675
c5757acd
L
106762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10677
10678 * stdlib/secure-getenv.c (__secure_getenv): Replace
10679 GLIBC_2_16 with GLIBC_2_17.
10680
3a31811e
L
106812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10682
10683 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10684 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10685
faa2bccb
DM
106862012-08-03 David S. Miller <davem@davemloft.net>
10687
10688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10689
85fe1997
JM
106902012-08-03 Joseph Myers <joseph@codesourcery.com>
10691
10692 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10693 Remove.
10694 (__ASSUME_CORRECT_SI_PID): Likewise.
10695 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10696 (__ASSUME_TMPFS_NAME): Likewise.
10697 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10698 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10699 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10700 (HAVE_AUX_SECURE): Make definition unconditional.
10701 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10702 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10703
4f75b7a0
RM
107042012-08-03 Roland McGrath <roland@hack.frob.com>
10705
10706 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10707 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10708 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10709 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10710 __eloop_threshold instead of SYMLOOP_MAX.
10711
10712 * sysdeps/generic/eloop-threshold.h: New file.
10713 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10714 of MAXSYMLINKS.
10715 * elf/chroot_canon.c (chroot_canon): Likewise.
10716
7aab07e4
JM
107172012-08-03 Joseph Myers <joseph@codesourcery.com>
10718
10719 [BZ #13717]
10720 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10721 Change to 2.6.0 everywhere.
10722 * sysdeps/unix/sysv/linux/configure: Regenerated.
10723 * sysdeps/unix/sysv/linux/kernel-features.h
10724 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10725 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10726 kernel versions.
10727 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10728 (__ASSUME_FUTEX_REQUEUE): Remove.
10729 (__ASSUME_STATFS64): Define unconditionally.
10730 (__ASSUME_AT_SECURE): Likewise.
10731 (__ASSUME_CORRECT_SI_PID): Likewise.
10732 (__ASSUME_TGKILL): Define without depending on kernel version for
10733 i386.
10734 (__ASSUME_UTIMES): Likewise.
10735 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10736 kernel version.
10737 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10738 (__ASSUME_TMPFS_NAME): Likewise.
10739 * README: Update reference to Linux kernel versions.
10740
b67e9372
MP
107412012-08-02 Marek Polacek <polacek@redhat.com>
10742
1f529f7d 10743 [BZ# 14150]
b67e9372
MP
10744 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10745 libc_cv_asm_type_prefix with %.
10746 * configure: Regenerated.
d2441631
RM
10747 * include/libc-symbols.h: Remove comment about
10748 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10749 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10750 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10751 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10752 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10753 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10754 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10755 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10756 * elf/tst-unique2mod1.c: Likewise.
10757 * elf/tst-unique1mod2.c: Likewise.
10758 * elf/tst-unique1mod1.c: Likewise.
10759 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10760 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10761 Replace ASM_TYPE_DIRECTIVE with .type.
10762 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10763 * sysdeps/i386/sysdep.h: Likewise.
10764 * sysdeps/x86_64/sysdep.h: Likewise.
10765 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10767 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10768 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10769 * sysdeps/powerpc/powerpc32/sysdep.h:
10770 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10771 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10772 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10773 * sysdeps/i386/fpu/e_powf.S: Likewise.
10774 * sysdeps/i386/fpu/e_expl.S: Likewise.
10775 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10776 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10777 * sysdeps/i386/fpu/e_pow.S: Likewise.
10778 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10779 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10780 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10781 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10782 * sysdeps/i386/fpu/e_log2.S: Likewise.
10783 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10784 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10785 * sysdeps/i386/fpu/e_powl.S: Likewise.
10786 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10787 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10788 * sysdeps/i386/fpu/e_logl.S: Likewise.
10789 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10790 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10791 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10792 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10793 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10794 * sysdeps/i386/fpu/e_log.S: Likewise.
10795 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10796 * sysdeps/i386/fpu/e_logf.S: Likewise.
10797 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10798 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10799 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10800 * sysdeps/i386/fpu/e_log10.S: Likewise.
10801 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10802 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10803 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10804 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10805 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10806 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10807 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10808 * sysdeps/i386/i686/strtok.S: Likewise.
10809 * sysdeps/i386/i386-mcount.S: Likewise.
10810 * sysdeps/i386/strtok.S: Likewise.
10811 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10813 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10814 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10815 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10816 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10817 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10818 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10819 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10820 * sysdeps/x86_64/_mcount.S: Likewise.
10821 * sysdeps/x86_64/strtok.S: Likewise.
10822 * sysdeps/sh/_mcount.S: Likewise.
10823
2747bf9a
RM
108242012-08-01 Roland McGrath <roland@hack.frob.com>
10825
10826 * libio/iofopen.c: Include <fcntl.h>.
10827 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10828 (_IO_fopen64, fopen64): Define as aliases.
10829 * libio/iofopen64.c: Include <fcntl.h>.
10830 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10831 Conditionalize body on this.
10832 * sysdeps/wordsize-64/iofopen.c: File removed.
10833 * sysdeps/wordsize-64/iofopen64.c: File removed.
10834
3fb791b8
MP
108352012-08-01 Marek Polacek <polacek@redhat.com>
10836
10837 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10838 Use dlfcn directly instead of a variable.
10839 (binfmt-subdir): Do not define.
10840 (dlfcn): Likewise.
10841
a9f1039f
JM
108422012-08-01 Joseph Myers <joseph@codesourcery.com>
10843
23bddc06
JM
10844 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10845 Remove all definitions.
10846 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10847 <kernel-features.h>.
10848 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10849 (miss_F_GETOWN_EX): Remove all definitions.
10850 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10851 macro definition.
10852 [!__ASSUME_FCNTL64]: Remove conditional code.
10853 [__ASSUME_FCNTL64]: Make code unconditional.
10854 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10855 <kernel-features.h>.
10856 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10857 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10858 (lockf64) [__NR_fcntl64]: Make code unconditional.
10859 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10860
a9f1039f
JM
10861 * sysdeps/unix/sysv/linux/kernel-features.h
10862 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10863 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10864 Make code unconditional.
10865 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10866 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10868 [__NR_vfork]: Make code unconditional.
10869 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10870 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10872 [__NR_vfork]: Make code unconditional.
10873 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10874 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10875
09c0ee5f
RM
108762012-08-01 Roland McGrath <roland@hack.frob.com>
10877
48aec5b9
RM
10878 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10879 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10880
cd97c966
RM
10881 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10882 Define mkstemp64 as an alias.
3f55550c
RM
10883 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10884 Define mkstemps64 as an alias.
cd97c966
RM
10885 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10886 Define mkostemp64 as an alias.
b8625cfc
RM
10887 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10888 Define mkostemps64 as an alias.
cd97c966
RM
10889 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10890 Conditionalize body on this.
10891 * misc/mkostemp64.c: Likewise.
b8625cfc 10892 * misc/mkostemps64.c: Likewise.
3f55550c 10893 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10894 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10895 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10896 * sysdeps/wordsize-64/mkostemp.c: File removed.
10897 * sysdeps/wordsize-64/mkstemp.c: File removed.
10898 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10899 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10900 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10901 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10902
09c0ee5f
RM
10903 [BZ #14138]
10904 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10905 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10906 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10907 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10908
10909 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10910 compat_symbol macros from <shlib-compat.h> rather than the underlying
10911 default_symbol_version and symbol_version macros, so that DEFAULT
10912 lines in shlib-versions are respected.
10913 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10914
7e66ee51
FW
109152012-08-01 Florian Weimer <fweimer@redhat.com>
10916
10917 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10918 Declare with warn_unused_result.
10919 (setgid, setregid, setegid, setresgid): Likewise.
10920 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10921 Likewise.
10922 * WUR-REPORT: Remove set*id functions.
10923
d2a54255
PT
109242012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10925
10926 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10927
7ecdb005
RM
109282012-07-31 Roland McGrath <roland@hack.frob.com>
10929
789bd351
RM
10930 * include/sys/socket.h (__libc_accept, __libc_accept4):
10931 Add attribute_hidden.
10932 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10933
40ce302d
RM
10934 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10935 use of PTR_MANGLE.
10936 * inet/getnetgrent_r.c (setup): Likewise.
10937
7ecdb005
RM
10938 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10939
e2eabb2c
DM
109402012-07-31 David S. Miller <davem@davemloft.net>
10941
10942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10943
d0419dbf
JM
109442012-07-31 Joseph Myers <joseph@codesourcery.com>
10945
10946 [BZ #13629]
10947 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10948 value between 1.0 and 2.0 and smaller part has absolute value less
10949 than 1.0.
10950 * math/s_clog10.c (__clog10): Likewise.
10951 * math/s_clog10f.c (__clog10f): Likewise.
10952 * math/s_clog10l.c (__clog10l): Likewise.
10953 * math/s_clogf.c (__clogf): Likewise.
10954 * math/s_clogl.c (__clogl): Likewise.
10955 * math/libm-test.inc (clog_test): Add more tests.
10956 (clog10_test): Likewise.
10957 * sysdeps/i386/fpu/libm-test-ulps: Update.
10958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10959
2bc13872
FW
109602012-07-31 Florian Weimer <fweimer@redhat.com>
10961
10962 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10963 Exit with zero in case no suitable GID is found, and write a
10964 message to standard error.
10965
bea9b193
RM
109662012-07-30 Roland McGrath <roland@hack.frob.com>
10967
10968 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10969 rather than to 1.
10970 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10971 (MAXPATHLEN): Removed.
10972 (NOGROUP, NODEV): New macros.
10973 (setbit, clrbit, isset, isclr): New macros.
10974 (howmany, roundup, powerof2): New macros.
10975 (DEV_BSIZE): New macro.
10976
10977 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10978 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10979
10980 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10981 definition on [!__NO_LONG_DOUBLE_MATH].
10982
10983 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10984 PTR_MANGLE and PTR_DEMANGLE.
10985
10986 * socket/accept4.c (accept4): Rename to __libc_accept4.
10987 Define accept4 as a weak alias.
10988
10989 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10990 on [_DIRENT_HAVE_D_TYPE].
10991 * io/ftw.c (ftw_dir): Likewise.
10992
10993 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10994
10995 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10996
10997 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10998 Use the BSD numbers rather than the arbitrary ones we had.
10999 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11000 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11001 (SIGXCPU, SIGXFSZ): New macros.
11002 (_NSIG): Now 32.
11003
11004 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11005 initializer on [_LIBC_REENTRANT].
11006
11007 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11008 definitions inside [_POSIX_MAPPED_FILES].
11009
11010 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11011
11012 * dirent/opendir.c: Include <fcntl.h>.
11013
11014 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11015 (__libc_getspecific): Likewise.
11016 (__libc_key_create): Likewise.
11017
11018 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11019 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11020 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11021 (tmpfile64): Define as alias.
11022 * sysdeps/wordsize-64/tmpfile.c: File removed.
11023 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11024 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11025 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11026
11027 * stdio-common/vfscanf.c: Include <stdbool.h>.
11028 * nss/makedb.c: Likewise.
11029 * stdio-common/_i18n_number.h: Likewise.
11030 * argp/argp-help.c: Likewise.
11031 * posix/wordexp.c: Likewise.
11032 * sysdeps/posix/spawni.c: Likewise.
11033 * nss/nss_files/files-initgroups.c: Likewise.
11034 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11035 * nss/nss_files/files-initgroups.c: Likewise.
11036 * nss/nss_db/db-netgrp.c: Likewise.
11037 * nss/nss_db/db-initgroups.c: Likewise.
11038 * io/fchmodat.c: Include <sys/stat.h>.
11039
11040 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11041 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11042
11043 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11044 [HAVE_MMAP].
11045
11046 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11047 Add multiple inclusion protection.
11048
e5abc686
DM
110492012-07-27 David S. Miller <davem@davemloft.net>
11050
11051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11052
815e6fa3
GB
110532012-07-27 Gary Benson <gbenson@redhat.com>
11054
11055 [BZ #14298]
11056 * elf/rtld.c: Include <stap-probe.h>.
11057 (dl_main): Added static probes "init_start" and "init_complete".
11058 * elf/dl-load.c: Include <stap-probe.h>.
11059 (lose): Take new parameter "nsid".
11060 Added static probe "map_failed".
11061 (_dl_map_object_from_fd): Pass namespace id to lose.
11062 Added static probe "map_start".
11063 (open_verify): Pass namespace id to lose.
11064 * elf/dl-open.c: Include <stap-probe.h>.
11065 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11066 and "reloc_complete".
11067 * elf/dl-close.c: Include <stap-probe.h>.
11068 (_dl_close_worker): Added static probes "unmap_start" and
11069 "unmap_complete".
11070 * elf/rtld-debugger-interface.txt: New file documenting the above.
11071
9f98c16c
RM
110722012-07-26 Roland McGrath <roland@hack.frob.com>
11073
11074 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11075 rather than a string variable.
11076 * sunrpc/rpc_main.c (h_output): Likewise.
11077 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11078
f3c22df3
PT
110792012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11080
11081 * inet/check_native.c: New file.
11082
3129cfc6
JM
110832012-07-26 Joseph Myers <joseph@codesourcery.com>
11084
da865e95
JM
11085 [BZ #13629]
11086 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11087 if larger part has absolute value 1.0.
11088 * math/s_clog10.c (__clog10): Likewise.
11089 * math/s_clog10f.c (__clog10f): Likewise.
11090 * math/s_clog10l.c (__clog10l): Likewise.
11091 * math/s_clogf.c (__clogf): Likewise.
11092 * math/s_clogl.c (__clogl): Likewise.
11093 * math/libm-test.inc (clog_test): Add more tests.
11094 (clog10_test): Likewise.
11095 * sysdeps/i386/fpu/libm-test-ulps: Update.
11096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11097
3129cfc6
JM
11098 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11099 (pltexit): Likewise.
11100 (La_regs): Likewise.
11101 (La_retval): Likewise.
11102 (int_retval): Likewise.
11103 Update #error for removed macros to refer only to definitions in
11104 tst-audit.h.
11105 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11106 macro.
11107 (pltexit): Likewise.
11108 (La_regs): Likewise.
11109 (La_retval): Likewise.
11110 (int_retval): Likewise.
11111 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11112 macro.
11113 (pltexit): Likewise.
11114 (La_regs): Likewise.
11115 (La_retval): Likewise.
11116 (int_retval): Likewise.
11117 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11118 macro.
11119 (pltexit): Likewise.
11120 (La_regs): Likewise.
11121 (La_retval): Likewise.
11122 (int_retval): Likewise.
11123 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11124 macro.
11125 (pltexit): Likewise.
11126 (La_regs): Likewise.
11127 (La_retval): Likewise.
11128 (int_retval): Likewise.
11129 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11130 macro.
11131 (pltexit): Likewise.
11132 (La_regs): Likewise.
11133 (La_retval): Likewise.
11134 (int_retval): Likewise.
11135 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11136 macro.
11137 (pltexit): Likewise.
11138 (La_regs): Likewise.
11139 (La_retval): Likewise.
11140 (int_retval): Likewise.
11141 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11142 macro definitions in tst-audit.h.
11143 * sysdeps/i386/tst-audit.h: New file.
11144 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11145 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11146 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11147 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11148 * sysdeps/sh/tst-audit.h: Likewise.
11149 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11150 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11151 * sysdeps/x86_64/tst-audit.h: Likewise.
11152
bfc07087
AJ
111532012-07-26 Andreas Jaeger <aj@suse.de>
11154
b1b2aaf8
AJ
11155 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11156 ptrace.
11157
11158 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11159 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11160 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11161 PTRACE_O_MASK.
11162 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11163 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11164 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11165
bfc07087
AJ
11166 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11167 value.
11168
11169 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11170 _sigsys.
11171 (si_call_addr, si_syscall, si_arch): Define new macro.
11172 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11173 _sigsys.
11174 (si_call_addr, si_syscall, si_arch): Define new marcro.
11175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11176 _sigsys.
11177 (si_call_addr, si_syscall, si_arch): Define new macro.
11178 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11179 _sigsys.
11180 (si_call_addr, si_syscall, si_arch): Define new macro.
11181
89b4b02f
JM
111822012-07-25 Joseph Myers <joseph@codesourcery.com>
11183
11184 [BZ #13717]
11185 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11186 Change to 2.4.21 where previously 2.4.1.
11187 * sysdeps/unix/sysv/linux/configure: Regenerated.
11188 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11189 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11190 Linux kernel version.
11191 (__ASSUME_STD_AUXV): Remove.
11192 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11193 kernel version.
11194 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11195 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11196 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11197 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11198 (__ASSUME_NETLINK_SUPPORT): Likewise.
11199 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11200 (__no_netlink_support): Remove conditional definition.
11201 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11202 Remove.
11203 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11204 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11205 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11206 (if_nameindex_ioctl): Remove.
11207 (if_nameindex_netlink): Do not handle __no_netlink_support.
11208 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11209 code.
11210 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11211 Remove conditional code.
11212 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11213 code.
11214 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11215 unconditional.
11216 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11217 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11218 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11219 Remove.
11220 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11221 [!__ASSUME_STD_AUXV]: Remove conditional code.
11222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11223 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11224 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11226 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11227 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11228 code.
11229 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11231 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11232 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11233 conditional code.
11234 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11236 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11237 code.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11239 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11240 conditional code.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11242 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11243 code unconditional.
11244 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11245 conditional code.
11246 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11247 unconditional.
11248 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11249 conditional code.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11251 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11252 unconditional.
11253 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11254 conditional code.
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11256 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11257 code unconditional.
11258 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11259 conditional code.
11260 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11261 unconditional.
11262 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11263 conditional code.
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11265 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11266 code unconditional.
11267 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11268 conditional code.
11269 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11270 unconditional.
11271 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11272 conditional code.
11273
842a39cd
AS
112742012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11275
11276 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11277 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11278 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11279 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11280 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11281 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11282 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11283 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11284 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11285 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11286 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11287 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11288 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11289 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11290 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11291 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11292 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11293 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11294 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11296 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11297 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11298 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11299
84b3fd84
FW
113002012-07-25 Florian Weimer <fweimer@redhat.com>
11301
11302 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11303 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11304 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11305 Introduce __libc_secure_getenv.
0c7936d5
FW
11306 * stdlib/Versions (2.17): Add secure_getenv
11307 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11308 * stdlib/secure-getenv.c: Rename __secure_getenv to
11309 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11310 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11311 * stdlib/tst-secure-getenv.c: New.
11312 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11313 * manual/startup.texi (Environment Access): Document
11314 secure_getenv.
84b3fd84
FW
11315 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11316 __libc_secure_getenv.
11317 * inet/ruserpass.c (ruserpass): Likewise.
11318 * malloc/mtrace.c (mtrace): Likewise.
11319 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11320 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11321 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11322 * sysdeps/posix/tempname.c: Likewise. Evaluate
11323 HAVE_SECURE_GETENV.
11324 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11325 __secure_getenv to __libc_secure_getenv.
84b3fd84 11326 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11328 Likewise.
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11330 Likewise.
11331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11333 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11338
56e49b71
JM
113392012-07-25 Joseph Myers <joseph@codesourcery.com>
11340
11341 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11342 (struct La_i86_retval): Likewise.
11343 (struct La_x86_64_regs): Likewise.
11344 (struct La_x86_64_retval): Likewise.
11345 (struct La_x32_regs): Likewise.
11346 (struct La_x32_retval): Likewise.
11347 (struct La_ppc32_regs): Likewise.
11348 (struct La_ppc32_retval): Likewise.
11349 (struct La_ppc64_regs): Likewise.
11350 (struct La_ppc64_retval): Likewise.
11351 (struct La_sh_regs): Likewise.
11352 (struct La_sh_retval): Likewise.
11353 (struct La_s390_32_regs): Likewise.
11354 (struct La_s390_32_retval): Likewise.
11355 (struct La_s390_64_regs): Likewise.
11356 (struct La_s390_64_retval): Likewise.
11357 (struct La_sparc32_regs): Likewise.
11358 (struct La_sparc32_retval): Likewise.
11359 (struct La_sparc64_regs): Likewise.
11360 (struct La_sparc64_retval): Likewise.
11361 (struct audit_ifaces): Remove architecture-specific pltenter and
11362 pltexit members.
11363 * sysdeps/i386/ldsodefs.h: New file.
11364 * sysdeps/powerpc/ldsodefs.h: Likewise.
11365 * sysdeps/s390/ldsodefs.h: Likewise.
11366 * sysdeps/sh/ldsodefs.h: Likewise.
11367 * sysdeps/sparc/ldsodefs.h: Likewise.
11368 * sysdeps/x86_64/ldsodefs.h: Likewise.
11369
354691b7
MP
113702012-07-25 Marek Polacek <polacek@redhat.com>
11371
11372 [BZ #6808]
11373 * math/libm-test.inc (yn_test): Add another test.
11374 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11375 to ERANGE when the result is +-Inf.
11376 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11377 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11378 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11379 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11380
bf9e2071
JM
113812012-07-24 Joseph Myers <joseph@codesourcery.com>
11382
11383 * conform/data/time.h-data (NULL): Use macro-constant. Require
11384 equal to 0.
11385 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11386 clock_t.
11387 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11388
57633811
TS
113892012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11390
11391 * configure.in <sysdeps resolving>: Correct printing
11392 Implies_before.
11393 * configure: Regenerate.
11394
c23c33b0
TS
113952012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11396
11397 * math/w_ilogb.c: Include <limits.h>.
11398 * math/w_ilogbl.c: Likewise.
11399
b5982523
JM
114002012-07-20 Joseph Myers <joseph@codesourcery.com>
11401
11402 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11403 va_copy. Document allowing for unavailable va_copy only as
11404 pre-C99 compatibility.
11405 * manual/string.texi (Copying and Concatenation): Use va_copy
11406 instead of __va_copy in concat example.
11407
ac4ea442
PT
114082012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11409
11410 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11411 (__sendto): Use create_address_port. Initialize APORT and deallocate
11412 it if not null.
11413
f98eafbd
PT
11414 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11415 with O_NOLINK passed to __file_name_lookup.
11416
898c7aab
PT
11417 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11418 with O_NOLINK passed to __file_name_lookup.
11419
0ced335a
PT
11420 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11421 negative N or less than NGIDS.
11422
b3404dbd
PT
11423 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11424 type to string_t. Set ERANGE as errno and return it if NAME is not big
11425 enough. Use memcpy instead of strncpy.
11426
0f48659e
JM
114272012-07-20 Joseph Myers <joseph@codesourcery.com>
11428
11429 * elf/Makefile (check-data): Remove.
11430 (localplt.data): New vpath directive.
11431 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11432 instead of $(check-data).
11433 * scripts/data/localplt-generic.data: Move to ...
11434 * sysdeps/generic/localplt.data: ... here.
11435 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11436 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11437 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11439 ... here.
11440 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11442 ... here.
11443 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11445 ... here.
11446 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11448 ... here.
11449 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11451 ... here.
11452 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11454 ... here.
11455
d37cbdaa
AZ
114562012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11457
11458 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11459 PPC32 and PPC64 files.
11460 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11461 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11462
46f85fc2
AK
114632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11464
11465 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11466 __makecontext_ret to ...
11467 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11468 ... here and call exit if uc_link is NULL. New file.
11469 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11470 __makecontext_ret.S.
11471 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11472 __makecontext_ret to ...
11473 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11474 ... here and call exit if uc_link is NULL. New file.
11475 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11476 __makecontext_ret.S.
11477
08f43f9b
AK
114782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11479
11480 * elf/elf.h (R_390_IRELATIVE): New definition.
11481 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11482 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11483 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11484 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11485 (elf_machine_lazy_rel): Likewise.
11486 * sysdeps/s390/dl-irel.h: New file.
11487 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11488 * sysdeps/s390/s390-64/memset.S: New asm code.
11489 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11490 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11491 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11492 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11493 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11494 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11495 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11496 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11497 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11498 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11499 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11500 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11501 * sysdeps/s390/s390-32/memset.S: New asm code.
11502 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11503
3b05db33
MP
115042012-07-17 Marek Polacek <polacek@redhat.com>
11505
11506 [BZ #14349]
11507 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11508 * sysdeps/s390/s390-64/configure.in: Likewise.
11509 * sysdeps/sparc/configure.in: Likewise.
11510 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11511 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11512 * sysdeps/i386/configure.in: Likewise.
11513 * sysdeps/x86_64/configure.in: Likewise.
11514 * sysdeps/sh/configure.in: Likewise.
11515 * sysdeps/s390/s390-32/configure: Regenerated.
11516 * sysdeps/s390/s390-64/configure: Likewise.
11517 * sysdeps/x86_64/configure: Likewise.
11518 * sysdeps/sh/configure: Likewise.
11519 * sysdeps/powerpc/powerpc64/configure: Likewise.
11520 * sysdeps/powerpc/powerpc32/configure: Likewise.
11521 * sysdeps/sparc/configure: Likwise.
11522 * sysdeps/i386/configure: Likewise.
11523
a66877c6
MP
11524 * elf/dl-open.c: Comment fixes.
11525
cfc82fd8
JM
115262012-07-17 Joseph Myers <joseph@codesourcery.com>
11527
bd29910a
JM
11528 * Makefile [CXX] (check-data): Remove.
11529 [CXX] (c++-types.data): New vpath directive.
11530 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11531 vpath. Do not allow for C++ type data being missing.
11532 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11533 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11534 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11535 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11536 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11537 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11538 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11540 ... here.
11541 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11543 ... here.
11544 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11546 ... here.
11547 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11549 ... here.
11550 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11552 ... here.
11553 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11555 ... here.
11556 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11558 ... here.
11559 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11561
cfc82fd8
JM
11562 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11563 definitions to architecture-specific files.
11564 (TLS_IE): Likewise.
11565 (TLS_LD): Likewise.
11566 (TLS_GD): Likewise.
11567 * sysdeps/i386/tls-macros.h: New file.
11568 * sysdeps/powerpc/tls-macros.h: Likewise.
11569 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11570 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11571 * sysdeps/sh/tls-macros.h: Likewise.
11572 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11573 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11574 * sysdeps/x86_64/tls-macros.h: Likewise.
11575
f7db3170
TS
115762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11577
07cbfc23
TS
11578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11579 zero value for regular exit case.
11580
f7db3170
TS
11581 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11582 (__start_context): Preserve zero value for regular exit case.
11583
dc97c227
TS
115842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11585 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11586
11587 * manual/setjmp.texi (setcontext): Clarify normal process
11588 termination when uc_link is the null pointer.
11589 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11590 exit call.
11591
d0cd7d02
AS
115922012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11593
11594 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11595 preprocessor. Test for each exception mask separately.
11596
dd318934
AJ
115972012-07-16 Andreas Jaeger <aj@suse.de>
11598
11599 * po/ru.po: Update from translation team.
11600
8048311a
JM
116012012-07-15 Joseph Myers <joseph@codesourcery.com>
11602
11603 * conform/data/string.h-data (NULL): Use macro-constant. Require
11604 equal to 0.
11605 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11606 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11607 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11608 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11609 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11610
b637d46e
AJ
116112012-07-13 Andreas Jaeger <aj@suse.de>
11612
11613 * po/fr.po: Update from translation team.
11614
541428fe
MP
116152012-07-12 Marek Polacek <polacek@redhat.com>
11616
11617 [BZ #14173]
11618 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11619 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11620 loop condition.
11621
ec332e94
JM
116222012-07-12 Joseph Myers <joseph@codesourcery.com>
11623
11624 [BZ #13717]
11625 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11626 Change to 2.4.1 where previously 2.4.0.
11627 * sysdeps/unix/sysv/linux/configure: Regenerated.
11628 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11629 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11630 version.
11631 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11632 (__ASSUME_AT_CLKTCK): Remove.
11633 (__ASSUME_AT_PAGESIZE): Likewise.
11634 (__ASSUME_AT_XID): Likewise.
11635 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11636 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11637 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11638 unconditionally.
11639 (HAVE_AUX_PAGESIZE): Likewise.
11640 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11641 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11642 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11643
7b6e99be
JB
116442012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11645
11646 [BZ #14307]
11647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11648 the temporary buffer used to invoke __gethostbyname2_r,
11649 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11650 host_data / struct gaih_addrtuple.
11651 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11652 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11653 header file nss/nsswitch.h.
11654 * nss/nsswitch.h (global scope): Add definition of implementation
11655 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11656 resolv/nss_dns/dns-host.c).
11657
608404eb
AJ
116582012-07-11 Andreas Jaeger <aj@suse.de>
11659
11660 * po/fr.po: Update from translation team.
11661
71220aca
AJ
11662 * po/sv.po: Update from translation team
11663 * po/fr.po: Another update from translation team.
11664
28cfe843
AZ
116652012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11666
11667 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11668 for subnormals or multiply small sinh result by itself.
11669 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11671
6b90f981
DM
116722012-07-11 David S. Miller <davem@davemloft.net>
11673
11674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11675
c6825772
AS
116762012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11677
11678 [BZ #14347]
11679 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11680 (INTERNAL_MARK): Shift it here.
11681
7b8e0d49
MP
116822012-07-10 Marek Polacek <polacek@redhat.com>
11683
11684 [BZ #14151]
11685 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11686 libc_cv_asm_global_directive with .globl.
11687 * configure: Regenerated.
11688 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11689 with .globl.
11690 * sysdeps/i386/configure: Regenerated.
11691 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11692 with .globl.
11693 * sysdeps/x86_64/configure: Regenerated.
11694 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11695 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11696 * elf/tst-unique2mod2.c: Likewise.
11697 * elf/tst-unique2mod1.c: Likewise.
11698 * elf/tst-unique1mod2.c: Likewise.
11699 * elf/tst-unique1mod1.c: Likewise.
11700 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11701 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11702 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11703 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11704 * sysdeps/mach/sysdep.h: Likewise.
11705 * sysdeps/i386/sysdep.h: Likewise.
11706 * sysdeps/i386/i386-mcount.S: Likewise.
11707 * sysdeps/x86_64/_mcount.S: Likewise.
11708 * sysdeps/x86_64/sysdep.h: Likewise.
11709 * sysdeps/sh/_mcount.S: Likewise.
11710 * sysdeps/sh/sysdep.h: Likewise.
11711 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11712 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11713 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11714 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11715 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11716 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11717 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11718 * locale/localeinfo.h: Likewise.
11719 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11720 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11721
6c55cda3
RM
117222012-07-09 Roland McGrath <roland@hack.frob.com>
11723
11724 [BZ #14336]
11725 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11726 system".
11727 * manual/message.texi (The Uniforum approach): Likewise.
11728 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11729 (glibc iconv Implementation): Likewise.
11730
638a572e
JM
117312012-07-09 Joseph Myers <joseph@codesourcery.com>
11732
11733 [BZ #14337]
11734 * math/s_clog.c (__clog): Avoid scaling a value down where that
11735 could result in underflow.
11736 * math/s_clog10.c (__clog10): Likewise.
11737 * math/s_clog10f.c (__clog10f): Likewise.
11738 * math/s_clog10l.c (__clog10l): Likewise.
11739 * math/s_clogf.c (__clogf): Likewise.
11740 * math/s_clogl.c (__clogl): Likewise.
11741 * math/libm-test.inc (clog_test): Add more tests.
11742 (clog10_test): Likewise.
11743 * sysdeps/i386/fpu/libm-test-ulps: Update.
11744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11745
261f4859
AS
117462012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11747
0abaf3e4
AS
11748 [BZ #14283]
11749 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11750 by 7 not 8 to examine high bit of fractional part.
11751
261f4859
AS
11752 [BZ #14042]
11753 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11754 for call to __mcount_internal.
11755 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11756 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11757 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11758
f17ac40d
JM
117592012-07-06 Joseph Myers <joseph@codesourcery.com>
11760
9ad63c23
JM
11761 [BZ #14154]
11762 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11763 approximation for values within 0x1p-13f of an odd multiple of
11764 pi/4.
11765 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11766 exception. Add more tests.
11767 * sysdeps/i386/fpu/libm-test-ulps: Update.
11768
f17ac40d
JM
11769 [BZ #6778]
11770 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11771 inputs and return -1 for them. Do not check for +Inf in case not
11772 reachable for +Inf.
11773 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11774 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11775 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11776 and return -1 for them. Do not check for +Inf in case not
11777 reachable for +Inf.
11778 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11779 define.
11780 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11781 and return -1 for them. Do not check for +Inf in case not
11782 reachable for +Inf.
11783 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11784 spurious underflow.
11785 * sysdeps/i386/fpu/libm-test-ulps: Update.
11786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11787
fb21f89b
MF
117882012-07-06 Mike Frysinger <vapier@gentoo.org>
11789
11790 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11791
cdfe2c5e
JM
117922012-07-05 Joseph Myers <joseph@codesourcery.com>
11793
11794 [BZ #14157]
11795 [BZ #14331]
11796 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11797 could result in spurious underflow. Scale down values above
11798 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11799 * math/s_csqrtf.c (__csqrtf): Likewise.
11800 * math/s_csqrtl.c (__csqrtl): Likewise.
11801 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11802 spurious underflow.
11803 * sysdeps/i386/fpu/libm-test-ulps: Update.
11804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11805
70d35b67
AS
118062012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11807
704bc459
AS
11808 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11809 xopen-msg.sed.
11810 * catgets/xopen-msg.awk: New file.
11811 * catgets/xopen-msg.sed: Removed.
11812
70d35b67
AS
11813 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11814 po2text.sed.
11815 * intl/po2test.awk: New file.
11816 * intl/po2test.sed: Removed.
11817
ca61cf32
JM
118182012-07-04 Joseph Myers <joseph@codesourcery.com>
11819
11820 [BZ #14328]
11821 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11822 or multiply small sinh result by itself.
11823 * math/s_ctanf.c (__ctanf): Likewise.
11824 * math/s_ctanh.c (__ctanh): Likewise.
11825 * math/s_ctanhf.c (__ctanhf): Likewise.
11826 * math/s_ctanhl.c (__ctanhl): Likewise.
11827 * math/s_ctanl.c (__ctanl): Likewise.
11828 * math/libm-test.inc (ctan_test_tonearest): New function.
11829 (ctan_test_towardzero): Likewise.
11830 (ctan_test_downward): Likewise.
11831 (ctan_test_upward): Likewise.
11832 (ctanh_test_tonearest): Likewise.
11833 (ctanh_test_towardzero): Likewise.
11834 (ctanh_test_downward): Likewise.
11835 (ctanh_test_upward): Likewise.
11836 (main): Call these new functions.
11837 * sysdeps/i386/fpu/libm-test-ulps: Update.
11838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11839
ca48a46a
MF
118402012-07-03 Mike Frysinger <vapier@gentoo.org>
11841
11842 * .gitignore: Delete /ports entry.
11843
9d63d37d
AJ
118442012-07-03 Andreas Jaeger <aj@suse.de>
11845
11846 * po/bg.po: Update from translation team.
11847 * po/cs.po: Likewise.
11848 * po/de.po: Likewise.
11849 * po/hr.po: Likewise.
11850 * po/nl.pl: Likewise.
11851 * po/pl.po: Likewise.
11852 * po/vi.po: Likewise.
11853
370ca3d2
JM
118542012-07-03 Joseph Myers <joseph@codesourcery.com>
11855
95f5a9a8
JM
11856 * Makeconfig [!+link] (+link-before-libc): New variable.
11857 [!+link] (+link-after-libc): Likewise.
11858 [!+link] (+link-tests): Likewise.
11859 [!+link] (+link): Define in terms of $(+link-before-libc) and
11860 $(+link-after-libc).
11861 [!+link-static] (+link-static-before-libc): New variable.
11862 [!+link-static] (+link-static-after-libc): Likewise.
11863 [!+link-static] (+link-static-tests): Likewise.
11864 [!+link-static] (+link-static): Define in terms of
11865 $(+link-static-before-libc) and $(+link-static-after-libc).
11866 [build-shared] (link-libc-before-gnulib): New variable.
11867 [build-shared] (link-libc-tests): Likewise.
11868 [build-shared] (link-libc): Define in terms of
11869 $(link-libc-before-gnulib).
11870 [!build-shared] (link-libc-tests): New variable.
11871 (link-libc-static-tests): New variable.
11872 [!gnulib] (gnulib-arch): New variable.
11873 [!gnulib] (gnulib-tests): Likewise.
11874 [!gnulib] (static-gnulib-arch): Likewise.
11875 [!gnulib] (static-gnulib-tests): Likewise.
11876 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11877 Define with "=" instead of ":=".
11878 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11879 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11880 * Rules (binaries-all-notests): New variable.
11881 (binaries-all-tests): Likewise.
11882 (binaries-static-notests): Likewise.
11883 (binaries-static-tests): Likewise.
11884 (binaries-all): Define using $(binaries-all-notests) and
11885 $(binaries-all-tests).
11886 (binaries-static): Define using $(binaries-static-notests) and
11887 $(binaries-static-tests).
11888 (binaries-shared-tests): New variable.
11889 (binaries-shared-notests): Likewise.
11890 (binaries-shared): Remove variable.
11891 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11892 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11893 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11894 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11895 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11896 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11897 * elf/Makefile (sln-modules): New variable.
11898 (extra-objs): Add $(sln-modules:=.o).
11899 (ldconfig-modules): Add static-stubs.
11900 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11901 * elf/static-stubs.c: New file.
11902
7a845b2c
JM
11903 [BZ #14283]
11904 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11905 by 7 not 8 to examine high bit of fractional part. Use volatile
11906 variables when splitting into final array of floats if
11907 __FLT_EVAL_METHOD__ != 0.
11908 * math/libm-test.inc (cos_test): Add another test.
11909 (sin_test): Likewise.
11910 * sysdeps/i386/fpu/libm-test-ulps: Update.
11911
e2283f38
JM
11912 [BZ #14273]
11913 * math/libm-test.inc (cosh_test): Add more tests.
11914
370ca3d2
JM
11915 * version.h (RELEASE): Set to "development".
11916 (VERSION): Set to "2.16.90".
11917
ee9247c3
CD
119182012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11919
11920 * NEWS: Update copyright. Remove last-updated date.
11921 Mention math library bug fixes and timezone data changes.
11922 * README: Mention GNU/Hurd, x32, and HPPA support status.
11923
4648c381
TS
119242012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11925
11926 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11927
aac78a43
AJ
119282012-06-27 Andreas Jaeger <aj@suse.de>
11929
11930 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11931
ed3dbfad
AJ
119322012-06-25 Andreas Jaeger <aj@suse.de>
11933
11934 * sysdeps/s390/fpu/libm-test-ulps: Update.
11935
4d0ee855
AS
119362012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11937 Thomas Schwinge <thomas@codesourcery.com>
11938
11939 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11940 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11941 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11942 fanotify_mark.
11943
af1bce34
TS
119442012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11945
a9fa33ba
TS
11946 * sysdeps/mach/start.c: Remove file.
11947 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11948 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11949 * sysdeps/sh/init-first.c: Likewise.
11950
58f902b8
TS
11951 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11952 registers for frame unwinding purposes, add CFI directives.
11953 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11954 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11955 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11956 Likewise.
11957
1518f58b
TS
11958 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11959 __fortify_fail returning.
11960 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11961
db9b5059
TS
11962 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11963 sysdeps/sh/____longjmp_chk.S.
11964 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11965 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11966 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11967 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11968
967705fe
TS
11969 * sysdeps/sh/abort-instr.h: New file.
11970 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11971 process in case exit returns.
11972
a9def8c4
TS
11973 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11974 initialize the GOT register before use.
11975
2a649725
TS
11976 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11977 calculation of ARGC > 4.
11978
af1bce34
TS
11979 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11980 meaningful names to some local labels.
11981
d230f50a
KK
119822012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11983 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11984
11985 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11986 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11987 (__arch_compare_and_exchange_val_16_acq): Likewise.
11988 (__arch_compare_and_exchange_val_32_acq): Likewise.
11989 (atomic_exchange_and_add): Fix gUSA sequence.
11990 (atomic_add): Likewise.
11991 (atomic_add_negative): Likewise.
11992 (atomic_add_zero): Likewise.
11993 (atomic_bit_test_set): Likewise.
11994
0479b305
AS
119952012-06-22 Andreas Schwab <schwab@redhat.com>
11996
11997 [BZ #13579]
11998 * include/link.h (struct link_map): Add l_free_initfini.
11999 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12000 l_initfini.
12001 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12002 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12003 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12004 set.
12005
0e3933b9
CD
120062012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12007
12008 * configure.in: Use AC_LANG_SOURCE.
12009 * configure: Regenerate.
12010
4248b1b1
RM
120112012-06-22 Roland McGrath <roland@hack.frob.com>
12012
12013 * configure.in (libc_cv_localstatedir): New substituted variable.
12014 * configure: Regenerated.
12015 * config.make.in (localstatedir): New variable, substituted from
12016 libc_cv_localstatedir.
12017 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12018 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12019 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12020 * sysdeps/gnu/configure: Regenerated.
12021
006dd861
JL
120222012-06-21 Jeff Law <law@redhat.com>
12023
12024 [BZ #14277]
12025 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12026 free. Simplify list management for _LIBC case.
12027
79662d42
JM
120282012-06-21 Joseph Myers <joseph@codesourcery.com>
12029
b7abb4bf
JM
12030 [BZ #14273]
12031 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12032 Clear sign bit of 64-bit integer value before comparing against
12033 overflow value.
12034
79662d42
JM
12035 * sysdeps/mach/configure: Regenerated.
12036
1f150908
L
120372012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12038
12039 [BZ #14278]
12040 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12041
28363bbf
JL
120422012-06-21 Jeff Law <law@redhat.com>
12043
12044 [BZ #13882]
12045 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12046 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12047 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12048 * elf/dl-open.c (dl_open_worker): Likewise.
12049
09615db4
CD
120502012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12051
12052 * scripts/list-sources.sh: Scan PORTS for translations.
12053 * po/libc.pot: Regenerated.
12054
2174c6dd
AJ
120552012-06-21 Andreas Jaeger <aj@suse.de>
12056
12057 [BZ #12194]
12058 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12059 warning.
12060 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12061 * bits/byteswap-16.h (__bswap_16): Likewise.
12062 * bits/byteswap.h (__bswap_constant_16): Likewise.
12063
3ee947b1
L
120642012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12065
12066 [BZ #14117]
a2f34833
L
12067 * sysdeps/i386/fpu_control.h: Removed.
12068 * sysdeps/x86_64/fpu_control.h: Moved to ...
12069 * sysdeps/x86/fpu_control.h: Here.
12070
3ee947b1
L
12071 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12072 (_FPU_SETCW): Likewise.
12073
ed1825f8
L
120742012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12075
25f1282a
L
12076 [BZ #14117]
12077 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12078 * sysdeps/x86/fpu/bits/mathinline.h: This.
12079 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12080
ed1825f8
L
12081 [BZ #14050]
12082 [BZ #14117]
12083 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12084 functions if __x86_64__ is defined.
12085
36d54b74
CLT
120862012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12087
12088 * string/endian.h: Add !__ASSEMBLER__ condition for including
12089 conversion interfaces.
12090
10285c21
JM
120912012-06-15 Joseph Myers <joseph@codesourcery.com>
12092
12093 [BZ #14241]
12094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12095 of ABS(x) in calculating zero to negative powers other than odd
12096 integers.
12097 * math/libm-test.inc (pow_test): Add more tests.
12098
06c5abbd
AJ
120992012-06-15 Andreas Jaeger <aj@suse.de>
12100
12101 * manual/contrib.texi (Contributors): Update entry of Liubov
12102 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12103 Machado Filho.
12104
a3aeac40
CH
121052012-06-15 Cyril Hrubis <metan@ucw.cz>
12106
12107 * string/string.h: Add __wur to GNU version of strerror_r.
12108
49bdf4c1
L
121092012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12110
12111 [BZ #14229]
12112 * string/Makefile (tests): Add tst-strtok_r.
12113 * string/tst-strtok_r.c: New file.
12114 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12115 RAX_LP/RDX_LP on SAVE_PTR.
12116
834f9b8d
RM
121172012-06-14 Roland McGrath <roland@hack.frob.com>
12118
12119 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12120
75fa1921
JM
121212012-06-14 Joseph Myers <joseph@codesourcery.com>
12122
12123 * libm_test.inc (csqrt_test): Allow more spurious underflow
12124 exceptions.
12125 (j0_test): Likewise.
12126 (j1_test): Likewise.
12127 (y0_test): Likewise.
12128 (y1_test): Likewise.
12129
771766df
CD
121302012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12131
12132 * po/Makefile (libc.pot): Use UTF-8 charset.
12133
ceb9e56b
PP
121342012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12135
12136 [BZ #14210]
12137 Suppress sign-conversion warning from FD_SET.
12138 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12139 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12140 not unsigned long int.
12141 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12142
ddb28975
L
121432012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12144
12145 [BZ #14050]
12146 [BZ #14117]
12147 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12148 __extern_always_inline instead of __extern_inline.
12149 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12150 (__signbit): Likewise.
12151 (__signbitl): Support C++ namespace.
12152 (lrintf): New inline function.
12153 (lrint): Likewise.
12154 (llrintf): Likewise.
12155 (llrint): Likewise.
12156 (fmaxf): Likewise.
12157 (fmax): Likewise.
12158 (fminf): Likewise.
12159 (fmin): Likewise.
12160 (rint): Likewise.
12161 (rintf): Likewise.
12162 (ceil): Likewise.
12163 (ceilf): Likewise.
12164 (floor): Likewise.
12165 (floorf): Likewise.
12166 (nearbyint): Likewise.
12167 (nearbyintf): Likewise.
12168
d7b4fb26
TS
121692012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12170
12171 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12172 non-default versions.
12173
eb55f5c2
RM
121742012-06-11 Roland McGrath <roland@hack.frob.com>
12175
12176 [BZ #14218]
12177 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12178
366af02c
TS
121792012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12180
99ff6e5c
TS
12181 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12182 (FE_UPWARD, FE_DOWNWARD): Don't define.
12183 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12184 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12185
366af02c
TS
12186 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12187 reading it.
12188 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12189 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12190
793ea851
KK
121912012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12192
12193 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12194 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12195 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12196 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12197
a728a38f
L
121982012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12199
12200 [BZ #14117]
c08010c7
L
12201 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12202 * sysdeps/i386/fpu/Implies: New file.
12203 * sysdeps/x86_64/fpu/Implies: Likewise.
12204 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12205 * sysdeps/x86/fpu/bits/fenv.h: This.
12206
a728a38f
L
12207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12208 __SSE_MATH__.
12209
6e230d11
SP
122102012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12211
12212 [BZ #14134]
12213 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12214 character 0xffff that matches the last element of the
12215 conversion table.
12216
1b671feb
AZ
122172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12218
12219 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12220 fmodl commit.
12221
6043738b
AZ
122222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12223
12224 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12225 values higher than 25.6283.
12226
34ae0b32
AZ
122272012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12228
12229 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12230 subnormal exponent extraction and add some __builtin_expect.
12231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12232 Fix for subnormal mantissa calculation.
12233
1214ec8f
MF
122342012-06-04 Mike Frysinger <vapier@gentoo.org>
12235
12236 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12237 cpu2 is -1 and errno is not ENOSYS.
12238
f3d1f93c
L
122392012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12240
12241 [BZ #14117]
0e4a3cd7
L
12242 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12243 * sysdeps/x86/bits/string.h: This.
12244 * sysdeps/x86_64/bits/string.h: Removed.
12245
6704c645
L
12246 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12247 if not compiling for x86-64, but compiling for >= i486.
12248
48495318
L
12249 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12250 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12251
14adcbfc
L
12252 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12253 New macro from Linux kernel 3.4.0.
12254 (FP_XSTATE_MAGIC2): Likewise.
12255 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12256 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12257 (struct _fpx_sw_bytes): New struct.
12258 (struct _xsave_hdr): Likewise.
12259 (struct _ymmh_state): Likewise.
12260 (struct _xstate): Likewise.
12261
68e408ab
L
12262 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12263 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12264 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12265 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12266 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12267 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12268
f3d1f93c
L
12269 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12270 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12271 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12272 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12273 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12274 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12275
d9dc34cd
TMQMF
122762012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12277
12278 [BZ #13743]
12279 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12280 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12281 (sysdep_headers): Include sys/platform/ppc.h.
12282 * sysdeps/powerpc/test-gettimebase.c: Test for
12283 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12284 * manual/Makefile (appendices): Include platform.texi.
12285 * manual/contrib.texi (Contributors): Update @node pointers.
12286 * manual/maint.texi (Maintenance): Likewise.
12287 (Platform): New node.
12288 * manual/platform.texi: New file. Document the new features.
12289
4af3879c
SP
122902012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12291 Jakub Jelinek <jakub@redhat.com>
12292
12293 [BZ #14188]
12294 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12295 where __builtin_expect is unavailable.
12296
2fd6ff13
DM
122972012-06-03 David S. Miller <davem@davemloft.net>
12298
12299 * stdlib/longlong.h: Updated from GCC.
12300
173f7220
AS
123012012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12302
12303 [BZ #14042]
12304 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12305 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12306 __mcount_internal.
12307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12308 (GLIBC_2.16): Likewise.
12309
f34a1c6f
L
123102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12311
12312 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12313
88a4576f
JM
123142012-06-01 Joseph Myers <joseph@codesourcery.com>
12315
ea32bcdd
JM
12316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12317 (default-abi): New variable.
12318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12319 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12320 variable.
12321 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12322 Likewise.
12323 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12324 Likewise.
12325 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12326 Likewise.
12327
88a4576f
JM
12328 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12329 definition. Document in comment.
12330
402fe938
DM
123312012-06-01 David S. Miller <davem@davemloft.net>
12332
12333 * stdlib/longlong.h: Updated from GCC.
12334
3553723f
L
123352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12336
12337 [BZ #14117]
3bd872c4
L
12338 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12339 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12340 sys/debugreg.h sys/io.h here.
12341 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12342 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12343 sys/io.h.
12344 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12345 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12346 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12347 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12348 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12349 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12350
3553723f
L
12351 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12352 Define only if __x86_64__ is defined.
12353
4842e4fe
JM
123542012-06-01 Joseph Myers <joseph@codesourcery.com>
12355
c5bfe3d5
JM
12356 [BZ #14048]
12357 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12358 Use int64_t for variable i.
12359 * math/libm-test.inc (fmod_test): Add more tests.
12360
4842e4fe
JM
12361 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12362 z computation is not scheduled after fetestexcept.
12363 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12364 Use math_force_eval instead of asm to ensure calculation scheduled
12365 before exception test.
12366 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12367 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12368
efb73488
AJ
123692012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12370
12371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12372 computation is not scheduled after fetestexcept.
12373
29bcce7c
L
123742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12375
12376 [BZ #14117]
12377 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12378 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12379
73a68f94
AZ
123802012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12381
12382 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12383 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12384
67b6df78
L
123852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12386
edf2933a 12387 [BZ #14117]
ebc64a18
L
12388 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12389 <bits/wordsize.h>.
12390 (__WCHAR_MIN): Support __WORDSIZE == 64.
12391 (__WCHAR_MAX): Likewise.
12392
edf2933a
L
12393 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12394 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12395
57c6cf40
L
12396 [BZ #14183]
12397 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12398 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12399
67b6df78 12400 [BZ #14117]
8eb6281e
L
12401 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12402 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12403
aac639f4
L
12404 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12405 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12406
67b6df78
L
12407 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12408 Defined to 1 if __x86_64__ isn't defined.
12409 (_STAT_VER_LINUX_OLD): New.
12410 (st_atime): Remove duplicate.
12411 (st_mtime): Likewise.
12412 (st_ctime): Likewise.
12413
1c2cfe81
DM
124142012-05-31 David S. Miller <davem@davemloft.net>
12415
12416 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12417 entries.
12418
5be8418c
AS
124192012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12420
e7725326
AS
12421 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12422 gen-libm-test.pl.
12423
5be8418c
AS
12424 [BZ #14132]
12425 * elf/dl-reloc.c: Include <_itoa.h>.
12426 (_dl_reloc_bad_type): Remove use of INTUSE.
12427 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12428 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12429 * stdio-common/psiginfo.c (psiginfo): Likewise.
12430 * stdio-common/psignal.c (psignal): Likewise.
12431 * string/strsignal.c (strsignal): Likewise.
12432 * include/signal.h (_sys_siglist): Declare hidden proto.
12433 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12434 INTVARDEF with libc_hidden_data_def.
12435 * stdio-common/itoa-udigits.c: Likewise.
12436 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12437 (_itoa_lower_digits_internal): Remove declaration.
12438 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12439 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12440 (_sys_sigabbrev_internal): Remove aliases.
12441 (_sys_siglist): Define hidden alias.
12442
507352f1
MT
124432012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12444
12445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12446 bits/sysctl.h.
12447
42bbb1c3
L
124482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12449
12450 [BZ #14117]
6bd784b6
L
12451 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12452 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12453
8bca20f0
L
12454 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12455 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12456 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12457 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12458 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12459 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12460
f9e890a9
L
12461 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12462 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12463 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12464
471101a1
L
12465 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12466 with __addr.
12467 (insw): Likewise.
12468 (insl): Likewise.
12469 (outsb): Likewise.
12470 (outsw): Likewise.
12471 (outsl): Likewise.
12472
6451c862
L
12473 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12474 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12475 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12476
a254b8c9
L
12477 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12478 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12479 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12480 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12481 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12482 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12483
b8dfdd92
L
12484 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12485 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12486
578cd270
L
12487 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12488 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12489
de662f5f
L
12490 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12491 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12492 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12493
25653439
L
12494 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12495 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12496 to ...
12497 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12498
6bad24a0
L
12499 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12500 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12501 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12502
42bbb1c3
L
12503 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12504 for x86-64.
12505 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12506
2d10d547
JM
125072012-05-31 Joseph Myers <joseph@codesourcery.com>
12508
12509 * math/math.h (M_El): Use two more decimal places.
12510 (M_LOG2El): Likewise.
12511 (M_LOG10El): Likewise.
12512 (M_LN2l): Likewise.
12513 (M_LN10l): Likewise.
12514 (M_PIl): Likewise.
12515 (M_PI_2l): Likewise.
12516 (M_PI_4l): Likewise.
12517 (M_1_PIl): Likewise.
12518 (M_2_PIl): Likewise.
12519 (M_2_SQRTPIl): Likewise.
12520 (M_SQRT2l): Likewise.
12521 (M_SQRT1_2l): Likewise.
12522
f230c29b
DM
125232012-05-31 David S. Miller <davem@davemloft.net>
12524
12525 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12526 values between float registers.
12527 * sysdeps/sparc/sparc64/memset.S: Likewise.
12528 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12529
fed806c3
MF
125302012-05-31 Mike Frysinger <vapier@gentoo.org>
12531
12532 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12533 -D_FORTIFY_SOURCE=1.
12534 (CPPFLAGS-tst-longjmp_chk.c): Define.
12535 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12536 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12537 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12538 CFLAGS-tst-wchar-h.c.
12539
30917259
MP
125402012-05-31 Marek Polacek <polacek@redhat.com>
12541
12542 [BZ #14132]
12543 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12544 __endmntent_internal): Remove declaration.
12545 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12546 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12547 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12548
1c58d5dc
DM
125492012-05-30 David S. Miller <davem@davemloft.net>
12550
12551 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12552 (___Q_simulate_exceptions): Use real FP ops rather than writing
12553 into the %fsr.
12554 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12555 Likewise.
12556
7dc00e0d
L
125572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12558
12559 [BZ #14117]
0bd53985
L
12560 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12561 * sysdeps/x86/bits/xtitypes.h: This.
12562
3a257e66
L
12563 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12564 * sysdeps/x86/bits/wordsize.h: This.
12565
62f62904
L
12566 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12567 * sysdeps/x86/bits/huge_vall.h: This.
12568
404fe9d9
L
12569 * sysdeps/i386/bits/select.h: Removed.
12570 * sysdeps/x86_64/bits/select.h: Renamed to ...
12571 * sysdeps/x86/bits/select.h: This.
12572
d48d0446
L
12573 * sysdeps/i386/bits/setjmp.h: Removed.
12574 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12575 * sysdeps/x86/bits/setjmp.h: This.
12576
7dc00e0d
L
12577 * sysdeps/i386/bits/mathdef.h: Removed.
12578 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12579 * sysdeps/x86/bits/mathdef.h: This.
12580
03277f8f
AS
125812012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12582
12583 [BZ #14132]
12584 * include/sys/socket.h (__connect_internal)
12585 (__libc_sa_len_internal): Remove declaration.
12586 (__connect, __libc_sa_len): Declare hidden_proto.
12587 (SA_LEN): Remove use of INTUSE.
12588 * socket/connect.c: Add libc_hidden_def.
12589 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12590 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12591 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12592 alias.
12593 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12594 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12595 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12596 of adding _internal alias.
12597
13764867
L
125982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12599
12600 [BZ #14117]
6bd97696
L
12601 * sysdeps/i386/bits/link.h: Removed.
12602 * sysdeps/i386/bits/linkmap.h: Likewise.
12603 * sysdeps/x86_64/bits/link.h: Renamed to ...
12604 * sysdeps/x86/bits/link.h: This.
12605 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12606 * sysdeps/x86/bits/linkmap.h: This.
12607
f726f0bb
L
12608 * sysdeps/i386/bits/endian.h: Removed.
12609 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12610 * sysdeps/x86/bits/endian.h: This.
12611
13764867
L
12612 * sysdeps/i386/bits/byteswap.h: Removed.
12613 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12614 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12615 * sysdeps/x86/bits/byteswap.h: This.
12616 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12617 * sysdeps/x86/bits/byteswap-16.h: This.
12618 * sysdeps/i386/Implies: Add x86.
12619 * sysdeps/x86_64/Implies: Likewise.
12620
ae251b0b
DM
126212012-05-30 David S. Miller <davem@davemloft.net>
12622
12623 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12624 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12625 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12626 (FP_TRAPPING_EXCEPTIONS): Define.
12627 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12628 (FP_TRAPPING_EXCEPTIONS): Define.
12629 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12630 subnormals only when inexact has been signalled or underflow
12631 exceptions are enabled.
12632 (_FP_PACK_CANONICAL): Likewise.
12633
d5c90867
L
126342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12635
12636 [BZ #14183]
12637 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12638 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12639
63f1549e
RH
126402012-05-30 Richard Henderson <rth@twiddle.net>
12641
8d8f2279
RH
12642 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12643 with #ifndef NOT_IN_libc.
12644
63f1549e
RH
12645 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12646 marked to avoid plt entry.
12647
0ab0291b
L
126482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12649
12650 [BZ #14112]
12651 * Makeconfig (default-abi): New macro.
12652 (abi-includes): Likewise.
12653 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12654 $(abi-$(default-abi)-lib-soname) for soname if defined.
12655 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12656 abi-variants.
12657 * Makefile (installed-stubs): Likewise.
12658 * include/stubs-biarch.h: Removed.
12659 * scripts/lib-names.awk: Only handle one library at a time.
12660 * scripts/soversions.awk: Remove WORDSIZE support.
12661 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12662 entries.
12663 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12664 Removed.
12665 (syscall-list-default-condition): Likewise.
12666 (syscall-list-default-condition): Likewise.
12667 (syscall-list-includes): Likewise.
12668 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12669 syscall-list-* with abi-*. Handle undefined abi-variants.
12670 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12671 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12672 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12673 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12674 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12675 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12676 Removed.
12677 (syscall-list-32-options): Likewise.
12678 (syscall-list-32-condition): Likewise.
12679 (syscall-list-64-options): Likewise.
12680 (syscall-list-64-condition): Likewise.
12681 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12682 macro.
12683 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12684 Renamed to ...
12685 (abi-*): This.
12686 (abi-64-ld-soname): New macro.
12687 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12688 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12689 Renamed to ...
12690 (abi-*): This.
12691 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12692 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12693
4da0431d
JM
126942012-05-30 Joseph Myers <joseph@codesourcery.com>
12695
3a85279c
JM
12696 * sysdeps/unix/sysv/linux/kernel-features.h
12697 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12698 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12699 include <kernel-features.h>.
12700 [!__NR_ftruncate64]: Remove conditional code.
12701 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12702 [__NR_ftruncate64]: Make code unconditional.
12703 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12704 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12705 include <kernel-features.h>.
12706 [!__NR_ftruncate64]: Remove conditional code.
12707 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12708 [__NR_ftruncate64]: Make code unconditional.
12709 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12711 include <kernel-features.h>.
12712 [!__NR_ftruncate64]: Remove conditional code.
12713 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12714 [__NR_ftruncate64]: Make code unconditional.
12715 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12717 include <kernel-features.h>.
12718 [!__NR_ftruncate64]: Remove conditional code.
12719 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12720 [__NR_ftruncate64]: Make code unconditional.
12721 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12722
4da0431d
JM
12723 * configure.in (libc_cv_fpie): Weaken to a compile test using
12724 LIBC_TRY_CC_OPTION.
12725 * configure: Regenerated.
12726
11ef492c
AK
127272012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12728
12729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12733 Refreshed.
12734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12740 Refreshed.
12741
d66ef399
DM
127422012-05-27 David S. Miller <davem@davemloft.net>
12743
12744 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12745 (___Q_zero): New.
12746 (__Q_simulate_exceptions): Return void. Change to simulate
12747 exceptions by writing into the %fsr.
12748 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12749 (__Qp_handle_exceptions): Likewise.
12750 (numbers): Delete.
12751 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12752 __Qp_handle_exceptions.
12753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12754 __Qp_handle_exceptions.
12755 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12756 as unused and give dummy FP_RND_NEAREST initializer.
12757 (FP_INHIBIT_RESULTS): Define.
12758 (___Q_simulate_exceptions): Update declaration.
12759 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12760 formatting.
12761 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12762 as unused and give dummy FP_RND_NEAREST initializer.
12763 (__Qp_handle_exceptions): Update declaration.
12764 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12765 formatting.
12766
04fb54b5
TS
127672012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12768
12769 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12770 the temporary FPU control word.
12771 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12772 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12773 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12774 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12775 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12776 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12777 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12778 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12779 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12780 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12781 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12782
3f99608f
KK
127832012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12784
12785 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12786 fields.
12787
65a4de4e
CLT
127882012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12789
12790 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12791 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12792 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12793 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12794 Likewise.
12795 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12796 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12797 Likewise.
12798
15749d40
UD
127992012-05-27 Ulrich Drepper <drepper@gmail.com>
12800
12801 * po/h.po: Update from translation team.
12802
25dbcb27
AS
128032012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12804
3d3f8e55
AS
12805 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12806
25dbcb27
AS
12807 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12808 handling of denormals.
12809 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12810 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12811 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12812 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12815 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12816 Likewise.
12817
7ad47a80 128182012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12819
12820 [BZ #14152]
12821 * math/libm-test.inc (fma_test): Don't always expect underflow
12822 exception.
12823
9c6ea9fa
SP
128242012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12825
12826 [BZ #12416]
12827 * elf/tst-execstack.c: Include stackinfo.h.
12828 (do_test): Adjust test case to ensure that pthread_getattr_np
12829 behaviour remains the same after marking stack executable.
12830
a8239222
JM
128312012-05-25 Joseph Myers <joseph@codesourcery.com>
12832
12833 * sysdeps/unix/sysv/linux/kernel-features.h
12834 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12835 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12836 kernel-features.h.
12837 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12838 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12839 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12840 kernel-features.h.
12841 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12842 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12843
918b5606
L
128442012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12845
12846 * configure.in: Define the default includes to being none.
12847 * configure: Regenerated.
12848
3a097cc7
RM
128492012-05-25 Roland McGrath <roland@hack.frob.com>
12850
8422c9a5
RM
12851 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12852 * sysdeps/x86_64/setjmp.S: Likewise.
12853 * sysdeps/i386/bsd-setjmp.S: Likewise.
12854 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12855 * sysdeps/i386/setjmp.S: Likewise.
12856 * sysdeps/i386/__longjmp.S: Likewise.
12857 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12858 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12859
3a097cc7
RM
12860 * include/stap-probe.h: New file.
12861 * configure.in: Handle --enable-systemtap.
12862 * configure: Regenerated.
12863 * config.h.in (USE_STAP_PROBE): New #undef.
12864 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12865 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12866 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12867
21708942
JM
128682012-05-25 Joseph Myers <joseph@codesourcery.com>
12869
12870 [BZ #13717]
12871 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12872 to 2.4.0 where earlier.
12873 * sysdeps/unix/sysv/linux/configure: Regenerated.
12874 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12875 <kernel-features.h>.
12876 [__ASSUME_32BITUIDS]: Make code unconditional.
12877 [!__ASSUME_32BITUIDS]: Remove conditional code.
12878 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12879 <kernel-features.h>.
12880 [__ASSUME_32BITUIDS]: Make code unconditional.
12881 [!__ASSUME_32BITUIDS]: Remove conditional code.
12882 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12883 [__ASSUME_32BITUIDS]: Make code unconditional.
12884 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12885 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12886 <kernel-features.h>.
12887 [__ASSUME_32BITUIDS]: Make code unconditional.
12888 [!__ASSUME_32BITUIDS]: Remove conditional code.
12889 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12890 <kernel-features.h>.
12891 [__ASSUME_32BITUIDS]: Make code unconditional.
12892 [!__ASSUME_32BITUIDS]: Remove conditional code.
12893 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12894 <kernel-features.h>.
12895 [__ASSUME_32BITUIDS]: Make code unconditional.
12896 [!__ASSUME_32BITUIDS]: Remove conditional code.
12897 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12898 <kernel-features.h>.
12899 [__ASSUME_32BITUIDS]: Make code unconditional.
12900 [!__ASSUME_32BITUIDS]: Remove conditional code.
12901 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12902 <kernel-features.h>.
12903 [__ASSUME_32BITUIDS]: Make code unconditional.
12904 [!__ASSUME_32BITUIDS]: Remove conditional code.
12905 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12906 <kernel-features.h>.
12907 [__ASSUME_32BITUIDS]: Make code unconditional.
12908 [!__ASSUME_32BITUIDS]: Remove conditional code.
12909 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12910 <kernel-features.h>.
12911 [__ASSUME_32BITUIDS]: Make code unconditional.
12912 [!__ASSUME_32BITUIDS]: Remove conditional code.
12913 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12914 <kernel-features.h>.
12915 [__ASSUME_32BITUIDS]: Make code unconditional.
12916 [!__ASSUME_32BITUIDS]: Remove conditional code.
12917 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12918 <kernel-features.h>.
12919 [__ASSUME_32BITUIDS]: Make code unconditional.
12920 [!__ASSUME_32BITUIDS]: Remove conditional code.
12921 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
12926 <kernel-features.h>.
12927 [__NR_setresgid] (__setresgid): Do not declare.
12928 [__ASSUME_32BITUIDS]: Make code unconditional.
12929 [!__ASSUME_32BITUIDS]: Remove conditional code.
12930 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12931 <kernel-features.h>.
12932 [__NR_setresuid] (__setresuid): Do not declare.
12933 [__ASSUME_32BITUIDS]: Make code unconditional.
12934 [!__ASSUME_32BITUIDS]: Remove conditional code.
12935 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12936 <kernel-features.h>.
12937 [__ASSUME_32BITUIDS]: Make code unconditional.
12938 [!__ASSUME_32BITUIDS]: Remove conditional code.
12939 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12940 <kernel-features.h>.
12941 [__ASSUME_32BITUIDS]: Make code unconditional.
12942 [!__ASSUME_32BITUIDS]: Remove conditional code.
12943 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12944 <kernel-features.h>.
12945 [__ASSUME_32BITUIDS]: Make code unconditional.
12946 [!__ASSUME_32BITUIDS]: Remove conditional code.
12947 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12948 <kernel-features.h>.
12949 [__ASSUME_32BITUIDS]: Make code unconditional.
12950 [!__ASSUME_32BITUIDS]: Remove conditional code.
12951 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12952 <kernel-features.h>.
12953 [__ASSUME_32BITUIDS]: Make code unconditional.
12954 [!__ASSUME_32BITUIDS]: Remove conditional code.
12955 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12956 <kernel-features.h>.
12957 [__ASSUME_32BITUIDS]: Make code unconditional.
12958 [!__ASSUME_32BITUIDS]: Remove conditional code.
12959 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12960 <kernel-features.h>.
12961 [__ASSUME_32BITUIDS]: Make code unconditional.
12962 [!__ASSUME_32BITUIDS]: Remove conditional code.
12963 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12964 <kernel-features.h>.
12965 [__ASSUME_32BITUIDS]: Make code unconditional.
12966 [!__ASSUME_32BITUIDS]: Remove conditional code.
12967 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12968 <kernel-features.h>.
12969 [__ASSUME_32BITUIDS]: Make code unconditional.
12970 [!__ASSUME_32BITUIDS]: Remove conditional code.
12971 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12972 <kernel-features.h>.
12973 [__ASSUME_32BITUIDS]: Make code unconditional.
12974 [!__ASSUME_32BITUIDS]: Remove conditional code.
12975 * sysdeps/unix/sysv/linux/kernel-features.h
12976 (__ASSUME_SETRESUID_SYSCALL): Remove.
12977 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12978 (__ASSUME_32BITUIDS): Likewise.
12979 (__ASSUME_LDT_WORKS): Likewise.
12980 (__ASSUME_O_DIRECTORY): Likewise.
12981 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12982 architecture but not kernel version.
12983 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12984 (__ASSUME_MMAP2_SYSCALL): Likewise.
12985 (__ASSUME_STAT64_SYSCALL): Likewise.
12986 (__ASSUME_IPC64): Likewise.
12987 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12988 <kernel-features.h>.
12989 [__ASSUME_32BITUIDS]: Make code unconditional.
12990 [!__ASSUME_32BITUIDS]: Remove conditional code.
12991 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12992 <kernel-features.h>.
12993 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12994 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12995 132096]: Remove conditional code.
12996 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12997 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12998 <kernel-features.h>.
12999 [__ASSUME_32BITUIDS]: Make code unconditional.
13000 [!__ASSUME_32BITUIDS]: Remove conditional code.
13001 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13002 <kernel-features.h>.
13003 [__ASSUME_32BITUIDS]: Make code unconditional.
13004 [!__ASSUME_32BITUIDS]: Remove conditional code.
13005 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13006 <kernel-features.h>.
13007 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13008 unconditional.
13009 (__setresgid): Do not declare.
13010 [__ASSUME_32BITUIDS]: Make code unconditional.
13011 [!__ASSUME_32BITUIDS]: Remove conditional code.
13012 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13013 <kernel-features.h>.
13014 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13015 unconditional.
13016 (__setresuid): Do not declare.
13017 [__ASSUME_32BITUIDS]: Make code unconditional.
13018 [!__ASSUME_32BITUIDS]: Remove conditional code.
13019 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13020 <kernel-features.h>.
13021 [__ASSUME_32BITUIDS]: Make code unconditional.
13022 [!__ASSUME_32BITUIDS]: Remove conditional code.
13023 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13024 <kernel-features.h>.
13025 [__ASSUME_32BITUIDS]: Make code unconditional.
13026 [!__ASSUME_32BITUIDS]: Remove conditional code.
13027
a386f1cc
RH
130282012-05-25 Richard Henderson <rth@twiddle.net>
13029
13030 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13031 dl_hwcap to ifunc resolver.
13032 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13033 elf_ifunc_invoke.
13034 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13035 dl_hwcap to ifunc resolver.
13036 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13037
b6550497
JM
130382012-05-24 Joseph Myers <joseph@codesourcery.com>
13039
13040 [BZ #14153]
13041 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13042 for |x| <= 2**-26, not 2**-57.
13043 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13044 exception.
13045
b0bc23a1
JL
130462012-05-24 Jeff Law <law@redhat.com>
13047
13048 * stdio-common/Makefile (tests): Add bug25.
13049 * stdio-common/bug25.c: New test.
13050
347c92e9
L
130512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13052
13053 [BZ #13576]
13054 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13055 multiple of MALLOC_ALIGNMENT in size.
13056 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13057
6bcc8b3f
JM
130582012-05-24 Joseph Myers <joseph@codesourcery.com>
13059
13060 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13061 Require >= 256.
13062 (FILENAME_MAX): Use macro-int-constant.
13063 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13064 (_IOFBF): Use macro-int-constant.
13065 (_IOLBF): Likewise.
13066 (_IONBF): Likewise.
13067 (SEEK_CUR): Likewise.
13068 (SEEK_END): Likewise.
13069 (SEEK_SET): Likewise.
13070 (TMP_MAX): Likewise.
13071 (EOF): Use macro-int-constant. Require < 0.
13072 (NULL): Use macro-constant. Require == 0.
13073 (stdin): Require type to be FILE *.
13074 (stdout): Likewise.
13075 (stderr): Likewise.
13076 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13077 macro-int-constant.
13078 (EXIT_SUCCESS): Likewise.
13079 (NULL): Use macro-constant. Require == 0.
13080 (RAND_MAX): Use macro-int-constant.
13081 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13082 [C99-based standards] (strtof): Require function.
13083 [C99-based standards] (strtold): Likewise.
13084 [C99-based standards] (strtoll): Likewise.
13085 [C99-based standards] (strtoull): Likewise.
13086 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13087 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13088 [ISO || ISO99 || ISO11] (math.h): Likewise.
13089 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13090 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13092
d18ea0c5
AS
130932012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13094
13095 [BZ #14132]
56d25bb8
AS
13096 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13097 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13098 * intl/dgettext.c (DCGETTEXT): Likewise.
13099 * intl/gettext.c (DCGETTEXT): Likewise.
13100 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13101 * posix/regex_internal.h (gettext): Likewise.
13102 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13103 Remove declaration.
13104 * include/argz.h (__argz_count_internal)
13105 (__argz_stringify_internal): Remove declaration.
13106 (__argz_count, __argz_stringify): Declare hidden proto.
13107 * intl/dcgettext.c: Remove use of INTDEF.
13108 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13109 * string/argz-stringify.c: Likewise.
13110 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13111 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13112 Declare hidden proto.
d18ea0c5
AS
13113 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13114 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13115 Declare hidden proto.
13116 * include/stdio.h (__asprintf_internal): Don't declare.
13117 (__asprintf): Don't define as macro. Declare hidden proto.
13118 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13119 (__fsetlocking): Declare hidden proto.
13120 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13121 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13122 hidden proto.
13123 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13124 (_IO_setlinebuf): Remove use of INTUSE.
13125 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13126 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13127 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13128 Remove declaration.
13129 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13130 (_IO_do_flush): Remove use of INTUSE.
13131 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13132 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13133 (_IO_adjust_column, _IO_least_wmarker)
13134 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13135 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13136 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13137 (_IO_default_doallocate, _IO_wdefault_doallocate)
13138 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13139 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13140 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13141 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13142 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13143 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13144 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13145 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13146 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13147 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13148 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13149 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13150 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13151 proto.
13152 (_IO_flush_all_internal, _IO_adjust_column_internal)
13153 (_IO_default_uflow_internal, _IO_default_finish_internal)
13154 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13155 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13156 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13157 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13158 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13159 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13160 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13161 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13162 (_IO_file_close_internal, _IO_file_close_it_internal)
13163 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13164 (_IO_file_init_internal, _IO_file_attach_internal)
13165 (_IO_file_fopen_internal, _IO_file_read_internal)
13166 (_IO_file_sync_internal, _IO_file_seek_internal)
13167 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13168 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13169 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13170 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13171 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13172 (_IO_list_all_internal, _IO_link_in_internal)
13173 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13174 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13175 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13176 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13177 (_IO_do_write_internal, _IO_padn_internal)
13178 (_IO_getline_info_internal, _IO_getline_internal)
13179 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13180 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13181 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13182 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13183 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13184 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13185 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13186 with libc_hidden_ver, remove use of INTUSE.
13187 * libio/genops.c: Likewise.
13188 * libio/freopen.c: Likewise.
13189 * libio/freopen64.c: Likewise.
13190 * libio/iofclose.c: Likewise.
13191 * libio/iofdopen.c: Likewise.
13192 * libio/iofflush.c: Likewise.
13193 * libio/iofflush_u.c: Likewise.
13194 * libio/iofgets.c: Likewise.
13195 * libio/iofgets_u.c: Likewise.
13196 * libio/iofopen.c: Likewise.
13197 * libio/iofopncook.c: Likewise.
13198 * libio/iofread.c: Likewise.
13199 * libio/iofread_u.c: Likewise.
13200 * libio/ioftell.c: Likewise.
13201 * libio/iofwrite.c: Likewise.
13202 * libio/iogetline.c: Likewise.
13203 * libio/iogets.c: Likewise.
13204 * libio/iogetwline.c: Likewise.
13205 * libio/iopadn.c: Likewise.
13206 * libio/iopopen.c: Likewise.
13207 * libio/ioseekoff.c: Likewise.
13208 * libio/ioseekpos.c: Likewise.
13209 * libio/iosetbuffer.c: Likewise.
13210 * libio/iosetvbuf.c: Likewise.
13211 * libio/ioungetc.c: Likewise.
13212 * libio/ioungetwc.c: Likewise.
13213 * libio/iovdprintf.c: Likewise.
13214 * libio/iovsprintf.c: Likewise.
13215 * libio/iovsscanf.c: Likewise.
13216 * libio/memstream.c: Likewise.
13217 * libio/obprintf.c: Likewise.
13218 * libio/oldfileops.c: Likewise.
13219 * libio/oldiofclose.c: Likewise.
13220 * libio/oldiofdopen.c: Likewise.
13221 * libio/oldiofopen.c: Likewise.
13222 * libio/oldiopopen.c: Likewise.
13223 * libio/oldstdfiles.c: Likewise.
13224 * libio/putc.c: Likewise.
13225 * libio/setbuf.c: Likewise.
13226 * libio/setlinebuf.c: Likewise.
13227 * libio/stdfiles.c: Likewise.
13228 * libio/strops.c: Likewise.
13229 * libio/vasprintf.c: Likewise.
13230 * libio/vscanf.c: Likewise.
13231 * libio/vsnprintf.c: Likewise.
13232 * libio/vswprintf.c: Likewise.
13233 * libio/wfiledoalloc.c: Likewise.
13234 * libio/wfileops.c: Likewise.
13235 * libio/wgenops.c: Likewise.
13236 * libio/wmemstream.c: Likewise.
13237 * libio/wstrops.c: Likewise.
13238 * libio/__fpurge.c: Likewise.
13239 * libio/__fsetlocking.c: Likewise.
13240 * assert/assert.c: Likewise.
13241 * debug/fgets_chk.c: Likewise.
13242 * debug/fgets_u_chk.c: Likewise.
13243 * debug/fread_chk.c: Likewise.
13244 * debug/fread_u_chk.c: Likewise.
13245 * debug/gets_chk.c: Likewise.
13246 * debug/obprintf_chk.c: Likewise.
13247 * debug/vasprintf_chk.c: Likewise.
13248 * debug/vdprintf_chk.c: Likewise.
13249 * debug/vsnprintf_chk.c: Likewise.
13250 * debug/vsprintf_chk.c: Likewise.
13251 * malloc/mtrace.c: Likewise.
13252 * misc/error.c: Likewise.
13253 * misc/syslog.c: Likewise.
13254 * stdio-common/asprintf.c: Likewise.
13255 * stdio-common/fxprintf.c: Likewise.
13256 * stdio-common/getw.c: Likewise.
13257 * stdio-common/isoc99_fscanf.c: Likewise.
13258 * stdio-common/isoc99_scanf.c: Likewise.
13259 * stdio-common/isoc99_vfscanf.c: Likewise.
13260 * stdio-common/isoc99_vscanf.c: Likewise.
13261 * stdio-common/isoc99_vsscanf.c: Likewise.
13262 * stdio-common/printf-prs.c: Likewise.
13263 * stdio-common/printf_fp.c: Likewise.
13264 * stdio-common/printf_fphex.c: Likewise.
13265 * stdio-common/printf_size.c: Likewise.
13266 * stdio-common/putw.c: Likewise.
13267 * stdio-common/scanf.c: Likewise.
13268 * stdio-common/sprintf.c: Likewise.
13269 * stdio-common/tmpfile.c: Likewise.
13270 * stdio-common/vfprintf.c: Likewise.
13271 * stdio-common/vfscanf.c: Likewise.
13272 * stdlib/strfmon_l.c: Likewise.
13273 * sunrpc/openchild.c: Likewise.
13274 * sunrpc/xdr_stdio.c: Likewise.
13275 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13276 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13277
d6c33fda
RM
132782012-05-24 Roland McGrath <roland@hack.frob.com>
13279
c1487492
RM
13280 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13281
13282 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13283 in the third column, to generate for the shared library an IFUNC
13284 that uses _dl_vdso_vsym.
13285 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13286 * Makeconfig (object-suffixes-noshared): New variable.
13287
13288 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13289 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13290 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13291 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13292
d6c33fda
RM
13293 [BZ #14132]
13294 * include/sys/time.h (__gettimeofday): Remove macro.
13295 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13296 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13297 Remove INTDEF.
13298 (__gettimeofday): Add libc_hidden_def.
13299 (gettimeofday): Add libc_hidden_weak.
13300 * sysdeps/mach/gettimeofday.c: Likewise.
13301 * sysdeps/posix/gettimeofday.c: Likewise.
13302 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13303 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13304 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13305 (__gettimeofday_internal): Remove strong_alias.
13306 (__gettimeofday): Add libc_hidden_def.
13307 (gettimeofday): Add libc_hidden_weak.
13308 * sysdeps/unix/syscalls.list (gettimeofday):
13309 Remove __gettimeofday_internal alias.
13310
b5a2bbe6
L
133112012-05-24 Daniel Jacobowitz <drow@false.org>
13312 H.J. Lu <hongjiu.lu@intel.com>
13313
13314 [BZ #12495]
13315 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13316 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13317 (largebin_index_32_big): New.
13318 (largebin_index): Use it for 16-byte alignment.
13319 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13320 correction with front_misalign.
13321
cfba4fda
L
133222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13323
7f907421
L
13324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13326 Likewise.
13327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13328 Likewise.
13329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13330 Likewise.
13331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13332 Likewise.
13333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13334 Likewise.
13335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13336 Likewise.
13337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13338 Likewise.
13339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13340 Likewise.
13341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13342 Likewise.
13343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13344 Likewise.
13345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13346 Likewise.
13347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13348 Likewise.
13349
cfba4fda
L
13350 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13351 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13352
80bad0cc
JM
133532012-05-24 Joseph Myers <joseph@codesourcery.com>
13354
7a25eb06
JM
13355 [BZ #10846]
13356 [BZ #14036]
13357 * math/libm-test.inc (exp_test): Add test from bug 14036.
13358 (pow_test): Add test from bug 10846.
13359
795405f9
JM
13360 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13361 and other flags.
13362 (special_function): Do not include flags in test name.
13363 (parse_args): Likewise.
13364 * sysdeps/i386/fpu/libm-test-ulps: Update.
13365 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13366 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13367 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13369
80bad0cc
JM
13370 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13371 exceptions.
13372 * math/libm-test.inc ("Philosophy"): Update comment about
13373 exception testing.
13374 (UNDERFLOW_EXCEPTION): New macro.
13375 (UNDERFLOW_EXCEPTION_OK): Likewise.
13376 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13377 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13378 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13379 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13380 (INVALID_EXCEPTION_OK): Update value.
13381 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13382 (OVERFLOW_EXCEPTION_OK): Likewise.
13383 (IGNORE_ZERO_INF_SIGN): Likewise.
13384 (test_exceptions): Handle underflow exceptions.
13385 (acos_test): Update for underflow exception expectations.
13386 (cexp_test): Likewise.
13387 (clog_test): Likewise.
13388 (clog10_test): Likewise.
13389 (csqrt_test): Likewise.
13390 (ctan_test): Likewise.
13391 (ctanh_test): Likewise.
13392 (exp_test): Likewise.
13393 (exp10_test): Likewise.
13394 (exp2_test): Likewise.
13395 (expm1_test): Likewise.
13396 (fma_test): Likewise.
13397 (j0_test): Likewise.
13398 (jn_test): Likewise.
13399 (nexttoward_test): Likewise.
13400 (pow_test): Likewise.
13401 (scalbn_test): Likewise.
13402 (scalbln_test): Likewise.
13403 (tan_test): Likewise.
13404 (y1_test): Likewise.
13405 * sysdeps/i386/fpu/libm-test-ulps: Update.
13406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13407
9e0e3d0b
DM
134082012-05-23 David S. Miller <davem@davemloft.net>
13409
13410 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13411 (__libc_sigaction): Remove unused local variables.
13412
ccd0a08f
L
134132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13416
62bdf9a6
PE
134172012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13418
f8591f80
PE
13419 mktime: avoid signed integer overflow
13420 * time/mktime.c (__mktime_internal): Do not mishandle the case
13421 where diff == INT_MIN.
13422
94c7d826
PE
13423 mktime: simplify computation of average
13424 * time/mktime.c (ranged_convert): Use new time_t_avg function
13425 instead of rolling our own (probably-slower) code.
13426
ce73d683
PE
13427 mktime: do not assume signed right shift propagates sign bit
13428 * time/mktime.c (isdst_differ): New static function.
13429 (__mktime_internal): No need to normalize tm_isdst now.
13430 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13431 tm_isdst values.
13432
72a22e59
PE
13433 mktime: merge another wrapv change from gnulib
13434 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13435 from some compilers.
13436
68605433
PE
13437 mktime: remove incorrect attempt at unusual arithmetics
13438 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13439 The code didn't really work on such machines anyway.
13440 (TYPE_MINIMUM): Assume two's complement.
13441 (twos_complement_arithmetic): Verify that long_int and time_t
13442 are two's complement (or unsigned, in the latter case).
13443
03cf7fe3
PE
13444 mktime: check signed shifts on long_int and time_t, too
13445 * time/mktime.c (SHR): Check that shifts work as desired
13446 on the types long_int and time_t too, as SHR is used on
13447 such types.
13448
f04dfbc2
PE
13449 mktime: do not assume 'long' is wide enough
13450 * time/mktime.c (verify): Move decl up.
13451 (long_int): New type.
13452 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13453 to remove assumption in the code that 'long' is wide enough to
13454 store year values. This assumption is not true on x32 and on
13455 some non-glibc platforms.
13456
62bdf9a6
PE
13457 mktime: merge wrapv change from gnulib
13458 * time/mktime.c (WRAPV): New macro.
13459 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13460 (guess_time_tm, __mktime_internal): Do not assume that signed
13461 integer overflow wraps around; modern compilers generate code
13462 where this assumption is no longer valid.
13463
5e292e4f
L
134642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13465
13466 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13467 Replace "jmp L(pseudo_end)" with "ret".
13468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13469 Likewise.
13470
8caf8c87
AJ
134712012-05-23 Andreas Jaeger <aj@suse.de>
13472
13473 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13474 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13475
1a09dc56
AJ
134762012-05-23 Andreas Jaeger <aj@suse.de>
13477 Maximilian Attems <max@stro.at>
13478
13479 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13480 New macros.
13481
1c87aba0
L
134822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13483
13484 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13485 code so that pseudo_end is just ret and the stack pointer is
13486 correct also for static library in error case.
13487
40e45bd5
JM
134882012-05-23 Joseph Myers <joseph@codesourcery.com>
13489
c2670533
JM
13490 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13491 move to syscalls.list.
13492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13496
40e45bd5
JM
13497 * manual/install.texi (Running make install): Do not mention Linux
13498 kernel version for which pt_chown is not needed.
13499 (Linux): Do not mention problems with nscd with 2.0 kernels.
13500 * INSTALL: Regenerated.
13501
be08eda5
AJ
135022012-05-23 Andreas Jaeger <aj@suse.de>
13503
13504 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13505 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13506 macro.
13507 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13508 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13509 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13510 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13511 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13512 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13513 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13514 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13515 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13516 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13517 * sysdeps/unix/sysv/linux/bits/in.h
13518 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13519
a6a056bb
RM
135202012-05-22 Roland McGrath <roland@hack.frob.com>
13521
13522 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13523 (PREPARE_VERSION): Just use assert instead, it will be elided
13524 under [NDEBUG] anyway.
13525
c9009328
L
135262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13527
13528 * sysdeps/unix/sysv/linux/Makefile: Include
13529 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13530 (sysdep_routines): Remove sysctl.
c9009328
L
13531 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13532 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13533 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13534 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13535 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13536
73338355
AJ
135372012-05-22 Andreas Jaeger <aj@suse.de>
13538
13539 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13540 that pseudo_end is just ret and the stack pointer is correct also
13541 for static library in error case.
13542
d44638b0
PP
135432012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13544
13545 [BZ #14122]
13546 * nss/nsswitch.c (defconfig_entries): New variable.
13547 (__nss_database_lookup): Don't leak defconfig entries.
13548 (nss_parse_service_list): Don't leak on error paths.
13549 (free_database_entries): New function.
13550 (free_defconfig): New function.
13551 (free_mem): Move common code to free_database_entries.
13552
31a39bd8
L
135532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13554
da0331a8
L
13555 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13556 Add arch_prctl.
13557 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13558
31a39bd8
L
13559 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13560 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13562 New macro.
13563 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13564 (INTERNAL_SYSCALL_TYPES): Likewise.
13565 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13566 (LOAD_REGS_TYPES_[1-6]): Likewise.
13567 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13568 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13569
45470df3
AZ
135702012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13571
13572 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13573 copysignl for GLIBC_2_0.
13574 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13575 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13577 logbl for GLIBC_2_0.
13578 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13579 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13580
98a61bcb
L
135812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13582
a4f6e481
L
13583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13584 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13585
f63d5db6
L
13586 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13587 Use "neg %eax".
13588
98a61bcb
L
13589 * time/mktime.c: Update copyright years.
13590
95770f14
PE
135912012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13592
6226efbd
PE
13593 mktime: merge comment-quoting-style change from gnulib
13594 * time/mktime.c: Quote 'like this' in comments.
13595 The GNU coding standards suggest that we no longer quote `like this',
13596 as "`" and "'" are typically rendered asymmetrically nowadays.
13597 The typical gnulib style is to quote 'like this' when quoting
13598 code, and "like this" when quoting English.
13599
b99e4f78
PE
13600 * time/mktime.c (compile-command): Add "-I.".
13601
643e01e6
PE
13602 mktime: merge mktime-internal.h change from gnulib
13603 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13604
2554247d
PE
13605 mktime: merge time_r change from gnulib
13606 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13607
826dd0ab
PE
13608 mktime: merge DEBUG change from gnulib
13609 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13610 case system <time.h> has a #define.
13611
bd83aabe
PE
13612 mktime: merge <sys/types.h> change from gnulib
13613 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13614 since <time.t> is now guaranteed to define time_t.
13615
95770f14
PE
13616 mktime: merge HAVE_CONFIG_H change from gnulib
13617 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13618
5e1a27a9
L
136192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13620
0e44a77e
L
13621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13622 Use "neg %eax".
13623
5e1a27a9
L
13624 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13625 __rlim_t cast.
13626 (struct rusage): Use anonymous union to pad each field to
13627 __syscall_slong_t.
13628
46259bec
DM
136292012-05-21 David S. Miller <davem@davemloft.net>
13630
13631 * Makefules (o-iterator): Remove .s cases.
13632 (compile-command.s): Delete.
13633 (COMPILE.s): Delete.
13634 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13635
59f0c22e
JM
136362012-05-21 Joseph Myers <joseph@codesourcery.com>
13637
13638 * configure.in (libc_cv_predef_stack_protector): Only consider
13639 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13640 * configure: Regenerated.
13641
20c07380
L
136422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13643
bbb3154b
L
13644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13645 New macro. Use R*LP on int and pointer.
13646 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13647 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13648 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13649 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13650
20c07380
L
13651 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13652 [__WORDSIZE_TIME64_COMPAT32] instead of
13653 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13654 (struct utmp): Likewise.
13655 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13656 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13657 Renamed to ...
13658 (__WORDSIZE_TIME64_COMPAT32): This.
13659 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13660 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13661 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13662 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13663 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13664 (__WORDSIZE_TIME64_COMPAT32): New macro.
13665
d8d1017e
AJ
136662012-05-21 Andreas Jaeger <aj@suse.de>
13667
13668 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13669 only if [SHARED]. Add prototype for __wcschr_ia32.
13670
6c7fb145
RM
136712012-05-21 Roland McGrath <roland@hack.frob.com>
13672
13673 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13674 of %rbp unmolested in the jmp_buf while mangling the low bits.
13675 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13676 unmolested high bits of %rbp while demangling the low bits.
13677 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13678
66274218
AJ
136792012-05-21 Andreas Jaeger <aj@suse.de>
13680
07c58f8f
AJ
13681 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13682 * sunrpc/svc_simple.c: Use it for registerrpc.
13683 * sunrpc/xcrypt.c: Use it for passwd2des.
13684
66274218
AJ
13685 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13686
61f65140
L
136872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13688
13689 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13690 Don't define if [__SYSCALL_WORDSIZE != 32].
13691 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13692 New macro.
13693
5fefb436
AJ
136942012-05-21 Bruno Haible <bruno@clisp.org>
13695 Andreas Jaeger <aj@suse.de>
13696
13697 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13698 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13699 inptr and inend for must_buffer_ch.
13700 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13701 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13702 * stdio-common/Makefile (tests): Remove bug15.
13703 (bug15-ENV): Remove macro.
13704 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13705 anymore.
13706
d8e272ab
AJ
137072012-05-19 Andreas Jaeger <aj@suse.de>
13708 Roland McGrath <roland@hack.frob.com>
13709
13710 * manual/contrib.texi: Completely rewritten. It contains now an
13711 alphabetical list of contributors and their contributions.
13712
4a56a162
RH
137132012-05-21 Richard Henderson <rth@twiddle.net>
13714
13715 * misc/getauxval.c (__getauxval): Use unsigned long int.
13716 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13717 (getauxval): Use unsigned long int.
13718
d024d23c
L
137192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13720
13721 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13722
cbc00a03
RM
137232012-05-21 Roland McGrath <roland@hack.frob.com>
13724
13725 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13726 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13727 __alignof__ (long double).
13728
478143fa
AZ
137292012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13730
13731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13732
c7683a6d
RH
137332012-05-20 Richard Henderson <rth@twiddle.net>
13734
13735 * misc/getauxval.c: New file.
13736 * misc/sys/auxv.h: New file.
13737 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13738 (routines): Add getauxval.
13739 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13740 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13741 * elf/dl-sysdep.c (_dl_auxv): Remove.
13742 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13743 * elf/dl-support.c (_dl_auxv): New variable.
13744 (_dl_aux_init): Initialize it.
13745 * manual/startup.texi (Auxiliary Vector): New node.
13746 * sysdeps/generic/bits/hwcap.h: New file.
13747 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13748 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13749 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13750 * sysdeps/sparc/sysdep.h: ... here. Include it.
13751 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13752 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13754 Update.
c7683a6d
RH
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13758 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13763
a6f1845d
AZ
137642012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13765
13766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13767
cbcbe830
DM
137682012-05-19 David S. Miller <davem@davemloft.net>
13769
13770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13771
e0b16cc2
JM
137722012-05-19 Joseph Myers <joseph@codesourcery.com>
13773
13774 [BZ #14123]
13775 * math/s_ccosh.c: Include <float.h>
13776 (__ccosh): Avoid internal overflow calculating sinh and cosh
13777 values before multiplying by sin and cos values.
13778 * math/s_ccoshf.c: Likewise.
13779 * math/s_ccoshl.c: Likewise.
13780 * math/s_csin.c: Likewise.
13781 * math/s_csinf.c: Likewise.
13782 * math/s_csinl.c: Likewise.
13783 * math/s_csinh.c: Likewise.
13784 * math/s_csinhf.c: Likewise.
13785 * math/s_csinhl.c: Likewise.
13786 * math/libm-test.inc (ccos_test): Add more tests.
13787 (ccosh_test): Likewise.
13788 (csin_test): Likewise.
13789 (csinh_test): Likewise.
13790 * sysdeps/i386/fpu/libm-test-ulps: Update.
13791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13792
6ad13e08
L
137932012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13794
f66f0ce8
L
13795 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13796 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13797
6ad13e08
L
13798 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13799
b1d072a7
JM
138002012-05-19 Joseph Myers <joseph@codesourcery.com>
13801
13802 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13803 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13804 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13805 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13806 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13807 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13808 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13809 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13810 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13811 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13812 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13813 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13814 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13815 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13816 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13817 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13818 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13819 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13820 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13821 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13822 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13823 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13824 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13825 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13826 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13827 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13828 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13829 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13830 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13831 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13832 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13833
9eae47cb
AJ
138342012-05-18 Andreas Jaeger <aj@suse.de>
13835
13836 * csu/.gitignore: Delete.
13837
bb07f69f
L
138382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13839
13840 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13841 (timex): Use __syscall_slong_t.
13842
e6bdb741
AJ
138432012-05-18 Andreas Jaeger <aj@suse.de>
13844 Carlos O'Donell <carlos_odonell@mentor.com>
13845
13846 * manual/install.texi (Configuring and compiling): Update
13847 description about files modified in the source directory.
d6c33fda 13848 * INSTALL: Regenerated.
e6bdb741 13849
1b74487e
L
138502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13851
13852 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13853 value. Use "or" to set return value to -1.
13854 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13855 negate return value.
13856
a88b64b9
TMQMF
138572012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13858
13859 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13860 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13861 failure if the compiler has Graphite support disabled.
13862 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13863 Likewise.
13864 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13865 CFLAGS-memmove.c): Likewise.
13866 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13867 Likewise.
13868
3707636e
L
138692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13870
610b8622
L
13871 * sysdeps/x86_64/x32/_itoa.h: New file.
13872
7cd195df
L
13873 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13874 getdents system call only if kernel and user dirents have the
13875 same d_ino and d_off.
13876
94b07d20
L
13877 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13878 LLONG_MAX != LONG_MAX.
13879 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13880 (_fitoa_word): Likewise.
13881
18298070
L
13882 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13883 years.
13884 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13885 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13886 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13887
553c7ea4
L
13888 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13889 include <bits/wordsize.h>. Check __x86_64__ instead of
13890 __WORDSIZE.
13891 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13892 if __x86_64__ is defined. Use anonymous union on fpstate.
13893
3707636e
L
13894 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13895 anonymous union.
13896
b53ef01a
AS
138972012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13898
37fb1dc0
AS
13899 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13900 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13901 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13902 Refer to _rtld_local_ro instead of _rtld_global_ro.
13903 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13904 Likewise.
13905 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13906 Likewise.
13907 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13908 Likewise.
13909 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13910 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13911 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13912
b53ef01a
AS
13913 * sysdeps/powerpc/powerpc32/dl-machine.c
13914 (__elf_machine_runtime_setup) [PROF]: Don't reference
13915 _dl_prof_resolve.
13916
7a185db2
AJ
139172012-05-18 Andreas Jaeger <aj@suse.de>
13918
13919 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13920 function only available for GCCs before 3.4 since GCC 3.4
13921 introduced a builtin.
13922 (lrint): Likewise.
13923 (llrintf): Likewise.
13924 (llrint): Likewise.
13925 (fmaxf): Likewise.
13926 (fmax): Likewise.
13927 (fminf): Likewise.
13928 (fmin): Likewise.
13929 (rint): Likewise.
13930 (rintf): Likewise.
13931 (nearbyint): Likewise.
13932 (nearbyintf): Likewise.
13933 (ceil): Likewise.
13934 (ceilf): Likewise.
13935 (floor): Likewise.
13936 (floorf): Likewise.
13937
3e5aef87
L
139382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13939
428bd707
L
13940 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13941 on both fields and cast pointer to __syscall_ulong_t.
13942
3e5aef87
L
13943 * bits/types.h (__fsword_t): New type.
13944 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13945 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13946 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13947 (__FSWORD_T_TYPE): Likewise.
13948 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13949 (__FSWORD_T_TYPE): Likewise.
13950 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13951 (__FSWORD_T_TYPE): Likewise.
13952 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13953 (__FSWORD_T_TYPE): Likewise.
13954 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13955 __SWORD_TYPE with __fsword_t.
13956 (statfs64): Likewise.
13957
1ba7c3dc
DM
139582012-05-17 David S. Miller <davem@davemloft.net>
13959
13960 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13961
59910343
AJ
139622012-05-17 Andreas Jaeger <aj@suse.de>
13963
13964 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13965 warning.
13966
2e4c1e9e
L
139672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13970
de7f5ce7
AJ
139712012-05-17 Andreas Jaeger <aj@suse.de>
13972
13973 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13974 when it is used.
13975
286abc3d
CM
139762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13977
13978 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13979
477cc68e
L
139802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13981
13982 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13983 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13984
1a0994f5
CD
139852012-05-17 Andreas Jaeger <aj@suse.de>
13986 Carlos O'Donell <carlos_odonell@mentor.com>
13987
13988 [BZ #14059]
13989 * sysdeps/x86_64/multiarch/init-arch.h
13990 (bit_YMM_Usable): Rename to...
13991 (bit_AVX_Usable): ... this.
13992 (bit_FMA4_Usable): New macro.
13993 (bit_XMM_state): New macro.
13994 (bit_YMM_state): New macro.
13995 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13996 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13997 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13998 (CPUID_OSXSAVE): New macro.
13999 (CPUID_AVX): New macro.
14000 (CPUID_FMA4): New macro.
14001 (index_YMM_Usable): Rename to...
14002 (index_AVX_Usable): ... this.
14003 (HAS_AVX): Use HAS_ARCH_FEATURE.
14004 (HAS_FMA4): Likewise.
14005 (HAS_YMM_USABLE): Remove.
14006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14007 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14008 are present.
14009 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14010 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14011 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14012 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14013 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14014
0af797de
CM
140152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14016
14017 * math/libm-test.c: Support platforms without multiple rounding modes.
14018 * math/bug-nextafter.c: Support platforms without FP exceptions.
14019 * math/bug-nexttoward.c: Likewise.
14020 * math/test-fenv.c: Likewise.
14021 * math/test-misc.c: Likewise.
14022 * stdlib/bug-getcontext.c: Likewise.
14023
e39745ff
AJ
140242012-05-17 Andreas Jaeger <aj@suse.de>
14025
14026 * manual/examples/search.c (critter_cmp): Change signature to
14027 avoid warnings.
14028 * manual/string.texi (Collation Functions): Likewise.
14029
48970aba
L
140302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14031
14032 * bits/types.h: Fold copyright years.
14033 * bits/typesizes.h: Likewise.
14034 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14036 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14038 * time/time.h: Likewise.
14039
bedee953
PP
140402012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14041
14042 [BZ #208]
14043 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14044 in instead of returning them. Return void.
14045 (__libc_mallinfo): Accumulate over all arenas.
14046 (__malloc_stats): Adjust for change in int_mallinfo interface.
14047
61653dfb
RM
140482012-05-16 Roland McGrath <roland@hack.frob.com>
14049
30b99d79
RM
14050 [BZ #10375]
14051 * configure.in (NM): Add AC_CHECK_TOOL for it.
14052 (libc_extra_cflags): New substituted variable.
14053 Check for -fstack-protector being used implicitly.
14054 * configure: Regenerated.
14055 * config.make.in (config-extra-cflags): New variable,
14056 gets @libc_extra_cflags@.
14057 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14058
61653dfb
RM
14059 [BZ #10375]
14060 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14061 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14062 * configure: Regenerated.
14063 * config.make.in (CPPUNDEFS): New substituted variable.
14064 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14065 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14066 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14067
661768bb
L
140682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14069
14070 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14071 (mq_attr): Use __syscall_slong_t.
14072
d4261567
L
140732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14074
14075 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14076 Check __x86_64__ instead of __WORDSIZE.
14077 (_STAT_VER_LINUX): Likewise.
14078 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14079 __syscall_ulong_t and __syscall_slong_t.
14080 (stat64): Likewise.
14081
cf3ff365
L
140822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14083
14084 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14085
76cf3e4d
L
140862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14087
14088 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14089
a637753a
L
140902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14091
14092 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14093 __syscall_ulong_t.
14094
d5e05119
L
14095 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14096 include <bits/wordsize.h>. Check __x86_64__ instead of
14097 __WORDSIZE.
14098 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14099 defined.
14100 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14101
f62ee380
L
14102 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14103 include <bits/wordsize.h>. Check __x86_64__ instead of
14104 __WORDSIZE.
14105 (user_regs_struct): Use "__extension__ unsigned long long"
14106 instead of "unsigned long" if __x86_64__ is defined.
14107 (user): Likewise. Pad after pointer field if __ILP32__ is
14108 defined.
14109
4e124ced
JM
141102012-05-16 Joseph Myers <joseph@codesourcery.com>
14111
6a3951a0
JM
14112 * configure.in (makeinfo): Require version 4.5 or later. Allow
14113 versions 5 to 9.
14114 * configure: Regenerated.
14115 * manual/install.texi (texinfo): Increase version requirement to
14116 4.5 or later.
14117 * INSTALL: Regenerated.
14118
4e124ced
JM
14119 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14120
953ca31a
L
141212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14124
617aca05
L
14125 * sysdeps/x86_64/x32/ffs.c: New file.
14126
5762f7ae
L
14127 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14128 __syscall_ulong_t.
14129 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14130 defined. Use __syscall_ulong_t.
14131 (shminfo): Use __syscall_ulong_t.
14132 (shm_info): Likewise.
14133
a26b6856
L
14134 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14135 __syscall_ulong_t.
14136
cb2b9ef7
L
14137 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14138 <bits/wordsize.h>.
14139 (msgqnum_t): Use __syscall_ulong_t.
14140 (msglen_t): Likewise.
14141 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14142 __syscall_ulong_t.
14143
34683bb0
L
14144 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14145 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14146
84a68786
L
14147 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14148
48baa5f1
L
14149 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14150 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14151
180be88b
L
14152 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14153 __syscall_slong_t.
14154
5e90c8ad
L
14155 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14156 include <bits/wordsize.h>. Check __x86_64__ instead of
14157 __WORDSIZE.
14158
23dfb58b
L
14159 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14160 "unsigned long long int" if __x86_64__ is defined.
14161 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14162
ce5d54b0
L
14163 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14164 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14165 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14166
13dc9eac
L
14167 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14168 <stdint.h>.
14169 (GET_PC): Cast to uintptr_t first.
14170 (GET_FRAME): Likewise.
14171 (GET_STACK): Likewise.
14172
a7895d15
L
14173 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14174 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14175 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14176 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14177 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14178 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14179 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14180 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14181 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14182 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14183 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14184 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14185 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14186 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14187 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14188 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14189 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14190 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14191 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14192 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14193 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14194 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14195 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14196 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14197 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14198 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14199 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14200 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14201 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14202
656416c9
AS
142032012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14204
5bd66283
AS
14205 * Makerules (+depfiles): Also collect depfiles from .oS in
14206 $(extra-objs).
14207 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14208 .oS, $(libnldbl-routines)).
14209
656416c9
AS
14210 * Makerules (native-compile-mkdep-flags): Define.
14211 * sunrpc/Makefile (extra-objs): Add $(addprefix
14212 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14213 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14214 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14215 calling $(make-target-directory).
14216
a46f2169
L
142172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14218
14219 * bits/types.h (__snseconds_t): Removed.
14220 * time/time.h (struct timespec): Replace __snseconds_t with
14221 __syscall_slong_t.
14222 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14223 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14224 Likewise.
14225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14226 (__SNSECONDS_T_TYPE): Likewise.
14227 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14228 (__SNSECONDS_T_TYPE): Likewise.
14229 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14230 (__SNSECONDS_T_TYPE): Likewise.
14231
6af6528b
L
142322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14233
14234 * sysdeps/mach/hurd/bits/typesizes.h
14235 (__SYSCALL_SLONG_TYPE): New macro.
14236 (__SYSCALL_ULONG_TYPE): Likewise.
14237
de986b56
L
142382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14239
14240 * bits/types.h (__syscall_slong_t): New type.
14241 (__syscall_ulong_t): Likewise.
14242
14243 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14244 (__SYSCALL_ULONG_TYPE): Likewise.
14245 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14246 (__SYSCALL_SLONG_TYPE): Likewise.
14247 (__SYSCALL_ULONG_TYPE): Likewise.
14248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14249 (__SYSCALL_SLONG_TYPE): Likewise.
14250 (__SYSCALL_ULONG_TYPE): Likewise.
14251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14252 (__SYSCALL_SLONG_TYPE): Likewise.
14253 (__SYSCALL_ULONG_TYPE): Likewise.
14254
85736dc7
L
142552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14256
14257 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14258 Add sigaltstack-offsets.sym.
14259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14260 <sigaltstack-offsets.h>.
14261 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14262 longjmp_msg pointer.
14263 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14264 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14265 signal stack.
14266 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14267
cc03b296
JM
142682012-05-15 Joseph Myers <joseph@codesourcery.com>
14269
a9538892
JM
14270 * elf/stackguard-macros.h: Remove file.
14271 * sysdeps/generic/stackguard-macros.h: New file.
14272 * sysdeps/i386/stackguard-macros.h: Likewise.
14273 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14274 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14275 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14276 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14277 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14278 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14279 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14280 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14281 <elf/stackguard-macros.h>.
14282
cc03b296
JM
14283 [BZ #14109]
14284 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14285 __aligned__ in attribute.
14286 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14287 (gregset_t): Likewise.
14288
93171016
L
142892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14290
14291 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14292 * sysdeps/x86_64/64/Implies-after: Here. New file.
14293 * sysdeps/x86_64/x32/Implies-after: New file.
14294
d86813a0
L
142952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14296
14297 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14298 and access return value for _dl_profile_fixup. Use R10_LP to
14299 load frame size.
14300
2953ec75
L
143012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14302
14303 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14304
3b550e9e
L
143052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14306
14307 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14308 * sysdeps/x86_64/x32/sysdep.h: New file.
14309
eda41706
L
143102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14311
14312 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14313 * sysdeps/x86_64/setjmp.S: Likewise.
14314
9ea01d93
AZ
143152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14316
14317 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14318 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14319 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14320 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14321 remove unused global constant.
14322
02a91938
CM
143232012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14324
14325 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14326 include of <not-cancel.h>.
14327
6540185f
RM
143282012-05-15 Roland McGrath <roland@hack.frob.com>
14329
14330 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14331
509072a0
AJ
143322012-05-15 Jeff Law <law@redhat.com>
14333 Andreas Jaeger <aj@suse.de>
14334
14335 [BZ #13594]
14336 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14337 out from...
14338 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14339 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14340 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14341 code changing __hst_map_handle.map.
14342
ba75122d
RM
143432012-05-15 Roland McGrath <roland@hack.frob.com>
14344
14345 * configure.in (sysnames): Look for Implies-before and Implies-after
14346 files.
14347 * configure: Regenerated.
14348
890d8bd8
L
143492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14350
14351 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14352 8-byte data alignment with LP_SIZE alignment.
14353
f6ee6623
L
143542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14355
14356 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14357 into R10_LP.
14358
ea2626f6
L
143592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14360
14361 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14362
085f715e
L
143632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14364
14365 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14366 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14367 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14368 Likewise.
14369 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14370
be8498fc
L
143712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14372
14373 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14374 (stackinfo_sub_sp): Likewise.
14375
70bc83b9
L
143762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14377
14378 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14379 RAX_LP.
14380
9bc0b730
L
143812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14382
14383 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14384 into R*_LP.
14385
6d2850e7
L
143862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14387
14388 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14389 sizes into R*_LP.
14390
3cb84561
L
143912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14392
14393 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14394
54e2ed81
L
143952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14396
14397 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14398 into R11_LP and load __x86_64_shared_cache_size_half into
14399 R8_LP.
14400
8a17f349
L
144012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14402
14403 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14404 R8_LP.
14405
777b1eea
AZ
144062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14407
14408 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14409 logb for POWER7.
14410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14411 logbf for POWER7.
14412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14413 logbl for POWER7.
14414 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14415 powerpc32/power7/fpu/s_logb.c via #include.
14416 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14417 powerpc32/power7/fpu/s_logbf.c via #include.
14418 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14419 powerpc32/power7/fpu/s_logbl.c via #include.
14420
d20d4ac2
JM
144212012-05-15 Joseph Myers <joseph@codesourcery.com>
14422
14423 * README.libm: Remove file.
14424
6cdef1ab
L
144252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14426
14427 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14428 count for x32. Use R*_LP and omit operand-size suffix.
14429
0b254d8f
L
144302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14431
14432 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14433 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14434 * sysdeps/x86_64/x32/shlib-versions: New file.
14435
ceb809dc
RM
144362012-05-14 Roland McGrath <roland@hack.frob.com>
14437
14438 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14439 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14440 Use _dl_fatal_printf instead.
14441
37f1abd4
JM
144422012-05-14 Joseph Myers <joseph@codesourcery.com>
14443
14444 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14445 set if not set by the user. Do not allow for being unset.
14446 * sysdeps/unix/sysv/linux/configure: Regenerated.
14447
11de3a33
L
144482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14449
14450 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14451 the `q' suffix from lea and replace .quad with ASM_ADDR.
14452
e02f153a
L
144532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14454
14455 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14456 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14457 instead of $17.
14458 (PTR_DEMANGLE): Likewise.
14459
520ae0fd
L
144602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14461
14462 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14463 (LP_OP): Likewise.
14464 (ASM_ADDR): Likewise.
14465 (RAX_LP): Likewise.
14466 (RBP_LP): Likewise.
14467 (RBX_LP): Likewise.
14468 (RCX_LP): Likewise.
14469 (RDI_LP): Likewise.
14470 (RSI_LP): Likewise.
14471 (RSP_LP): Likewise.
14472 (R8_LP): Likewise.
14473 (R9_LP): Likewise.
14474 (R10_LP): Likewise.
14475 (R10_LP): Likewise.
14476 (R11_LP): Likewise.
14477 (R12_LP): Likewise.
14478 (R13_LP): Likewise.
14479 (R14_LP): Likewise.
14480 (R15_LP): Likewise.
14481
b985be81
L
144822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14483
14484 * sysdeps/x86_64/x32/dl-machine.h: New file.
14485
6a4888ff
AJ
144862012-05-14 Andreas Jaeger <aj@suse.de>
14487
14488 * manual/Makefile (subdir): Remove export of subdir.
14489 (all): Remove target.
14490 (.PHONY): Remove all from list.
14491 (mkinstalldirs): Remove.
14492 (.PHONY): Remove installdirs from list.
14493 ($(inst_infodir)/libc.info): Use make-target-directory.
14494 (installdirs): Remove.
14495 (subdir_%): Remove.
14496 (glibc-targets): Remove.
14497 (lib): Remove.
14498 (stubs): Remove.
14499 ($(objpfx)stubs ../po/manual.pot): Remove.
14500 ($(objpfx)stamp%): Remove.
14501 (make-target-directory): Remove.
14502 (subdir_install): Remove.
14503 (routines): Remove.
14504 (aux): Remove.
14505 (sources): Remove.
14506 (objects): Remove.
14507 (headers): Remove.
14508
14509 [BZ #13750]
14510 * manual/.gitignore: Remove, it's not needed anymore.
14511 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14512 all files in it.
14513 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14514 directory.
14515 (texis): Renamed to $(objpfx)texis.
14516 (texis-path): New, contains path to generated files.
14517 (chapters.%): Use texis-path for complete path, add extra argument
14518 libc-texinfo.sh.
14519 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14520 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14521 (summary,texi, stamp-summary): Use complete path of
14522 files. Generate files in build dir.
14523 (dir-add.texi): Build in build dir.
14524 (libm-err.texi,stamp-libm-err): Likewise.
14525 (version.texi, stamp-version): Likewise.
14526 (.%c.texi): Likewise.
14527 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14528 (mostlyclean): Remove target.
14529 (realclean): Remove target.
14530 (generated): Add new variable with contents from mostlyclean and
14531 realclean, remove entries duplicated in common-mostlyclean, add
14532 stamp-libm-err and stamp-version.
14533 (generated-dirs): Add libc directory.
14534 ($(inst_infodir)/libc.info): Install files from build dir.
14535
14536 * manual/install.texi (Configuring and compiling): Adjust since
14537 the info files are not part of the tar ball anymore.
14538
7ac77294
AJ
145392012-05-14 Andreas Jaeger <aj@suse.de>
14540
14541 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14542 variable.
14543
ffb7875d
JM
145442012-05-14 Joseph Myers <joseph@codesourcery.com>
14545
14546 [BZ #13717]
14547 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14548 to 2.2.0 where earlier.
14549 * sysdeps/unix/sysv/linux/configure: Regenerated.
14550 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14551 Remove conditional code.
14552 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14553 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14554 Remove conditional code.
14555 [!__NR_lchown]: Likewise.
14556 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14557 [__NR_lchown]: Likewise.
14558 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14559 comment referencing __ASSUME_LCHOWN_SYSCALL.
14560 * sysdeps/unix/sysv/linux/i386/sigaction.c
14561 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14562 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14563 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14564 Remove conditional code.
14565 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14566 (__protocol_available): Remove #if 0 code.
14567 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14568 conditional code.
14569 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14570 * sysdeps/unix/sysv/linux/kernel-features.h
14571 (__ASSUME_GETCWD_SYSCALL): Don't define.
14572 (__ASSUME_REALTIME_SIGNALS): Likewise.
14573 (__ASSUME_PREAD_SYSCALL): Likewise.
14574 (__ASSUME_PWRITE_SYSCALL): Likewise.
14575 (__ASSUME_POLL_SYSCALL): Likewise.
14576 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14577 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14578 non-SPARC.
14579 (__ASSUME_SIOCGIFNAME): Don't define.
14580 (__ASSUME_MSG_NOSIGNAL): Likewise.
14581 (__ASSUME_SENDFILE): Define unconditionally.
14582 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14583 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14584 conditional code.
14585 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14586 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14587 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14588 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14589 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14590 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14591 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14593 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14596 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14599 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14602 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14603 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14605 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14606 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14608 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14611 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14614 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14615 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14616 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14617 Remove conditional code.
14618 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14619 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14620 Remove conditional code.
14621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14622 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14623 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14624 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14625 Remove conditional code.
14626 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14627 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14628 Remove conditional code.
14629 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14630 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14631 Remove conditional code.
14632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14633 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14634 Remove conditional code.
14635 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14636 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14637 Remove conditional code.
14638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14639 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14640 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14642 * sysdeps/unix/sysv/linux/sigaction.c
14643 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14644 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14645 * sysdeps/unix/sysv/linux/sigpending.c
14646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14648 * sysdeps/unix/sysv/linux/sigprocmask.c
14649 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14650 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14651 * sysdeps/unix/sysv/linux/sigsuspend.c
14652 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14653 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14654 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14655 (__libc_missing_rt_sigs): Remove.
14656 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14657 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14658 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14659 Remove conditional code.
14660 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14661 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14662 return 1.
14663 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14664 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14665 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14666 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14667
1bfb7291
AJ
146682012-05-14 Andreas Jaeger <aj@suse.de>
14669
caae5a81
AJ
14670 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14671 it's not used in glibc.
14672 (__coshm1): Likewise.
14673 (__acosh1p): Likewise.
14674 (__sgn): Likewise.
14675
1bfb7291
AJ
14676 * manual/string.texi (Copying and Concatenation): Add missing
14677 variable in concat example.
14678 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14679
c044d724
L
146802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14681
144c5467 14682 [BZ #14103]
c044d724
L
14683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14684 __builtin_clzl with __builtin_clzll.
14685
2523c62b
L
146862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14687
14688 [BZ #14104]
14689 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14690 libc_freeres_ptr.
14691
d7bb4c42
LD
146922012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14693
14694 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14695 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14696 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14697 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14698
9dc4e1fb
MF
146992012-05-14 Mike Frysinger <vapier@gentoo.org>
14700
14701 * NEWS: Update ia64 info.
14702
c7df0112
AS
147032012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14704
14705 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14706 used as bcopy.
14707
dc70356c
TS
147082012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14709
14710 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14711 * sysdeps/unix/syscalls.list (dup3): Likewise.
14712 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14713 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14714
9fb1a21f
L
147152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14716
14717 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14718 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14719
4822a2a5
L
147202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14721
14722 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14723 thread pointer.
14724 (TLS_IE): Use mov/add instead of movq/addq to load thread
14725 pointer.
14726 (TLS_GD_PREFIX): New.
14727 (TLS_GD): Use it.
14728
842b81d6
DM
147292012-05-11 David S. Miller <davem@davemloft.net>
14730
14731 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14732 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14733 (_FPU_SETCW): Likewise.
14734
1cf463cd
L
147352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14736
14737 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14738 is 32-byte aligned.
14739
60cc4a18
AS
147402012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14741
14742 [BZ #11837]
14743 * iconvdata/gb18030.c: Update tables.
14744 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14745 characters specially.
14746 (BODY for TO_LOOP): Add encoding of missing ranges.
14747
febb44a4
TS
147482012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14749
14750 [BZ #13673]
14751 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14752 * sysdeps/mach/hurd/dup3.c: Likewise.
14753 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14754 * sysdeps/powerpc/memmove.c:: Likewise.
14755
0a10fb9e
L
147562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14757
14758 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14759 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14760
df8a552f
L
147612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14762
14763 * elf/elf.h (R_X86_64_RELATIVE64): New.
14764 (R_X86_64_NUM): Updated.
14765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14766 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14767 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14768 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14769 tst-quad1pie tst-quad2pie
14770 (modules-names): Add tst-quadmod1 tst-quadmod2.
14771 ($(objpfx)tst-quad1): New dependency.
14772 ($(objpfx)tst-quad2): Likewise.
14773 ($(objpfx)tst-quad1pie): Likewise.
14774 ($(objpfx)tst-quad2pie): Likewise.
14775 * sysdeps/x86_64/tst-quad1.c: New file.
14776 * sysdeps/x86_64/tst-quad1pie.c: New file.
14777 * sysdeps/x86_64/tst-quad2.c: Likewise.
14778 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14779 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14780 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14781 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14782 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14783
f34d6f84
ST
147842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14785
f42d41d1
ST
14786 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14787 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14788 * streams/stropts.h (t_scalar_t): Define type.
14789
3c3571fc
ST
14790 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14791 (_PATH_PRESERVE): Set to "/var/lib".
14792 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14793
61f06bd3
ST
14794 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14795 instead of int.
14796
918d4d71
ST
14797 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14798 if __dir_mkfile succeeded.
14799
f34d6f84
ST
14800 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14801 checking for _hurd_dtablesize. Unlock it right after having
14802 finished _hurd_dtable allocation.
14803
10589b4a
TS
148042012-05-10 Thomas Schwinge <thomas@schwinge.name>
14805
674cdbc7
TS
14806 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14807 * sysdeps/mach/hurd/configure: Regenerated.
14808 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14809 special-casing to...
14810 * sysdeps/gnu/configure.in: ... this new file.
14811 * sysdeps/unix/sysv/linux/configure: Regenerated.
14812 * sysdeps/gnu/configure: New generated file.
14813
8e41b99f
TS
14814 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14815 for Linux: use nsec instead of usec, as well as:
14816 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14817 members of type struct timespec.
14818 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14819 New macros.
14820 (struct stat64): Likewise.
14821 (_STATBUF_ST_NSEC): New macro.
14822 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14823
10589b4a
TS
14824 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14825 __strtoul_internal rather than strtoul.
14826
63643c85
PT
148272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14828
14829 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14830 and reject them.
14831
3faebe6a
ST
148322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14833
14834 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14835 which preserves existing values.
14836 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14837
c6474b07
PT
148382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14839
14840 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14841 TIMEOUT values. Return EINVAL for NFDS values either negative or
14842 greater than FD_SETSIZE.
14843
1043890b
ST
148442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14845
14846 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14847 allocated, call __vm_protect to finish enabling the existing space, and
14848 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14849 allocate the remainder.
14850
37ed8b9b
PT
148512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14852
14853 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14854 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14855
db653660
ST
148562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14857
37ed8b9b
PT
14858 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14859 sysdeps/mach/hurd/readlink.c.
b29d4053 14860
db653660
ST
14861 * posix/tst-sysconf.c (posix_options): Only use
14862 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14863 _POSIX_SYNCHRONIZED_IO when they are defined
14864 * sysdeps/mach/hurd/bits/posix_opt.h:
14865 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14866 (_XOPEN_REALTIME): Undefine macro.
14867 (_XOPEN_REALTIME_THREADS): Undefine macro.
14868 (_XOPEN_SHM): Undefine macro.
14869 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14870 macro to -1.
14871 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14872 macro to -1.
14873 (_POSIX_ASYNC_IO): Undefine macro.
14874 (_POSIX_PRIORITIZED_IO): Undefine macro.
14875 (_POSIX_SPIN_LOCKS): Define macro to -1.
14876
ee16e894
ST
14877 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14878 SA_NODEFER, SA_RESETHAND.
14879 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14880 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14881 F_DUPFD_CLOEXEC.
14882
6103ae3b
TS
148832012-05-10 Thomas Schwinge <thomas@schwinge.name>
14884
14885 * elf/Makefile (pldd-modules): Define unconditionally.
14886
80b4e5f3
TS
148872012-05-10 Thomas Schwinge <thomas@schwinge.name>
14888
14889 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14890
edadcbd6
ST
148912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14892
14893 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14894 Return ENOENT when name is empty.
14895 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14896
80694780
TS
148972012-05-10 Thomas Schwinge <thomas@schwinge.name>
14898
1792c087
TS
14899 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14900
80694780
TS
14901 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14902
6b645f0d
ST
149032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14904
80694780
TS
14905 Fix mlock in all cases except non-readable pages.
14906 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14907 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14908
6b645f0d
ST
14909 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14910 (__mkdir): When path is `/', just fail with EEXIST.
14911 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14912
e468f8a3
TS
149132012-05-10 Thomas Schwinge <thomas@schwinge.name>
14914
14915 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14916 <sys/uio.h> (for writev).
14917 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14918 and <sys/param.h> (for MIN).
14919
a4186cff
PT
149202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14921
14922 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14923 REQUESTED_TIME. Properly set the remaining time and return EINTR
14924 if interrupted.
14925
510bbf14
TS
149262012-05-10 Thomas Schwinge <thomas@schwinge.name>
14927
14928 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14929 Depend on against $(link-rpcuserlibs).
14930
5d5722e8
ST
149312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14932
a4186cff
PT
14933 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14934 (__libc_stack_end): Do not use attribute_relro.
14935 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14936 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14937 to libthread-provided value.
a4186cff
PT
14938 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14939 attribute_relro.
5d5722e8 14940
37233df9
TS
149412012-05-10 Thomas Schwinge <thomas@schwinge.name>
14942
be971a2b
TS
14943 [BZ #3748]
14944 * bits/libc-lock.h (__libc_once_get): New macro.
14945 * sysdeps/mach/bits/libc-lock.h: Likewise.
14946 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14947 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14948 instead of using implementation details.
14949
37233df9
TS
14950 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14951 * libio/freopen.c: Likewise.
14952 * libio/freopen64.c: Likewise.
14953 * misc/syslog.c: Likewise.
14954 * nscd/connections.c: Likewise.
14955 * nscd/netgroupcache.c: Likewise.
14956 * sysdeps/posix/getcwd.c: Likewise.
14957
38de94a5
RM
149582012-05-10 Roland McGrath <roland@hack.frob.com>
14959
14960 * math/w_ilogbf.c: Add #include <limits.h>.
14961
67530489
ST
149622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14963
a4186cff 14964 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14965 path instead of returning without unlocking.
14966
67530489
ST
14967 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14968 immediate-write ioctls.
14969 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14970
5aa3a74a
TS
149712012-05-10 Thomas Schwinge <thomas@schwinge.name>
14972
18bad2ae
TS
14973 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14974 __builtin_frame_address instead of making assumptions about the
14975 location of the return address relative to DATA. Force early load of
14976 the return address.
14977 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14978 __builtin_frame_address.
14979
5aa3a74a
TS
14980 dup3 for GNU Hurd.
14981 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14982 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14983 implement dup3 and do some further code clean-ups.
14984 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14985 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14986
ecd0de9a
ST
149872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14988
cd9fa985
ST
14989 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14990
a4186cff
PT
14991 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14992 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14993 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14994 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14995 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14996 d->port.lock.
802ca5a5 14997
a4186cff
PT
14998 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14999 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15000 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15001
bcf55240
TS
150022012-05-10 Thomas Schwinge <thomas@schwinge.name>
15003
6960eb42
TS
15004 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15005 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15006 definitions.
15007
eb43375f
TS
15008 accept4 for GNU Hurd.
15009 * include/sys/socket.h (__libc_accept4): New prototype.
15010 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15011 to implement __libc_accept4.
15012 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15013 __libc_accept4.
15014 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15015
bcf55240
TS
15016 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15017 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15018 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15019 signal-defines.sym.
15020
6178c55b
ST
150212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15022
a4186cff 15023 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15024
6f080c2f
TS
150252012-05-10 Thomas Schwinge <thomas@schwinge.name>
15026
15027 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15028 assertion on O_CLOEXEC flag.
15029 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15030 * hurd/intern-fd.c: Likewise.
15031 * hurd/port2fd.c: Likewise.
15032
bcfe3a54
ST
150332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15034
15035 [BZ #3906]
15036 * bits/in.h (IPV6_PKTINFO): Define new macro.
15037 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15038
89c9aa49
AZ
150392012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15040
15041 [BZ #13954]
15042 [BZ #13955]
15043 [BZ #13956]
15044 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15045 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15046 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15047 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15048 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15049 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15050 * math/libm-test.inc (logb_test) : Additional logb tests.
15051
021db4be
AJ
150522012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15053 Andreas Jaeger <aj@suse.de>
15054
15055 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15056 * configure: Regenerated.
15057 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15058 * config.make.in (link-obsolete-rpc): New substituted variable.
15059 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15060 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15061 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15062 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15063 so that libc.a contains the symbols.
15064 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15065 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15066 * sunrpc/auth_none.c: Likewise.
15067 * sunrpc/auth_unix.c: Likewise.
15068 * sunrpc/authdes_prot.c: Likewise.
15069 * sunrpc/authuxprot.c: Likewise.
15070 * sunrpc/clnt_gen.c: Likewise.
15071 * sunrpc/clnt_perr.c: Likewise.
15072 * sunrpc/clnt_raw.c: Likewise.
15073 * sunrpc/clnt_simp.c: Likewise.
15074 * sunrpc/clnt_tcp.c: Likewise.
15075 * sunrpc/clnt_udp.c: Likewise.
15076 * sunrpc/clnt_unix.c: Likewise.
15077 * sunrpc/des_crypt.c: Likewise.
15078 * sunrpc/des_soft.c: Likewise.
15079 * sunrpc/get_myaddr.c: Likewise.
15080 * sunrpc/key_call.c: Likewise.
15081 * sunrpc/key_prot.c: Likewise.
15082 * sunrpc/netname.c: Likewise.
15083 * sunrpc/pm_getmaps.c: Likewise.
15084 * sunrpc/pm_getport.c: Likewise.
15085 * sunrpc/pmap_clnt.c: Likewise.
15086 * sunrpc/pmap_prot.c: Likewise.
15087 * sunrpc/pmap_prot2.c: Likewise.
15088 * sunrpc/pmap_rmt.c: Likewise.
15089 * sunrpc/publickey.c: Likewise.
15090 * sunrpc/rpc_cmsg.c: Likewise.
15091 * sunrpc/rpc_common.c: Likewise.
15092 * sunrpc/rpc_dtable.c: Likewise.
15093 * sunrpc/rpc_prot.c: Likewise.
15094 * sunrpc/rpc_thread.c: Likewise.
15095 * sunrpc/rtime.c: Likewise.
15096 * sunrpc/svc.c: Likewise.
15097 * sunrpc/svc_auth.c: Likewise.
15098 * sunrpc/svc_raw.c: Likewise.
15099 * sunrpc/svc_run.c: Likewise.
15100 * sunrpc/svc_tcp.c: Likewise.
15101 * sunrpc/svc_udp.c: Likewise.
15102 * sunrpc/svc_unix.c: Likewise.
15103 * sunrpc/svcauth_des.c: Likewise.
15104 * sunrpc/xcrypt.c: Likewise.
15105 * sunrpc/xdr.c: Likewise.
15106 * sunrpc/xdr_array.c: Likewise.
15107 * sunrpc/xdr_float.c: Likewise.
15108 * sunrpc/xdr_intXX_t.c: Likewise.
15109 * sunrpc/xdr_mem.c: Likewise.
15110 * sunrpc/xdr_rec.c: Likewise.
15111 * sunrpc/xdr_ref.c: Likewise.
15112 * sunrpc/xdr_sizeof.c: Likewise.
15113 * sunrpc/xdr_stdio.c: Likewise.
15114
b5c086a2
RM
151152012-05-10 Roland McGrath <roland@hack.frob.com>
15116
15117 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15118 change. Update copyright years.
15119
6d74dd09
JM
151202012-05-10 Joseph Myers <joseph@codesourcery.com>
15121
15122 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15123
28e72501
MK
151242012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15125 Joseph Myers <joseph@codesourcery.com>
15126 Paul Pluzhnikov <ppluzhnikov@google.com>
15127
15128 [BZ #14012]
15129 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15130 requiring rpcgen.
15131 [cross-compiling] (extra-libs): Likewise.
15132 [cross-compiling] (extra-libs-others): Likewise.
15133 [cross-compiling] (librpcsvc-routines): Likewise.
15134 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15135 [cross-compiling] (omit-deps): Likewise.
15136 (sunrpc-CPPFLAGS): New variable.
15137 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15138 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15139 (cross-rpcgen-objs): New variable.
15140 (extra-objs): Append $(cross-rpcgen-objs).
15141 ($(cross-rpcgen-objs)): New rule.
15142 ($(objpfx)cross-rpcgen): Likewise.
15143 (rpcgen-cmd): Define to use $(built-program-file). Expand
15144 comment.
15145 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15146 ($(objpfx)x%.stmp): Likewise.
15147 * sunrpc/proto.h [IS_IN_build] (_): Define.
15148 [IS_IN_build] (_libc_intl_domainname): Likewise.
15149
c8c59454
L
151502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15151
15152 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15153 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15154 and R_X86_64_TPOFF64.
15155
6f27cd16
JM
151562012-05-10 Joseph Myers <joseph@codesourcery.com>
15157
15158 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15159 sysdeps/unix/sysv/syscalls.list.
15160 (stime): Likewise.
15161 (utime): Likewise.
15162 * sysdeps/unix/sysv/syscalls.list: Remove file.
15163
02467e1c
PE
151642012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15165
15166 [BZ #3440]
15167 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15168 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15169 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15170 (__LC_IDENTIFICATION): Make these macros useful in #if
15171 expressions, as required by C99.
15172
da392631
AS
151732012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15174
15175 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15176 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15177 after this.
15178
8115f29b
L
151792012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15180
15181 * stdlib/longlong.h: Updated from GCC.
15182
bdd74070
AJ
151832012-05-09 Andreas Jaeger <aj@suse.de>
15184
edfe0dbe
AJ
15185 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15186 default is first entry.
15187 (run_mode): Set type.
15188 (main): Remove informal message about syslog.
15189 (options): Fix typo.
15190
bcfe3a54
ST
15191 [BZ #14053]
15192 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15193 to asm.
bcfe3a54
ST
15194 (lrint): Likewise.
15195 (llrintf): Likewise.
15196 (llrint): Likewise.
15197 (rint): Likewise.
15198 (rintf): Likewise.
15199 (nearbyint): Likewise.
15200 (nearbyintf): Likewise.
bdd74070 15201
91d8d69e
AJ
152022012-05-09 Andreas Jaeger <aj@suse.de>
15203 Pedro Alves <palves@redhat.com>
15204
15205 * nscd/nscd.c (run_mode): Use enum.
15206 (main): Cleanup coding style issue.
15207
bb90b80b
AJ
152082012-05-09 Alexandre Oliva <aoliva@redhat.com>
15209 Andreas Jaeger <aj@suse.de>
15210
bcfe3a54
ST
15211 * nscd/nscd.c (go_background): Replaced with...
15212 (run_mode): ... this.
bb90b80b 15213 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15214 (options): Add -F --foreground.
15215 (main): Implement it.
15216 (parse_opt): Parse it.
bb90b80b 15217
1a4b75a1
AJ
152182012-05-09 Andreas Jaeger <aj@suse.de>
15219
15220 [BZ #14083]
15221 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15222 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15223 -Wconversion warning.
15224 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15225 Likewise.
15226
b1cc2472
JM
152272012-05-09 Joseph Myers <joseph@codesourcery.com>
15228
15229 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15230 == 0.
15231 (LC_ALL): Use macro-int-constant.
15232 (LC_COLLATE): Likewise.
15233 (LC_CTYPE): Likewise.
15234 (LC_MESSAGES): Likewise.
15235 (LC_MONETARY): Likewise.
15236 (LC_NUMERIC): Likewise.
15237 (LC_TIME): Likewise.
15238 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15239 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15240 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15241 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15242 Specify type.
15243 [C99-based standards] (float_t): Expect type.
15244 [C99-based standards] (double_t): Expect type.
15245 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15246 type.
15247 [C99-based standards] (HUGE_VALL): Likewise.
15248 [C99-based standards] (INFINITY): Likewise.
15249 [C99-based standards] (NAN): Likewise.
15250 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15251 [C99-based standards] (FP_NAN): Likewise.
15252 [C99-based standards] (FP_NORMAL): Likewise.
15253 [C99-based standards] (FP_SUBNORMAL): Likewise.
15254 [C99-based standards] (FP_ZERO): Likewise.
15255 [C99-based standards] (FP_FAST_FMA): Use
15256 optional-macro-int-constant. Specify type. Require == 1.
15257 [C99-based standards] (FP_FAST_FMAF): Likewise.
15258 [C99-based standards] (FP_FAST_FMAL): Likewise.
15259 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15260 [C99-based standards] (FP_ILOGBNAN): Likewise.
15261 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15262 Specify type.
15263 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15264 [C99-based standards] (math_errhandling): Specify type.
15265 [ISO99 || ISO11] (signgam): Do not allow.
15266 [non-C99-based standards] (copysignf): Do not allow.
15267 [non-C99-based standards] (exp2f): Likewise.
15268 [non-C99-based standards] (log2f): Likewise.
15269 [non-C99-based standards] (modff): Allow.
15270 [non-C99-based standards] (erff): Do not allow.
15271 [non-C99-based standards] (erfcf): Likewise.
15272 [non-C99-based standards] (gammaf): Likewise.
15273 [non-C99-based standards] (hypotf): Likewise.
15274 [non-C99-based standards] (j0f): Likewise.
15275 [non-C99-based standards] (j1f): Likewise.
15276 [non-C99-based standards] (jnf): Likewise.
15277 [non-C99-based standards] (lgammaf): Likewise.
15278 [non-C99-based standards] (tgammaf): Likewise.
15279 [non-C99-based standards] (y0f): Likewise.
15280 [non-C99-based standards] (y1f): Likewise.
15281 [non-C99-based standards] (ynf): Likewise.
15282 [non-C99-based standards] (isnanf): Likewise.
15283 [non-C99-based standards] (acoshf): Likewise.
15284 [non-C99-based standards] (asinhf): Likewise.
15285 [non-C99-based standards] (atanhf): Likewise.
15286 [non-C99-based standards] (cbrtf): Likewise.
15287 [non-C99-based standards] (expm1f): Likewise.
15288 [non-C99-based standards] (ilogbf): Likewise.
15289 [non-C99-based standards] (log1pf): Likewise.
15290 [non-C99-based standards] (logbf): Likewise.
15291 [non-C99-based standards] (nextafterf): Likewise.
15292 [non-C99-based standards] (remainderf): Likewise.
15293 [non-C99-based standards] (rintf): Likewise.
15294 [non-C99-based standards] (scalbf): Likewise.
15295 [non-C99-based standards] (copysignl): Likewise.
15296 [non-C99-based standards] (exp2l): Likewise.
15297 [non-C99-based standards] (log2l): Likewise.
15298 [non-C99-based standards] (modfl): Allow.
15299 [non-C99-based standards] (erfl): Do not allow.
15300 [non-C99-based standards] (erfcl): Likewise.
15301 [non-C99-based standards] (gammal): Likewise.
15302 [non-C99-based standards] (hypotl): Likewise.
15303 [non-C99-based standards] (j0l): Likewise.
15304 [non-C99-based standards] (j1l): Likewise.
15305 [non-C99-based standards] (jnl): Likewise.
15306 [non-C99-based standards] (lgammal): Likewise.
15307 [non-C99-based standards] (tgammal): Likewise.
15308 [non-C99-based standards] (y0l): Likewise.
15309 [non-C99-based standards] (y1l): Likewise.
15310 [non-C99-based standards] (ynl): Likewise.
15311 [non-C99-based standards] (isnanl): Likewise.
15312 [non-C99-based standards] (acoshl): Likewise.
15313 [non-C99-based standards] (asinhl): Likewise.
15314 [non-C99-based standards] (atanhl): Likewise.
15315 [non-C99-based standards] (cbrtl): Likewise.
15316 [non-C99-based standards] (expm1l): Likewise.
15317 [non-C99-based standards] (ilogbl): Likewise.
15318 [non-C99-based standards] (log1pl): Likewise.
15319 [non-C99-based standards] (logbl): Likewise.
15320 [non-C99-based standards] (nextafterl): Likewise.
15321 [non-C99-based standards] (remainderl): Likewise.
15322 [non-C99-based standards] (rintl): Likewise.
15323 [non-C99-based standards] (scalbl): Likewise.
15324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15325 [non-C99-based standards] (FP_*): Do not allow.
15326 [C99-based standards] (FP_*): Change to
15327 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15328 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15329 allow.
15330 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15331 (SIG_ERR): Likewise.
15332 [X/Open-based standards] (SIG_HOLD): Likewise.
15333 (SIG_IGN): Likewise.
15334 (SIGABRT): Use macro-int-constant. Specify type. Require
15335 positive value.
15336 (SIGFPE): Likewise.
15337 (SIGILL): Likewise.
15338 (SIGINT): Likewise.
15339 (SIGSEGV): Likewise.
15340 (SIGTER): Likewise.
15341 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15342 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15343 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15344 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15345 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15346 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15347 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15348 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15349 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15350 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15351 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15352 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15353 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15354 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15355 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15356 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15357 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15358 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15359 [X/Open-based standards] (SIGTRAP): Likewise.
15360 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15361 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15362 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15363 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15364 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15365 allow.
15366
b9f1922d
IW
153672012-05-08 Ian Wienand <ianw@vmware.com>
15368
15369 [BZ #14080]
15370 * time/tzset.c (__tzset_parse_tz): Update default rules for
15371 daylight time changes in the Energy Policy Act of 2005.
15372
1db86e88
AJ
153732012-05-09 Andreas Jaeger <aj@suse.de>
15374
15375 [BZ #13983]
15376 * elf/ldconfig.c (parse_conf): Change string to make clear that
15377 ldconfig only issued a warning if ld.so.conf does not exist.
15378
dee4a4e3
DM
153792012-05-08 David S. Miller <davem@davemloft.net>
15380
ee0db190
DM
15381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15382 movxtod instead of popping the value on the stack.
15383
dee4a4e3
DM
15384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15385
6a43ec98
CD
153862012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15387
15388 * config.h.in: Add HAVE_ARM_PCS_VFP.
15389
05c2c961
RMG
153902012-05-08 Roland Mc Grath <roland@hack.frob.com>
15391
bcfe3a54
ST
15392 [BZ #13979]
15393 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15394 checking but the checks are disabled for any reason.
05c2c961 15395
4b30f61a
L
153962012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15397
15398 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15399 and ELF64_R_TYPE with ELFW(R_TYPE).
15400
eee2bc67
JM
154012012-05-08 Joseph Myers <joseph@codesourcery.com>
15402
7ea5391a
JM
15403 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15404 (ulimit): Likewise.
15405
eee2bc67
JM
15406 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15407 (settimeofday): Likewise.
15408
abb66a67
MF
154092012-05-08 Mike Frysinger <vapier@gentoo.org>
15410
15411 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15412 a struct th_u2 inside the union, and move tu_block/tu_code into
15413 a new th_u3 union of tu_block/tu_code inside of that. Move
15414 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15415 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15416 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15417 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15418 (th_stuff): Change to th_u1.tu_stuff.
15419 (th_data): Define.
15420 (th_msg): Change to th_u1.th_u2.tu_data.
15421
7f18b530
DM
154222012-05-07 David S. Miller <davem@davemloft.net>
15423
05760585
DM
15424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15425
7f18b530
DM
15426 [BZ #14074]
15427 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15428 (SETUP_PIC_REG): Use it.
15429 (SETUP_PIC_REG_LEAF): Use it.
15430
495fd99f
JM
154312012-05-07 Joseph Myers <joseph@codesourcery.com>
15432
15433 [BZ #13885]
15434 [BZ #13923]
15435 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15436 USE_AS_EXPM1L.
15437 (EXPL_FINITE): Likewise.
15438 (FLDLOG): Likewise.
15439 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15440 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15441 e_expl.S.
15442 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15443 USE_AS_EXPM1L.
15444 (EXPL_FINITE): Likewise.
15445 (FLDLOG): Likewise.
15446 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15447 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15448 e_expl.S.
15449 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15450 test of -max_value argument for long double.
15451 * sysdeps/i386/fpu/libm-test-ulps: Update.
15452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15453
6693d694
DM
154542012-05-06 David S. Miller <davem@davemloft.net>
15455
15456 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15457 quad soft-float symbols whose references which are compiler
15458 generated.
15459 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15460
6c23e11c
JM
154612012-05-06 Joseph Myers <joseph@codesourcery.com>
15462
d8b82cad
JM
15463 [BZ #13884]
15464 [BZ #13914]
15465 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15466 USE_AS_EXP10L.
15467 (EXPL_FINITE): Likewise.
15468 (FLDLOG): Likewise.
15469 (c0): Likewise.
15470 (c1): Likewise.
15471 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15472 Adjust comments for base varying.
15473 (__expl_finite): Change alias to EXPL_FINITE.
15474 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15475 e_expl.S.
15476 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15477 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15479 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15480 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15481 USE_AS_EXP10L.
15482 (EXPL_FINITE): Likewise.
15483 (FLDLOG): Likewise.
15484 (c0): Likewise.
15485 (c1): Likewise.
15486 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15487 Adjust comments for base varying.
15488 (__expl_finite): Change alias to EXPL_FINITE.
15489 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15490 tests for bugs.
15491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15492
6c23e11c
JM
15493 [BZ #14064]
15494 * math/libm-test.inc (check_float_internal): Correct ulp
15495 calculation for subnormal expected results.
15496
29ba805c
AJ
154972012-05-06 Andreas Jaeger <aj@suse.de>
15498
15499 * Makeconfig (+math-flags): New, set to -frounding-math.
15500 (+cflags): Add +math-flags so that all of glibc gets compiled with
15501 it.
15502
15503 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15504
7b17aeda
JM
155052012-05-05 Joseph Myers <joseph@codesourcery.com>
15506
5779f134
JM
15507 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15508 Disable one test.
15509
41498f4d
JM
15510 [BZ #13787]
15511 [BZ #13922]
15512 [BZ #14036]
15513 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15514 (__ieee754_expl): Allow for and saturate large arguments.
15515 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15516 (u_threshold): Likewise.
15517 (__exp): Call __ieee754_exp before checking for overflow and
15518 underflow.
15519 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15520 (u_threshold): Likewise.
15521 (__expf): Call __ieee754_expf before checking for overflow and
15522 underflow.
15523 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15524 (u_threshold): Likewise.
15525 (__expl): Call __ieee754_expl before checking for overflow and
15526 underflow.
15527 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15528 (__ieee754_expl): Allow for and saturate large arguments.
15529 * math/libm-test.inc (exp_test): Add another test. Do not allow
15530 missing overflow exception on overflow.
15531 (expm1_test): Do not allow missing overflow exception on overflow.
15532
6698b8bf
JM
15533 * sysdeps/i386/fpu/e_expl.c: Move to ...
15534 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15535 rather than using inline asm.
15536 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15537 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15538 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15539
7b17aeda
JM
15540 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15541 (nice): Likewise.
15542 (poll): Likewise.
15543 (signal): Likewise.
15544 (time): Likewise.
15545 (times): Likewise.
15546
f7c85819
JM
155472012-05-04 Joseph Myers <joseph@codesourcery.com>
15548
15549 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15550 sysdeps/unix/common/syscalls.list.
15551 (fchmod): Likewise.
15552 (fchown): Likewise.
15553 (ftruncate): Likewise.
15554 (getrusage): Likewise.
15555 (gettimeofday): Likewise.
15556 (setpgid): Likewise.
15557 (setregid): Likewise.
15558 (setreuid): Likewise.
15559 (sigaction): Likewise.
15560 (truncate): Likewise.
15561 (vhangup): Likewise.
15562 * sysdeps/unix/common/syscalls.list: Remove file.
15563 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15564 * sysdeps/unix/sysv/linux/Implies: Likewise.
15565
336270d0
L
155662012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15567
15568 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15570 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15571 Moved to ...
15572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15573 Here.
15574 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15575 to ...
15576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15577 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15578 to ...
15579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15580 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15581 to ...
15582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15583 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15584 to ...
15585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15586 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15587 to ...
15588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15589 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15590 to ...
15591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15592 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15593 to ...
15594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15595 Here.
15596 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15597 to ...
15598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15599 Here.
15600 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15601 to ...
15602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15603 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15604 Moved to ...
15605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15606 Here.
15607 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15608 to ...
15609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15610
d128e450
JM
156112012-05-04 Joseph Myers <joseph@codesourcery.com>
15612
fa8ee516
JM
15613 * sysdeps/unix/common/bits/dirent.h: Remove file.
15614 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15615
d128e450
JM
15616 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15617 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15618 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15619 * sysdeps/unix/bsd/isatty.c: Likewise.
15620 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15621 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15622 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15623
ff8faaf0 156242012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15625
62881be4 15626 [BZ #13563]
31dc8730
AZ
15627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15628 long double comparison inaccuracies.
15629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15631
6fef930c
AS
156322012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15633
15634 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15635 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15636
8f203e6c
JM
156372012-05-04 Joseph Myers <joseph@codesourcery.com>
15638
15639 [BZ #14049]
15640 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15641 nonzero digits before rounding a hex value.
15642 * stdlib/tst-strtod.c (tests): Add another test.
15643
5197d9c2
AK
156442012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15645
15646 * sysdeps/s390/fpu/libm-test-ulps: Update.
15647
f0c1dedf
AJ
156482012-05-03 Andreas Jaeger <aj@suse.de>
15649
15650 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15651 does not get optimized out.
15652 (malloc_opt_barrier): New.
15653
a65ef2ae 156542012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15655 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15656
2b942cb7 15657 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15658 intermediate file deletion.
2b942cb7 15659 (generated): Add .symlist files.
a65ef2ae 15660
54b71e02
JM
156612012-05-03 Joseph Myers <joseph@codesourcery.com>
15662
15663 [BZ #13775]
15664 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15665 Redirect under this condition.
15666 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15667 [__USE_GNU] (__dprintf_chk): Not under this condition.
15668 [__USE_GNU] (__vdprintf_chk): Likewise.
15669 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15670 under this condition.
15671 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15672 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15673 [__USE_XOPEN2K8] (vdprintf): Likewise.
15674 [__USE_GNU] (__dprintf_chk): Not under this condition.
15675 [__USE_GNU] (__vdprintf_chk): Likewise.
15676 [__USE_GNU] (dprintf): Likewise.
15677 [__USE_GNU] (vdprintf): Likewise.
15678
d3dfcc41
RM
156792012-05-03 Roland McGrath <roland@hack.frob.com>
15680
15681 * elf/Makefile (common-generated): Set this instead of generated for
15682 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15683 $(all-built-dso)-derived lists.
15684
7ac30cc5
AJ
156852012-05-03 Andreas Jaeger <aj@suse.de>
15686
0c51e550
AJ
15687 * sysdeps/i386/fpu/libm-test-ulps: Update.
15688
7ac30cc5
AJ
15689 * FAQ: Removed.
15690 * FAQ.in: Likewise.
15691 * scripts/gen-FAQ.pl: Likewise.
15692 * manual/install.texi (Installation): Point to online location of
15693 FAQ.
15694 * Makefile (files-for-dist): Remove FAQ.
15695 (FAQ): Remove.
15696
d4c2917f
AM
156972012-05-02 Allan McRae <allan@archlinux.org>
15698
15699 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15700 (LDFLAGS-reldepmod5.so): Likewise.
15701 (LDFLAGS-reldep6mod1.so): Likewise.
15702 (LDFLAGS-reldep6mod4.so): Likewise.
15703 (LDFLAGS-reldep8mod3.so): Likewise.
15704 (LDFLAGS-unload4mod1.so): Likewise.
15705 (LDFLAGS-unload4mod2.so): Likewise.
15706 (LDFLAGS-tst-initorder): Likewise.
15707 (LDFLAGS-tst-initordera2.so): Likewise.
15708 (LDFLAGS-tst-initordera3.so): Likewise.
15709 (LDFLAGS-tst-initordera4.so): Likewise.
15710 (LDFLAGS-tst-initorderb2.so): Likewise.
15711 (LDFLAGS-noload): Likewise.
15712 (LDFLAGS-next): Likewise.
15713 (LDFLAGS-order2mod1.so): Likewise.
15714 (LDFLAGS-order2mod2.so): Likewise.
15715 (LDFLAGS-tst-initorder2): Likewise.
15716 (LDFLAGS-tst-initorder2a.so): Likewise.
15717 (LDFLAGS-tst-initorder2b.so): Likewise.
15718 (LDFLAGS-tst-initorder2c.so): Likewise.
15719 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15720
d77f993f
DM
157212012-05-02 David S. Miller <davem@davemloft.net>
15722
15723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15724
171a70b4
PP
157252012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15726
15727 [BZ #14055]
15728 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15729
0be196ad
AJ
157302012-05-02 Andreas Jaeger <aj@suse.de>
15731
15732 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15733 since we manipulate rounding mode.
15734 (CPPFLAGS-test-idouble.c): Likewise.
15735 (CPPFLAGS-test-ifloat.c): Likewise.
15736 (CFLAGS-test-ldouble.c): Likewise.
15737 (CFLAGS-test-double.c): Likewise.
15738 (CFLAGS-test-float.c): Likewise.
15739 (CFLAGS-test-misc.c): Likewise.
15740 (CFLAGS-test-test-fenv.c): Likewise.
15741
4f9d04aa
AZ
157422012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15743
2b942cb7
RM
15744 [BZ #2550]
15745 [BZ #2570]
15746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15747 comparisons to determine direction to adjust input.
4f9d04aa 15748
82a79e7d
RM
157492012-05-01 Roland McGrath <roland@hack.frob.com>
15750
f5a01ca9
RM
15751 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15752 output to the target.
15753
90fe4186
RM
15754 * scripts/localplt.awk: New file.
15755 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15756 (check-localplt-CFLAGS): Variable removed.
15757 ($(all-built-dso:=.jmprel)): New static pattern rule.
15758 (generated): Add those targets.
15759 (localplt-built-dso): New variable.
15760 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15761
15762 * elf/check-localplt.c: File removed.
15763
82397ed6
RM
15764 * scripts/check-execstack.awk: New file.
15765 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15766 (check-execstack-CFLAGS): Variable removed.
15767 ($(objpfx)check-execstack.h): Target removed.
15768 ($(objpfx)execstack-default): New target.
15769 (generated): Add that instead of check-execstack.h.
15770 ($(all-built-dso:=.phdr)): New static pattern rule.
15771 (generated): Add those targets.
15772 * elf/check-execstack.c: File removed.
15773
82a79e7d
RM
15774 * scripts/check-textrel.awk: New file.
15775 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15776 (check-textrel-CFLAGS): Variable removed.
15777 (all-built-dso): Use := to define.o
15778 ($(all-built-dso:=.dyn)): New static pattern rule.
15779 (generated): Add those targets.
15780 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15781 * config.make.in (READELF): New substituted variable.
15782 * elf/check-textrel.c: File removed.
15783
62fde54f 157842012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15785
615605c9
JM
15786 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15787 allow.
15788 * conform/data/ctype.h-data [C99-based standards] (isblank):
15789 Expect function.
15790 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15791 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15792 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15793 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15794 Specify type. Require positive value.
15795 (EILSEQ): Likewise.
15796 (ERANGE): Likewise.
15797 [ISO || POSIX] (EILSEQ): Do not expect.
15798 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15799 Specify type. Require positive value.
15800 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15803 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15804 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15805 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15806 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15808 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15809 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15810 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15811 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15812 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15813 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15814 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15815 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15816 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15817 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15818 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15819 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15820 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15821 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15822 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15823 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15824 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15825 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15826 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15827 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15828 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15829 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15830 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15831 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15832 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15833 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15834 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15835 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15836 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15837 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15838 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15839 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15840 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15841 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15842 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15843 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15844 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15845 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15846 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15847 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15848 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15849 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15850 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15851 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15852 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15853 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15854 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15855 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15856 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15857 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15858 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15859 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15860 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15861 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15862 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15863 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15864 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15865 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15866 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15867 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15868 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15869 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15870 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15871 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15872 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15873 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15874 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15875 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15876 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15877 Require >= 2.
15878 (FLT_ROUNDS): Expect as macro, not constant.
15879 (FLT_MANT_DIG): Use macro-int-constant.
15880 (DBL_MANT_DIG): Likewise.
15881 (LDBL_MANT_DIG): Likewise.
15882 (FLT_DIG): Likewise.
15883 (DBL_DIG): Likewise.
15884 (LDBL_DIG): Likewise.
15885 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15886 (DBL_MIN_EXP): Likewise.
15887 (LDBL_MIN_EXP): Likewise.
15888 (FLT_MAX_EXP): Use macro-int-constant.
15889 (DBL_MAX_EXP): Likewise.
15890 (LDBL_MAX_EXP): Likewise.
15891 (FLT_MAX_10_EXP): Likewise.
15892 (DBL_MAX_10_EXP): Likewise.
15893 (LDBL_MAX_10_EXP): Likewise.
15894 (FLT_MAX): Use macro-constant.
15895 (DBL_MAX): Likewise.
15896 (LDBL_MAX): Likewise.
15897 (FLT_EPSILON): Use macro-constant. Give upper bound.
15898 (DBL_EPSILON): Likewise.
15899 (LDBL_EPSILON): Likewise.
15900 (FLT_MIN): Likewise.
15901 (DBL_MIN): Likewise.
15902 (LDBL_MIN): Likewise.
15903 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15904 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15905 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15906 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15907 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15908 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15909 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15910 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15911 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15912 [ISO11] (FLT_TRUE_MIN): Likewise.
15913 [ISO11] (LDBL_TRUE_MIN): Likewise.
15914 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15915 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15916 (SCHAR_MIN): Use macro-int-constant. Specify type.
15917 (SCHAR_MAX): Likewise.
15918 (UCHAR_MAX): Likewise.
15919 (CHAR_MIN): Likewise.
15920 (CHAR_MAX): Likewise.
15921 (MB_LEN_MAX): Use macro-int-constant.
15922 (SHRT_MIN): Use macro-int-constant. Specify type.
15923 (SHRT_MAX): Likewise.
15924 (USHRT_MAX): Likewise.
15925 (INT_MAX): Likewise.
15926 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15927 bound negative.
15928 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15929 bound with "U".
15930 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15931 bound with "L".
15932 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15933 bound negative. Suffix upper bound with "L".
15934 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15935 bound with "UL".
15936 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15937 Specify type.
15938 [C99-based standards] (LLONG_MAX): Likewise.
15939 [C99-based standards] (ULLONG_MAX): Likewise.
15940 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15941 == 0.
15942 [ISO11] (max_align_t): Require type.
15943 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15944
c9140a62
JM
15945 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15946 from $CFLAGS, without defining away __attribute__ calls.
15947 (checknamespace): Use $CFLAGS_namespace.
15948
9af0bf29
JM
15949 * conform/conformtest.pl (@keywords): Only include C99 keywords
15950 for standards based on C99 or C11.
15951
343222a2
JM
15952 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15953 Disable tests.
15954 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15955 UNIX98]: Likewise.
15956
661f8cf0
JM
15957 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15958 usability of symbols in #if.
15959
ee74b9cb
JM
15960 * conform/conformtest.pl: If macro or constant types start
15961 "promoted:", expect the symbol to be of the following type
15962 promoted by the integer promotions.
62fde54f 15963
aafc49b3
JM
15964 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15965 in one place. Also handle "macro-constant".
15966
fefdf574
JM
15967 * conform/conformtest.pl: Only accept expected macro values with
15968 "==". Parse all "macro" lines in one place.
15969 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15970
f2d922fe
JM
15971 * conform/conformtest.pl: Handle braced types on "constant" lines
15972 instead of handling "typed-constant".
15973 * conform/data/signal.h-data: Use "constant" instead of
15974 "typed-constant".
15975
d22956c9
JM
15976 * conform/conformtest.pl: Handle "optional-" at start of lines in
15977 one place rather than duplicating several cases. Handle each
15978 format of "macro" line with initial "optional-".
15979
028e2e38
JM
15980 * conform/conformtest.pl: Only accept expected constant or
15981 optional-constant values with "==". Parse all "constant" lines in
15982 one place. Parse all "optional-constant" lines in one place.
15983 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15984 * conform/data/fmtmsg.h-data: Likewise.
15985 * conform/data/netinet/in.h-data: Likewise.
15986 * conform/data/tar.h-data: Likewise.
15987 * conform/data/limits.h-data: Use "==" form on "constant" and
15988 "optional-constant" lines.
15989
1b8f2850
JM
15990 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15991 Use -std=c99 for XOPEN2K.
15992 (@knownproblems): Remove.
15993 (newtoken): Don't check %isknown.
15994
a05a144b
JM
15995 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15996 Do not expect macro.
15997 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16009 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16010 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16013 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16015 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16016 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16017 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16020 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16021 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16024 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16025 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16026 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16027 [XPG3] (acosh): Likewise.
16028 [XPG3] (asinh): Likewise.
16029 [XPG3] (atanh): Likewise.
16030 [XPG3] (cbrt): Likewise.
16031 [XPG3] (expm1): Likewise.
16032 [XPG3] (ilogb): Likewise.
16033 [XPG3] (log1p): Likewise.
16034 [XPG3] (logb): Likewise.
16035 [XPG3] (nextafter): Likewise.
16036 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16037 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16038 [XPG3] (remainder): Likewise.
16039 [XPG3] (rint): Likewise.
16040 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16041 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16042 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16043 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16044 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16045 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16046 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16047 [UNIX98 || XOPEN2K] (scalb): Expect.
16048 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16049 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16050 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16051 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16052 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16054 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16055 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16056 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16057 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16058 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16059 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16060 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16061 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16062 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16063 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16064 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16065 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16066 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16067 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16068 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16069 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16070 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16071 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16072 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16075 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16076 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16077 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16078 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16079 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16080 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16081 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16082 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16083 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16084 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16085 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16086 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16087 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16088 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16089 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16090 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16091 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16092 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16093 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16094 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16095 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16096 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16097 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16098 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16099 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16100 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16101 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16102 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16103 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16104 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16105 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16106 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16107 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16108 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16109 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16110 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16111 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16112 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16113 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16115 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16116 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16117 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16118 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16119 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16120 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16121 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16122 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16123 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16124 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16125 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16126 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16127 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16128 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16129 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16130 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16131 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16132 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16133 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16134 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16135 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16136 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16137 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16138 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16139 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16140 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16141 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16142 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16143 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16144 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16145 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16146 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16147 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16148 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16149 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16150 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16151 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16152 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16153 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16154 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16155 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16156 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16157 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16158 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16159 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16160 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16161 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16162 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16163 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16164 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16165 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16166 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16167 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16168 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16169 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16170 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16171 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16172 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16173 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16174 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16175 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16176 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16177 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16178 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16179 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16180 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16181 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16182 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16183 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16184 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16185
73c5ebe3
JM
16186 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16187 _XOPEN_SOURCE_EXTENDED for XPG4.
16188
39c33b6c
JM
16189 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16190
62fde54f
JM
16191 * Makeconfig (localtime): Remove variable.
16192 (inst_localtime-file): Likewise.
16193
0741d64c
AS
161942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16195
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16197 Update.
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16199 Update.
16200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16201 Update.
16202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16203 Update.
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16205 Update.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16207 Update.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16209 Update.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16211 Update.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16213 Update.
16214
7cb029ee
JM
162152012-05-01 Joseph Myers <joseph@codesourcery.com>
16216
16217 [BZ #2550]
16218 [BZ #2570]
16219 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16220 comparisons to determine direction to adjust input.
16221 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16222 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16223 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16224 Likewise.
16225 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16226 Likewise.
16227 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16228 Likewise.
16229 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16230 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16231 Likewise.
16232 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16233 Likewise.
16234 * math/libm-test.inc (nexttoward_test): Add more tests.
16235
412bd966
AS
162362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16237
16238 [BZ #14040]
16239 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16240 in version GLIBC_2.1, not GLIBC_2.0.
16241 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16242 Likewise.
16243
9568c0c2
JM
162442012-04-30 Joseph Myers <joseph@codesourcery.com>
16245
adfbc8ac
JM
16246 [BZ #13942]
16247 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16248 (1 - x) * (1 + x).
16249 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16250 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16251 * math/libm-test.inc (acos_test): Add more tests.
16252 (asin_test): Likewise.
16253 * sysdeps/i386/fpu/libm-test-ulps: Update.
16254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16255
5ba3cc69
JM
16256 [BZ #14034]
16257 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16258 of square root.
16259 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16260 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16261 * math/libm-test.inc (acos_test_tonearest): New function.
16262 (acos_test_towardzero): Likewise.
16263 (acos_test_downward): Likewise.
16264 (acos_test_upward): Likewise.
16265 (asin_test_tonearest): Likewise.
16266 (asin_test_towardzero): Likewise.
16267 (asin_test_downward): Likewise.
16268 (asin_test_upward): Likewise.
16269 (main): Call the new functions.
16270 * sysdeps/i386/fpu/libm-test-ulps: Update.
16271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16272
9568c0c2
JM
16273 [BZ #13884]
16274 [BZ #13924]
16275 * math/e_exp10.c: Include <float.h>.
16276 (__ieee754_exp10): Handle underflow here rather than multiplying
16277 large negative argument by M_LN10.
16278 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16279 of __ieee754_expf.
16280 * math/e_exp10l.c: Include <float.h>.
16281 (__ieee754_exp10l): Handle underflow here rather than multiplying
16282 large negative argument by M_LN10l.
16283 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16284 spurious overflow exception on underflow.
16285
5ac3ea17
MP
162862012-04-29 Marek Polacek <polacek@redhat.com>
16287
16288 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16289 (__fortify_function): New macro.
16290 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16291 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16292 __extern_always_inline.
16293 * libio/bits/stdio2.h: Likewise.
16294 * libio/bits/stdio.h: Likewise.
16295 * string/string.h: Likewise.
16296 * string/bits/string3.h: Likewise.
16297 * include/stdio.h: Likewise.
16298 * stdlib/bits/stdlib.h: Likewise.
16299 * stdlib/stdlib.h: Likewise.
16300 * rt/bits/mqueue2.h: Likewise.
16301 * rt/mqueue.h: Likewise.
16302 * posix/bits/unistd.h: Likewise.
16303 * posix/unistd.h: Likewise.
16304 * io/bits/poll2.h: Likewise.
16305 * io/bits/fcntl2.h: Likewise.
16306 * io/fcntl.h: Likewise.
16307 * io/sys/poll.h: Likewise.
16308 * misc/bits/syslog.h: Likewise.
16309 * misc/bits/syslog-ldbl.h: Likewise.
16310 * misc/sys/syslog.h: Likewise.
16311 * socket/bits/socket2.h: Likewise.
16312 * socket/sys/socket.h: Likewise.
16313 * debug/tst-chk1.c: Likewise.
16314 * wcsmbs/bits/wchar2.h: Likewise.
16315 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16316 * wcsmbs/wchar.h: Likewise.
16317
ecf0ebfb
AJ
163182012-04-29 Andreas Jaeger <aj@suse.de>
16319
16320 * Makerules (tests): Remove enable-check-abi protection.
16321 (check-abi-warn): Remove.
16322 (check-abi-%): Remove check-abi-warn usage.
16323
16324 * configure.in: Remove check-abi configure option.
16325 * configure: Regenerated.
16326 * config.make.in (enable-check-abi): Remove.
16327
6d5c57fa
AS
163282012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16329
24c5d07e 16330 [BZ #14033]
ded5180a
AS
16331 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16332 double functions to double *_finite functions.
16333
7e0d315d
AS
16334 [BZ #13941]
16335 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16336 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16337 LDBL_MIN_EXP.
16338 * stdio-common/Makefile (tests): Add tst-sprintf3.
16339 * stdio-common/tst-sprintf3.c: New file.
16340
6d5c57fa
AS
16341 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16342 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16343
0749ff8b
JM
163442012-04-28 Joseph Myers <joseph@codesourcery.com>
16345
16346 * conform/conformtest.pl: Remove duplicate typed-constant
16347 handling.
16348
8dbd5d7b
DM
163492012-04-28 David S. Miller <davem@davemloft.net>
16350
16351 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16352 (check-abi-%): Remove AWK script prerequisite and explicit
16353 abilist directory.
16354 (check-abi): Rewrite to just diff the symlist with the abilist.
16355 (config-tls, config-abi-config): Delete, no longer used.
16356 (update-abi-%): Remove AWK script and explicit abilist directory.
16357 (update-abi): Rewrite to simply compare and conditionally copy the
16358 symlist and the sysdep abilist file. Remove update-abi-config
16359 checks.
16360 * abilist/ld.abilist: Remove.
16361 * abilist/libBrokenLocale.abilist: Remove.
16362 * abilist/libanl.abilist: Remove.
16363 * abilist/libcrypt.abilist: Remove.
16364 * abilist/libdl.abilist: Remove.
16365 * abilist/librt.abilist: Remove.
16366 * abilist/libthread_db.abilist: Remove.
16367 * abilist/libutil.abilist: Remove.
16368 * scripts/extract-abilist.awk: Remove.
16369 * scripts/merge-abilist.awk: Remove.
16370 * sysdeps/generic/libcidn.abilist: New file.
16371 * sysdeps/generic/libnss_compat.abilist: New file.
16372 * sysdeps/generic/libnss_db.abilist: New file.
16373 * sysdeps/generic/libnss_dns.abilist: New file.
16374 * sysdeps/generic/libnss_files.abilist: New file.
16375 * sysdeps/generic/libnss_hesiod.abilist: New file.
16376 * sysdeps/generic/libnss_nis.abilist: New file.
16377 * sysdeps/generic/libnss_nisplus.abilist: New file.
16378 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16379 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16380 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16381 file.
16382 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16383 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16384 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16385 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16386 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16387 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16388 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16389 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16390 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16391 file.
16392 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16393 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16394 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16395 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16396 file.
16397 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16398 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16399 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16400 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16401 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16402 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16403 file.
16404 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16405 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16406 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16407 file.
16408 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16410 New file.
16411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16412 New file.
16413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16414 New file.
16415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16416 New file.
16417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16418 New file.
16419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16420 New file.
16421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16422 New file.
16423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16424 New file.
16425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16426 New file.
16427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16428 New file.
16429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16430 New file.
16431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16432 New file.
16433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16434 New file.
16435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16436 file.
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16438 New file.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16440 New file.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16442 file.
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16444 New file.
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16446 New file.
16447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16448 file.
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16450 New file.
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16452 New file.
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16454 New file.
16455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16456 New file.
16457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16458 New file.
16459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16460 New file.
16461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16463 file.
16464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16465 New file.
16466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16467 file.
16468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16469 file.
16470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16471 file.
16472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16473 file.
16474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16475 file.
16476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16477 New file.
16478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16479 file.
16480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16481 file.
16482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16483 New file.
16484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16485 file.
16486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16488 file.
16489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16490 New file.
16491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16492 file.
16493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16494 file.
16495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16496 file.
16497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16498 file.
16499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16500 file.
16501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16502 New file.
16503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16504 file.
16505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16506 file.
16507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16508 New file.
16509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16510 file.
16511 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16512 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16513 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16514 file.
16515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16516 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16517 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16518 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16519 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16520 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16521 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16522 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16523 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16524 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16527 file.
16528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16529 New file.
16530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16531 file.
16532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16533 file.
16534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16535 file.
16536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16537 file.
16538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16539 file.
16540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16541 New file.
16542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16543 New file.
16544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16545 file.
16546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16547 New file.
16548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16549 file.
16550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16552 file.
16553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16554 New file.
16555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16556 file.
16557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16558 file.
16559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16560 file.
16561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16562 file.
16563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16564 file.
16565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16566 New file.
16567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16568 New file.
16569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16570 file.
16571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16572 New file.
16573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16574 file.
16575
41d73a1b
JM
165762012-04-28 Joseph Myers <joseph@codesourcery.com>
16577
16578 * conform/conformtest.pl: Fix typo in handling typed-constant from
16579 allow-header.
16580
28aeeda4
JM
165812012-04-27 Joseph Myers <joseph@codesourcery.com>
16582
adae8f5e
JM
16583 * README: Cut down references to pre-2.6 Linux kernels and
16584 Linuxthreads. Update lists of configurations in libc and ports
16585 and sort alphabetically. Say "or newer" with Linux kernel version
16586 requirements.
16587
28aeeda4
JM
16588 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16589
a462cb63
RA
165902012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16591
16592 [BZ #887]
16593 * math/libm-test.inc (logb_test_downward): New test to expose
16594 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16595 rounding mode.
16596
6ad3493e
JM
165972012-04-27 Joseph Myers <joseph@codesourcery.com>
16598
16599 [BZ #14027]
16600 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16601 to be done.
16602 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16603 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16604
2ce4f015
JM
166052012-04-26 Joseph Myers <joseph@codesourcery.com>
16606
5aeb141a
JM
16607 * sysdeps/unix/i386/brk.S: Remove file.
16608 * sysdeps/unix/i386/dl-brk.S: Likewise.
16609 * sysdeps/unix/i386/pipe.S: Likewise.
16610 * sysdeps/unix/i386/sigreturn.S: Likewise.
16611 * sysdeps/unix/i386/syscall.S: Likewise.
16612 * sysdeps/unix/i386/vfork.S: Likewise.
16613 * sysdeps/unix/i386/wait.S: Likewise.
16614
7143acae
JM
16615 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16616 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16617
2ce4f015
JM
16618 * configure.in (arm*-none*): Do not allow without
16619 --enable-hacker-mode.
16620 (netbsd*): Remove case setting base_os.
16621 (386bsd*): Likewise.
16622 (freebsd*): Likewise.
16623 (bsdi*): Likewise.
16624 (osf*): Likewise.
16625 (sunos*): Likewise.
16626 (ultrix*): Likewise.
16627 (newsos*): Likewise.
16628 (dynix*): Likewise.
16629 (*bsd*): Likewise.
16630 (sysv*): Likewise.
16631 (isc*): Likewise.
16632 (esix*): Likewise.
16633 (sco*): Likewise.
16634 (minix*): Likewise.
16635 (irix4*): Likewise.
16636 (irix6*): Likewise.
16637 (solaris[2-9]*): Likewise.
16638 (none): Likewise.
16639 * configure: Regenerated.
16640
0ac229c8
AZ
166412012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16642
16643 [BZ #11521]
16644 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16645 overflow or cancellation in calculating denominator.
16646 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16647 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16648 down expression to avoid unexpected rounding in newer GCCs.
16649 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16650
33f244f4
DM
166512012-04-26 David S. Miller <davem@davemloft.net>
16652
16653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16654 long-double compat symbols.
16655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16668
cfa1f3e8
DM
166692012-04-25 David S. Miller <davem@davemloft.net>
16670
16671 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16672 HWCAP_* values only after the memory barriers have been defined.
16673 (atomic_full_barrier): Define.
16674 (atomic_read_barrier): Define.
16675 (atomic_write_barrier): Define.
16676
6e236b92
SP
166772012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16678
16679 * shlib-versions: Add libgcc_s version information.
16680 * sysdeps/generic/libgcc_s.h: Remove.
16681 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16682 libgcc_s.h.
16683 * sysdeps/gnu/unwind-resume.c: Likewise.
16684 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16685
aab39a09
DM
166862012-04-25 David S. Miller <davem@davemloft.net>
16687
16688 * sysdeps/unix/sparc/brk.S: Delete.
16689 * sysdeps/unix/sparc/dl-brk.S: Delete.
16690 * sysdeps/unix/sparc/pipe.S: Delete.
16691 * sysdeps/unix/sparc/sysdep.S: Delete.
16692 * sysdeps/unix/sparc/sysdep.h: Delete.
16693 * sysdeps/unix/sparc/vfork.S: Delete.
16694 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16695 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16696 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16697 ret_ERRVAL, r0, r1, MOVE): Define.
16698 (JUMPTARGET): Remove.
16699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16700 sysdeps/unix/sparc/sysdep.h
16701 (ENTRY, END): Remove.
16702 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16703
a3cc4f48
JM
167042012-04-25 Joseph Myers <joseph@codesourcery.com>
16705
2ed8cda2
JM
16706 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16707 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16708 -DIS_IN_build.
16709
35d76d59
JM
16710 * timezone/README: Update upstream location and email address for
16711 tzcode and tzdata.
16712 * timezone/zdump.c: Update from tzcode 2012b.
16713 * timezone/zic.c: Likewise.
16714
a3cc4f48
JM
16715 * configure.in (libc_cv_as_needed): Remove test.
16716 * configure: Regenerated.
16717 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16718 conditional definition.
16719 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16720 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16721 * config.make.in (have-as-needed): Remove variable.
16722
ceab42c3
SP
167232012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16724 Paul Pluzhnikov <ppluzhnikov@google.com>
16725
16726 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16727 strings correctly.
16728
3ce2865f
CLT
167292012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16730
16731 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16732 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16733 * sysdeps/sh/strlen.S: Likewise.
16734
f37e0d68
JM
167352012-04-24 Joseph Myers <joseph@codesourcery.com>
16736
ae186e9a
JM
16737 * sysdeps/unix/fork.S: Remove file.
16738 * sysdeps/unix/i386/fork.S: Likewise.
16739 * sysdeps/unix/sparc/fork.S: Likewise.
16740
b96914af
JM
16741 * sysdeps/unix/system.c: Remove file.
16742 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16743
f37e0d68
JM
16744 * sysdeps/unix/getegid.S: Remove file.
16745 * sysdeps/unix/geteuid.S: Likewise.
16746
87ef29ca
RM
167472012-04-24 Roland McGrath <roland@hack.frob.com>
16748
83bcd236
RM
16749 * scripts/check-localplt.awk: New file.
16750 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16751 of diff.
16752 * scripts/data/localplt-generic.data: Add a comment.
16753
87ef29ca
RM
16754 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16755 NODE when __dir_mkfile failed.
16756 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16757 Reported by Ludovic Courtès <ludo@gnu.org>.
16758
e5a6e567
AJ
167592012-04-24 Andreas Jaeger <aj@suse.de>
16760
16761 * Makerules (common-clean): Also remove gen-as-const-headers
16762 files.
16763
c1820385
JM
167642012-04-24 Joseph Myers <joseph@codesourcery.com>
16765
16766 * Makerules (native-compile): Do not change working directory for
16767 build. Use $(OUTPUT_OPTION) in command.
16768 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16769
94e02fc4
AZ
167702012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16771
16772 [BZ #13886]
16773 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16774 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16775 * math/libm-test.inc (floor_test): Add more tests.
16776 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16777
3a533ca3
JM
167782012-04-24 Joseph Myers <joseph@codesourcery.com>
16779
940ab4b3
JM
16780 * sysdeps/unix/getdents.c: Remove file.
16781 * sysdeps/unix/sysv/getdents.c: Likewise.
16782 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16783
90e037bd
JM
16784 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16785 sysdeps/unix/mman/syscalls.list.
16786 (mmap): Likewise.
16787 (mprotect): Likewise.
16788 (msync): Likewise.
16789 (munmap): Likewise.
16790 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16791 * sysdeps/unix/mman/syscalls.list: Remove.
16792 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16793
3a533ca3
JM
16794 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16795 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16796 * configure: Regenerated.
16797 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16798 $(libgcc_s_suffix).
16799 * config.make.in (libgcc_s_suffix): Remove variable.
16800
1ad743de
JM
168012012-04-23 Joseph Myers <joseph@codesourcery.com>
16802
4ad451e2
JM
16803 * sysdeps/unix/sysv/gethostname.c: Move to ...
16804 * sysdeps/posix/gethostname.c: ... here.
16805
5e37ce39
JM
16806 * sysdeps/unix/execve.S: Remove file.
16807
1ad743de
JM
16808 * sysdeps/unix/_exit.S: Remove file.
16809
4e681b5b
AJ
168102012-04-23 Andreas Jaeger <aj@suse.de>
16811
16812 [BZ #13739]
16813 * manual/Makefile: Remove make dist support, there's no
16814 need for a stand-alone documentation tar ball.
16815 (TEXI2DVI): Define always, it's not in Makeconfig.
16816 (dist): Removed.
16817 (tar-it): Removed.
16818 (edition): Removed.
16819 (glibc-doc-$(edition).tar): Removed
16820 (%.Z): Removed.
16821 (%.gz): Removed.
16822 (%.uu): Removed.
16823 (ETAGS): Remove, it's in Makeconfig.
16824 (move-if-change): Remove, it's in Makeconfig.
16825
38686a03 168262012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16827
16828 [BZ #13970]
16829 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16830 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16831 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16832 (strtod_l, strtof_l, strtold_l): Remove __wur.
16833 It is not necessarily an error to ignore strtol's return value.
16834 One can reliably look at the stored endptr to decide whether
16835 the number had valid syntax.
16836
7c0616fa
AJ
168372012-04-21 Andreas Jaeger <aj@suse.de>
16838
803cb6b7 16839 [BZ #13739]
7c0616fa
AJ
16840 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16841
b0fe253f
JM
168422012-04-21 Joseph Myers <joseph@codesourcery.com>
16843
16844 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16845 * sysdeps/unix/sysv/Versions: Remove file.
16846
8280f22d
MT
168472012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16848
16849 [BZ #13927]
16850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16851
75ce411f 168522012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16853
16854 [BZ #7064]
16855 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16856 version from __vm86.
16857
097d59fa
JM
168582012-04-20 Joseph Myers <joseph@codesourcery.com>
16859
a90f3bcb
JM
16860 * sysdeps/unix/common/lxstat.c: Remove file.
16861 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16862
edc7ea78
JM
16863 * sysdeps/unix/sysv/Makefile: Remove file.
16864
cb78c221
JM
16865 * sysdeps/unix/sysv/direct.h: Remove file.
16866
efa6a45f
JM
16867 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16868 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16869 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16870 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16871 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16872 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16873 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16874
9c9f2d0c
JM
16875 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16876
4541c83b
JM
16877 * sysdeps/unix/xmknod.c: Remove file.
16878 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16879
f5d153a0
JM
16880 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16881
aa746595
JM
16882 * sysdeps/unix/sysv/i386/time.S: Remove file.
16883
cce5905e
JM
16884 * sysdeps/unix/fxstat.c: Remove file.
16885 * sysdeps/unix/xstat.c: Likewise.
16886 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16887
37fa3841
JM
16888 * sysdeps/unix/sysv/sigaction.c: Remove file.
16889
ff1962a3
JM
16890 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16891 (sysdep_headers): Remove variable.
16892 [termio.h not in sysdep_headers] (generated): Likewise.
16893 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16894 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16895 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16896 * sysdeps/unix/sysv/tcflow.c: Likewise.
16897 * sysdeps/unix/sysv/tcflush.c: Likewise.
16898 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16899 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16900 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16901 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16902 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16903
e7740d31
JM
16904 * sysdeps/unix/siglist.c: Remove file.
16905
ee06f18b
JM
16906 * sysdeps/unix/getppid.S: Remove file.
16907
097d59fa
JM
16908 * sysdeps/unix/mkdir.c: Remove file.
16909 * sysdeps/unix/rmdir.c: Likewise.
16910
ff3d51ec
AS
169112012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16912
16913 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16914 ERR_MAX value.
16915 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16916 errlist-compat value.
16917
50f81fd7
DM
169182012-04-18 David S. Miller <davem@davemloft.net>
16919
16920 * sysdeps/generic/memcopy.h (reg_char): Delete.
16921 * debug/strcat_chk.c: Use char, not reg_char.
16922 * debug/strcpy_chk.c: Likewise.
16923 * debug/strncat_chk.c: Likewise.
16924 * debug/strncpy_chk.c: Likewise.
16925 * string/memchr.c: Likewise.
16926 * string/memrchr.c: Likewise.
16927 * string/rawmemchr.c: Likewise.
16928 * string/strcat.c: Likewise.
16929 * string/strchr.c: Likewise.
16930 * string/strchrnul.c: Likewise.
16931 * string/strcmp.c: Likewise.
16932 * string/strcpy.c: Likewise.
16933 * string/strncat.c: Likewise.
16934 * string/strncmp.c: Likewise.
16935 * string/strncpy.c: Likewise.
16936
8ff41c46
WS
169372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16938
16939 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16940 __builtin_memcopy is called when src and dest ranges are known to not
16941 overlap.
16942
6b652f46
WS
169432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16944
16945 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16946 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16947 fwd_align_merge macro call.
16948 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16949 bwd_align_merge macro call.
16950 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16951
b282631e
WS
169522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16953
16954 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16955 bwd_align_merge macros.
16956 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16957 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16958 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16959
95aa737c
DM
169602012-04-18 David S. Miller <davem@davemloft.net>
16961
16962 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16963
7a99a614
AJ
169642012-04-18 Andreas Jaeger <aj@suse.de>
16965
16966 [BZ# 6794]
16967 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16968 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16969 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16970
16971 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16972 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16973 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16974
16975 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16976 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16977 Adjust for changed ldbl-128 files.
16978
16979 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16980 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16981 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16982
e5270c23
DM
169832012-04-17 David S. Miller <davem@davemloft.net>
16984
16985 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16986
fb5e92c9
AS
169872012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16988
16989 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16990 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16991 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16992 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16993 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16994 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16995
76da7265
AZ
169962012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16997
16998 [BZ #6794]
16999 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17000 * math/libm-test.inc: Add ilogb errno and exception tests.
17001 * math/w_ilogb.c: New file: ilogb wrapper.
17002 * math/w_ilogbf.c: New file: ilogbf wrapper.
17003 * math/w_ilogbl.c: New file: ilogbl wrapper.
17004 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17005 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17006 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17007 exception being thrown with 0.0 as argument.
17008 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17009 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17010 exception being thrown with 0.0 as argument.
17011 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17012 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17013 exception being thrown with 0.0 as argument.
17014 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17015 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17016 exception being thrown with 0.0 as argument.
17017 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17018 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17019 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17020 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17021 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17022 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17023 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17024 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17025 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17026
0396e69d
PB
170272012-04-17 Petr Baudis <pasky@ucw.cz>
17028
17029 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17030 with altivec.
17031
750b5926
MP
170322012-04-16 Marek Polacek <polacek@redhat.com>
17033
17034 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17035
751728a1
MP
170362012-04-16 Marek Polacek <polacek@redhat.com>
17037
17038 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17039 operands of fdivp instruction.
17040
34a27407
L
170412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17044 * elf/tst-auditmod3b.c: Likewise.
17045 * elf/tst-auditmod4b.c: Likewise.
17046 * elf/tst-auditmod5b.c: Likewise.
17047 * elf/tst-auditmod6b.c: Likewise.
17048 * elf/tst-auditmod6c.c: Likewise.
17049 * elf/tst-auditmod7b.c: Likewise.
17050 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17051 * sysdeps/x86_64/preconfigure.in: Likewise.
17052 * sysdeps/x86_64/preconfigure: Regenerated.
17053
7e73e17d
L
170542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17055
17056 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17057 __ILP32__.
17058
c7a6ab72
AB
170592012-04-13 Antoine Balestrat <merkil33@gmail.com>
17060
17061 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17062 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17063
a9e8e0e0
CL
170642012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17065
17066 [BZ #13973]
17067 * locale/iso-639.def: Fix gl language name. Spotted by
17068 Yaron Shahrabani.
17069
ec98af7d
RM
170702012-04-12 Roland McGrath <roland@hack.frob.com>
17071
17072 [BZ #2074]
17073 * libio/libio.h (__io_write_fn): Update comment.
17074
247c3ede
PB
170752012-04-12 Petr Baudis <pasky@ucw.cz>
17076
17077 [BZ #2074]
17078 * stdio.texi (Hook Functions): The user provided writer function
17079 is not allowed to return -1.
17080
55939d6d
DM
170812012-04-11 David S. Miller <davem@davemloft.net>
17082
17083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17084
90020f5a
MF
170852012-04-11 Mike Frysinger <vapier@gentoo.org>
17086
17087 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17088 Add a leading slash to rtkaio.
17089
288f9098
JM
170902012-04-11 Jim Meyering <meyering@redhat.com>
17091
90020f5a
MF
17092 [BZ #11959]
17093 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17094 It is not necessarily an error to ignore fwrite's return
17095 value. One can reliably use ferror to test for errors after
17096 the fact.
288f9098 17097
4be2b570
L
170982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17099
17100 * bits/types.h (__snseconds_t): New type.
17101 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17102
17103 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17105 (__SNSECONDS_T_TYPE): Likewise.
17106 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17107 (__SNSECONDS_T_TYPE): Likewise.
17108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17109 (__SNSECONDS_T_TYPE): Likewise.
17110
288f9098 171112012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17112
17113 [BZ #2636]
17114 * manual/time.texi (Processor Time): Return type of times is
17115 elapsed real time since an arbitrary point in the past.
17116 (CPU Time): Move CLK_TCK from here...
17117 (Processor Time): ...to here. Correct description.
17118 * manual/conf.texi (Constants for Sysconf): Correct description of
17119 _SC_CLK_TCK.
17120
d7dd4413
DM
171212012-04-10 David S. Miller <davem@davemloft.net>
17122
17123 [BZ #13967]
17124 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17125 where the is a gap between DT_REL(A) and DT_JMPREL.
17126
b46068fc
L
171272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17128
17129 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17130 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17131 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17132
73d65cc3
SP
171332012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17134
17135 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17136 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17137 (dl_main): Handle --inhibit-cache.
17138 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17139 _dl_inhibit_cache.
17140 * elf/dl-load.c (_dl_map_object): Use it.
17141 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17142
bcc8d661
JM
171432012-04-09 Joseph Myers <joseph@codesourcery.com>
17144
8f9a2fae
JM
17145 [BZ #13872]
17146 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17147 (__ieee754_powl): Saturate large exponents rather than testing for
17148 overflow of y*log2(x).
17149 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17150 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17151 exceptions.
17152
bcc8d661
JM
17153 [BZ #11521]
17154 * math/s_ctan.c: Include <float.h>.
17155 (__ctan): Avoid internal overflow or cancellation in calculating
17156 denominator.
17157 * math/s_ctanf.c: Likewise.
17158 * math/s_ctanl.c: Likewise.
17159 * math/s_ctanh.c: Likewise.
17160 * math/s_ctanhf.c: Likewise.
17161 * math/s_ctanhl.c: Likewise.
17162 * math/libm-test.inc (ctan_test): Add more tests.
17163 (ctanh_test): Likewise.
17164 * sysdeps/i386/fpu/libm-test-ulps: Update.
17165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17166
823fbbb4
AJ
171672012-04-09 Andreas Jaeger <aj@suse.de>
17168
03879793
AJ
17169 [BZ #6894]
17170 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17171 is an optional BSD extension.
17172
823fbbb4
AJ
17173 [BZ #10254]
17174 * manual/stdio.texi (Opening Streams): Document additional fopen
17175 parameters.
17176
8de131cb
RM
171772012-04-09 Roland McGrath <roland@hack.frob.com>
17178
17179 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17180 %eax without telling the compiler.
17181
c0ed9d7d
CD
171822012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17183
17184 [BZ # 13963]
17185 * manual/install.texi: Use sourceware.org.
17186
c483f6b4
JM
171872012-04-09 Joseph Myers <joseph@codesourcery.com>
17188
d7dd9453
JM
17189 [BZ #13873]
17190 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17191 (__ieee754_pow): Generate overflow and underflow using huge*huge
17192 and tiny*tiny rather than just returning constant infinity or zero
17193 for large exponents.
17194 * math/libm-test.inc (pow_test): Require overflow exceptions for
17195 applicable cases of large exponents.
17196
c483f6b4
JM
17197 [BZ #706]
17198 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17199 (__ieee754_pow): Use iterative multiplication algorithm only for
17200 integer exponents with absolute value below 1024. Check for odd
17201 integer exponents when using algorithm for real exponents.
17202 * math/libm-test.inc (pow_test): Add more tests.
17203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17204
d2de7579
JM
172052012-04-08 Joseph Myers <joseph@codesourcery.com>
17206
17207 [BZ #13705]
17208 * math/libm-test.inc (exp_test): Do not allow overflow exception
17209 on underflow test.
17210
f77f1232
AJ
172112012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17212
17213 [BZ #13705]
17214 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17215 instead of __kernel_standard_f.
17216
3884932b
MF
172172012-04-08 Mike Frysinger <vapier@gentoo.org>
17218
17219 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17220 * sysdeps/x86_64/memset_chk.S: Likewise.
17221
54472e9c
AJ
172222012-04-08 Andreas Jaeger <aj@suse.de>
17223
6ab0fbfc
AJ
17224 [BZ #10153]
17225 * manual/startup.texi (Environment Access): Describe return value
17226 for putenv and setenv.
17227
61efba8c
AJ
17228 [BZ #6895]
17229 * manual/filesys.texi (Directory Entries): Add description for
17230 DT_LNK.
17231
95c3f29a
AJ
17232 [BZ #6890]
17233 * manual/filesys.texi (Directory Entries): Clarify that it's file
17234 system not operating system in the description of DT_UNKNOWN.
17235
54472e9c
AJ
17236 [BZ #6578]
17237 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17238
624254b1
SC
172392012-04-08 Stephen Compall <s11@member.fsf.org>
17240
17241 [BZ #6649]
17242 * manual/llio.texi (Opening and Closing Files): Add cross
17243 reference to explain mode argument.
17244
1e4920e0
MF
172452012-04-07 Mike Frysinger <vapier@gentoo.org>
17246
17247 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17248 * sysdeps/x86_64/memset_chk.S: Likewise.
17249
5ed848f3
DM
172502012-04-07 David S. Miller <davem@davemloft.net>
17251
17252 * elf/elf.h (R_SPARC_WDISP10): Define.
17253 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17254 R_SPARC_SIZE32.
17255 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17256 R_SPARC_SIZE64 and R_SPARC_H34.
17257
96154cd8
CD
172582012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17259
17260 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17261 conditions and remove no longer applicable assertion.
17262
9904dc47
L
172632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17264
17265 * bits/byteswap.h: Include <features.h>.
17266 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17267 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17268
f8887d0a
L
172692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17270
17271 * bits/byteswap.h (__bswap_16): Removed.
17272 Include <bits/byteswap-16.h> to get __bswap_16.
17273 * sysdeps/i386/bits/byteswap.h: Likewise.
17274 * sysdeps/s390/bits/byteswap.h: Likewise.
17275 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17276 * bits/byteswap-16.h: New file.
17277 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17278 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17279 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17280 * string/Makefile (headers): Add bits/byteswap-16.h.
17281
62470f60
PP
172822012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17283
17284 [BZ #13895]
17285 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17286 extra indirection.
17287 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17288 * nss/tst-nss-static.c: New.
17289
4dad7bab
RM
172902012-04-06 Robert Millan <rmh@gnu.org>
17291
17292 [BZ #6486]
17293 * manual/llio.texi (File Position Primitive): lseek
17294 refers to WHENCE when it really means OFFSET.
17295
e9142a17
AJ
172962012-04-06 Andreas Jaeger <aj@suse.de>
17297
2c040eff
AJ
17298 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17299 strncmp declarations.
17300
e9142a17
AJ
17301 * abilist/libc.abilist: Add __poll and __ppoll.
17302
ff9f1c5f
DM
173032012-04-05 David S. Miller <davem@davemloft.net>
17304
dcd2ae90
DM
17305 * scripts/check-local-headers.sh: Accept a host triplet in the
17306 path matched by the exclude regexp.
17307
993eb054
DM
17308 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17309 definition.
17310 * sysdeps/powerpc/powerpc32/dl-machine.h
17311 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17312 * sysdeps/s390/s390-32/dl-machine.h
17313 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17314 * sysdeps/sparc/sparc32/dl-machine.h
17315 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17316 * sysdeps/sparc/sparc64/dl-machine.h
17317 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17318
ff9f1c5f
DM
17319 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17320 lazy binding.
48e2e132 17321 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17322 undefined symbol errors.
17323
48e2e132 17324 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17325 DT_NEEDED entries.
17326
e80d6f94
MM
173272012-04-05 Michael Matz <matz@suse.de>
17328
17329 [BZ #13592]
17330 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17331
349fa79f
AJ
173322012-04-05 Andreas Jaeger <aj@suse.de>
17333
17334 [BZ #13908]
17335 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17336 comment.
17337
f402708f
KK
173382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17339
17340 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17341 which ROUND is no valid rounding mode.
17342
2ecccfc9
KK
173432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17344
17345 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17346 read again.
17347 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17348
8a53f50f
KK
173492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17350
17351 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17352 an exception using FPU order intentionally.
17353
173542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17355
17356 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17357 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17358 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17359 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17360
d653abb7
SJ
173612012-04-05 Simon Josefsson <simon@josefsson.org>
17362
17363 [BZ #12340]
17364 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17365 EINVAL when BUFLEN is too smal.
17366
c3b1bf7d
TS
173672012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17368
17369 [BZ #13553]
17370 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17371 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17372
b1aa60f3
AJ
173732012-04-03 Andreas Jaeger <aj@suse.de>
17374
c3b1bf7d 17375 [BZ #13938]
67f60a26
AJ
17376 * manual/setjmp.texi (System V contexts): Fix sentence.
17377
b1aa60f3
AJ
17378 [BZ #13926]
17379 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17380 New macro for this case.
17381 [!__GNUC__] (__bswap_64): New inline function for this case.
17382 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17383 * bits/byteswap.h: Likewise.
17384 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17385 ull, guard with __GLIBC_HAVE_LONG_LONG.
17386
17387 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17388 __GLIBC_HAVE_LONG_LONG.
17389
17390 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17391 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17392
39c59c35
TMQMF
173932012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17394
17395 [BZ #13691]
17396 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17397 inptr and inend, rather than using last_ch.
17398
135ffda8
DM
173992012-04-02 David S. Miller <davem@davemloft.net>
17400
17401 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17402 * stdio-common/printf-parse.h (read_int): Change return type to
17403 'int', return -1 on INT_MAX overflow.
17404 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17405 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17406 overflows INT_MAX. Check for overflow of in-format-string precision
17407 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17408 SIZE_MAX not INT_MAX for integer overflow test.
17409 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17410 skip the construct in the format string but do not record anything.
17411 * stdio-common/bug22.c: Adjust to test both width/prevision
17412 INT_MAX overflow as well as total length INT_MAX overflow. Check
17413 explicitly for proper errno values.
17414
228c019e
TS
174152012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17416
302cadd3
TS
17417 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17418 CHAR_MAX.
17419 * string/test-strcmp.c [! WIDE]: Likewise.
17420 * time/tst-mktime2.c: Likewise for INT_MAX.
17421 * string/test-string.h: #include <sys/param.h> for MIN.
17422
228c019e
TS
17423 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17424 * sysdeps/i386/init-first.c (init): Likewise.
17425 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17426 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17427 * sysdeps/sh/init-first.c (init): Likewise.
17428
cfa633f5
UD
174292012-04-01 Ulrich Drepper <drepper@gmail.com>
17430
17431 * po/ru.po: Update from translation team.
d1635ef8 17432 * po/vi.po: Likewise.
cfa633f5 17433
6cd0a5ea
SP
174342012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17435
17436 * resolv/nss_dns/dns-host.c: Merge copyright years.
17437
4b43400f
LD
174382012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17439
17440 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17441 Optimize memcpy with prefetch if
17442 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17443 src, dst pointers have unequal 16 byte alignments.
17444
48c41d04
SP
174452012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17446
17447 [BZ #13928]
17448 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17449 from a CNAME entry and return the minimum ttl for the query.
17450 (gaih_getanswer_slice): Likewise.
17451
b8dc394d
JL
174522012-03-30 Jeff Law <law@redhat.com>
17453
17454 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17455 due to long keys.
17456 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17457 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17458
2f5a5ed0
JL
17459 * resolv/nss_dns/dns-host.c: Update copyright year.
17460
1d39e359
UD
174612012-03-30 Ulrich Drepper <drepper@gmail.com>
17462
c030f70c 17463 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17464 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17465
1d39e359
UD
17466 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17467 comments for sendmmsg.
17468
174692012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17470
17471 [BZ #13691]
17472 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17473 with only 1 character between 0x0041 and 0x01b0.
17474 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17475 * wcsmbs/tst-mbsnrtowcs.c: New file.
17476
20fde227
DM
174772012-03-29 David S. Miller <davem@davemloft.net>
17478
17479 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17480 small copies by hand.
17481
984a4237
JL
174822012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17483
17484 [BZ #13761]
17485 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17486 _nss_compat_initgroups_dyn): Fall back to malloc/free
17487 for large group memberships.
17488
18c9d62b
DM
174892012-03-28 David S. Miller <davem@davemloft.net>
17490
88d85d4f
DM
17491 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17492 that branches into memcpy.
17493 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17495 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17496 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17497 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17498 bits.
17499 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17500 implementation too.
17501 * sysdeps/sparc/mempcpy.S: New file.
17502
e5aa83e1
DM
17503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17504 the IFUNC routine in the libc case.
17505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17506
88570753
DM
17507 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17508 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17509 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17510 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17511 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17512 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17513 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17514 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17515
249d7567
DM
17516 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17517 loop to 256 bytes instead of 64 bytes and fix test signedness.
17518
18c9d62b
DM
17519 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17520 * sysdeps/sparc/sparc32/Makefile: rather than here...
17521 * sysdeps/sparc/sparc64/Makefile: and here.
17522
05f3d1f6
UD
175232012-03-28 Ulrich Drepper <drepper@gmail.com>
17524
17525 * malloc/mallocbug.c: Avoid warnings about unused variables.
17526
86ae07a8
JL
175272012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17528
17529 [BZ #13760]
17530 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17531 in the right place. Discard and retry query if response is
17532 larger than input buffer size.
17533
41bf21a1
JM
175342012-03-28 Joseph Myers <joseph@codesourcery.com>
17535
d6270972
JM
17536 [BZ #369]
17537 [BZ #2678]
17538 [BZ #3866]
17539 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17540 x for large integer exponent.
17541 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17542 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17543 sign of result as needed afterwards.
17544 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17545 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17546 result for underflowing pow the same as for overflow.
17547 (__kernel_standard_l): Handle powl overflow and underflow here
17548 rather than calling __kernel_standard.
17549 * math/libm-test.inc (pow_test): Add more tests.
17550
414fca03 17551 [BZ #3868]
41bf21a1
JM
17552 [BZ #13879]
17553 [BZ #13910]
17554 [BZ #13911]
17555 [BZ #13912]
17556 [BZ #13913]
17557 [BZ #13915]
17558 [BZ #13916]
17559 [BZ #13917]
17560 [BZ #13918]
17561 [BZ #13919]
17562 [BZ #13920]
17563 [BZ #13921]
17564 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17565 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17566 (__kernel_standard_l): New function.
17567 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17568 __kernel_standard.
17569 * math/w_acosl.c (__acosl): Likewise.
17570 * math/w_asinl.c (__asinl): Likewise.
17571 * math/w_atan2l.c (__atan2l): Likewise.
17572 * math/w_atanhl.c (__atanhl): Likewise.
17573 * math/w_coshl.c (__coshl): Likewise.
17574 * math/w_exp10l.c (__exp10l): Likewise.
17575 * math/w_exp2l.c (__exp2l): Likewise.
17576 * math/w_fmodl.c (__fmodl): Likewise.
17577 * math/w_hypotl.c (__hypotl): Likewise.
17578 * math/w_j0l.c (__j0l, __y0l): Likewise.
17579 * math/w_j1l.c (__j1l, __y1l): Likewise.
17580 * math/w_jnl.c (__jnl, __ynl): Likewise.
17581 * math/w_lgammal.c (__lgammal): Likewise.
17582 * math/w_log10l.c (__log10l): Likewise.
17583 * math/w_log2l.c (__log2l): Likewise.
17584 * math/w_logl.c (__logl): Likewise.
17585 * math/w_powl.c (__powl): Likewise.
17586 * math/w_remainderl.c (__remainderl): Likewise.
17587 * math/w_scalbl.c (sysv_scalbl): Likewise.
17588 * math/w_sinhl.c (__sinhl): Likewise.
17589 * math/w_sqrtl.c (__sqrtl): Likewise.
17590 * math/w_tgammal.c (__tgammal): Likewise.
17591 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17592 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17593 * math/libm-test.inc (acos_test): Add more tests.
17594 (acosh_test): Likewise.
17595 (asin_test): Likewise.
17596 (atanh_test): Likewise.
17597 (exp_test): Likewise.
17598 (exp10_test): Likewise.
17599 (exp2_test): Likewise.
17600 (expm1_test): Likewise.
17601 (lgamma_test): Likewise.
17602 (log_test): Likewise.
17603 (log10_test): Likewise.
17604 (log1p_test): Likewise.
17605 (log2_test): Likewise.
17606 (pow_test): Do not allow some spurious overflow exceptions.
17607 (sqrt_test): Add more tests.
17608 (tgamma_test): Likewise.
17609 (y0_test): Likewise.
17610 (y1_test): Likewise.
17611 (yn_test): Likewise.
17612
dd62fda6
AB
176132012-03-27 Anton Blanchard <anton@samba.org>
17614
17615 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17616 MAP_HUGETLB.
17617 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17618 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17619 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17620
1e3cdfda
AJ
176212012-03-27 David S. Miller <davem@davemloft.net>
17622
b855ab85
DM
17623 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17624
1e3cdfda
AJ
17625 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17626 have-as-vis3 check.
17627
176282012-03-27 Andreas Jaeger <aj@suse.de>
17629
17630 * sysdeps/x86_64/elf/configure.in: Moved to ...
17631 * sysdeps/x86_64/configure.in: ... here.
17632 * sysdeps/x86_64/elf/start.S: Moved to ...
17633 * sysdeps/x86_64/start.S: ... here.
17634 * sysdeps/x86_64/elf/configure: Delete.
17635
17636 * sysdeps/x86_64/configure.in: Merge contents from
17637 sysdeps/i386/configure.in (without i686 check).
17638
17639 * sysdeps/i386/elf/Versions: Merge into ...
17640 * sysdeps/i386/Versions: ... this.
17641 * sysdeps/i386/elf/Versions: Delete file.
17642 * sysdeps/i386/elf/start.S: Moved to ...
17643 * sysdeps/i386/start.S: ...here.
17644 * sysdeps/i386/elf/configure.in: Merge into...
17645 * sysdeps/i386/configure.in: ...here.
17646 * sysdeps/i386/elf/configure.in: Delete file.
17647 * sysdeps/i386/elf/configure: Delete file.
17648
17649 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17650 * debug/backtracesyms.c: ... here.
17651 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17652 * debug/backtracesymsfd.c: ... here.
17653 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17654 * sysdeps/generic/ifunc-sel.h: ... here.
17655
17656 * sysdeps/unix/i386/start.c: Delete file.
17657 * sysdeps/unix/sparc/start.c: Delete file.
17658 * sysdeps/unix/start.c: Delete file.
17659
17660 * sysdeps/sh/elf/configure.in: Moved to ...
17661 * sysdeps/sh/configure.in: ... here.
17662 * sysdeps/sh/elf/start.S: Moved to ...
17663 * sysdeps/sh/start.S: ... here.
17664 * sysdeps/sh/elf/configure: Delete file.
17665
17666 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17667 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17668 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17669 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17670 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17671 * sysdeps/powerpc/powerpc64/start.S: here.
17672 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17673 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17674 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17675 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17676 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17677
17678 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17679 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17680 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17681 * sysdeps/powerpc/powerpc32/start.S: ... here.
17682 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17683 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17684 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17685
17686 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17687 * sysdeps/powerpc/ifunc-sel.h: ... here.
17688 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17689 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17690
17691 * sysdeps/sparc/elf/configure.in: Moved to ...
17692 * sysdeps/sparc/configure.in: ... here.
17693 * sysdeps/sparc/elf/configure: Delete file.
17694 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17695 * sysdeps/sparc/sparc32/start.S: ... here.
17696 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17697 * sysdeps/sparc/sparc64/start.S: ... here.
17698 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17699 * sysdeps/sparc/sparc32/Makefile: ... this.
17700 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17701 * sysdeps/sparc/sparc64/Makefile: ... this.
17702
17703 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17704 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17705 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17706 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17707 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17708 * sysdeps/s390/s390-32/setjmp.S: ... here.
17709 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17710 * sysdeps/s390/s390-32/configure.in: ... here.
17711 * sysdeps/s390/s390-32/elf/configure: Delete file.
17712 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17713 * sysdeps/s390/s390-32/start.S: ... here.
17714
17715 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17716 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17717 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17718 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17719 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17720 * sysdeps/s390/s390-64/setjmp.S: ... here.
17721 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17722 * sysdeps/s390/s390-64/configure.in: ... here
17723 * sysdeps/s390/s390-64/elf/configure: Delete file.
17724 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17725 * sysdeps/s390/s390-64/start.S: ... here.
17726 * sysdeps/s390/s390-64/elf/configure: Delete.
17727
17728 * configure.in: Remove support for elf directories in sysdeps.
17729
17730 * configure: Regenerated.
17731 * sysdeps/i386/configure: Regenerated.
17732 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17733 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17734 * sysdeps/s390/s390-32/configure: Regenerated.
17735 * sysdeps/s390/s390-64/configure: Regenerated.
17736 * sysdeps/sh/configure: Regenerated.
17737 * sysdeps/sparc/configure: Regenerated.
17738 * sysdeps/x86_64/configure: Regenerated.
17739
a3f61311
AS
177402012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17741
c876e002
AS
17742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17743
a3f61311
AS
17744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17745 denormal result into account.
17746
ac4c54f0
RM
177472012-03-25 Roland McGrath <roland@hack.frob.com>
17748
17749 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17750 Reported by Allan McRae <allan@archlinux.org>.
17751
6a9b9c02
JL
177522012-03-23 Jeff Law <law@redhat.com>
17753
17754 * nss/getnssent.c (__nss_getent): Fix typo.
17755
4c42a0c1
DM
177562012-03-23 David S. Miller <davem@davemloft.net>
17757
17758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17759
1532c7ac
L
177602012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17761
17762 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17763 to pad to uint64_t for each field.
17764 (dl_tls_index): Replace unsigned long with uint64_t.
17765
3ff42526
PP
177662012-03-23 Daniel Jacobowitz <dmj@google.com>
17767 Paul Pluzhnikov <ppluzhnikov@google.com>
17768
17769 [BZ #6528]
17770 * grp/Makefile (otherlibs): Don't set it.
17771 * inet/Makefile (otherlibs): Likewise.
17772 * login/Makefile (otherlibs): Likewise.
17773 * nscd/Makefile (otherlibs): Likewise.
17774 * posix/Makefile (otherlibs): Likewise.
17775 * pwd/Makefile (otherlibs): Likewise.
17776 * rt/Makefile (otherlibs): Likewise.
17777 * sunrpc/Makefile (otherlibs): Likewise.
17778 * nss/Makefile (otherlibs): Likewise.
17779 Add libnss_files to routines and static-only-routines.
17780 ($(objpfx)getent): Remove rule.
17781 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17782 static-only-routines.
17783
7c69cd14
JM
177842012-03-22 Joseph Myers <joseph@codesourcery.com>
17785
17786 [BZ #13892]
17787 * math/s_cexp.c: Include <float.h>.
17788 (__cexp): Handle exp result overflowing not necessarily
17789 overflowing both real and imaginary parts of result.
17790 * math/s_cexpf.c: Likewise.
17791 * math/s_cexpl.c: Likewise.
17792 * math/libm-test.inc (cexp_test): Add more tests.
17793 * sysdeps/i386/fpu/libm-test-ulps: Update.
17794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17795
81b035fe
L
177962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17797
17798 * include/link.h (ELFW): New macro.
17799 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17800 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17801
1da7940c
L
178022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17803
17804 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17805 with uint64_t.
17806
b749dbb9
L
178072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17808
17809 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17810 declaration.
17811 (struct La_x32_retval): Likewise.
17812
2ff87f3f
L
178132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17814
17815 * sysdeps/x86_64/preconfigure.in: New file.
17816 * sysdeps/x86_64/preconfigure: New generated file.
17817
c0df8e69
JM
178182012-03-22 Joseph Myers <joseph@codesourcery.com>
17819
48e44791
JM
17820 [BZ #13824]
17821 * math/e_exp2l.c: Include <float.h>.
17822 (__ieee754_exp2l): Handle overflow and underflow cases
17823 separately. Only pass fractional part of argument to
17824 __ieee754_expl.
17825 * math/libm-test.inc (exp2_test): Add more tests.
17826
c0df8e69
JM
17827 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17828 negating x to take absolute value.
17829 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17830 Likewise.
17831 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17832 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17833 Likewise.
17834 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17835 computing low part if x was negated.
17836 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17837
c8e43ba7
L
178382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17839
17840 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17841 la_x32_gnu_pltexit.
17842 (pltexit): Cast int_retval to ptrdiff_t.
17843 * elf/tst-auditmod3b.c: Likewise.
17844 * elf/tst-auditmod4b.c: Likewise.
17845 * elf/tst-auditmod5b.c: Likewise.
17846 * elf/tst-auditmod6b.c: Likewise.
17847 * elf/tst-auditmod6c.c: Likewise.
17848 * elf/tst-auditmod7b.c: Likewise.
17849
17850 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17851 and x32_gnu_pltexit.
17852
17853 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17854 __ELF_NATIVE_CLASS.
17855 (La_x32_regs): New macro.
17856 (La_x32_retval): Likewise.
17857 (la_x32_gnu_pltenter): New function prototype.
17858 (la_x32_gnu_pltexit): Likewise.
17859
7998fa78
AS
178602012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17861
dcb33988
AS
17862 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17863 exponent.
17864
233fc563
AS
17865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17866
7998fa78
AS
17867 * configure.in (libc_cv_cc_nofma): Check for option to disable
17868 generation of FMA instructions.
17869 * configure: Regenerate.
17870 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17871 * sysdeps/ieee754/dbl-64/Makefile: New file.
17872 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17873 Remove brandred-fma4.
17874 (CFLAGS-brandred-fma4.c): Remove.
17875 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17876 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17877 define.
17878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17879 define.
17880
8e95c99a
L
178812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17882
17883 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17884 LLONG_MAX != LONG_MAX.
17885 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17886 (_fitoa_word): Likewise.
17887 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17888 LLONG_MAX != LONG_MAX.
17889 * stdio-common/_itowa.h: Include <_itoa.h>.
17890 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17891 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17892 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17893 only if not defined.
17894 (_ITOA_WORD_TYPE): Likewise.
17895 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17896 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17897
6f4db457
DM
178982012-03-21 David S. Miller <davem@davemloft.net>
17899
17900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17901
7785fe5a
L
179022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17903
17904 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17905 of x86_64 when setting libc_cv_slibdir, libdir and
17906 libc_cv_localedir.
17907 * sysdeps/unix/sysv/linux/configure: Regenerated.
17908
4535cd55
JM
179092012-03-21 Joseph Myers <joseph@codesourcery.com>
17910
17911 * manual/lang.texi (Old Varargs): Remove section.
17912 (How Variadic): Update menu.
17913 (va_start): Do not mention varargs.h.
17914
17228132
TS
179152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17916 Joseph Myers <joseph@codesourcery.com>
17917
17918 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17919 link test.
17920 * configure: Regenerated.
17921
8149f976
TS
179222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17923
05f3d1f6
UD
17924 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17925 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17926 conformtest.pl
8149f976 17927
1a4ac776
JM
179282012-03-21 Joseph Myers <joseph@codesourcery.com>
17929
be22ce65
JM
17930 * NOTES: Remove.
17931 * Makefile (files-for-dist): Remove NOTES.
17932 (NOTES): Remove rule.
17933 * README: Don't refer to NOTES.
17934 * manual/creature.texi: Don't include macros.texi.
17935 * manual/intro.texi (creature.texi): Remove comment referring to
17936 NOTES.
17937
40b601fb
JM
17938 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17939 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17940 * configure: Regenerated.
17941 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17942 LIBC_TRY_CC_OPTION.
17943 (libc_cv_as_i686): Likewise.
17944 (libc_cv_cc_avx): Likewise.
17945 (libc_cv_cc_sse2avx): Likewise.
17946 (libc_cv_cc_fma4): Likewise.
17947 (libc_cv_cc_novzeroupper): Likewise.
17948 * sysdeps/i386/configure: Regenerated.
17949
1a4ac776
JM
17950 [BZ #13883]
17951 * sysdeps/i386/fpu/s_cexp.S: Remove.
17952 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17953 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17954 * math/libm-test.inc (cexp_test): Add more tests.
17955 * sysdeps/i386/fpu/libm-test-ulps: Update.
17956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17957
a458e7fe
AM
179582012-03-21 Allan McRae <allan@archlinux.org>
17959
17960 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17961
0cb7efc5
JM
179622012-03-21 Joseph Myers <joseph@codesourcery.com>
17963
17964 [BZ #13871]
17965 * math/w_exp2.c: Do not include <float.h>.
17966 (o_threshold, u_threshold): Remove.
17967 (__exp2): Calculate result before checking finiteness and calling
17968 __kernel_standard.
17969 * math/w_exp2f.c: Likewise.
17970 * math/w_exp2l.c: Likewise.
17971 * math/libm-test.inc (exp2_test): Require overflow exception for
17972 1e6 input.
2460d3aa
JM
17973
17974 [BZ #3866]
17975 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17976 range of signed 64-bit integers before using fistpll. Remove
17977 checks for whether integers fit in mantissa bits.
17978 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17979 the range of signed 32-bit integers before using fistpl. Remove
17980 checks for whether integers fit in mantissa bits.
17981 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17982 (__ieee754_powl): Test for y outside the range of signed 64-bit
17983 integers before using fistpll. Reduce 64-bit values to 63-bit
17984 ones as needed.
17985 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17986 divide-by-zero is raised for zero to large negative powers.
17987 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17988 (__ieee754_powl): Test for y outside the range of signed 64-bit
17989 integers before using fistpll. Reduce 64-bit values to 63-bit
17990 ones as needed.
17991 * math/libm-test.inc (pow_test): Add more tests.
17992
eb96ffb0
L
179932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17994
17995 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17996 <stdio-common/_itoa.h>.
17997 * debug/segfault.c: Likewise.
17998 * elf/dl-cache.c: Likewise.
17999 * elf/dl-minimal.c: Likewise.
18000 * elf/dl-misc.c: Likewise.
18001 * elf/dl-sysdep.c: Likewise.
18002 * elf/dl-version.c: Likewise.
18003 * elf/rtld.c: Likewise.
18004 * hurd/hurdsock.c: Likewise.
18005 * hurd/lookup-retry.c: Likewise.
18006 * malloc/malloc.c: Likewise.
18007 * malloc/mtrace.c: Likewise.
18008 * nscd/nscd_getgr_r.c: Likewise.
18009 * nscd/nscd_getpw_r.c: Likewise.
18010 * nscd/nscd_getserv_r.c: Likewise.
18011 * posix/getopt_init.c: Likewise.
18012 * posix/wordexp.c: Likewise.
18013 * stdio-common/_itoa.c: Likewise.
18014 * stdio-common/printf_fphex.c: Likewise.
18015 * stdio-common/vfprintf.c: Likewise.
18016 * string/_strerror.c: Likewise.
18017 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18018 * sysdeps/i386/i686/hp-timing.h: Likewise.
18019 * sysdeps/mach/_strerror.c: Likewise.
18020 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18021 * sysdeps/mach/hurd/sethostid.c: Likewise.
18022 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18023 * sysdeps/mach/xpg-strerror.c: Likewise.
18024 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18025 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18026 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18027 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18028 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18029 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18030 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18031 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18032 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18033 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18034 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18035 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18036 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18037 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18038 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18039 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18040 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18041 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18042 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18043 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18044 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18045
18046 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18047
18048 * stdio-common/_itoa.h: Moved to ...
18049 * sysdeps/generic/_itoa.h: Here.
18050
18051 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18052
18053 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18054 instead of "_itoa.h" and "_itowa.h".
18055 * stdio-common/vfprintf.: Likewise.
18056
d1af992d
L
180572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18058
18059 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18060 <bits/wordsize.h>.
18061 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18062 (__signbit): Likwise.
18063 (llrintf): Likwise.
18064 (llrint): Likwise.
18065
114883e0
L
180662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18067
18068 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18069 __WORDSIZE != 64.
18070
c135cc1b
JM
180712012-03-20 Joseph Myers <joseph@codesourcery.com>
18072
18073 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18074 OVERFLOW_EXCEPTION_OK.
18075 * math/libm-test.inc ("Philosophy"): Update comment about
18076 exception testing.
18077 (OVERFLOW_EXCEPTION): Define.
18078 (OVERFLOW_EXCEPTION_OK): Likewise.
18079 (INVALID_EXCEPTION_OK): Renumber.
18080 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18081 (IGNORE_ZERO_INF_SIGN): Likewise.
18082 (test_exceptions): Handle FE_OVERFLOW.
18083 (exp10_test): Expect overflow exceptions.
18084 (exp2_test): Likewise.
18085 (expm1_test): Likewise.
18086 (nextafter_test): Likewise.
18087 (pow_test): Likewise.
18088 (scalbn_test): Likewise.
18089 (scalbln_test): Likewise.
18090
95443d88
L
180912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18092
18093 * sysdeps/x86_64/bits/atomic.h
18094 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18095 64bit integer.
18096 (atomic_exchange_acq): Likewise.
18097 (__arch_exchange_and_add_body): Likewise.
18098 (__arch_add_body): Likewise.
18099 (atomic_add_negative): Likewise.
18100 (atomic_add_zero): Likewise.
18101
490df6c4
L
181022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18103
c2722551 18104 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18105 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18106
5e52b189
L
181072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18108
18109 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18110 Check __x86_64__ instead of __WORDSIZE.
18111
a9879d4c
L
181122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18113
18114 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18115
5df98260
DM
181162012-03-19 David S. Miller <davem@davemloft.net>
18117
e1497744
DM
18118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18119
5df98260
DM
18120 * sysdeps/sparc/fpu/fenv_private.h: New file.
18121 * sysdeps/sparc/fpu/math_private.h: Use it.
18122 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18123 Remove.
18124 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18125 (libc_feholdexcept_setroundl): Remove.
18126 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18127 Remove.
18128 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18129 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18130
b4c35121
L
181312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18132
18133 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18134 int64_t instead of long int.
18135 (INSERT_WORDS64): Likwise.
18136
56965fd7
L
181372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18138
18139 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18140 _Unwind_GetCFA return to _Unwind_Ptr first.
18141
83d1aec8
JM
181422012-03-19 Joseph Myers <joseph@codesourcery.com>
18143
1897ad44
JM
18144 [BZ #13629]
18145 * math/s_clog.c: Include <float.h>.
18146 (__clog): Scale large or subnormal inputs.
18147 * math/s_clogf.c: Likewise.
18148 * math/s_clogl.c: Likewise.
18149 * math/s_clog10.c: Include <float.h>.
18150 (M_LOG10_2): Define.
18151 (__clog10): Scale large or subnormal inputs.
18152 * math/s_clog10f.c: Likewise.
18153 * math/s_clog10l.c: Likewise.
18154 * math/libm-test.inc (clog_test): Add more tests.
18155 (clog10_test): Likewise.
18156 * sysdeps/i386/fpu/libm-test-ulps: Update.
18157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18158
7726d6a9
JM
18159 [BZ #11451]
18160 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18161 x and y.
18162 * math/libm-test.inc (atan2_test): Add another test.
18163
83d1aec8
JM
18164 * Makerules (common-objdir-compile): Remove.
18165 * sysdeps/unix/Makefile (config-generated): Do not add
18166 $(unix-generated) to variable.
18167 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18168 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18169 Remove rule.
18170 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18171 Likewise.
18172 [generic bits/local_lim.h] (before-compile): Do not append to
18173 variable.
18174 [generic bits/local_lim.h] (common-generated): Likewise.
18175 [generic sys/param.h] (before-compile): Do not append to variable.
18176 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18177 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18178 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18179 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18180 include.
18181 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18182 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18183 [generic sys/param.h] ($(addprefix
18184 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18185 [generic sys/param.h] (common-generated): Do not append to
18186 variable.
18187 [generic sys/param.h] (sysdep_headers): Likewise.
18188 [generic bits/errno.h] (before-compile): Do not append to
18189 variable.
18190 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18191 rule.
18192 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18193 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18194 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18195 [generic bits/errno.h] (common-generated): Do not append to
18196 variable.
18197 [generic bits/ioctls.h] (before-compile): Do not append to
18198 variable.
18199 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18200 rule.
18201 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18202 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18203 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18204 rule.
18205 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18206 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18207 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18208 [generic bits/ioctls.h] (common-generated): Do not append to
18209 variable.
18210 [generic sys/syscall.h] (syscall.h): Remove variable.
18211 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18212 rule.
18213 [generic sys/syscall.h] (before-compile): Do not append to
18214 variable.
18215 [generic sys/syscall.h] (common-generated): Likewise.
18216 * sysdeps/unix/errnos-tmpl.c: Remove file.
18217 * sysdeps/unix/errnos.awk: Likewise.
18218 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18219 * sysdeps/unix/ioctls.awk: Likewise.
18220 * sysdeps/unix/mk-local_lim.c: Likewise.
18221 * sysdeps/unix/snarf-ioctls: Likewise.
18222
4851a949
RH
182232012-03-19 Richard Henderson <rth@twiddle.net>
18224
bd37f2ee
RH
18225 * sysdeps/i386/fpu/fenv_private.h: New file.
18226 * sysdeps/i386/fpu/math_private.h: Use it.
18227 (math_opt_barrier, math_force_eval): Remove.
18228 (libc_feholdexcept_setround_53bit): Remove.
18229 (libc_feupdateenv_53bit): Remove.
18230 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18231 (math_opt_barrier, math_force_eval): Remove.
18232 (libc_feholdexcept): Remove.
18233 (libc_feholdexcept_setround): Remove.
18234 (libc_fetestexcept, libc_fesetenv): Remove.
18235 (libc_feupdateenv_test): Remove.
18236 (libc_feupdateenv, libc_feholdsetround): Remove.
18237 (libc_feresetround): Remove.
18238
d0adc922
RH
18239 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18240 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18241
0fe0f1f8
RH
18242 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18243 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18244 (libc_feupdateenv_testl): New.
18245 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18246 (libc_feupdateenv_testf): New.
18247 (libc_feupdateenv): Use libc_feupdateenv_test.
18248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18249 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18250
eb92c487
RH
18251 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18252 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18253 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18254 (libc_feresetround_noex): New.
18255 (libc_feresetround_noexf): New.
18256 (libc_feresetround_noexl): New.
18257 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18258 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18259 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18260 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18261 SET_RESTORE_ROUND.
18262 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18263 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18264 (__cos): Likewise.
18265 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18266 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18267 SET_RESTORE_ROUND_NOEX.
18268 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18269 SET_RESTORE_ROUND_NOEXF.
18270 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18271 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18272 (libc_feholdsetroundf): New.
18273 (libc_feresetround, libc_feresetroundf): New.
18274
7d2e8012
RH
18275 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18276 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18277 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18278
b4dabbb4
RH
18279 * sysdeps/generic/math_private.h: Include <fenv.h>.
18280 (default_libc_feholdexcept): New.
18281 (default_libc_feholdexcept_setround): New.
18282 (default_libc_fesetenv, default_libc_feupdateenv): New.
18283 (libc_feholdexcept): Only define if undefined.
18284 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18285 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18286 (libc_feholdexcept_setroundl): Likewise.
18287 (libc_feholdexcept_setround_53bit): Likewise.
18288 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18289 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18290 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18291 (libc_feupdateenv_53bit): Likewise.
18292 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18293 (libc_feholdexcept): Convert from macro to inline function.
18294 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18295 (libc_fesetenv, libc_feupdateenv): Likewise.
18296
4851a949
RH
18297 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18298 not previously defined.
18299 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18300 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18301 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18302 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18303 * sysdeps/ieee754/flt-32/math_private.h: New file.
18304 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18305 math_private.h below SET_FLOAT_WORD.
18306 (__isnan, __isinf_ns, __finite): Remove.
18307 (__isnanf, __isinf_nsf, __finitef): Remove.
18308
e79d442e
AS
183092012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18310
18311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18312
90b80344
DM
183132012-03-17 David S. Miller <davem@davemloft.net>
18314
18315 [BZ #6471]
18316 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18317 for 2.16.
18318
edc21804
DM
183192012-03-16 David S. Miller <davem@davemloft.net>
18320
77e927af
DM
18321 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18322 warnings.
18323
374976dd
DM
18324 [BZ #6471]
18325 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18326 properly.
18327 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18328 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18329 sysdep_routines when subdir is sysvipc.
18330 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18331 __getshmlba helper.
18332
edc21804
DM
18333 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18334
473c3ef3
L
183352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18336
18337 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18338 [__LP64__].
18339
eb0f39b6
L
183402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18341
18342 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18343 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18344 (__lround): Renamed to ...
18345 (__llround): This. Replace long int with long long int.
18346 Define lround functions as aliases of llround functions.
18347 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18348
6b6cd74b
L
183492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18350
18351 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18352 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18353 adresses to uintptr_t. Replace "long int" and "unsigned long
18354 int" with "greg_t" on va_arg.
18355
f1a77b01
L
183562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18357
18358 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18359 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18360
18361 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18362 Move e_machine check before EI_CLASS check. Handle x32
18363 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18364 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18365 SKIP_EM_IA_64 and include
18366 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18367
18368 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18369 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18370 (add_system_dir): New macro.
18371
18372 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18373 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18374
11b90b9f
JM
183752012-03-16 Joseph Myers <joseph@codesourcery.com>
18376
c36e1d23
JM
18377 [BZ #2551]
18378 [BZ #2552]
18379 [BZ #2553]
18380 [BZ #2554]
18381 [BZ #2562]
18382 [BZ #2563]
18383 [BZ #2565]
18384 [BZ #2566]
18385 [BZ #2576]
18386 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18387 (y0): Likewise.
18388 * math/w_j0f.c (j0f): Likewise.
18389 (y0f): Likewise.
18390 * math/w_j0l.c (__j0l): Likewise.
18391 (__y0l): Likewise.
18392 * math/w_j1.c (j1): Likewise.
18393 (y1): Likewise.
18394 * math/w_j1f.c (j1f): Likewise.
18395 (y1f): Likewise.
18396 * math/w_j1l.c (__j1l): Likewise.
18397 (__y1l): Likewise.
18398 * math/w_jn.c (jn): Likewise.
18399 (yn): Likewise.
18400 * math/w_jnf.c (jnf): Likewise.
18401 (ynf): Likewise.
18402 * math/w_jnl.c (__jnl): Likewise.
18403 (__ynl): Likewise.
18404 * math/libm-test.inc (j0_test): Add more tests.
18405 (j1_test): Likewise.
18406 (jn_test): Likewise. Add trailing semicolon to existing test.
18407 (y0_test): Likewise.
18408 (y1_test): Likewise.
18409 * sysdeps/i386/fpu/libm-test-ulps: Update.
18410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18411
11b90b9f
JM
18412 [BZ #13851]
18413 [BZ #13854]
18414 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18415 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18416 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18417 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18418 (__tanl): Set errno for infinite argument.
18419 * sysdeps/i386/fpu/mptan.c: Remove.
18420 * sysdeps/i386/fpu/s_tan.S: Likewise.
18421 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18422 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18423 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18424 * math/libm-test.inc (tan_test): Add more tests and enable more
18425 tests for double and long double.
18426 * sysdeps/i386/fpu/libm-test-ulps: Update.
18427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18428
6a1bd2a1
JK
184292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18430
18431 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18432 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18433
10a803e0
RM
184342012-03-16 Roland McGrath <roland@hack.frob.com>
18435
18436 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18437 * configure.in: Use it for both main tree and add-ons.
18438 * configure: Regenerated.
18439
f196c7f7
L
184402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18441
18442 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18443
8848d99d
JM
184442012-03-16 Joseph Myers <joseph@codesourcery.com>
18445
96cbe7f4
JM
18446 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18447 in comment.
18448
8848d99d
JM
18449 [BZ #13851]
18450 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18451 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18452 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18453 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18454 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18455 infinite argument.
18456 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18457 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18458 != 0 for prec == 2.
18459 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18460 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18461 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18462 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18463 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18464 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18465 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18466 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18467 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18468 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18469 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18470 * math/libm-test.inc (cos_test): Add more tests and enable more
18471 tests for long double.
18472 (sin_test): Likewise.
18473 (sincos_test): Likewise.
18474 * sysdeps/i386/fpu/libm-test-ulps: Update.
18475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18476
dd7f4703
DM
184772012-03-16 David S. Miller <davem@davemloft.net>
18478
18479 * sysdeps/sparc/fpu/math_private.h: New file.
18480
006f1daa
DM
184812012-03-15 David S. Miller <davem@davemloft.net>
18482
c0c83bc8
DM
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18484 file.
e6a62e18 18485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18487 file.
e6a62e18
DM
18488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18493 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18494 sysdep routines.
18495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18496
88cb87d9
DM
18497 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18498 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18499
006f1daa 18500 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18502 sparc-ifunc.h
006f1daa 18503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18505 Likewise.
18506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18507 Likewise.
006f1daa
DM
18508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18512 Likewise.
006f1daa
DM
18513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18518 Likewise.
18519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18520 Likewise.
006f1daa
DM
18521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18539 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18540 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18541 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18543 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18544 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18545
11e0098e
AS
185462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18547
18548 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18549 scaling.
18550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18551
e85b09d0
AJ
185522012-03-15 Andreas Jaeger <aj@suse.de>
18553
18554 [BZ #13852]
18555 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18556 ieee754/flt-32 implementation for sin, cos and sincos.
18557 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18558 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18559 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18560 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18561 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18562 ieee754/flt-32 implementation for tan.
18563
18564 * math/libm-test.inc (cos_test): Enable some large input tests for
18565 float as well
18566 (sin_test): Likewise.
18567 (sincos_test): Likewise.
18568 (tan_test): Add tests for large input.
18569
18570 * sysdeps/i386/fpu/libm-test-ulps: Update.
18571
81c64153
AJ
185722012-03-15 Andreas Jaeger <aj@suse.de>
18573
18574 [BZ #13658]
18575 * math/libm-test.inc (cos_test): Add more test cases.
18576 (sin_test): Likewise.
18577 (sincos_test): Likewise.
18578
7bbfa5c6
AJ
185792012-03-15 Andreas Jaeger <aj@suse.de>
18580
18581 [BZ #13837]
18582 * math/libm-test.inc (cos_test): Add a test case for large input
18583 value.
18584 (sin_test): Likewise.
18585 (sincos_test): Likewise.
18586
185872012-03-15 Andreas Jaeger <aj@suse.de>,
18588 Joseph Myers <joseph@codesourcery.com>
18589
18590 [BZ #13658]
0671f479 18591 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18592 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18593 * sysdeps/i386/fpu/branred.c: Likewise.
18594 * sysdeps/i386/fpu/dosincos.c: Likewise.
18595 * sysdeps/i386/fpu/mpa.c: Likewise.
18596 * sysdeps/i386/fpu/s_cos.S: Likewise.
18597 * sysdeps/i386/fpu/s_sin.S: Likewise.
18598 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18599 * sysdeps/i386/fpu/sincos32.c: Likewise.
18600
18601 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18602 Define.
18603 (libc_feupdateenv_53bit): Define.
18604 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18605 Define.
18606 (libc_feupdateenv_53bit): Define.
18607
18608 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18609 53 bit (without extend i386 double precision).
18610
18611 * math/libm-test.inc (sincos_test): Add tests for large input.
18612 (sin): Likewise.
18613 (cos): Likewise.
18614
18615 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18616
9cad04ea
AS
186172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18618
18619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18620
f7062b9a
DM
186212012-03-15 David S. Miller <davem@davemloft.net>
18622
18623 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18624 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18625 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18626 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18639 file.
f7062b9a 18640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18642 file.
f7062b9a 18643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18645 file.
f7062b9a 18646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18648 file.
f7062b9a
DM
18649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18650 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18651 fmin/fmax sysdep routines.
18652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18653
7bd951ff
DM
186542012-03-14 David S. Miller <davem@davemloft.net>
18655
559398ab
DM
18656 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18661 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18676 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18677 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18678 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18680 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18684 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18685 routines.
18686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18687 file.
559398ab 18688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18690 file.
559398ab 18691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18693 file.
559398ab 18694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18696 file.
559398ab 18697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18699 file.
559398ab 18700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18702 file.
18703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18704 file.
18705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18706 file.
18707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18708 file.
18709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18710 New file.
18711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18712 file.
18713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18714 file.
559398ab 18715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18717 file.
559398ab 18718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18720 file.
559398ab 18721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18723 file.
559398ab 18724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18726 VIS3 routines.
559398ab
DM
18727
18728 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18729 New file.
18730
5a1c1e32
DM
18731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18732
eae47a36
DM
18733 * sysdeps/sparc/configure.in: New file.
18734 * sysdeps/sparc/configure: Generate.
18735 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18736 * configure: Regenerate.
18737 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18738 * config.make.in (have-as-vis3): New.
18739 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18740 available use -Av9d instead of -Av9a.
18741 * sysdeps/sparc/sparc64/Makefile: Likewise.
18742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18744 New file.
18745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18746 file.
18747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18748 New file.
18749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18750 file.
eae47a36
DM
18751 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18753 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18754 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18755 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18756
c0c83bc8
DM
18757 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18758 fzeros/fnegs to load 0x80000000 into a float register instead of
18759 using the stack.
7bd951ff
DM
18760 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18761
bd951ccb
JM
187622012-03-14 Joseph Myers <joseph@codesourcery.com>
18763
18764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18765 bits/syscall.h.
18766 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18767 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18768 ($(inst_includedir)/bits/syscall.h): Remove rule.
18769 ($(objpfx)bits/syscall.d): Include instead of
18770 $(objpfx)syscall-list.d.
18771 (generated): Change syscall-list.h and syscall-list.d to
18772 bits/syscall.h and bits/syscall.d.
18773
bb4e6db2
RM
187742012-03-14 Roland McGrath <roland@hack.frob.com>
18775
18776 [BZ #13846]
18777 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18778
aa4a2ae1
JM
187792012-03-14 Joseph Myers <joseph@codesourcery.com>
18780
e456826d
JM
18781 [BZ #13841]
18782 * math/s_csqrt.c: Include <float.h>.
18783 (__csqrt): Scale large or subnormal inputs.
18784 * math/s_csqrtf.c: Likewise.
18785 * math/s_csqrtl.c: Likewise.
18786 * math/libm-test.inc (csqrt_test): Add more tests.
18787 * sysdeps/i386/fpu/libm-test-ulps: Update.
18788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18789
aa4a2ae1
JM
18790 [BZ #13840]
18791 * math/libm-test.inc (hypot_test): Add more tests.
18792
7c10fd35
DM
187932012-03-13 David S. Miller <davem@davemloft.net>
18794
18795 [BZ #13840]
18796 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18797 double-precision for the calculation instead of scaling.
18798
f453b98b
JM
187992012-03-13 Joseph Myers <joseph@codesourcery.com>
18800
18801 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18802 manipulate bits before adding and subtracting TWO52[sx].
18803 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18804 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18805 Likewise.
18806 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18807
09a3453f
DM
188082012-03-13 David S. Miller <davem@davemloft.net>
18809
8e59da90
DM
18810 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18811 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18812 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18813 rtld-global-offsets.h
18814 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18815
2a8ab7f2
DM
18816 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18817 large parameters.
18818
10f62770
DM
18819 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18820
5f0bdb18
DM
18821 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18822 'err' in the ifdef scope in which it is actually used.
18823
09a3453f
DM
18824 * nss/nss_db/db-init.c: Include string.h
18825
b4b2eb5e
DM
188262012-03-12 David S. Miller <davem@davemloft.net>
18827
98bb2f1c
DM
18828 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18829 masking out of the most significant byte of random value used.
18830 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18831 Fix coding style in previous change.
18832
b4b2eb5e
DM
18833 * sysdeps/unix/sysv/linux/kernel-features.h
18834 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18835 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18836 expression.
18837 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18838 later.
18839
6e226b09
DM
188402012-03-11 David S. Miller <davem@davemloft.net>
18841
a1bcbd40
DM
18842 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18843 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18844 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18845 for 'resultvar' otherwise things get truncated on 64-bit.
18846
cb9d6174
DM
18847 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18848 Fix masking out of the most significant byte of random value used.
18849
6e226b09
DM
18850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18851
058c132d
AS
188522012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18853
18854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18855
2d2cd515
DM
188562012-03-09 David S. Miller <davem@davemloft.net>
18857
18858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18859 variables with appropriate CPP guards.
18860 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18861 frame pointer, not the stack pointer. Correct layout comments. Fix test
18862 on resulting framesize and the management of the outregs buffer for pltexit.
18863 Preserve floating point return values across _dl_call_pltexit call.
18864 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18865 framesize and the management of the outregs buffer for pltexit.
18866 Preserve floating point return values across _dl_call_pltexit
18867 call.
18868 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18869 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18870 (print_exit): Fix format string for return register value.
18871
9a07f9d0
JM
188722012-03-10 Joseph Myers <joseph@codesourcery.com>
18873
18874 * sunrpc/Makefile (others): Add rpcgen.
18875 ($(objpfx)rpcgen): Remove special build rule and dependency on
18876 libc.
18877 * sunrpc/rpcgen.c: New file.
18878
547b5e30
PE
188792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18880
c524201a
PE
18881 [BZ #13673]
18882 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18883 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18884 * sysdeps/i386/crti.S: Likewise.
18885 * sysdeps/i386/crtn.S: Likewise.
18886 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18887 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18888 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18889 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18890 * sysdeps/sh/crti.S: Likewise.
18891 * sysdeps/sh/crtn.S: Likewise.
18892 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18893
7b6235f2
PE
18894 [BZ #13673]
18895 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18896 with URL.
18897 * locale/programs/locfile-kw.gperf: Likewise.
18898 * locale/programs/charmap-kw.h: Regenerated.
18899 * locale/programs/locfile-kw.h: Likewise.
18900
547b5e30
PE
18901 [BZ #13673]
18902 * intl/plural.y: Replace FSF snail mail address with URL.
18903 * intl/plural.c: Regenerated.
18904
5f0a5dae
RH
189052012-03-09 Richard Henderson <rth@twiddle.net>
18906
18907 * include/math_private.h: Remove file.
18908 * math/math_private.h: Move file ...
18909 * sysdeps/generic/math_private.h: ... here.
18910
b8c03620
RH
18911 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18912 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18913 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18914
4e234f5d 18915 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18916 and <math_private.h>.
18917 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18918 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18919 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18920 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18921 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18922 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18923 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18925 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18926 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18928 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18929 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18930 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18931 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18932 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18933 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18934 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18935 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18936 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18938 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18939 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18941 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18942 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18943 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18944 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18946 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18947 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18948 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18949 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18950 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18951 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18952 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18953 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18954 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18955 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18956 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18957 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18958 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18959 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18960 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18961 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18962 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18963 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18964 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18965 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18966 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18967 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18968 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18969 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18970 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18971 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18972 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18973 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18977 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18979 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18980 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18981 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18988 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18989 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18990 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18991 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18992 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18993 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18994 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18997 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18998 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18999 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19000 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19001 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19003 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19004 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19005 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19006 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19007 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19008 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19010 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19011 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19012 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19013 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19014 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19015 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19016 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19017 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19018 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19019 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19020 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19021 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19022 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19023 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19024 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19025 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19026 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19027 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19028 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19029 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19030 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19031 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19032 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19033 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19034 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19035 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19036 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19037 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19038 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19039 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19040 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19041 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19042 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19043 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19044 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19045 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19046 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19047 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19048 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19049 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19050 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19051 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19052 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19053 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19054 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19055 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19056 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19057 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19058 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19059 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19060 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19061 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19062 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19063 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19064 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19065 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19066 * sysdeps/ieee754/k_standard.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19071 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19076 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19077 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19079 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19080 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19089 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19091 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19094 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19095 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19096 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19097 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19098 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19099 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19100 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19106 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19108 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19122 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19123 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19124 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19125 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19126 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19128 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19129 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19130 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19132 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19133 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19134 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19136 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19137 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19147 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19154 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19155 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19158 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19161 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19164 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19166 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19167 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19168 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19169 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19170 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19171 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19172 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19173 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19174 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19175 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19176 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19177 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19178 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19179 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19180 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19181 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19182 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19183 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19186 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19187 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19188 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19189 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19190 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19191 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19192 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19193 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19194 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19195 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19196 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19197 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19198 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19199 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19200 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19202 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19207 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19208 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19209 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19210 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19211 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19212 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19213 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19214 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19215 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19216 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19217 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19218 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19220 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19221 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19222 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19223 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19224 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19225 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19226 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19227 * sysdeps/ieee754/s_lib_version.c: Likewise.
19228 * sysdeps/ieee754/s_matherr.c: Likewise.
19229 * sysdeps/ieee754/s_signgam.c: Likewise.
19230 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19231 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19232 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19233 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19234 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19235 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19236 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19237 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19238 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19239 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19240 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19241 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19242 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19243 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19244 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19245 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19246 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19247 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19248 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19249 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19250 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19251
1991fa03
JM
192522012-03-09 Joseph Myers <joseph@codesourcery.com>
19253
19254 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19255 * sunrpc/rpc_main.c: Likewise.
19256 * sunrpc/rpc_svcout.c: Likewise.
19257
60d6f5a6
DM
192582012-03-09 David S. Miller <davem@davemloft.net>
19259
19260 * include/math_private.h: New file.
19261
4962050e
JM
192622012-03-09 Joseph Myers <joseph@codesourcery.com>
19263
02a6f887
JM
19264 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19265 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19266 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19267 from <bits/socket_type.h>.
19268 (enum __socket_type): Don't define here.
19269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19271 bits/socket_type.h.
19272
c6e013c1
JM
19273 [BZ #13566]
19274 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19275 checking __USE_GNU.
19276
4962050e
JM
19277 * Makerules ($(inst_includedir)/%.h): New rule.
19278 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19279 (install-others): Remove variable setting.
19280 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19281
38842f45
RH
192822012-03-08 Richard Henderson <rth@twiddle.net>
19283
67bb6da6
RH
19284 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19285 from macro to inline function; merge with the
19286 !__LIBC_INTERNAL_MATH_INLINES version.
19287 (__ieee754_sqrtf): Likewise.
19288
15194b4b
RH
19289 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19290 to inline function.
19291 (__rintf, __floor, __floorf): Likewise.
19292
64e21ede
RH
19293 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19294 macro to inline function.
19295 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19296
38842f45
RH
19297 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19298 not <math/math_private.h>.
19299
c64bf5fe
DM
193002012-03-08 David S. Miller <davem@davemloft.net>
19301
19302 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19303 copyright year.
19304 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19305
82d86f28
TS
193062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19307
19308 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19309 normalization.
19310 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19311 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19312
aea5d727
UD
193132012-03-08 Ulrich Drepper <drepper@gmail.com>
19314
19315 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19316 be defined individually, they must be defined as a block. Define
19317 S for printing a string instead of hidint the different by using a
19318 macro for adding the 'l'.
19319 * stdio-common/tst-fphex-wide.c: Adjust.
19320
70bca0a3
MP
193212012-03-07 Marek Polacek <polacek@redhat.com>
19322
19323 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19324
65b81130
MP
193252012-03-08 Marek Polacek <polacek@redhat.com>
19326
19327 [BZ #13806]
19328 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19329 * stdio-common/tst-fphex.c: Define a few macros to make the
19330 test reusable. Use them.
19331 * stdio-common/tst-fphex-wide.c: New file.
19332
07037eeb
JM
193332012-03-08 Joseph Myers <joseph@codesourcery.com>
19334
a7a93d50
JM
19335 [BZ #6911]
19336 * manual/macros.texi (gnusystems): New macro.
19337 (nongnusystems): Likewise.
19338 (gnulinuxhurdsystems): Likewise.
19339 (gnuhurdsystems): Likewise..
19340 (gnulinuxsystems): Likewise.
19341 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19342 variants of the GNU system, not "GNU system".
19343 * manual/conf.texi: Likewise.
19344 * manual/errno.texi: Likewise. Update example of errno macro
19345 expansion.
19346 * manual/filesys.texi: Likewise.
19347 (getumask): Document as specific to GNU/Hurd.
19348 * manual/install.texi: Likewise. Reword some references to
19349 GNU/Linux.
19350 * manual/intro.texi: Likewise.
19351 * manual/io.texi: Likewise.
19352 (File Name Portability): Detail which constraints are inapplicable
19353 to all GNU systems and which are only inapplicable to GNU/Hurd.
19354 * manual/job.texi: Likewise.
19355 * manual/llio.texi: Likewise.
19356 (O_NOCTTY): Document as present on GNU/Linux.
19357 * manual/maint.texi: Likewise.
19358 * manual/memory.texi: Likewise.
19359 * manual/pattern.texi: Likewise.
19360 * manual/pipe.texi: Likewise.
19361 * manual/process.texi: Likewise.
19362 * manual/resource.texi: Likewise.
19363 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19364 child on GNU/Hurd.
19365 * manual/setjmp.texi: Likewise.
19366 * manual/signal.texi: Likewise.
19367 * manual/startup.texi: Likewise.
19368 * manual/stdio.texi: Likewise.
19369 * manual/terminal.texi: Likewise.
19370 (ONLCR): Document as POSIX.
19371 (OXTABS): Document availability on GNU/Linux as XTABS.
19372 (ONOEOT): Document availability separately from other bits.
19373 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19374 * manual/time.texi: Likewise.
19375 * manual/users.texi: Likewise.
19376 * INSTALL: Regenerated.
19377 * sysdeps/gnu/errlist.c: Regenerated.
19378
07037eeb
JM
19379 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19380 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19381 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19382 puts.
19383 * configure: Regenerated.
19384
d1d3431a
JM
193852012-03-07 Joseph Myers <joseph@codesourcery.com>
19386
af6a1e37
JM
19387 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19388 default includes instead of AC_HEADER_CHECK.
19389 * sysdeps/i386/configure: Regenerated.
19390
d1d3431a
JM
19391 [BZ #10716]
19392 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19393 * math/s_cacoshf.c (__cacoshf): Likewise.
19394 * math/s_cacoshl.c (__cacoshl): Likewise.
19395 * math/s_casinh.c (__casinh): Set signs of result from argument.
19396 * math/s_casinhf.c (__casinhf): Likewise.
19397 * math/s_casinhl.c (__casinhl): Likewise.
19398 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19399 (casinh_test): Add more tests.
19400 * sysdeps/i386/fpu/libm-test-ulps: Update.
19401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19402
482ff4da
UD
194032012-03-07 Ulrich Drepper <drepper@gmail.com>
19404
872fda05
UD
19405 * po/zh_TW.po: Update from translation team.
19406
a4300c7a
UD
19407 * login/Makefile (distribute): Remove variable.
19408 * catgets/Makefile: Likewise.
19409 * mach/Makefile: Likewise.
19410 * malloc/Makefile: Likewise.
19411 * misc/Makefile: Likewise.
19412 * iconv/Makefile: Likewise.
19413 * nscd/Makefile: Likewise.
19414 * hurd/Makefile: Likewise.
19415 * manual/Makefile: Likewise.
19416 * locale/Makefile: Likewise.
19417 * intl/Makefile: Likewise.
19418 * conform/Makefile: Likewise.
19419 * nss/Makefile: Likewise.
19420 * time/Makefile: Likewise.
19421 * soft-fp/Makefile: Likewise.
19422 * dirent/Makefile: Likewise.
19423 * gmon/Makefile: Likewise.
19424 * po/Makefile: Likewise.
19425 * rt/Makefile: Likewise.
19426 * socket/Makefile: Likewise.
19427 * math/Makefile: Likewise.
19428 * signal/Makefile: Likewise.
19429 * debug/Makefile: Likewise.
19430 * elf/Makefile: Likewise.
19431 * timezone/Makefile: Likewise.
19432 * stdlib/Makefile: Likewise.
19433 * iconvdata/Makefile: Likewise.
19434 * sunrpc/Makefile: Likewise.
19435 * io/Makefile: Likewise.
19436 * argp/Makefile: Likewise.
19437 * inet/Makefile: Likewise.
19438 * hesiod/Makefile: Likewise.
19439 * grp/Makefile: Likewise.
19440 * csu/Makefile: Likewise.
19441 * wctype/Makefile: Likewise.
19442 * crypt/Makefile: Likewise.
19443 * libio/Makefile: Likewise.
19444 * string/Makefile: Likewise.
19445 * nis/Makefile: Likewise.
19446 * resolv/Makefile: Likewise.
19447 * stdio-common/Makefile: Likewise.
19448 * wcsmbs/Makefile: Likewise.
19449 * dlfcn/Makefile: Likewise.
19450 * posix/Makefile: Likewise.
19451
3b7c4e74 19452 [BZ #6959]
482ff4da
UD
19453 * timezone/Makefile: Don't install timezone files, just the programs
19454 and scripts.
19455
f72ed77d
UD
194562012-03-06 Ulrich Drepper <drepper@gmail.com>
19457
a000466f
UD
19458 * nss/databases.def: Add missing gshadow entry.
19459
f72ed77d
UD
19460 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19461
a53b7a4e
MP
194622012-03-06 Marek Polacek <polacek@redhat.com>
19463
19464 [BZ #13726]
19465 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19466 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19467 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19468 * stdio-common/tst-long-dbl-fphex.c: New file.
19469
e9258400
DM
194702012-03-06 David S. Miller <davem@davemloft.net>
19471
19472 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19473 (set_obp_int): New function.
19474 (get_obp_int): New function.
19475 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19476 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19477 Avoid unused variable warnings on 'val' and use builtin_expect.
19478 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19479 __builtin_expect.
e9258400
DM
19480 (INLINE_CLONE_SYSCALL): Likewise.
19481
3bd2c723
DM
194822012-03-05 David S. Miller <davem@davemloft.net>
19483
19484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19485
bbb78d03
AS
194862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19487
884c5db4
AS
19488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19489
bbb78d03
AS
19490 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19491 only for |x| >= 40.
19492 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19493
1c9f702a 194942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19495
19496 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19497 Replace gettimeofday with __vdso_gettimeofday.
19498
7be16f82
RM
19499 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19500 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19501 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19502
19503 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19504 time with __vdso_time.
19505
ed58a00f
JM
195062012-03-05 Joseph Myers <joseph@codesourcery.com>
19507
19508 * manual/lang.texi (size_t): Note types to which size_t may be
19509 equivalent with the GNU C Library, but do not describe when
19510 differences between them are significant.
19511
30ee4ced
AJ
195122012-03-05 Andreas Jaeger <aj@suse.de>
19513
19514 * sysdeps/i386/fpu/libm-test-ulps: Update.
19515
b7cd39e8
JM
195162012-03-05 Joseph Myers <joseph@codesourcery.com>
19517
19518 [BZ #3976]
19519 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19520 (__ieee754_pow): Save and restore rounding mode and use
19521 round-to-nearest for main computations.
19522 * math/libm-test.inc (pow_test_tonearest): New function.
19523 (pow_test_towardzero): Likewise.
19524 (pow_test_downward): Likewise.
19525 (pow_test_upward): Likewise.
19526 (main): Call the new functions.
19527 * sysdeps/i386/fpu/libm-test-ulps: Update.
19528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19529
19530 [BZ #3976]
19531 * math/libm-test.inc (cosh_test_tonearest): New function.
19532 (cosh_test_towardzero): Likewise.
19533 (cosh_test_downward): Likewise.
19534 (cosh_test_upward): Likewise.
19535 (sinh_test_tonearest): Likewise.
19536 (sinh_test_towardzero): Likewise.
19537 (sinh_test_downward): Likewise.
19538 (sinh_test_upward): Likewise.
19539 (main): Call the new functions.
19540 * sysdeps/i386/fpu/libm-test-ulps: Update.
19541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19542
6c6a98c9
TV
195432012-03-05 Tom de Vries <tom@codesourcery.com>
19544
19545 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19546 default stack guard is set in last bytes.
19547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19548
21bb2d2e 195492012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19550
21bb2d2e 19551 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19552
21bb2d2e
AJ
19553 [BZ #13656]
19554 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19555 possibly allocate from heap instead of stack.
19556 * stdio-common/bug-vfprintf-nargs.c: New file.
19557 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19558
c6922934
AS
195592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19560
19561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19562
bc957d53
MP
195632012-03-03 Marek Polacek <polacek@redhat.com>
19564
19565 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19566 * math/math_private.h: Likewise.
19567 * stdlib/tst-strtod.c: Likewise.
19568 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19569 * sysdeps/x86_64/bits/atomic.h: Likewise.
19570
6358490d
DM
195712012-03-02 David S. Miller <davem@davemloft.net>
19572
19573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19577 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19578 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19579 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19580 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19581
01ae168d
RM
195822012-03-02 Roland McGrath <roland@hack.frob.com>
19583
d9a17c07
RM
19584 [BZ #13792]
19585 * manual/examples/README: New file, says the example source files
19586 can be used under GPL>=2.
19587 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19588 line containing just "*/".
19589 * manual/examples/add.c: Add copyright header (GPL>=2).
19590 * manual/examples/argp-ex1.c: Likewise.
19591 * manual/examples/argp-ex2.c: Likewise.
19592 * manual/examples/argp-ex3.c: Likewise.
19593 * manual/examples/argp-ex4.c: Likewise.
19594 * manual/examples/atexit.c: Likewise.
19595 * manual/examples/db.c: Likewise.
19596 * manual/examples/dir.c: Likewise.
19597 * manual/examples/dir2.c: Likewise.
19598 * manual/examples/execinfo.c: Likewise.
19599 * manual/examples/filecli.c: Likewise.
19600 * manual/examples/filesrv.c: Likewise.
19601 * manual/examples/fmtmsgexpl.c: Likewise.
19602 * manual/examples/genpass.c: Likewise.
19603 * manual/examples/inetcli.c: Likewise.
19604 * manual/examples/inetsrv.c: Likewise.
19605 * manual/examples/isockad.c: Likewise.
19606 * manual/examples/longopt.c: Likewise.
19607 * manual/examples/memopen.c: Likewise.
19608 * manual/examples/memstrm.c: Likewise.
19609 * manual/examples/mkfsock.c: Likewise.
19610 * manual/examples/mkisock.c: Likewise.
19611 * manual/examples/mygetpass.c: Likewise.
19612 * manual/examples/pipe.c: Likewise.
19613 * manual/examples/popen.c: Likewise.
19614 * manual/examples/rprintf.c: Likewise.
19615 * manual/examples/search.c: Likewise.
19616 * manual/examples/select.c: Likewise.
19617 * manual/examples/setjmp.c: Likewise.
19618 * manual/examples/sigh1.c: Likewise.
19619 * manual/examples/sigusr.c: Likewise.
19620 * manual/examples/stpcpy.c: Likewise.
19621 * manual/examples/strdupa.c: Likewise.
19622 * manual/examples/strftim.c: Likewise.
19623 * manual/examples/strncat.c: Likewise.
19624 * manual/examples/subopt.c: Likewise.
19625 * manual/examples/swapcontext.c: Likewise.
19626 * manual/examples/termios.c: Likewise.
19627 * manual/examples/testopt.c: Likewise.
19628 * manual/examples/testpass.c: Likewise.
19629 * manual/examples/timeval_subtract.c: Likewise.
19630
01ae168d
RM
19631 [BZ #13792]
19632 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19633 function to ...
19634 * manual/timeval_subtract.c.texi: ... here, new file.
19635
49efa33d
DM
196362012-03-02 David S. Miller <davem@davemloft.net>
19637
19638 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19639
28afd92d
JM
196402012-03-02 Joseph Myers <joseph@codesourcery.com>
19641
804360ed
JM
19642 [BZ #3976]
19643 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19644 (__sin): Save and restore rounding mode and use round-to-nearest
19645 for all computations.
19646 (__cos): Save and restore rounding mode and use round-to-nearest
19647 for all computations.
19648 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19649 <fenv.h>.
19650 (tan): Save and restore rounding mode and use round-to-nearest for
19651 all computations.
19652 * math/libm-test.inc (cos_test_tonearest): New function.
19653 (cos_test_towardzero): Likewise.
19654 (cos_test_downward): Likewise.
19655 (cos_test_upward): Likewise.
19656 (sin_test_tonearest): Likewise.
19657 (sin_test_towardzero): Likewise.
19658 (sin_test_downward): Likewise.
19659 (sin_test_upward): Likewise.
19660 (tan_test_tonearest): Likewise.
19661 (tan_test_towardzero): Likewise.
19662 (tan_test_downward): Likewise.
19663 (tan_test_upward): Likewise.
19664 (main): Call the new functions.
19665 * sysdeps/i386/fpu/libm-test-ulps: Update.
19666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19667
a6d06d7b
JM
19668 [BZ #10135]
19669 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19670 small n, then large n, before computing and testing k+n.
19671 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19672 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19673 Likewise.
19674 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19675 Likewise.
19676 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19677 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19678 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19679 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19680 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19681 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19682 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19683 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19684 * math/libm-test.inc (scalbn_test): Add more tests.
19685 (scalbln_test): Likewise.
19686
07e12bb3
JM
19687 * manual/filesys.texi (mode_t): Describe constraints on size and
19688 signedness, not exact equivalence to a particular type.
19689 (ino_t): Likewise.
19690 (ino64_t): Likewise.
19691 (dev_t): Likewise.
19692 (nlink_t): Likewise.
19693 (blkcnt_t): Likewise.
19694 (blkcnt64_t): Likewise.
19695 * manual/llio.texi (off_t): Likewise.
19696
28afd92d
JM
19697 [BZ #3976]
19698 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19699 (__ieee754_exp): Save and restore rounding mode and use
19700 round-to-nearest for all computations.
19701 * math/libm-test.inc (exp_test_tonearest): New function.
19702 (exp_test_towardzero): Likewise.
19703 (exp_test_downward): Likewise.
19704 (exp_test_upward): Likewise.
19705 (main): Call the new functions.
19706 * sysdeps/i386/fpu/libm-test-ulps: Update.
19707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19708
b1eeb65d
CD
197092012-03-01 Chris Demetriou <cgd@google.com>
19710
19711 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19712 have predictable order.
19713
53362a4b
DM
197142012-03-01 David S. Miller <davem@davemloft.net>
19715
3c969083
DM
19716 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19717
759707de
DM
19718 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19719 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19720 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19721 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19722
dfdb8ff2
DM
19723 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19724 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19725 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19727 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19728 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19729 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19730 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19731 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19732
ead89f96
DM
19733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19734
7f66bd07
DM
19735 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19736 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19737 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19738
53362a4b
DM
19739 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19740 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19741 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19742 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19743 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19745 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19746 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19747 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19748 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19749 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19750 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19751 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19752 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19753 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19755 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19756 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19757 * sysdeps/sparc/elf/configure: Regenerated.
19758
7b1902cb
JM
197592012-03-01 Joseph Myers <joseph@codesourcery.com>
19760
bec039bc
JM
19761 * configure.in (AS, LD): Require binutils 2.20 or later.
19762 * configure: Regenerated.
19763 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19764 as required minimum version.
19765 * INSTALL: Regenerated.
19766
7b1902cb
JM
19767 [BZ #2541]
19768 [BZ #4108]
19769 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19770 before squaring exponent.
19771 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19772 bottom long double and 27 bits of top long double before squaring
19773 exponent.
19774 * math/libm-test.inc (erfc_test): Add more tests.
19775 * sysdeps/i386/fpu/libm-test-ulps: Update.
19776 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19778
f775c276
KT
197792012-03-01 Kai Tietz <ktietz@redhat.com>
19780
19781 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19782 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19783 containing bit-fields.
19784 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19785 * soft-fp/single.h (_FP_UNION_S): Likewise.
19786 * soft-fp/double.h (_FP_UNION_D): Likewise.
19787
5b8a4d4a
JM
197882012-02-29 Joseph Myers <joseph@codesourcery.com>
19789
0bab47b6
JM
19790 [BZ #13786]
19791 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19792 not include ../strcmp.S.
19793 [USE_AS_STRNCASECMP_L]: Likewise.
19794 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19795 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19796 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19797 (__strncasecmp_l_ia32): Define as alias to
19798 __strncasecmp_l_nonascii.
19799
0fcad3e2
JM
19800 [BZ #5794]
19801 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19802 * sysdeps/i386/fpu/libm-test-ulps: Update.
19803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19804
5b8a4d4a
JM
19805 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19807
8fdceb2e
JL
198082012-02-29 Jeff Law <law@redhat.com>
19809
19810 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19811 out of bounds read.
19812
1f393a11
MP
198132012-02-29 Marek Polacek <polacek@redhat.com>
19814
19815 [BZ #13706]
19816 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19817 * elf/Makefile: Add rules to run tst-unused-dep.out.
19818
8847f037
DM
198192012-02-28 David S. Miller <davem@davemloft.net>
19820
19821 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19822 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19823 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19824 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19825 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19826 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19827
169d7f11
JM
198282012-02-29 Joseph Myers <joseph@codesourcery.com>
19829
19830 * math/libm-test.inc (llround_test): Move one test from
19831 lround_test. Use TEST_f_L in moved test.
19832 (lround_test): Move misplaced test to llround_test. Add testcase
19833 from bug 2561.
19834
39adf059
UD
198352012-02-28 Ulrich Drepper <drepper@gmail.com>
19836
19837 * sysdeps/x86_64/fpu/e_expf.S: New file.
19838 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19839
71b5d1c5
SB
198402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19841
19842 [BZ #13637]
19843 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19844 of remain_len that may cause incomplete multi-byte character and
19845 false match.
19846 * posix/bug-regex33.c: New file.
19847 * posix/Makefile (tests): Add bug-regex33.
19848
1f77f049
JM
198492012-02-28 Joseph Myers <joseph@codesourcery.com>
19850
19851 * manual/macros.texi: New file.
19852 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19853 * manual/libc.texinfo: Include macros.texi.
19854 * manual/creatute.texi: Likewise.
19855 * manual/install.texi: Likewise.
19856 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19857 @glibcadj{} in references to the GNU C Library.
19858 * manual/charset.texi: Likewise.
19859 * manual/conf.texi: Likewise.
19860 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19861 when not using those macros.
19862 * manual/creature.texi: Likewise.
19863 * manual/crypt.texi: Likewise.
19864 * manual/errno.texi: Likewise.
19865 * manual/filesys.texi: Likewise.
19866 * manual/header.texi: Likewise.
19867 * manual/install.texi: Likewise.
19868 * manual/intro.texi: Likewise.
19869 * manual/io.texi: Likewise.
19870 * manual/job.texi: Likewise.
19871 * manual/lang.texi: Likewise.
19872 * manual/libc.texiinfo: Likewise.
19873 * manual/llio.texi: Likewise.
19874 * manual/locale.texi: Likewise.
19875 * manual/maint.texi: Likewise.
19876 * manual/math.texi: Likewise.
19877 * manual/memory.texi: Likewise.
19878 * manual/message.texi: Likewise.
19879 * manual/nss.texi: Likewise.
19880 * manual/pattern.texi: Likewise.
19881 * manual/process.texi: Likewise.
19882 * manual/resource.texi: Likewise.
19883 * manual/search.texi: Likewise.
19884 * manual/setjmp.texi: Likewise.
19885 * manual/signal.texi: Likewise.
19886 * manual/socket.texi: Likewise.
19887 * manual/startup.texi: Likewise.
19888 * manual/stdio.texi: Likewise.
19889 * manual/string.texi: Likewise.
19890 * manual/sysinfo.texi: Likewise.
19891 * manual/syslog.texi: Likewise.
19892 * manual/terminal.texi: Likewise.
19893 * manual/time.texi: Likewise.
19894 * manual/users.texi: Likewise.
19895 * INSTALL: Regenerated.
19896 * NOTES: Regenerated.
d40c5d54 19897 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19898
450bf206
AS
198992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19900
19901 * include/dirent.h: Include <dirstream.h> before
19902 <dirent/dirent.h>.
19903
741a235b
DM
199042012-02-28 David S. Miller <davem@davemloft.net>
19905
19906 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19907 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19908 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19909 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19910
d6b5aa58
DM
199112012-02-27 David S. Miller <davem@davemloft.net>
19912
1aff59a3
DM
19913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19915 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19916 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19917
d6b5aa58
DM
19918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19919 frame pointer instead of stack pointer relative arg slot.
19920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19921 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19922 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19923
433f48bf
CD
199242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19925
19926 [BZ #3992]
19927 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19928
d674b76d
DM
199292012-02-27 David S. Miller <davem@davemloft.net>
19930
19931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19935 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19936 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19937 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19938 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19939
0e7727f7
JM
199402012-02-27 Joseph Myers <joseph@codesourcery.com>
19941
19942 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19943 later. Allow versions 5-9.
43be4ca2 19944 * configure: Regenerated.
0e7727f7
JM
19945 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19946 required minimum version and 4.6 as recommended version. Do not
19947 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19948 * INSTALL: Regenerated.
0e7727f7 19949
a78bc654
DM
199502012-02-27 David S. Miller <davem@davemloft.net>
19951
428d5830
DM
19952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19956 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19957 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19958 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19959 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19960
a78bc654
DM
19961 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19962 manipulate bits before adding and subtracting TWO112[sx].
19963 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19964
4579f81c
RM
199652012-02-27 Roland McGrath <roland@hack.frob.com>
19966
36c8acb4
RM
19967 [BZ #13775]
19968 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19969 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19970 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19971 being in POSIX, because they are in 1003.1-2008.
19972
84ad622b
RM
19973 * rt/tst-aio.c: Include <fcntl.h>.
19974 * rt/tst-aio7.c: Likewise.
19975 * rt/tst-aio64.c: Likewise.
19976
4579f81c
RM
19977 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19978
abd923db
JM
199792012-02-27 Joseph Myers <joseph@codesourcery.com>
19980
19981 * manual/install.texi (--with-headers): Describe headers as
19982 interface headers, not private headers.
19983 (Specific advice for GNU/Linux systems): Describe use of headers
19984 from "make headers_install", not private headers from older
19985 kernels.
43be4ca2 19986 * INSTALL: Regenerated.
abd923db
JM
19987 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19988 Change to 2.6.19.
19989 * sysdeps/unix/sysv/linux/configure: Regenerated.
19990
6664049b
JM
19991 * manual/llio.texi (fclean): Remove documentation.
19992
bb8b6697
JM
19993 * manual/Makefile (libc-texi-generated): New variable. Include
19994 version.texi.
19995 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19996 $(libc-texi-generated), not duplicated list of files.
19997 (version.texi, stamp-version): New rules.
19998 (realclean): Remove $(libc-texi-generated), not individual files
19999 from that list. Do not remove dir-add.texinfo.
20000 * manual/libc.texinfo: Comment out uses of edition numbers and
20001 references to printed manual. Remove last-updated dates.
20002 (EDITION): Comment out.
20003 (ISBN): Likewise.
20004 (VERSION, UPDATED): Remove.
20005 (version.texi): Include.
20006
12e5c3b9
AS
200072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20008
20009 * sysdeps/posix/spawni.c: Include <signal.h>.
20010 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20011 * sysdeps/pthread/aio_fsync.c: Likewise.
20012
4efeffc1 200132012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20014
ba63ba08
UD
20015 * conform/Makefile (tests): Run only when not cross-compiling and
20016 when fast-check is not defined.
20017
d94a4670
UD
20018 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20019 * conform/data/limits.h-data: Fixes for POSIX2008.
20020 * conform/run-conformtest.sh: Run all tests.
20021 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20022 headers.
20023 * include/bits/dlfcn.h: Likewise.
20024 * include/langinfo.h: Likewise.
20025 * include/monetary.h: Likewise.
20026 * include/sys/poll.h: Likewise.
20027
20028 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20029 for __USE_GNU.
20030 * posix/spawn.h: Define __need_sigset_t.
20031 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20032 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20033 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20034 to get sigevent_t only.
20035 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20036 only for __USE_GNU.
20037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20038 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20039 process_vm_writev only for __USE_GNU.
20040 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20041
20042 * conform/Makefile: For now ignore errors from run-conformtest.
20043 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20044 POSIX to avoid namespace pollution. Don't prepend headers.
20045 * conform/data/aio.h-data: Fixes for POSIX testing.
20046 * conform/data/fcntl.h-data: Likewise.
20047 * conform/data/glob.h-data: Likewise.
20048 * conform/data/grp.h-data: Likewise.
20049 * conform/data/pthread.h-data: Likewise.
20050 * conform/data/pwd.h-data: Likewise.
20051 * conform/data/signal.h-data: Likewise.
20052 * conform/data/spawn.h-data: Likewise.
20053 * conform/data/stdio.h-data: Likewise.
20054 * conform/data/stdlib.h-data: Likewise.
20055 * conform/data/stropts.h-data: Likewise.
20056 * conform/data/sys/mman.h-data: Likewise.
20057 * conform/data/sys/stat.h-data: Likewise.
20058 * conform/data/sys/types.h-data: Likewise.
20059 * conform/data/sys/wait.h-data: Likewise.
20060 * conform/data/time.h-data: Likewise.
20061 * conform/data/unistd.h-data: Likewise.
20062 * conform/data/utime.h-data: Likewise.
20063
20064 * io/sys/stat.h: fchmod was always in POSIX.
20065 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20066 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20067 * rt/aio.h: Define __need_timespec before including <time.h>.
20068 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20069 struct. Add forward declaration of pthread_attr_t and use it in
20070 sigevent.
20071 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20072 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20073 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20074 always remove CLK_TCK definition.
20075
c20105c3
AS
200762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20077
20078 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20079
7a270350
UD
200802012-02-25 Ulrich Drepper <drepper@gmail.com>
20081
31341567
UD
20082 * conform/run-conformtest.sh: New file.
20083 * conform/Makefile: Run run-conformtest for tests.
20084 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20085 support.
20086
20087 * conform/data/uchar.h-data: New file.
20088 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20089 * conform/data/arpa/inet.h-data: Likewise.
20090 * conform/data/assert.h-data: Likewise.
20091 * conform/data/complex.h-data: Likewise.
20092 * conform/data/cpio.h-data: Likewise.
20093 * conform/data/ctype.h-data: Likewise.
20094 * conform/data/dirent.h-data: Likewise.
20095 * conform/data/dlfcn.h-data: Likewise.
20096 * conform/data/errno.h-data: Likewise.
20097 * conform/data/fcntl.h-data: Likewise.
20098 * conform/data/float.h-data: Likewise.
20099 * conform/data/fmtmsg.h-data: Likewise.
20100 * conform/data/fnmatch.h-data: Likewise.
20101 * conform/data/ftw.h-data: Likewise.
20102 * conform/data/glob.h-data: Likewise.
20103 * conform/data/grp.h-data: Likewise.
20104 * conform/data/iconv.h-data: Likewise.
20105 * conform/data/inttypes.h-data: Likewise.
20106 * conform/data/langinfo.h-data: Likewise.
20107 * conform/data/libgen.h-data: Likewise.
20108 * conform/data/limits.h-data: Likewise.
20109 * conform/data/locale.h-data: Likewise.
20110 * conform/data/math.h-data: Likewise.
20111 * conform/data/monetary.h-data: Likewise.
20112 * conform/data/mqueue.h-data: Likewise.
20113 * conform/data/ndbm.h-data: Likewise.
20114 * conform/data/net/if.h-data: Likewise.
20115 * conform/data/netdb.h-data: Likewise.
20116 * conform/data/netinet/in.h-data: Likewise.
20117 * conform/data/nl_types.h-data: Likewise.
20118 * conform/data/poll.h-data: Likewise.
20119 * conform/data/pthread.h-data: Likewise.
20120 * conform/data/pwd.h-data: Likewise.
20121 * conform/data/regex.h-data: Likewise.
20122 * conform/data/sched.h-data: Likewise.
20123 * conform/data/search.h-data: Likewise.
20124 * conform/data/semaphore.h-data: Likewise.
20125 * conform/data/setjmp.h-data: Likewise.
20126 * conform/data/signal.h-data: Likewise.
20127 * conform/data/spawn.h-data: Likewise.
20128 * conform/data/stdarg.h-data: Likewise.
20129 * conform/data/stdio.h-data: Likewise.
20130 * conform/data/stdlib.h-data: Likewise.
20131 * conform/data/string.h-data: Likewise.
20132 * conform/data/strings.h-data: Likewise.
20133 * conform/data/stropts.h-data: Likewise.
20134 * conform/data/sys/ipc.h-data: Likewise.
20135 * conform/data/sys/mman.h-data: Likewise.
20136 * conform/data/sys/msg.h-data: Likewise.
20137 * conform/data/sys/resource.h-data: Likewise.
20138 * conform/data/sys/select.h-data: Likewise.
20139 * conform/data/sys/sem.h-data: Likewise.
20140 * conform/data/sys/shm.h-data: Likewise.
20141 * conform/data/sys/socket.h-data: Likewise.
20142 * conform/data/sys/stat.h-data: Likewise.
20143 * conform/data/sys/statvfs.h-data: Likewise.
20144 * conform/data/sys/time.h-data: Likewise.
20145 * conform/data/sys/timeb.h-data: Likewise.
20146 * conform/data/sys/times.h-data: Likewise.
20147 * conform/data/sys/types.h-data: Likewise.
20148 * conform/data/sys/uio.h-data: Likewise.
20149 * conform/data/sys/un.h-data: Likewise.
20150 * conform/data/sys/utsname.h-data: Likewise.
20151 * conform/data/sys/wait.h-data: Likewise.
20152 * conform/data/syslog.h-data: Likewise.
20153 * conform/data/tar.h-data: Likewise.
20154 * conform/data/termios.h-data: Likewise.
20155 * conform/data/utime.h-data: Likewise.
20156 * conform/data/utmpx.h-data: Likewise.
20157 * conform/data/varargs.h-data: Likewise.
20158 * conform/data/wchar.h-data: Likewise.
20159 * conform/data/wctype.h-data: Likewise.
20160 * conform/data/wordexp.h-data: Likewise.
20161
20162 * include/stropts.h: New file.
20163 * include/uchar.h: New file.
20164 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20165 * include/assert.h: Likewise.
20166 * include/ctype.h: Likewise.
20167 * include/dirent.h: Likewise.
20168 * include/dlfcn.h: Likewise.
20169 * include/fcntl.h: Likewise.
20170 * include/fnmatch.h: Likewise.
20171 * include/glob.h: Likewise.
20172 * include/grp.h: Likewise.
20173 * include/libio.h: Likewise.
20174 * include/locale.h: Likewise.
20175 * include/math.h: Likewise.
20176 * include/net/if.h: Likewise.
20177 * include/netdb.h: Likewise.
20178 * include/netinet/in.h: Likewise.
20179 * include/pthread.h: Likewise.
20180 * include/pwd.h: Likewise.
20181 * include/regex.h: Likewise.
20182 * include/sched.h: Likewise.
20183 * include/search.h: Likewise.
20184 * include/setjmp.h: Likewise.
20185 * include/signal.h: Likewise.
20186 * include/stdio.h: Likewise.
20187 * include/stdlib.h: Likewise.
20188 * include/string.h: Likewise.
20189 * include/sys/cdefs.h: Likewise.
20190 * include/sys/mman.h: Likewise.
20191 * include/sys/msg.h: Likewise.
20192 * include/sys/resource.h: Likewise.
20193 * include/sys/select.h: Likewise.
20194 * include/sys/socket.h: Likewise.
20195 * include/sys/stat.h: Likewise.
20196 * include/sys/statvfs.h: Likewise.
20197 * include/sys/time.h: Likewise.
20198 * include/sys/times.h: Likewise.
20199 * include/sys/uio.h: Likewise.
20200 * include/sys/utsname.h: Likewise.
20201 * include/sys/wait.h: Likewise.
20202 * include/termios.h: Likewise.
20203 * include/time.h: Likewise.
20204 * include/ulimit.h: Likewise.
20205 * include/unistd.h: Likewise.
20206 * include/utime.h: Likewise.
20207 * include/wchar.h: Likewise.
20208 * include/wctype.h: Likewise.
20209 * include/wordexp.h: Likewise.
20210
20211 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20212
7a270350
UD
20213 * time/time.h: TIME_UTC must be a macro.
20214 Make timespec_get available for ISO C11 only as well.
20215
7724defc
UD
202162012-02-24 Ulrich Drepper <drepper@gmail.com>
20217
20218 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20219 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20220
6b1d1d46
JM
202212012-02-24 Joseph Myers <joseph@codesourcery.com>
20222
20223 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20224
0f8bbd69
JM
202252012-02-24 Joseph Myers <joseph@codesourcery.com>
20226
20227 * manual/texinfo.tex: Update to version 2012-01-19.16.
20228
66ab80bc
JM
202292012-02-24 Joseph Myers <joseph@codesourcery.com>
20230
20231 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20232
74981cc5
RM
202332012-02-24 Roland McGrath <roland@hack.frob.com>
20234
ee968201
RM
20235 [BZ #13738]
20236 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20237 * manual/fdl-1.3.texi: New file.
20238 * manual/fdl-1.1.texi: File removed.
20239
74981cc5
RM
20240 [BZ #13738]
20241 * manual/libc.texinfo (FDL_VERSION): New @set.
20242 Use it for mention of FDL in cover text.
20243 (Documentation License): Use it in @include file name.
20244
7bb764bc
JM
202452012-02-22 Joseph Myers <joseph@codesourcery.com>
20246 Roland McGrath <roland@hack.frob.com>
20247
20248 [BZ #5461]
20249 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20250 not LONG_LONG_MAX and LONG_LONG_MIN.
20251 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20252 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20253 name.
20254 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20255
6cbeae47
JM
202562012-02-22 Joseph Myers <joseph@codesourcery.com>
20257
20258 [BZ #2547]
20259 [BZ #11365]
20260 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20261 manipulate bits before adding and subtracting TWO23[sx].
20262 * math/libm-test.inc (nearbyint_test): Add more tests.
20263
fe45ce09
JM
202642012-02-22 Joseph Myers <joseph@codesourcery.com>
20265
20266 [BZ #2548]
20267 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20268 bits before adding and subtracting TWO23[sx].
20269 * math/libm-test.inc (rint_test): Add more tests.
20270 (rint_test_tonearest): Likewise.
20271 (rint_test_towardzero): Likewise.
20272 (rint_test_downward): Likewise.
20273 (rint_test_upward: Likewise.
20274
ff3b3d82
JM
202752012-02-22 Joseph Myers <joseph@codesourcery.com>
20276
20277 [BZ #10110]
20278 * include/stdc-predef.h: New file. Extracted from features.h.
20279 * include/features.h: Include stdc-predef.h.
20280 * Makefile (headers): Add stdc-predef.h.
20281 * CONFORMANCE (Compiler limitations): Update.
20282
ef0aab35
JM
202832012-02-22 Joseph Myers <joseph@codesourcery.com>
20284
20285 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20286
58639409
DM
202872012-02-21 David S. Miller <davem@davemloft.net>
20288
20289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20290 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20291
c0e70b25
DM
202922012-02-20 David S. Miller <davem@davemloft.net>
20293
20294 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20295 using a normal save/restore sequence, rather than allocating a
20296 dummy stack frame just to store a frame pointer and restore.
20297 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20298
fb06851d
JM
202992012-02-21 Joseph Myers <joseph@codesourcery.com>
20300
20301 * manual/install.texi: Fix stray word in line-wrapped comment.
20302
7a8b71c3
DM
203032012-02-20 David S. Miller <davem@davemloft.net>
20304
d510c123
DM
20305 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20306 both binutils and gcc support GOTDATA.
20307
0722d7c2
DM
20308 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20309 "rd %pc" in the PIC register setup sequences.
20310
3d2b3019
DM
20311 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20312 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20313 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20314 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20315 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20317 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20318 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20320 (SYSCALL_ERROR_HANDLER): Likewise.
20321 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20322 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20324 (SYSCALL_ERROR_HANDLER): Likewise.
20325
c80098a9
DM
20326 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20327 (HAVE_GCC_GOTDATA): New.
20328 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20329 relocation support in both binutils and gcc.
20330 * sysdeps/sparc/elf/configure: Regenerate.
20331
3a2545a0
DM
20332 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20333 * sysdeps/sparc/sparc32/elf/configure: Delete.
20334 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20335 * sysdeps/sparc/sparc64/elf/configure: Delete.
20336 * sysdeps/sparc/elf/configure.in: New file.
20337 * sysdeps/sparc/elf/configure: Generate.
20338
7a8b71c3
DM
20339 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20340 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20341 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20342 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20343 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20344
f1e86fca
JM
203452012-02-21 Joseph Myers <joseph@codesourcery.com>
20346
20347 * manual/install.texi: Do not mention specific glibc version
20348 numbers.
20349 * manual/libc.texinfo (VERSION, UPDATED): Update.
20350 (@copying): Use @copyright{} and range of years.
20351
0e7dfaef
JM
203522012-02-21 Joseph Myers <joseph@codesourcery.com>
20353
20354 [BZ #13695]
20355 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20356 [crti.S not in sysdirs] (generated): Do not append.
20357 [crti.S not in sysdirs] (omit-deps): Likewise.
20358 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20359 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20360 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20361 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20362 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20363 Likewise.
20364 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20365 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20366 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20367 * csu/defs.awk: Remove file.
20368 * sysdeps/generic/initfini.c: Likewise.
20369 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20370 variable.
20371 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20372 Likewise.
20373
599af3ca
JM
203742012-02-20 Joseph Myers <joseph@codesourcery.com>
20375
20376 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20377 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20378 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20379 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20380 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20381 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20382 <bits/epoll.h>.
20383 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20384 (__EPOLL_PACKED): Define to empty if not defined by
20385 <bits/epoll.h>.
20386 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20388 bits/epoll.h.
20389
0e499750
JM
203902012-02-20 Joseph Myers <joseph@codesourcery.com>
20391
20392 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20393 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20394 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20395 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20396 <bits/timerfd.h>.
20397 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20399 bits/timerfd.h.
20400
5ad91f6e
JM
204012012-02-20 Joseph Myers <joseph@codesourcery.com>
20402
20403 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20404 in C locale.
20405 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20406 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20407 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20409
06b99b02
AJ
204102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20411
20412 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20413 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20414
7638c0fd
AS
204152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20416
20417 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20418 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20419 defined.
20420 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20421 Likewise.
20422 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20423 entry for 2.16.
20424
92221550
AJ
204252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20426
20427 * math/w_acos.c: Use non-signaling floating-point comparisons.
20428 * math/w_acosf.c: Likewise.
20429 * math/w_acosh.c: Likewise.
20430 * math/w_acoshf.c: Likewise.
20431 * math/w_acoshl.c: Likewise.
20432 * math/w_acosl.c: Likewise.
20433 * math/w_asin.c: Likewise.
20434 * math/w_asinf.c: Likewise.
20435 * math/w_asinl.c: Likewise.
20436 * math/w_atanh.c: Likewise.
20437 * math/w_atanhf.c: Likewise.
20438 * math/w_atanhl.c: Likewise.
20439 * math/w_exp2.c: Likewise.
20440 * math/w_exp2f.c: Likewise.
20441 * math/w_exp2l.c: Likewise.
20442 * math/w_j0.c: Likewise.
20443 * math/w_j0f.c: Likewise.
20444 * math/w_j0l.c: Likewise.
20445 * math/w_j1.c: Likewise.
20446 * math/w_j1f.c: Likewise.
20447 * math/w_j1l.c: Likewise.
20448 * math/w_jn.c: Likewise.
20449 * math/w_jnf.c: Likewise.
20450 * math/w_log.c: Likewise.
20451 * math/w_log10.c: Likewise.
20452 * math/w_log10f.c: Likewise.
20453 * math/w_log10l.c: Likewise.
20454 * math/w_log2.c: Likewise.
20455 * math/w_log2f.c: Likewise.
20456 * math/w_log2l.c: Likewise.
20457 * math/w_logf.c: Likewise.
20458 * math/w_logl.c: Likewise.
20459 * math/w_sqrt.c: Likewise.
20460 * math/w_sqrtf.c: Likewise.
20461 * math/w_sqrtl.c: Likewise.
20462 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20463 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20464 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20465 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20466 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20467
ebaf36eb
JM
204682012-02-19 Joseph Myers <joseph@codesourcery.com>
20469
20470 [BZ #9739]
20471 * manual/string.texi (strnlen): Use correct parameter name in
20472 equivalent expression.
20473
71c254a6
JM
204742012-02-19 Joseph Myers <joseph@codesourcery.com>
20475
20476 [BZ #11174]
20477 * manual/users.texi (seteuid): Consistently use neweuid for
20478 argument name.
20479
16d2c631
JM
204802012-02-19 Joseph Myers <joseph@codesourcery.com>
20481
20482 [BZ #13704]
20483 * manual/nss.texi (Services in the NSS configuration): Correct
20484 list of services in example configuration file.
20485
cd837b09
NB
204862012-02-19 Nick Bowler <nbowler@draconx.ca>
20487
20488 [BZ #11322]
20489 * manual/arith.texi: Remove statements about negative zero
20490 behaving identically to zero.
20491
02c4bbad
JM
204922012-02-18 Joseph Myers <joseph@codesourcery.com>
20493
20494 [BZ #5993]
20495 * manual/install.texi: Do not document upgrading from libc5.
20496
366842e7
JM
204972012-02-18 Joseph Myers <joseph@codesourcery.com>
20498
20499 [BZ #4596]
20500 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20501
dd54084d
DM
205022012-02-18 David S. Miller <davem@davemloft.net>
20503
20504 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20505 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20506 %o7 across the call.
20507 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20508 instead.
20509 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20510 SETUP_PIC_REG_LEAF.
20511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20512 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20513 * sysdeps/sparc/crtn.S: Likewise.
20514
2bcc53a3
UD
205152012-02-17 Ulrich Drepper <drepper@gmail.com>
20516
20517 * aout/Makefile: Remove.
20518
09c093b5
RK
205192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20520
20521 [BZ #13058]
20522 * manual/examples/argp-ex1.c (main): Format definition in GNU
20523 style.
20524 * manual/examples/argp-ex2.c (main): Likewise.
20525 * manual/examples/argp-ex3.c (main): Likewise.
20526 * manual/examples/argp-ex4.c (main): Likewise.
20527 * manual/examples/longopt.c (main): Use new-style prototype
20528 definition.
20529 * manual/examples/strncat.c (main): Specify return type and use
20530 (void) for arguments.
20531 * manual/examples/subopt.c (main): Use char **argv argument.
20532
2ee633a2
JM
205332012-02-17 Joseph Myers <joseph@codesourcery.com>
20534
20535 [BZ #5077]
20536 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20537 rounding modes.
20538
0520adde
FB
205392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20540
20541 [BZ #6907]
20542 * manual/string.texi (strchr): Change when strchrnul is
20543 recommended.
20544
3f4081cd
DGM
205452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20546
20547 [BZ #174]
20548 * manual/locale.texi (setlocale): Document LOCPATH.
20549
d1b10e78
JM
205502012-02-17 Joseph Myers <joseph@codesourcery.com>
20551
20552 [BZ #10210]
20553 * manual/process.texi (execle): Move @dots{} before last argument.
20554
79c6869c
PB
205552012-02-17 Paul Bolle <pebolle@tiscali.nl>
20556
20557 [BZ #12047]
20558 * manual/charset.texi (Generic Charset Conversion): Fix typo
20559 (LC_TYPE -> LC_CTYPE).
20560
cc6e48bc
NB
205612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20562
20563 [BZ #5805]
20564 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20565 (scalbnf): Likewise.
20566 (scalbnl): Likewise.
20567 (scalbln): Likewise.
20568 (scalblnf): Likewise.
20569 (scalblnl): Likewise.
20570 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20571 (vwarnx): Likewise.
20572 (verr): Likewise.
20573 (verrx): Likewise.
20574 * manual/filesys.texi (telldir): Use braces around return type.
20575 * manual/llio.texi (mmap): Add space after comma.
20576 (mmap64): Likewise.
20577 * manual/math.texi (jn): Use @var{} on parameter names.
20578 (jnf): Likewise.
20579 (jnl): Likewise.
20580 (yn): Likewise.
20581 (ynf): Likewise.
20582 (ynl): Likewise.
20583 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20584 line.
20585 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20586 "...".
20587 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20588 (sched_get_priority_max): Likewise.
20589 * manual/signal.texi (sigvec): Add space after comma.
20590 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20591 names.
20592 (if_indextoname): Likewise.
20593 (if_freenameindex): Likewise.
20594 (sendto): Use ',' instead of '.' in prototype.
20595 * manual/startup.texi (syscall): Use @dots{} instead of literal
20596 "...".
20597 * manual/stdio.texi (__fpending): Separate initial words of
20598 paragraph from @deftypefun line.
20599 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20600 "...".
20601 (vsyslog): Use @var{} on parameter names.
20602 * manual/terminal.texi (stty): Use @var{} on parameter names.
20603 * manual/users.texi (getutmp): Use @var{} on parameter names.
20604 (getutmpx): Likewise.
20605
5b23062f
JM
206062012-02-17 Joseph Myers <joseph@codesourcery.com>
20607
20608 [BZ #6884]
20609 * manual/stdio.texi (fopen): Fix typos in description of
20610 ",ccs=STRING".
20611
8dee4833
AJ
206122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20613
20614 [BZ #4026]
20615 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20616 get clock_id definition.
20617
9078ce93
TS
206182012-02-17 Thomas Schwinge <thomas@schwinge.name>
20619
20620 [BZ #4822]
20621 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20622 (madvise): Cast every argument to void on its own.
20623
3835c55f
JM
206242012-02-17 Joseph Myers <joseph@codesourcery.com>
20625
20626 [BZ #9902]
20627 * manual/startup.texi (Exit Status): Fix typo.
20628
35c47e37
JM
206292012-02-17 Joseph Myers <joseph@codesourcery.com>
20630
20631 [BZ #10140]
20632 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20633 * manual/examples/argp-ex2.c: Likewise.
20634 * manual/examples/argp-ex3.c: Likewise.
20635
e3b69ca7
RH
206362012-02-16 Richard Henderson <rth@redhat.com>
20637
20638 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20639 * sysdeps/s390/s390-32/initfini.c: Remove.
20640 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20641 * sysdeps/s390/s390-64/initfini.c: Remove.
20642
df83af67
KK
206432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20644
20645 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20646 compiler output for sysdeps/generic/initfini.c.
20647 * sysdeps/sh/elf/initfini.c: Remove file.
20648
f63f3380
DM
206492012-02-16 David S. Miller <davem@davemloft.net>
20650
fb59b3a4
DM
20651 [BZ #11494]
20652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20653
f63f3380
DM
20654 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20655 * sysdeps/sparc/crti.S: New file.
20656 * sysdeps/sparc/crtn.S: New file.
20657 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20658 * sysdeps/sparc/sparc64/Makefile: Likewise.
20659
df6a4a4a
MF
206602012-02-15 Mike Frysinger <vapier@gentoo.org>
20661
6dd8f3dc 20662 [BZ #3335]
df6a4a4a
MF
20663 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20664
1cac7236
RM
206652012-02-15 Roland McGrath <roland@hack.frob.com>
20666
d2c736f8
RM
20667 [BZ #4822]
20668 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20669
1cac7236
RM
20670 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20671 (write, read, close): Likewise.
20672 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20673
8e475601
JM
206742012-02-15 Joseph Myers <joseph@codesourcery.com>
20675
20676 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20677 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20678 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20679 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20680 <bits/signalfd.h>.
20681 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20683 bits/signalfd.h.
20684
ed656b40
MP
206852012-02-14 Marek Polacek <polacek@redhat.com>
20686
20687 * sysdeps/x86_64/crti.S: New file.
20688 * sysdeps/x86_64/crtn.S: New file.
20689 * sysdeps/x86_64/elf/initfini.c: Remove file.
20690
2a979d3a
JM
206912012-02-13 Joseph Myers <joseph@codesourcery.com>
20692
20693 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20694 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20695 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20696 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20697 <bits/inotify.h>.
20698 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20700 bits/inotify.h.
20701
2a418ac3
JM
207022012-02-13 Joseph Myers <joseph@codesourcery.com>
20703
20704 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20705 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20706 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20707 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20708 <bits/eventfd.h>.
20709 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20710 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20711 bits/eventfd.h.
20712
fb779be7
TS
207132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20714
e19e83c5
RM
20715 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20716 __feraiseexcept instead of feraiseexcept.
7c35ffed 20717
fb779be7
TS
20718 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20719 nanosleep invocations.
20720 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20721 strings, and add error checking for a nanosleep invocations.
20722
59ba27a6
PE
207232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20724
20725 Replace FSF snail mail address with URLs, as per GNU coding standards.
20726 Most of the snail mail addresses were wrong anyway, and omitting
20727 them makes the source code easier to maintain. Almost all of the
20728 changes are to license notices and to locale LC_IDENTIFICATION
20729 addresses, except for this one:
20730 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20731 not its snail mail address.
20732
57b957eb
RH
207332012-02-09 Richard Henderson <rth@twiddle.net>
20734
af850b1c
RH
20735 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20736 of kernel-features.h.
20737
57b957eb
RH
20738 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20739
6b73181a
MP
207402012-02-08 Marek Polacek <polacek@redhat.com>
20741
20742 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20743 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20744 * sysdeps/gnu/_G_config.h: Likewise.
20745 * sysdeps/generic/_G_config.h: Likewise.
20746
26ecc33a
AS
207472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20748
6c6dbc63
AS
20749 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20750 tests.
20751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20752
e216c012
AS
20753 * sysdeps/powerpc/powerpc32/crti.S: New file.
20754 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20755 * sysdeps/powerpc/powerpc64/crti.S: New file.
20756 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20757
26ecc33a
AS
20758 * Makeconfig (have-initfini): Don't set.
20759 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20760 * configure.in (nopic_initfini): Don't substitute.
20761 * config.h.in (HAVE_INITFINI): Don't #undef.
20762 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20763 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20764
3add8e13
JM
207652012-02-08 Joseph Myers <joseph@codesourcery.com>
20766
20767 Support crti.S and crtn.S provided directly by architectures.
20768 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20769 [crti.S in sysdirs] (omit-deps): Likewise.
20770 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20771 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20772 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20773 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20774 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20775 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20776 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20777 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20778 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20779 compiler output for sysdeps/generic/initfini.c.
20780 * sysdeps/i386/elf/Makefile: Remove file.
20781 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20782
a22f12b4
MP
207832012-02-07 Marek Polacek <polacek@redhat.com>
20784
20785 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20786 * sysdeps/gnu/_G_config.h: Likewise.
20787 * sysdeps/mach/hurd/_G_config.h: Likewise.
20788
148cf100
MP
207892012-02-07 Marek Polacek <polacek@redhat.com>
20790
20791 * math/Makefile (tests): Add tst-CMPLX2.
20792 * math/tst-CMPLX2.c: New file.
20793
cfdc0dd7
AS
207942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20795
84ba42c4
AS
20796 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20797
cfdc0dd7
AS
20798 * math/libm-test.inc (jn_test): Add missing L suffix.
20799
622c86f4
MP
208002012-02-06 Marek Polacek <polacek@redhat.com>
20801
20802 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20803 * sysdeps/i386/fpu/e_powf.S: Likewise.
20804 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20805 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20806 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20807 * sysdeps/i386/fpu/e_pow.S: Likewise.
20808 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20809 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20810 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20811 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20812 * sysdeps/i386/fpu/e_log2.S: Likewise.
20813 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20814 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20815 * sysdeps/i386/fpu/e_powl.S: Likewise.
20816 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20817 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20818 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20819 * sysdeps/i386/fpu/e_logl.S: Likewise.
20820 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20821 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20822 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20823 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20824 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20825 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20826 * sysdeps/i386/fpu/e_log.S: Likewise.
20827 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20828 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20829 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20830 * sysdeps/i386/fpu/e_logf.S: Likewise.
20831 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20832 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20833 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20834 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20835 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20836 * sysdeps/i386/fpu/e_log10.S: Likewise.
20837 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20838 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20839 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20840 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20841 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20842 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20843 * sysdeps/i386/asm-syntax.h: Likewise.
20844 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20845 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20846 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20847 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20848 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20849 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20850 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20851 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20852 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20853 * sysdeps/powerpc/sysdep.h: Likewise.
20854 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20855 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20856
d4a54ac6
JM
208572012-02-06 Joseph Myers <joseph@codesourcery.com>
20858
20859 [BZ #411]
20860 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20861
314054ea
JM
208622012-02-06 Joseph Myers <joseph@codesourcery.com>
20863
20864 * sysdeps/i386/sysdep.h: Include <features.h>.
20865 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20866 version.
20867
d8e0ca50
JM
208682012-02-05 Joseph Myers <joseph@codesourcery.com>
20869
20870 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20871 Define.
20872 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20873 LOAD_PIC_REG_STR.
20874
b1da7dd9
JM
208752012-02-03 Joseph Myers <joseph@codesourcery.com>
20876
20877 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20878 (SETUP_PIC_REG): Use GET_PC_THUNK.
20879 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20880 macro.
20881
9a1d9254
JM
208822012-02-03 Joseph Myers <joseph@codesourcery.com>
20883
20884 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20885 for non-PIC compilation.
20886 (SETUP_PIC_REG): Add .p2align directive.
20887 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20888 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20889 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20890 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20891 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20892 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20893 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20894 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20895 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20896 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20897 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20898 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20899 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20900 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20901 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20902 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20903 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20904 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20905 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20906 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20907 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20908 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20909 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20910 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20911 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20913 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20914 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20915 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20916 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20917 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20918 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20919 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20920 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20921 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20922 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20923 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20924 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20925 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20926 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20927 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20928
65dc3b75
JM
209292012-02-03 Joseph Myers <joseph@codesourcery.com>
20930
20931 * math/tst-CMPLX.c: Include <stdio.h>.
20932
d55bf177
JM
209332012-01-31 Joseph Myers <joseph@codesourcery.com>
20934
20935 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20936 float.
20937 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20938 * sysdeps/sparc/bits/mathdef.h: Likewise.
20939
69db4f8f
MP
209402012-01-31 Marek Polacek <polacek@redhat.com>
20941
20942 * libio/libio.h: Don't define _PARAMS.
20943 * locale/programs/config.h: Don't define PARAMS.
20944 * stdlib/strtol_l.c: Likewise.
20945 (__strtol_l): Remove PARAMS from the prototype.
20946
41b81892
UD
209472012-01-31 Ulrich Drepper <drepper@gmail.com>
20948
3b49edc0
UD
20949 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20950 names. Just use the correct names. Remove unnecessary wrapper
20951 functions.
20952 * malloc/arena.c: Likewise.
20953 * malloc/hooks.c: Likewise.
20954
41b81892
UD
20955 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20956 ARENA_TEST says not to. Simplify test for creation of a new arena.
20957 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20958
27a25b6e
UD
209592012-01-30 Ulrich Drepper <drepper@gmail.com>
20960
20961 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20962 into tail calls.
20963 (update_get_addr): New function.
20964 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20965 GET_ADDR_MODULE parameter.
20966
c8a89e7d
JM
209672012-01-30 Joseph Myers <joseph@codesourcery.com>
20968
20969 * crypt/cert.c: Remove __STDC__ conditionals.
20970 * crypt/crypt-entry.c: Likewise.
20971 * crypt/crypt_util.c: Likewise.
20972 * libio/filedoalloc.c: Likewise.
20973 * libio/fileops.c: Likewise.
20974 * libio/genops.c: Likewise.
20975 * libio/iofclose.c: Likewise.
20976 * libio/iofdopen.c: Likewise.
20977 * libio/iofopen.c: Likewise.
20978 * libio/iofopen64.c: Likewise.
20979 * libio/iogetdelim.c: Likewise.
20980 * libio/iopopen.c: Likewise.
20981 * libio/obprintf.c: Likewise.
20982 * libio/oldfileops.c: Likewise.
20983 * libio/oldiofclose.c: Likewise.
20984 * libio/oldiofdopen.c: Likewise.
20985 * libio/oldiofopen.c: Likewise.
20986 * libio/oldiopopen.c: Likewise.
20987 * libio/wfiledoalloc.c: Likewise.
20988 * libio/wgenops.c: Likewise.
20989 * locale/programs/xmalloc.c: Likewise.
20990 * misc/syslog.c: Likewise.
20991 * stdio-common/xbug.c: Likewise.
20992 * string/memchr.c: Likewise.
20993 * string/memcmp.c: Likewise.
20994 * string/memrchr.c: Likewise.
20995 * string/rawmemchr.c: Likewise.
20996 * sysdeps/posix/getcwd.c: Likewise.
20997 * time/strftime_l.c: Likewise.
20998
3b100462
JM
209992012-01-30 Joseph Myers <joseph@codesourcery.com>
21000
21001 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21002 * config.make.in (config-cflags-sse2avx): Define.
21003 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21004 Fix typo.
21005
607998af
CM
210062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21007
21008 * scripts/config.guess: Update from upstream config git repository.
21009 * scripts/config.sub: Likewise.
21010
3601428f
CM
210112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21012
3ac8b282
CM
21013 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21014 (EM_NUM): Update.
21015 (R_TILEPRO_*, R_TILEGX_*): New macros.
21016
e034841e
CM
21017 * scripts/firstversions.awk: Fix bug in version range handling.
21018
540d7568
CM
21019 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21020
3601428f
CM
21021 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21022
463de862
CM
21023 * include/sys/epoll.h: New file.
21024 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21025 libc_hidden_def.
21026
73139a76
UD
210272012-01-28 Ulrich Drepper <drepper@gmail.com>
21028
96bc5b45
UD
21029 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21030 Avoid unnecessary __WORDSIZE == 64 test.
21031 (fmaxf): Use VEX format if possible.
21032 (fmax): Likewise.
21033 (fminf): Likewise.
21034 (fmin): Likewise.
21035
56f6f6a2
UD
21036 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21037 * math/math_private.h: Remove libc_fegetround* and
21038 libc_fesetround*.
21039 * sysdeps/i386/configure.in: Check for -msse2avx.
21040 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21041 also if SSE2AVX is defined.
21042 Remove libc_fegetround* and libc_fesetround*.
21043 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21044 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21045 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21046 of HAS_YMM_USABLE.
21047 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21048 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21049 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21050 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21051 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21052
73139a76
UD
21053 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21054
d73f93a4
AZ
210552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21056
21057 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21058 size is not set.
21059 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21060
6ee65ed6
UD
210612012-01-27 Ulrich Drepper <drepper@gmail.com>
21062
21063 [BZ #13618]
21064 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21065 relocation.
21066 * Makeconfig (libm): Define.
21067 * elf/Makefile: Add rules to build and run tst-relsort1.
21068 * elf/tst-relsort1.c: New file.
21069 * elf/tst-relsort1mod1.c: New file.
21070 * elf/tst-relsort1mod2.c: New file.
21071
8db21882
JM
210722012-01-27 Joseph Myers <joseph@codesourcery.com>
21073
21074 * math/s_ldexp.c: Remove __STDC__ conditionals.
21075 * math/s_ldexpf.c: Likewise.
21076 * math/s_ldexpl.c: Likewise.
21077 * math/s_nextafter.c: Likewise.
21078 * math/s_nexttowardf.c: Likewise.
21079 * math/s_significand.c: Likewise.
21080 * math/s_significandf.c: Likewise.
21081 * math/s_significandl.c: Likewise.
21082 * math/w_jnl.c: Likewise.
21083 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21084 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21085 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21086 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21087 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21088 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21089 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21090 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21093 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21094 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21095 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21096 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21097 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21100 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21101 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21102 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21103 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21104 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21105 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21106 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21107 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21108 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21109 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21110 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21111 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21112 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21113 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21114 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21115 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21116 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21117 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21118 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21119 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21120 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21121 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21122 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21123 * sysdeps/ieee754/k_standard.c: Likewise.
21124 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21128 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21129 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21130 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21131 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21132 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21133 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21136 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21137 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21138 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21140 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21141 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21142 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21143 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21144 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21145 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21146 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21147 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21148 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21149 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21151 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21153 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21155 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21156 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21157 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21158 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21159 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21160 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21161 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21170 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21171 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21172 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21174 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21176 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21177 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21181 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21182 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21185 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21186 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21187 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21188 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21189 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21190 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21191 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21192 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21193 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21194 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21195 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21196 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21197 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21198 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21199 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21203 * sysdeps/ieee754/s_matherr.c: Likewise.
21204 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21205 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21207 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21208
965a54a4
JM
212092012-01-26 Joseph Myers <joseph@codesourcery.com>
21210
21211 * crypt/md5.h: Remove __STDC__ conditionals.
21212 * libio/libioP.h: Likewise.
21213 * locale/programs/config.h: Likewise.
21214 * sysdeps/generic/sysdep.h: Likewise.
21215 * sysdeps/i386/asm-syntax.h: Likewise.
21216 * sysdeps/s390/asm-syntax.h: Likewise.
21217 * sysdeps/unix/sysdep.h: Likewise.
21218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21220
7071ad79
JM
212212012-01-26 Joseph Myers <joseph@codesourcery.com>
21222
21223 * libio/libio.h: Remove __STDC__ conditionals.
21224 * malloc/obstack.h: Likewise.
21225 * math/complex.h: Likewise.
21226 * math/math.h: Likewise.
21227 * sysdeps/generic/_G_config.h: Likewise.
21228 * sysdeps/gnu/_G_config.h: Likewise.
21229 * sysdeps/mach/hurd/_G_config.h: Likewise.
21230 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21231 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21232 * sysdeps/sparc/bits/mathdef.h: Likewise.
21233
afc5ed09
UD
212342012-01-26 Ulrich Drepper <drepper@gmail.com>
21235
21236 [BZ #13583]
21237 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21238 Clean up HAS_* macros.
afc5ed09 21239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21240 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21241 possible.
21242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21243 HAS_AVX.
21244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21245 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21247 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21249
bdb6de1d
JM
212502012-01-25 Joseph Myers <joseph@codesourcery.com>
21251
21252 * elf/tst-unique3.cc (gets): Remove declaration.
21253 * elf/tst-unique3lib.cc (gets): Likewise.
21254 * elf/tst-unique3lib2.cc (gets): Likewise.
21255 * elf/tst-unique4.cc (gets): Likewise.
21256
b15549e6
UD
212572012-01-24 Ulrich Drepper <drepper@gmail.com>
21258
21259 * include/stdio.h: Add C++ protection. Add gets declarations and
21260 definitions.
21261 * debug/tst-chk1.c: Don't declare gets here.
21262 * stdio-common/tst-gets.c: Likewise.
21263
a037381f
JM
212642012-01-24 Joseph Myers <joseph@codesourcery.com>
21265
21266 * posix/glob: Remove directory.
21267
f1d4aa75
JM
212682012-01-24 Joseph Myers <joseph@codesourcery.com>
21269
21270 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21271
81c0c964
PT
212722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21273
21274 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21275 of the non-standard EPFNOSUPPORT.
21276
0ea698ae
ST
212772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21278
21279 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21280 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21281 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21282
d220b117
UD
212832012-01-21 Ulrich Drepper <drepper@gmail.com>
21284
21285 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21286
3e1aa84e
UD
212872012-01-20 Ulrich Drepper <drepper@gmail.com>
21288
21289 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21290 transient errors.
21291 * nscd/grpcache.c (cache_addgr): Likewise.
21292 * nscd/hstcache.c (cache_addhst): Likewise.
21293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21294 * nscd/pwdcache.c (cache_addpw): Likewise.
21295 * nscd/servicescache.c (cache_addserv): Likewise.
21296
400aa020
UD
212972012-01-16 Ulrich Drepper <drepper@gmail.com>
21298
d77e7869
UD
21299 * malloc/malloc.c: Various cleanups.
21300 * malloc/hooks.c: Likewise.
21301
400aa020
UD
21302 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21303 * stdlib/bug-fmtmsg1.c: New file.
21304
21305 * stdlib/fmtmsg.c (init): Add missing unlock.
21306 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21307
e0a309cf
MP
213082012-01-12 Marek Polacek <polacek@redhat.com>
21309
21310 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21311 and _GNU_SOURCE.
21312
929d11c7
WS
213132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21314
21315 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21316 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21317 macro to ensure uniqueness of label name.
21318 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21319 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21320
41d0e869
UD
213212012-01-11 Ulrich Drepper <drepper@gmail.com>
21322
0cc5ed3b
UD
21323 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21324
41d0e869
UD
21325 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21326 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21327 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21329
a47a831a
UD
213302012-01-10 Ulrich Drepper <drepper@gmail.com>
21331
daa891c0
UD
21332 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21333
21334 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21335 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21336 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21337
e58ef0f2
UD
21338 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21339
a47a831a 21340 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21341 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21342 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21343 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21344
21345 * math/bits/math-finite.h: Add ldexp support.
21346
a0bfc9c7
MP
213472012-01-10 Marek Polacek <polacek@redhat.com>
21348
21349 * locale/programs/localedef.h (show_archive_content): Add noreturn
21350 attribute.
21351
d6e97a1d
UD
213522012-01-09 Ulrich Drepper <drepper@gmail.com>
21353
21354 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21355
d5835c26
UD
213562012-01-08 Ulrich Drepper <drepper@gmail.com>
21357
e5f484c6
UD
21358 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21359
d5835c26
UD
21360 * io/Makefile (headers): Add bits/poll2.h.
21361
d1f741e9
WS
213622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21363
21364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21365 typo #include statement.
21366
ec09c1c4
UD
213672012-01-08 Ulrich Drepper <drepper@gmail.com>
21368
21369 * include/sys/cdefs.h: Define __attribute_alloc_size.
21370 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21371 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21372 * elf/pldd.c: Likewise.
21373 * iconv/iconv_charmap.c: Likewise.
21374 * iconv/iconvconfig.c: Likewise.
21375 * iconv/strtab.c: Likewise.
21376 * locale/programs/locale.c: Likewise.
21377 * locale/programs/localedef.h: Likewise.
21378 * locale/programs/simple-hash.c: Likewise.
21379 * nscd/nscd.h: Likewise.
21380 * nss/makedb.c: Likewise.
21381 * sysdeps/generic/ldconfig.h: Likewise.
21382 * locale/programs/localedef.c: Remove xmalloc prototype.
21383 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21384
20b38e03
PP
213852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21386
21387 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21388 appropriate.
21389
a0da5fe1
UD
213902012-01-08 Ulrich Drepper <drepper@gmail.com>
21391
1d5a644a 21392 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21393 * math/tst-CMPLX.c: New file.
1d5a644a 21394
8784a6db
UD
21395 * math/complex.h (CMPLXL): Fix typo.
21396
d9a216c0
UD
21397 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21398 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21399 GLIBC_2.16.
21400 * debug/tst-chk1.c: Add poll and ppoll tests.
21401 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21402 * include/sys/poll.h: Add hidden proto for ppoll.
21403 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21404 * sysdeps/mach/hurd/ppoll.c: Likewise.
21405 * io/ppoll.c: Likewise.
21406 * debug/poll_chk.c: New file.
21407 * debug/ppoll_chk.c: New file.
21408 * include/bits/poll2.h: New file.
21409 * io/bits/poll2.h: New file.
21410
ac097f5c
UD
21411 [BZ #1350]
21412 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21413
2119dcfa
UD
21414 * configure.in: static is always set to yes. Remove.
21415 * config.make.in: Don't set build-static.
21416 * Makeconfig: Remove use of build-static.
21417 * dlfcn/Makefile: Likewise.
21418 * elf/Makefile: Likewise.
21419 * math/Makefile: Likewise.
21420 * misc/Makefile: Likewise.
21421 * nptl/Makefile: Likewise.
21422 * sysdeps/mach/hurd/Makefile: Likewise.
21423
121766a9
UD
21424 * configure.in: PWD_P is not used anymore.
21425 * config.make.in: Remove PWD_P entry.
21426
51a1d39c 21427 * configure.in: Remove last remnants of RANLIB.
8720d066 21428 No need to check for signed size_t anymore.
215f4bdc
UD
21429 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21430 and IA-64.
3857022a 21431 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21432 * aclocal.m4: Likewise.
21433
d3ed7225
UD
21434 * wcsmbs/mbrtoc16.c: Implement using towc function.
21435 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21436 * wcsmbs/wcsmbsload.c: Likewise.
21437 * iconv/gconv_simple.c: Likewise.
21438 * iconv/gconv_int.h: Likewise.
21439 * iconv/gconv_builtin.h: Likewise.
21440 * iconv/iconv_prog.c: Remove CHAR16 handling.
21441
21442 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21443
21444 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21445
a0da5fe1
UD
21446 * configure.in: Remove --with-elf and --enable-bounded options.
21447 Dont set base_machine for ia64. More non-ELF conditions removed.
21448 Remove testing and setting of leading underscore information.
21449 * config.make.in (build-bounded): Set to no.
21450 * config.h.in: Remove NO_UNDERSCORES entry.
21451 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21452 them.
21453 * csu/start.c: Remove !NO_UNDERSCORE code.
21454 * locale/localeinfo.h: Likewise.
21455 * sysdeps/generic/machine-gmon.h: Likewise.
21456 * sysdeps/generic/sysdep.h: Likewise.
21457 * sysdeps/i386/sysdep.h: Likewise.
21458 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21459 * sysdeps/mach/sysdep.h: Likewise.
21460 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21461 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21462 * sysdeps/sh/sysdep.h: Likewise.
21463 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21464 * sysdeps/unix/i386/sysdep.S: Likewise.
21465 * sysdeps/unix/sparc/start.c: Likewise.
21466 * sysdeps/unix/sparc/sysdep.S: Likewise.
21467 * sysdeps/unix/sparc/sysdep.h: Likewise.
21468 * sysdeps/unix/start.c: Likewise.
21469 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21470 * sysdeps/x86_64/sysdep.h: Likewise.
21471
df78418a
UD
214722012-01-07 Ulrich Drepper <drepper@gmail.com>
21473
a784e502
UD
21474 [BZ #13553]
21475 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21476 for non-gcc.
21477 * argp/argp-fmtstream.h: Use const instead __const.
21478 * argp/argp.h: Likewise.
21479 * assert/assert.h: Likewise.
21480 * bits/fenv.h: Likewise.
21481 * bits/sched.h: Likewise.
21482 * bits/sigset.h: Likewise.
21483 * bits/sigthread.h: Likewise.
21484 * catgets/nl_types.h: Likewise.
21485 * conform/data/pthread.h-data: Likewise.
21486 * crypt/crypt-private.h: Likewise.
21487 * crypt/crypt.h: Likewise.
21488 * crypt/crypt_util.c: Likewise.
21489 * ctype/ctype.h: Likewise.
21490 * debug/execinfo.h: Likewise.
21491 * debug/mbsnrtowcs_chk.c: Likewise.
21492 * debug/mbsrtowcs_chk.c: Likewise.
21493 * debug/wcsnrtombs_chk.c: Likewise.
21494 * debug/wcsrtombs_chk.c: Likewise.
21495 * debug/wcstombs_chk.c: Likewise.
21496 * dirent/dirent.h: Likewise.
21497 * dlfcn/dlfcn.h: Likewise.
21498 * elf/neededtest4.c: Likewise.
21499 * grp/grp.h: Likewise.
21500 * gshadow/gshadow.h: Likewise.
21501 * iconv/gconv.h: Likewise.
21502 * iconv/gconv_int.h: Likewise.
21503 * iconv/gconv_simple.c: Likewise.
21504 * iconv/iconv.h: Likewise.
21505 * iconv/loop.c: Likewise.
21506 * iconv/skeleton.c: Likewise.
21507 * include/aio.h: Likewise.
21508 * include/aliases.h: Likewise.
21509 * include/argz.h: Likewise.
21510 * include/arpa/inet.h: Likewise.
21511 * include/assert.h: Likewise.
21512 * include/dirent.h: Likewise.
21513 * include/dlfcn.h: Likewise.
21514 * include/execinfo.h: Likewise.
21515 * include/fcntl.h: Likewise.
21516 * include/fenv.h: Likewise.
21517 * include/glob.h: Likewise.
21518 * include/grp.h: Likewise.
21519 * include/libintl.h: Likewise.
21520 * include/mntent.h: Likewise.
21521 * include/netdb.h: Likewise.
21522 * include/pwd.h: Likewise.
21523 * include/rpc/netdb.h: Likewise.
21524 * include/sched.h: Likewise.
21525 * include/search.h: Likewise.
21526 * include/shadow.h: Likewise.
21527 * include/signal.h: Likewise.
21528 * include/stdio.h: Likewise.
21529 * include/stdlib.h: Likewise.
21530 * include/string.h: Likewise.
21531 * include/sys/socket.h: Likewise.
21532 * include/sys/stat.h: Likewise.
21533 * include/sys/statfs.h: Likewise.
21534 * include/sys/statvfs.h: Likewise.
21535 * include/sys/syslog.h: Likewise.
21536 * include/sys/time.h: Likewise.
21537 * include/sys/uio.h: Likewise.
21538 * include/time.h: Likewise.
21539 * include/unistd.h: Likewise.
21540 * include/utmp.h: Likewise.
21541 * include/wchar.h: Likewise.
21542 * include/wctype.h: Likewise.
21543 * inet/aliases.h: Likewise.
21544 * inet/arpa/inet.h: Likewise.
21545 * inet/netinet/ether.h: Likewise.
21546 * inet/netinet/in.h: Likewise.
21547 * intl/libintl.h: Likewise.
21548 * io/bits/fcntl2.h: Likewise.
21549 * io/fcntl.h: Likewise.
21550 * io/ftw.h: Likewise.
21551 * io/sys/poll.h: Likewise.
21552 * io/sys/stat.h: Likewise.
21553 * io/sys/statfs.h: Likewise.
21554 * io/sys/statvfs.h: Likewise.
21555 * io/utime.h: Likewise.
21556 * libio/bits/stdio.h: Likewise.
21557 * libio/bits/stdio2.h: Likewise.
21558 * libio/libio.h: Likewise.
21559 * libio/libioP.h: Likewise.
21560 * libio/stdio.h: Likewise.
21561 * locale/lc-ctype.c: Likewise.
21562 * locale/locale.h: Likewise.
21563 * login/utmp.h: Likewise.
21564 * malloc/arena.c: Likewise.
21565 * malloc/malloc.c: Likewise.
21566 * malloc/malloc.h: Likewise.
21567 * malloc/mcheck.c: Likewise.
21568 * malloc/mtrace.c: Likewise.
21569 * math/bits/mathcalls.h: Likewise.
21570 * math/fenv.h: Likewise.
21571 * math/math_private.h: Likewise.
21572 * misc/bits/error.h: Likewise.
21573 * misc/bits/syslog.h: Likewise.
21574 * misc/err.h: Likewise.
21575 * misc/error.h: Likewise.
21576 * misc/fstab.h: Likewise.
21577 * misc/mntent.h: Likewise.
21578 * misc/regexp.h: Likewise.
21579 * misc/search.h: Likewise.
21580 * misc/sgtty.h: Likewise.
21581 * misc/sys/mman.h: Likewise.
21582 * misc/sys/syslog.h: Likewise.
21583 * misc/sys/uio.h: Likewise.
21584 * misc/sys/xattr.h: Likewise.
21585 * misc/ttyent.h: Likewise.
21586 * nis/rpcsvc/ypclnt.h: Likewise.
21587 * nss/nss.h: Likewise.
21588 * posix/bits/unistd.h: Likewise.
21589 * posix/fnmatch.h: Likewise.
21590 * posix/glob.h: Likewise.
21591 * posix/sched.h: Likewise.
21592 * posix/spawn.h: Likewise.
21593 * posix/sys/wait.h: Likewise.
21594 * posix/unistd.h: Likewise.
21595 * posix/wordexp.h: Likewise.
21596 * pwd/pwd.h: Likewise.
21597 * resolv/netdb.h: Likewise.
21598 * resource/sys/resource.h: Likewise.
21599 * rt/aio.h: Likewise.
21600 * rt/bits/mqueue2.h: Likewise.
21601 * rt/mqueue.h: Likewise.
21602 * shadow/shadow.h: Likewise.
21603 * signal/signal.h: Likewise.
21604 * socket/send.c: Likewise.
21605 * socket/sendto.c: Likewise.
21606 * socket/sys/socket.h: Likewise.
21607 * stdio-common/printf.h: Likewise.
21608 * stdlib/bits/stdlib.h: Likewise.
21609 * stdlib/fmtmsg.h: Likewise.
21610 * stdlib/monetary.h: Likewise.
21611 * stdlib/stdlib.h: Likewise.
21612 * stdlib/ucontext.h: Likewise.
21613 * streams/stropts.h: Likewise.
21614 * string/argz.h: Likewise.
21615 * string/bits/string2.h: Likewise.
21616 * string/string.h: Likewise.
21617 * string/strings.h: Likewise.
21618 * sunrpc/rpc/auth.h: Likewise.
21619 * sunrpc/rpc/auth_des.h: Likewise.
21620 * sunrpc/rpc/clnt.h: Likewise.
21621 * sunrpc/rpc/netdb.h: Likewise.
21622 * sunrpc/rpc/pmap_clnt.h: Likewise.
21623 * sunrpc/rpc/xdr.h: Likewise.
21624 * sysdeps/generic/inttypes.h: Likewise.
21625 * sysdeps/generic/net/if.h: Likewise.
21626 * sysdeps/generic/sys/swap.h: Likewise.
21627 * sysdeps/gnu/net/if.h: Likewise.
21628 * sysdeps/gnu/utmpx.h: Likewise.
21629 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21630 * sysdeps/i386/i486/bits/string.h: Likewise.
21631 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21632 * sysdeps/s390/bits/string.h: Likewise.
21633 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21634 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21635 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21636 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21637 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21638 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21639 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21640 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21641 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21642 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21643 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21644 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21645 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21646 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21647 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21648 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21649 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21651 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21652 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21653 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21654 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21655 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21656 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21657 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21658 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21659 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21660 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21661 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21662 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21663 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21664 * sysvipc/sys/ipc.h: Likewise.
21665 * sysvipc/sys/msg.h: Likewise.
21666 * sysvipc/sys/sem.h: Likewise.
21667 * sysvipc/sys/shm.h: Likewise.
21668 * termios/termios.h: Likewise.
21669 * time/sys/time.h: Likewise.
21670 * time/time.h: Likewise.
21671 * wcsmbs/bits/wchar2.h: Likewise.
21672 * wcsmbs/uchar.h: Likewise.
21673 * wcsmbs/wchar.h: Likewise.
21674 * wctype/wctype.h: Likewise.
21675
0269750c
UD
21676 [BZ #13551]
21677 * Makeconfig: Remove all but ELF support including AIX support.
21678 * Makerules: Likewise.
21679 * config.h.in: Likewise.
21680 * config.make.in: Likewise.
21681 * configure: Likewise.
21682 * configure.in: Likewise.
21683 * csu/Makefile: Likewise.
21684 * csu/version.c: Likewise.
21685 * debug/Makefile: Likewise.
21686 * dlfcn/Makefile: Likewise.
21687 * elf/Makefile: Likewise.
21688 * extra-lib.mk: Likewise.
21689 * iconv/Makefile: Likewise.
21690 * include/libc-symbols.h: Likewise.
21691 * include/shlib-compat.h: Likewise.
21692 * resolv/Makefile: Likewise.
21693 * resolv/res_libc.c: Likewise.
21694 * rt/Makefile: Likewise.
21695 * sysdeps/i386/asm-syntax.h: Likewise.
21696 * sysdeps/i386/sysdep.h: Likewise.
21697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21698 * sysdeps/mach/sysdep.h: Likewise.
21699 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21700 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21701 * sysdeps/s390/asm-syntax.h: Likewise.
21702 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21703 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21704 * sysdeps/sh/sysdep.h: Likewise.
21705 * sysdeps/unix/sparc/sysdep.h: Likewise.
21706 * sysdeps/wordsize-32/divdi3.c: Likewise.
21707 * sysdeps/x86_64/sysdep.h: Likewise.
21708
00bbd29b
UD
21709 * argp/Versions: Remove _argp_unlock_xxx.
21710
21711 [BZ #13559]
21712 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21713 * abilist/libBrokenLocale.abilist: Likewise.
21714 * abilist/libanl.abilist: Likewise.
21715 * abilist/libc.abilist: Likewise.
21716 * abilist/libcrypt.abilist: Likewise.
21717 * abilist/libdl.abilist: Likewise.
21718 * abilist/libm.abilist: Likewise.
21719 * abilist/libnsl.abilist: Likewise.
21720 * abilist/libpthread.abilist: Likewise.
21721 * abilist/libresolv.abilist: Likewise.
21722 * abilist/librt.abilist: Likewise.
21723 * abilist/libthread_db.abilist: Likewise.
21724 * abilist/libutil.abilist: Likewise.
21725 * abilist/libnss_db.abilist: New file.
21726
21727 * scripts/abilist.awk: Add support for indirect functions.
21728
a2693a0e
UD
21729 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21730
3f05895f
UD
21731 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21732
ecb6fb48
UD
21733 * shlib-versions: Remove entries for ports architectures.
21734
664f8cb9
UD
21735 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21736 files in ports.
21737 * elf/stackguard-macros.h: Remove support for IA-64.
21738 * elf/tst-auditmod1.c: Likewise.
21739 * sysdeps/generic/ldsodefs.h: Likewise.
21740
7ae81d88
UD
21741 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21742 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21743 configure files.
21744
bdeba135
UD
21745 [BZ #13552]
21746 * configure.in: Remove --enable-omitfp support.
21747 * FAQ.in: Adjust.
21748 * config.make.in: Likewise.
21749 * Makeconfig: Likewise.
21750 * manual/install.texi: Likewise.
21751
d75a0a62
UD
21752 In case anyone cares, the IA-64 architecture could move to ports.
21753 * sysdeps/ia64/*: Removed.
21754 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21755 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21756
dcc9756b
UD
21757 [BZ #13555]
21758 * configure.in: Remove entries for unsupported architectures.
21759
d3761ebc 21760 [BZ #13533]
9954432e
UD
21761 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21762 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21763 routines.
21764 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21765 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21766 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21767 fall back to using wcrtomb.
21768 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21769 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21770 renaming.
21771 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21772 * wcsmbs/tst-c16c32-1.c: New file.
21773
21774 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21775 local variable.
21776
c3a87236
UD
21777 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21778
28926a1b
UD
21779 * elf/tst-unique3.cc: Add explicit declaration of gets.
21780 * elf/tst-unique3lib.cc: Likewise.
21781 * elf/tst-unique3lib2.cc: Likewise.
21782 * elf/tst-unique4.cc: Likewise.
21783
df78418a
UD
21784 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21785
8ecd6b2a
JM
217862012-01-06 Joseph Myers <joseph@codesourcery.com>
21787
21788 [BZ #13566]
21789 * assert/assert.h (static_assert): Don't define for C++.
21790 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21791 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21792
9f115170
UD
217932012-01-03 Ulrich Drepper <drepper@gmail.com>
21794
5e0d0300
UD
21795 * iconv/loop.c (single loop): Fix assertion in storing of
21796 remaining bytes.
21797
9f115170
UD
21798 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21799
81fb02b0
UD
218002012-01-01 Ulrich Drepper <drepper@gmail.com>
21801
21802 * posix/getconf.c: Update copyright year.
21803 * nss/getent.c: Likewise.
a316c1f6 21804 * nss/makedb.c: Likewise.
81fb02b0
UD
21805 * iconv/iconvconfig.c: Likewise.
21806 * iconv/iconv_prog.c: Likewise.
21807 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21808 * elf/pldd.c: Likewise.
21809 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21810 * catgets/gencat.c: Likewise.
21811 * csu/version.c: Likewise.
21812 * elf/ldd.bash.in: Likewise.
21813 * elf/sprof.c (print_version): Likewise.
21814 * locale/programs/locale.c: Likewise.
21815 * locale/programs/localedef.c: Likewise.
a316c1f6 21816 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21817 * nscd/nscd.c (print_version): Likewise.
21818 * debug/xtrace.sh: Likewise.
21819 * malloc/memusage.sh: Likewise.
21820 * malloc/mtrace.pl: Likewise.
21821 * debug/catchsegv.sh: Likewise.
21822
2ba92745
JJ
218232011-12-30 Jakub Jelinek <jakub@redhat.com>
21824
21825 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21826 pure attribute.
21827
dadebdae
UD
218282011-12-24 Ulrich Drepper <drepper@gmail.com>
21829
d3761ebc 21830 [BZ #13533]
db6af3eb
UD
21831 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21832 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21833 transformations.
21834 * iconv/gconv_int.h: Likewise.
21835 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21836 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21837 from libc for GLIBC_2.16.
21838 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21839 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21840 * wcsmbs/uchar.h: Really define mbstate_t.
21841 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21842 * wcsmbs/c16rtomb.c: New file.
21843 * wcsmbs/mbrtoc16.c: New file.
21844 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21845 for C/POSIX locale.
21846 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21847 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21848
dadebdae
UD
21849 * wcsmbs/wchar.h: Add missing __restrict.
21850
67371b56
UD
218512011-12-23 Ulrich Drepper <drepper@gmail.com>
21852
74033a25
UD
21853 [BZ #13532]
21854 * time/Makefile (routines): Add timespec_get.
21855 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21856 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21857 timespec for ISO C11.
21858 * time/timespec_get.c: New file.
21859 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21860 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21861
380d7e87
UD
21862 [BZ #13531]
21863 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21864 * stdlib/stdlib.h: Declare aligned_alloc.
21865 * Versions.def: Add GLIBC_2.16 for libc.
21866 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21867
4e9e7a35
UD
21868 [BZ 13527]
21869 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21870 ISO C11.
21871
380d7e87 21872 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21873 code.
21874
03a71829
UD
21875 [BZ #13528]
21876 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21877
839e283e
UD
21878 [BZ #13529]
21879 * assert/assert.h (static_assert): Define.
21880
ce5294e2 21881 * version.h: Update for 2.16 development version.
90fa7312 21882
8d44e150 21883 [BZ #13526]
d7809905
UD
21884 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21885 _ISOC11_SOURCE.
21886
c0da14cd
UD
21887 * version.h (RELEASE): Bump for 2.15 release.
21888 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21889
530a3249
MP
21890 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21891 Patch by Marek Polacek <mpolacek@redhat.com>.
21892
67371b56
UD
21893 * bits/byteswap.h: Protect long long constants with __extension__.
21894 * sysdeps/i386/bits/byteswap.h: Likewise.
21895 * sysdeps/ia64/bits/byteswap.h: Likewise.
21896 * sysdeps/s390/bits/byteswap.h: Likewise.
21897 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21898
15db4de1
LD
218992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21900
21901 [BZ #13540]
bbe315ea
LD
21902 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21903 destination buffer.
15db4de1
LD
21904 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21905
2b2596b1
MP
219062011-12-23 Marek Polacek <polacek@redhat.com>
21907
21908 * elf/dl-addr.c (determine_info): Add inline keyword.
21909 * elf/tst-auditmod4b.c (check_avx): Likewise.
21910 * elf/tst-auditmod6b.c (check_avx): Likewise.
21911 * elf/tst-auditmod6c.c (check_avx): Likewise.
21912 * elf/tst-auditmod7b.c (check_avx): Likewise.
21913
70c6c246
UD
219142011-12-23 Ulrich Drepper <drepper@gmail.com>
21915
21916 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21917 !__SSE_MATH__.
21918
c044cf14
LD
219192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21920
15db4de1 21921 [BZ #13540]
c044cf14
LD
21922 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21923 processing for last bytes.
21924
6b13d9d9
BH
219252011-08-06 Bruno Haible <bruno@clisp.org>
21926
d455f537
BH
21927 [BZ #13061]
21928 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21929 U+0385, not to U+1FEE.
21930
6b13d9d9
BH
21931 [BZ #13062]
21932 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21933 entry for U+00A5 U+0301.
21934
db910efd
UD
219352011-12-22 Ulrich Drepper <drepper@gmail.com>
21936
27deeafc
UD
21937 [BZ #13166]
21938 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21939 buffer for the output is too small.
21940
aed9d171
UD
21941 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21942 optimization.
21943
db910efd
UD
21944 [BZ #13185]
21945 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21946 SSE flags if possible.
21947
2bd779ae
LD
219482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21949
e7f9dac3 21950 [BZ #13540]
2bd779ae
LD
21951 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21952 processing for last bytes.
21953
154bfc16
JM
219542011-12-22 Joseph Myers <joseph@codesourcery.com>
21955
21956 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21957 (syscall-list-default-options, syscall-list-default-condition)
21958 (syscall-list-includes): Define.
21959 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21960 list of ABIs and options and #if conditions for each ABI. Do not
21961 handle common syscalls between ABIs specially.
21962 * sysdeps/unix/sysv/linux/powerpc/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 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21968 (syscall-list-variants, syscall-list-32bit-options)
21969 (syscall-list-32bit-condition, syscall-list-64bit-options)
21970 (syscall-list-64bit-condition): Define.
21971 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21972 Remove.
21973 (syscall-list-variants, syscall-list-32bit-options)
21974 (syscall-list-32bit-condition, syscall-list-64bit-options)
21975 (syscall-list-64bit-condition): Define.
21976 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21977 Remove.
21978 (syscall-list-variants, syscall-list-32bit-options)
21979 (syscall-list-32bit-condition, syscall-list-64bit-options)
21980 (syscall-list-64bit-condition): Define.
21981
21eaf3a5
UD
219822011-12-22 Ulrich Drepper <drepper@gmail.com>
21983
16c6f992
UD
21984 * locale/iso-639.def: Add brx entry.
21985
41043168
UD
21986 [BZ #13328]
21987 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21988 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21989
21eaf3a5
UD
21990 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21991 __feraiseexcept_renamed.
21992
e3a851a2
UD
219932011-12-21 Ulrich Drepper <drepper@gmail.com>
21994
4920765e
UD
21995 [BZ #13538]
21996 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21997 EPOLLET with unsigned values.
21998 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22000
e3a851a2
UD
22001 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22002 to large cancellation.
22003 * math/s_cacoshf.c: Likewise.
22004 * math/s_cacoshl.c: Likewise.
22005
b27e24b8
RK
220062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22007
22008 [BZ #13305]
aebefeee 22009 [BZ #12786]
b27e24b8
RK
22010 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22011 * math/s_cacoshf.c: Likewise.
22012 * math/s_cacoshl.c: Likewise.
22013
ee190f67
UD
220142011-12-21 Ulrich Drepper <drepper@gmail.com>
22015
22016 [BZ #13439]
22017 * iconv/gconv.h: Define __GCONV_SWAP.
22018 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22019 * iconvdata/utf-16.c: Likewise.
22020 * iconvdata/utf-32.c: Likewise.
22021
707f25df
AS
220222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22023
22024 [BZ #13524]
22025 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22026 numerator after shifting it by one limb.
22027
d2daaa1e
RÁE
220282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22029
22030 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22031 under [__USE_EXTERN_INLINES].
22032
a4647e72
UD
220332011-12-17 Ulrich Drepper <drepper@gmail.com>
22034
22035 [BZ #13446]
22036 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22037
f0b264f1
AZ
220382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22039
22040 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22041 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22042 optimized code.
22043 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22044 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22045 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22046 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22047 for strncasecmp/strncasecmp_l compilation.
22048 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22049 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22050
8ef4f244
MP
220512011-12-08 Marek Polacek <mpolacek@redhat.com>
22052
22053 [BZ #13484]
22054 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22055 of __asm__.
22056
97ac2654
UD
220572011-12-17 Ulrich Drepper <drepper@gmail.com>
22058
22059 [BZ #13506]
22060 * time/tzfile.c (__tzfile_read): Check values from file header.
22061
91d2a845
WS
220622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22063
22064 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22065 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22066 * powerpc/powerpc32/dl-start.S: Likewise.
22067 * powerpc/powerpc32/elf/start.S: Likewise.
22068 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22069 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22070 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22071 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22072 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22073 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22074 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22075 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22076 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22077 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22078 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22079 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22080 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22081 * powerpc/powerpc32/memset.S: Likewise.
22082 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22083 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22084 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22085 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22086 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22087 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22088 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22089 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22090 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22091 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22092 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22093 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22094 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22095
a1267ba1
AZ
220962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22097
22098 * math/libm-test.inc: Added more nearbyint tests.
22099 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22100 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22101 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22102 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22103
ad8ac1bd
RL
221042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22105
22106 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22107 FD_CLOEXEC.
22108
1d3e4b61
UD
221092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22110
22111 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22112 Add wcscpy-ssse3 wcscpy-c.
22113 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22114 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22115 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22116 * sysdeps/x86_64/wcschr.S: New file.
22117 * sysdeps/x86_64/wcsrchr.S: New file.
22118 * string/test-strcmp.c: Remove checking of wcscmp function for
22119 wrong alignments.
22120 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22121 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22122 wcsrchr-sse2 wcsrchr-c.
22123 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22124 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22125 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22126 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22127 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22128 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22129 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22130 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22131 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22132 * wcsmbc/wcschr.c (WCSCHR): New macro.
22133
5b330a2d
UD
221342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22135
22136 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22137 * wcsmbs/test-wcsrchr.c: New file.
22138 * string/test-strrchr.c: Add wcsrchr support.
22139 (WIDE): New macro.
22140 * wcsmbs/test-wcscpy.c: New file.
22141 * string/test-strcpy.c: Add wcscpy support.
22142 (WIDE): New macro.
26428b7c 22143
f039c043
UD
221442011-12-10 Ulrich Drepper <drepper@gmail.com>
22145
22146 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22147 the inner loop.
22148
850fb039
AS
221492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22150
22151 [BZ #13472]
22152 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22153
4efbd5cb
UD
221542011-12-04 Ulrich Drepper <drepper@gmail.com>
22155
52ff5dd0 22156 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22157 Minor optimizations.
52ff5dd0 22158
4efbd5cb
UD
22159 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22160 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22161 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22162
8a426e12
UD
221632011-12-03 Ulrich Drepper <drepper@gmail.com>
22164
aff2453d
UD
22165 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22166 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22167 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22168 for gcc to avoid warnings.
22169 * inet/Makefile (tests): Add tst-checks.
22170 * inet/tst-checks.c: New file.
22171
22172 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22173 warning.
22174
22175 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22176 __wmemcmp_sse2.
22177
22178 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22179 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22180
8a426e12
UD
22181 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22182
9bea3473
UD
221832011-12-02 Ulrich Drepper <drepper@gmail.com>
22184
3a965496
UD
22185 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22186 problem.
22187
9bea3473
UD
22188 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22189
f101631b
UD
221902011-11-29 Joseph Myers <joseph@codesourcery.com>
22191
22192 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22193 conditional on GCC version.
22194 (__arch_compare_and_exchange_val_8_acq)
22195 (__arch_compare_and_exchange_val_16_acq)
22196 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22197 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22198 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22199
a98275aa
UD
222002011-12-02 Joseph Myers <joseph@codesourcery.com>
22201
22202 * sysdeps/sh/backtrace.c: New file.
22203
d4cc29a2
AS
222042011-12-02 Andreas Schwab <schwab@redhat.com>
22205
22206 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22207 parenthesis.
22208
6257af2d
AS
222092011-12-01 Andreas Schwab <schwab@redhat.com>
22210
22211 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22212 falling back to utime.
22213
b5f44c1a
AS
222142011-11-30 Andreas Schwab <schwab@redhat.com>
22215
22216 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22217 expectations for float.
22218
f3a6cc0a
AS
222192011-11-29 Andreas Schwab <schwab@redhat.com>
22220
22221 * locale/weight.h (findidx): Add parameter len.
22222 * locale/weightwc.h (findidx): Likewise.
22223 * posix/fnmatch_loop.c (FCT): Adjust caller.
22224 * posix/regcomp.c (build_equiv_class): Likewise.
22225 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22226 * posix/regexec.c (check_node_accept_bytes): Likewise.
22227 * string/strcoll_l.c (STRCOLL): Likewise.
22228 * string/strxfrm_l.c (STRXFRM): Likewise.
22229
9d65ea3a
UD
222302011-11-17 Ulrich Drepper <drepper@gmail.com>
22231
22232 * Makefile.in: Remove CVSOPT handling.
22233 * configure.in: Remove use of AC_REVISION.
22234 * iconvdata/Makefile (distribute): No need to filter out CVS.
22235 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22236 handling.
22237
5583a086
AS
222382011-11-16 Andreas Schwab <schwab@redhat.com>
22239
22240 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22241 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22242 [USE_AS_STRNCASECMP_L]: Likewise.
22243 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22244 NO_TLS_DIRECT_SEG_REFS.
22245 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22246 Fix argument offsets for non-PIC.
22247 [USE_AS_STRNCASECMP_L]: Likewise.
22248 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22249 NO_TLS_DIRECT_SEG_REFS.
22250
d62a8200
UD
222512011-11-15 Ulrich Drepper <drepper@gmail.com>
22252
9d65ea3a 22253 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22254 O_CLOEXEC.
22255 * locale/loadlocale.c (_nl_load_locale): Likewise.
22256
09f93bd3
AS
222572011-11-15 Andreas Schwab <schwab@redhat.com>
22258
446514f9
AS
22259 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22260 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22261 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22262 (SYSCALL_GETTIME): Set errno on error.
22263
09f93bd3
AS
22264 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22265 count references to noai6ai_cached.
22266
312be3f9
UD
222672011-11-15 Ulrich Drepper <drepper@gmail.com>
22268
22269 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22270
22271 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22272 FD_CLOEXEC for /proc/self/maps.
22273
22274 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22275 FD_CLOEXEC for /proc/meminfo.
22276
22277 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22278 gai.conf.
22279
22280 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22281 FD_CLOEXEC for given file.
22282
22283 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22284
22285 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22286 FD_CLOEXEC for /etc/hosts.
22287 (_gethtent): Likewise.
22288
22289 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22290
22291 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22292 cancellation and set FD_CLOEXEC for /etc/netgroup.
22293
22294 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22295 reading /etc/publickey.
22296
22297 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22298 allow cancellation when reading /etc/group.
22299
22300 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22301 cancellation.
22302 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22303
22304 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22305 when using data file.
22306
22307 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22308
22309 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22310 (write_nis_obj): Use "c" and "e" in fopen.
22311
22312 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22313
22314 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22315
22316 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22317
22318 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22319
22320 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22321 locale.alias.
22322
22323 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22324
22325 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22326
22327 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22328
22329 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22330 file parsing and set FD_CLOEXEC.
22331
82af0fa8
UD
223322011-11-14 Ulrich Drepper <drepper@gmail.com>
22333
22334 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22335
a5fb313c
AS
223362011-11-14 Andreas Schwab <schwab@redhat.com>
22337
22338 * malloc/arena.c (arena_get2): Don't call reused_arena when
22339 _int_new_arena failed.
22340
6abf3465
UD
223412011-11-14 Ulrich Drepper <drepper@gmail.com>
22342
22343 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22344 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22345 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22346 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22347 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22348 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22349 to compile strcasecmp and strncasecmp.
22350 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22351 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22352
22353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22354
76e3966e
UD
223552011-11-13 Ulrich Drepper <drepper@gmail.com>
22356
22357 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22358 locale-defines.sym to gen-as-const-headers.
22359 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22360 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22361 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22362 to compile strcasecmp and strncasecmp.
22363 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22364 strcasecmp_l and strncasecmp_l.
22365 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22366 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22367 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22368 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22369 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22370 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22371 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22372 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22373 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22374 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22375 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22376
ab26144e
UD
223772011-11-12 Ulrich Drepper <drepper@gmail.com>
22378
7edb22ef
UD
22379 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22380 result of SYSDEP_GETTIME_CPU to retval.
22381 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22382 parameter list to macro. Remove trailing semicolon. Adjust users.
22383
9694fc44
UD
22384 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22385 variable.
22386
8ad89ef8
UD
22387 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22388 mantissa words.
22389 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22390
0c822ef9
UD
22391 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22392 from unused variable.
22393
874e0564
UD
22394 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22395 DWARF definitions.
22396 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22397 for assembling.
22398
3a2edc79
UD
22399 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22400 over namespaces.
22401
f3c2577f
UD
22402 * sunrpc/rpc_prot.c (rejected): Fix case value.
22403
294ce126
UD
22404 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22405 unsigned long long int to avoid warnings in shift.
22406
5e2b63c6
UD
22407 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22408 of use of trans.
22409 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22410 variable tmp.
22411
e7f4b08e
UD
22412 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22413 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22414 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22415
ab26144e
UD
22416 * nis/nis_table.c (nis_list): Use variable of correct type for
22417 result of __follow_path call.
22418
8a6d5255
AZ
224192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22420
22421 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22422 of math functions ceil, trunc, floor, round, and sqrt, when
22423 avaliable on the platform.
22424 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22425 name clash.
22426 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22427 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22428 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22429
aaddc98c
MP
224302011-10-30 Marek Polacek <mpolacek@redhat.com>
22431
22432 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22433 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22434
95b7042b
RM
224352011-11-11 Roland McGrath <roland@hack.frob.com>
22436
22437 * include/unistd.h: Fix __readlink return type.
22438 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22439
57769839
UD
224402011-11-11 Ulrich Drepper <drepper@gmail.com>
22441
22442 * stdlib/ucontext.h: Undo last change for makecontext.
22443
edc5984d
AS
224442011-11-11 Andreas Schwab <schwab@redhat.com>
22445
98591e58
AS
22446 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22447
edc5984d
AS
22448 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22449 * setjmp/setjmp.h: Mark functions as non-leaf.
22450 * setjmp/bits/setjmp2.h: Likewise.
22451 * stdlib/ucontext.h: Likewise.
22452
77cdc054
AS
224532011-11-10 Andreas Schwab <schwab@redhat.com>
22454
22455 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22456 (reused_arena): Don't check arena limit.
22457 (arena_get2): Atomically check arena limit.
22458
fe72eebd
UD
224592011-11-08 Ulrich Drepper <drepper@gmail.com>
22460
5f078c32
UD
22461 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22462 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22463
fe72eebd
UD
22464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22465 instructions.
22466
ae1bc2fa
AS
224672011-11-07 Andreas Schwab <schwab@redhat.com>
22468
7583a88d
AS
22469 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22470 handler when locking.
22471
ae1bc2fa
AS
22472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22473 Fix size of allocated buffer.
22474
10fb0bfa
AS
224752011-11-04 Andreas Schwab <schwab@redhat.com>
22476
998832a4
AS
22477 [BZ #10103]
22478 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22479 declarations for long double functions.
22480 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22481
10fb0bfa
AS
22482 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22483
3d7ba52b
AS
224842011-11-03 Andreas Schwab <schwab@redhat.com>
22485
a9ae54a1
AS
22486 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22487 installed.
22488
3d7ba52b
AS
22489 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22490 is disabled.
22491
bc8db248
ST
224922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22493
22494 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22495
45b96dd6
AS
224962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22497
647776f6
AS
22498 * include/alloca.h (stackinfo_alloca_round): Define.
22499 (extend_alloca): Use it.
22500 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22501 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22502 here.
22503
d91a8b93
AS
22504 * scripts/check-local-headers.sh: Ignore libaudit.h.
22505
45b96dd6
AS
22506 * nscd/Makefile (extra-objs): Make recursively expanded.
22507
432d41ce
UD
225082011-11-01 Ulrich Drepper <drepper@gmail.com>
22509
34372fc6
UD
22510 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22511 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22512
fadb59f8
UD
22513 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22514 * posix/tst-rfc3484-2.c: Likewise.
22515 * posix/tst-rfc3484-3.c: Likewise.
22516
78239589
UD
22517 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22518 process_vm_writev.
22519 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22520 process_vm_writev.
22521 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22522 process_vm_writev from libc using GLIBC_2.15 version.
22523
432d41ce
UD
22524 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22525
02f9c6cf
PP
225262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22527
22528 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22529 stack usage.
22530
3a2c0242
UD
225312011-10-31 Ulrich Drepper <drepper@gmail.com>
22532
f4ec4833
UD
22533 [BZ #13367]
22534 * nss/getent.c (initgroups_keys): Show error message in case no group
22535 names are given.
22536
3a2c0242
UD
22537 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22538 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22539 __bump_nl_timestamp.
22540 * nscd/connections (nscd_init): When host database is served open
22541 netlink socket and request notification about configuration changes.
22542 (main_loop_poll): Track netlink file descriptor and bump timestamp
22543 in case data becomes available.
22544 (main_loop_epoll): Likewise.
22545 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22546 (database_pers_head): Add extra_data fileds.
22547 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22548 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22549 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22550 Adjust caller.
22551 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22552 in6ai data, call __free_in6ai.
22553 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22554 Add -DHAVE_NETLINK.
22555 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22556 interface information. Reuse previous data if netlink timestamp
22557 is not changed.
22558 (__bump_nl_timestamp): New function.
22559 (__free_in6ai): New function.
22560
636064eb
UD
225612011-10-30 Ulrich Drepper <drepper@gmail.com>
22562
22563 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22564 close_not_cancel_no_status here.
22565 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22566
9beb2334
UD
225672011-10-29 Ulrich Drepper <drepper@gmail.com>
22568
6ef76f3b
UD
22569 [BZ #13276]
22570 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22571 return value.
22572
0ffc4f3e 22573 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22574 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22575 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22576
cb95113e
UD
225772011-07-03 Andreas Jaeger <aj@suse.de>
22578
22579 [BZ #10709]
22580 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22581 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22582 * math/libm-test.inc (sin_test): Add test case.
22583
a1b560ff
UD
225842011-10-29 Ulrich Drepper <drepper@gmail.com>
22585
c9aaface
UD
22586 [BZ #13337]
22587 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22588 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22589
d272e7f1
UD
22590 * elf/chroot_canon.c (chroot_canon): Cleanups.
22591
1bc33071
UD
22592 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22593
1760874d
TJ
22594 [BZ #13335]
22595 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22596 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22597
51d91b18
UD
22598 * string/test-strchr.c: Make usable for strchrnul testing.
22599 * string/test-strchrnul.c: New file.
22600 * string/Makefile (strop-tests): Add strchrnul.
22601
a1b560ff 22602 * po/it.po: Update from translation team.
b611fb81 22603 * po/es.po: Likewise.
a1b560ff 22604
a5b81e1f
UD
226052011-10-28 Ulrich Drepper <drepper@gmail.com>
22606
fd52bc6d
UD
22607 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22608 the three constants needed as parameters. Drop the others.
22609 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22610 __m128i_strloadu_tolower.
52e4b9eb
UD
22611 Create and initialize variable zero and use it in all the places
22612 where _mm_setzero_si128 was used.
fd52bc6d 22613
a5b81e1f
UD
22614 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22615 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22616 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22617 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22618 anymore.
22619 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22620 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22621 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22622 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22623 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22624 __mpranred, __mptan.
22625 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22626 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22627 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22628 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22629 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22630 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22631 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22632 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22633 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22634
b4343346
AS
226352011-10-28 Andreas Schwab <schwab@redhat.com>
22636
0c92d8a8
AS
22637 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22638 redefine if SHARED.
22639 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22640
b4343346
AS
22641 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22642 wide char related routines to wcsmbs subdir.
22643
3871f58f
AS
226442011-10-27 Andreas Schwab <schwab@redhat.com>
22645
22646 [BZ #13344]
22647 * misc/sys/cdefs.h (__THROWNL): Define.
22648 * posix/unistd.h: Use __THREADNL instead of __THREAD
22649 for memory synchronization functions.
22650
94d44d9f
RM
226512011-10-26 Roland McGrath <roland@hack.frob.com>
22652
21b64b15 22653 [BZ #13349]
94d44d9f
RM
22654 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22655 doesn't exist.
22656 * manual/stdio.texi (Obstack Streams): Node removed.
22657
f6ce9294
AS
226582011-10-26 Andreas Schwab <schwab@redhat.com>
22659
80479147
AS
22660 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22661 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22662 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22663
f6ce9294
AS
22664 * math/math_private.h (math_force_eval): Allow non-addressable
22665 arguments.
22666 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22667
618280a1
UD
226682011-10-25 Ulrich Drepper <drepper@gmail.com>
22669
e0016b11
UD
22670 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22671 file is not needed.
22672
22673 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22675 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22676 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22677 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22678 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22679 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22680 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22681 Add AVX variants.
22682 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22683 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22684 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22685 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22686 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22687 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22688 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22689 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22690 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22691 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22692 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22693 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22694 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22695 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22696 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22697 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22698 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22699 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22700 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22701
22702 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22703 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22704
618280a1
UD
22705 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22706 place. Use VEX encoding when compiling for AVX.
22707
37822576
AS
227082011-10-25 Andreas Schwab <schwab@redhat.com>
22709
1f1e1947
AS
22710 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22711 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22712
37822576
AS
22713 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22714
31ea014d
UD
227152011-10-25 Ulrich Drepper <drepper@gmail.com>
22716
d7826aa1 22717 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22718 useless if() expression.
d7826aa1
UD
22719 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22728 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22729 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22730 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22731 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22732 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22733 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22734 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22735 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22736 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22737 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22738
31ea014d
UD
22739 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22740
16437fec
AS
227412011-10-25 Andreas Schwab <schwab@redhat.com>
22742
22743 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22744 condition.
22745 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22746
31d3cc00
UD
227472011-10-25 Ulrich Drepper <drepper@gmail.com>
22748
22749 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22750 .text section. Avoid duplicate constants.
22751 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22761 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22762 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22763 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22766 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22767 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22768 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22774 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22775 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22776 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22777 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22778 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22779 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22780 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22781 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22782 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22783 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22784 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22785 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22786 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22787 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22788 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22789 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22790 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22791 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22792 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22793 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22794 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22795 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22796
58985aa9
UD
227972011-10-24 Ulrich Drepper <drepper@gmail.com>
22798
202c9deb
UD
22799 * sysdeps/x86_64/dla.h: Move to ...
22800 * sysdeps/x86_64/fpu/dla.h: ...here.
22801 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22802 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22803
af968f62
UD
22804 * config.make.in: Add have-mfma4 entry.
22805 * configure.in: Substitute libc_cv_cc_fma4.
22806 * math/Makefile (dbl-only-routines): Add sincostab.
22807 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22808 Use __sincostab not sincos.
22809 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22810 name is a macro.
22811 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22812 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22813 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22815 using __copysign.
22816 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22817 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22818 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22819 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22820 and __inv.
22821 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22822 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22823 __copysign.
22824 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22825 define aliases when function name is a macro.
22826 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22827 sysdeps/ieee754/dbl-64/sincos.tbl.
22828 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22829 fma4-enabled routines.
22830 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22831 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22832 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22833 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22834 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22835 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22836 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22837 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22838 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22839 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22840 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22841 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22842 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22843 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22844 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22845 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22846 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22847 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22848 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22849 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22850 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22851 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22852 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22853 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22854 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22855 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22856 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22857 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22858 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22859 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22860
58985aa9
UD
22861 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22862 rename.
22863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22864 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22869 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22870 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22871
a201fbcf
AS
228722011-10-24 Andreas Schwab <schwab@redhat.com>
22873
22874 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22875
fc2ee42a
LD
228762011-10-23 Ulrich Drepper <drepper@gmail.com>
22877
bb3129bd
UD
22878 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22879
0275fff8
UD
22880 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22881 prediction.
22882 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22883
2fa2ae85
UD
22884 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22885 Remove unused variable magic_bits.
22886 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22887
fc2ee42a
LD
22888 * string/strnlen.c: Define and use STRNLEN macro.
22889 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22890 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22891 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22892 * wcsmbs/wcslen.c: Define and use WCSLEN.
22893 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22894 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22895 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22896 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22897 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22898 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22899 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22900
ce7dd29f
LD
229012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22902
22903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22904 strnlen-sse2-no-bsf.
22905 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22907 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22908 Add strnlen support.
22909 (USE_AS_STRNLEN): New macro.
22910 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22911 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22912 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22913 * sysdeps/x86_64/wcslen.S: New file.
22914
979c70a3
MZ
229152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22916
22917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22918 XMM-moves are used for copying on small sizes.
22919
2d09f82f
LD
229202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22921
22922 * wcsmbs/Makefile (strop-tests): Add wcschr.
22923 * wcsmbs/test-wcschr.c: New file.
22924 * string/test-strchr.c: Update.
22925 Add wcschr support.
22926 (WIDE): New macro.
22927
619fccca
LD
229282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22929
2d09f82f 22930 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22931 * wcsmbs/test-wcslen.c: New file.
22932 * string/test-strlen.c: Update.
22933 Add wcslen support.
22934 (WIDE): New macro.
22935
09f699ea
UD
229362011-10-23 Ulrich Drepper <drepper@gmail.com>
22937
22938 * po/it.po: Update from translation team.
22939
95584d3b
LD
229402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22941
22942 * sysdeps/x86_64/wcscmp.S: Update.
22943 Fix wrong comparison semantics.
22944 wcscmp shall use signed comparison not unsigned.
22945 Don't use substraction to avoid overflow bug.
22946 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22947 * wcsmbc/wcscmp.c: Likewise.
22948 * string/test-strcmp.c: Likewise.
22949 Add new tests to check cases with negative values.
22950
c8b3296b
UD
229512011-10-23 Ulrich Drepper <drepper@gmail.com>
22952
22953 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22954 * sysdeps/x86_64/dla.h: ...here. New file.
22955 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22958 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22959 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22960 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22962 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22964
246ad57a
AS
229652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22966
22967 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22968 __ynl_finite aliases.
22969
a1a87169
UD
229702011-10-22 Ulrich Drepper <drepper@gmail.com>
22971
0d355eb7
UD
22972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22973
a1a87169
UD
22974 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22975 define DLA_FMA.
22976 [DLA_FMA] (EMULV): Use DLA_FMA.
22977 [DLA_FMA] (MUL12): Use EMULV.
22978 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22979 that are not needed.
22980 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22982 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22986 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22987
ee2aafe0
AS
229882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22989
22990 * math/s_nan.c: Undef __nan.
22991 * math/s_nanf.c: Undef __nanf.
22992 * math/s_nanl.c: Undef __nanl.
22993 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22994 "math_private.h".
22995
bc62c2fb
UD
229962011-10-22 Ulrich Drepper <drepper@gmail.com>
22997
77425c63
UD
22998 * math/s_catan.c: Add branch predictions.
22999 * math/s_catanf.c: Likewise.
23000 * math/s_catanh.c: Likewise.
23001 * math/s_catanhf.c: Likewise.
23002 * math/s_catanhl.c: Likewise.
23003 * math/s_catanl.c: Likewise.
23004 * math/s_cexp.c: Likewise.
23005 * math/s_cexpf.c: Likewise.
23006 * math/s_cexpl.c: Likewise.
23007 * math/s_clog.c: Likewise.
23008 * math/s_clog10.c: Likewise.
23009 * math/s_clog10f.c: Likewise.
23010 * math/s_clog10l.c: Likewise.
23011 * math/s_clogf.c: Likewise.
23012 * math/s_clogl.c: Likewise.
23013 * math/s_csqrt.c: Likewise.
23014 * math/s_csqrtf.c: Likewise.
23015 * math/s_csqrtl.c: Likewise.
23016 * math/s_ctanf.c: Likewise.
23017 * math/s_ctanh.c: Likewise.
23018 * math/s_ctanhf.c: Likewise.
23019 * math/s_ctanhl.c: Likewise.
23020 * math/s_ctanl.c: Likewise.
23021
bc62c2fb
UD
23022 * math/math_private.h: Define __nan, __nanf, __nanl.
23023 * math/s_cacosh.c: Include <math_private.h>.
23024 * math/s_cacoshl.c: Likewise.
23025 * math/s_casinh.c: Likewise.
23026 * math/s_casinhf.c: Likewise.
23027 * math/s_casinhl.c: Likewise.
23028 * math/s_ccos.c: Rely entire on ccosh.
23029 * math/s_ccosf.c: Rely entire on ccoshf.
23030 * math/s_ccosl.c: Rely entirely on ccoshl.
23031 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23032 Remove tests for FE_INVALID.
23033 * math/s_ccoshf.c: Likewise.
23034 * math/s_ccoshl.c: Likewise.
23035 * math/s_csin.c: Likewise.
23036 * math/s_csinf.c: Likewise.
23037 * math/s_csinh.c Likewise.
23038 * math/s_csinhf.c: Likewise.
23039 * math/s_csinhl.c: Likewise.
23040 * math/s_csinl.c: Likewise.
23041 * math/s_ctan.c: Likewise.
23042 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23043 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23044 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23045
8ec250a4
UD
230462011-10-21 Ulrich Drepper <drepper@gmail.com>
23047
c196fed8
UD
23048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23049 compilation problems.
23050
8ec250a4
UD
23051 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23052 __builtin_expect.
23053
8d4f46c6
UD
230542011-10-20 Ulrich Drepper <drepper@gmail.com>
23055
ed72b654
UD
23056 * sysdeps/i386/configure.in: Test for -mfma4 option.
23057 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23058 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23059 COMMON_CPUID_INDEX_80000001.
23060 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23061 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23062 use it if FMA3 is not supported.
23063 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23064
8d4f46c6
UD
23065 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23066 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23067
d45c60c2
AS
230682011-10-20 Andreas Schwab <schwab@redhat.com>
23069
23070 [BZ #12892]
23071 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23072 it would create a cycle with a link time dependency.
23073
d9a4d2ab
UD
230742011-10-19 Ulrich Drepper <drepper@gmail.com>
23075
855d1560
UD
23076 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23077 instruction.
23078 * string/Makefile (strop-tests): Add rawmemchr.
23079 * string/test-rawmemchr.c: New file.
23080
d9a4d2ab
UD
23081 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23082 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23083 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23084 when compiling str{,n}casecmp and when AVX is available. Hook up
23085 new optimized code in initializers.
23086
8f3b1ffe
AS
230872011-10-19 Andreas Schwab <schwab@redhat.com>
23088
23089 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23090 __feraiseexcept instead of feraiseexcept.
23091
d38f1dba
UD
230922011-10-18 Ulrich Drepper <drepper@gmail.com>
23093
d9a8d0ab
UD
23094 * math/math_private.h: Define defaults for libc_fetestexcept and
23095 libc_feupdateenv.
23096 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23097 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23098 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23099 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23100 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23101 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23102 libc_fetestexcept and libc_feupdateenv.
23103
4855e3dd
UD
23104 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23105 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23106 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23107 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23108 libc_feholdexcept_setround.
23109
581d30e3
UD
23110 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23111 Add s_nearbyint-c and s_nearbyintf-c.
23112 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23113 nearbyintf inlines.
23114 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23115 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23116 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23117 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23118
d38f1dba
UD
23119 * math/math_private.h: Define defaults for libc_fegetround,
23120 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23121 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23122 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23123 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23124 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23125 standard functions.
23126 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23127 Remove comments and hacks for old compiler versions.
23128 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23129 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23130 libc_feholdexceptl.
23131
caa6c9d8
AS
231322011-10-18 Andreas Schwab <schwab@redhat.com>
23133
23134 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23135 (__feraiseexcept_renamed): Add __NTH.
23136 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23137 namespace violations.
23138
97c066e6
UD
231392011-10-17 Ulrich Drepper <drepper@gmail.com>
23140
99ce7b04
UD
23141 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23142
1004d182
UD
23143 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23144
228a984d
UD
23145 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23146 recently added interfaces.
23147 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23148
c8553a6a
UD
23149 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23150 about macro parameter expansion.
23151
ed22dcf6
UD
23152 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23153 __NO_MATH_INLINES is defined. Cleanups.
23154
23155 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23156 and __floorf is target has SSE4.1.
23157 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23158 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23159 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23160 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23161
b171c137
UD
23162 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23163 name.
23164 (floorf): Likewise.
23165
97c066e6
UD
23166 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23167
629f62ef
AS
231682011-10-17 Andreas Schwab <schwab@redhat.com>
23169
49a43d80
AS
23170 * misc/sys/cdefs.h: Fix last change.
23171
629f62ef
AS
23172 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23173 database lookup.
23174
e453f6cd
UD
231752011-10-16 Ulrich Drepper <drepper@gmail.com>
23176
aa78043a
UD
23177 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23178
ad0f5cad
UD
23179 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23180 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23185 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23186 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23187 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23188 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23189 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23190 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23191 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23192 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23193 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23194 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23195 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23196 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23197 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23198 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23199 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23200 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23201
23202 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23203 ceil, ceilf, floor, floorf.
23204
23205 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23206 Perform IRELATIVE relocations last.
23207
e453f6cd
UD
23208 * elf/do-rel.h: Add another parameter nrelative, replacing the
23209 local variable with the same name. Change name of the function
23210 to end in Rel or Rela (uppercase).
23211 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23212 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23213 elf_dynamic_do_##reloc function.
23214
fd5bdc09
UD
232152011-10-15 Ulrich Drepper <drepper@gmail.com>
23216
79b195b5
UD
23217 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23218 is sufficient, at least on modern CPUs.
23219
d4a28569
UD
23220 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23221
b61099b5
UD
23222 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23223 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23224
bcf01e6d
UD
23225 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23226 __expl_finite.
23227 * math/bits/math-finite.h: Add entries for exp.
23228 * math/e_expl.c: Add __*_finite alias.
23229 * sysdeps/i386/fpu/e_exp.S: Likewise.
23230 * sysdeps/i386/fpu/e_expf.S: Likewise.
23231 * sysdeps/i386/fpu/e_expl.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23233 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23234 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23237 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23238 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23239
ba1a0d59
UD
23240 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23241 is sufficient, at least on modern CPUs.
23242
fd5bdc09
UD
23243 * ctype/ctype-info.c (__ctype_init): Define.
23244 * include/ctype.h (__ctype_init): Declare.
23245 (__ctype_b_loc): The variable is always initialized.
23246 (__ctype_toupper_loc): Likewise.
23247 (__ctype_tolower_loc): Likewise.
23248 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23249 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23250
7872cfb0
AS
232512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23252
b468825a
AS
23253 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23254
7872cfb0
AS
23255 * configure.in: Also look in $cxxmachine/include for C++ system
23256 headers.
23257
be13f7bf
LD
232582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23259
23260 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23261 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23262 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23263 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23264 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23265 (USE_AS_WMEMCMP): New macro.
23266 Fixing indents.
23267 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23268 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23269 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23270 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23272 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23273 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23274 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23275 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23276 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23277 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23278 (USE_AS_WMEMCMP): New macro.
23279 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23280 * sysdeps/string/test-memcmp.c: Update.
23281 Fix simple_wmemcmp.
23282 Add new tests.
23283 * wcsmbs/wmemcmp.c: Update.
23284 (WMEMCMP): New macro.
23285 Fix overflow bug.
23286
556a2007
AJ
232872011-10-12 Andreas Jaeger <aj@suse.de>
23288
23289 [BZ #13268]
23290 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23291
538faaa7
UD
232922011-10-15 Ulrich Drepper <drepper@gmail.com>
23293
ab6737ff
UD
23294 * libio/iofwide.c (do_length): Avoid warning.
23295
538faaa7
UD
23296 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23297
396a21b1
UD
232982011-10-14 Ulrich Drepper <drepper@gmail.com>
23299
cdf2901f
UD
23300 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23301
38ad40ce
UD
23302 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23303 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23304 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23305 * sysdeps/i386/i686/fpu/e_log.S: New file.
23306 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23307 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23308
396a21b1
UD
23309 * ctype/ctype.h: Add support for inlined isXXX functions when
23310 compiling C++ code.
23311
6b1f68c9
AS
233122011-10-14 Andreas Schwab <schwab@redhat.com>
23313
349290c0
AS
23314 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23315
6b1f68c9
AS
23316 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23317
f2282d42
RM
233182011-10-13 Roland McGrath <roland@hack.frob.com>
23319
23320 [BZ #13291]
23321 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23322
5298ffa8
AS
233232011-10-13 Andreas Schwab <schwab@redhat.com>
23324
714fad23
AS
23325 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23326 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23327 feraiseexcept.
23328
81dcc7fb
AS
23329 * sysdeps/x86_64/memrchr.S: Check for zero size.
23330
5298ffa8
AS
23331 * string/stratcliff.c: Add memrchr tests.
23332
951fbcec
LD
233332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23334
23335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23336 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23337 rawmemchr-sse2 rawmemchr-sse2-bsf.
23338 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23339 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23340 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23341 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23342 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23343 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23344 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23345 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23346 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23347 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23348 * string/memrchr.c (MEMRCHR): New macro.
23349
0ac5ae23
UD
233502011-10-12 Ulrich Drepper <drepper@gmail.com>
23351
23352 Add integration with gcc's -ffinite-math-only and optimize wrapper
23353 functions in libm.
23354 * Versions.def: Define GLIBC_2.15 version for libm.
23355 * math/Makefile (headers): Add bits/math-finite.h.
23356 * math/bits/math-finite.h: New file.
23357 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23358 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23359 * math/e_acoshl.c: Add __*_finite alias.
23360 * math/e_acosl.c: Likewise.
23361 * math/e_asinl.c: Likewise.
23362 * math/e_atan2l.c: Likewise.
23363 * math/e_atanhl.c: Likewise.
23364 * math/e_coshl.c: Likewise.
23365 * math/e_exp10.c: Likewise.
23366 * math/e_exp10f.c: Likewise.
23367 * math/e_exp10l.c: Likewise.
23368 * math/e_exp2l.c: Likewise.
23369 * math/e_fmodl.c: Likewise.
23370 * math/e_gammal_r.c: Likewise.
23371 * math/e_hypotl.c: Likewise.
23372 * math/e_j0l.c: Likewise.
23373 * math/e_j1l.c: Likewise.
23374 * math/e_jnl.c: Likewise.
23375 * math/e_lgammal_r.c: Likewise.
23376 * math/e_log10l.c: Likewise.
23377 * math/e_log2l.c: Likewise.
23378 * math/e_logl.c: Likewise.
23379 * math/e_powl.c: Likewise.
23380 * math/e_sinhl.c: Likewise.
23381 * math/e_sqrtl.c: Likewise.
23382 * math/e_scalb.c: Completely rewritten and optimized.
23383 * math/e_scalbf.c: Likewise.
23384 * math/e_scalbl.c: Likewise.
23385 * math/w_acos.c: Likewise.
23386 * math/w_acosf.c: Likewise.
23387 * math/w_acosl.c: Likewise.
23388 * math/w_acosh.c: Likewise.
23389 * math/w_acoshf.c: Likewise.
23390 * math/w_acoshl.c: Likewise.
23391 * math/w_asin.c: Likewise.
23392 * math/w_asinf.c: Likewise.
23393 * math/w_asinl.c: Likewise.
23394 * math/w_atan2.c: Likewise.
23395 * math/w_atan2f.c: Likewise.
23396 * math/w_atan2l.c: Likewise.
23397 * math/w_atanh.c: Likewise.
23398 * math/w_atanhf.c: Likewise.
23399 * math/w_atanhl.c: Likewise.
23400 * math/w_exp10.c: Likewise.
23401 * math/w_exp10f.c: Likewise.
23402 * math/w_exp10l.c: Likewise.
23403 * math/w_fmod.c: Likewise.
23404 * math/w_fmodf.c: Likewise.
23405 * math/w_fmodl.c: Likewise.
23406 * math/w_j0.c: Likewise.
23407 * math/w_j0f.c: Likewise.
23408 * math/w_j0l.c: Likewise.
23409 * math/w_j1.c: Likewise.
23410 * math/w_j1f.c: Likewise.
23411 * math/w_j1l.c: Likewise.
23412 * math/w_jn.c: Likewise.
23413 * math/w_jnf.c: Likewise.
23414 * math/w_log.c: Likewise.
23415 * math/w_logf.c: Likewise.
23416 * math/w_logl.c: Likewise.
23417 * math/w_log10.c: Likewise.
23418 * math/w_log10f.c: Likewise.
23419 * math/w_log10l.c: Likewise.
23420 * math/w_log2.c: Likewise.
23421 * math/w_log2f.c: Likewise.
23422 * math/w_log2l.c: Likewise.
23423 * math/w_pow.c: Likewise.
23424 * math/w_powf.c: Likewise.
23425 * math/w_powl.c: Likewise.
23426 * math/w_remainder.c: Likewise.
23427 * math/w_remainderf.c: Likewise.
23428 * math/w_remainderl.c: Likewise.
23429 * math/w_scalb.c: Likewise.
23430 * math/w_scalbf.c: Likewise.
23431 * math/w_scalbl.c: Likewise.
23432 * math/w_sqrt.c: Likewise.
23433 * math/w_sqrtf.c: Likewise.
23434 * math/w_sqrtl.c: Likewise.
23435 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23436 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23437 used.
23438 * math/math_private.h: Declare __kernel_standard_f.
23439 * math/w_cosh.c: Remove cruft and optimize a bit.
23440 * math/w_coshf.c: Likewise.
23441 * math/w_coshl.c: Likewise.
23442 * math/w_exp2.c: Likewise.
23443 * math/w_exp2f.c: Likewise.
23444 * math/w_exp2l.c: Likewise.
23445 * math/w_hypot.c: Likewise.
23446 * math/w_hypotf.c: Likewise.
23447 * math/w_hypotl.c: Likewise.
23448 * math/w_lgamma.c: Likewise.
23449 * math/w_lgamma_r.c: Likewise.
23450 * math/w_lgammaf.c: Likewise.
23451 * math/w_lgammaf_r.c: Likewise.
23452 * math/w_lgammal.c: Likewise.
23453 * math/w_lgammal_r.c: Likewise.
23454 * math/w_sinh.c: Likewise.
23455 * math/w_sinhf.c: Likewise.
23456 * math/w_sinhl.c: Likewise.
23457 * math/w_tgamma.c: Likewise.
23458 * math/w_tgammaf.c: Likewise.
23459 * math/w_tgammal.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23461 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23462 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23463 Minor optimizations. Pretty printing. Remove cruft.
23464 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23465 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23466 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23467 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23468 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23469 * sysdeps/i386/fpu/e_asin.S: Likewise.
23470 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23471 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23472 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23473 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23474 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23475 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23476 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23477 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23478 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23479 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23480 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23481 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23482 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23483 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23484 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23485 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23486 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23487 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23488 * sysdeps/i386/fpu/e_log.S: Likewise.
23489 * sysdeps/i386/fpu/e_log10.S: Likewise.
23490 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23491 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23492 * sysdeps/i386/fpu/e_log2.S: Likewise.
23493 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23494 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23495 * sysdeps/i386/fpu/e_logf.S: Likewise.
23496 * sysdeps/i386/fpu/e_logl.S: Likewise.
23497 * sysdeps/i386/fpu/e_pow.S: Likewise.
23498 * sysdeps/i386/fpu/e_powf.S: Likewise.
23499 * sysdeps/i386/fpu/e_powl.S: Likewise.
23500 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23501 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23502 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23503 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23504 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23505 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23506 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23507 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23508 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23509 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23510 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23512 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23513 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23514 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23515 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23516 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23517 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23518 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23519 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23520 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23521 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23522 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23523 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23525 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23526 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23527 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23528 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23529 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23530 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23531 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23532 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23533 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23534 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23535 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23536 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23537 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23538 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23539 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23540 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23541 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23542 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23543 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23544 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23545 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23546 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23547 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23548 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23549 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23550 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23559 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23560 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23561 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23574 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23577 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23578 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23580 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23581 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23589 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23592 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23593 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23594 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23595 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23597 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23599 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23600 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23601 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23602 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23603 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23604 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23605 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23606 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23607 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23608 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23609 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23610 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23611 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23612 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23613 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23614 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23615 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23616 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23617 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23618 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23619 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23620 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23621 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23622 (__isnanf): Likewise.
23623 (__isinf_ns): Likewise.
23624 (__isinf_nsf): Likewise.
23625 (__finite): Likewise.
23626 (__finitef): Likewise.
23627 (__ieee754_sqrt): Define as macro.
23628 (__ieee754_sqrtf): Define as macro.
23629 (__ieee754_sqrtl): Define as macro.
23630 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23631 inlined copy.
23632 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23633 __FINITE_MATH_ONLY__ consistent.
23634 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23635
12cc2fcd
AS
236362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23637
a843a204
AS
23638 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23639 of rawmemchr.
23640
12cc2fcd
AS
23641 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23642
c853acd5
UD
236432011-10-09 Ulrich Drepper <drepper@gmail.com>
23644
23645 * po/ja.po: Update from translation team.
23646
c658d255
RM
236472011-10-08 Roland McGrath <roland@hack.frob.com>
23648
110946e4
RM
23649 * locale/programs/locarchive.c (prepare_address_space): New function.
23650 (create_archive, enlarge_archive, open_archive): Use it.
23651
50604220
RM
23652 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23653 inside [SHARED], where it is used.
23654
c658d255
RM
23655 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23656
23657 * nss/getent.c (netgroup_keys): Remove unused variable.
23658 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23659
6a621eb7
UD
236602011-10-08 Ulrich Drepper <drepper@gmail.com>
23661
7edb55ce
UD
23662 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23663 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23664 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23665 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23666 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23667 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23668 * math/Makefile (libm-calls): Add s_isinf_ns.
23669 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23670 * math/multc3.c: Likewise.
23671 * math/s_casin.c: Likewise.
23672 * math/s_casinf.c: Likewise.
23673 * math/s_casinl.c: Likewise.
23674 * math/s_ccos.c: Likewise.
23675 * math/s_ccosf.c: Likewise.
23676 * math/s_ccosl.c: Likewise.
23677 * math/s_ctan.c: Likewise.
23678 * math/s_ctanf.c: Likewise.
23679 * math/s_ctanh.c: Likewise.
23680 * math/s_ctanhf.c: Likewise.
23681 * math/s_ctanhl.c: Likewise.
23682 * math/s_ctanl.c: Likewise.
23683 * math/w_fmod.c: Likewise.
23684 * math/w_fmodf.c: Likewise.
23685 * math/w_fmodl.c: Likewise.
23686 * math/w_remainder.c: Likewise.
23687 * math/w_remainderf.c: Likewise.
23688 * math/w_remainderl.c: Likewise.
23689 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23690 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23691 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23692 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23693 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23694 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23695 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23696 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23697
187da0ae
UD
23698 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23699 of the number.
23700 * stdio-common/printf_fphex.c: Likewise.
23701 * stdio-common/printf_size.c: Likewise.
23702
9277c064
UD
23703 * math/e_exp10.c: Include math_private.h using <...> not "...".
23704 * math/e_exp10f.c: Likewise.
23705 * math/e_exp10l.c: Likewise.
23706 * math/e_exp2l.c: Likewise.
23707 * math/e_j0l.c: Likewise.
23708 * math/e_j1l.c: Likewise.
23709 * math/e_jnl.c: Likewise.
23710 * math/e_lgammal_r.c: Likewise.
23711 * math/e_rem_pio2l.c: Likewise.
23712 * math/e_scalb.c: Likewise.
23713 * math/e_scalbf.c: Likewise.
23714 * math/e_scalbl.c: Likewise.
23715 * math/k_cosl.c: Likewise.
23716 * math/k_sinl.c: Likewise.
23717 * math/k_tanl.c: Likewise.
23718 * math/s_cacoshf.c: Likewise.
23719 * math/s_catan.c: Likewise.
23720 * math/s_catanf.c: Likewise.
23721 * math/s_catanh.c: Likewise.
23722 * math/s_catanhf.c: Likewise.
23723 * math/s_catanhl.c: Likewise.
23724 * math/s_catanl.c: Likewise.
23725 * math/s_ccosh.c: Likewise.
23726 * math/s_ccoshf.c: Likewise.
23727 * math/s_ccoshl.c: Likewise.
23728 * math/s_cexp.c: Likewise.
23729 * math/s_cexpf.c: Likewise.
23730 * math/s_cexpl.c: Likewise.
23731 * math/s_clog.c: Likewise.
23732 * math/s_clog10.c: Likewise.
23733 * math/s_clog10f.c: Likewise.
23734 * math/s_clog10l.c: Likewise.
23735 * math/s_clogf.c: Likewise.
23736 * math/s_clogl.c: Likewise.
23737 * math/s_csin.c: Likewise.
23738 * math/s_csinf.c: Likewise.
23739 * math/s_csinh.c: Likewise.
23740 * math/s_csinhf.c: Likewise.
23741 * math/s_csinhl.c: Likewise.
23742 * math/s_csinl.c: Likewise.
23743 * math/s_csqrt.c: Likewise.
23744 * math/s_csqrtf.c: Likewise.
23745 * math/s_csqrtl.c: Likewise.
23746 * math/s_ctan.c: Likewise.
23747 * math/s_ctanf.c: Likewise.
23748 * math/s_ctanh.c: Likewise.
23749 * math/s_ctanhf.c: Likewise.
23750 * math/s_ctanhl.c: Likewise.
23751 * math/s_ctanl.c: Likewise.
23752 * math/s_ldexp.c: Likewise.
23753 * math/s_ldexpf.c: Likewise.
23754 * math/s_ldexpl.c: Likewise.
23755 * math/s_significand.c: Likewise.
23756 * math/s_significandf.c: Likewise.
23757 * math/s_significandl.c: Likewise.
23758 * math/w_acos.c: Likewise.
23759 * math/w_acosf.c: Likewise.
23760 * math/w_acosh.c: Likewise.
23761 * math/w_acoshf.c: Likewise.
23762 * math/w_acoshl.c: Likewise.
23763 * math/w_acosl.c: Likewise.
23764 * math/w_asin.c: Likewise.
23765 * math/w_asinf.c: Likewise.
23766 * math/w_asinl.c: Likewise.
23767 * math/w_atan2.c: Likewise.
23768 * math/w_atan2f.c: Likewise.
23769 * math/w_atan2l.c: Likewise.
23770 * math/w_atanh.c: Likewise.
23771 * math/w_atanhf.c: Likewise.
23772 * math/w_atanhl.c: Likewise.
23773 * math/w_cosh.c: Likewise.
23774 * math/w_coshf.c: Likewise.
23775 * math/w_coshl.c: Likewise.
23776 * math/w_dremf.c: Likewise.
23777 * math/w_exp10.c: Likewise.
23778 * math/w_exp10f.c: Likewise.
23779 * math/w_exp10l.c: Likewise.
23780 * math/w_exp2.c: Likewise.
23781 * math/w_exp2f.c: Likewise.
23782 * math/w_fmod.c: Likewise.
23783 * math/w_fmodf.c: Likewise.
23784 * math/w_fmodl.c: Likewise.
23785 * math/w_hypot.c: Likewise.
23786 * math/w_hypotf.c: Likewise.
23787 * math/w_hypotl.c: Likewise.
23788 * math/w_j0.c: Likewise.
23789 * math/w_j0f.c: Likewise.
23790 * math/w_j0l.c: Likewise.
23791 * math/w_j1.c: Likewise.
23792 * math/w_j1f.c: Likewise.
23793 * math/w_j1l.c: Likewise.
23794 * math/w_jn.c: Likewise.
23795 * math/w_jnf.c: Likewise.
23796 * math/w_jnl.c: Likewise.
23797 * math/w_lgamma.c: Likewise.
23798 * math/w_lgamma_r.c: Likewise.
23799 * math/w_lgammaf.c: Likewise.
23800 * math/w_lgammaf_r.c: Likewise.
23801 * math/w_lgammal.c: Likewise.
23802 * math/w_lgammal_r.c: Likewise.
23803 * math/w_log.c: Likewise.
23804 * math/w_log10.c: Likewise.
23805 * math/w_log10f.c: Likewise.
23806 * math/w_log10l.c: Likewise.
23807 * math/w_log2.c: Likewise.
23808 * math/w_log2f.c: Likewise.
23809 * math/w_log2l.c: Likewise.
23810 * math/w_logf.c: Likewise.
23811 * math/w_logl.c: Likewise.
23812 * math/w_pow.c: Likewise.
23813 * math/w_powf.c: Likewise.
23814 * math/w_powl.c: Likewise.
23815 * math/w_remainder.c: Likewise.
23816 * math/w_remainderf.c: Likewise.
23817 * math/w_remainderl.c: Likewise.
23818 * math/w_scalb.c: Likewise.
23819 * math/w_scalbf.c: Likewise.
23820 * math/w_scalbl.c: Likewise.
23821 * math/w_sinh.c: Likewise.
23822 * math/w_sinhf.c: Likewise.
23823 * math/w_sinhl.c: Likewise.
23824 * math/w_sqrt.c: Likewise.
23825 * math/w_sqrtf.c: Likewise.
23826 * math/w_sqrtl.c: Likewise.
23827 * math/w_tgamma.c: Likewise.
23828 * math/w_tgammaf.c: Likewise.
23829 * math/w_tgammal.c: Likewise.
23830
6a621eb7
UD
23831 * po/ja.po: Update from translation team.
23832
bf582445
AJ
238332011-09-29 Andreas Jaeger <aj@suse.de>
23834
f9efbf3a
AJ
23835 [BZ #13179]
23836 * sunrpc/netname.c (netname2host): Fix logic.
23837
bf582445
AJ
23838 [BZ #6779]
23839 [BZ #6783]
23840 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23841 correctly.
23842 * math/w_remainder.c (__remainder): Likewise.
23843 * math/w_remainderf.c (__remainderf): Likewise.
23844 * math/libm-test.inc (remainder_test): Add test cases.
23845
48693bea
AK
238462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23847
23848 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23849 sdiv_qrnnd.
23850
42622229
LD
238512011-10-07 Ulrich Drepper <drepper@gmail.com>
23852
23853 * string/test-memcmp.c: Avoid unncessary #defines.
23854 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23855
093ecf92
LD
238562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23857
23858 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23859 Use new sse2 version for core i3 - i7 as it's faster
23860 than sse42 version.
23861 (bit_Prefer_PMINUB_for_stringop): New.
23862 * sysdeps/x86_64/rawmemchr.S: Update.
23863 Replace with faster SSE2 version.
23864 * sysdeps/x86_64/memrchr.S: New file.
23865 * sysdeps/x86_64/memchr.S: Update.
23866 Replace with faster SSE2 version.
23867
fde56e5c
MP
238682011-09-12 Marek Polacek <mpolacek@redhat.com>
23869
23870 * elf/dl-load.c (lose): Add cast to avoid warning.
23871
21fd49a9
UD
238722011-10-07 Ulrich Drepper <drepper@gmail.com>
23873
5a06e643
UD
23874 * po/ca.po: Update from translation team.
23875
684ae515
UD
23876 * inet/getnetgrent_r.c: Hook up nscd.
23877 * nscd/Makefile (routines): Add nscd_netgroup.
23878 (nscd-modules): Add netgroupcache.
23879 (CFLAGS-netgroupcache.c): Define.
23880 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23881 (cache_search): Add const to second parameter.
23882 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23883 INNETGR.
23884 (dbs): Add netgrdb entry.
23885 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23886 (verify_persistent_db): Handle netgrdb.
23887 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23888 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23889 GETFDNETGR.
23890 (netgroup_response_header): Define.
23891 (innetgroup_response_header): Define.
23892 (datahead): Add netgroup_response_header and innetgroup_response_header
23893 elements.
23894 * nscd/nscd.conf: Add entries for netgroup cache.
23895 * nscd/nscd.h (dbtype): Add netgrdb.
23896 (_PATH_NSCD_NETGROUP_DB): Define.
23897 (netgroup_iov_disabled): Declare.
23898 (xmalloc, xcalloc, xrealloc): Move declarations here.
23899 (cache_search): Adjust prototype.
23900 Add netgroup-related prototypes.
23901 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23902 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23903 (__nscd_innetgr): Declare.
23904 * nscd/selinux.c (perms): Use access_vector_t as element type and
23905 add netgroup-related initializers.
23906 * nscd/netgroupcache.c: New file.
23907 * nscd/nscd_netgroup.c: New file.
23908 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23909 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23910 For four parameters use innetgr.
23911 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23912 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23913 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23914 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23915
21fd49a9
UD
23916 * nscd/connections.c (register_traced_file): Don't register file
23917 for disabled databases.
23918
054c0457
UD
239192011-10-06 Ulrich Drepper <drepper@gmail.com>
23920
32b63198
UD
23921 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23922
054c0457
UD
23923 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23924 from tree and freeing node.
23925
64031225
JO
239262011-09-25 Jiri Olsa <jolsa@redhat.com>
23927
23928 * nss/nsswitch.c (__nss_database_lookup): Handle
23929 nss_parse_service_list out of memory case.
23930
0490345c
JO
239312011-09-15 Jiri Olsa <jolsa@redhat.com>
23932
23933 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23934 out of memory case.
23935
3a62d00d
AS
239362011-10-04 Andreas Schwab <schwab@redhat.com>
23937
23938 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23939 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23940 pass it down.
23941 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23942 elf_machine_rela, elf_machine_lazy_rel.
23943 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23944 (ELF_DYNAMIC_DO_REL): Likewise.
23945 (ELF_DYNAMIC_DO_RELA): Likewise.
23946 (ELF_DYNAMIC_RELOCATE): Likewise.
23947 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23948 to ELF_DYNAMIC_DO_REL.
23949 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23950 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23951 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23952 elf_machine_rela.
23953 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23954 skip_ifunc, don't call ifunc function if non-zero.
23955 (elf_machine_rela): Likewise.
23956 (elf_machine_lazy_rel): Likewise.
23957 (elf_machine_lazy_rela): Likewise.
23958 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23959 (elf_machine_lazy_rel): Likewise.
23960 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23961 Likewise.
23962 (elf_machine_lazy_rel): Likewise.
23963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23964 Likewise.
23965 (elf_machine_lazy_rel): Likewise.
23966 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23967 (elf_machine_lazy_rel): Likewise.
23968 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23969 (elf_machine_lazy_rel): Likewise.
23970 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23971 (elf_machine_lazy_rel): Likewise.
23972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23973 (elf_machine_lazy_rel): Likewise.
23974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23975 (elf_machine_lazy_rel): Likewise.
23976 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23977 (elf_machine_lazy_rel): Likewise.
23978
68577918
UD
239792011-09-28 Ulrich Drepper <drepper@gmail.com>
23980
23981 * nss/nss_files/files-init.c (_nss_files_init): Use static
23982 initialization for all the *_traced_file variables.
23983
68822d74
AS
239842011-09-28 Andreas Schwab <schwab@redhat.com>
23985
23986 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23987
2056100b
RM
239882011-09-27 Roland McGrath <roland@hack.frob.com>
23989
23990 [BZ #13226]
23991 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23992
32c76b63
AS
239932011-09-27 Andreas Schwab <schwab@redhat.com>
23994
23995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23996 Reread the line before reparsing it.
23997
bf972c9d
AS
239982011-09-26 Andreas Schwab <schwab@redhat.com>
23999
24000 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24001
e057a1b5
JM
240022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24003 Maxim Kuvyrkov <maxim@codesourcery.com>
24004 Joseph Myers <joseph@codesourcery.com>
24005
24006 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24007 if needed for __stack_chk_guard.
24008
bc7e1c36
RM
240092011-09-19 Roland McGrath <roland@hack.frob.com>
24010
ecb1482f
RM
24011 * sysdeps/posix/spawni.c (script_execute): Always define it.
24012 It will be optimized away if unused.
24013 (maybe_script_execute): New function.
24014 (__spawni): Call it.
24015
bc7e1c36
RM
24016 * Makerules: Don't include tls.make.
24017 (config-tls): Always set to thread.
24018 * tls.make.c: File removed.
24019
1c3b002b
MF
240202011-09-19 Mike Frysinger <vapier@gentoo.org>
24021
24022 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24023 * config.make.in (CPPFLAGS-config): New substituted variable.
24024
2840865d
UD
240252011-09-15 Ulrich Drepper <drepper@gmail.com>
24026
88738eb6
UD
24027 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24028
cbf645a6 24029 [BZ #13192]
2840865d
UD
24030 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24031 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24032
b402e91a
RM
240332011-09-15 Roland McGrath <roland@hack.frob.com>
24034
24035 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24036 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24038 (CALL_FAIL): Likewise.
24039 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24040 (CALL_FAIL): Macro removed.
24041 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24042
4c1a1f71
UD
240432011-09-15 Ulrich Drepper <drepper@gmail.com>
24044
24045 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24046 for __FINITE_MATH_ONLY__ == 1.
24047
edc121be
AS
240482011-09-15 Andreas Schwab <schwab@redhat.com>
24049
24050 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24051 __ieee754_sqrt instead of sqrt.
24052 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24053 __ieee754_sqrtf instead of sqrtf.
24054 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24055 __floorf instead of floorf.
24056 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24057 __floorf, __truncf instead of floorf, truncf.
24058
cd205654
UD
240592011-09-14 Ulrich Drepper <drepper@gmail.com>
24060
ee4d0315
UD
24061 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24062
cd205654
UD
24063 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24064 __extern_always_inline.
24065 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24066 32-bit.
24067
48b67d71
AS
240682011-09-14 Andreas Schwab <schwab@redhat.com>
24069
24070 * elf/rtld.c (dl_main): Also relocate in dependency order when
24071 doing symbol dependency testing.
24072
1ae12c75
AS
240732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24074
24075 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24076 Always define `refsym'.
24077
995a80df
AS
240782011-09-13 Andreas Schwab <schwab@redhat.com>
24079
e529793b
AS
24080 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24081 (__FD_ELT): Renamed from __FDELT.
24082 * misc/bits/select2.h (__FD_ELT): Likewise.
24083 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24084 __FD_MASK instead of __FDELT, __FDMASK.
24085 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24086 Likewise.
24087 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24088 Likewise.
24089
52d4fef8
AS
24090 * elf/Makefile (gen-ldd): Fix pattern.
24091
995a80df
AS
24092 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24093 (init_tls): Likewise.
24094
8682f8b0
UD
240952011-09-12 Ulrich Drepper <drepper@gmail.com>
24096
24097 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24098
de82006d
AS
240992011-09-12 Andreas Schwab <schwab@redhat.com>
24100
a7c8e6a1
AS
24101 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24102 `struct cmsghdr *' instead of `void *'.
24103 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24104 Likewise.
24105
0f31fe77
AS
241062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24107
24108 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24109 if non-absolute.
24110 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24111 ldd_rewrite_script.
0f31fe77 24112
32b4c839
UD
241132011-09-11 Ulrich Drepper <drepper@gmail.com>
24114
83cd1420
UD
24115 * configure.in: Remove --with-tls option.
24116 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24117 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24118 out in case it is missing.
24119 * sysdeps/ia64/elf/configure.in: Likewise.
24120 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24121 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24122 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24123 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24124 * sysdeps/sh/elf/configure.in: Likewise.
24125 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24126 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24127 * sysdeps/x86_64/elf/configure.in: Likewise.
24128 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24129 * sysdeps/mach/hurd/tls.h: Likewise.
24130
633f745d
UD
24131 [BZ #13067]
24132 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24133
f318beb8
UD
24134 [BZ #13090]
24135 * configure.in: Fix use of AC_INIT.
24136
32b4c839
UD
24137 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24138
3ce1f295
UD
241392011-09-10 Ulrich Drepper <drepper@gmail.com>
24140
bb016596
UD
24141 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24142 __set_errno.
8e58439c
UD
24143 * malloc/hooks.c: Likewise.
24144
aebae053 24145 [BZ #11929]
02d46fc4
UD
24146 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24147 variables statically.
24148 (narenas): Initialize.
24149 (list_lock): Initialize.
bb016596
UD
24150 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24151 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24152 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24153 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24154 Add initializers to main_arena and mp_.
24155 (malloc_state): Remove pagesize member. Change all users to use
24156 GLRO(dl_pagesize).
24157
24158 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24159 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24160 is always initialized.
24161
22a89187
UD
24162 * malloc/malloc.c: Removed unused configurations and dead code.
24163 * malloc/arena.c: Likewise.
24164 * malloc/hooks.c: Likewise.
02d46fc4 24165 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24166
d063d164
UD
24167 * include/tls.h: Removed. USE___THREAD must always be defined.
24168 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24169 * elf/dl-libc.c: Likewise.
24170 * elf/dl-tsd.c: Likewise.
24171 * include/errno.h: Likewise.
24172 * include/netdb.h: Likewise.
24173 * include/resolv.h: Likewise.
24174 * inet/herrno-loc.c: Likewise.
24175 * inet/herrno.c: Likewise.
24176 * malloc/arena.c: Likewise.
24177 * malloc/hooks.c: Likewise.
24178 * malloc/malloc.c: Likewise.
24179 * resolv/res-state.c: Likewise.
24180 * resolv/res_libc.c: Likewise.
24181 * sysdeps/i386/dl-machine.h: Likewise.
24182 * sysdeps/ia64/dl-machine.h: Likewise.
24183 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24184 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24185 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24186 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24187 * sysdeps/sh/dl-machine.h: Likewise.
24188 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24189 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24190 * sysdeps/unix/i386/sysdep.S: Likewise.
24191 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24192 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24194 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24195 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24196 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24197 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24201 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24202 * sysdeps/x86_64/dl-machine.h: Likewise.
24203 * tls.make.c: Likewise.
24204
3ce1f295
UD
24205 * configure.in: Remove --with-__thread option. Make tests for
24206 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24207 tls_model attribute fail if no support is available. Remove
24208 USE_IN_LIBIO.
24209 * Makeconfig: Adjust for dropped configure option. All features are
24210 now mandatory.
24211 * Makerules: Likewise.
24212 * Versions.def: Likewise.
24213 * argp/argp-fmtstream.c: Likewise.
24214 * argp/argp-fmtstream.h: Likewise.
24215 * argp/argp-help.c: Likewise.
24216 * assert/assert.c: Likewise.
24217 * config.h.in: Likewise.
24218 * config.make.in: Likewise.
24219 * configure: Likewise.
24220 * configure.in: Likewise.
24221 * csu/Versions: Likewise.
24222 * csu/init.c: Likewise.
24223 * elf/tst-audit2.c: Likewise.
24224 * elf/tst-tls10.c: Likewise.
24225 * elf/tst-tls10.h: Likewise.
24226 * elf/tst-tls11.c: Likewise.
24227 * elf/tst-tls12.c: Likewise.
24228 * elf/tst-tls14.c: Likewise.
24229 * elf/tst-tlsmod11.c: Likewise.
24230 * elf/tst-tlsmod12.c: Likewise.
24231 * elf/tst-tlsmod13.c: Likewise.
24232 * elf/tst-tlsmod13a.c: Likewise.
24233 * elf/tst-tlsmod14a.c: Likewise.
24234 * elf/tst-tlsmod15b.c: Likewise.
24235 * elf/tst-tlsmod16a.c: Likewise.
24236 * elf/tst-tlsmod16b.c: Likewise.
24237 * elf/tst-tlsmod7.c: Likewise.
24238 * elf/tst-tlsmod8.c: Likewise.
24239 * elf/tst-tlsmod9.c: Likewise.
24240 * gmon/gmon.c: Likewise.
24241 * grp/fgetgrent_r.c: Likewise.
24242 * grp/putgrent.c: Likewise.
24243 * hurd/fopenport.c: Likewise.
24244 * include/libc-symbols.h: Likewise.
24245 * include/tls.h: Likewise.
24246 * intl/gettextP.h: Likewise.
24247 * intl/loadinfo.h: Likewise.
24248 * locale/global-locale.c: Likewise.
24249 * locale/localeinfo.h: Likewise.
24250 * mach/devstream.c: Likewise.
24251 * malloc/arena.c: Likewise.
24252 * malloc/set-freeres.c: Likewise.
24253 * misc/err.c: Likewise.
24254 * misc/getttyent.c: Likewise.
24255 * misc/mntent_r.c: Likewise.
24256 * posix/getopt.c: Likewise.
24257 * posix/wordexp.c: Likewise.
24258 * pwd/fgetpwent_r.c: Likewise.
24259 * resolv/Versions: Likewise.
24260 * resolv/res_hconf.c: Likewise.
24261 * shadow/fgetspent_r.c: Likewise.
24262 * shadow/putspent.c: Likewise.
24263 * stdio-common/printf_fphex.c: Likewise.
24264 * stdio-common/tmpfile.c: Likewise.
24265 * stdlib/abort.c: Likewise.
24266 * stdlib/fmtmsg.c: Likewise.
24267 * sunrpc/auth_unix.c: Likewise.
24268 * sunrpc/clnt_perr.c: Likewise.
24269 * sunrpc/clnt_tcp.c: Likewise.
24270 * sunrpc/clnt_udp.c: Likewise.
24271 * sunrpc/clnt_unix.c: Likewise.
24272 * sunrpc/openchild.c: Likewise.
24273 * sunrpc/svc_simple.c: Likewise.
24274 * sunrpc/svc_tcp.c: Likewise.
24275 * sunrpc/svc_udp.c: Likewise.
24276 * sunrpc/svc_unix.c: Likewise.
24277 * sunrpc/xdr.c: Likewise.
24278 * sunrpc/xdr_array.c: Likewise.
24279 * sunrpc/xdr_rec.c: Likewise.
24280 * sunrpc/xdr_ref.c: Likewise.
24281 * sunrpc/xdr_stdio.c: Likewise.
24282
1248c1c4
PB
242832011-09-09 Ulrich Drepper <drepper@gmail.com>
24284
24285 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24286
242872011-07-03 Andreas Jaeger <aj@suse.de>
24288
24289 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24290 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24291 regenerate with gen-libm-tests.pl.
24292
242932010-05-12 Petr Baudis <pasky@suse.cz>
24294
24295 [BZ #11589]
24296 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24297 around j0() zero points by switching to j1().
24298 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24299 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24301 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24302
f22e1074
UD
243032011-09-09 Ulrich Drepper <drepper@gmail.com>
24304
f19009c1
UD
24305 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24306 instead of 0.
24307 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24308 instead of 0.
f19009c1
UD
24309 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24310 Patch in part by Pavel Roskin <proski@gnu.org>.
24311
3f8cc204
UD
24312 [BZ #13138]
24313 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24314 realloc.
24315 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24316 Free memory block if necessary.
24317
f22e1074
UD
24318 [BZ #12847]
24319 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24320 be NULL. Don't lock in this case.
24321
0a2349f9
RM
243222011-09-09 Roland McGrath <roland@hack.frob.com>
24323
24324 * elf/elf.h (ELFOSABI_GNU): New macro.
24325 (ELFOSABI_LINUX): Define to that.
24326
f3cdd467
DZ
243272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24328
24329 * string/strncat.c (strncat): Undef the symbol in case it has been
24330 defined in bits/string.h.
24331
74718d13
UD
243322011-09-09 Ulrich Drepper <drepper@gmail.com>
24333
633e9e0f
UD
24334 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24335
0a2349f9 24336 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24337 link map.
24338
f9924780
AJ
243392011-08-17 Andreas Jaeger <aj@suse.de>
24340
24341 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24342
7f5517aa
PP
243432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24344 Ian Lance Taylor <iant@google.com>
24345
24346 * math/libm-test.inc (lround_test): New testcase.
24347 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24348
762011fe
UD
243492011-09-08 Ulrich Drepper <drepper@gmail.com>
24350
92963737
UD
24351 * Makefile: Remove support for automatic cvs check-ins.
24352 * Makerules: Likewise.
24353 * config.make.in: Likewise.
24354 * configure.in: Likewise.
24355 * intl/Makefile: Likewise.
24356 * locale/Makefile: Likewise.
24357 * po/Makefile: Likewise.
24358 * posix/Makefile: Likewise.
24359 * sysdeps/gnu/Makefile: Likewise.
24360 * sysdeps/mach/hurd/Makefile: Likewise.
24361 * sysdeps/sparc/sparc32/Makefile: Likewise.
24362
b0727fd8
JS
24363 [BZ #13118]
24364 * posix/Makefile (bug-regex32-ENV): Define.
24365 Patch by John Stanley <jpsinthemix@verizon.net>.
24366
a0f33f99
UD
24367 * misc/Makefile (headers): Add bits/select2.h.
24368 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24369 * misc/bits/select2.h: New file.
24370 * include/bits/select2.h: New file.
24371 * debug/Makefile (routines): Add fdelt_chk.
24372 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24373 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24374 FD_ISSET.
24375 * debug/fdelt_chk.c: New file.
24376
762011fe
UD
24377 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24378 * wcsmbs/test-wmemcmp.c: Likewise.
24379 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24380 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24381
243822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24383
24384 * string/Makefile (strop-tests): Add memcmp.
24385 * string/test-wmemcmp.c: New file.
24386 * string/test-memcmp.c: Add wmemcmp support.
24387
7f513ec8
RM
243882011-09-08 Roland McGrath <roland@hack.frob.com>
24389
0442afb4
RM
24390 [BZ #13153]
24391 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24392 2011-07-19 change.
24393
7f513ec8
RM
24394 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24395 garbage value in a __mach_port_mod_refs call in the cases of the
24396 task-self and thread-self ports.
24397
a12b2239
ST
243982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24399
24400 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24401
610f9ab4
AS
244022011-09-08 Andreas Schwab <schwab@redhat.com>
24403
7f513ec8 24404 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24405
48882a1a
LD
244062011-09-07 Ulrich Drepper <drepper@gmail.com>
24407
b49865be
UD
24408 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24409
fdc86bc9
UD
24410 * elf/dl-libc.c (dlerror_run): Pass back error code from
24411 dl_catch_error.
24412
c966526a
UD
24413 [BZ #13123]
24414 * elf/dl-load.c (lose): Free l_origin if it is valid.
24415
48882a1a
LD
24416 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24417 names.
24418 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24419 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24420 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24421 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24422 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24423 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24424
77a2a8b4
AZ
244252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24426
24427 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24428 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24429 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24430 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24431 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24432 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24433 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24434 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24435 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24436 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24437
24f579d8
AM
244382011-08-15 Alan Modra <amodra@gmail.com>
24439
24440 [BZ #13092]
24441 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24442 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24443 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24444 ppc_mcount to static-only-routines.
24445 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24446 __mcount_internal.
24447 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24448 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24449
3d4837df
UD
244502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24451
24452 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24453 for finite and infinity parameters.
24454
22700377
WS
244552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24456
24457 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24458 and add nop instructions for throughput optimization.
24459 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24460
5025581e
WS
244612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24462
24463 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24464 aligned copy for power7 with vector-scalar instructions.
24465 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24466
08a300c9
L
244672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24468
24469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24470 AVX check.
24471
59178ef9
AS
244722011-09-07 Andreas Schwab <schwab@redhat.com>
24473
24474 [BZ #13144]
24475 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24476 last change.
24477
e38ba7ab
UD
244782011-09-07 Ulrich Drepper <drepper@gmail.com>
24479
24480 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24481 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24482 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24483 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24484 clock_gettime.
24485
d53a73ac
UD
244862011-09-06 Ulrich Drepper <drepper@gmail.com>
24487
fc8bffcc
UD
24488 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24489 Forgot to demangle the pointer.
24490
ceaa0c5d
UD
24491 * sysdeps/i386/sysdep.h: Define atom_text_section.
24492 * sysdeps/x86_64/sysdep.h: Likewise.
24493 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24494 section with atom_text_section.
24495 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24496 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24497 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24498 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24499 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24500
a77d3c17
UD
24501 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24502 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24503 already be defined. Change to take two parameters and don't assign
24504 result to variable. Adjust all users.
24505 Define INTERNAL_GETTIME if not already defined.
24506 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24507 call.
24508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24509 HAVE_CLOCK_GETTIME_VSYSCALL.
24510 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24511
d53a73ac
UD
24512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24513 gettimeofday vsyscall, just use time.
24514
a8f84144
AS
245152011-09-06 Andreas Schwab <schwab@redhat.com>
24516
24517 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24518 <errno.h>.
24519
ef606249
UD
245202011-09-06 Ulrich Drepper <drepper@gmail.com>
24521
24522 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24523 syscall on x86-64.
24524 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24525 syscall.
24526 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24527 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24528 syscall if possible.
24529
6585cb60
UD
245302011-09-05 Ulrich Drepper <drepper@gmail.com>
24531
24532 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24533 e_ident. Don't pass to find_mapsXX.
24534 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24535
a5f524e4
LD
245362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24537
24538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24539 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24540 * sysdeps/x86_64/multiarch/strchr.S: Update.
24541 Check bit_slow_BSF bit.
24542 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24543 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24544 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24545
554881ef
UD
245462011-09-05 Ulrich Drepper <drepper@gmail.com>
24547
d96de963
UD
24548 [BZ #13134]
24549 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24550 before glibc 2.15.
24551 (tryshell): Define.
24552 (__spawni): Change last parameter to be flag. Test
24553 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24554 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24555 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24556 * posix/spawni.c: Likewise.
24557 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24558 * posix/spawnp.c: Likewise. Change normal version to use
24559 SPAWN_XFLAGS_USE_PATH.
24560 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24561 SPAWN_XFLAGS_TRY_SHELL.
24562
d48e5868
UD
24563 [BZ #13150]
24564 * posix/glob.h: Remove gcc 1.x support.
24565
554881ef
UD
24566 [BZ #13068]
24567 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24568
693fb948
LD
245692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24570
24571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24572 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24573 strrchr-sse2-bsf
24574 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24575 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24576 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24577 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24578 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24579 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24580
1b48c537
UD
245812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24582
49d42c37
UD
24583 * sysdeps/x86_64/wcscmp.S: New file.
24584
1b48c537
UD
24585 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24586 wcscmp-c wcscmp-sse2
24587 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24588 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24589 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24590 * wcsmbs/wcscmp.c: Allow renaming.
24591
15c95c5d
DM
245922011-09-05 David S. Miller <davem@davemloft.net>
24593
24594 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24595 stack slot, rather than the struct return pointer slot.
24596 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24597 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24599 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24600
2f0ad8f3
UD
246012011-09-05 Ulrich Drepper <drepper@gmail.com>
24602
d88ae418
UD
24603 * po/ja.po: Update from translation team.
24604
2f0ad8f3
UD
24605 [BZ #13144]
24606 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24607 kernel in 64-bit binaries.
24608
5f4318d1
DM
246092011-09-01 David S. Miller <davem@davemloft.net>
24610
24611 * elf/elf.h (HWCAP_SPARC_*): Move to..
24612 * sysdeps/sparc/sysdep.h: this new file and add new values.
24613 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24614 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24615 _DL_HWCAP_COUNT to 24.
24616 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24617 entries.
24618 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24619 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24620 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24622 instead of magic constants.
24623 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24624
3ba57516
DM
246252011-08-31 David S. Miller <davem@davemloft.net>
24626
24627 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24629 Reimplement to do errno handling inline.
24630 (SYSCALL_ERROR_HANDLER): New macro.
24631 (__SYSCALL_STRING): Do not do errno handling in asm.
24632 (__CLONE_SYSCALL_STRING): Delete.
24633 (__INTERNAL_SYSCALL_STRING): Delete.
24634 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24635 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24636 (PSEUDO): Reimplement to do errno handling inline.
24637 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24638 (SYSCALL_ERROR_HANDLER): New macro.
24639 (__SYSCALL_STRING): Do not do errno handling in asm.
24640 (__CLONE_SYSCALL_STRING): Delete.
24641 (__INTERNAL_SYSCALL_STRING): Delete.
24642 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24643 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24644 i386.
24645 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24646 (inline_syscall*): Add 'err' argument.
24647 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24648 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24649 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24650 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24651
24652 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24653 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24654
2bc17433
AS
246552011-08-30 Andreas Schwab <schwab@redhat.com>
24656
24657 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24658
fbeb5f4d
JO
246592011-08-29 Jiri Olsa <jolsa@redhat.com>
24660
24661 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24662 directive.
24663
ad69cc26
DM
246642011-08-24 David S. Miller <davem@davemloft.net>
24665
24666 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24667
39dd69df
AS
246682011-08-24 Andreas Schwab <schwab@redhat.com>
24669
24670 * elf/Makefile: Add rules to build and run unload8 test.
24671 * elf/unload8.c: New file.
24672 * elf/unload8mod1.c: New file.
24673 * elf/unload8mod1x.c: New file.
24674 * elf/unload8mod2.c: New file.
24675 * elf/unload8mod3.c: New file.
24676
24677 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24678 it wasn't used.
24679
2c0b250a
DM
246802011-08-23 David S. Miller <davem@davemloft.net>
24681
24682 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24683 subtract stack bias.
24684 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24685 %sp not %fp in calculations.
24686 (_JMPBUF_UNWINDS_ADJ): Likewise.
24687
22044b48
DM
24688 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24689 (aio_suspend): Call it to force an exception region around the
24690 AIO_MISC_WAIT() invocation.
24691
2cae4995
AS
246922011-08-23 Andreas Schwab <schwab@redhat.com>
24693
24694 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24695 backslash.
24696
873a772e
AJ
246972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24698
24699 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24700 protection macro.
24701 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24702 and <dl-machine.h>.
24703 (Elf64_FuncDesc): Remove.
24704
25ad0df1
DM
247052011-08-22 David S. Miller <davem@davemloft.net>
24706
24707 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24708 sigaltstack check, add missing cfi directives.
24709 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24710 missing cfi directives, and sigaltstack handling.
24711
e888bcbe
AS
247122011-08-16 Andreas Schwab <schwab@redhat.com>
24713
24714 [BZ #11724]
24715 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24716 object is seen twice.
24717 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24718
24719 * elf/Makefile (distribute): Add tst-initorder2.c.
24720 (tests): Add tst-initorder2.
24721 (modules-names): Add tst-initorder2a tst-initorder2b
24722 tst-initorder2c tst-initorder2d. Add rules to build them.
24723 ($(objpfx)tst-initorder2.out): New rule.
24724 * elf/tst-initorder2.c: New file.
24725 * elf/tst-initorder2.exp: New file.
24726
87162f46
AS
247272011-08-22 Andreas Schwab <schwab@redhat.com>
24728
70538b7f
AS
24729 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24730
f55ffe58
AS
24731 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24732 dependencies back to end of function.
24733
87162f46
AS
24734 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24735 $(elfobjdir)/ld.so.
24736
91b392a4
UD
247372011-08-21 Ulrich Drepper <drepper@gmail.com>
24738
24739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24740 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24742 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24743 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24744 of __vdso_gettimeofday.
24745 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24746 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24747 attribute_hidden.
24748 (_libc_vdso_platform_setup): Remove initialization of
24749 __vdso_gettimeofday and __vdso_time.
24750
5c43483f
UD
247512011-08-20 Ulrich Drepper <drepper@gmail.com>
24752
775a77e7
UD
24753 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24754 and fgetc_unlocked.
24755 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24756 getc_unlocked.
89f447ed 24757
49c74ba9
UD
24758 * elf/dl-open.c (add_to_global): Report additions to the global scope
24759 for LD_DEBUG=scopes.
24760 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24761 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24762
5c43483f
UD
24763 [BZ #13114]
24764 * stdio-common/Makefile (tests): Add bug24.
24765 * stdio-common/bug24.c: New file.
24766
a101b025
AJ
247672011-08-19 Andreas Jaeger <aj@suse.de>
24768
24769 [BZ #13114]
24770 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24771 non-existant file when using close-on-exec mode.
24772
c88f1766
UD
247732011-08-20 Ulrich Drepper <drepper@gmail.com>
24774
0276a718
UD
24775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24776 the very first instruction.
24777
c88f1766
UD
24778 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24779 the CFI state in the end.
24780 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24781 inclusion of dl-trampoline.h.
24782 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24783
51ccffa0
AS
247842011-08-19 Andreas Schwab <schwab@redhat.com>
24785
94d7165f
AS
24786 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24787 expectations for long double.
24788
51ccffa0
AS
24789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24790 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24791
fd708658 247922011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24793
24794 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24795 artificual limit depends upon the system page size.
24796
44f0a71e
UD
247972011-08-17 Ulrich Drepper <drepper@gmail.com>
24798
24799 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24800 * resolv/Makefile: Define CFLAGS-libresolv.
24801
8de79a24
AS
248022011-08-17 Andreas Schwab <schwab@redhat.com>
24803
24804 * nss/makedb.c (compute_tables): Make variables used in nested
24805 function static.
24806
27724598
UD
248072011-08-17 Ulrich Drepper <drepper@gmail.com>
24808
c5305d88
UD
24809 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24810 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24811 if buffer was too small.
24812
27724598
UD
24813 * elf/pldd.c (main): Attach to all threads in the process.
24814 Rewrite /proc handling to use *at functions.
24815
076fe015
UD
248162011-08-16 Ulrich Drepper <drepper@gmail.com>
24817
174baab3
UD
24818 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24819 specifies first scope to show.
24820 (dl_open_worker): Update callers. Move printing scope of new
24821 object to before the relocation.
44f0a71e 24822 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24823 * sysdeps/generic/ldsodefs.h: Update declaration.
24824
076fe015
UD
24825 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24826 string for the scope number.
24827
a60df2c3
UD
248282011-08-14 Ulrich Drepper <drepper@gmail.com>
24829
24830 * nscd/servicescache.c (cache_addserv): Make sure written is always
24831 initialized.
24832
5e4287d1
RM
248332011-08-14 Roland McGrath <roland@hack.frob.com>
24834
85ae0589
RM
24835 * sysdeps/i386/i486/bits/atomic.h
24836 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24837 statement expression, so as to suppress "set but not used" warning.
24838 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24839
69f63097
RM
24840 * string/strncat.c (STRNCAT): Use prototype definition.
24841
675456ef
RM
24842 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24843 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24844 -Iprograms here.
24845 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24846 (localedef-modules): Add localedef.
24847 (locale-modules): Add locale.
24848
5e4287d1
RM
24849 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24850 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24851 to avoid a warning.
24852
9c96ff23
DM
248532011-08-14 David S. Miller <davem@davemloft.net>
24854
24855 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24856 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24857
f9ddf089
UD
248582011-08-13 Ulrich Drepper <drepper@gmail.com>
24859
44f0a71e 24860 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24861 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24862 * elf/rtld.c (dl_main): Set l_name of vDSO.
24863 Call _dl_show_scope when DL_DEBUG_SCOPES.
24864 (process_dl_debug): Recognize scopes flag and also set it for all.
24865 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24866 Declare _dl_show_scope.
24867
1dc27704
UD
24868 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24869 (do_dlopen): Pass caller_dlopen to dl_open.
24870 (__libc_dlopen_mode): Initialize caller_dlopen.
24871
f9ddf089
UD
24872 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24873 of libc. Make tolower call locale-independent. Optimize a bit by
24874 using isdigit instead of isalnum.
24875 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24876
9ac533d3
UD
248772011-08-12 Ulrich Drepper <drepper@gmail.com>
24878
24879 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24880 was a dependency or dynamically loaded.
24881
89edf2e9
UD
248822011-08-11 Ulrich Drepper <drepper@gmail.com>
24883
8e999d29
UD
24884 * intl/l10nflist.c: Allow architecture-specific pop function.
24885 * sysdeps/x86_64/l10nflist.c: New file.
24886
89edf2e9
UD
24887 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24888 classification.
24889
14d96785
AS
248902011-08-10 Andreas Schwab <schwab@redhat.com>
24891
24892 * include/dirent.h: Add libc_hidden_proto for scandirat and
24893 scandirat64. Don't declare __scandirat64.
24894 * dirent/scandirat.c: Add libc_hidden_def.
24895 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24896 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24897
6761ac04
DM
248982011-08-10 David S. Miller <davem@davemloft.net>
24899
24900 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24901 enum.
24902 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24903 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24904 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24905
c55fbd1e
UD
249062011-08-09 Ulrich Drepper <drepper@gmail.com>
24907
24908 * Versions.def [libc]: Add GLIBC_2.15.
24909 * dirent/Makefile (routines): Add scandirat and scandirat64.
24910 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24911 GLIBC_2.15.
24912 * dirent/dirent.h: Declare scandirat and scandirat64.
24913 * dirent/scandirat.c: New file.
24914 * dirent/scandirat64.c: New file.
24915 * sysdeps/wordsize-64/scandirat.c: New file.
24916 * sysdeps/wordsize-64/scandirat64.c: New file.
24917 * dirent/opendir.c: Define opendirat.
24918 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24919 using scandirat.
24920 * dirent/scandir64.c: Adjust for scandir.c change.
24921 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24922 __scandirat64, and __scandir_cancel_handler.
24923 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24924 additional parameter and use openat instead of open (outside of ld.so).
24925 Add new __opendir as wrapper around __opendirat.
24926 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24927 here without requiring old scandirat implementation.
24928
879165f2
UD
249292011-08-08 Ulrich Drepper <drepper@gmail.com>
24930
24931 * dirent/scandir.c (cancel_handler): Renamed to
24932 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24933 defined. Adjust users.
24934 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24935 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24936
cb7e923b
UD
249372011-08-04 Ulrich Drepper <drepper@gmail.com>
24938
16292edd
UD
24939 * string/test-string.h (IMPL): Use __STRING to expand name and then
24940 stringify it.
24941
cb7e923b
UD
24942 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24943 of cleanups.
24944
cff82933
LD
249452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24946
24947 * string/Makefile: Update.
24948 (strop-tests): Append strncat.
24949 * string/test-wcscmp.c: New file.
24950 New comprehensive test for wcscmp.
24951 * string/test-strcmp.c: Update.
24952 (WIDE): New define.
24953
9be9bfcc
AS
249542011-07-22 Andreas Schwab <schwab@redhat.com>
24955
24956 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24957 line.
24958
2e96f1c7
AS
249592011-07-26 Andreas Schwab <schwab@redhat.com>
24960
24961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24962 encoding to ACE if AI_IDN.
24963
85188888
JJ
249642011-08-01 Jakub Jelinek <jakub@redhat.com>
24965
24966 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24967 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24968
5fa16e9b
LD
249692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24970
24971 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24972 Fix overflow bug in strncat.
24973 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24974
24975 * string/test-strncat.c: Update.
24976 Add new tests for checking overflow bugs.
24977
249782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24979
24980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24981 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24982 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24983 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24984 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24985 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24986 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24987 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24988 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24989
24990 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24991 (USE_AS_STRCAT): Define.
24992 Add strcat and strncat support.
24993 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24994
8c1a459f
AS
249952011-07-25 Andreas Schwab <schwab@redhat.com>
24996
24997 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24998 __n bigger than INT_MAX+1.
24999 (__strncmp_g): Likewise.
25000
bba33c28
UD
250012011-07-23 Ulrich Drepper <drepper@gmail.com>
25002
798be72d
UD
25003 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25004 * libio/stido.h: Likewise.
25005
8accd4dc
UD
25006 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25007 (AF_NFC): Define.
25008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25009 (AF_NFC): Define.
25010
cbff0d96
UD
25011 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25012 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25013 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25014 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25015 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25016
9191c04a
UD
25017 [BZ #13021]
25018 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25019 installed.
25020
bba33c28
UD
25021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25022 typo.
25023 (_dl_x86_64_save_sse): Likewise.
25024
90f139dd
UD
250252011-07-22 Ulrich Drepper <drepper@gmail.com>
25026
1aae088a
UD
25027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25028 OSXSAVE.
25029 (_dl_x86_64_save_sse): Likewise.
25030
8e2045f5
UD
25031 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25032
90f139dd
UD
25033 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25034
1d002f25
AS
250352011-07-21 Andreas Schwab <schwab@redhat.com>
25036
25037 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25038 change.
25039 (_dl_x86_64_save_sse): Use correct AVX check.
25040
21137f89
UD
250412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25042
25043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25044 bug in strncpy/strncat.
25045 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25046
a65c0b7a
UD
250472011-07-21 Ulrich Drepper <drepper@gmail.com>
25048
25049 * string/tester.c (test_strcat): Add tests for different alignments
25050 of source and destination.
25051 (test_strncat): Likewise.
25052
6986b98a
UD
250532011-07-20 Ulrich Drepper <drepper@gmail.com>
25054
90bb2039
UD
25055 [BZ #12852]
25056 * posix/glob.c (glob): Check passed in values before using them in
25057 expressions to avoid some overflows.
25058 (glob_in_dir): Likewise.
25059
5644ef54
UD
25060 [BZ #13007]
25061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25062 check for AVX enablement so that we don't crash with old kernels and
25063 new hardware.
25064 * elf/tst-audit4.c: Add same checks here.
25065 * elf/tst-audit6.c: Likewise.
25066
25067 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25068
bfc9dc9b
AS
250692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25070
25071 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25072
702e64bb
UD
250732011-07-20 Ulrich Drepper <drepper@gmail.com>
25074
25075 * po/cs.po: Update from translation team.
25076 * po/bg.po: Likewise.
25077
295e904f
MP
250782011-07-12 Marek Polacek <mpolacek@redhat.com>
25079
25080 * misc/sys/cdefs.h: Add support for const attribute.
25081 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25082 to gnu_dev_{major,minor,makedev} functions.
25083
3ff94596
MP
250842011-07-20 Marek Polacek <mpolacek@redhat.com>
25085
25086 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25087
28b59fca
AS
250882011-07-20 Andreas Schwab <schwab@redhat.com>
25089
25090 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25091 strlen results.
25092
19df733e
AK
250932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25094
25095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25096 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25097 register in order to avoid conflicts with the soft frame pointer
25098 being held in r11 when necessary.
25099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25100 (INTERNAL_VSYSCALL_NCS): Likewise.
25101
c8835729
MP
251022011-07-14 Marek Polacek <mpolacek@redhat.com>
25103
25104 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25105 * elf/dl-fini.c (_dl_fini): Adjust caller.
25106 * elf/dl-close.c (_dl_close_worker): Likewise.
25107 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25108
b902330c
MP
251092011-07-15 Marek Polacek <mpolacek@redhat.com>
25110
8991e135
MP
25111 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25112 "aux_cache->nlibs < 0".
25113
b902330c
MP
25114 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25115 in the reload-count case.
25116
99710781
LD
251172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25118
25119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25120 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25121 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25122 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25123 * sysdeps/x86_64/multiarch/strcat.S: New file.
25124 * sysdeps/x86_64/multiarch/strncat.S: New file.
25125 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25126 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25127 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25128 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25129 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25130 (USE_AS_STRCAT): Define.
25131 Add strcat and strncat support.
25132 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25133 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25134 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25135 * string/strncat.c: Update.
25136 (USE_AS_STRNCAT): Define.
25137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25138 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25139 and i7.
25140 * sysdeps/x86_64/multiarch/init-arch.h
25141 (bit_Prefer_PMINUB_for_stringop): New.
25142 (index_Prefer_PMINUB_for_stringop): Likewise.
25143 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25144 bit_Prefer_PMINUB_for_stringop.
25145
7dc6bd90
UD
251462011-07-19 Ulrich Drepper <drepper@gmail.com>
25147
25148 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25149 buffer64.
25150 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25151 of casting of buffer.
25152 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25153 buffer32 and buffer64.
25154 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25155 writes instead of casting of buffer.
25156 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25157 buffer32.
25158 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25159 casting of buffer.
25160
e0e72284
AS
251612011-07-19 Andreas Schwab <schwab@redhat.com>
25162
25163 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25164
feb1eb0b
UD
251652011-07-19 Ulrich Drepper <drepper@gmail.com>
25166
25167 * nscd/nscd.c (termination_handler): Don't do anything for a database
25168 if it has not yet been initialized.
25169
298711ff
UD
251702011-07-18 Ulrich Drepper <drepper@gmail.com>
25171
25172 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25173
251742011-07-15 Marek Polacek <mpolacek@redhat.com>
25175
25176 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25177
f9d68389
UD
251782011-07-18 Ulrich Drepper <drepper@gmail.com>
25179
25180 * po/nl.po: Update from translation team.
25181 * po/sv.po: Likewise.
25182
db290cf5
RM
251832011-07-16 Roland McGrath <roland@hack.frob.com>
25184
25185 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25186 now disallowed by GCC.
5c550700 25187
fd5e21c7
RM
25188 * configure.in (use-default-link): Default to yes if a test -shared
25189 link meets our qualifications.
25190 * configure: Regenerated.
25191
5c550700
RM
25192 * config.make.in (output-format): New variable.
25193 * configure.in: Check for ld --print-output-format support.
25194 * configure: Regenerated.
25195 * Makerules ($(common-objpfx)format.lds)
25196 [$(output-format) != unknown]: Just use $(output-format),
25197 instead of the linker-script munging.
25198
9fa2c032
RM
251992011-07-14 Roland McGrath <roland@hack.frob.com>
25200
a6928d51
RM
25201 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25202 of $(common-objpfx)shlib.lds.
25203 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25204
661607b3
RM
25205 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25206 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25207
9fa2c032
RM
25208 * configure.in (-z relro check): Adjust test code to add a large
25209 writable data section after it.
25210 * configure: Regenerated.
25211
defe9061
RM
252122011-07-11 Roland McGrath <roland@hack.frob.com>
25213
25214 * configure.in (-z relro check): Fix test code to make the variable
25215 truly const.
25216 * configure: Regenerated.
25217
319b9ad4
UD
252182011-07-11 Ulrich Drepper <drepper@gmail.com>
25219
25220 * nscd/nscd.h (struct traced_file): Define.
25221 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25222 elements. Add traced_files.
25223 (inotify_fd): Declare.
25224 (register_traced_file): Declare.
25225 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25226 (inotify_fd): Export.
25227 (resolv_conf_descr): Remove.
25228 (nscd_init): Move inotify descriptor creation to main.
25229 Don't register files for notification here.
25230 (register_traced_file): New function.
25231 (invalidate_cache): Don't use reset_res to determine whether to call
25232 res_init, go through the list of registered files.
25233 (main_loop_poll): The inotify descriptors are now stored in the
25234 structures for the traced files.
25235 (main_loop_epoll): Likewise
25236 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25237 to __nss_disable_nscd.
25238 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25239 for a database anymore. Check the records for all the registered
25240 files instead.
25241 * nss/Makefile (libnss_files-routines): Add files-init.
25242 (libnss_db-routines): Add db-init.
25243 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25244 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25245 * nss/nss_db/db-init.c: New file.
25246 * nss/nss_files/files-init.c: New file.
25247 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25248 __nss_lookup_function.
25249 (__nss_lookup_function): Call nss_load_library.
25250 (nss_load_all_libraries): New function.
25251 (__nss_disable_nscd): Take parameter with callback function for files
25252 to register. Set is_nscd. Load all the DSOs for the NSS modules
25253 used for the cached services.
25254 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25255 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25256 options for features to all the files in nscd.
25257
25258 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25259
23bee3e8
RM
252602011-07-10 Roland McGrath <roland@hack.frob.com>
25261
25262 * csu/elf-init.c (__libc_csu_init): Comment typo.
25263
46a5b7f0
UD
252642011-07-09 Ulrich Drepper <drepper@gmail.com>
25265
25266 * po/pl.po: Update from translation team.
25267 * po/ja.po: Likewise.
25268 * po/ru.po: Likewise.
25269 * po/ko.po: Likewise.
25270 * po/fr.po: Likewise.
25271
d30cf5bb
RM
252722011-07-09 Roland McGrath <roland@hack.frob.com>
25273
113ddea4
RM
25274 * configure.in (.ctors/.dtors header and trailer check):
25275 Use an empirical test on a built program.
25276 * configure: Regenerated.
25277
574920b4
RM
25278 * configure.in (-z relro check): Use an empirical test on a built DSO.
25279 Detect, but do not require, on ia64.
25280 * configure: Regenerated.
25281
d30cf5bb
RM
25282 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25283 Update tests that use readelf to use $READELF instead.
25284 * configure: Regenerated.
25285
8538fdb3
UD
252862011-07-08 Ulrich Drepper <drepper@gmail.com>
25287
25288 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25289 if the result is not used.
25290
04d08991
AJ
252912011-07-05 Andreas Jaeger <aj@suse.de>
25292
25293 [BZ#9696]
25294 * stdlib/tst-strtod.c: Add testcase.
25295
de283087
AD
252962011-07-07 Ulrich Drepper <drepper@gmail.com>
25297
4e5f31c8 25298 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25299 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25300 The latter has a higher limit. Take additional parameter to pass to
25301 the new function.
25302 (__pathconf): Pass file to __statfs_link_max.
25303 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25304 __statfs_link_max.
25305 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25306 __statfs_link_max.
25307
de283087
AD
25308 [BZ #12868]
25309 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25310 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25311 Handle Lustre.
25312 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25313 (__statfs_filesize_max): Likewise.
25314 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25315
c75fa153
AJ
253162011-07-05 Andreas Jaeger <aj@suse.de>
25317
25318 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25319
1a544854
UD
253202011-07-06 Marek Polacek <mpolacek@redhat.com>
25321
25322 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25323 `status' variable.
25324 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25325 Likewise.
25326
6f0eec67
UD
253272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25328
25329 * Makefile (strop-tests): Add strncat.
25330 * string/test-strncat.c: New file.
25331
aae30307
UD
253322011-06-30 Marek Polacek <mpolacek@redhat.com>
25333
25334 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25335
c0cfb5eb
UD
253362011-06-21 Andreas Jaeger <aj@suse.de>
25337
25338 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25339 Copy rule from iconvdata/Makefile.
25340
01636b21
UD
253412011-07-06 Ulrich Drepper <drepper@gmail.com>
25342
25343 [BZ #12922]
25344 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25345 but no long options are defined, just return 'W'.
25346
9895c8bc
UD
253472011-06-22 Marek Polacek <mpolacek@redhat.com>
25348
25349 [BZ #9696]
25350 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25351
5d4cf042
UD
253522011-07-06 Ulrich Drepper <drepper@gmail.com>
25353
25354 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25355 netgroups to read.
960e5535 25356 (innetgr): Likewise.
5d4cf042 25357
751eb97e
RM
253582011-07-05 Roland McGrath <roland@hack.frob.com>
25359
25360 * config.make.in (install_root): Default to $(DESTDIR).
25361
f15f1e45
UD
253622011-07-05 Ulrich Drepper <drepper@gmail.com>
25363
25364 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25365
4e34ac6a
RM
253662011-07-02 Roland McGrath <roland@hack.frob.com>
25367
5e9b6af4
RM
25368 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25369
84f9ea0f
RM
25370 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25371 containing directory rather than embedding absolute directory names.
25372
ea5ee9f7
RM
25373 * scripts/check-local-headers.sh: Rewritten using awk.
25374 Match by word, not by line. Print error messages for matches.
25375 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25376
1b74661a
RM
25377 * Makerules [shlib-lds-flags empty]:
25378 ($(common-objpfx)libc_pic.opts): New target.
25379 ($(common-objpfx)libc_pic.os.clean): New target.
25380 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25381
25382 * config.make.in (OBJCOPY): New variable.
25383 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25384 * configure: Regenerated.
25385
f781ef40
RM
25386 * config.make.in (use-default-link): New variable.
25387 * configure.in (use_default_link): Grok --with-default-link to set it.
25388 * configure: Regenerated.
25389 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25390 (shlib-lds, shlib-lds-flags): Define to empty.
25391
2d4fa81e
RM
25392 * Makerules (shlib-lds): New variable.
25393 (shlib-lds-flags): New variable.
25394 (build-shlib, build-moduile, build-module-asneeded): Use it.
25395 ($(common-objpfx)libc.so): Use $(shlib-lds).
25396 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25397 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25398
31fffa6b
RM
25399 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25400 DT_FLAGS/DT_FLAGS_1 with zero flags.
25401
4e34ac6a
RM
25402 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25403 linker script munging.
25404
fcfc776b
UD
254052011-07-02 Ulrich Drepper <drepper@gmail.com>
25406
25407 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25408 as 128-bit value.
25409 * crypt/sha512.c (sha512_process_block): Perform total addition using
25410 128-bit if possible.
25411 (__sha512_finish_ctx): Likewise.
25412 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25413 as 64-bit value.
25414 * crypt/sha256.c (SWAP64): Define.
25415 (sha256_process_block): Perform total addition using 64-bit if
25416 possible.
25417 (__sha256_finish_ctx): Likewise.
25418
99231d9a
UD
254192011-07-01 Ulrich Drepper <drepper@gmail.com>
25420
25421 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25422 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25423 * nscd/hstcache.c (cache_addhst): Likewise.
25424 * nscd/grpcache.c (cache_addgr): Likewise.
25425 * nscd/aicache.c (addhstaiX): Likewise
25426 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25427
445b4a53
TK
254282011-07-01 Thorsten Kukuk <kukuk@suse.de>
25429
25430 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25431 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25432 * nscd/hstcache.c (cache_addhst): Likewise.
25433 * nscd/grpcache.c (cache_addgr): Likewise.
25434 * nscd/aicache.c (addhstaiX): Likewise
25435
6d4d8e8e
AS
254362011-07-01 Andreas Schwab <schwab@redhat.com>
25437
25438 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25439 domain only when needed.
25440
89f654c5
AS
254412011-06-30 Andreas Schwab <schwab@redhat.com>
25442
25443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25444 is always restored.
25445
cf3b23ff
UD
254462011-06-29 Ulrich Drepper <drepper@gmail.com>
25447
25448 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25449 are re-adding the entry.
25450 * nscd/servicescache.c (cache_addserv): Likewise.
25451
751626f9
AJ
254522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25453
25454 * sysdeps/generic/dl-irel.h: fix protection against multiple
25455 inclusions.
25456 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25457
9113ea1f
UD
254582011-06-28 Ulrich Drepper <drepper@gmail.com>
25459
5c0b8d90
UD
25460 [BZ #12935]
25461 * malloc/memusage.sh: Fix quoting in message.
25462 * debug/xtrace.sh: Likewise.
25463
9113ea1f
UD
25464 * configure.in: Remove support for --experimental-malloc option, make
25465 it the default.
25466 * config.make.in: Likewise.
25467 * malloc/Makefile: Likewise.
25468
a4172181
AS
254692011-06-27 Andreas Schwab <schwab@redhat.com>
25470
25471 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25472 two-byte characters.
25473
78a7eee7
RM
254742011-06-27 Roland McGrath <roland@hack.frob.com>
25475
62bede13
RM
25476 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25477 AC_CACHE_CHECK invocation.
25478 * configure: Regenerated.
25479
78a7eee7
RM
25480 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25481
5ce33a62
UD
254822011-06-27 Ulrich Drepper <drepper@gmail.com>
25483
034807a9
UD
25484 [BZ #12350]
25485 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25486 bit from old_res_options.
25487
4902da17
UD
25488 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25489
5ce33a62
UD
25490 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25491 value type for setfct.
25492
c2344f56
L
254932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25494
25495 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25496 __gettimeofday instead of gettimeofday.
25497
68468076
UD
254982011-06-26 Ulrich Drepper <drepper@gmail.com>
25499
25500 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25501
acb0d739
L
255022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25503
25504 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25505
25506 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25507 info.
25508
8912479f
L
255092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25510
25511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25512 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25513 strcpy-sse2-unaligned strncpy-sse2-unaligned
25514 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25515 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25516 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25517 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25518 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25519 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25520 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25521 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25522 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25523 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25524 (STRCPY): Support SSE2 and SSSE3 versions.
25525
d5495a11
UD
255262011-06-24 Ulrich Drepper <drepper@gmail.com>
25527
25528 [BZ #12874]
25529 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25530 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25531 kernels which artificially limit size of requests.
25532
0b1cbaae
L
255332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25534
25535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25536 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25537 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25538 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25539 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25540 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25541 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25542 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25543 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25544 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25545 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25546 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25547 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25548 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25549 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25551 Enable unaligned load optimization for Intel Core i3, i5 and i7
25552 processors.
25553 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25554 Define.
25555 (index_Fast_Unaligned_Load): Define.
25556 (HAS_FAST_UNALIGNED_LOAD): Define.
25557
07f494a0
MP
255582011-06-23 Marek Polacek <mpolacek@redhat.com>
25559
25560 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25561
fa3fc0fe
UD
255622011-06-22 Ulrich Drepper <drepper@gmail.com>
25563
25564 [BZ #12907]
25565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25566 until it is clear that the information is realy needed.
25567 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25568
e12df166
AS
255692011-06-22 Andreas Schwab <schwab@redhat.com>
25570
25571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25572
852eb34d
UD
255732011-06-22 Ulrich Drepper <drepper@gmail.com>
25574
84e2a551
UD
25575 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25576 /sys/devices/system/cpu/online if it is usable.
25577
852eb34d
UD
25578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25579 reading the information from the /proc filesystem to once a second.
25580
6e502e19
UD
255812011-06-21 Andreas Jaeger <aj@suse.de>
25582
25583 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25584 NULL after inclusion of kernel headers.
25585
75d39ff2
UD
255862011-06-21 Ulrich Drepper <drepper@gmail.com>
25587
51f9aa6a
UD
25588 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25589 calls to internal_setent.
25590
c0244a9d
UD
25591 [BZ #12885]
25592 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25593 addresses using gethostbyname4_r ignore IPv4 addresses.
25594
c5e3c2ae
UD
25595 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25596 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25597
75d39ff2
UD
25598 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25599
42675c6f
DM
256002011-06-20 David S. Miller <davem@davemloft.net>
25601
25602 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25603 inclusions.
25604 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25605
25606 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25607 (elf_irel): Use it.
25608 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25609 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25610 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25611 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25612 * sysdeps/x86_64/dl-irel.h: Likewise.
25613
25614 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25615 * elf/dl-sym.c: Likewise.
25616
57912a71
UD
256172011-06-15 Ulrich Drepper <drepper@gmail.com>
25618
25619 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25620 need to dereference resplen2.
25621
ee22793d
AS
256222011-06-14 Andreas Schwab <schwab@redhat.com>
25623
25624 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25625
a9e836b0
UD
256262011-06-15 Ulrich Drepper <drepper@gmail.com>
25627
77fb9117
UD
25628 * Makeconfig: Define vardbdir and inst_vardbdir.
25629 * nss/Makefile: Add rules to install db-Makefile.
25630
40c1b22c
UD
25631 * nss/nss_db/db-XXX.c: Cleanup.
25632
9f2da732
UD
25633 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25634 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25635 GLIBC_PRIVATE.
25636 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25637 * nss/makedb.c: Implement -g option to specify that value strings
25638 are generated and should not be added to table iterated over for
25639 get*ent calls.
25640 * nss/nss_db/db-initgroups.c: New file.
25641
82e9a1f7
UD
25642 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25643 interface.
25644
c41af17e
UD
25645 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25646 (internal_getgrouplist): Adjust to name change.
25647 Update use_initgroups_entry if this is not the first call.
25648 * nss/databases.def: Add initgroups entry.
25649
a9e836b0
UD
25650 * nss/makedb.c (compute_tables): Check result of multiple hash table
25651 sizes to minimize maximum chain length.
25652
2666d441
UD
256532011-06-14 Ulrich Drepper <drepper@gmail.com>
25654
25655 * Versions.def: Add entry for libnss_db.
25656 * shlib-versions: Likewise.
25657 * nss/Makefile: Add rules to build libnss_db.
25658 * nss/Versions: Add libnss_db information. Organize libnss_files
25659 entries better.
25660 * nss/db-Makefile: Add gshadow support. Change rules for the new
25661 makedb progra. Some minor improvements to generate smaller files.
25662 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25663 here from...
25664 * nss/makedb.c: ...here.
25665 Improve database format to be smaller and require less memory at
25666 runtime.
25667 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25668 db anymore.
25669 * nss/nss_db/db-netgrp.c: Likewise.
25670 * nss/nss_db/db-open.c: Likewise.
25671 * nss/nss_files/flies-XXX.x: Adjust comments.
25672 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25673 * nss/nss_files/files-grp.c: Likewise.
25674 * nss/nss_files/files-hosts.c: Likewise.
25675 * nss/nss_files/files-network.c: Likewise.
25676 * nss/nss_files/files-proto.c: Likewise.
25677 * nss/nss_files/files-pwd.c: Likewise.
25678 * nss/nss_files/files-rpc.c: Likewise.
25679 * nss/nss_files/files-service.c: Likewise.
25680 * nss/nss_files/files-sgrp.c: Likewise.
25681 * nss/nss_files/files-spwd.c: Likewise.
25682 * nss/nss_db/db-alias.c: Removed.
25683 * nss/nss_db/dummy-db.h: Removed.
25684
9ee76b5a
UD
256852011-06-02 Ulrich Drepper <drepper@gmail.com>
25686
25687 * nss/makedb.c: Rewritten to not use database library.
25688 * nss/Makefile: Update to build new makedb program.
25689
c71ca1f8
AJ
256902011-06-14 Andreas Jaeger <aj@suse.de>
25691
25692 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25693 memset declaration.
25694
3154bfb8
UD
256952011-06-10 Andreas Schwab <schwab@redhat.com>
25696
25697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25698 tmpbuf.
25699
b350afab
RM
257002011-06-10 Roland McGrath <roland@hack.frob.com>
25701
decd4e50
RM
25702 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25703 * elf/Makefile ($(objpfx)ld.so): Likewise.
25704
5615eaf2
RM
25705 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25706 Don't list ld.so twice in dependencies.
25707
25708 * posix/bug-regex31.c: Include <stdlib.h>.
25709
25710 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25711
25712 * nis/nss_compat/compat-spwd.c
25713 (getspent_next_nss_netgr): Remove unused variable.
25714 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25715
25716 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25717 nonmembers" output to use the right array.
25718
25719 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25720
25721 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25722
25723 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25724 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25725 * catgets/gencat.c (read_input_file): Likewise.
25726 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25727
25728 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25729 variable definition inside #if's controlling its use.
25730
25731 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25732
25733 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25734
25735 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25736
25737 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25738 unreachable code.
25739
25740 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25741
b68e08db
RM
25742 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25743 * configure: Regenerated.
25744
b350afab
RM
25745 * Makerules: Revert last change.
25746 * elf/Makefile: Likewise.
25747
28368601
RM
257482011-06-09 Roland McGrath <roland@hack.frob.com>
25749
25750 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25751 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25752 (reloc-link): Likewise.
25753
11988f8f
UD
257542011-06-09 Ulrich Drepper <drepper@gmail.com>
25755
25756 * elf/Makefile: Add rules to build pldd.
25757 * elf/pldd.c: New file.
25758 * elf/pldd-xx.c: New file.
25759
e80fab37
UD
257602011-06-07 Ulrich Drepper <drepper@gmail.com>
25761
25762 * version.h: Update for 2.15 development version.
25763
9b849836
DM
257642011-06-07 David S. Miller <davem@davemloft.net>
25765
25766 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25767 ifuncs.
25768 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25769 elf_machine_lazy_rel): Likewise.
25770 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25771 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25772 elf_machine_lazy_rel): Likewise.
25773 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25774 dl_hwcap via passed in argument.
25775 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25776 Likewise.
25777
5a31b283
AK
257782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25779
25780 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25781
069e52f8
RM
257822011-06-06 Roland McGrath <roland@hack.frob.com>
25783
25784 [BZ #12849]
25785 * manual/fdl-1.1.texi: New file, verbatim from:
25786 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25787 * manual/lgpl-2.1.texi: New file, verbatim from:
25788 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25789 * manual/Makefile (licenses): New variable, list those new file names.
25790 (texis): Use it.
25791 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25792
25793 * manual/fdl.texi: File removed.
25794 * manual/lesser.texi: File removed.
25795 * manual/libc.texinfo (Copying, Documentation License):
25796 Use new @include file names, put @appendix directive before @include.
25797
f16846a5
JJ
257982011-06-04 Jakub Jelinek <jakub@redhat.com>
25799
25800 [BZ #12841]
25801 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25802 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25803 (mq_open): Add __NTH.
25804
3d29045b
L
258052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25806
25807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25808 Assume Intel Core i3/i5/i7 processor if AVX is available.
25809
8c297311
UD
258102011-05-31 Ulrich Drepper <drepper@gmail.com>
25811
25812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25813 typo.
25814
c8fc0c91
UD
258152011-05-31 Andreas Schwab <schwab@redhat.com>
25816
25817 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25818 memory. Use alloca_account. Fix memory leak when retrying.
25819
5b27a807
UD
258202011-05-31 Ulrich Drepper <drepper@gmail.com>
25821
356f8bc6
UD
25822 * version.h (RELEASE): Bump for 2.14 release.
25823 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25824
5b27a807
UD
25825 * config.make.in (RANLIB): Remove entry.
25826
01f16ab0
UD
258272011-05-30 Ulrich Drepper <drepper@gmail.com>
25828
41fce8bd
UD
25829 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25830 (libc.pot): Work around missing support for .ksh extension in xgettext.
25831
4769ae77
UD
25832 [BZ #12684]
25833 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25834 if both request failed.
25835 (send_dg): In case of server errors clear resplen or *resplen2.
25836
6b1e7d19
UD
25837 [BZ #12454]
25838 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25839 when there are multiple maps.
25840 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25841 (_dl_fini): Remove test here.
25842
01f16ab0
UD
25843 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25844
b1ebd700
UD
258452011-05-29 Ulrich Drepper <drepper@gmail.com>
25846
7ae22829
UD
25847 [BZ #12350]
25848 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25849 bit from old_res_options.
25850 (gaih_inet): Likewise.
25851
553149f6 25852 [BZ #11099]
18a84741 25853 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25854 as signed.
25855
652ffab1
UD
25856 * resolv/res_init.c (res_setoptions): Make the code more compact.
25857
16985fd0
UD
25858 [BZ #11558]
25859 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25860 set RES_USEVC.
25861
0464f746
UD
25862 [BZ #11634]
25863 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25864
7d17596c
UD
25865 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25866
cf6bbbd7
UD
25867 [BZ #11781]
25868 * malloc/malloc.h: Declare malloc hook variables as volatile.
25869
13f1ab36
UD
25870 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25871 in last patch.
25872
b1ebd700
UD
25873 [BZ #11799]
25874 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25875 raise in the comment.
80e2212d
UD
25876 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25877 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25878 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25879
ce67228d
UD
258802011-05-28 Ulrich Drepper <drepper@gmail.com>
25881
8887a920
UD
25882 [BZ #12811]
25883 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25884 grow the buffers more if it already has to be sufficient.
25885 (build_wcs_upper_buffer): Likewise.
25886 * posix/regexec.c (check_matching): Likewise.
25887 (clean_state_log_if_needed): Likewise.
25888 (extend_buffers): Don't enlarge buffers beyond size of the input
25889 buffer.
25890 Patches mostly by Emil Wojak <emil@wojak.eu>.
25891 * posix/bug-regex32.c: New file.
25892 * posix/Makefile (tests): Add bug-regex32.
25893
4f031072
UD
25894 * locale/findlocale.c (_nl_find_locale): Return right away if
25895 _nl_explode_name failed.
25896 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25897
d0478f0c
UD
25898 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25899
de81b246
UD
25900 * debug/xtrace.sh: Unify messages.
25901 * malloc/memusage.sh: Likewise.
25902
c738465a
UD
25903 [BZ #12813]
25904 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25905 time symbol from vDSO. Substitute with vsyscall if not available.
25906 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25907 __vdso_time.
25908
f1f929d7
UD
25909 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25910 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25911 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25912 Add sendmmsg and internal_sendmmsg.
25913 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25914 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25915 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25916
ce67228d
UD
25917 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25918 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25919 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25920
e57420c6
UD
259212011-05-27 Ulrich Drepper <drepper@gmail.com>
25922
a8509ca5
UD
25923 [BZ #12813]
25924 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25925 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25926 available.
25927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25928 __vdso_getcpu.
25929
e57420c6
UD
25930 [BZ #12814]
25931 * iconvdata/Makefile (tests): Add bug-iconv9.
25932 * iconvdata/bug-iconv9.c: New file.
25933
4d07db15
AS
259342011-05-27 Andreas Schwab <schwab@redhat.com>
25935
25936 [BZ #12814]
25937 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25938
ea486f69
JJ
259392011-05-25 Jakub Jelinek <jakub@redhat.com>
25940
25941 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25942 (struct user_regs_struct): Change intcs field back to cs.
25943
6f038433
UD
259442011-05-25 Ulrich Drepper <drepper@gmail.com>
25945
25946 * po/ja.po: Update from translation team.
25947
67f86a25
UD
259482011-05-23 Ulrich Drepper <drepper@gmail.com>
25949
25950 [BZ #12795]
25951 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25952 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25953
def7fbd6
AS
259542011-05-20 Andreas Schwab <schwab@redhat.com>
25955
25956 * stdlib/longlong.h: Update from GCC.
25957
f50ef8f1
AS
259582011-05-23 Andreas Schwab <schwab@redhat.com>
25959
25960 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25961 parameter name.
25962 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25963 Add parameter name.
25964 (__sysconf): Pass it down.
25965
de7ce8f1
UD
259662011-05-22 Ulrich Drepper <drepper@gmail.com>
25967
f2962a71
UD
25968 [BZ #12671]
25969 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25970 some situations.
25971 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25972 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25973 add in in __libc_use_alloca calls. Adjust callers.
25974 (glob): Use malloc in some situations.
25975
de7ce8f1
UD
25976 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25977 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25978 pltexit.
25979
aec84f53
UD
259802011-05-21 Ulrich Drepper <drepper@gmail.com>
25981
05bb4a68
UD
25982 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25983 and CLOCK_BOOTTIME_ALARM.
25984
7ea72f99
UD
25985 [BZ #12782]
25986 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25987 is returned.
25988
7e4afad5
UD
25989 * string/_strerror.c (__strerror_r): Print negative errors as signed
25990 numbers.
25991
8e211fec
UD
25992 [BZ #12777]
25993 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25994 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25995 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25996
f7d82dc9
UD
25997 * configure.in: Fix typo in redirection and correct removal of test
25998 files in two cases.
25999
cc9e536d
UD
26000 [BZ #12788]
26001 * locale/setlocale.c (new_composite_name): Fix test to check for
26002 identical name of all categories.
26003
aec84f53
UD
26004 [BZ #12792]
26005 * libio/filedoalloc.c (local_isatty): New function.
26006 (_IO_file_doallocate): Use local_isatty.
26007 * stdio-common/perror.c (perror): In case a new stream is used
26008 forward the stream error.
26009 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26010 error flag.
26011
78e64fdc
RT
260122011-05-20 Ulrich Drepper <drepper@gmail.com>
26013
34a9094f
UD
26014 [BZ #11869]
26015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26016 alloca.
26017 * include/alloca.h (extend_alloca_account): Define.
26018
78e64fdc
RT
26019 [BZ #11857]
26020 * posix/regex.h: Fix comments with documentation of user-accessible
26021 fields after compilation and describe correct free'ing of pattern
26022 after re_compile_pattern.
26023 Patch by Reuben Thomas <rrt@sc3d.org>.
26024
457bddfc
RA
260252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26026
26027 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26028 and -mno-altivec to prevent the compiler from using Altivec and/or
26029 VSX instructions when the corresponding registers are not available.
26030
a4527b51
AS
260312011-05-19 Andreas Schwab <schwab@redhat.com>
26032
26033 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26034
ed690b2f
UD
260352011-05-19 Ulrich Drepper <drepper@gmail.com>
26036
26037 * libio/freopen.c (freopen): Use __dup2, not dup2.
26038 * libio/freopen64.c (freopen64): Likewise.
26039
8db73634
L
260402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26041
26042 [BZ #12775]
26043 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26044 * math/Makefile (tests): Add test-powl.
26045 (CFLAGS-test-powl.c): Define.
26046 * math/test-powl.c: New file.
26047
0a197a9d
L
260482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26049
26050 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26051
ee30c380
UD
260522011-05-17 Ulrich Drepper <drepper@gmail.com>
26053
26054 [BZ #11837]
26055 * iconvdata/gb18030.c: Update to GB18020-2005.
26056
6ce75379
UD
260572011-05-16 Ulrich Drepper <drepper@gmail.com>
26058
a4b89fd8
AR
26059 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26060 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26061 Patch by Aharon Robbins <arnold@skeeve.com>.
26062
ea389b12
UD
26063 [BZ #11892]
26064 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26065 on the stack.
26066
68a3f91f
UD
26067 [BZ #11895]
26068 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26069 through underflows.
26070
15cc7dd1
UD
26071 [BZ #12766]
26072 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26073 point to strings before performing equality test for error_one_per_line
26074 mode.
26075
f3799213
UD
26076 [BZ #11697]
26077 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26078
d79a9c94
UD
26079 [BZ #11820]
26080 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26081 (struct user_fpregs_struct): Avoid __uint*_t types.
26082
56e5eb46
UD
26083 [BZ #6420]
26084 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26085 symbol info. Use it instead of calling _dl_addr locally.
26086 (lock_and_info): New function.
26087 (tr_freehook): Call lock_and_info and pass symbol info as additional
26088 parameter to tr_where.
26089 (tr_mallochook): Likewise.
26090 (tr_reallochook): Likewise.
26091 (tr_memalignhook): Likewise.
26092
6ce75379
UD
26093 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26094 used and couldn't be at all thread-safe.
26095
f8a3b5bf
UD
260962011-05-15 Ulrich Drepper <drepper@gmail.com>
26097
94b7cc37
UD
26098 * libio/freopen.c (freopen): Don't close old file descriptor
26099 before the new one is opened. Instead dup the new file descriptor
26100 to the old one after the new stream is created.
26101 * libio/freopen64.c (freopen64): Likewise.
26102 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26103 * libio/fileops.c (_IO_new_file_close_it): Handle new
26104 _IO_FLAGS2_NOCLOSE flag.
26105 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26106 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26107 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26108 _IO_FLAGS2_NOCLOSE flag.
26109 * include/unistd.h: Add hidden_proto for dup3.
26110 Define __have_dup3.
26111 * io/dup3.c: Define hidden symbol.
26112 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26113
bd25564e
UD
26114 [BZ #7101]
26115 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26116 when an incomplete long option is used.
26117 * posix/tst-getopt_long1.c: New file.
26118 * posix/Makefile (tests): Add tst-getopt_long1.
26119
c84cfef4
UD
26120 [BZ #10138]
26121 * scripts/config.guess: Update from autoconf-2.68.
26122 * scripts/config.sub: Likewise.
26123
3b85df27
UD
26124 [BZ #10157]
26125 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26126 tests into ...
26127 (has_cpuclock): ...this. New function.
26128 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26129 macro here based on has_cpuclock code.
26130
15a856b1
UD
26131 [BZ #10149]
26132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26133 First byte (not low byte) is now always NUL.
26134 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26135
05f399e6
UD
26136 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26137 Use non-cancelable interfaces.
26138
10a52685 26139 [BZ #9809]
94ecc67d
UD
26140 * locale/iso-639.def: Add entry for Sorani.
26141
f8a3b5bf
UD
26142 [BZ #11901]
26143 * include/stdlib.h: Move include protection to the right place.
26144 Define abort_msg_s. Declare __abort_msg with it.
26145 * stdlib/abort.c (__abort_msg): Adjust type.
26146 * assert/assert.c (__assert_fail_base): New function. Majority
26147 of code from __assert_fail. Allocate memory for __abort_msg with
26148 mmap.
26149 (__assert_fail): Now call __assert_fail_base.
26150 * assert/assert-perr.c: Remove bulk of implementation. Use
26151 __assert_fail_base.
26152 * include/assert.hL Declare __assert_fail_base.
26153 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26154 mmap.
26155 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26156
1af4e298
UD
261572011-05-14 Ulrich Drepper <drepper@gmail.com>
26158
f8a3b5bf 26159 [BZ #11952]
d26dfc60
MG
26160 [BZ #12453]
26161 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26162 until all modules are registered in the DTV.
26163 * elf/Makefile: Add rules to build and run tst-tls19.
26164 * elf/tst-tls19.c: New file.
26165 * elf/tst-tls19mod1.c: New file.
26166 * elf/tst-tls19mod2.c: New file.
26167 * elf/tst-tls19mod3.c: New file.
26168 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26169
2fc54d6f
UD
26170 [BZ #12083]
26171 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26172 correctly.
26173
98d76b46
UD
26174 [BZ #12601]
26175 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26176 two-byte sequence errors.
26177 * iconvdata/Makefile (tests): Add bug-iconv8.
26178 * iconvdata/bug-iconv8.c: New file.
26179
da3c19ef
UD
26180 [BZ #12626]
26181 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26182 buf2 definition.
26183
ca408c15
UD
26184 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26185
d6f67f7d
UD
26186 [BZ #12432]
26187 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26188 (dummy_getcfa): New function.
26189 (init): Get _Unwind_GetCFA address, use dummy if not found.
26190 (backtrace_helper): In recursion check, also check whether CFA changes.
26191 (__backtrace): Completely initialize arg.
26192
1af4e298 26193 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26194 storing incomplete byte sequence in state object. Avoid testing for
26195 guaranteed too small input if we know there is enough data available.
1af4e298 26196
da62f81b
AS
261972011-05-11 Andreas Schwab <schwab@redhat.com>
26198
26199 * Makeconfig (+link-pie): Indent.
26200 * Rules (binaries-pie): Define if $(have-fpie) and
26201 $(build-shared).
26202 (binaries-shared): Also filter out $(binaries-pie).
26203 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26204 * nscd/Makefile (others-pie): Add nscd.
26205 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26206 ($(objpfx)nscd): Remove command override.
26207 * login/Makefile (others-pie): Add pt_chown.
26208 ($(objpfx)pt_chown): Remove command override.
26209 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26210 remove command overrides.
26211
fcabc0f8
UD
262122011-05-13 Ulrich Drepper <drepper@gmail.com>
26213
20030ae6
UD
26214 * libio/tst_putwc.c: Fix error messages.
26215
fcabc0f8
UD
26216 [BZ #12724]
26217 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26218 currently writing and seek to current position when not.
26219 * libio/Makefile (tests): Add bug-fclose1.
26220 * libio/bug-fclose1.c: New file.
26221
320a5dc0
PB
262222011-05-12 Ulrich Drepper <drepper@gmail.com>
26223
26224 [BZ #12511]
26225 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26226 don't set DF_1_NODELETE here.
26227 (do_lookup_x): When entering new entry test for copy relocation
26228 and if necessary set DF_1_NODELETE flag.
26229 * elf/tst-unique4.cc: New file.
26230 * elf/tst-unique4.h: New file.
26231 * elf/tst-unique4lib.cc: New file.
26232 * elf/Makefile: Add rules to build and run tst-unique4.
26233 Patch by Piotr Bury <pbury@goahead.com>.
26234
22836f52
UD
262352011-05-11 Ulrich Drepper <drepper@gmail.com>
26236
f574184a
UD
26237 [BZ #12052]
26238 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26239
e1fb097f
UD
26240 [BZ #12625]
26241 * misc/mntent_r.c (addmntent): Flush the stream after the output
26242
22836f52
UD
26243 [BZ #12393]
26244 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26245 (is_trusted_path_normalize): Skip initial colon. Append slash
26246 to empty buffer. Duplicate is_trusted_path code but allow
26247 constructed patch to be prefix.
26248 (is_dst): Allow $ORIGIN followed by /.
26249 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26250 Correct testing of result of is_trusted_path_normalize
26251 (decompose_rpath): Fix warning.
26252
7b3b0b2a
UD
262532011-05-10 Ulrich Drepper <drepper@gmail.com>
26254
26255 [BZ #11257]
26256 * grp/initgroups.c (internal_getgrouplist): When we found the service
26257 list through the initgroups entry in nsswitch.conf do not always
26258 continue on a successful lookup. Don't always use the
eac80ce2 26259 __nss_group_database value if it is set.
7b3b0b2a
UD
26260 * nss/nsswitch.conf (initgroups): Change action for successful db
26261 lookup to continue for compatibility.
26262
2a81eaa5
UD
262632011-05-09 Ulrich Drepper <drepper@gmail.com>
26264
be97a69e
UD
26265 [BZ #11532]
26266 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26267 and CP774 modules.
26268 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26269 and CP774 modules.
26270 * iconvdata/tst-tables.sh: Likewise.
26271 * iconvdata/cp770.c: New file.
26272 * iconvdata/cp771.c: New file.
26273 * iconvdata/cp772.c: New file.
26274 * iconvdata/cp773.c: New file.
26275 * iconvdata/cp774.c: New file.
26276 * iconvdata/testdata/CP770: New file.
26277 * iconvdata/testdata/CP770..UTF8: New file.
26278 * iconvdata/testdata/CP771: New file.
26279 * iconvdata/testdata/CP771..UTF8: New file.
26280 * iconvdata/testdata/CP772: New file.
26281 * iconvdata/testdata/CP772..UTF8: New file.
26282 * iconvdata/testdata/CP773: New file.
26283 * iconvdata/testdata/CP773..UTF8: New file.
26284 * iconvdata/testdata/CP774: New file.
26285 * iconvdata/testdata/CP774..UTF8: New file.
26286
26287 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26288 END CHARMAP line.
26289 * iconvdata/gen-8bit-gap.sh: Likewise.
26290 * iconvdata/gen-8bit.sh: Likewise.
26291
c1e9e399
UD
26292 * locale/iso-639.def: Add ary entry.
26293
24c55fb3 26294 [BZ #11258]
96b4b1b0
UD
26295 * locale/C-translit.h.in: Add U20A1 transliteration.
26296
bdc2f971
KB
26297 [BZ #12178]
26298 * locale/iso-639.def: Add wae entry.
26299 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26300
2952b117
UD
26301 [BZ #12545]
26302 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26303 for n.
26304
2a81eaa5
UD
26305 [BZ #12711]
26306 * locale/C-translit.h.in: Add entry for U20B9.
26307 Patch by pravin.d.s@gmail.com.
26308
28377d1b
UD
263092011-05-08 Ulrich Drepper <drepper@gmail.com>
26310
7fb90fb8
UD
26311 [BZ #12713]
26312 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26313 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26314 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26315 in rtld. Use *stat64.
7fb90fb8 26316 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26317 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26318 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26319 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26320 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26321 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26322 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26323 __fstatat64 macros.
7fb90fb8
UD
26324 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26325 * dirent/rewinddir.c: Add libc_hidden_def.
26326 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26327 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26328
28377d1b
UD
26329 * include/dirent.h (__alloc_dir): Add flags parameter.
26330 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26331 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26332 __alloc_dir.
26333 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26334 from fdopendir if O_CLOEXEC is already set.
26335
66bdbaa4
AM
263362011-03-15 Alan Modra <amodra@gmail.com>
26337
26338 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26339 l_tls_firstbyte_offset non-zero. Save padding offset in
26340 l_tls_firstbyte_offset for later use.
26341 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26342 freeing static tls block.
26343
95721191
JN
263442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26345
26346 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26347 where #ifdef was intended. The intent is to prevent ARG_MAX from
26348 being defined by the kernel headers.
26349
f87dfb1f
UD
263502011-05-07 Ulrich Drepper <drepper@gmail.com>
26351
26352 [BZ #12734]
26353 * resolv/resolv.h: Define RES_NOTLDQUERY.
26354 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26355 no-tld-query and set RES_NOTLDQUERY.
26356 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26357 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26358 modern BIND to search name as TLD unless forbidden.
26359
47c3cd7a
UD
263602011-05-07 Petr Baudis <pasky@suse.cz>
26361 Ulrich Drepper <drepper@gmail.com>
26362
26363 [BZ #12393]
26364 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26365 (is_trusted_path): ...to here.
c1e9ea35 26366 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26367 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26368 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26369
8a35c912
PP
263702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26371
26372 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26373 __BEGIN/__END_DECLS.
26374
acd41f47
UD
263752011-05-06 Ulrich Drepper <drepper@gmail.com>
26376
26377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26378 NSS_STATUS_NOTFOUND if no record was found.
26379
597df647
AS
263802011-05-05 Andreas Schwab <schwab@redhat.com>
26381
26382 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26383 (headers-not-in-tirpc): Remove rpc/netdb.h
26384 * resolv/netdb.h: Revert last change.
26385
b9af1301
PP
263862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26387
26388 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26389 circular dependency between libgcc.a and libc.a.
26390
4e34d5f5
AS
263912011-05-05 Andreas Schwab <schwab@redhat.com>
26392
26393 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26394 * nis/Makefile: Don't install rpcsvc/*.
26395 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26396 instead of <rpc/types.h>.
26397 (MAXHOSTNAMELEN): Define.
26398
00ee369c
AS
263992011-05-03 Andreas Schwab <schwab@redhat.com>
26400
26401 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26402
0b592a30
MB
264032011-04-28 Maciej Babinski <mbabinski@google.com>
26404
26405 [BZ #12714]
26406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26407 gethostbyname4_r when IPv6 results are possible.
26408
6e04cbbe
UD
264092011-05-02 Ulrich Drepper <drepper@gmail.com>
26410
26411 [BZ #12723]
26412 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26413 _PC_PIPE_BUF handling.
26414
e4ecafe0
BH
264152011-04-30 Bruno Haible <bruno@clisp.org>
26416
26417 [BZ #12717]
26418 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26419 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26420 to 'int'.
26421 * inet/getnameinfo.c (getnameinfo): Likewise.
26422
125ee683
UD
264232011-04-29 Ulrich Drepper <drepper@gmail.com>
26424
26425 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26426 to groups setting in database lookup.
26427 * nss/nsswitch.conf: Add initgroups entry.
26428
b722481a
EB
264292011-04-22 Ulrich Drepper <drepper@gmail.com>
26430
26431 [BZ #12685]
26432 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26433 mode string.
26434 Patch by Eric Blake <eblake@redhat.com>.
26435
4df46dbd
L
264362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26437
26438 * sunrpc/Makefile (need-export-routines): Add svc_run.
26439 (routines): Remove svc_run.
26440 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26441 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26442 * sunrpc/svc_run.c (svc_run): Likewise.
26443 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26444
e84142d2
UD
264452011-04-21 Ulrich Drepper <drepper@gmail.com>
26446
26447 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26448 problem in reallocation in last patch.
26449
877175d8
UD
264502011-04-20 Ulrich Drepper <drepper@gmail.com>
26451
26452 * sunrpc/Makefile: Move inclusion of Rules.
26453
ab8eed78
UD
264542011-04-19 Ulrich Drepper <drepper@gmail.com>
26455
26456 * nss/nss_files/files-initgroups.c: New file.
26457 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26458 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26459 _nss_files_initgroups_dyn.
26460
e3d8f584
RS
264612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26462
26463 * elf/elf.h (R_ARM_IRELATIVE): Define.
26464
af190f45
UD
264652011-04-19 Ulrich Drepper <drepper@gmail.com>
26466
26467 * po/ru.po: Update from translation team.
26468
53cf59ef
UD
264692011-04-17 Ulrich Drepper <drepper@gmail.com>
26470
26471 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26472 dependencies.
26473
4c559bcd
MF
264742011-02-06 Mike Frysinger <vapier@gentoo.org>
26475
26476 [BZ #12653]
26477 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26478 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26479 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26480 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26481 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26482
4420675c
AS
264832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26484
26485 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26486 differing bytes.
26487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26488 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26490
75ea32ab
UD
264912011-04-17 Ulrich Drepper <drepper@gmail.com>
26492
26493 [BZ #12420]
26494 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26495 storing it.
26496 * stdlib/bug-getcontext.c: New file.
26497 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26498
27390476
AK
264992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26500
26501 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26502 instructions into .machine "z9-109".
26503 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26504 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26505
10442705
AK
265062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26507
26508 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26509 between environment variables and auxiliary vector.
26510
7b57bfe5
UD
265112011-04-16 Ulrich Drepper <drepper@gmail.com>
26512
26513 * Makefile: Add rules to build linkobj/libc.so.
26514 * include/libc-symbols.h: Define libc_hidden_nolink.
26515 * include/rpc/auth.h: Mark functions which are to be hidden.
26516 * include/rpc/auth_des.h: Likewise.
26517 * include/rpc/auth_unix.h: Likewise.
26518 * include/rpc/clnt.h: Likewise.
26519 * include/rpc/des_crypt.h: Likewise.
26520 * include/rpc/key_prot.h: Likewise.
26521 * include/rpc/pmap_clnt.h: Likewise.
26522 * include/rpc/pmap_prot.h: Likewise.
26523 * include/rpc/pmap_rmt.h: Likewise.
26524 * include/rpc/rpc_msg.h: Likewise.
26525 * include/rpc/svc.h: Likewise.
26526 * include/rpc/svc_auth.h: Likewise.
26527 * include/rpc/xdr.h: Likewise.
26528 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26529 * nss/Makefile: Likewise.
26530 * sunrpc/Makefile: Don't install headers. Build library with normal
26531 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26532 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26533 for the compat linking library. Remove use of INTDEF/INTUSE.
26534 * sunrpc/auth_none.c: Likewise.
26535 * sunrpc/auth_unix.c: Likewise.
26536 * sunrpc/authdes_prot.c: Likewise.
26537 * sunrpc/authuxprot.c: Likewise.
26538 * sunrpc/clnt_gen.c: Likewise.
26539 * sunrpc/clnt_perr.c: Likewise.
26540 * sunrpc/clnt_raw.c: Likewise.
26541 * sunrpc/clnt_simp.c: Likewise.
26542 * sunrpc/clnt_tcp.c: Likewise.
26543 * sunrpc/clnt_udp.c: Likewise.
26544 * sunrpc/clnt_unix.c: Likewise.
26545 * sunrpc/des_crypt.c: Likewise.
26546 * sunrpc/des_soft.c: Likewise.
26547 * sunrpc/get_myaddr.c: Likewise.
26548 * sunrpc/key_call.c: Likewise.
26549 * sunrpc/key_prot.c: Likewise.
26550 * sunrpc/netname.c: Likewise.
26551 * sunrpc/pm_getmaps.c: Likewise.
26552 * sunrpc/pm_getport.c: Likewise.
26553 * sunrpc/pmap_clnt.c: Likewise.
26554 * sunrpc/pmap_prot.c: Likewise.
26555 * sunrpc/pmap_prot2.c: Likewise.
26556 * sunrpc/pmap_rmt.c: Likewise.
26557 * sunrpc/publickey.c: Likewise.
26558 * sunrpc/rpc_cmsg.c: Likewise.
26559 * sunrpc/rpc_common.c: Likewise.
26560 * sunrpc/rpc_dtable.c: Likewise.
26561 * sunrpc/rpc_prot.c: Likewise.
26562 * sunrpc/rpc_thread.c: Likewise.
26563 * sunrpc/rtime.c: Likewise.
26564 * sunrpc/svc.c: Likewise.
26565 * sunrpc/svc_auth.c: Likewise.
26566 * sunrpc/svc_authux.c: Likewise.
26567 * sunrpc/svc_raw.c: Likewise.
26568 * sunrpc/svc_run.c: Likewise.
26569 * sunrpc/svc_simple.c: Likewise.
26570 * sunrpc/svc_tcp.c: Likewise.
26571 * sunrpc/svc_udp.c: Likewise.
26572 * sunrpc/svc_unix.c: Likewise.
26573 * sunrpc/svcauth_des.c: Likewise.
26574 * sunrpc/xcrypt.c: Likewise.
26575 * sunrpc/xdr.c: Likewise.
26576 * sunrpc/xdr_array.c: Likewise.
26577 * sunrpc/xdr_float.c: Likewise.
26578 * sunrpc/xdr_intXX_t.c: Likewise.
26579 * sunrpc/xdr_mem.c: Likewise.
26580 * sunrpc/xdr_rec.c: Likewise.
26581 * sunrpc/xdr_ref.c: Likewise.
26582 * sunrpc/xdr_sizeof.c: Likewise.
26583 * sunrpc/xdr_stdio.c: Likewise.
26584
e6c61494
UD
265852011-04-10 Ulrich Drepper <drepper@gmail.com>
26586
26587 [BZ #12650]
26588 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26589 * sysdeps/ia64/dl-tls.h: Likewise.
26590 * sysdeps/powerpc/dl-tls.h: Likewise.
26591 * sysdeps/s390/dl-tls.h: Likewise.
26592 * sysdeps/sh/dl-tls.h: Likewise.
26593 * sysdeps/sparc/dl-tls.h: Likewise.
26594 * sysdeps/x86_64/dl-tls.h: Likewise.
26595 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26596
34fe483e
AS
265972011-03-14 Andreas Schwab <schwab@redhat.com>
26598
26599 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26600 rpath element also skip the following colon.
26601 (expand_dynamic_string_token): Add is_path parameter and pass
26602 down to DL_DST_REQUIRED and _dl_dst_substitute.
26603 (decompose_rpath): Call expand_dynamic_string_token with
26604 non-zero is_path. Ignore empty rpaths.
26605 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26606 with zero is_path.
26607
f12a32e6
AS
266082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26609
26610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26611 Make cancelable.
26612
38a7d692
UD
266132011-04-09 Ulrich Drepper <drepper@gmail.com>
26614
26615 [BZ #12655]
26616 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26617 Patch by Filipe David Manana <fdmanana@apache.org>.
26618
e451d22b
AS
266192011-04-07 Andreas Schwab <schwab@redhat.com>
26620
26621 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26622 Maintain aligned stack.
26623 (CHECK_RSP): Remove unused macro.
26624
dedc7c7b
UD
266252011-04-03 Ulrich Drepper <drepper@gmail.com>
26626
26627 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26628 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26629
94521213
UD
266302011-04-02 Ulrich Drepper <drepper@gmail.com>
26631
26632 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26633
8cb700c0 26634 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26635
0354e355
L
266362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26637
26638 [BZ #12518]
26639 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26640 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26641 * sysdeps/x86_64/memmove.c: New file.
26642 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26643 (memcpy): Renamed to ...
26644 (__new_memcpy): This.
26645 (memcpy): Provide GLIBC_2_14 memcpy.
26646 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26647 (memcpy): Provide GLIBC_2_2_5 memcpy.
26648
8593482f
UD
266492011-04-01 Ulrich Drepper <drepper@gmail.com>
26650
26651 [BZ #12631]
26652 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26653
81a5726b
AS
266542011-03-30 Andreas Schwab <schwab@redhat.com>
26655
26656 * misc/syncfs.c: New file.
26657 * misc/Makefile (routines): Add syncfs.
26658 * posix/unistd.h: Declare syncfs.
26659 * sysdeps/unix/syscalls.list: Add syncfs.
26660
00e5419f
AS
266612011-04-01 Andreas Schwab <schwab@redhat.com>
26662
26663 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26664 open_by_handle_at.
26665 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26666 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26668 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26670 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26671 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26672
748876bf
UD
266732011-04-01 Ulrich Drepper <drepper@gmail.com>
26674
658e451d
UD
26675 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26676 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26677 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26679 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26682
748876bf
UD
26683 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26684 sync_file_range.c with -fexceptions.
26685 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26686 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26687 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26688 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26689 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26690 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26691 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26692 sync_file_range as cancellation point
26693 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26694 now a wrapper around __call_sync_file_range with cancellation handling.
26695 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26696 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26697 function name to __call_sync_file_range.
26698 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26699 Add call_sync_file_range.
748876bf 26700
6e63d5e1
AS
267012011-04-01 Andreas Schwab <schwab@redhat.com>
26702
26703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26704 bits/timex.h.
6e63d5e1 26705
46998f74
UD
267062011-04-01 Ulrich Drepper <drepper@gmail.com>
26707
4c1423ed
UD
26708 * iconv/iconv.h: Fix typo in comment.
26709 * io/fcntl.h: Likewise.
26710 * libio/stdio.h: Likewise.
26711 * posix/spawn.h: Likewise.
26712 * posix/unistd.h: Likewise.
26713 * stdlib/stdlib.h: Likewise.
26714 * time/time.h: Likewise.
26715 * wcsmbs/wchar.h: Likewise.
26716
158648c0
UD
26717 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26718 open_by_handle): Add.
26719 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26720 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26721 Augment a few comments.
26722 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26724 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26726 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26727 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26728 open_by_handle.
26729
46998f74
UD
26730 * io/fcntl.h (AT_EMPTY_PATH): Define.
26731
83fe108b
UD
267322011-03-30 Ulrich Drepper <drepper@gmail.com>
26733
26734 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26735 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26736 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26737 to...
26738 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26739 * Versions.def: Add GLIBC_2.14.
26740 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26741 Export.
83fe108b 26742
bb242059
UD
267432011-03-22 Ulrich Drepper <drepper@gmail.com>
26744
26745 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26746 round counter.
26747 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26748
c97a1282
L
267492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26750
26751 [BZ #12597]
26752 * string/test-strncmp.c (do_page_test): New function.
26753 (check2): Likewise.
26754 (test_main): Call check2.
26755 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26756
2a115601
UD
267572011-03-20 Ulrich Drepper <drepper@gmail.com>
26758
26759 [BZ #12587]
26760 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26761 Handle cache information in CPU leaf 4.
26762 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26763
8126d904
UD
267642011-03-18 Ulrich Drepper <drepper@gmail.com>
26765
042c49c6 26766 [BZ #12583]
8126d904
UD
26767 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26768 character representation.
26769 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26770
ccfe366e
RA
267712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26772
26773 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26774 END(__isnan) to END(__isnanf) to match function entry point/label
26775 EALIGN(__isnanf,...).
26776
c6e13027
JJ
267772011-03-10 Jakub Jelinek <jakub@redhat.com>
26778
26779 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26780
33f85a3f
UD
267812011-03-10 Ulrich Drepper <drepper@gmail.com>
26782
028478fa
UD
26783 [BZ #12510]
26784 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26785 copy from the symbol referenced in the relocation to initialize the
26786 used variable.
26787 Patch by Piotr Bury <pbury@goahead.com>.
26788 * elf/Makefile: Add rules to build and tst-unique3.
26789 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26790 * elf/tst-unique3.cc: New file.
26791 * elf/tst-unique3.h: New file.
26792 * elf/tst-unique3lib.cc: New file.
26793 * elf/tst-unique3lib2.cc: New file.
26794
33f85a3f
UD
26795 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26796
03592fc7
MF
267972011-03-10 Mike Frysinger <vapier@gentoo.org>
26798
26799 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26800 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26801 to _start.
03592fc7 26802
6a5ee102
UD
268032011-03-06 Ulrich Drepper <drepper@gmail.com>
26804
26805 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26806 to-be-loaded object along a path to loader is ld.so.
26807
7e4ba49c
HJ
268082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26809 Ulrich Drepper <drepper@gmail.com>
26810
26811 * sysdeps/x86_64/memset.S: After aligning destination, code
26812 branches to different locations depending on the value of
26813 misalignment, when multiarch is enabled. Fix this.
26814
268152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26816
26817 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26818 Set _x86_64_preferred_memory_instruction for AMD processsors.
26819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26820 Set bit_Prefer_SSE_for_memop for AMD processors.
26821
13a804de
UD
268222011-03-04 Ulrich Drepper <drepper@gmail.com>
26823
26824 * libio/fmemopen.c (fmemopen): Optimize a bit.
26825
9d25c392
AS
268262011-03-03 Andreas Schwab <schwab@redhat.com>
26827
26828 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26829
a5543c6a
RM
268302011-03-03 Roland McGrath <roland@redhat.com>
26831
26832 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26833
012d35f7
DM
268342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26835
7e4ba49c 26836 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26837 __bzero_ultra1 instead of __memset_ultra1.
26838
4bff6e01
AS
268392011-02-23 Andreas Schwab <schwab@redhat.com>
26840 Ulrich Drepper <drepper@gmail.com>
26841
26842 [BZ #12509]
26843 * include/link.h (struct link_map): Add l_orig_initfini.
26844 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26845 returning unsuccessfully.
26846 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26847 close of a file loaded at startup, restore the original l_initfini
26848 list.
26849 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26850 list, store the pointer.
26851 * elf/Makefile ($(objpfx)noload-mem): New rule.
26852 (noload-ENV): Define.
26853 (tests): Add $(objpfx)noload-mem.
26854 * elf/noload.c: Include <memcheck.h>.
26855 (main): Call mtrace. Close all opened handles.
26856
f2092faf
AS
268572011-02-17 Andreas Schwab <schwab@redhat.com>
26858
26859 [BZ #12454]
26860 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26861 dependencies are missing.
26862
6c8a2e88
ST
268632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26864
f2092faf 26865 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26866 Hurd needs munmap.
26867 * sysdeps/mach/hurd/ifreq.h: New file.
26868
84a42118
PB
268692011-01-27 Petr Baudis <pasky@suse.cz>
26870 Ulrich Drepper <drepper@gmail.com>
26871
071f805e 26872 [BZ 12445]#
84a42118
PB
26873 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26874 to extend_alloca().
26875 * stdio-common/bug23.c: New file.
26876 * stdio-common/Makefile (tests): Add bug23.
26877
e23fe25b
AS
268782010-09-28 Andreas Schwab <schwab@redhat.com>
26879 Ulrich Drepper <drepper@gmail.com>
26880
26881 [BZ #12489]
26882 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26883 before performing relro protection. At old place add assertion
26884 to make sure nothing changed.
26885
d3f02e10
NS
268862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26887 Glauber de Oliveira Costa <glommer@gmail.com>
26888
26889 * elf/elf.h: Add new ARM TLS relocs.
26890
d55fd7a5
RA
268912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26892
26893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26894 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26895 cast from r3.
26896 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26897 'tests' variable.
26898 * sysdeps/wordsize-64/tst-writev.c: New file.
26899
2206397e
RA
269002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26901
26902 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26903 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26904 insns in _dl_start to prevent a TOC reference before relocs are
26905 resolved.
26906
e9433893
UD
269072011-02-15 Ulrich Drepper <drepper@gmail.com>
26908
26909 [BZ #12469]
26910 * Makeconfig: Remove RANLIB definition.
26911 * Makerules: Don't use RANLIB.
26912 * aclocal.m4: Remove ranlib test.
26913 * configure.in: No need to check for ranlib.
26914 * elf/rtld-Rules: Don't use RANLIB.
26915
f75286c6
ST
269162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26917
8e31c82d
ST
26918 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26919 protection macro.
26920 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26921 inclusion protection macro.
26922
f75286c6
ST
26923 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26924 SIGRTMIN and SIGRTMAX and print information in that case only when
26925 SIGRTMIN is defined.
26926
c1d0e639
JJ
269272011-02-11 Jakub Jelinek <jakub@redhat.com>
26928
26929 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26930 arginfo fn returning -1.
26931
26932 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26933 and thousands string is zero terminated.
26934
edf9294e
AS
269352011-02-03 Andreas Schwab <schwab@redhat.com>
26936
26937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26938 sysdeps/unix/sysv/linux/bits/socket.h.
26939
2b7e92df
ST
269402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26941
edf9294e
AS
26942 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26943 (__CPU_COUNT): Remove old macros.
26944 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26945 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26946 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26947 (__sched_cpualloc, __sched_cpufree): Add declarations.
26948
a4c7ea7b
UD
269492011-02-05 Ulrich Drepper <drepper@gmail.com>
26950
26951 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26952 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26953 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26954 (readdhstai): Return value of addhstaiX call.
26955 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26956 (addgrbyX): Return value returned by cache_addgr.
26957 (readdgrbyname): Return value returned by addgrbyX.
26958 (readdgrbygid): Likewise.
26959 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26960 (addpwbyX): Return value returned by cache_addpw.
26961 (readdpwbyname): Return value returned by addhstbyX.
26962 (readdpwbyuid): Likewise.
26963 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26964 (addservbyX): Return value returned by cache_addserv.
26965 (readdservbyname): Return value returned by addservbyX:
26966 (readdservbyport): Likewise.
26967 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26968 (addhstbyX): Return value returned by cache_addhst.
26969 (readdhstbyname): Return value returned by addhstbyX.
26970 (readdhstbyaddr): Likewise.
26971 (readdhstbynamev6): Likewise.
26972 (readdhstbyaddrv6): Likewise.
26973 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26974 (readdinitgroups): Return value returned by addinitgroupsX.
26975 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26976 (prune_cache): Keep track of timeout value of re-added entries.
26977 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26978 * nscd/nscd.h: Adjust prototypes of readd* functions.
26979
a0bf67cc
RM
269802011-02-04 Roland McGrath <roland@redhat.com>
26981
26982 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26983 (nis_stats): Likewise.
26984 * nis/nis_modify.c (nis_modify): Likewise.
26985 * nis/nis_remove.c (nis_remove): Likewise.
26986 * nis/nis_add.c (nis_add): Likewise.
26987
26988 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26989
26990 * posix/fnmatch_loop.c: Add some consts.
26991
26992 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26993
435b95eb
L
269942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26995
26996 [BZ #12460]
26997 * config.make.in (config-cflags-novzeroupper): Define.
26998 * configure.in: Substitute libc_cv_cc_novzeroupper.
26999 * elf/Makefile (AVX-CFLAGS): Define.
27000 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27001 (CFLAGS-tst-auditmod4a.c): Likewise.
27002 (CFLAGS-tst-auditmod4b.c): Likewise.
27003 (CFLAGS-tst-auditmod6b.c): Likewise.
27004 (CFLAGS-tst-auditmod6c.c): Likewise.
27005 (CFLAGS-tst-auditmod7b.c): Likewise.
27006 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27007
8517b15e
UD
270082011-02-02 Ulrich Drepper <drepper@gmail.com>
27009
27010 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27011 function to the callback.
27012 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27013
10a656fe
AS
270142011-02-02 Andreas Schwab <schwab@redhat.com>
27015
27016 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27017 of errno.
27018
968dad0a
UD
270192011-01-19 Ulrich Drepper <drepper@gmail.com>
27020
9f94d2ea 27021 [BZ #11724]
968dad0a
UD
27022 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27023 of constructors.
27024 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27025 of destructors.
27026 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27027
27028 [BZ #11724]
27029 * elf/Makefile: Add rules to build and run new test.
27030 * elf/tst-initorder.c: New file.
27031 * elf/tst-initorder.exp: New file.
27032 * elf/tst-initordera1.c: New file.
27033 * elf/tst-initordera2.c: New file.
27034 * elf/tst-initordera3.c: New file.
27035 * elf/tst-initordera4.c: New file.
27036 * elf/tst-initorderb1.c: New file.
27037 * elf/tst-initorderb2.c: New file.
27038 * elf/tst-order-a1.c: New file.
27039 * elf/tst-order-a2.c: New file.
27040 * elf/tst-order-a3.c: New file.
27041 * elf/tst-order-a4.c: New file.
27042 * elf/tst-order-b1.c: New file.
27043 * elf/tst-order-b2.c: New file.
27044 * elf/tst-order-main.c: New file.
27045 New test case by George Gensure <werkt0@gmail.com>.
27046
86e92359
UD
270472010-10-01 Andreas Schwab <schwab@redhat.com>
27048
27049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27050 decoding ACE if AI_CANONIDN.
27051
5d5732b0
UD
270522011-01-18 Ulrich Drepper <drepper@gmail.com>
27053
27054 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27055
a77e8cbc
UD
270562011-01-17 Ulrich Drepper <drepper@gmail.com>
27057
6392473f
UD
27058 * version.h (RELEASE): Bump for 2.13 release.
27059 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27060
620a0529
UD
27061 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27062
18ba70a5
UD
27063 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27064 MADV_NOHUGEPAGE.
32465c3e
UD
27065 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27066 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27067 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27068 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27069 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27070 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27071
c0dafcf1
UD
27072 * posix/getconf.c: Update copyright year.
27073 * catgets/gencat.c: Likewise.
27074 * csu/version.c: Likewise.
27075 * debug/catchsegv.sh: Likewise.
27076 * debug/xtrace.sh: Likewise.
27077 * elf/ldconfig.c: Likewise.
27078 * elf/ldd.bash.in: Likewise.
27079 * elf/sprof.c (print_version): Likewise.
27080 * iconv/iconv_prog.c: Likewise.
27081 * iconv/iconvconfig.c: Likewise.
27082 * locale/programs/locale.c: Likewise.
27083 * locale/programs/localedef.c: Likewise.
27084 * malloc/memusage.sh: Likewise.
27085 * malloc/mtrace.pl: Likewise.
27086 * nscd/nscd.c (print_version): Likewise.
27087 * nss/getent.c: Likewise.
27088
a77e8cbc
UD
27089 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27090 PF_CAIF, and PF_ALG.
27091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27092
77e8bddf
AS
270932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27094
1f20b93a
AS
27095 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27096 (modules-names): Use them.
27097 (ifunc-test-modules, ifunc-pie-tests): Define.
27098 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27099 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27100 (test-extras): Likewise.
27101 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27102 $(compile-command.c).
27103 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27104 (all-built-dso): Define.
27105 (check-textrel.out, check-execstack.out): Depend on it.
27106
77e8bddf
AS
27107 * configure.in: Don't override --enable-multi-arch.
27108
bc425b33
UD
271092011-01-15 Ulrich Drepper <drepper@gmail.com>
27110
27111 [BZ #6812]
27112 * nscd/hstcache.c (tryagain): Define.
27113 (cache_addhst): Return tryagain not notfound for temporary errors.
27114 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27115 failed.
27116
794c3ad3
UD
271172011-01-14 Ulrich Drepper <drepper@gmail.com>
27118
70181fdd
UD
27119 [BZ #10563]
27120 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27121 to make the syscall.
27122 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27123
794c3ad3
UD
27124 [BZ #12378]
27125 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27126 and fall back to matching as normal character if the string ends before
27127 the matching ']' is found. This is what POSIX requires.
27128 * posix/testfnm.c: Adjust test result.
27129 * posix/globtest.sh: Adjust test result. Add new test.
27130 * posix/tst-fnmatch.input: Likewise.
27131 * posix/tst-fnmatch2.c: Add new test.
27132
68dc9497
AS
271332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27134
27135 * elf/Makefile (check-execstack): Revert last change. Depend on
27136 check-execstack.h.
27137 (check-execstack.h): New target.
27138 (generated): Add check-execstack.h.
27139 * elf/check-execstack.c: Include "check-execstack.h".
27140 (main): Revert last change.
27141 (handle_file): Return zero if GNU_STACK is absent and
27142 DEFAULT_STACK_PERMS doesn't include PF_X.
27143
451f001b
UD
271442011-01-13 Ulrich Drepper <drepper@gmail.com>
27145
cfa28e56
UD
27146 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27147 in child fails because the descriptor is already closed.
8cf8ce17
UD
27148 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27149 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27150 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27151
1086d70d
UD
27152 [BZ #12397]
27153 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27154 syscall.
27155
451f001b
UD
27156 [BZ #10484]
27157 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27158 temporary buffer used to handle multi lookups locally.
a85b5cb4 27159 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27160
08769175
UD
271612011-01-12 Ulrich Drepper <drepper@gmail.com>
27162
27163 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27164 loader is ld.so.
27165
5e49c52e
UD
271662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27167
27168 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27169 alignment for SSE2.
27170
60522a5f
UD
271712011-01-12 Ulrich Drepper <drepper@gmail.com>
27172
27173 [BZ #12394]
27174 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27175 characters. When rounding increased number of integer digits recompute
27176 number of groups.
27177 * stdio-common/tst-grouping.c: New file.
27178 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27179
f257bbd7
UD
271802011-01-09 Ulrich Drepper <drepper@gmail.com>
27181
27182 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27183 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27184
27185 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27186 void.
27187 * bits/select.h: Likewise.
27188
fa9c15cb
UD
271892011-01-08 Ulrich Drepper <drepper@gmail.com>
27190
27191 * po/ja.po: Update from translation team.
27192
16c2895f
DM
271932011-01-04 David S. Miller <davem@sunset.davemloft.net>
27194
27195 [BZ #11155]
27196 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27197 implementation just like for lxstat, fxstatat, et al.
27198
2543fef2
JM
271992010-12-27 Jim Meyering <meyering@redhat.com>
27200
27201 [BZ #12348]
27202 * posix/regexec.c (build_trtable): Return failure indication upon
27203 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27204
98727dbe
UD
272052010-12-25 Ulrich Drepper <drepper@gmail.com>
27206
5bd6dc5c
UD
27207 [BZ #12201]
27208 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27209 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27210 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27211 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27212
97983464
UD
27213 [BZ #12207]
27214 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27215
98727dbe
UD
27216 [BZ #12204]
27217 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27218 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27219
4a531bb0
L
272202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27221
27222 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27223 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27224 script has SORT_BY_INIT_PRIORITY.
27225 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27226 NO_CTORS_DTORS_SECTIONS is defined.
27227 * elf/soinit.c: Likewise.
27228 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27229 NO_CTORS_DTORS_SECTIONS is defined.
27230 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27231 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27232 * sysdeps/sh/init-first.c: Likewise.
27233 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27234
07eb4b71
UD
272352010-12-24 Ulrich Drepper <drepper@gmail.com>
27236
27237 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27238 always use the slow path.
27239
30950a5f
RA
272402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27241
27242 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27243 similar rule which adds the sysdep directories to the header search in
27244 order to pick up the correct platform stackinfo.h.
27245 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27246 perform test if it is, otherwise return successfully without testing.
27247 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27248 DEFAULT_STACK_PERMS define in stackinfo.h.
27249 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27250 defined in stackinfo.h.
27251 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27252 DEFAULT_STACK_PERMS defined in stackinfo.h.
27253 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27254 * sysdeps/ia64/stackinfo.h: Likewise.
27255 * sysdeps/s390/stackinfo.h: Likewise.
27256 * sysdeps/sh/stackinfo.h: Likewise.
27257 * sysdeps/sparc/stackinfo.h: Likewise.
27258 * sysdeps/x86_64/stackinfo.h: Likewise.
27259 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27260 PF_X for powerpc64. Retain PF_X for powerpc32.
27261
db753e2c
UD
272622010-12-19 Ulrich Drepper <drepper@gmail.com>
27263
14b697f7
UD
27264 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27265 accurately.
db753e2c
UD
27266 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27267 GETDENTS_64BIT_ALIGNED.
27268
28300719
UD
272692010-12-14 Ulrich Drepper <dreper@gmail.com>
27270
14b697f7 27271 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27272
4f197237
AS
272732010-12-10 Andreas Schwab <schwab@redhat.com>
27274
dbb0472f
AS
27275 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27276 _GNU_SOURCE.
27277
4f197237
AS
27278 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27279 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27280 Remove __restrict.
27281 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27282 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27283
fb88ac72
UD
272842010-12-09 Ulrich Drepper <drepper@gmail.com>
27285
27286 [BZ #11655]
27287 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27288 are initialized.
27289
42acbb92
JJ
272902010-12-09 Jakub Jelinek <jakub@redhat.com>
27291
27292 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27293
c038d98d
UD
272942010-12-03 Ulrich Drepper <drepper@gmail.com>
27295
27296 * po/it.po: Update from translation team.
27297
3a4a2499
L
272982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27299
27300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27301 unused codes.
27302
1e24cf6e
UD
273032010-11-30 Ulrich Drepper <drepper@gmail.com>
27304
27305 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27306
a7690819
AS
273072010-11-24 Andreas Schwab <schwab@redhat.com>
27308
27309 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27310 specially.
27311 (gaih_getanswer_slice): Likewise.
27312
3bf8d1b1
JJ
273132010-10-20 Jakub Jelinek <jakub@redhat.com>
27314
27315 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27316
6db52fbb
PB
273172010-05-31 Petr Baudis <pasky@suse.cz>
27318
27319 [BZ #11149]
27320 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27321 silently even in the chroot mode.
27322
eaca7569
UD
273232010-11-22 Ulrich Drepper <drepper@gmail.com>
27324
27325 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27326 last patch a bit. Pretty printing
27327
3056dcdb
UD
273282010-05-31 Petr Baudis <pasky@suse.cz>
27329
27330 [BZ #10085]
27331 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27332 initialization of skip_initgroups_dyn.
27333
cf7c9078
UD
273342010-11-19 Ulrich Drepper <drepper@gmail.com>
27335
27336 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27337 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27338
a1fb5e3e
UD
273392010-11-16 Ulrich Drepper <drepper@gmail.com>
27340
27341 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27342
3540d66b
AS
273432010-11-11 Andreas Schwab <schwab@redhat.com>
27344
27345 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27346 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27347 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27348 ($(objpfx)tst-fnmatch-mem): New rule.
27349 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27350 * posix/tst-fnmatch.c (main): Call mtrace.
27351
13b69574
L
273522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27353
27354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27355 Support Intel processor model 6 and model 0x2c.
27356
da93d214
LM
273572010-11-10 Luis Machado <luisgpm@br.ibm.com>
27358
27359 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27360 signed comparison.
27361
8ca52c6e
L
273622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27363
27364 [BZ #12205]
27365 * string/test-strncasecmp.c (check_result): New function.
27366 (do_one_test): Use it.
27367 (check1): New function.
27368 (test_main): Use it.
27369 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27370 Support strcasecmp and strncasecmp.
27371
69da074d
UD
273722010-11-08 Ulrich Drepper <drepper@gmail.com>
27373
27374 [BZ #12194]
27375 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27376 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27377
ff02d528
L
273782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27379
27380 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27381 IFUNC support.
27382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27383 memset-x86-64.
27384 * sysdeps/x86_64/multiarch/bzero.S: New file.
27385 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27386 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27387 * sysdeps/x86_64/multiarch/memset.S: New file.
27388 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27390 Set bit_Prefer_SSE_for_memop for Intel processors.
27391 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27392 Define.
27393 (index_Prefer_SSE_for_memop): Define.
27394 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27395
344d0b54
LM
273962010-11-04 Luis Machado <luisgpm@br.ibm.com>
27397
27398 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27399 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27400
c0dde15b
UD
274012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27402
27403 [BZ #12191]
27404 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27405 (__x86_64_raw_data_cache_size_half): Likewise.
27406 (__x86_64_raw_shared_cache_size): Likewise.
27407 (__x86_64_raw_shared_cache_size_half): Likewise.
27408
27409 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27410 (__x86_64_raw_data_cache_size_half): Likewise.
27411 (__x86_64_raw_shared_cache_size): Likewise.
27412 (__x86_64_raw_shared_cache_size_half): Likewise.
27413 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27414 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27415 and __x86_64_raw_shared_cache_size_half. Round
27416 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27417 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27418 to multiple of 256 bytes.
27419
0e516e0e
MS
274202010-11-03 Ulrich Drepper <drepper@gmail.com>
27421
27422 [BZ #12167]
27423 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27424 of inacessible symlinks. Verify result of symlink before returning it.
27425 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27426 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27427
0e012e87
ER
274282010-10-28 Erich Ritz <erichritz@gmail.com>
27429
27430 * math/math.h (isinf): Fix typo in comment.
27431
de0ff7bc
UD
274322010-11-01 Ulrich Drepper <drepper@gmail.com>
27433
27434 * po/da.po: Update from translation team.
27435
fa41c84d
UD
274362010-10-26 Ulrich Drepper <drepper@gmail.com>
27437
27438 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27439 is added to the list.
27440
f0967738
AK
274412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27442 Ulrich Drepper <drepper@gmail.com>
27443
27444 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27445 the global list here. Move code to...
27446 (_dl_add_to_namespace_list): ...here. New function.
27447 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27448 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27449 * elf/dl-load.c (lose): Don't remove the element from the list.
27450 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27451 (_dl_map_object): Likewise.
27452
274532010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27454
27455 [BZ #12159]
27456 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27457 into all bytes of SSE register.
27458 Patch by Richard Li <richardpku@gmail.com>.
27459
f0967738 274602010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27461
27462 [BZ #12140]
27463 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27464 perturbing.
27465
d0b9e94f
MB
274662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27467
27468 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27469 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27470 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27471 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27473 submachine.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27475
8e9f92e9
AS
274762010-10-22 Andreas Schwab <schwab@redhat.com>
27477
27478 * include/dlfcn.h (__RTLD_SECURE): Define.
27479 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27480 mode & __RTLD_SECURE instead.
27481 (open_path): Rename preloaded parameter to secure.
27482 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27483 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27484 * elf/dl-deps.c (openaux): Likewise.
27485 * elf/rtld.c (struct map_args): Remove is_preloaded.
27486 (map_doit): Don't use it.
27487 (dl_main): Likewise.
27488 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27489 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27490
bc96fbda
AS
274912010-09-09 Andreas Schwab <schwab@redhat.com>
27492
27493 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27494 (sysd-rules-targets): Remove duplicates.
27495 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27496 rtld-%.$o dependency.
27497
22cd1c9b
AS
274982010-10-18 Andreas Schwab <schwab@redhat.com>
27499
27500 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27501 _dl_map_object do it.
27502
18edac48
UD
275032010-10-19 Ulrich Drepper <drepper@gmail.com>
27504
27505 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27506 fast fma builtins, define the macros in the C99 standard.
27507 (FP_FAST_FMAF): Likewise.
27508 (FP_FAST_FMAL): Likewise.
27509 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27510
27511 * bits/mathdef.h: Update copyright year.
27512 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27513
d2050124
MM
275142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27515
27516 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27517 builtins, define the macros in the C99 standard.
27518 (FP_FAST_FMAF): Likewise.
27519 (FP_FAST_FMAL): Likewise.
27520 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27521 multiply/add.
27522 (FP_FAST_FMAF): Likewise.
27523
475facd1
JJ
275242010-10-15 Jakub Jelinek <jakub@redhat.com>
27525
27526 [BZ #3268]
27527 * math/libm-test.inc (fma_test): Some new testcases.
27528 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27529 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27530 y and infinite z. Do multiplication by C already in long double.
27531 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27533 y and infinite z. Do bitwise or of inexact bit into u.d.
27534 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27535 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27536 * sysdeps/i386/fpu/s_fma.S: Removed.
27537 * sysdeps/i386/fpu/s_fmal.S: Removed.
27538
7c08a05c
JJ
275392010-10-16 Jakub Jelinek <jakub@redhat.com>
27540
27541 [BZ #3268]
27542 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27544 computation is not scheduled after fetestexcept. Fix value
27545 of minimum denormal long double.
27546
f3f7372d
JJ
275472010-10-14 Jakub Jelinek <jakub@redhat.com>
27548
27549 [BZ #3268]
27550 * math/libm-test.inc (fma_test): Add some more tests.
27551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27552 correctly.
27553
14d43591
AS
275542010-10-15 Andreas Schwab <schwab@redhat.com>
27555
27556 * scripts/data/localplt-s390-linux-gnu.data: New file.
27557 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27558
5e908464
JJ
275592010-10-13 Jakub Jelinek <jakub@redhat.com>
27560
27561 [BZ #3268]
27562 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27563 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27564 instead of dbl-64.
27565 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27566 inlines.
27567 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27569 if one of x and y is very large and the other is subnormal.
27570 * sysdeps/s390/fpu/s_fmaf.c: New file.
27571 * sysdeps/s390/fpu/s_fma.c: New file.
27572 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27573 * sysdeps/powerpc/fpu/s_fma.S: New file.
27574 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27575 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27576 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27577
275782010-10-12 Jakub Jelinek <jakub@redhat.com>
27579
27580 [BZ #3268]
27581 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27582 fma tests.
27583 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27584 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27585 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27586 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27587 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27588 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27589 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27590
b833d51f
UD
275912010-10-12 Ulrich Drepper <drepper@redhat.com>
27592
27593 [BZ #12078]
27594 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27595 * posix/bug-regex31.input: Add test case.
27596
1751705d
UD
275972010-10-11 Ulrich Drepper <drepper@gmail.com>
27598
e9b9cbf5
UD
27599 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27600 * posix/bug-regex31.input: New file.
27601
27602 [BZ #12078]
27603 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27604 (parse_sub_exp): Fix last change, use postorder.
27605
ef06edbe
UD
27606 * posix/bug-regex31.c: New file.
27607 * posix/Makefile: Add rules to build and run bug-regex31.
27608
a129c80d
UD
27609 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27610
27611 [BZ #12078]
27612 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27613
b76b818e
UD
27614 [BZ #12108]
27615 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27616 to have entries in sys_siglist.
27617
1751705d
UD
27618 [BZ #12093]
27619 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27620 be NULL.
27621
9ff8d36f
JJ
276222010-10-07 Jakub Jelinek <jakub@redhat.com>
27623
27624 [BZ #3268]
27625 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27626 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27627 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27628 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27629 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27630 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27631 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27632 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27633 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27634 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27635 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27636 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27637 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27638 * math/ftestexcept.c (fetestexcept): Likewise.
27639 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27640 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27641 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27642 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27643 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27644 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27645 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27646
af325969
UD
276472010-10-11 Ulrich Drepper <drepper@gmail.com>
27648
c579b202 27649 [BZ #12107]
af325969
UD
27650 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27651 newline.
27652
67a67b95
UD
276532010-10-06 Ulrich Drepper <drepper@gmail.com>
27654
27655 * string/bug-strstr1.c: New file.
27656 * string/Makefile: Add rules to build and run bug-strstr1.
27657
5fb308bc
EB
276582010-10-05 Eric Blake <eblake@redhat.com>
27659
27660 [BZ #12092]
27661 * string/str-two-way.h (two_way_long_needle): Always clear memory
27662 when skipping input due to the shift table.
27663
45db99c7
UD
276642010-10-03 Ulrich Drepper <drepper@gmail.com>
27665
3b111893
UD
27666 [BZ #12005]
27667 * malloc/mcheck.c: Handle large requests.
27668
45db99c7
UD
27669 [BZ #12077]
27670 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27671 for strncmp and strncasecmp.
27672 * string/stratcliff.c: Add tests for strcmp and strncmp.
27673 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27674
cf7a1eb8
NI
276752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27676
27677 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27678 __set_fpscr.
27679
6484ba5e
AJ
276802010-09-30 Andreas Jaeger <aj@suse.de>
27681
27682 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27683 (CGROUP_SUPER_MAGIC): Define.
27684 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27685 Handle btrfs and cgroup file systems.
27686 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27687 Likewise.
27688
91c42559
LM
276892010-09-27 Luis Machado <luisgpm@br.ibm.com>
27690
27691 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27692 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27693
87a97932
AK
276942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27695
27696 [BZ #12067]
27697 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27698 trying to locate the ELF header.
27699
c21cc9bc
AS
277002010-09-27 Andreas Schwab <schwab@redhat.com>
27701
27702 [BZ #11611]
27703 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27704 Mask out sign-bit copies when constructing f_fsid.
27705
315970f6
PB
277062010-09-24 Petr Baudis <pasky@suse.cz>
27707
27708 * debug/stack_chk_fail_local.c: Add missing licence exception.
27709 * debug/warning-nop.c: Likewise.
27710
1ac7a2c7
JM
277112010-09-15 Joseph Myers <joseph@codesourcery.com>
27712
27713 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27714 implementing getdents64 using getdents syscall, set d_type if
27715 __ASSUME_GETDENTS32_D_TYPE.
27716
56801c50
AS
277172010-09-16 Andreas Schwab <schwab@redhat.com>
27718
27719 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27720 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27721
dda51327
UD
277222010-09-21 Ulrich Drepper <drepper@redhat.com>
27723
27724 [BZ #12037]
27725 * posix/unistd.h: Undo change of feature selection for ftruncate from
27726 2010-01-11.
27727
8ffcee4a
UD
277282010-09-20 Ulrich Drepper <drepper@redhat.com>
27729
a545ecd9 27730 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27731 detection.
27732
e24f0a8b
AS
277332010-09-20 Andreas Schwab <schwab@redhat.com>
27734
27735 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27736 fanotify_mark.
27737 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27738
7291c56f
AS
277392010-09-14 Andreas Schwab <schwab@redhat.com>
27740
27741 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27742 variables after CHECK_SP call.
27743 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27744
bc5fb037
AS
277452010-09-13 Andreas Schwab <schwab@redhat.com>
27746 Ulrich Drepper <drepper@redhat.com>
27747
27748 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27749 re-relocationg ld.so.
27750 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27751 _dl_init_paths call.
27752 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27753 here anymore.
27754
e66e7419
UD
277552010-09-14 Ulrich Drepper <drepper@redhat.com>
27756
27757 * resolv/res_init.c (__res_vinit): Count the default server we added.
27758
c044aa75
CLT
277592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27760 Ulrich Drepper <drepper@redhat.com>
27761
27762 [BZ #11968]
27763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27764 (____longjmp_chk): Use %ebx for saving value across system call.
27765 Add unwind info.
27766
32cf4069
AS
277672010-09-06 Andreas Schwab <schwab@redhat.com>
27768
27769 * manual/Makefile: Don't mix pattern rules with normal rules.
27770
817328ee
AS
277712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27772
27773 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27774 operation.
27775 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27776 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27777 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27778 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27779 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27780 Likewise.
27781
29fddf61
UD
277822010-09-04 Ulrich Drepper <drepper@redhat.com>
27783
27784 [BZ #11979]
27785 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27786 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27787
0959ffc9
UD
277882010-09-02 Ulrich Drepper <drepper@redhat.com>
27789
27790 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27791 * sysdeps/x86_64/addmul_1.S: Likewise.
27792 * sysdeps/x86_64/lshift.S: Likewise.
27793 * sysdeps/x86_64/mul_1.S: Likewise.
27794 * sysdeps/x86_64/rshift.S: Likewise.
27795 * sysdeps/x86_64/sub_n.S: Likewise.
27796 * sysdeps/x86_64/submul_1.S: Likewise.
27797
ece29840
ST
277982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27799
0959ffc9
UD
27800 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27801 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27802 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27803 * bits/sched.h [__need_schedparam]
ece29840 27804 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27805 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27806 (__defined_schedparam): Define to 1.
ece29840
ST
27807 (__sched_param): New structure, identical to sched_param.
27808 (__need_schedparam): Undefine.
27809
e53a31fe
MF
278102010-08-31 Mike Frysinger <vapier@gentoo.org>
27811
fdc0c10d
MF
27812 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27813 (epoll_create1): Declare.
27814
e53a31fe
MF
27815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27816
a726d796
AS
278172010-08-31 Andreas Schwab <schwab@redhat.com>
27818
27819 [BZ #7066]
27820 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27821 shifting retval into place.
27822
2f3e3dc7
UD
278232010-09-01 Ulrich Drepper <drepper@redhat.com>
27824
f2933da9
UD
27825 * nis/rpcsvc/nis.h: Update copyright notice.
27826 * nis/rpcsvc/nis.x: Likewise.
27827 * nis/rpcsvc/nis_callback.h: Likewise.
27828 * nis/rpcsvc/nis_callback.x: Likewise.
27829 * nis/rpcsvc/nis_object.x: Likewise.
27830 * nis/rpcsvc/nis_tags.h: Likewise.
27831 * nis/rpcsvc/yp.h: Likewise.
27832 * nis/rpcsvc/yp.x: Likewise.
27833 * nis/rpcsvc/ypupd.h: Likewise.
27834 * nis/yp_xdr.c: Likewise.
27835 * nis/ypupdate_xdr.c: Likewise.
27836
2f3e3dc7
UD
27837 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27838 mainly the body of pmap_getport. Add parameters to specify timeouts.
27839 (pmap_getport): Use __libc_rpc_getport.
27840 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27841 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27842 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27843
f3dcc2f9
AS
278442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27845
27846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27847 fanotify_mark.
27848
6d34eb5b
RM
278492010-08-27 Roland McGrath <roland@redhat.com>
27850
27851 * sysdeps/i386/i686/multiarch/Makefile
27852 (CFLAGS-varshift.c): New variable.
27853
9ea3de11
UD
278542010-08-27 Ulrich Drepper <drepper@redhat.com>
27855
c96d23fc
UD
27856 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27857 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27858
9ea3de11
UD
27859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27860
27861 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27862
623aac7f
L
278632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27864
27865 * sysdeps/x86_64/strlen.S: Unroll the loop.
27866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27867 strlen-sse2 strlen-sse2-bsf.
27868 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27869 __strlen_no_bsf if bit_Slow_BSF is set.
27870 (__strlen_sse42): Removed.
27871 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27872 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27873
8b2b7715
RM
278742010-08-25 Roland McGrath <roland@redhat.com>
27875
27876 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27877 * sysdeps/x86_64/multiarch/varshift.c: New file.
27878 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27879 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27880 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27881 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27882
e73015f2
L
278832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27884
27885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27886 strlen-sse2 strlen-sse2-bsf.
27887 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27888 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27889 (__strlen_sse2): Removed.
27890 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27891 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27893 bit_Slow_BSF for Atom.
27894 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27895 (index_Slow_BSF): Define.
27896 (HAS_SLOW_BSF): Define.
27897
df24a73e
UD
278982010-08-25 Ulrich Drepper <drepper@redhat.com>
27899
27900 [BZ #10851]
27901 * resolv/res_init.c (__res_vinit): When no server address at all
27902 is given default to loopback.
27903
f2ac4868
RM
279042010-08-24 Roland McGrath <roland@redhat.com>
27905
09055553
RM
27906 * configure.in: Remove config-name.h generation.
27907 * configure: Regenerated.
27908 * config-name.in: File removed.
27909 * scripts/config-uname.sh: New file.
27910 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27911 ($(objdir)config-name.h): New target.
27912
f2ac4868
RM
27913 * sunrpc/rpc_parse.h: Avoid nested comment.
27914
73f27d5e
RH
279152010-08-24 Richard Henderson <rth@redhat.com>
27916 Ulrich Drepper <drepper@redhat.com>
27917 H.J. Lu <hongjiu.lu@intel.com>
27918
27919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27921 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27922 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27923 _mm_alignr_epi8 with _mm_loadu_si128.
27924 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27925 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27926 (__m128i_shift_right): Removed.
27927 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27928 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27929 * sysdeps/x86_64/multiarch/varshift.h: New file.
27930 * sysdeps/x86_64/multiarch/varshift.S: New file.
27931
84b9230c
MF
279322010-08-21 Mike Frysinger <vapier@gentoo.org>
27933
27934 * configure.in: Move assembler checks to before sysdep dir checking.
27935
9bbd0ddc
PB
279362010-08-20 Petr Baudis <pasky@suse.cz>
27937
27938 * LICENSES: Sync the sunrpc license.
27939
9da4bb31
UD
279402010-08-19 Ulrich Drepper <drepper@redhat.com>
27941
a7ab6ec8
UD
27942 * sunrpc/auth_des.c: Update copyright notice once again.
27943 * sunrpc/auth_none.c: Likewise.
27944 * sunrpc/auth_unix.c: Likewise.
27945 * sunrpc/authdes_prot.c: Likewise.
27946 * sunrpc/authuxprot.c: Likewise.
27947 * sunrpc/bindrsvprt.c: Likewise.
27948 * sunrpc/clnt_gen.c: Likewise.
27949 * sunrpc/clnt_perr.c: Likewise.
27950 * sunrpc/clnt_raw.c: Likewise.
27951 * sunrpc/clnt_simp.c: Likewise.
27952 * sunrpc/clnt_tcp.c: Likewise.
27953 * sunrpc/clnt_udp.c: Likewise.
27954 * sunrpc/clnt_unix.c: Likewise.
27955 * sunrpc/des_crypt.c: Likewise.
27956 * sunrpc/des_soft.c: Likewise.
27957 * sunrpc/get_myaddr.c: Likewise.
27958 * sunrpc/getrpcport.c: Likewise.
27959 * sunrpc/key_call.c: Likewise.
27960 * sunrpc/key_prot.c: Likewise.
27961 * sunrpc/openchild.c: Likewise.
27962 * sunrpc/pm_getmaps.c: Likewise.
27963 * sunrpc/pm_getport.c: Likewise.
27964 * sunrpc/pmap_clnt.c: Likewise.
27965 * sunrpc/pmap_prot.c: Likewise.
27966 * sunrpc/pmap_prot2.c: Likewise.
27967 * sunrpc/pmap_rmt.c: Likewise.
27968 * sunrpc/rpc/auth.h: Likewise.
27969 * sunrpc/rpc/auth_unix.h: Likewise.
27970 * sunrpc/rpc/clnt.h: Likewise.
27971 * sunrpc/rpc/des_crypt.h: Likewise.
27972 * sunrpc/rpc/key_prot.h: Likewise.
27973 * sunrpc/rpc/netdb.h: Likewise.
27974 * sunrpc/rpc/pmap_clnt.h: Likewise.
27975 * sunrpc/rpc/pmap_prot.h: Likewise.
27976 * sunrpc/rpc/pmap_rmt.h: Likewise.
27977 * sunrpc/rpc/rpc.h: Likewise.
27978 * sunrpc/rpc/rpc_des.h: Likewise.
27979 * sunrpc/rpc/rpc_msg.h: Likewise.
27980 * sunrpc/rpc/svc.h: Likewise.
27981 * sunrpc/rpc/svc_auth.h: Likewise.
27982 * sunrpc/rpc/types.h: Likewise.
27983 * sunrpc/rpc/xdr.h: Likewise.
27984 * sunrpc/rpc_clntout.c: Likewise.
27985 * sunrpc/rpc_cmsg.c: Likewise.
27986 * sunrpc/rpc_common.c: Likewise.
27987 * sunrpc/rpc_cout.c: Likewise.
27988 * sunrpc/rpc_dtable.c: Likewise.
27989 * sunrpc/rpc_hout.c: Likewise.
27990 * sunrpc/rpc_main.c: Likewise.
27991 * sunrpc/rpc_parse.c: Likewise.
27992 * sunrpc/rpc_parse.h: Likewise.
27993 * sunrpc/rpc_prot.c: Likewise.
27994 * sunrpc/rpc_sample.c: Likewise.
27995 * sunrpc/rpc_scan.c: Likewise.
27996 * sunrpc/rpc_scan.h: Likewise.
27997 * sunrpc/rpc_svcout.c: Likewise.
27998 * sunrpc/rpc_tblout.c: Likewise.
27999 * sunrpc/rpc_util.c: Likewise.
28000 * sunrpc/rpc_util.h: Likewise.
28001 * sunrpc/rpcinfo.c: Likewise.
28002 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28003 * sunrpc/rpcsvc/key_prot.x: Likewise.
28004 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28005 * sunrpc/rpcsvc/mount.x: Likewise.
28006 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28007 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28008 * sunrpc/rpcsvc/rex.x: Likewise.
28009 * sunrpc/rpcsvc/rstat.x: Likewise.
28010 * sunrpc/rpcsvc/rusers.x: Likewise.
28011 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28012 * sunrpc/rpcsvc/spray.x: Likewise.
28013 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28014 * sunrpc/rtime.c: Likewise.
28015 * sunrpc/svc.c: Likewise.
28016 * sunrpc/svc_auth.c: Likewise.
28017 * sunrpc/svc_authux.c: Likewise.
28018 * sunrpc/svc_raw.c: Likewise.
28019 * sunrpc/svc_run.c: Likewise.
28020 * sunrpc/svc_simple.c: Likewise.
28021 * sunrpc/svc_tcp.c: Likewise.
28022 * sunrpc/svc_udp.c: Likewise.
28023 * sunrpc/svc_unix.c: Likewise.
28024 * sunrpc/svcauth_des.c: Likewise.
28025 * sunrpc/xcrypt.c: Likewise.
28026 * sunrpc/xdr.c: Likewise.
28027 * sunrpc/xdr_array.c: Likewise.
28028 * sunrpc/xdr_float.c: Likewise.
28029 * sunrpc/xdr_mem.c: Likewise.
28030 * sunrpc/xdr_rec.c: Likewise.
28031 * sunrpc/xdr_ref.c: Likewise.
28032 * sunrpc/xdr_sizeof.c: Likewise.
28033 * sunrpc/xdr_stdio.c: Likewise.
28034
9da4bb31
UD
28035 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28036 handling.
28037
bdaa77bc
AS
280382010-08-19 Andreas Schwab <schwab@redhat.com>
28039
28040 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28041
fe2f79db
LM
280422010-08-19 Luis Machado <luisgpm@br.ibm.com>
28043
28044 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28045 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28046 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28047 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28048 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28049 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28050 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28051 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28052 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28053 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28054 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28055 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28056 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28057 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28058
b9b42ee0
AB
280592010-07-26 Anton Blanchard <anton@samba.org>
28060
28061 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28062 * malloc/arena.c (heap_trim): Likewise.
28063
1c06ba31
UD
280642010-08-16 Ulrich Drepper <drepper@redhat.com>
28065
28066 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28067 here. Not...
28068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28069 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28070
f8392f40
L
280712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28072
28073 * sysdeps/i386/elf/Makefile: New file.
28074
3162f12e
AS
280752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28076
28077 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28078 from fanotify_init.
28079 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28080 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28081
28c90b2c
UD
280822010-08-15 Ulrich Drepper <drepper@redhat.com>
28083
28084 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28085 of strncasecmp_l.
1feccb6c 28086 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28087
ca6bb004
UD
280882010-08-14 Ulrich Drepper <drepper@redhat.com>
28089
e9f82e0d
UD
28090 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28091 strncase_l-nonascii.
28092 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28093 Add strncase_l-ssse3.
28094 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28095 * sysdeps/x86_64/strcmp.S: Likewise.
28096 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28097 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28098 * sysdeps/x86_64/strncase.S: New file.
28099 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28100 * sysdeps/x86_64/strncase_l.S: New file.
28101 * string/Makefile (strop-tests): Add strncasecmp.
28102 * string/test-strncasecmp.c: New file.
28103
28104 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28105 warning.
28106
ca6bb004
UD
28107 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28108 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28109
052fa7b3
AS
281102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28111
28112 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28113
962dba78
UD
281142010-08-12 Ulrich Drepper <drepper@redhat.com>
28115
28116 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28117 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28118 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28119
bebff237
AM
281202010-05-01 Alan Modra <amodra@gmail.com>
28121
28122 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28123 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28124 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28125 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28126 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28127 tidying. Don't tail-call __sigjmp_save for static lib.
28128 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28129 save location.
28130 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28131 (CALL_MCOUNT): Add eh info, and nop after bl.
28132 (TAIL_CALL_SYSCALL_ERROR): New macro.
28133 (PSEUDO_RET): Use it.
28134 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28135 Correct save location of integer regs and cr.
28136 (_dl_profile_resolve): Correct cr save location. Delete nops
28137 after bl when SHARED. Reduce cfi size a little by better
28138 placement of cfi directives.
28139 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28140 make a stack frame. Instead use parm save area as a temp.
28141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28142 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28144 Don't make a stack frame for parent, use parm save area.
28145 Increase child stack frame to 112 bytes. Don't save unused reg,
28146 and adjust reg usage. Set up cfi on error recovery and
28147 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28149 (__makecontext): Add dummy nop after jump to exit.
28150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28151 Use correct parm save area and cr save, reduce stack frame.
28152 Correct cfi for possible PSEUDO_RET frame setup.
28153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28154 Branch to local label emitted by PSEUDO_RET rather than
28155 __syscall_error.
28156
02637374
AS
281572010-08-12 Andreas Schwab <schwab@redhat.com>
28158
28159 [BZ #11904]
28160 * locale/programs/locale.c (print_assignment): New function.
28161 (show_locale_vars): Use it.
28162
c3e2f19b
UD
281632010-08-11 Ulrich Drepper <drepper@redhat.com>
28164
3cdaa6ad
UD
28165 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28166 field.
28167 (struct statfs64): Likewise.
28168 (_STATFS_F_FLAGS): Define.
28169 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28170 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28171 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28172 (ST_VALID): Define locally.
28173 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28174 __statvfs_getflags, use the provided value.
28175 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28176 __ASSUME_STATFS_F_FLAGS.
28177
754f7da3
UD
28178 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28179
10b3bedc
UD
28180 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28181 Add sys/fanotify.h.
28182 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28183 fanotify_mask for GLIBC_2.13.
28184 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28185 fanotify_init and fanotify_mark.
28186 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28187 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28188
c08fb0d7
UD
28189 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28190 Add prlimit.
28191 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28192 prlimit64 for GLIBC_2.13.
28193 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28194 prlimit64.
28195 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28196 syscall.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28198 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28199 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28200 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28202 add prlimit alias.
28203 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28204
15bac72b
UD
28205 [BZ #11903]
28206 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28207 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28208
c3e2f19b
UD
28209 * nss/Makefile: Add rules to build and run tst-nss-test1.
28210 * shlib-versions: Add entry for libnss_test1.
28211 * nss/nss_test1.c: New file.
28212 * nss/tst-nss-test1.c: New file.
28213
28214 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28215 (__nss_configure_lookup): Set appropriate entry in
28216 __nss_configure_lookup to true.
28217 * nss/nsswitch.h: Define enum with indeces of databases in
28218 databases and __nss_database_custom arrays. Declare
28219 __nss_database_custom.
28220 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28221 to avoid using nscd when custom rules are installed.
28222 * nss/getXXbyYY_r.c: Likewise.
28223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28224
28225 * nss/nss_files/files-parse.c: Whitespace fixes.
28226
f15ce4d8
UD
282272010-08-09 Ulrich Drepper <drepper@redhat.com>
28228
28229 [BZ #11883]
28230 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28231 * posix/fnmatch_loop.c: Likewise.
28232
d22e4cc9
AK
282332010-07-17 Andi Kleen <ak@linux.intel.com>
28234
28235 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28236 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28237 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28238 * Versions.def [GLIBC_2.13]: Add.
28239
805bc17d
UD
282402010-08-06 Ulrich Drepper <drepper@redhat.com>
28241
28242 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28243 Also fail if tpwd after pwuid call is NULL.
28244
5a42321d
ST
282452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28246
28247 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28248 when converting to ms.
28249
fd3ebeda
ST
282502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28251
28252 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28253 EOPNOTSUPP errors with ENOTTY.
28254 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28255 EOPNOTSUPP errors with ENOTTY.
28256
73507d3a
UD
282572010-07-31 Ulrich Drepper <drepper@redhat.com>
28258
28259 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28260 Add strcasecmp_l-ssse3.
28261 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28262 strcasecmp.
28263 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28264 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28265 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28266
fe36dd02
UD
282672010-07-30 Ulrich Drepper <drepper@redhat.com>
28268
66f6765a
UD
28269 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28270
42e08a54
UD
28271 * string/Makefile (strop-tests): Add strcasecmp.
28272 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28273 strcasecmp_l-nonascii.
28274 (gen-as-const-headers): Add locale-defines.sym.
28275 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28276 * sysdeps/x86_64/strcasecmp.S: New file.
28277 * sysdeps/x86_64/strcasecmp_l.S: New file.
28278 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28279 * sysdeps/x86_64/locale-defines.sym: New file.
28280 * string/test-strcasecmp.c: New file.
28281
fe36dd02
UD
28282 * string/test-strcasestr.c: Test both ends of the range of characters.
28283 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28284
48cbc0d6
RM
282852010-07-29 Roland McGrath <roland@redhat.com>
28286
76e6d6bc 28287 [BZ #11856]
48cbc0d6
RM
28288 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28289
880113d9
UD
282902010-07-27 Ulrich Drepper <drepper@redhat.com>
28291
28292 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28293 for ld.so.
28294
deb9cabb
AS
282952010-07-27 Andreas Schwab <schwab@redhat.com>
28296
28297 * manual/memory.texi (Malloc Tunable Parameters): Document
28298 M_PERTURB.
28299
1c7570ff
RM
283002010-07-26 Roland McGrath <roland@redhat.com>
28301
28302 [BZ #11840]
28303 * configure.in (-fgnu89-inline check): Set and substitute
28304 gnu89_inline, not libc_cv_gnu89_inline.
28305 * configure: Regenerated.
28306 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28307
24fb0f88
UD
283082010-07-26 Ulrich Drepper <drepper@redhat.com>
28309
28310 * string/test-strnlen.c: New file.
28311 * string/Makefile (strop-tests): Add strnlen.
28312 * string/tester.c (test_strnlen): Add a few more test cases.
28313 * string/tst-strlen.c: Better error reporting.
28314
28315 * sysdeps/x86_64/strnlen.S: New file.
28316
8e96b93a
UD
283172010-07-24 Ulrich Drepper <drepper@redhat.com>
28318
28319 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28320 lower-latency instructions.
28321
dbc676d4
UD
283222010-07-23 Ulrich Drepper <drepper@redhat.com>
28323
28324 * string/test-strcasestr.c: New file.
28325 * string/test-strstr.c: New file.
28326 * string/Makefile (strop-tests): Add strstr and strcasestr.
28327 * string/str-two-way.h: Don't undefine MAX.
28328 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28329
f6a31e0e
AS
283302010-07-21 Andreas Schwab <schwab@redhat.com>
28331
28332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28333 strcasestr-nonascii.
28334 (CFLAGS-strcasestr-nonascii.c): Define.
28335 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28336 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28337 Remove unused attribute.
28338
5dbc3b6c
RM
283392010-07-20 Roland McGrath <roland@redhat.com>
28340
28341 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28342 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28343 ld.so.cache was broken. With it, there is no way to disable dsocaps
28344 like LD_HWCAP_MASK can disable hwcaps.
28345
23d101d8
EPM
283462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28347
28348 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28349
cc9f2e47
UD
283502010-07-16 Ulrich Drepper <drepper@redhat.com>
28351
28352 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28353 call in strcasestr.
28354 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28355 __strcasestr_sse42_nonascii.
28356 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28357 strcasestr-nonascii.c.
28358 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28359
77c1b069
LM
283602010-06-15 Luis Machado <luisgpm@br.ibm.com>
28361
28362 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28363 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28364 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28365 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28366
440566c3
UD
283672010-07-09 Ulrich Drepper <drepper@redhat.com>
28368
28369 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28370 fcntl.
28371
5be9d05d
AS
283722010-07-06 Andreas Schwab <schwab@redhat.com>
28373
c30b7ee2 28374 [BZ #11577]
5be9d05d
AS
28375 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28376 dl_signal_cerror.
28377
8a492a67
UD
283782010-07-06 Ulrich Drepper <drepper@redhat.com>
28379
28380 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28381 _PC_PIPE_BUF using F_GETPIPE_SZ.
28382
713df3d5
RM
283832010-07-05 Roland McGrath <roland@redhat.com>
28384
28385 * manual/arith.texi (Rounding Functions): Fix rint description
28386 implicit in round description.
28387
702e8f14
UD
283882010-07-02 Ulrich Drepper <drepper@redhat.com>
28389
28390 * elf/Makefile: Fix linking for a few tests to make recent linker
28391 happy.
28392
52ed8be9
AS
283932010-06-30 Andreas Schwab <schwab@redhat.com>
28394
28395 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28396 $(common-objpfx)libc_nonshared.a.
28397
f47c9a11
LM
283982010-06-21 Luis Machado <luisgpm@br.ibm.com>
28399
28400 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28401 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28402 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28403 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28404 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28405 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28406 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28407 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28422 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28423 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28424 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28425 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28426 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28427 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28428 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28429 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28430 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28431 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28432 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28433 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28448
6fb8cbcb
L
284492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28450
28451 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28452 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28453 * string/memmove.c (memmove): Renamed to ...
28454 (MEMMOVE): ...this. Default to memmove.
28455 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28456 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28457 (END_CHK): Define.
28458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28459 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28460 mempcpy-ssse3-back memmove-ssse3-back.
28461 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28462 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28463 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28464 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28465 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28466 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28467 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28468 * sysdeps/x86_64/multiarch/memmove.c: New file.
28469 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28470 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28471 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28472 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28473 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28474 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28475 Define.
28476 (index_Fast_Copy_Backward): Define.
28477 (HAS_ARCH_FEATURE): Define.
28478 (HAS_FAST_REP_STRING): Define.
28479 (HAS_FAST_COPY_BACKWARD): Define.
28480
4e733bac 284812010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28482
28483 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28484 Restore proper fallback handling.
28485
63c4ed22
UD
284862010-06-19 Ulrich Drepper <drepper@redhat.com>
28487
ac2b484c
UD
28488 [BZ #11701]
28489 * posix/group_member.c (__group_member): Correct checking loop.
28490
63c4ed22
UD
28491 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28492 OOM in getpwuid_r correctly. Return error number when the caller
28493 should return, otherwise -1.
28494 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28495 call returning > 0 value.
28496 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28497
765ade4b
AS
284982010-06-07 Andreas Schwab <schwab@redhat.com>
28499
28500 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28501 libc_nonshared.a from targets in modules-names.
28502
80da2e09
KS
285032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28504
28505 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28506 requires it.
28507
158db122
LM
285082010-06-10 Luis Machado <luisgpm@br.ibm.com>
28509
28510 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28511 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28512 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28513 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28514
caa78cf8
AS
285152010-06-02 Andreas Schwab <schwab@redhat.com>
28516
28517 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28518
b2ef2c01
UD
285192010-06-14 Ulrich Drepper <drepper@redhat.com>
28520
28521 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28522 and F_GETPIPE_SZ.
28523 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28525 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28527 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28528 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28529
fbd643b6
RM
285302010-06-14 Roland McGrath <roland@redhat.com>
28531
28532 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28533
f32f2869
JJ
285342010-06-07 Jakub Jelinek <jakub@redhat.com>
28535
28536 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28537 __REDIRECT followed by __THROW.
28538 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28539 * posix/getopt.h (getopt): Likewise.
28540
2a50c078
EPM
285412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28542
28543 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28544 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28545 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28546 in AT_FLAGS.
28547 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28548 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28549
eb5ad2eb
LM
285502010-05-28 Luis Machado <luisgpm@br.ibm.com>
28551
28552 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28553
3c88fe1e
L
285542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28555
28556 [BZ #11640]
28557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28558 Properly check family and model.
28559
d2f73151
TY
285602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28561
28562 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28563
ebd2e13d
LM
285642010-05-24 Luis Machado <luisgpm@br.ibm.com>
28565
28566 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28567
b32b8b45
UD
285682010-05-21 Ulrich Drepper <drepper@redhat.com>
28569
28570 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28571 symbol reference.
28572
9acbe24d
AS
285732010-05-19 Andreas Schwab <schwab@redhat.com>
28574
28575 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28576 symbol reference.
28577
f0ccf6ea
AS
285782010-05-21 Andreas Schwab <schwab@redhat.com>
28579
3d04ff3a
AS
28580 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28581 and internal_recvmmsg.
28582 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28583 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28584 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28585 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28586
f0ccf6ea
AS
28587 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28588 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28589 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28590
5b08ac57
AS
285912010-05-20 Andreas Schwab <schwab@redhat.com>
28592
28593 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28594
4828935d
LM
285952010-05-17 Luis Machado <luisgpm@br.ibm.com>
28596
28597 POWER7 optimizations.
28598 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28599 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28600
373d545e
UD
286012010-05-19 Ulrich Drepper <drepper@redhat.com>
28602
28603 * version.h: Update for 2.13 development version.
28604
21a2b1ae
AS
286052010-05-12 Andrew Stubbs <ams@codesourcery.com>
28606
28607 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28608 exceptions. Return 0.
28609
3f7dcb2b
RM
286102010-05-07 Roland McGrath <roland@redhat.com>
28611
28612 * elf/ldconfig.c (main): Add a const.
28613
5f24d53a 286142010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28615
a160f8d8
UD
28616 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28617 (args_options): Add no-idn option.
28618 (ahosts_keys_int): Add idn_flags to ai_flags.
28619 (parse_option): Handle 'i' option to clear idn_flags.
28620
5f24d53a
UD
28621 * malloc/malloc.c (_int_free): Possible race in the most recently
28622 added check. Only act on the data if no current modification
28623 happened.
265bb1ce
UD
28624
28625See ChangeLog.17 for earlier changes.
This page took 3.918793 seconds and 5 git commands to generate.