]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Factor out initializers for libm-test.inc constants.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d8cd06db
JM
12013-05-08 Joseph Myers <joseph@codesourcery.com>
2
a0d9f9d7
JM
3 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4 (MINUS_ZERO_INIT): Likewise.
5 (PLUS_INFTY_INIT): Likewise.
6 (MINUS_INFTY_INIT): Likewise.
7 (QNAN_VALUE_INIT): Likewise.
8 (MAX_VALUE_INIT): Likewise.
9 (MIN_VALUE_INIT): Likewise.
10 (MIN_SUBNORM_VALUE_INIT): Likewise.
11 (plus_zero): Initialize with PLUS_ZERO_INIT.
12 (minus_zero): Initialize with MINUS_ZERO_INIT.
13 (plus_infty): Initialize with PLUS_INFTY_INIT.
14 (minus_infty): Initialize with MINUS_INFTY_INIT.
15 (qnan_value): Initialize with QNAN_VALUE_INIT.
16 (max_value): Initialize with MAX_VALUE_INIT.
17 (min_value): Initialize with MIN_VALUE_INIT.
18 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19
ae08db3b
JM
20 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24
f44bf14a
JM
25 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26 (RUN_TEST_2_f): Likewise.
27 (RUN_TEST_ff_f): Likewise.
28 (RUN_TEST_fi_f): Likewise.
29 (RUN_TEST_fl_f): Likewise.
30 (RUN_TEST_fff_f): Likewise.
31 (RUN_TEST_c_f): Likewise.
32 (RUN_TEST_f_f1): Likewise.
33 (RUN_TEST_fF_f1): Likewise.
34 (RUN_TEST_fI_f1): Likewise.
35 (RUN_TEST_ffI_f1): Likewise.
36 (RUN_TEST_c_c): Likewise.
37 (RUN_TEST_cc_c): Likewise.
38 (RUN_TEST_f_i): Likewise.
39 (RUN_TEST_f_i_tg): Likewise.
40 (RUN_TEST_ff_i_tg): Likewise.
41 (RUN_TEST_f_b): Likewise.
42 (RUN_TEST_f_b_tg): Likewise.
43 (RUN_TEST_f_l): Likewise.
44 (RUN_TEST_f_L): Likewise.
45 (RUN_TEST_sincos): Likewise.
46 * math/gen-libm-test.pl (new_test): Take new argument to indicate
47 whether to show exceptions. Do not include ");\n" in return
48 value.
49 (special_functions): Output call to RUN_TEST_sincos instead of
50 check_float calls. Update calls to new_test.
51 (parse_args): Output call to single RUN_TEST_* macro instead of
52 check_* calls and other assignments. Update calls to new_test.
53
d8cd06db
JM
54 [BZ #2546]
55 [BZ #2560]
56 [BZ #5159]
57 [BZ #15426]
58 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
59 input to result for tgamma overflow.
60 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61 (gamma_coeff): New variable.
62 (NCOEFF): New macro.
63 (gamma_positive): New function.
64 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
65 underflow here. Use gamma_positive instead of exp (lgamma) for
66 other arguments.
67 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68 (gamma_coeff): New variable.
69 (NCOEFF): New macro.
70 (gammaf_positive): New function.
71 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
72 underflow here. Use gamma_positive instead of exp (lgamma) for
73 other arguments.
74 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
75 (gamma_coeff): New variable.
76 (NCOEFF): New macro.
77 (gammal_positive): New function.
78 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
79 underflow here. Use gamma_positive instead of exp (lgamma) for
80 other arguments.
81 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
82 (gamma_coeff): New variable.
83 (NCOEFF): New macro.
84 (gammal_positive): New function.
85 (__ieee754_gammal_r): Handle positive infinity, overflow and
86 underflow here. Handle NaN the same as positive infinity. Remove
87 check x < 0xffffffff for negative integers. Use gamma_positive
88 instead of exp (lgamma) for other arguments.
89 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
90 (gamma_coeff): New variable.
91 (NCOEFF): New macro.
92 (gammal_positive): New function.
93 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
94 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
95 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
96 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
97 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
98 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
99 * sysdeps/generic/math_private.h (__gamma_productf): New
100 prototype.
101 (__gamma_product): Likewise.
102 (__gamma_productl): Likewise.
103 * math/Makefile (libm-calls): Add gamma_product.
104 * math/libm-test.inc (tgamma_test): Add more tests.
105 * sysdeps/i386/fpu/libm-test-ulps: Update.
106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
107
bb7cf681
OB
1082013-05-08 Ondřej Bílka <neleai@seznam.cz>
109
110 * benchtests/bench-skeleton.c (main): Preheat CPU.
111
ba853947
AJ
1122013-05-07 Aurelien Jarno <aurelien@aurel32.net>
113
114 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
115
8347c74c
RM
1162013-05-07 Roland McGrath <roland@hack.frob.com>
117
118 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
119 and _dl_skip_args_internal.
120
e8dd4791
CD
1212013-05-07 Carlos O'Donell <carlos@redhat.com>
122
123 * manual/message.texi (Message Translation): Talk about users.
124 Message to key mapping impacts design.
125
c7405830
RM
1262013-05-06 Roland McGrath <roland@hack.frob.com>
127
a9173057
RM
128 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
129
976e2f03
RM
130 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
131
9723ffc5
RM
132 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
133 * sysdeps/wordsize-64/glob64.c: ... here.
134
962e6658
RM
135 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
136 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
137 New macros.
138
ee586a6d
RM
139 * debug/getlogin_r_chk.c: Moved to ...
140 * login/getlogin_r_chk.c: ... here.
141 * debug/Makefile (routines): Move getlogin_r_chk to ...
142 * login/Makefile (routines): ... here.
143 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
144 * login/Versions (libc: GLIBC_2.4): ... here.
145
355f9165
RM
146 * io/poll.c (__poll): Renamed from poll.
147 Add libc_hidden_def.
148 (poll): Define as weak alias.
149
bd9ffde6
RM
150 * debug/ptsname_r_chk.c: Moved to ...
151 * login/ptsname_r_chk.c: ... here.
152 * debug/Makefile (routines): Move ptsname_r_chk to ...
153 * login/Makefile (routines): ... here.
154 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
155 * login/Versions (libc: GLIBC_2.4): ... here.
156
8fb16a04
RM
157 * posix/getlogin.c: Moved to ...
158 * login/getlogin.c: ... here.
159 * posix/getlogin_r.c: Moved to ...
160 * login/getlogin_r.c: ... here.
161 * posix/getlogin_r.c: Moved to ...
162 * login/getlogin_r.c: ... here.
163 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
164 * login/Makefile (routines): ... here.
165 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
166 * login/Versions (libc: GLIBC_2.0): ... here.
167
b99b892f
RM
168 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
169 (setrlimit): Define as weak alias.
170
c7405830
RM
171 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
172 Call __ names for open, ftruncate, and close.
173 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
174 (truncate): Define as weak alias.
175
5bf96de5
JM
1762013-05-06 Joseph Myers <joseph@codesourcery.com>
177
9ea3513c
JM
178 * math/gen-libm-test.pl (parse_args): Initialize x before each
179 test of frexp, modf and remquo.
180
5bf96de5
JM
181 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
182 test signgam value.
183
16e616a7
AZ
1842013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
185
186 [BZ #15418]
187 [BZ #15419]
188 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
189 internal tests.
190 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
191
d5e82754
RM
1922013-05-06 Roland McGrath <roland@hack.frob.com>
193
194 * elf/dl-writev.h: New file.
195 * elf/dl-misc.c: Include it.
196 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
197 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
198
a7548d41
JM
1992013-05-04 Joseph Myers <joseph@codesourcery.com>
200
b7dab1e4
JM
201 * math/libm-test.inc (noXFails): Remove variable.
202 (noXPasses): Likewise.
203 (BUILD_COMPLEX_INT): Remove macro.
204 (print_screen): Remove xfail argument.
205 (print_screen_max_error): Likewise.
206 (update_stats): Likewise.
207 (print_max_error): Likewise. Update calls to other affected
208 functions.
209 (print_complex_max_error): Likewise.
210 (test_single_exception): Update calls to print_screen.
211 (test_single_errno): Likewise.
212 (check_float_internal): Remove xfail argument. Update calls to
213 other affected functions.
214 (check_float): Likewise.
215 (check_complex): Likewise.
216 (check_int): Likewise.
217 (check_long): Likewise.
218 (check_bool): Likewise.
219 (check_longlong): Likewise.
220 (main): Don't print noXFails and noXPasses.
221 * math/gen-libm-test.pl (top level): Don't mention expected
222 failure handling in comment.
223 (new_test): Don't handle expected failures.
224 (parse_args): Don't mention expected failure handling in comment.
225 (generate_testfile): Don't handle expected failures.
226 (parse_ulps): Likewise.
227 (print_ulps_file): Likewise.
228 (get_failure): Remove function.
229 (output_test): Don't handle expected failures.
230 * make/README.libm-test: Don't mention expected failure handling.
231
a7548d41
JM
232 * math/libm-test.inc (plus_zero): Make const. Add initializer.
233 (minus_zero): Likewise.
234 (plus_infty): Likewise.
235 (minus_infty): Likewise.
236 (qnan_value): Likewise.
237 (max_value): Likewise.
238 (min_value): Likewise.
239 (min_subnorm_value): Likewise.
240 (initialize): Do not initialize those variables dynamically.
241
60bfd54c
RM
2422013-05-03 Roland McGrath <roland@hack.frob.com>
243
cc0e6ed8
RM
244 * io/open.c (__open_2): Moved to ...
245 * io/open_2.c: ... this new file.
246 * io/open64.c (__open64_2): Moved to ...
247 * io/open64_2.c: ... this new file.
248 * io/openat.c (__openat_2): Moved to ...
249 * io/openat_2.c: ... this new file.
250 * io/openat64.c (__openat64_2): Moved to ...
251 * io/openat64_2.c: ... this new file.
252 * io/Makefile (routines): Add them.
253 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
254 * sysdeps/unix/sysv/linux/open_2.c: File removed.
255 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
256 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
257 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
258 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
259 (__openat64): Add hidden_ver.
260 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
261 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
262
60bfd54c
RM
263 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
264 Separately conditionalize setting of GLRO(dl_sysinfo) so
265 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
266 as well, but the actual setting is only under [NEED_DL_SYSINFO].
267
83e7640f
AZ
2682013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
269
270 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
271 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
272 definition.
273 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
274 * sysdeps/unix/sysv/linux/powerpc/init-first.c
275 (_libc_vdso_platform_setup): Add __vdso_time initialization.
276 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
277 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
278
d5dc2af3
JM
2792013-05-03 Joseph Myers <joseph@codesourcery.com>
280
c31a5b1e
JM
281 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
282 test signgam value.
283
d5dc2af3
JM
284 * math/libm-test.inc (hypot_test): Do not use
285 IGNORE_ZERO_INF_SIGN.
286
164fd39d
AJ
2872013-05-03 Andreas Jaeger <aj@suse.de>
288
289 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
290 Linux 3.9.
291 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
292 (PF_MAX): Adjust for VSOCK change.
293
8237f48c
AZ
2942013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
295
296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
297
9df02941
CD
2982013-05-02 Carlos O'Donell <carlos@redhat.com>
299
300 [BZ #15264]
301 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
302 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
303 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
304
d422395e
DM
3052013-05-02 David S. Miller <davem@davemloft.net>
306
307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
308
a07c5731
OB
3092013-05-01 Ondřej Bílka <neleai@seznam.cz>
310
311 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
312
1324e37f
RM
3132013-05-01 Roland McGrath <roland@hack.frob.com>
314
315 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
316
0695940b
RS
3172013-05-01 Richard Smith <richard@metafoo.co.uk>
318
bb5f27ad 319 [BZ #14952]
0695940b
RS
320 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
321 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
322 Use __attribute__ ((__gnu_inline__)).
323 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
324 Don't use __attribute__ ((__gnu_inline__)).
325
10de07f5
JM
3262013-05-01 Joseph Myers <joseph@codesourcery.com>
327
328 [BZ #15423]
329 * math/s_catan.c (__catan): Handle small real or imaginary part of
330 input specially to avoid spurious underflow.
331 * math/s_catanf.c (__catanf): Likewise.
332 * math/s_catanh.c (__catanh): Likewise.
333 * math/s_catanhf.c (__catanhf): Likewise.
334 * math/s_catanhl.c (__catanhl): Likewise.
335 * math/s_catanl.c (__catanl): Likewise.
336 * math/libm-test.inc (catan_test): Add more tests.
337 (catanh_test): Likewise.
338 * sysdeps/i386/fpu/libm-test-ulps: Update.
339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
340
cb4d5414
AZ
3412013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
342
343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
344
caf84319
JM
3452013-04-30 Joseph Myers <joseph@codesourcery.com>
346
347 [BZ #15416]
348 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
349 accurately for denominator in atan2.
350 * math/s_catanf.c (__catanf): Likewise.
351 * math/s_catanh.c (__catanh): Likewise.
352 * math/s_catanhf.c (__catanhf): Likewise.
353 * math/s_catanhl.c (__catanhl): Likewise.
354 * math/s_catanl.c (__catanl): Likewise.
355 * math/libm-test.inc (catan_test): Add more tests.
356 (catanh_test): Likewise.
357 * sysdeps/i386/fpu/libm-test-ulps: Update.
358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
359
d569c6ee
SP
3602013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
361
6dbe713d
SP
362 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
363
f0ee064b
SP
364 * benchtests/Makefile (bench): Remove slow benchmarks.
365 * benchtests/atan-inputs: Add slow benchmark inputs.
366 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
367 (BENCH_FUNC): Accept variant offset.
368 (VARIANT): Define.
369 * benchtests/bench-skeleton.c (main): Run benchmark for each
370 variant.
371 * benchtests/cos-inputs: Add slow benchmark inputs.
372 * benchtests/exp-inputs: Likewise.
373 * benchtests/pow-inputs: Likewise.
374 * benchtests/sin-inputs: Likewise.
375 * benchtests/slowatan-inputs: Remove.
376 * benchtests/slowatan.c: Remove.
377 * benchtests/slowcos-inputs: Remove.
378 * benchtests/slowcos.c: Remove.
379 * benchtests/slowexp-inputs: Remove.
380 * benchtests/slowexp.c: Remove.
381 * benchtests/slowpow-inputs: Remove.
382 * benchtests/slowpow.c: Remove.
383 * benchtests/slowsin-inputs: Remove.
384 * benchtests/slowsin.c: Remove.
385 * benchtests/slowtan-inputs: Remove.
386 * benchtests/slowtan.c: Remove.
387 * benchtests/tan-inputs: Add slow benchmark inputs.
388 * scripts/bench.pl: Parse comments and directives.
389
d569c6ee
SP
390 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
391 in CPPFLAGS.
392 ($(objpfx)bench-%.c): Remove *-ITER.
393 * benchtests/bench-modf.c: Remove definition of ITER.
394 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
395 (main): Loop for DURATION seconds instead of fixed number of
396 iterations.
397 * scripts/bench.pl: Don't expect iterations in parameters.
398
a6a242fe
RM
3992013-04-29 Roland McGrath <roland@hack.frob.com>
400
401 * io/fchdir.c (__fchdir): Renamed from fchdir.
402 (fchdir): Define as weak alias.
403
f2da7793
JM
4042013-04-29 Joseph Myers <joseph@codesourcery.com>
405
406 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
407 (ERRNO_EDOM): Likewise.
408 (ERRNO_ERANGE): Likewise.
409 (noErrnoTests): New variable.
410 (init_max_error): Set errno to 0.
411 (test_single_errno): New function.
412 (test_errno): Likewise.
413 (check_float_internal): Call test_errno. Set errno to 0.
414 (check_complex): Refer to errno tests in comment.
415 (check_int): Call test_errno. Set errno to 0.
416 (check_long): Likewise.
417 (check_bool): Likewise.
418 (check_longlong): Likewise.
419 (cos_test): Use ERRNO_* flags for errno tests instead of
420 check_int.
421 (expm1_test): Likewise.
422 (fmod_test): Likewise.
423 (ilogb_test): Likewise.
424 (lgamma_test): Likewise.
425 (pow_test): Likewise.
426 (remainder_test): Likewise.
427 (sin_test): Likewise.
428 (tan_test): Likewise.
429 (yn_test): Likewise.
430 (initialize): Set errno to 0.
431 (main): Print number of errno tests.
432 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
433
b1a36ceb
AJ
4342013-04-29 Andreas Jaeger <aj@suse.de>
435
c3ed8088
AJ
436 [BZ #15084]
437 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
438 and RES_USEVC.
439
f1a24198
AJ
440 [BZ #15085]
441 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
442 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
443 unimplemented.
444
9ce3b2cb
AJ
445 [BZ #15380]
446 * stdlib/random.c (__initstate): Return NULL if
447 __initstate fails.
448
f1a24198 449 [BZ #15086]
b1a36ceb
AJ
450 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
451 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
452 RES_SNGLKUPREOP.
453
7e7b6f36
AZ
4542013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
455
456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
457
4d14f449
JM
4582013-04-29 Joseph Myers <joseph@codesourcery.com>
459
460 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
461 of individual tests.
462 (casin_test): Likewise.
463 (casinh_test): Likewise.
464
5b4217d7
JM
4652013-04-27 Joseph Myers <joseph@codesourcery.com>
466
467 [BZ #15409]
468 * math/s_catan.c (__catan): Handle arguments with large real or
469 imaginary part separately without squaring.
470 * math/s_catanf.c (__catanf): Likewise.
471 * math/s_catanh.c (__catanh): Likewise.
472 * math/s_catanhf.c (__catanhf): Likewise.
473 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
474 and redefine.
475 (__catanhl): Handle arguments with large real or imaginary part
476 separately without squaring.
477 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
478 and redefine.
479 (__catanl): Handle arguments with large real or imaginary part
480 separately without squaring.
481 * math/libm-test.inc (catan_test): Add more tests.
482 (catanh_test): Likewise.
483 * sysdeps/i386/fpu/libm-test-ulps: Update.
484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
485
4220c3ef
AJ
4862013-04-27 Andreas Jaeger <aj@suse.de>
487
488 [BZ #15007]
489 * stdlib/stdlib.h: Update guards for qecvt.
490 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
491 <stdlib.h>.
492
4721b2d1
AM
4932013-04-27 Allan McRae <allan@archlinux.org>
494
495 * sysdeps/i386/fpu/libm-test-ulps: Update.
496
f0302940
JM
4972013-04-26 Joseph Myers <joseph@codesourcery.com>
498
9457fd95
JM
499 [BZ #15406]
500 * math/s_catan.c: Include <float.h>.
501 (__catan): Ensure underflow exception occurs for underflowed
502 result.
503 * math/s_catanf.c: Include <float.h>.
504 (__catanf): Ensure underflow exception occurs for underflowed
505 result.
506 * math/s_catanh.c: Include <float.h>.
507 (__catanh): Ensure underflow exception occurs for underflowed
508 result.
509 * math/s_catanhf.c: Include <float.h>.
510 (__catanhf): Ensure underflow exception occurs for underflowed
511 result.
512 * math/s_catanhl.c: Include <float.h>.
513 (__catanhl): Ensure underflow exception occurs for underflowed
514 result.
515 * math/s_catanl.c: Include <float.h>.
516 (__catanl): Ensure underflow exception occurs for underflowed
517 result.
518 * math/libm-test.inc (catan_test): Add more tests.
519 (catanh_test): Likewise.
520
f0302940
JM
521 [BZ #15405]
522 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
523 underflowed result.
524 * math/s_ccoshf.c (__ccoshf): Likewise.
525 * math/s_ccoshl.c (__ccoshl): Likewise.
526 * math/s_csin.c (__csin): Likewise.
527 * math/s_csinf.c (__csinf): Likewise.
528 * math/s_csinh.c (__csinh): Likewise.
529 * math/s_csinhf.c (__csinhf): Likewise.
530 * math/s_csinhl.c (__csinhl): Likewise.
531 * math/s_csinl.c (__csinl): Likewise.
532 * math/libm-test.inc (ccos_test): Add more tests.
533 (ccosh_test): Likewise.
534 (csin_test): Likewise.
535 (csinh_test): Likewise.
536
aa630f59
AZ
5372013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
538
539 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
540 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
541 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
542 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
543 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
544 powerpc/power5+/fpu folders.
545 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
546
547
1b835983
MT
5482013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
549
550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
551
73709b26
JM
5522013-04-25 Joseph Myers <joseph@codesourcery.com>
553
554 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
555 additions to variable.
556 [$(config-machine) = x86_64] (modules-names): Likewise.
557 ($(objpfx)tst-audit3): Remove dependency.
558 ($(objpfx)tst-audit3.out): Likewise.
559 ($(objpfx)tst-audit4): Likewise.
560 ($(objpfx)tst-audit4.out): Likewise.
561 ($(objpfx)tst-audit5): Likewise.
562 ($(objpfx)tst-audit5.out): Likewise.
563 ($(objpfx)tst-audit6): Likewise.
564 ($(objpfx)tst-audit6.out): Likewise.
565 ($(objpfx)tst-audit7): Likewise.
566 ($(objpfx)tst-audit7.out): Likewise.
567 (tst-audit3-ENV): Remove variable.
568 (tst-audit4-ENV): Likewise.
569 (tst-audit5-ENV): Likewise.
570 (tst-audit6-ENV): Likewise.
571 (tst-audit7-ENV): Likewise.
572 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
573 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
574 addition to variable.
575 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
576 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
577 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
578 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
579 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
580 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
581 tst-audit3, tst-audit4 and tst-audit5.
582 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
583 tst-audit6 and tst-audit7.
584 [$(subdir) = elf] (modules-names): Add audit modules for those
585 tests.
586 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
587 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
588 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
589 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
590 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
591 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
592 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
593 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
594 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
595 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
596 [$(subdir) = elf] (tst-audit3-ENV): New variable.
597 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
598 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
599 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
600 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
601 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
602 Likewise.
603 [$(subdir) = elf && $(config-cflags-avx) = yes]
604 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
605 [$(subdir) = elf && $(config-cflags-avx) = yes]
606 (CFLAGS-tst-auditmod4a.c): Likewise.
607 [$(subdir) = elf && $(config-cflags-avx) = yes]
608 (CFLAGS-tst-auditmod4b.c): Likewise.
609 [$(subdir) = elf && $(config-cflags-avx) = yes]
610 (CFLAGS-tst-auditmod6b.c): Likewise.
611 [$(subdir) = elf && $(config-cflags-avx) = yes]
612 (CFLAGS-tst-auditmod6c.c): Likewise.
613 [$(subdir) = elf && $(config-cflags-avx) = yes]
614 (CFLAGS-tst-auditmod7b.c): Likewise.
615 * elf/tst-audit3.c: Move to ...
616 * sysdeps/x86_64/tst-audit3.c: ... here.
617 * elf/tst-audit4.c: Move to ...
618 * sysdeps/x86_64/tst-audit4.c: ... here.
619 * elf/tst-audit5.c: Move to ...
620 * sysdeps/x86_64/tst-audit5.c: ... here.
621 * elf/tst-audit6.c: Move to ...
622 * sysdeps/x86_64/tst-audit6.c: ... here.
623 * elf/tst-audit7.c: Move to ...
624 * sysdeps/x86_64/tst-audit7.c: ... here.
625 * elf/tst-auditmod3a.c: Move to ...
626 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
627 * elf/tst-auditmod3b.c: Move to ...
628 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
629 * elf/tst-auditmod4a.c: Move to ...
630 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
631 * elf/tst-auditmod4b.c: Move to ...
632 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
633 * elf/tst-auditmod5a.c: Move to ...
634 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
635 * elf/tst-auditmod5b.c: Move to ...
636 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
637 * elf/tst-auditmod6a.c: Move to ...
638 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
639 * elf/tst-auditmod6b.c: Move to ...
640 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
641 * elf/tst-auditmod6c.c: Move to ...
642 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
643 * elf/tst-auditmod7a.c: Move to ...
644 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
645 * elf/tst-auditmod7b.c: Move to ...
646 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
647
1ef74943
PP
6482013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
649
650 [BZ #15366]
651 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
652 define unconditionally.
653 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
654 define unconditionally.
655 (INT8_C, INT16_C, etc.): Likewise.
656
93fd48c5
MR
6572013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
658
ae9552cf
MR
659 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
660 __ehdr_start with hidden visibility.
661
93fd48c5
MR
662 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
663
418601aa
CD
6642013-04-24 Carlos O'Donell <carlos@redhat.com>
665
666 * math/libm-test.inc (cos_test): Use accurate hex constants.
667 (sincost_test): Likewise.
668
2f38fbfe
JM
6692013-04-24 Joseph Myers <joseph@codesourcery.com>
670
5e221800
JM
671 * math/libm-test.inc (catan_test): Add more tests.
672 (catanh_test): Likewise.
673
77f143fd
JM
674 * math/s_catanf.c (__catanf): Use suffixed floating-point
675 constants.
676 * math/s_catanhf.c (__catanhf): Likewise.
677 * math/s_catanhl.c (__catanhl): Likewise.
678 * math/s_catanl.c (__catanl): Likewise.
679
2f38fbfe
JM
680 [BZ #15394]
681 * math/s_catan.c (__catan): Calculate imaginary part of result
682 with log1p not log unless computing log of number close to 0.
683 * math/s_catanf.c (__catanf): Likewise.
684 * math/s_catanl.c (__catanl): Likewise.
685 * math/s_catanh.c (__catanh): Calculate real part of result with
686 log1p not log unless computing log of number close to 0.
687 * math/s_catanhf.c (__catanhf): Likewise.
688 * math/s_catanhl.c (__catanhl): Likewise.
689 * math/libm-test.inc (catan_test): Add more tests.
690 (catanh_test): Likewise.
691 * sysdeps/i386/fpu/libm-test-ulps: Update.
692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
693
45d69176
SP
6942013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
695
696 * benchtests/Makefile: Mention files in which fast and slow
697 paths of math functions are implemented.
698
87f51853
RM
6992013-04-23 Roland McGrath <roland@hack.frob.com>
700
701 * sysdeps/posix/timespec_get.c: New file.
702
3c026539
AZ
7032013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
704
705 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
706 POWER.
707 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
708 for POWER.
709 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
710 powerpc/power5/fpu folders.
711 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
712 * benchtests/Makefile: Add modf testcase.
713 * benchtests/bench-modf.c: New file: Benchmark test for mo
714
ff491d14
SP
7152013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
716
717 [BZ #14888]
718 * time/Makefile (tests): Add tst-strptime-whitespace.
719 * time/strptime_l.c (get_number): Use ISSPACE.
720 (__strptime_internal): Likewise.
721 * time/tst-strptime-whitespace.c: New test case.
722
7ed3f4e8
AS
7232013-04-23 Andreas Schwab <schwab@linux-m68k.org>
724
725 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
726 member.
727 (_nss_files_init): Set it here.
728
5c95f7b6
HC
7292013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
730
731 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
732 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
733 unsigned.
734
d34c9158
JBG
7352013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
736
737 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
738
2169712d
SP
7392013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
740
741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
742 size just once.
743
29c5de99
DM
7442013-04-21 David S. Miller <davem@davemloft.net>
745
746 * po/ru.po: Update Russion translation from translation project.
747
ccdad15d
AC
7482013-04-17 Adam Conrad <adconrad@0c3.net>
749
750 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
751 and setfsgid.
752
0f122b8d
CD
7532013-04-17 Carlos O'Donell <carlos@redhat.com>
754
5c5b07da 755 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 756 * configure: Regenerate.
5c5b07da 757 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
758 Add example to error message.
759 * sysdeps/i386/configure: Regenerate.
760
037714dd
SP
7612013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
762
763 * benchtests/Makefile (bench): Add cos, tan, slowcos and
764 slowtan.
765 * benchtests/cos-inputs: New file.
766 * benchtests/slowcos-inputs: New file.
767 * benchtests/slowcos.c: New file.
768 * benchtests/slowtan-inputs: New file.
769 * benchtests/slowtan.c: New file.
770 * benchtests/tan-inputs: New file.
771
e913141d
RM
7722013-04-16 Roland McGrath <roland@hack.frob.com>
773
774 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
775 considered kosher.
776
a2964074
SP
7772013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
778
4856bcd2
SP
779 * benchtests/Makefile: Include cppflags-iterator.mk to add
780 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
781
a2964074
SP
782 * Makefile.in (bench-clean): New target.
783 * benchtests/Makefile (bench-clean): Likewise.
784
9fbf9aca
DH
7852013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
786
787 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
788
207d1e2a
TS
7892013-04-15 Thomas Schwinge <thomas@codesourcery.com>
790
791 * stdio-common/tstdiomisc.c: Fix coding-style violation.
792
306dfba9
AS
7932013-04-15 Andreas Schwab <schwab@suse.de>
794
795 * nscd/grpcache.c (cache_addgr): Properly check for short write.
796 * nscd/initgrcache.c (addinitgroupsX): Likewise.
797 * nscd/pwdcache.c (cache_addpw): Likewise.
798 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
799 more than recsize.
800
206a6699
SP
8012013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
802
803 * benchtests/Makefile (bench): Write all output to
804 bench-out.tmp together.
805
0582f6b3
AS
8062013-04-15 Andreas Schwab <schwab@suse.de>
807
808 * nscd/nscd.c (main): Don't fork again after closing files.
809
acb4325f
SP
8102013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
811
5cb26d0a
SP
812 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
813
acb4325f
SP
814 * benchtests/Rules (bench-deps): Collect dependencies into a
815 single variable. Add Makefile to dependencies.
816 ($(objpfx)bench-%.c): Depend on bench-deps.
817
47792506
RM
8182013-04-12 Roland McGrath <roland@hack.frob.com>
819 Xavier Roche <roche+kml2@exalead.com>
820
821 [BZ #15361]
822 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
823 just that it's a file descriptor.
824 * manual/llio.texi (Synchronizing AIO Operations): Update description
825 for EBADF error from aio_fsync.
826
8fc1bee5
SP
8272013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
828
829 * Rules (bench): Move target definition...
830 * benchtests/Makefile: ... here.
831
aba5e333
CD
8322013-04-11 Carlos O'Donell <carlos@redhat.com>
833
834 * math/libm-test.inc (cos_test): Fix PI/2 test.
835 (sincos_test): Likewise.
836 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
837 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
838
273cdee8
AS
8392013-04-11 Andreas Schwab <schwab@suse.de>
840
6ecec3b6
AS
841 [BZ #13988]
842 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
843 accept exponent character only when digits were seen.
844 * stdio-common/Makefile (tests): Add bug26.
845 * stdio-common/bug26.c: New file.
846
273cdee8
AS
847 [BZ #14293]
848 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
849 non-freeable.
850
8da491f5
SP
8512013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
852
01dc6df9
SP
853 * Makeconfig (rtld-prefix): Define built linker prefix.
854 * Rules (run-bench): Use it.
855 * math/Makefile (run-regen-ulps): Likewise.
856
8da491f5
SP
857 * Rules (bench): Remove eval.
858
abe7f530
SP
8592013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
860 Roland McGrath <roland@hack.frob.com>
861 Ondrej Bilka <neleai@seznam.cz>
862
863 [BZ #15346]
864 * time/getdate.c: Include ctype.h and alloca.h.
865 (__getdate_r): Trim leading and trailing spaces of input.
866 * time/tst-getdate.c (tests): Add tests with leading and
867 trailing spaces.
868
61c23e62
RM
8692013-04-08 Roland McGrath <roland@hack.frob.com>
870
871 [BZ #14280]
872 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
873 when computing value.
874
7208a313
CD
8752013-04-06 Carlos O'Donell <carlos@redhat.com>
876
085b2d41
CD
877 * math/README.libm-test (How can I generate "libm-test-ulps"?):
878 Use testrun.sh to run libm tests.
879
7208a313
CD
880 [BZ #15309]
881 * elf/dl-open.c (dl_open_worker): memset all of seen array.
882
872c0acd
MM
8832013-04-06 Marko Myllynen <myllynen@redhat.com>
884
885 [BZ #15264]
886 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
887
26510bdd
CD
8882013-04-06 Carlos O'Donell <carlos@redhat.com>
889
890 * Makefile.in (regen-ulps): New target.
891 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
892 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
893 [ifneq (no,$(PERL)] (regen-ulps): New target.
894 [ifeq (no,$(PERL)] (regen-ulps): New target.
895 * math/libm-test.inc (ulps_file_name): Define.
896 (output_dir): New variable.
897 (options): Add "output-dir" option.
898 (parse_opt): Handle 'o' case.
899 (main): If output_dir is non-NULL use it as a prefix
900 otherwise use "".
901 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
902
a01f19c8
CD
9032013-04-06 Carlos O'Donell <carlos@redhat.com>
904
905 [BZ #10060, #10062]
906 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
907 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
908 fail configure if __sync_val_compare_and_swap is not inlined.
909 * sysdeps/i386/configure: Regenerate.
910 * configure.in: Build for i686 when configured for i386.
911 * configure: Regenerate.
912 * README: Remove i386 reference.
913
b7a329a5
CD
9142013-04-06 Carlos O'Donell <carlos@redhat.com>
915
916 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
917 * sysdeps/s390/s390-64/sysdep.h: Likewise.
918
bf0f50df
TS
9192013-04-05 Thomas Schwinge <thomas@codesourcery.com>
920
ee091edf
TS
921 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
922 (lmsnanval): New variables.
923 (F): Add conversion tests.
924 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
925 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
926
a8b792d6
TS
927 * stdio-common/tstdiomisc.c (F): Properly collect individual
928 tests' results.
929
a1cbf437
TS
930 [BZ #14686, #15336]
931 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
932 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
933 Instead, use input NaN values or generate a qNaN by arithmetic
934 operation. Also fix bugs to comply with the standard.
935 * math/libm-test.inc (remainder_test): Add more tests.
936
8b43a0c9
TS
937 [BZ #15335, #15342]
938 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
939 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
940 input NaN values or generate a qNaN by arithmetic operation.
941
d91da4ce
TS
942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
943 unreachable code.
944
bf0f50df
TS
945 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
946 definitions.
947
05e166c8
JM
9482013-04-03 Joseph Myers <joseph@codesourcery.com>
949
950 [BZ #14478]
951 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
952 underflowed result.
953 * math/s_cexpf.c (__cexpf): Likewise.
954 * math/s_cexpl.c (__cexpl): Likewise.
955 * math/libm-test.inc (cexp_test): Add more tests.
956
1cef1b19
AS
9572013-04-03 Andreas Schwab <schwab@suse.de>
958
959 [BZ #15330]
960 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
961 order arrays from heap if bigger than alloca cutoff.
962
74d87055
TS
9632013-04-03 Thomas Schwinge <thomas@codesourcery.com>
964
965 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
966 (SNAN_TESTS_double): Refer to GCC PR56831.
967 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
968 GCC PR56828.
969
d755bba4
SP
9702013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
971
90d5d5bb
SP
972 * Rules (bench): Move bench.out after the run is complete.
973
73e0cd5d
SP
974 * Rules (bench): Echo currently running benchmark.
975
64aabd4b
SP
976 * benchtests/Makefile (bench): Add atan and slowatan.
977 * benchtests/atan-inputs: New file.
978 * benchtests/slowatan-inputs: New file.
979 * benchtests/slowatan.c: New file.
980
c871eccd
SP
981 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
982 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
983 its value.
984
d755bba4
SP
985 [BZ #15305]
986 * sysdeps/unix/sysv/linux/kernel-features.h
987 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
988 __ASSUME_XFS_RESTRICTED_CHOWN.
989 * sysdeps/unix/sysv/linux/pathconf.c
990 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
991 Save and restore errno.
992
52ce4860
JM
9932013-04-02 Joseph Myers <joseph@codesourcery.com>
994
995 [BZ #15327]
996 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
997 arguments using __kernel_casinh.
998 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
999 arguments using __kernel_casinhf.
1000 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1001 arguments using __kernel_casinhl.
1002 * math/libm-test.inc (cacosh_test): Add more tests.
1003 * sysdeps/i386/fpu/libm-test-ulps: Update.
1004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1005
81f311c2
SP
10062013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1007
e7906a47
SP
1008 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1010
92e3664b
SP
1011 * bench/Makefile (bench): Add sin and slowsin.
1012 * benchtests/sin-inputs: New file.
1013 * benchtests/slowsin-inputs: New file.
1014 * benchtests/slowsin.c: New file.
1015
81f311c2
SP
1016 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1017 (bench): Add slowexp and slowpow.
1018 (exp-ITER): Increase iterations.
1019 (pow-ITER): Likewise.
1020 * benchtests/exp-inputs: Change input.
1021 * benchtests/pow-inputs: Likewise.
1022 * benchtests/slowexp-inputs: New file.
1023 * benchtests/slowexp.c: New file.
1024 * benchtests/slowpow-inputs: New file.
1025 * benchtests/slowpow.c: New file.
1026
ab0f1aa9
AZ
10272013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1028
1029 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1030 instructions.
1031 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1032 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1033 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1034 * benchtests/Makefile: Add rint benchtest.
1035 * benchtests/rint-inputs: Input for rint benchtest.
1036
57267616
TS
10372013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1038
1039 * Versions.def (libm): Add GLIBC_2.18.
1040 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1041 hidden libm prototypes.
1042 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1043 * math/Makefile (libm-calls): Add s_issignaling.
1044 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1045 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1046 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1047 declaration.
1048 * math/math.h [__USE_GNU] (issignaling): New macro.
1049 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1050 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1051 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1052 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1053 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1054 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1055 * manual/arith.texi (issignaling): New section.
1056 * manual/libm-err-tab.pl (@all_functions): Update comment.
1057 * math/gen-libm-test.pl (parse_args): Apply special handling for
1058 issignaling.
1059 * math/libm-test.inc (print_float, issignaling_test): New
1060 functions.
1061 (check_float_internal): Add issignaling checks.
1062 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1063 default definition.
1064 * sysdeps/powerpc/math-tests.h: New file.
1065 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1066 tests.
1067 * math/test-snan.c (TEST_FUNC): Likewise.
1068
6142896d
DM
10692013-03-30 David S. Miller <davem@davemloft.net>
1070
1071 * po/de.po: Update from translation team.
1072
ccc8cadf
JM
10732013-03-30 Joseph Myers <joseph@codesourcery.com>
1074
1075 [BZ #10357]
1076 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1077 imaginary part less than 1.0 and real part less than 0.5
1078 specially.
1079 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1080 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1081 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1082 (cacos_test): Add more tests.
1083 (casin_test): Likewise.
1084 (casinh_test): Likewise.
1085 * sysdeps/i386/fpu/libm-test-ulps: Update.
1086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1087
0f6a8d4b
SP
10882013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1089
0d1029de
SP
1090 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1091 ONE with its value.
1092
c2d94018
SP
1093 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1094 (__pow_mp): Replace ONE and MONE with their values.
1095 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1096 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1097 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1098 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1099 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1100 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1101
27ec37f1
SP
1102 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1103
a64d7e0e
SP
1104 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1105 (__pow_mp): Replace ZERO and MZERO with their values.
1106 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1107 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1108 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1110 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1111 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1112 (__sqr): Likewise.
1113
d26dd3eb
SP
1114 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1115
0f6a8d4b
SP
1116 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1117
e57b0c61
RM
11182013-03-28 Roland McGrath <roland@hack.frob.com>
1119
1120 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1121 Declare with __attribute__ ((weak)).
1122 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1123 Call __call_tls_dtors only if it's not NULL.
1124
356b3480
RM
11252013-03-28 Roland McGrath <roland@hack.frob.com>
1126
288f7d79
RM
1127 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1128 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1129 magic __ehdr_start linker symbol if it's defined.
1130 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1131 them up here if it was already done.
1132
dc0a0263
RM
1133 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1134 (_dl_aux_init): Use const in cast when setting it.
1135 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1136 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1137 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1138
3d3436ae
RM
1139 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1140 Declare them here.
1141 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1142 * csu/libc-tls.c: Nor here.
1143 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1144
356b3480
RM
1145 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1146 (__libc_message): Never call vsyslog.
1147
b0f1246a
AM
11482013-03-28 Alan Modra <amodra@gmail.com>
1149
1150 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1151 Define as empty.
1152 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1153 Likewise.
1154
fbbe2b9a
AZ
11552013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1156
1157 [BZ #15214]
1158 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1159 underflow.
1160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1161
1728ab37
SP
11622013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1163
7a86be6e
SP
1164 [BZ #15304]
1165 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1166 Don't add gid passed as argument.
1167
1728ab37
SP
1168 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1169
3a7182a1
JM
11702013-03-27 Joseph Myers <joseph@codesourcery.com>
1171
1172 [BZ #15307]
1173 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1174 imaginary part between 1.0 and 1.5 and real part less than 0.5
1175 specially.
1176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1178 * math/libm-test.inc (cacos_test): Add more tests.
1179 (casin_test): Likewise.
1180 (casinh_test): Likewise.
1181 * sysdeps/i386/fpu/libm-test-ulps: Update.
1182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1183
6f2e90e7
SP
11842013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1185
5739f705
SP
1186 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1187 constants.
1188 (norm): Likewise.
1189 (denorm): Likewise.
1190 (__dbl_mp): Likewise.
1191 (add_magnitudes): Likewise.
1192 (sub_magnitudes): Likewise.
1193 (__add): Likewise.
1194 (__sub): Likewise.
1195 (__mul): Likewise.
1196 (__sqr): Likewise.
1197 (__inv): Likewise.
1198 (__dvd): Likewise.
1199
e375e83d
SP
1200 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1201 commented code.
1202 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1203 (__dubcos): Likewise.
1204 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1205 (__ieee754_acos): Likewise.
1206 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1207 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1208 (__exp1): Likewise.
1209 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1210 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1211 (log1): Likewise.
1212 (my_log2): Likewise.
1213 (checkint): Likewise.
1214 * sysdeps/ieee754/dbl-64/e_remainder.c
1215 (__ieee754_remainder): Likewise.
1216 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1218 (bsloww): Likewise.
1219 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1220
6f2e90e7
SP
1221 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1222 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1223 MANTISSA_STORE_T to store computations on mantissa. Use
1224 macros for rounding and division.
1225 (denorm): Likewise.
1226 (__dbl_mp): Likewise.
1227 (add_magnitudes): Likewise.
1228 (sub_magnitudes): Likewise.
1229 (__mul): Likewise.
1230 (__sqr): Likewise.
1231 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1232 powers of two in terms of TWOPOW macro.
1233 (mp_no): Make type of mantissa as MANTISSA_T.
1234 [!RADIXI]: Define RADIXI.
1235 [!TWO52]: Define TWO52.
1236 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1237
fce14d4e
AZ
12382013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1239
1240 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1241 llroundl symbol when building for PPC32.
1242
9ad027fb
MW
12432013-03-24 Mark H Weaver <mhw@netris.org>
1244
1245 * manual/arith.texi (Normalization Functions): Fix prototypes for
1246 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1247
e42a38dd
AZ
12482013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249
1250 [BZ #13889]
1251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1252 high value to check if expl overflow.
1253 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1254 to check for underflow and overflow.
1255 * math/libm-test.inc: Add exp test.
1256
2e0fb521
DL
12572013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1258
1259 [BZ #11120]
1260 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1261 with NOT_IN_libc.
1262
b5784d95
AZ
12632013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1264
1265 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1266 symbol.
1267
5aa4a1a1
TS
12682013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1269
bdef0be7
TS
1270 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1271 wrap blocks consisting of several statements.
1272
5aa4a1a1
TS
1273 * sysdeps/generic/math-tests.h: New file.
1274 * sysdeps/i386/fpu/math-tests.h: Likewise.
1275 * math/test-snan.c: Include it.
1276 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1277
98c48fe5
JM
12782013-03-21 Joseph Myers <joseph@codesourcery.com>
1279
1280 [BZ #15285]
1281 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1282 (__ieee754_j0l): Do not improve calculations using cos of twice
1283 input for inputs above LDBL_MAX / 2.0L.
1284 (__ieee754_y0l): Likewise.
1285 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1286 (__ieee754_j1l): Do not improve calculations using cos of twice
1287 input for inputs above LDBL_MAX / 2.0L.
1288 (__ieee754_y1l): Likewise.
1289 * math/libm-test.inc (j0_test): Add another test.
1290 (j1_test): Likewise.
1291 (y0_test): Likewise.
1292 (y1_test): Likewise.
1293 * sysdeps/i386/fpu/libm-test-ulps: Update.
1294
3775a8bc
SP
12952013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1296
1297 * Rules ($(objpfx)bench-%.c): Include code from a C source
1298 file.
1299
0a1b2ae6
JM
13002013-03-21 Joseph Myers <joseph@codesourcery.com>
1301
1302 [BZ #15287]
1303 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1304 imaginary part 1.0 and real part less than 0.5 specially.
1305 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1306 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1307 * math/libm-test.inc (cacos_test): Add more tests.
1308 (casin_test): Likewise.
1309 (casinh_test): Likewise.
1310 * sysdeps/i386/fpu/libm-test-ulps: Update.
1311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1312
b33d4ce4
SP
13132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1314
1315 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1316 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1317
bef0b507
JM
13182013-03-20 Joseph Myers <joseph@codesourcery.com>
1319
1320 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1321 * config.make.in (config-cflags-sse4): Remove variable.
1322 (config-cflags-avx): Likewise.
1323 (config-cflags-sse2avx): Likewise.
1324 (config-cflags-novzeroupper): Likewise.
1325 (config-asflags-i686): Likewise.
1326 (have-mfma4): Likewise.
1327 (have-as-vis3): Likewise.
1328 (MIG): Likewise.
1329 * configure.in (MIG): Do not AC_SUBST.
1330 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1331 (libc_cv_cc_sse4): Do not AC_SUBST.
1332 (libc_cv_cc_avx): Likewise.
1333 (libc_cv_cc_sse2avx): Likewise.
1334 (libc_cv_cc_novzeroupper): Likewise.
1335 (libc_cv_cc_fma4): Likewise.
1336 (libc_cv_as_i686): Likewise.
1337 (libc_cv_sparc_as_vis3): Likewise.
1338 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1339 LIBC_CONFIG_VAR.
1340 (config-asflags-i686): Likewise.
1341 (config-cflags-avx): Likewise.
1342 (config-cflags-sse2avx): Likewise.
1343 (have-mfma4): Likewise.
1344 (config-cflags-novzeroupper): Likewise.
1345 * sysdeps/mach/configure.in (MIG): Likewise.
1346 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1347 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1348 LIBC_CONFIG_VAR.
1349 (config-cflags-avx): Likewise.
1350 (config-cflags-sse2avx): Likewise.
1351 (have-mfma4): Likewise.
1352 (config-cflags-novzeroupper): Likewise.
1353 * configure: Regenerated.
1354 * sysdeps/i386/configure: Likewise.
1355 * sysdeps/mach/configure: Likewise.
1356 * sysdeps/sparc/configure: Likewise.
1357 * sysdeps/x86_64/configure: Likewise.
1358
912cc4b3
RM
13592013-03-20 Roland McGrath <roland@hack.frob.com>
1360
1361 [BZ #14812]
1362 * locale/programs/localedef.c (options): Put N_ translation marker
1363 on argument names, not just descriptions.
1364
04eed2b0
MS
13652013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1366
1367 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1368
a065ceff
OB
13692013-03-20 Ondřej Bílka <neleai@seznam.cz>
1370
9bb2a810 1371 [BZ #14176]
a065ceff
OB
1372 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1373
a600e5ce
RM
13742013-03-19 Roland McGrath <roland@hack.frob.com>
1375
1376 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1377 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1378 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1379 [!BEFORE_ABORT] (before_abort): New function.
1380 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1381 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1382 (writev_for_fatal): New function.
1383 (WRITEV_FOR_FATAL): New macro; call that.
1384 (backtrace_and_maps): New function.
1385 (BEFORE_ABORT): New macro; call that.
1386 (struct str_list): Type removed.
1387 (__libc_message, __libc_fatal): Functions removed.
1388 Include <sysdeps/posix/libc_fatal.c> instead.
1389
6b18bea6
JM
13902013-03-19 Joseph Myers <joseph@codesourcery.com>
1391
1392 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1393 constants.
1394 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1395 double constants.
1396
aaa8cb4b
AS
13972013-03-19 Andreas Schwab <schwab@suse.de>
1398
44673770
AS
1399 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1400 * sysdeps/gnu/configure: Regenerate.
1401
aaa8cb4b
AS
1402 * configure.in: Substitute libc_cv_rtlddir.
1403 * configure: Regenerate.
1404 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1405 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1406 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1407 * elf/Makefile (install-others, CFLAGS-interp.c)
1408 (ldso_install, common-ldd-rewrite): Likewise.
1409 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1410 $(inst_slibdir)/$(rtld-installed-name).
1411 * scripts/rellns-sh: Add -p option.
1412 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1413 for source.
1414
d3cfc668
SP
14152013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1416
1417 * manual/nptl.texi: Renamed to ...
1418 * manual/threads.texi: ... this.
1419 * manual/Makefile (chapters): Update.
1420
0e2b9cdd
RM
14212013-03-18 Roland McGrath <roland@hack.frob.com>
1422
1423 [BZ #14812]
1424 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1425 on argument names, not just descriptions.
0e2b9cdd
RM
1426 * malloc/memusagestat.c (options): Likewise.
1427 * nss/getent.c (options): Likewise.
63270c24
RM
1428
14292013-03-18 Benno Schulenberg <bensberg@justemail.net>
1430
1431 [BZ #14812]
1432 * iconv/iconv_prog.c (options): Put N_ translation marker
1433 on argument names, not just descriptions.
1434 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1435
b2e1393c
OB
14362013-03-18 Ondrej Bilka <neleai@seznam.cz>
1437
1438 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1439 implementation which is faster on all x86_64 architectures.
1440 Tested on AMD, Intel Nehalem, SNB, IVB.
1441 * sysdeps/x86_64/strnlen.S: Likewise.
1442
1443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1444 Remove all multiarch strlen and strnlen versions.
1445 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1446 Remove strlen and strnlen related parts.
1447
1448 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1449 Inline strlen part.
1450 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1451
1452 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1453 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1454 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1455 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1456 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1457 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1458
ec4ff04d
CD
14592013-03-17 Carlos O'Donell <carlos@redhat.com>
1460
1461 * manual/memory.texi (Malloc Tunable Parameters):
1462 Sort parameters alphabetically. Add comments for missing entries.
1463
cd18e90a
DM
14642013-03-17 David S. Miller <davem@davemloft.net>
1465
1466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1467
2a185d32
JM
14682013-03-16 Joseph Myers <joseph@codesourcery.com>
1469
d2f9799e
JM
1470 [BZ #15283]
1471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1472 for arguments at most half maximum finite value.
1473 * math/libm-test.inc (j0_test): Add more tests.
1474 (j1_test): Likewise.
1475 (y0_test): Likewise.
1476 (y1_test): Likewise.
1477 * sysdeps/i386/fpu/libm-test-ulps: Update.
1478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1479
2a185d32
JM
1480 [BZ #14155]
1481 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1482 1 / x and functions P and Q for arguments above 0x1p256L.
1483 (__ieee754_y0l): Likewise.
1484 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1485 (__ieee754_y1l): Likewise.
1486 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1487 (j1_test): Likewise.
1488 (y0_test): Likewise.
1489 (y1_test): Likewise.
1490
6cbec759
TS
14912013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1492
1493 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1494 variable.
1495
bc16e260
RM
14962013-03-15 Roland McGrath <roland@hack.frob.com>
1497
aefc9b8c
RM
1498 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1499 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1500 zero since it's initialized to EXEC_PAGESIZE.
1501
bc16e260
RM
1502 * sysdeps/unix/sysv/linux/ldsodefs.h
1503 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1504 * sysdeps/generic/ldsodefs.h: ... here.
1505
a57da955
TS
15062013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1507
af00a34d
TS
1508 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1509
495ded2c
TS
1510 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1511 math/test-snan.c.
1512 * math/test-snan.c: Renamed from
1513 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1514 * math/Makefile (tests): Add test-snan.
1515 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1516 test-powerpc-snan.
1517
777b0332
TS
1518 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1519 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1520 functions.
1521 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1522 __builtin_nan family of functions.
1523 * math/libm-test.inc (initialize): Initialize qnan_value with
1524 __builtin_nan family of functions.
1525 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1526 Remove variables.
1527 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1528 Remove functions.
1529 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1530 storage class. Initialize qNaN_var and sNaN_var with
1531 __builtin_nan and __builtin_nans families of functions,
1532 respectively.
1533
64d063b8
TS
1534 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1535 (sqrt_test): Remove duplicate test with qNaN input.
1536 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1537 (round_test, signbit_test, significand_test): Note missing +/-Inf
1538 as well as qNaN tests.
1539
67e971f1
TS
1540 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1541 qNaN_var. Fix a few strings, too.
1542 * math/libm-test.inc (nan_value): Rename to qnan_value.
1543 * math/gen-libm-test.pl (%beautify): Adjust to that.
1544 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1545 * math/test-misc.c (main): Likewise.
1546 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1547 to __qnan_bytes, and __qnan_union, respectively.
1548 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1549 Likewise.
1550 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1551 and lqnanval, respectively.
1552 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1553 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1554 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1555 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1556
64487e12
TS
1557 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1558 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1559 doubles.
1560
e015e27b
TS
1561 * math/test-misc.c (main): Fix copy'n'pastos.
1562 * misc/tst-efgcvt.c (special): Likewise.
1563
a57da955
TS
1564 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1565 Remove declarations.
1566
1e380345
SP
15672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1568
1569 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1570 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1571 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1572 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1573
ef26eece
AZ
15742013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1575
1576 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1577 macro to return vdso values correctly in IFUNC implementations.
1578 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1579 Optimization by using IFUNC.
1580
8cfdb7e0
SP
15812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1582 Richard Henderson <rth@redhat.com>
1583 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1584
1585 * Makefile.in (bench): New target.
1586 * NEWS: Mention the benchmark framework.
1587 * Rules (bench): Likewise.
1588 (binaries-bench): Generate binaries for functions to
1589 benchmark.
1590 * benchtests/Makefile: New makefile for benchmark tests.
1591 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1592 programs.
1593 * benchtests/exp-inputs: New input file for EXP function.
1594 * benchtests/pow-inputs: New input file for POW function.
1595 * scripts/bench.pl: New script to generate source files for
1596 benchmark programs.
1597
bcda9880
SP
15982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1599
d22ca8cd
SP
1600 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1601 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1602 computations on mantissa. Use macros for rounding and
1603 division.
1604 (denorm): Likewise.
1605 (__dbl_mp): Likewise.
1606 (add_magnitudes): Likewise.
1607 (sub_magnitudes): Likewise.
1608 (__mul): Likewise.
1609 (__sqr): Likewise.
1610 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1611 powers of two in terms of TWOPOW macro.
1612 (mp_no): Make type of mantissa as MANTISSA_T.
1613 [!RADIXI]: Define RADIXI.
1614 [!TWO52]: Define TWO52.
1615 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1616
bcda9880
SP
1617 * manual/nptl.texi (cindex): Modify threads to pthreads.
1618
06d5adfb
JM
16192013-03-15 Joseph Myers <joseph@codesourcery.com>
1620
1621 * sysdeps/x86_64/preconfigure: Regenerated.
1622
41c7328e
JM
16232013-03-14 Joseph Myers <joseph@codesourcery.com>
1624
1625 [BZ #14155]
1626 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1627 0x1p28 and above.
1628 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1629 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1630 0x1p28 and above.
1631 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1632 * math/libm-test.inc (j0_test): Do not allow one spurious
1633 underflow exception.
1634 (y1_test): Likewise.
1635
e25cfa60
SP
16362013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1637
0409959c
SP
1638 * manual/Makefile (chapters): Add nptl.
1639 * manual/debug.texi (Debugging Support): Add link to Threads
1640 chapter.
1641 * manual/nptl.texi: New file.
1642
e25cfa60
SP
1643 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1644
58a1335e
PB
16452013-03-14 Petr Baudis <pasky@ucw.cz>
1646
1647 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1648 for non-NULL pointer before the memory validity test. Pointed
1649 out by Holger Brunck <holger.brunck@keymile.com>.
1650
9dc7c64f
AS
16512013-03-13 Andreas Schwab <schwab@suse.de>
1652
1653 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1654 instead of .os.
1655
54206aa6
JM
16562013-03-13 Joseph Myers <joseph@codesourcery.com>
1657
1658 * timezone/zic.c: Update from tzcode 2013b.
1659
e98cdb38
CD
16602013-03-12 Carlos O'Donell <carlos@redhat.com>
1661
1662 * manual/install.texi (Configuring and compiling):
1663 Mention i686 and i586.
1664 * INSTALL: Regenerate.
1665
9967e003
RM
16662013-03-12 Roland McGrath <roland@hack.frob.com>
1667
1668 * sysdeps/init_array/elf-init.c: New file.
1669 * csu/elf-init.c
1670 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1671 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1672
1673 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1674 __gmon_start__ as global, but as static with a .preinit_array pointer.
1675 * sysdeps/init_array/gmon-start.c: New file. Use that.
1676 * sysdeps/init_array/crti.S: New file, empty except for comments.
1677 * sysdeps/init_array/crtn.S: Likewise.
1678
e6b5a293 16792013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1680
1681 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1682 definining bcopy.
80f844c9
OB
1683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1684 Remove Prefer_SSE_for_memop.
1685 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1686 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1687 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1689 memset-x86-64.
80f844c9 1690 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1691 Remove bzero, memset ifunc support.
80f844c9
OB
1692 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1693 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1694 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1695 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1696
fb6b0fcb
AS
16972013-03-11 Andreas Schwab <schwab@suse.de>
1698
1699 [BZ #15234]
1700 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1701 by SHLIB_COMPAT.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1703 (GLIBC_2.16): Remove pthread_atfork.
1704
3e6bd4b1
PP
17052013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1706
1707 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1708 (ptestcases.h): Likewise.
1709
222d7f00
RM
17102013-03-08 Roland McGrath <roland@hack.frob.com>
1711
1712 * Makeconfig ($(common-objpfx)config.status): Depend on
1713 sysdeps/*/preconfigure{,.in} too.
1714
1ba4f030
JM
17152013-03-08 Joseph Myers <joseph@codesourcery.com>
1716
a222d91a
JM
1717 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1718 (__free_hook): Use void * instead of __malloc_ptr_t.
1719 (__malloc_hook): Likewise.
1720 (__realloc_hook): Likewise.
1721 (__memalign_hook): Likewise.
1722 (__after_morecore_hook): Likewise.
1723 * malloc/arena.c (save_malloc_hook): Likewise.
1724 (save_free_hook): Likewise.
1725 * malloc/hooks.c (malloc_hook_ini): Likewise.
1726 (realloc_hook_ini): Likewise.
1727 (memalign_hook_ini): Likewise.
1728 * malloc/malloc.c (malloc_hook_ini): Likewise.
1729 (realloc_hook_ini): Likewise.
1730 (memalign_hook_ini): Likewise.
1731 (__free_hook): Likewise.
1732 (__malloc_hook): Likewise.
1733 (__realloc_hook): Likewise.
1734 (__memalign_hook): Likewise.
1735 (__libc_malloc): Likewise.
1736 (__libc_free): Likewise.
1737 (__libc_realloc): Likewise.
1738 (__libc_memalign): Likewise.
1739 (__libc_valloc): Likewise.
1740 (__libc_pvalloc): Likewise.
1741 (__libc_calloc): Likewise.
1742 (__posix_memalign): Likewise.
1743 * malloc/morecore.c (__sbrk): Likewise.
1744 (__default_morecore): Likewise.
1745
5cc45e10
JM
1746 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1747
dd54b864
JM
1748 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1749 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1750 __malloc_ptrdiff_t.
1751
1ba4f030
JM
1752 * malloc/malloc.h (__malloc_size_t): Remove macro.
1753 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1754 __malloc_size_t.
1755 (old_memalign_hook): Likewise.
1756 (old_realloc_hook): Likewise.
1757 (struct hdr): Likewise.
1758 (flood): Likewise.
1759 (mallochook): Likewise.
1760 (memalignhook): Likewise.
1761 (reallochook): Likewise.
1762 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1763 (tr_old_realloc_hook): Likewise.
1764 (tr_old_memalign_hook): Likewise.
1765 (tr_mallochook): Likewise.
1766 (tr_reallochook): Likewise.
1767 (tr_memalignhook): Likewise.
1768
edf66e57
AZ
17692013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1770
1771 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1772 default_ldbl_pack and using as default implementation.
1773 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1774 implementation.
1775 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1776 redundant definition.
1777 (ldbl_insert_mantissa): Likewise.
1778 (ldbl_canonicalize): Likewise.
1779 (ldbl_nearbyint): Likewise.
1780 (ldbl_pack): Rename to ldbl_pack_ppc.
1781 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1782 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1783 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1784
6d9145d8
SP
17852013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1786
1787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1788 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1789 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1790 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1792 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1793 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1794 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1795
4dd4e157
AJ
17962013-03-07 Andreas Jaeger <aj@suse.de>
1797
1798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1799 bits/mman-linux.h.
1800
adbb8027
SP
18012013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1802
ce544b5b
SP
1803 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1804 Include mpa.h and declare __MPEXP.
1805 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1806 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1807 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1808 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1809 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1810 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1811 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1812
4cc149fd
SP
1813 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1814 (__slowpow): Use long double EXPL and LOGL functions to
1815 compute POW.
1816 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1817 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1818 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1819 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1820 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1821 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1822
e6ebd4a7
SP
1823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1824 intermediate variable to calculate exponent.
1825 (__sqr): Likewise.
1826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1827 Likewise.
1828 (__sqr): Likewise.
1829
82a9811d
SP
1830 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1831 [!NO__SQR]: Define __sqr.
1832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1833 and NO__SQR. Remove all code except __mul and __sqr. Include
1834 sysdeps/ieee754/dbl-64/mpa.c.
1835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1836
adbb8027
SP
1837 [BZ #12723]
1838 * posix/Makefile (tests): Add tst-pathconf.
1839 * posix/tst-pathconf.c: New test case.
1840 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1841 _PC_PIPE_BUF.
1842 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1843
39120df9
PF
18442013-03-06 Patsy Franklin <pfrankli@redhat.com>
1845
1846 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1847
67525cb8
AJ
18482013-03-06 Andreas Jaeger <aj@suse.de>
1849
664a9ce4
AJ
1850 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1851 definition via __MAP_ANONYMOUS.
1852
8e39047d
AJ
1853 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1854 it's not part of Linux headers.
1855
67525cb8
AJ
1856 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1857 (MAP_HUGE_MASK): Define.
1858
1859 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1860 Define.
1861 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1863 Define.
1864 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1865 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1866 Define.
1867 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1868 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1869 Define.
1870 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1871
1872 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1873 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1874 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1875 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1876 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1877 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1878
1879 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1880 Handle f2fs.
1881
1882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1883 Handle f2fs and efivarfs.
1884
1885 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1886 f2fs.
1887
1888 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1889 (EFIVARFS_MAGIC): Add.
1890 (F2FS_LINK_MAX): Add.
1891
e1b42695
PP
18922013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1893
1894 * stdio-common/vfprintf.c: Replace __builtin_expect with
1895 __glibc_unlikely.
1896
2d67d91a
JM
18972013-03-06 Joseph Myers <joseph@codesourcery.com>
1898
1899 [BZ #13550]
1900 * sysdeps/generic/bp-sym.h: Remove file.
1901 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1902 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1903 <bp-sym.h> and <bp-asm.h>.
1904 (__longjmp): Don't use BP_SYM.
1905 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1906 and <bp-asm.h>.
1907 (memcpy): Don't use BP_SYM.
1908 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1909 <bp-sym.h> and <bp-asm.h>.
1910 (memcpy): Don't use BP_SYM.
1911 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1912 <bp-asm.h>.
1913 (memcpy): Don't use BP_SYM.
1914 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1915 <bp-asm.h>.
1916 (memset): Don't use BP_SYM.
1917 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1918 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1919 (__bzero): Don't use BP_SYM.
1920 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1921 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1922 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1923 <bp-sym.h> and <bp-asm.h>.
1924 (memcmp): Don't use BP_SYM. Remove comment about bounded
1925 pointers.
1926 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1927 <bp-sym.h> and <bp-asm.h>.
1928 (memcpy): Don't use BP_SYM.
1929 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1930 <bp-sym.h> and <bp-asm.h>.
1931 (memset): Don't use BP_SYM.
1932 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1933 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1934 (__bzero): Don't use BP_SYM.
1935 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1936 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1938 <bp-sym.h> and <bp-asm.h>.
1939 (strncmp): Don't use BP_SYM. Remove comment about bounded
1940 pointers.
1941 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1942 <bp-sym.h> and <bp-asm.h>.
1943 (memcpy): Don't use BP_SYM.
1944 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1945 <bp-sym.h> and <bp-asm.h>.
1946 (memset): Don't use BP_SYM.
1947 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1948 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1949 (__bzero): Don't use BP_SYM.
1950 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1951 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1952 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1953 <bp-sym.h> and <bp-asm.h>.
1954 (__memchr): Don't use BP_SYM.
1955 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1956 <bp-sym.h> and <bp-asm.h>.
1957 (memcmp): Don't use BP_SYM. Remove comment about bounded
1958 pointers.
1959 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1960 <bp-sym.h> and <bp-asm.h>.
1961 (memcpy): Don't use BP_SYM.
1962 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1963 <bp-sym.h> and <bp-asm.h>.
1964 (__mempcpy): Don't use BP_SYM.
1965 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1966 <bp-sym.h> and <bp-asm.h>.
1967 (__memrchr): Don't use BP_SYM.
1968 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1969 <bp-sym.h> and <bp-asm.h>.
1970 (memset): Don't use BP_SYM.
1971 (__bzero): Likewise.
1972 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1973 <bp-sym.h> and <bp-asm.h>.
1974 (__rawmemchr): Don't use BP_SYM.
1975 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1976 <bp-sym.h> and <bp-asm.h>.
1977 (__STRCMP): Don't use BP_SYM.
1978 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1979 <bp-sym.h> and <bp-asm.h>.
1980 (strchr): Don't use BP_SYM.
1981 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1982 <bp-sym.h> and <bp-asm.h>.
1983 (__strchrnul): Don't use BP_SYM.
1984 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1985 <bp-sym.h> and <bp-asm.h>.
1986 (strlen): Don't use BP_SYM.
1987 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1988 <bp-sym.h> and <bp-asm.h>.
1989 (strncmp): Don't use BP_SYM. Remove comment about bounded
1990 pointers.
1991 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1992 <bp-sym.h> and <bp-asm.h>.
1993 (__strnlen): Don't use BP_SYM.
1994 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1995 <bp-sym.h> and <bp-asm.h>.
1996 (__GI__setjmp): Don't use BP_SYM.
1997 (_setjmp): Likewise.
1998 (__sigsetjmp): Likewise.
1999 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2000 (L(start_addresses)): Don't use BP_SYM.
2001 (_start): Likewise.
2002 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2003 <bp-asm.h>.
2004 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2005 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2006 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2007 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2008 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2009 <bp-asm.h>.
2010 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2011 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2012 about bounded pointers.
2013 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2014 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2015 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2016 <bp-asm.h>.
2017 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2018 about bounded pointers. Remove GKM FIXME comments.
2019 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2020 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2021 <bp-asm.h>.
2022 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2023 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2024 Remove GKM FIXME comments.
2025 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2026 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2027 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2028 <bp-asm.h>.
2029 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2030 about bounded pointers. Remove GKM FIXME comment.
2031 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2032 and <bp-asm.h>.
2033 (strncmp): Don't use BP_SYM. Remove comment about bounded
2034 pointers.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2036 <bp-sym.h> and <bp-asm.h>.
2037 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2039 <bp-sym.h> and <bp-asm.h>.
2040 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2041 comment.
2042
cdcf361f
PP
20432013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2044
2045 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2046 call free(NULL).
2047
3c4a2b15
DM
20482013-03-05 David S. Miller <davem@davemloft.net>
2049
2050 * po/es.po: Update from translation team.
2051
cdcf361f 20522013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2053
2054 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2055 <bits/mman-linux.h>.
2056 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2057 is fine.
2058 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2059 <bits/mman-linux.h> to end of file.
2060 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2061 is fine.
2062 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2063 <bits/mman-linux.h> to end of file.
2064 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2065 is fine.
2066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2067 <bits/mman-linux.h> to end of file.
2068
2069 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2070 (MCL_CURRENT, MCL_FUTURE): Define here.
2071
5f67c04f
AK
20722013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2073
8a4473cc 2074 [BZ #15232]
5f67c04f
AK
2075 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2076 attribute_hidden.
2077 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2078
c3e94a95
AK
20792013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2080
2081 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2082 fourth parameter needed for rt_sigprocmask syscall.
2083 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2084 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2085 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2086 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2087 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2088 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2089
cfb6382a
JM
20902013-03-04 Joseph Myers <joseph@codesourcery.com>
2091
2092 [BZ #13550]
2093 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2094 comment about bounded pointers.
2095 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2096 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2097
539d8e01
AJ
20982013-03-04 Andreas Jaeger <aj@suse.de>
2099
2100 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2101 common definitions.
2102
2103 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2104 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2105 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2106 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2107 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2109
2e167a70 21102013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2111
2112 [BZ #15055]
2113 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2114 __ieee754_sqrl instead of __sqrl.
2115
68508633
JM
21162013-03-01 Joseph Myers <joseph@codesourcery.com>
2117
2118 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2119 * sysdeps/powerpc/fpu_control.h: ... here.
2120 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2121 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2122 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2123 * sysdeps/powerpc/bits/mathinline.h: ... here.
2124
7775448e
RM
21252013-03-01 Roland McGrath <roland@hack.frob.com>
2126
2127 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2128 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2129 to just [NEED_DL_SYSINFO_DSO].
2130 * elf/dl-support.c: Likewise.
2131 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2132 * elf/rtld.c (dl_main): Likewise.
2133 * elf/setup-vdso.h (setup_vdso): Likewise.
2134 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2135 * sysdeps/unix/sysv/linux/dl-sysdep.c
2136 (_dl_discover_osversion): Likewise.
2137
4e9b5995
CD
21382013-03-01 Carlos O'Donell <carlos@redhat.com>
2139
2140 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2141 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2142
e23872c8
SP
21432013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2144
e5c74c63
SP
2145 * NEWS: Mention libm performance improvements and non-x86 PI
2146 futex support.
2147
e23872c8
SP
2148 * csu/libc-start.c (__pthread_initialize_minimal): Change
2149 function arguments.
2150 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2151
b5510883
JM
21522013-02-28 Joseph Myers <joseph@codesourcery.com>
2153
2154 [BZ #13550]
2155 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2156 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2157 <bp-sym.h> and <bp-asm.h>.
2158 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2159 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2160 and <bp-asm.h>.
2161 (memcpy): Don't use BP_SYM.
2162 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2163 <bp-asm.h>.
2164 (__mpn_add_n): Don't use BP_SYM.
2165 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2166 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2167 and <bp-asm.h>.
2168 (__mpn_addmul_1): Don't use BP_SYM.
2169 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2170 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2171 <bp-sym.h>.
2172 (_setjmp): Don't use BP_SYM.
2173 (__novmx_setjmp): Likewise.
2174 (__GI__setjmp): Likewise.
2175 (__vmx_setjmp): Likewise.
2176 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2177 <bp-sym.h>.
2178 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2179 (__bzero): Don't use BP_SYM.
2180 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2181 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2182 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2183 <bp-sym.h> and <bp-asm.h>.
2184 (memcpy): Don't use BP_SYM.
2185 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2186 <bp-sym.h> and <bp-asm.h>.
2187 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2188 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2189 <bp-sym.h> and <bp-asm.h>.
2190 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2191 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2192 <bp-asm.h>.
2193 (__mpn_lshift): Don't use BP_SYM.
2194 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2195 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2196 <bp-asm.h>.
2197 (memset): Don't use BP_SYM.
2198 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2199 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2200 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2201 <bp-asm.h>.
2202 (__mpn_mul_1): Don't use BP_SYM.
2203 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2204 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2205 <bp-sym.h> and <bp-asm.h>.
2206 (memcmp): Don't use BP_SYM.
2207 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2208 <bp-sym.h> and <bp-asm.h>.
2209 (memcpy): Don't use BP_SYM.
2210 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2211 <bp-sym.h> and <bp-asm.h>.
2212 (memset): Don't use BP_SYM.
2213 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2214 <bp-sym.h> and <bp-asm.h>.
2215 (strncmp): Don't use BP_SYM.
2216 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2217 <bp-sym.h> and <bp-asm.h>.
2218 (memcpy): Don't use BP_SYM.
2219 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2220 <bp-sym.h> and <bp-asm.h>.
2221 (memset): Don't use BP_SYM.
2222 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2223 <bp-sym.h> and <bp-asm.h>.
2224 (__memchr): Don't use BP_SYM.
2225 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2226 <bp-sym.h> and <bp-asm.h>.
2227 (memcmp): Don't use BP_SYM.
2228 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2229 <bp-sym.h> and <bp-asm.h>.
2230 (memcpy): Don't use BP_SYM.
2231 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2232 <bp-sym.h> and <bp-asm.h>.
2233 (__mempcpy): Don't use BP_SYM.
2234 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2235 <bp-sym.h> and <bp-asm.h>.
2236 (__memrchr): Don't use BP_SYM.
2237 * sysdeps/powerpc/powerpc32/power7/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/rawmemchr.S: Don't include
2241 <bp-sym.h> and <bp-asm.h>.
2242 (__rawmemchr): Don't use BP_SYM.
2243 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2244 <bp-sym.h> and <bp-asm.h>.
2245 (__STRCMP): Don't use BP_SYM.
2246 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2247 <bp-sym.h> and <bp-asm.h>.
2248 (strchr): Don't use BP_SYM.
2249 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2250 <bp-sym.h> and <bp-asm.h>.
2251 (__strchrnul): Don't use BP_SYM.
2252 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2253 <bp-sym.h> and <bp-asm.h>.
2254 (strlen): Don't use BP_SYM.
2255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2256 <bp-sym.h> and <bp-asm.h>.
2257 (strncmp): Don't use BP_SYM.
2258 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2259 <bp-sym.h> and <bp-asm.h>.
2260 (__strnlen): Don't use BP_SYM.
2261 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2262 <bp-asm.h>.
2263 (__mpn_rshift): Don't use BP_SYM.
2264 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2265 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2266 <bp-sym.h> and <bp-asm.h>.
2267 (__sigsetjmp): Don't use BP_SYM.
2268 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2269 (L(start_addresses)): Don't use BP_SYM.
2270 (_start): Likewise.
2271 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2272 <bp-asm.h>.
2273 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2274 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2275 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2276 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2277 <bp-asm.h>.
2278 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2279 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2280 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2281 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2282 <bp-asm.h>.
2283 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2284 comments.
2285 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2286 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2287 <bp-asm.h>.
2288 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2289 FIXME comments.
2290 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2291 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2292 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2293 <bp-asm.h>.
2294 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2295 comment.
2296 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2297 and <bp-asm.h>.
2298 (strncmp): Don't use BP_SYM,
2299 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2300 <bp-asm.h>.
2301 (__mpn_sub_n): Don't use BP_SYM.
2302 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2303 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2304 and <bp-asm.h>.
2305 (__mpn_submul_1): Don't use BP_SYM.
2306 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2308 <bp-sym.h> and <bp-asm.h>.
2309 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2311 <bp-sym.h> and <bp-asm.h>.
2312 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2313 comment.
2314
8d19fe64
SP
23152013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2316
2317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2318 Use ZK to minimize writes to Z.
2319 (sub_magnitudes): Simplify code a bit.
2320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2321 Use ZK to minimize writes to Z.
2322 (sub_magnitudes): Simplify code a bit.
2323
85bd816a
RM
23242013-02-27 Roland McGrath <roland@hack.frob.com>
2325
2326 * csu/gmon-start.c: Add special exception to license text.
2327
b5977bf2
RH
23282013-02-27 Richard Henderson <rth@redhat.com>
2329
2330 * scripts/config.guess: Update from config.git.
2331 * scripts/config.sub: Likewise.
2332
11d6e2f2
SP
23332013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2334
09c14ed2
SP
2335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2336
a688864e
SP
2337 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2338
6295157a
SP
2339 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2340
b8de2202
SP
2341 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2342
11d6e2f2
SP
2343 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2344
7e80ddb8
RM
23452013-02-26 Roland McGrath <roland@hack.frob.com>
2346
2347 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2348 [$(build-shared = yes].
7e80ddb8 2349
7da6d9ed
SP
23502013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2351
45f05884
SP
2352 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2353 (__mul): Reduce iterations for calculating mantissa.
2354
2236d359
SP
2355 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2356 MPTWO.
2357 (__mpranred): Likewise.
2358
7da6d9ed
SP
2359 [BZ #15160]
2360 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2361 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2362
b7688c42
PE
23632013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2364
2365 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2366 Define __attribute__.
2367
53a5c423
SP
23682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2369
2370 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2371 unused.
2372 * posix/regex_internal.h (__attribute): Remove.
2373 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2374 (re_string_context_at): Likewise.
2375 (bitset_not): Use __attribute__ and mark function as possibly
2376 unused.
2377 (bitset_merge): Likewise.
2378 (bitset_mask): Likewise.
2379 (re_string_char_size_at): Likewise.
2380 (re_string_wchar_at): Likewise.
2381 (re_string_elem_size_at): Likewise.
2382
60f5a8b5
SP
23832013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2384
2a983a2e
SP
2385 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2386 code.
2387 (cc32): Likewise.
2388
e69804d1
SP
2389 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2390 (__acr): Likewise.
2391 (__cpy): Likewise.
2392 (norm): Likewise.
2393 (denorm): Likewise.
2394 (__dbl_mp): Likewise.
2395 (add_magnitudes): Likewise.
2396 (sub_magnitudes): Likewise.
2397 (__mul): Likewise.
2398 (__inv): Likewise.
2399
2f22a1e8
SP
2400 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2401 style.
2402
8930ddc7
SP
2403 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2404 style.
2405
dc60cb11
SP
2406 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2407 code.
2408
60f5a8b5
SP
2409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2410 up changes with default code.
2411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2412 Likewise.
2413
b4d1fd33
AM
24142013-02-24 Allan McRae <allan@archlinux.org>
2415
faf6f8bc
AM
2416 * manual/socket.texi (The Internet Namespace): Order menu items
2417 to match that in the file.
2418
b4d1fd33
AM
2419 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2420 node listing of the info page menu.
2421
2366713d
JM
24222013-02-21 Joseph Myers <joseph@codesourcery.com>
2423
2424 [BZ #13550]
2425 * sysdeps/i386/bp-asm.h: Remove file.
2426 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2427 (PARMS): Do not use macros from bp-asm.h.
2428 (S1): Likewise.
2429 (S2): Likewise.
2430 (SIZE): Likewise.
2431 (__mpn_add_n): Do not use BP_SYM
2432 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2433 "bp-asm.h".
2434 (PARMS): Do not use macros from bp-asm.h.
2435 (S1): Likewise.
2436 (SIZE): Likewise.
2437 (__mpn_addmul_1): Do not use BP_SYM
2438 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2439 "bp-asm.h".
2440 (PARMS): Do not use macros from bp-asm.h.
2441 (SIGMSK): Likewise.
2442 (_setjmp): Likewise. Do not use BP_SYM.
2443 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2444 "bp-asm.h".
2445 (PARMS): Do not use macros from bp-asm.h.
2446 (SIGMSK): Likewise.
2447 (setjmp): Likewise. Do not use BP_SYM.
2448 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2449 "bp-asm.h".
2450 (PARMS): Do not use macros from bp-asm.h.
2451 (__frexp): Do not use BP_SYM.
2452 (frexp): Likewise.
2453 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2454 "bp-asm.h".
2455 (PARMS): Do not use macros from bp-asm.h.
2456 (__frexpf): Do not use BP_SYM.
2457 (frexpf): Likewise.
2458 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2459 "bp-asm.h".
2460 (PARMS): Do not use macros from bp-asm.h.
2461 (__frexpl): Do not use BP_SYM.
2462 (frexpl): Likewise.
2463 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2464 "bp-asm.h".
2465 (PARMS): Do not use macros from bp-asm.h.
2466 (__remquo): Do not use BP_SYM.
2467 (remquo): Likewise.
2468 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2469 "bp-asm.h".
2470 (PARMS): Do not use macros from bp-asm.h.
2471 (__remquof): Do not use BP_SYM.
2472 (remquof): Likewise.
2473 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2474 "bp-asm.h".
2475 (PARMS): Do not use macros from bp-asm.h.
2476 (__remquol): Do not use BP_SYM.
2477 (remquol): Likewise.
2478 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2479 "bp-asm.h".
2480 (PARMS): Do not use macros from bp-asm.h.
2481 (DEST): Likewise.
2482 (SRC): Likewise.
2483 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2484 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2485 "bp-asm.h".
2486 (PARMS): Do not use macros from bp-asm.h.
2487 (strlen): Do not use BP_SYM.
2488 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2489 "bp-asm.h".
2490 (PARMS): Do not use macros from bp-asm.h.
2491 (S1): Likewise.
2492 (S2): Likewise.
2493 (SIZE): Likewise.
2494 (__mpn_add_n): Do not use BP_SYM.
2495 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2496 "bp-asm.h".
2497 (PARMS): Do not use macros from bp-asm.h.
2498 (S1): Likewise.
2499 (SIZE): Likewise.
2500 (__mpn_addmul_1): Do not use BP_SYM.
2501 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2502 weak_alias.
2503 (bzero): Likewise.
2504 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2505 "bp-asm.h".
2506 (PARMS): Do not use macros from bp-asm.h.
2507 (S): Likewise.
2508 (SIZE): Likewise.
2509 (__mpn_lshift): Do not use BP_SYM.
2510 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2511 "bp-asm.h".
2512 (PARMS): Do not use macros from bp-asm.h.
2513 (DEST): Likewise.
2514 (SRC): Likewise.
2515 (LEN): Likewise.
2516 (memcpy): Likewise. Do not use BP_SYM.
2517 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2518 libc_hidden_def and weak_alias.
2519 (mempcpy): Do not use BP_SYM in weak_alias.
2520 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2521 "bp-asm.h".
2522 (PARMS): Do not use macros from bp-asm.h.
2523 (DEST): Likewise.
2524 (LEN): Likewise.
2525 [!BZERO_P] (CHR): Likewise.
2526 (memset): Likewise. Do not use BP_SYM.
2527 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2528 "bp-asm.h".
2529 (PARMS): Do not use macros from bp-asm.h.
2530 (S1): Likewise.
2531 (SIZE): Likewise.
2532 (__mpn_mul_1): Do not use BP_SYM.
2533 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2534 "bp-asm.h".
2535 (PARMS): Do not use macros from bp-asm.h.
2536 (S): Likewise.
2537 (SIZE): Likewise.
2538 (__mpn_rshift): Do not use BP_SYM.
2539 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2540 "bp-asm.h".
2541 (PARMS): Do not use macros from bp-asm.h.
2542 (STR): Likewise.
2543 (CHR): Likewise.
2544 (strchr): Likewise. Do not use BP_SYM.
2545 (index): Do not use BP_SYM in weak_alias.
2546 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2547 "bp-asm.h".
2548 (PARMS): Do not use macros from bp-asm.h.
2549 (DEST): Likewise.
2550 (SRC): Likewise.
2551 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2552 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2553 "bp-asm.h".
2554 (PARMS): Do not use macros from bp-asm.h.
2555 (strlen): Do not use BP_SYM.
2556 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2557 "bp-asm.h".
2558 (PARMS): Do not use macros from bp-asm.h.
2559 (S1): Likewise.
2560 (S2): Likewise.
2561 (SIZE): Likewise.
2562 (__mpn_sub_n): Do not use BP_SYM.
2563 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2564 "bp-asm.h".
2565 (PARMS): Do not use macros from bp-asm.h.
2566 (S1): Likewise.
2567 (SIZE): Likewise.
2568 (__mpn_submul_1): Do not use BP_SYM.
2569 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2570 "bp-asm.h".
2571 (PARMS): Do not use macros from bp-asm.h.
2572 (S1): Likewise.
2573 (S2): Likewise.
2574 (SIZE): Likewise.
2575 (__mpn_add_n): Do not use BP_SYM.
2576 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2577 weak_alias.
2578 (bzero): Likewise.
2579 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2580 "bp-asm.h".
2581 (PARMS): Do not use macros from bp-asm.h.
2582 (BLK2): Likewise.
2583 (LEN): Likewise.
2584 (memcmp): Do not use BP_SYM.
2585 (bcmp): Do not use BP_SYM in weak_alias.
2586 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2587 "bp-asm.h".
2588 (PARMS): Do not use macros from bp-asm.h.
2589 (DEST): Likewise.
2590 (SRC): Likewise.
2591 (LEN): Likewise.
2592 (memcpy): Likewise. Do not use BP_SYM.
2593 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2594 "bp-asm.h".
2595 (PARMS): Do not use macros from bp-asm.h.
2596 (DEST): Likewise.
2597 (SRC): Likewise.
2598 (LEN): Likewise.
2599 (memmove): Likewise. Do not use BP_SYM.
2600 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2601 "bp-asm.h".
2602 (PARMS): Do not use macros from bp-asm.h.
2603 (DEST): Likewise.
2604 (SRC): Likewise.
2605 (LEN): Likewise.
2606 (__mempcpy): Likewise. Do not use BP_SYM.
2607 (mempcpy): Do not use BP_SYM in weak_alias.
2608 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2609 "bp-asm.h".
2610 (PARMS): Do not use macros from bp-asm.h.
2611 (DEST): Likewise.
2612 (LEN): Likewise.
2613 [!BZERO_P] (CHR): Likewise.
2614 (memset): Likewise. Do not use BP_SYM.
2615 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2616 "bp-asm.h".
2617 (PARMS): Do not use macros from bp-asm.h.
2618 (STR2): Likewise.
2619 (strcmp): Do not use BP_SYM.
2620 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2621 "bp-asm.h".
2622 (PARMS): Do not use macros from bp-asm.h.
2623 (STR): Likewise.
2624 (DELIM): Likewise.
2625 [USE_AS_STRTOK_R] (SAVE): Likewise.
2626 (FUNCTION): Likewise. Do not use BP_SYM.
2627 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2628 aliases.
2629 (strtok_r): Likewise.
2630 (__GI___strtok_r): Likewise.
2631 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2632 (PARMS): Do not use macros from bp-asm.h.
2633 (S): Likewise.
2634 (SIZE): Likewise.
2635 (__mpn_lshift): Do not use BP_SYM.
2636 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2637 (PARMS): Do not use macros from bp-asm.h.
2638 (STR): Likewise.
2639 (CHR): Likewise.
2640 (__memchr): Do not use BP_SYM.
2641 (memchr): Do not use BP_SYM in weak_alias.
2642 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2643 (PARMS): Do not use macros from bp-asm.h.
2644 (BLK2): Likewise.
2645 (LEN): Likewise.
2646 (memcmp): Do not use BP_SYM.
2647 (bcmp): Do not use BP_SYM in weak_alias.
2648 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2649 (PARMS): Do not use macros from bp-asm.h.
2650 (S1): Likewise.
2651 (SIZE): Likewise.
2652 (__mpn_mul_1): Do not use BP_SYM.
2653 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2654 "bp-asm.h".
2655 (PARMS): Do not use macros from bp-asm.h.
2656 (STR): Likewise.
2657 (CHR): Likewise.
2658 (__rawmemchr): Do not use BP_SYM.
2659 (rawmemchr): Do not use BP_SYM in weak_alias.
2660 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2661 (PARMS): Do not use macros from bp-asm.h.
2662 (S): Likewise.
2663 (SIZE): Likewise.
2664 (__mpn_rshift): Do not use BP_SYM.
2665 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2666 (PARMS): Do not use macros from bp-asm.h.
2667 (SIGMSK): Likewise.
2668 (__sigsetjmp): Likewise. Do not use BP_SYM.
2669 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2670 (_start): Do not use BP_SYM.
2671 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2672 (PARMS): Do not use macros from bp-asm.h.
2673 (DEST): Likewise.
2674 (SRC): Likewise.
2675 (__stpcpy): Likewise. Do not use BP_SYM.
2676 (stpcpy): Do not use BP_SYM in weak_alias.
2677 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2678 "bp-asm.h".
2679 (PARMS): Do not use macros from bp-asm.h.
2680 (DEST): Likewise.
2681 (SRC): Likewise.
2682 (LEN): Likewise.
2683 (__stpncpy): Likewise. Do not use BP_SYM.
2684 (stpncpy): Do not use BP_SYM in weak_alias.
2685 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2686 (PARMS): Do not use macros from bp-asm.h.
2687 (STR): Likewise.
2688 (CHR): Likewise.
2689 (strchr): Likewise. Do not use BP_SYM.
2690 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2691 "bp-asm.h".
2692 (PARMS): Do not use macros from bp-asm.h.
2693 (STR): Likewise.
2694 (CHR): Likewise.
2695 (__strchrnul): Likewise. Do not use BP_SYM.
2696 (strchrnul): Do not use BP_SYM in weak_alias.
2697 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2698 "bp-asm.h".
2699 (PARMS): Do not use macros from bp-asm.h.
2700 (STOP): Likewise.
2701 (strcspn): Do not use BP_SYM.
2702 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2703 "bp-asm.h".
2704 (PARMS): Do not use macros from bp-asm.h.
2705 (STR): Likewise.
2706 (STOP): Likewise.
2707 (strpbrk): Likewise. Do not use BP_SYM.
2708 * sysdeps/i386/strrchr.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 (strrchr): Likewise. Do not use BP_SYM.
2714 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2715 (PARMS): Do not use macros from bp-asm.h.
2716 (SKIP): Likewise.
2717 (strspn): Do not use BP_SYM.
2718 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2719 (PARMS): Do not use macros from bp-asm.h.
2720 (STR): Likewise.
2721 (DELIM): Likewise.
2722 (SAVE): Likewise.
2723 (FUNCTION): Likewise. Do not use BP_SYM.
2724 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2725 aliases.
2726 (strtok_r): Likewise.
2727 (__GI___strtok_r): Likewise.
2728 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2729 (PARMS): Do not use macros from bp-asm.h.
2730 (S1): Likewise.
2731 (S2): Likewise.
2732 (SIZE): Likewise.
2733 (__mpn_sub_n): Do not use BP_SYM.
2734 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2735 "bp-asm.h".
2736 (PARMS): Do not use macros from bp-asm.h.
2737 (S1): Likewise.
2738 (SIZE): Likewise.
2739 (__mpn_submul_1): Do not use BP_SYM.
2740 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2741 <bp-sym.h>.
2742 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2743 and <bp-asm.h>.
2744 (PARMS): Do not use macros from bp-asm.h.
2745 (FLAGS): Likewise.
2746 (PTID): Likewise.
2747 (TLS): Likewise.
2748 (CTID): Likewise.
2749 (__clone): Do not use BP_SYM.
2750 (clone): Do not use BP_SYM in weak_alias.
2751 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2752 and <bp-asm.h>.
2753 (PARMS): Do not use macros from bp-asm.h.
2754 (LEN): Likewise.
2755 (__mmap64): Do not use BP_SYM.
2756 (mmap64): Do not use BP_SYM in weak_alias.
2757 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2758 <bp-sym.h> and <bp-asm.h>.
2759 (PARMS): Do not use macros from bp-asm.h.
2760 (__posix_fadvise64_l64): Do not use BP_SYM.
2761 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2762 (PARMS): Do not use macros from bp-asm.h.
2763 (NSOPS): Likewise.
2764 (semtimedop): Do not use BP_SYM.
2765 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2766 and <bp-asm.h>.
2767
582a3cff
AM
27682013-02-21 Allan McRae <allan@archlinux.org>
2769
2770 * manual/message.texi (Charset conversion in gettext):
2771 Move @end statement to beginning of line.
2772
bab8a695
SP
27732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2774
80945231
SP
2775 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2776 static.
2777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2778 Likewise.
2779
bab8a695
SP
2780 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2781 (denorm): Likewise.
2782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2784
e21d7aa7
AK
27852013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2786
2787 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2788 tail-call to the resolved function if pltexit isn't needed.
2789
4c7a4263
SP
27902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2791
2792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2793 or Y being zero as being unlikely.
2794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2795 Likewise.
2796
41f49342
CD
27972013-02-20 Carlos O'Donell <carlos@redhat.com>
2798
2799 * manual/nss.texi (System Databases and Name Service Switch):
2800 Remove frobnicate @pxref.
2801
50022a93
TS
28022013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2803
2804 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2805 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2806
08cbd996
PM
28072013-02-20 Petr Machata <pmachata@redhat.com>
2808
2809 * elf/elf.h (R_ARM_TARGET1): New macro.
2810 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2811 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2812 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2813 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2814 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2815 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2816 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2817 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2818 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2819 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2820 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2821 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2822 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2823 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2824 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2825 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2826 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2827 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2828 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2829 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2830 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2831 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2832 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2833 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2834 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2835 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2836 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2837 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2838 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2839 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2840 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2841 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2842 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2843 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2844 (R_ARM_THM_GOT_BREL12): Likewise.
2845 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2846 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2847 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2848 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2849 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2850 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2851 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2852 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2853 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2854
c7b275d6
TS
28552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2856
2857 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2858 __attribute_used__ to __attribute__ ((unused)).
2859
20cd7fb3
SP
28602013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2861
2862 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2863 powerpc mpa.c.
2864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2865 comment formatting.
2866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2867
92945b52
JM
28682013-02-19 Joseph Myers <joseph@codesourcery.com>
2869
2870 [BZ #13550]
2871 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2872 Remove macro.
2873 (ENTER): Remove both macro definitions.
2874 (LEAVE): Likewise.
2875 (CHECK_BOUNDS_LOW): Likewise.
2876 (CHECK_BOUNDS_HIGH): Likewise.
2877 (CHECK_BOUNDS_BOTH): Likewise.
2878 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2879 (RETURN_BOUNDED_POINTER): Likewise.
2880 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2881 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2882 (POP_ERRNO_LOCATION_RETURN): Likewise.
2883 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2884 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2885 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2886 macros.
2887 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2888 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2889 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2890 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2891 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2892 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2893 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2894 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2895 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2896 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2897 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2898 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2899 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2900 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2901 removed macros.
2902 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2903 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2904 macros.
2905 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2906 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2907 * sysdeps/i386/i586/memset.S (memset): Likewise.
2908 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2909 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2910 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2911 macros.
2912 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2913 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2914 Change uses of L(2) to L(out).
2915 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2916 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2917 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2918 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2919 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2920 removed macros.
2921 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2922 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2923 macros.
2924 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2925 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2926 (RETURN): Do not use macro LEAVE.
2927 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2928 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2929 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2930 * sysdeps/i386/i686/memset.S (memset): Likewise.
2931 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2932 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2933 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2934 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2935 Likewise.
2936 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2937 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2938 L(1_2) and L(1_3) into L(1).
2939 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2940 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2941 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2942 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2943 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2944 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2945 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2946 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2947 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2948 macros.
2949 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2950 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2951 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2952 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2953 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2954 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2955 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2956 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2957 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2958 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2959 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2960 * sysdeps/i386/strspn.S (strspn): Likewise.
2961 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2962 conditional code.
2963 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2964 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2965 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2966 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2967 L(1_3) into L(1_1).
2968 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2969 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2970 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2971 macros.
2972 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2973
2389741a
JJ
29742013-02-19 Jakub Jelinek <jakub@redhat.com>
2975
2976 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2977 macro.
2978
2016b3cd
SP
29792013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2980
e4f22324
SP
2981 * math/atest-exp.c (exp_mpn): Remove ROUND.
2982 * math/atest-exp2.c (exp_mpn): Likewise.
2983 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2984
2016b3cd
SP
2985 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2986 * stdlib/tst-tls-atexit-lib.c: Likewise.
2987 * stdlib/tst-tls-atexit.c: Likewise.
2988
4be9b544
MF
29892013-02-18 Mike Frysinger <vapier@gentoo.org>
2990
2991 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2992 and __attribute_alloc_size__.
2993
2f62b9ee
MF
29942013-02-18 Mike Frysinger <vapier@gentoo.org>
2995
2996 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2997 __attribute_alloc_size__.
2998 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2999 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3000
6ff444c4
MF
30012013-02-18 Mike Frysinger <vapier@gentoo.org>
3002
3003 * include/programs/xmalloc.h: New file.
3004 * catgets/gencat.c: Include it.
3005 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3006 * elf/pldd.c: Likewise.
3007 * iconv/iconv_charmap.c: Likewise.
3008 * iconv/iconvconfig.c: Likewise.
3009 * iconv/strtab.c: Likewise.
3010 * locale/programs/locale.c: Likewise.
3011 * locale/programs/localedef.h: Likewise.
3012 * locale/programs/simple-hash.c: Likewise.
3013 * nscd/nscd.h: Likewise.
3014 * nss/makedb.c: Likewise.
3015 * sysdeps/generic/ldconfig.h: Likewise.
3016
be179c8a
SP
30172013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3018
ba384f6e
SP
3019 * Versions.def: Add GLIBC_2.18.
3020 * include/link.h (struct link_map): New member l_tls_dtor_count.
3021 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3022 (__call_tls_dtors): Likewise.
3023 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3024 __cxa_thread_atexit_impl.
3025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3026 Likewise.
3027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3028 Likewise.
3029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3030 Likewise.
3031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3032 Likewise.
3033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3035 Likewise.
3036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3037 Likewise.
3038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3040 Likewise.
3041 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3042 (tests): Add test case tst-tls-atexit.
3043 (modules-names): Add shared library for tst-tls-atexit.
3044 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3045 (GLIBC_PRIVATE): Add __call_tls_dtors.
3046 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3047 for libstdc++.
3048 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3049 * stdlib/tst-tls-atexit.c: New test case.
3050 * stdlib/tst-tls-atexit-lib.c: New test case.
3051
ffaa74cf 3052 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3053
be179c8a
SP
3054 * elf/Versions (ld): Add _dl_find_dso_for_object.
3055 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3056 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3057 (dl_open_worker): Use _dl_find_dso_for_object.
3058 * elf/dl-sym.c (do_sym): Likewise.
3059 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3060
f78b5caa
AK
30612013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3062
3063 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3064 Syntactic changes only.
3065 (_dl_runtime_profile): Do a tail-call to the resolved function.
3066
29691210
JM
30672013-02-17 Joseph Myers <joseph@codesourcery.com>
3068
3069 [BZ #13550]
3070 * sysdeps/x86_64/bp-asm.h: Remove file.
3071 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3072 <bp-sym.h> and <bp-asm.h>.
3073 (__clone): Do not use BP_SYM.
3074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3075 <bp-sym.h> and <bp-asm.h>.
3076 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3077 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3078 "bp-asm.h".
3079 (_setjmp): Do not use BP_SYM.
3080 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3081 "bp-asm.h".
3082 (setjmp): Do not use BP_SYM.
3083 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3084 libc_hidden_def.
3085 (mempcpy): Do not use BP_SYM in weak_alias.
3086 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3087 "bp-asm.h".
3088 (strchr): Do not use BP_SYM.
3089 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3090 "bp-asm.h".
3091 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3092 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3093 (_start): Do not use BP_SYM.
3094 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3095 "bp-asm.h".
3096 (strcat): Do not use BP_SYM.
3097 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3098 "bp-asm.h".
3099 (STRCMP): Do not use BP_SYM.
3100 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3101 "bp-asm.h".
3102 (STRCPY): Do not use BP_SYM.
3103 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3104 "bp-asm.h".
3105 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3106 "bp-asm.h".
3107 (FUNCTION): Do not use BP_SYM.
3108 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3109 weak_alias.
3110 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3111
f238fd19
AJ
31122013-02-17 Andreas Jaeger <aj@suse.de>
3113
3114 * time/Versions: Sort entries.
3115 * string/Versions: Likewise.
3116 * resolv/Versions: Likewise.
3117 * posix/Versions: Likewise.
3118 * iconv/Versions: Likewise.
3119 * elf/Versions: Likewise.
3120 * wcsmbs/Versions: Likewise.
3121
bd07f23c 31222013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3123
22af19f9
SP
3124 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3125 loop termination condition.
3126
4709fe76
SP
3127 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3128 variable to calculate EZ.
3129 (__sqr): Likewise.
2d0e0f29
SP
3130
3131 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3132 the lower precision input.
3133
daaa7713
JM
31342013-02-15 Joseph Myers <joseph@codesourcery.com>
3135
3136 [BZ #13550]
3137 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3138 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3139 (run-via-rtld-prefix): Do not handle %-bp tests.
3140 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3141 (all-object-suffixes): Remove .ob.
3142 (bppfx): Remove variable.
3143 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3144 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3145 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3146 [$(build-bounded) = yes] (libtype.ob): Likewise.
3147 * Makerules (elide-routines.ob): Remove variable.
3148 (do-tests-clean): Do not handle *-bp.out.
3149 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3150 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3151 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3152 (tests): Do not include $(tests-bp.out).
3153 (xtests): Do not include $(xtests-bp.out).
3154 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3155 [$(build-bounded) = yes] ($(addprefix
3156 $(objpfx),$(binaries-bounded))): Remove rule.
3157 ($(objpfx)%-bp.out): Remove rule.
3158 * config.make.in (build-bounded): Remove variable.
3159 * crypt/Makefile [$(build-bounded) = yes]
3160 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3161 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3162 append to variable.
3163 [$(build-bounded) = yes] (install-lib): Likewise.
3164 [$(build-bounded) = yes] (generated): Likewise.
3165 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3166 Remove rule.
3167 * intl/Makefile [$(build-bounded) = yes]
3168 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3169 * math/Makefile [$(build-bounded) = yes]
3170 ($(tests:%=$(objpfx)%-bp): Likewise.
3171 * misc/Makefile [$(build-bounded) = yes]
3172 ($(objpfx)tst-tsearch-bp): Likewise.
3173 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3174 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3175 Remove dependency.
3176 * string/Makefile (o-objects.ob): Remove variable.
3177 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3178 (CFLAGS-.ob): Remove variable.
3179 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3180 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3181 both definitions of variable.
3182 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3183 (ASFLAGS-.ob): Remove variable.
3184
e97ed6dd
JM
31852013-02-14 Joseph Myers <joseph@codesourcery.com>
3186
2bdd4ca6
JM
3187 [BZ #13550]
3188 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3189 Remove __BOUNDED_POINTERS__ from condition.
3190 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3191 * string/bits/string2.h [!__NO_STRING_INLINES &&
3192 !__BOUNDED_POINTERS__]: Likewise.
3193 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3194 Likewise.
3195 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3196 Remove conditional code.
3197 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3198 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3199 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3200 condition.
3201
e97ed6dd
JM
3202 [BZ #13550]
3203 * csu/libc-start.c: Do not include <bp-sym.h>.
3204 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3205 * elf/dl-open.c: Do not include <bp-sym.h>.
3206 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3207 * math/fegetenv.c: Do not include <bp-sym.h>.
3208 (fegetenv): Do not use BP_SYM in versioned symbols.
3209 * nptl/sysdeps/pthread/bits/libc-lockP.h
3210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3211 <bp-sym.h>.
3212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3213 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3215 (__pthread_mutex_destroy): Likewise.
3216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3217 (__pthread_mutex_lock): Likewise.
3218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3219 (__pthread_mutex_trylock): Likewise.
3220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3221 (__pthread_mutex_unlock): Likewise.
3222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3223 (__pthread_mutexattr_init): Likewise.
3224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3225 (__pthread_mutexattr_destroy): Likewise.
3226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3227 (__pthread_mutexattr_settype): Likewise.
3228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3229 (__pthread_rwlock_init): Likewise.
3230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3231 (__pthread_rwlock_destroy): Likewise.
3232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3233 (__pthread_rwlock_rdlock): Likewise.
3234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3235 (__pthread_rwlock_tryrdlock): Likewise.
3236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3237 (__pthread_rwlock_wrlock): Likewise.
3238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3239 (__pthread_rwlock_trywrlock): Likewise.
3240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3241 (__pthread_rwlock_unlock): Likewise.
3242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3243 (__pthread_key_create): Likewise.
3244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3245 (__pthread_setspecific): Likewise.
3246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3247 (__pthread_getspecific): Likewise.
3248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3249 Likewise.
3250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3251 (_pthread_cleanup_push_defer): Likewise.
3252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3253 (_pthread_cleanup_pop_restore): Likewise.
3254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3255 (pthread_setcancelstate): Likewise.
3256 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3257 <bp-sym.h>.
3258 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3259 (memchr): Do not use BP_SYM in weak_alias.
3260 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3261 (fegetenv): Do not use BP_SYM in versioned symbols.
3262 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3263 (fesetenv): Do not use BP_SYM in versioned symbols.
3264 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3265 (feupdateenv): Do not use BP_SYM in versioned symbols.
3266 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3267 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3268 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3269 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3270 (open64): Do not use BP_SYM in weak_alias.
3271 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3272 (fegetenv): Do not use BP_SYM in versioned symbols.
3273 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3274 (fesetenv): Do not use BP_SYM in versioned symbols.
3275 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3276 (feupdateenv): Do not use BP_SYM in versioned symbols.
3277 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3278 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3279 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3280 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3281 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3282 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3283 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3284 <bp-sym.h>.
3285 (__libc_start_main): Do not use BP_SYM.
3286
d6752ccd
SP
32872013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3288
cb57ce60
SP
3289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3290 redundant return line.
3291 (norm): Likewise.
3292 (denorm): Likewise.
3293 (dbl_mp): Likewise.
3294 (sub_magnitudes): Likewise.
3295 (__add): Likewise.
3296 (__sub): Likewise.
3297 (__mul): Likewise.
3298 (__inv): Likewise.
3299 (__dvd): Likewise.
3300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3301 (norm): Likewise.
3302 (denorm): Likewise.
3303 (dbl_mp): Likewise.
3304 (sub_magnitudes): Likewise.
3305 (__add): Likewise.
3306 (__sub): Likewise.
3307 (__mul): Likewise.
3308 (__inv): Likewise.
3309 (__dvd): Likewise.
3310
f414520d
SP
3311 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3312 instead of __mul.
3313 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3314 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3315 (cc32): Likewise.
3316
d6752ccd
SP
3317 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3318 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3320 of __mul for squares.
3321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3322 function
3323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3324 Likewise.
3325 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3326 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3327
70d9946a
JM
33282013-02-13 Joseph Myers <joseph@codesourcery.com>
3329
3330 [BZ #13550]
3331 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3332 code.
3333 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3334 prototype or function definition. Rename ubp_* variables and
3335 parameters. Remove argv definitions conditional on
3336 [__BOUNDED_POINTERS__].
3337 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3338 * elf/dl-runtime.c (_dl_fixup): Likewise.
3339 * include/set-hooks.h (RUN_HOOK): Likewise.
3340 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3341 definition.
3342 * string/strcpy.c (strcpy): Do not use __unbounded.
3343 * sysdeps/generic/frame.h (struct layout): Likewise.
3344 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3345 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3346 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3347 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3348 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3349 (__backtrace): Likewise.
3350 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3351 use __ptrvalue.
3352 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3353 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3354 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3355 Likewise.
3356 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3357 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3358 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3359 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3360 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3361 Do not use __unbounded.
3362 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3363 Rename __unboundedrlimits parameter to rlimits in prototype.
3364 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3365 Do not use __unbounded.
3366 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3367 not use __ptrvalue.
3368 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3369 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3370 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3371 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3372 __ptrvalue or __unbounded.
3373 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3374 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3375 use __unbounded.
3376 (__new_msgctl): Do not use __ptrvalue.
3377 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3378 __unbounded.
3379 (__libc_msgrcv): Do not use __ptrvalue.
3380 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3381 startup_info): Do not use __unbounded.
3382 (__libc_start_main): Likewise. Rename ubp_* variables and
3383 parameters. Remove argv definitions conditional on
3384 [__BOUNDED_POINTERS__].
3385 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3386 __ptrvalue.
3387 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3388 use __unbounded.
3389 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3390 or __ptrvalue.
3391 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3392 use __unbounded.
3393 (__new_shmctl): Do not use __ptrvalue.
3394 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3395 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3396 Likewise.
3397 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3398 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3399 (__libc_sigaction): Likewise.
3400 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3401 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3402 Likewise.
3403 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3404
cc7834d6
OB
34052013-02-13 Ondřej Bílka <neleai@seznam.cz>
3406
ffb1ec7b 3407 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3408
3409 * string/mempcpy.c: Implement by calling memcpy.
3410
bdf02814
SP
34112013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3412
c2af38aa
SP
3413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3414
4e92d59e
SP
3415 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3416 evaluation.
3417
909279a5
SP
3418 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3419 values in the mantissa.
3420
bdf02814
SP
3421 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3422 minimize writes to Z.
3423 (sub_magnitudes): Simplify code a bit.
3424
cd525923
RM
34252013-02-12 Roland McGrath <roland@hack.frob.com>
3426
3427 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3428 from the message. The linker prefixes all warnings with that already.
3429
7e2f0d2d
AS
34302013-02-12 Andreas Schwab <schwab@suse.de>
3431
a445af0b
AS
3432 [BZ #15078]
3433 * posix/regexec.c (extend_buffers): Add parameter min_len.
3434 (check_matching): Pass minimum needed length.
3435 (clean_state_log_if_needed): Likewise.
3436 (get_subexp): Likewise.
3437 * posix/Makefile (tests): Add bug-regex34.
3438 (bug-regex34-ENV): Define.
3439 * posix/bug-regex34.c: New file.
3440
7e2f0d2d
AS
3441 [BZ #11561]
3442 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3443 elements compare against the byte sequence of it, not its name.
3444 * posix/Makefile (tests): Add bug-regex35.
3445 (bug-regex35-ENV): Define.
3446 * posix/bug-regex35.c: New file.
3447
a175b684
TV
34482013-02-11 Tom de Vries <tom@codesourcery.com>
3449
3450 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3451 comment.
3452 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3453 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3454 (CHECK_EOL): Add undef.
3455
310998fe 34562013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3457
3458 * bits/stdlib-bsearch.h: New file.
3459 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3460 * stdlib/stdlib.h: Likewise.
41eda41d 3461
8ded91fb
RM
34622013-02-11 Roland McGrath <roland@hack.frob.com>
3463
3464 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3465 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3466 declaration.
3467 * manual/search.texi (Array Search Function): Add missing const in
3468 lfind prototype.
3469 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3470 declaration to use rlim_t.
3471 (Basic Scheduling Functions): Remove erroneous const from
3472 sched_getparam prototype. Remove erroneous * from
3473 sched_get_priority_max and sched_get_priority_min prototypes.
3474 (Resource Usage): Fix summary @comment on vtimes to refer to
3475 sys/vtimes.h rather than vtimes.h.
3476 Add missing *s in vtimes prototype.
3477 (Limits on Resources): Fix ulimit prototype to return long int.
3478 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3479 prototypes to use long int rather than double.
3480 (BSD Random): Fix initstate and setstate to use char *, not void *.
3481 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3482 prototype to make second argument 'struct aiocb64 *const[]'.
3483 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3484 (Status of AIO Operations): Remove erroneous const in aio_return and
3485 aio_return64 prototypes.
3486 (Synchronizing I/O): Fix sync prototype to return void.
3487 * manual/startup.texi (Suboptions): Remove an erroneous const in
3488 getsubopt prototype.
3489 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3490 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3491 use size_t rather than int.
3492 (Scanning All Users): Likewise for getpwent_r.
3493 (Setting Groups): Add missing const to setgroups prototype.
3494 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3495 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3496 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3497 'const void *' rather than 'const char *'.
3498 (Host Address Functions): Likewise for inet_ntop.
3499 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3500 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3501 ssize_t for return value.
3502 (Sending Data): Likewise for send, sendto, sendmsg.
3503 (Socket Option Functions): Add a missing const in setsockopt prototype.
3504 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3505 use wchar_t for the argument.
3506 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3507 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3508 take no arguments.
3509 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3510 double/float/long double for second argument.
3511 Fix return types of significand, significandf, significandl.
3512 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3513 argument in fchmod prototype.
3514 (File Owner): Use uid_t and gid_t in fchown prototype.
3515 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3516 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3517 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3518 use 'const struct dirent **' as argument types to CMP function pointer
3519 argument.
3520 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3521 (File Times): Fix summary magic @comment for struct utimbuf and utime
3522 to refer to utime.h, not time.h.
3523 * manual/string.texi (Argz Functions): Add missing const in
3524 argz_extract and argz_next prototypes.
3525 (Finding Tokens in a String): Likewise for basename.
3526 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3527 (Copying and Concatenation): Fix typo in wmemmove prototype.
3528 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3529 (Signal Stack): Remove erroneous const in sigstack prototype.
3530 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3531 prototype.
3532 (Simple Calendar Time): Likewise for stime.
3533 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3534 prototype.
3535 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3536 say sys/sysctl.h instead.
3537 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3538 and vsyslog prototypes.
3539
fe77fe6d
TV
35402013-02-11 Tom de Vries <tom@codesourcery.com>
3541
3542 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3543 Remove.
3544
3a09b620
RM
35452013-02-11 Roland McGrath <roland@hack.frob.com>
3546
3547 * misc/sys/mman.h: Fix typo in mremap comment.
3548
550a0b89
RM
35492013-02-08 Roland McGrath <roland@hack.frob.com>
3550
3551 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3552 the '\0' terminator.
3553
a2da1673
JM
35542013-02-08 Joseph Myers <joseph@codesourcery.com>
3555
3556 [BZ #13550]
3557 * debug/segfault.c: Don't include <bp-checks.h>.
3558 * sysdeps/generic/bp-checks.h: Remove file.
3559 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3560 (__GETDENTS): Don't use CHECK_N.
3561 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3562 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3563 (__getgroups): Don't use CHECK_N.
3564 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3565 (setgroups): Don't use CHECK_N.
3566 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3567 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3568 (__libc_msgrcv): Don't use CHECK_N.
3569 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3570 (__libc_msgsnd): Don't use CHECK_N.
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3572 <bp-checks.h>.
3573 (__libc_pread): Don't use CHECK_N.
3574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3575 include <bp-checks.h>.
3576 (__libc_pread64): Don't use CHECK_N.
3577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3578 include <bp-checks.h>.
3579 (__libc_pwrite): Don't use CHECK_N.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3581 include <bp-checks.h>.
3582 (__libc_pwrite64): Don't use CHECK_N.
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3584 <bp-checks.h>.
3585 (__libc_pread): Don't use CHECK_N.
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3587 include <bp-checks.h>.
3588 (__libc_pread64): Don't use CHECK_N.
3589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3590 include <bp-checks.h>.
3591 (__libc_pwrite): Don't use CHECK_N.
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3593 include <bp-checks.h>.
3594 (__libc_pwrite64): Don't use CHECK_N.
3595 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3596 (do_pread): Don't use CHECK_N.
3597 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3598 (do_pread64): Don't use CHECK_N.
3599 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3600 (do_pwrite): Don't use CHECK_N.
3601 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3602 (do_pwrite64): Don't use CHECK_N.
3603 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3604 (__libc_readv): Don't use CHECK_N.
3605 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3606 (semop): Don't use CHECK_N.
3607 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3608 <bp-checks.h>.
3609 (semtimedop): Don't use CHECK_N.
3610 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3611 (__libc_pread): Don't use CHECK_N.
3612 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3613 <bp-checks.h>.
3614 (__libc_pread64): Don't use CHECK_N.
3615 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3616 <bp-checks.h>.
3617 (__libc_pwrite): Don't use CHECK_N.
3618 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3619 <bp-checks.h>.
3620 (__libc_pwrite64): Don't use CHECK_N.
3621 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3622 <bp-checks.h>.
3623 (__libc_msgrcv): Don't use CHECK_N.
3624 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3625 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3626 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3627 (__libc_writev): Don't use CHECK_N.
3628
b84660a8
RM
36292013-02-08 Roland McGrath <roland@hack.frob.com>
3630
7f3e75f8
RM
3631 * string/strcpy.c: Removed unused variable.
3632
b84660a8
RM
3633 * Makeconfig (+sysdep-includes): Define with := rather than =.
3634 Use an existing include/ subdir of each sysdeps dir before it.
3635
471514d3
CD
36362013-02-08 Carlos O'Donell <carlos@redhat.com>
3637
3638 * nscd/connection.c (register_traced_file): Comment function.
3639 [HAVE_INOTIFY] (union __inev): Define.
3640 [HAVE_INOTIFY] (inotify_check_files): New function.
3641 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3642 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3643 clear_db_cache.
3644 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3645
b2d3c3be
CD
36462013-02-08 Carlos O'Donell <carlos@redhat.com>
3647
3648 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3649 loaded if not already and that a failure is permanent.
3650
b39949d2
CD
36512013-02-08 Carlos O'Donell <carlos@redhat.com>
3652
ddacd1db 3653 [BZ #15006]
b39949d2
CD
3654 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3655 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3656
b2c9eff4
JM
36572013-02-08 Joseph Myers <joseph@codesourcery.com>
3658
f3aae3f3
JM
3659 [BZ #13550]
3660 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3661 (CHECK_1_NULL_OK): Likewise.
3662 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3663 (__fxstat): Do not use CHECK_1.
3664 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3665 <bp-checks.h>.
3666 (___fxstat64): Do not use CHECK_1.
3667 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3668 <bp-checks.h>.
3669 (__fxstatat): Do not use CHECK_1.
3670 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3671 <bp-checks.h>.
3672 (__fxstatat64): Do not use CHECK_1.
3673 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3674 <bp-checks.h>.
3675 (__fxstat): Do not use CHECK_1.
3676 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3677 <bp-checks.h>.
3678 (__fxstatat): Do not use CHECK_1.
3679 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3680 <bp-checks.h>.
3681 (__getresgid): Do not use CHECK_1.
3682 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3683 <bp-checks.h>.
3684 (__getresuid): Do not use CHECK_1.
3685 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3686 <bp-checks.h>.
3687 (__lxstat): Do not use CHECK_1.
3688 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3689 <bp-checks.h>.
3690 (__old_msgctl): Do not use CHECK_1.
3691 (__new_msgctl): Likewise.
3692 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3693 <bp-checks.h>.
3694 (__new_setrlimit): Do not use CHECK_1.
3695 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3696 <bp-checks.h>.
3697 (__old_shmctl): Do not use CHECK_1.
3698 (__new_shmctl): Likewise.
3699 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3700 <bp-checks.h>.
3701 (__xstat): Do not use CHECK_1.
3702 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3703 (__lxstat): Do not use CHECK_1.
3704 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3705 <bp-checks.h>.
3706 (___lxstat64): Do not use CHECK_1.
3707 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3708 (__old_msgctl): Do not use CHECK_1.
3709 (__new_msgctl): Likewise.
3710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3711 <bp-checks.h>.
3712 (__gettimeofday): Do not use CHECK_1.
3713 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3714 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3715 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3716 <bp-checks.h>.
3717 (__gettimeofday): Do not use CHECK_1.
3718 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3719 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3720 (__new_shmctl): Do not use CHECK_1.
3721 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3722 <bp-checks.h>.
3723 (do_sigtimedwait): Do not use CHECK_1.
3724 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3725 <bp-checks.h>.
3726 (do_sigwaitinfo): Do not use CHECK_1.
3727 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3728 <bp-checks.h>.
3729 (msgctl): Do not use CHECK_1.
3730 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3731 <bp-checks.h>.
3732 (shmctl): Do not use CHECK_1.
3733 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3734 (ustat): Do not use CHECK_1.
3735 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3736 <bp-checks.h>.
3737 (__fxstat): Do not use CHECK_1.
3738 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3739 <bp-checks.h>.
3740 (__fxstatat): Do not use CHECK_1.
3741 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3742 <bp-checks.h>.
3743 (__lxstat): Do not use CHECK_1.
3744 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3745 <bp-checks.h>.
3746 (__xstat): Do not use CHECK_1.
3747 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3748 (__xstat): Do not use CHECK_1.
3749 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3750 (___xstat64): Do not use CHECK_1.
3751
b2c9eff4
JM
3752 [BZ #13550]
3753 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3754 definitions.
3755 (CHECK_BOUNDS_HIGH): Likewise.
3756 * string/strcpy.c: Do not include <bp-checks.h>.
3757 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3758
f1d70dad
RM
37592013-02-07 Roland McGrath <roland@hack.frob.com>
3760
3761 * nscd/nscd-client.h (__nscd_drop_map_ref):
3762 Add __attribute__ ((unused)).
3763 * nis/nss-nisplus.h (niserr2nss): Likewise.
3764
3765 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3766 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3767
3768 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3769 Remove inline keyword.
3770 * include/rounding-mode.h (round_away): Likewise.
3771 * libio/wfileops.c (adjust_wide_data): Likewise.
3772 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3773 (__m128i_strloadu_tolower): Likewise.
3774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3775 (__m128i_strloadu_tolower): Likewise.
3776 * time/mktime.c (ydhms_diff): Likewise.
3777 * locale/elem-hash.h (elem_hash): Likewise.
3778 * locale/setlocale.c (setdata): Likewise.
3779 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3780 (re_string_wchar_at): Likewise.
3781 (bitset_not, bitset_merge, bitset_mask): Likewise.
3782 [!(__GNUC__ > 3)] (inline): Remove macro.
3783 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3784 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3785 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3786 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3787 * string/memcmp.c (memcmp_bytes): Likewise.
3788 * locale/programs/locarchive.c (compute_hashval): Likewise.
3789 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3790 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3791 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3792 * nss/getent.c (print_rpc, print_protocols): Likewise.
3793 (print_passwd, print_group, print_aliases): Likewise.
3794 * nis/nss-nisplus.h (niserr2nss): Likewise.
3795 * nscd/connections.c (restart_p): Likewise.
3796 Change return type to bool.
3797
eab55bfb
RM
37982013-02-05 Roland McGrath <roland@hack.frob.com>
3799
7bd642f5
RM
3800 * Makeconfig (all-Depend-files): Add existing
3801 $(sorted-subdirs:=/Depend) files.
3802 (all-subdirs): Remove nss.
3803 * sysdeps/unix/inet/Subdirs: Add it here instead.
3804 * hesiod/Depend: New file.
3805
573c29b2
RM
3806 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3807 instead of calling alloca.
3808
b2e25af0
RM
3809 * io/lseek.c (__lseek): Rename to __libc_lseek.
3810 Define __lseek as an alias.
3811
eab55bfb
RM
3812 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3813
9a0d1941
CD
38142013-02-04 Carlos O'Donell <carlos@redhat.com>
3815
3816 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3817 else clause and remove check for non-standard endianness.
3818
b83bbec4
DM
38192013-02-04 David S. Miller <davem@davemloft.net>
3820
3821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3822
6277fdab
JM
38232013-02-04 Joseph Myers <joseph@codesourcery.com>
3824
3825 [BZ #13550]
3826 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3827 (__ubp_memchr): Remove prototype.
3828 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3829 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3830 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3831 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3832 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3833 Remove alias.
3834 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3835 (__ubp_memchr): Likewise.
3836 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3837 (__ubp_memchr): Likewise.
3838 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3839 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3840 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3841 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3842 CHECK_STRING.
3843 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3844 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3845 (__getcwd): Do not use CHECK_STRING.
3846 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3847 <bp-checks.h>.
3848 (__real_chown): Do not use CHECK_STRING.
3849 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3850 <bp-checks.h>.
3851 (fchownat): Do not use CHECK_STRING.
3852 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3853 CHECK_STRING.
3854 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3855 <bp-checks.h>.
3856 (__lchown): Do not use CHECK_STRING.
3857 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3858 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3859 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3860 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3862 include <bp-checks.h>.
3863 (truncate64): Do not use CHECK_STRING.
3864 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3865 <bp-checks.h>.
3866 (__real_chown): Do not use CHECK_STRING.
3867 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3868 <bp-checks.h>.
3869 (__lchown): Do not use CHECK_STRING.
3870 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3871 <bp-checks.h>.
3872 (__chown): Do not use CHECK_STRING.
3873 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3874 <bp-checks.h>.
3875 (truncate64): Do not use CHECK_STRING.
3876 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3877 Likewise.
3878 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3879 (__xmknod): Do not use CHECK_STRING.
3880 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3881 <bp-checks.h>.
3882 (__xmknodat): Do not use CHECK_STRING.
3883 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3884 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3885
903ae060
AS
38862013-02-04 Andreas Schwab <schwab@suse.de>
3887
3888 [BZ #14142]
3889 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3890 * include/netdb.h: Likewise for h_errno.
3891 * elf/tst-stackguard1.c: Include <tls.h>.
3892
542f9466
JK
38932013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3894
3895 * elf/link.h (struct link_map): Extend the l_addr comment.
3896 * include/link.h (struct link_map): Likewise.
3897
e782a927
JM
38982013-02-01 Joseph Myers <joseph@codesourcery.com>
3899
3900 [BZ #13550]
3901 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3902 (BOUNDED_1): Remove macro.
3903 * debug/backtrace.c: Don't include <bp-checks.h>.
3904 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3905 (__backtrace): Likewise.
3906 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3907 <bp-checks.h>.
3908 (__backtrace): Don't use BOUNDED_1.
3909 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3910 <bp-checks.h>.
3911 (__backtrace): Don't use BOUNDED_1.
3912 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3913 (__backtrace): Don't use BOUNDED_1.
3914 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3915 (shmat): Don't use BOUNDED_N.
3916
8cf28c5e
JM
39172013-01-31 Joseph Myers <joseph@codesourcery.com>
3918
3a7ac8a0
JM
3919 [BZ #13550]
3920 * sysdeps/generic/bp-start.h: Remove file.
3921 * csu/libc-start.c: Don't include <bp-start.h>.
3922 (LIBC_START_MAIN): Set up __environ directly instead of using
3923 INIT_ARGV_and_ENVIRON.
3924 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3925 <bp-start.h>.
3926
f3499f95
JM
3927 [BZ #13550]
3928 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3929 definitions.
3930 (CHECK_FCNTL): Likewise.
3931 (CHECK_N_PAGES): Likewise.
3932
32a45bea
JM
3933 [BZ #13550]
3934 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3935 definitions.
3936 (CHECK_SIGSET_NULL_OK): Likewise.
3937 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3938 <bp-checks.h>.
3939 (sigpending): Don't use CHECK_SIGSET.
3940 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3941 <bp-checks.h>.
3942 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3943 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3944 <bp-checks.h>.
3945 (do_sigsuspend): Don't use CHECK_SIGSET.
3946 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3947 use CHECK_SIGSET.
3948 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3949 (do_sigwait): Don't use CHECK_SIGSET.
3950 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3951 use CHECK_SIGSET.
3952 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3953 include <bp-checks.h>.
3954 (sigpending): Don't use CHECK_SIGSET.
3955 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3956 include <bp-checks.h>.
3957 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3958 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3959 <bp-checks.h>.
3960 (sigpending): Don't use CHECK_SIGSET.
3961 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3962 <bp-checks.h>.
3963 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3964
2e8a5c8c
JM
3965 [BZ #13550]
3966 * sysdeps/generic/bp-semctl.h: Remove file.
3967 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3968 <bp-checks.h> and <bp-semctl.h>.
3969 (__old_semctl): Don't use CHECK_SEMCTL.
3970 (__new_semctl): Likewise.
3971 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3972 and <bp-semctl.h>.
3973 (__old_semctl): Don't use CHECK_SEMCTL.
3974 (__new_semctl): Likewise.
3975 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3976 <bp-checks.h> and <bp-semctl.h>.
3977 (__old_semctl): Don't use CHECK_SEMCTL.
3978 (__new_semctl): Likewise.
3979 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3980 <bp-checks.h> and <bp-semctl.h>.
3981 (semctl): Don't use CHECK_SEMCTL.
3982
c2d54929
JM
3983 [BZ #13550]
3984 * Makerules (elide-bp-thunks): Remove variable.
3985 (elide-routines.oS): Don't use $(elide-bp-thunks).
3986 (elide-routines.os): Likewise.
3987 (elide-routines.o): Likewise.
3988 (elide-routines.op): Likewise.
3989 (elide-routines.og): Likewise.
3990 (objects): Don't use $(bp-thunks).
3991 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3992 include.
3993 (common-generated): Do not add s-proto-bp.d.
3994 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3995 (int): Likewise.
3996 (typ): Likewise.
3997 Do not generate makefile rules for bounded-pointer thunks.
3998 * sysdeps/generic/bp-thunks.h: Remove file.
3999 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4000 * sysdeps/unix/s-proto-bp.S: Likewise.
4001
8cf28c5e
JM
4002 [BZ #15062]
4003 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4004 parts of result separately when argument is not close to line from
4005 -i to i and one part of argument is small.
4006 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4007 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4008 * math/libm-test.inc (cacos_test): Add more tests.
4009 (casin_test): Likewise.
4010 (casinh_test): Likewise.
4011 * sysdeps/i386/fpu/libm-test-ulps: Update.
4012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4013
c4e33b8d
DM
40142013-01-31 David S. Miller <davem@davemloft.net>
4015
4016 * po/de.po: Update from translation team.
4017
3b60b421
MK
40182013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4019
4020 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4021
bb931195
TS
40222013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4023
b5a5da23
TS
4024 * configure.in (_AC_PROG_CC_C89): New definition.
4025 * configure: Regenerate.
4026
bb931195
TS
4027 * configure.in (AC_PROG_CPP): New definition.
4028 * configure: Regenerate.
4029
8c53a12c
JM
40302013-01-23 Joseph Myers <joseph@codesourcery.com>
4031
4032 * debug/tst-backtrace.h: New file.
4033 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4034 (ret): Remove variable.
4035 (x): Likewise.
4036 (FAIL): Remove macro.
4037 (NO_INLINE): Likewise.
4038 (fn1): Use match function instead of strstr.
4039 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4040 (ret): Remove variable.
4041 (x): Likewise.
4042 (FAIL): Remove macro.
4043 (NO_INLINE): Likewise.
4044 (fn): Use match function instead of strstr.
4045 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4046 (ret): Remove variable.
4047 (x): Likewise.
4048 (FAIL): Remove macro.
4049 (NO_INLINE): Likewise.
4050 (handle_signal): Use match function instead of strstr.
4051 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4052 (ret): Remove variable.
4053 (x): Likewise.
4054 (FAIL): Remove macro.
4055 (NO_INLINE): Likewise.
4056 (handle_signal): Use match function instead of strstr.
4057
4858fa2a
RM
40582013-01-23 Roland McGrath <roland@hack.frob.com>
4059
4060 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4061
bae8e7f5
DM
40622013-01-23 David S. Miller <davem@davemloft.net>
4063
4064 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4065 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4066 argument of CAS if possible.
4067 * sysdeps/sparc/sparc64/bits/atomic.h
4068 (__arch_compare_and_exchange_val_32_acq): Likewise.
4069 (__arch_compare_and_exchange_val_64_acq): Likewise.
4070
9cbbc4ae
PT
40712013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4072
4073 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4074 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4075 Include <limits.h>.
67b3f58c 4076 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4077
5655a0b5
AC
40782013-01-23 Adam Conrad <adconrad@0c3.net>
4079
4080 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4081 (LDFLAGS-tst-array5): Likewise.
4082
052aff95
JM
40832013-01-23 Joseph Myers <joseph@codesourcery.com>
4084
4085 [BZ #15036]
4086 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4087 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4088 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4089 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4090
7c1e01aa
DM
40912013-01-21 David S. Miller <davem@davemloft.net>
4092
4093 * sysdeps/sparc/backtrace.c: New file.
4094 * sysdeps/sparc/sparc32/backtrace.h: New file.
4095 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4096 * sysdeps/sparc/sparc64/backtrace.h: New file.
4097 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4098 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4099 -funwind-tables.
4100
ab087e0a
AS
41012013-01-21 Andreas Schwab <schwab@suse.de>
4102
4103 [BZ #15020]
4104 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4105 closed its stdout.
4106
ed689c2f
AS
41072013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4108
4109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4110 "mpa2.h".
4111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4112
31d470ac
JM
41132013-01-18 Joseph Myers <joseph@codesourcery.com>
4114 Mark Mitchell <mark@codesourcery.com>
4115 Tom de Vries <tom@codesourcery.com>
4116 Paul Pluzhnikov <ppluzhnikov@google.com>
4117
4118 * debug/tst-backtrace2.c: New file.
4119 * debug/tst-backtrace3.c: Likewise.
4120 * debug/tst-backtrace4.c: Likewise.
4121 * debug/tst-backtrace5.c: Likewise.
4122 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4123 (CFLAGS-tst-backtrace3.c): Likewise.
4124 (CFLAGS-tst-backtrace4.c): Likewise.
4125 (CFLAGS-tst-backtrace5.c): Likewise.
4126 (LDFLAGS-tst-backtrace2): Likewise.
4127 (LDFLAGS-tst-backtrace3): Likewise.
4128 (LDFLAGS-tst-backtrace4): Likewise.
4129 (LDFLAGS-tst-backtrace5): Likewise.
4130 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4131 tst-backtrace4 and tst-backtrace5.
4132
90567f30 41332013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4134 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4135
4136 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4137 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4138 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4139 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4141 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4142 "+r" and remove output regs list as redundant. Add explicit inline
4143 asm to specify register of return val to work around compiler codegen
4144 bug. Remove (int) cast on return value. Add return type parameter to
4145 use in macro so that this macro does not truncate return value for
4146 64-bit values.
4147 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4148 pass to INTERNAL_VSYSCALL_NCS.
4149 (INLINE_VSYSCALL): Add 'long int' as return type to
4150 INTERNAL_VSYSCALL_NCS macro invocation.
4151 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4152 INTERNAL_VSYSCALL_NCS macro invocation.
4153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4154
d3b9ea61
SP
41552013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4156
0b57daeb
SP
4157 [BZ #14496]
4158 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4159 Fix application of SIMD FP exception mask.
4160
caa99d06
SP
4161 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4162 mp_no from a power of two.
4163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4164 __mpexp_twomm1. Use __pow_mp.
4165
d3b9ea61
SP
4166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4167 multiplication.
4168
1dbaee3c
DM
41692013-01-17 David S. Miller <davem@davemloft.net>
4170
4171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4172
728d7b43
JM
41732013-01-17 Joseph Myers <joseph@codesourcery.com>
4174
4175 [BZ #15023]
4176 * include/complex.h: Condition contents on [!_COMPLEX_H].
4177 (__kernel_casinhf): New prototype.
4178 (__kernel_casinh): Likewise.
4179 (__kernel_casinhl): Likewise.
4180 * math/Makefile (libm_calls): Add k_casinh.
4181 * math/k_casinh.c: New file.
4182 * math/k_casinhf.c: Likewise.
4183 * math/k_casinhl.c: Likewise.
4184 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4185 finite nonzero arguments.
4186 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4187 finite nonzero arguments.
4188 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4189 finite nonzero arguments.
4190 * math/s_casinh.c: Do not include <float.h>.
4191 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4192 * math/s_casinhf.c: Do not include <float.h>.
4193 (__casinhf): Move code for finite nonzero arguments to
4194 k_casinhf.c.
4195 * math/s_casinhl.c: Do not include <float.h>.
4196 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4197 redefine.
4198 (__casinhl): Move code for finite nonzero arguments to
4199 k_casinhl.c.
4200 * math/libm-test.inc (cacos_test): Add more tests.
4201 * sysdeps/i386/fpu/libm-test-ulps: Update.
4202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4203
2a26ef3a
PT
42042013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4205
4206 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4207 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4208 [!HAVE_MREMAP]: Remove [defined linux] case.
4209 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4210
a897655d
SP
42112013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4212
4213 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4214
881ebe89 42152013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4216
4217 * elf/elf.h (R_386_SIZE32): New relocation.
4218 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4219 R_386_SIZE32.
4220 (elf_machine_rela): Likewise.
4221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4222 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4223
59981e9b
JM
42242013-01-17 Joseph Myers <joseph@codesourcery.com>
4225
4226 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4227 (FP_FAST_FMA): Do not define.
4228 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4229 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4230 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4231 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4232 !_SOFT_FLOAT]: Likewise.
4233 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4234 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4235 value.
4236 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4237 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4238 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4239 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4240 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4241 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4242 file.
4243
cfa8054f
AS
42442013-01-16 Andreas Schwab <schwab@suse.de>
4245
4246 [BZ #14327]
4247 * include/stdlib.h (__mktemp): Add declaration.
4248 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4249 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4250
dd930cc5
SP
42512013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4252
881ebe89
SP
4253 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4254 definitions.
4255 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4256 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4257 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4258 definitions here.
4259 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4260 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4261 definitions.
4262 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4263 and ONE.
4264 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4265 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4266 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4267 definitions.
4268 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4269 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4270 definitions.
4271 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4272
dd930cc5
SP
4273 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4274
c19a9f89
DM
42752013-01-15 David S. Miller <davem@davemloft.net>
4276
1aa61767
DM
4277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4278 trunc{,f} to libm-sysdep_routes.
4279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4281 file.
4282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4284 file.
4285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4286 file.
4287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4289 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4290 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4291 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4292 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4293 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4294 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4295
c42d5e98
DM
4296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4297 nearbyint{,f} to libm-sysdep_routes.
4298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4300 New file.
4301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4302 file.
4303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4304 New file.
4305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4306 file.
4307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4309 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4310 file.
4311 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4312 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4313 file.
4314 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4315 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4316 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4317
c19a9f89
DM
4318 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4319 libc_feholdexcept and libc_fesetenv.
4320
357679d2
MF
43212013-01-15 Mike Frysinger <vapier@gentoo.org>
4322
4323 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4324
65a82e3d
DM
43252013-01-14 David S. Miller <davem@davemloft.net>
4326
8b954ab9
DM
4327 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4328 (SPARC_ASM_VIS2_IFUNC): Likewise.
4329 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4331 use of 'siam' instruction.
4332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4333 Likewise.
4334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4335 Likewise.
4336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4337 Likewise.
4338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4343 file.
4344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4345 file.
4346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4347 file.
4348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4349 file.
4350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4355 new VIS2 routines.
4356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4359 Likewise.
4360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4365 routines to libm-sysdep_routines.
4366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4367
65a82e3d
DM
4368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4369 fdim/fdimf to libm-sysdep_routines.
4370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4371 file.
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4374 file.
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4378 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4379 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4380 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4381 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4382
e34ab705
SP
43832013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4384
2a91b573
SP
4385 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4386 to optimize copies.
4387
1066a534
SP
4388 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4391
e34ab705
SP
4392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4393 local variable MPTWO.
4394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4395 Likewise.
4396
aba5e596
MF
43972013-01-13 Mike Frysinger <vapier@gentoo.org>
4398
4399 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4400 GLOB_NOESCAPE.
4401
e557e9e5
MF
44022013-01-13 Mike Frysinger <vapier@gentoo.org>
4403
4404 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4405
0428cec9
MF
44062013-01-13 Mike Frysinger <vapier@gentoo.org>
4407
4408 * manual/pattern.texi (glob_t): Document gl_flags.
4409 (glob64_t): Likewise.
4410
8794a964
DM
44112013-01-11 David S. Miller <davem@davemloft.net>
4412
66438c3f
RM
4413 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4414 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4415 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4416 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4417 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4418 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4419 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4420 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4421 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4422 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4423 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4424 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4425 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4426
4ae4244d
DM
4427 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4428 sparc V9 rather than using V8 code.
4429 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4430 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4431
8794a964
DM
4432 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4433 Move to...
4434 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4435 Here.
4436
6270516e
RM
44372013-01-11 Roland McGrath <roland@hack.frob.com>
4438
4439 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4440 not in the main loop.
4441 * configure: Regenerated.
4442
6a57d931
JM
44432013-01-11 Joseph Myers <joseph@codesourcery.com>
4444
4445 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4446 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4447 to just #else.
4448 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4449 [!__GLIBC_HAVE_LONG_LONG] case.
4450 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4451 condition to just #else.
4452 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4453 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4454 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4455 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4456 unconditional.
4457 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4458 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4459 #elif condition to just #else.
4460 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4461 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4462 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4463 #elif condition to just #else.
4464
0e8529e9
SE
44652013-01-11 Steve Ellcey <sellcey@mips.com>
4466
4467 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4468 (EF_MIPS_ARCH_64): Fix value.
4469 (EF_MIPS_ARCH_32R2): New.
4470 (EF_MIPS_ARCH_64R2): New.
4471
740b3dbe
L
44722013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4473
4474 * Makeconfig (+link-pie-before-libc): New.
4475 (+link-pie-after-libc): Likewise.
4476 (+link-pie-tests): Likewise.
4477 (+link-pie): Rewritten.
4478 (link-before-libc): Remove $(config-LDFLAGS).
4479 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4480 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4481 (config-LDFLAGS): Renamed to ...
4482 (rtld-LDFLAGS): This.
4483 (rtld-tests-LDFLAGS): New macro.
4484 (link-libc-rpath-link): Likewise.
4485 (link-libc-tests-rpath-link): Likewise.
4486 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4487 (link-libc): Prepand $(link-libc-rpath-link).
4488 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4489 (test-program-prefix): New macro.
4490 (test-via-rtld-prefix): Likewise.
4491 (test-program-cmd): Likewise.
4492 (host-test-program-cmd): Likewise.
4493 * Makefile ($(common-objpfx)testrun.sh): Replace
4494 $(run-program-prefix) with $(test-program-prefix).
4495 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4496 $(rtld-LDFLAGS).
4497 ($(common-objpfx)shlib.lds): Likewise.
4498 (build-module-helper): Likewise.
4499 ($(common-objpfx)format.lds): Likewise.
4500 * Rules (binaries-pie-tests): New.
4501 (binaries-pie-notests): Likewise.
4502 (binaries-pie): Rewritten.
4503 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4504 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4505 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4506 (make-test-out): Replace $(host-built-program-cmd) with
4507 $(host-test-program-cmd).
4508 * config.make.in (build-hardcoded-path-in-tests): New variable.
4509 * configure.in (--enable-hardcoded-path-in-tests): New configure
4510 option.
4511 (hardcoded_path_in_tests): New AC_SUBST.
4512 * configure: Regenerated.
4513 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4514 $(built-program-cmd) with $(test-program-cmd).
4515 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4516 (test_program_cmd): This.
4517 * elf/Makefile ($(objpfx)order.out): Run test with
4518 $(test-program-prefix).
4519 ($(objpfx)order2.out): Likewise.
4520 ($(objpfx)tst-initorder.out): Likewise.
4521 ($(objpfx)tst-initorder2.out): Likewise.
4522 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4523 $(test-program-cmd).
4524 ($(objpfx)tst-array1-static.out): Likewise.
4525 ($(objpfx)tst-array2.out): Likewise.
4526 ($(objpfx)tst-array3.out): Likewise.
4527 ($(objpfx)tst-array4.out): Likewise.
4528 ($(objpfx)tst-array5.out): Likewise.
4529 ($(objpfx)tst-array5-static.out): Likewise.
4530 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4531 $(test-program-cmd).
4532 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4533 $(run-program-prefix) with $(test-program-prefix).
4534 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4535 (test_program_prefix): This.
4536 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4537 $(run-program-prefix) with $(test-program-prefix).
4538 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4539 (test_program_prefix): This.
4540 * iconvdata/tst-tables.sh: Likewise.
4541 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4542 $(run-program-prefix) with $(test-program-prefix).
4543 ($(objpfx)tst-translit.out): Likewise.
4544 ($(objpfx)tst-gettext2.out): Likewise.
4545 ($(objpfx)tst-gettext4.out): Likewise.
4546 ($(objpfx)tst-gettext6.out): Likewise.
4547 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4548 (test_program_prefix): This.
4549 * intl/tst-gettext2.sh: Likewise.
4550 * intl/tst-gettext4.sh Likewise.
4551 * intl/tst-gettext6.sh: Likewise.
4552 * intl/tst-translit.sh: Likewise.
4553 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4554 with $(test-program-cmd).
4555 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4556 $(run-program-prefix) with $(test-program-prefix).
4557 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4558 (test_program_prefix): This.
4559 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4560 $(run-program-prefix) with $(test-program-prefix).
4561 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4562 (test_program_prefix): This.
4563 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4564 * posix/Makefile ($(objpfx)globtest.out): Replace
4565 $(run-via-rtld-prefix) and $(test-wrapper) with
4566 $(test-program-prefix) and $(test-via-rtld-prefix).
4567 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4568 $(test-program-prefix).
4569 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4570 $(host-test-program-cmd).
4571 (tst-spawn-ARGS): Likewise.
4572 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4573 $(test-program-prefix).
4574 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4575 (test_via_rtld_prefix): This.
4576 (test_wrapper): Renamed to ...
4577 (test_program_prefix): This.
4578 (run_program_prefix): Replaced by test_program_prefix.
4579 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4580 (test_program_prefix): This.
4581 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4582 with $(host-test-program-cmd).
4583 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4584 $(run-program-prefix) with $(test-program-prefix).
4585 ($(objpfx)tst-printf.out): Likewise.
4586 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4587 $(test-program-cmd).
4588 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4589 (test_program_prefix): This.
4590 * stdio-common/tst-unbputc.sh: Likewise.
4591 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4592 $(run-program-prefix) with $(test-program-prefix).
4593 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4594 (test_program_prefix): This.
4595 * string/Makefile ($(objpfx)tst-svc.out): Replace
4596 $(built-program-cmd) with $(test-program-cmd).
4597
c6fe55cf
AJ
45982013-01-11 Andreas Jaeger <aj@suse.de>
4599
4600 [BZ #15003]
4601 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4602 value. Sync with Linux 3.7.
4603
9e6919c8
DM
46042013-01-10 David S. Miller <davem@davemloft.net>
4605
4606 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4607 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4608 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4609
1c9f1a02
RM
46102013-01-10 Roland McGrath <roland@hack.frob.com>
4611
4612 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4613 never set.
4614 * configure: Regenerated.
4615
b9de2dde
DM
46162013-01-10 David S. Miller <davem@davemloft.net>
4617
4618 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4619 sparc V9 rather than using V8 code.
4620 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4621 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4622
e7f68ef4
RM
46232013-01-10 Roland McGrath <roland@hack.frob.com>
4624
4625 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4626 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4627 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4628 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4629 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4630 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4631 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4632 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4633 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4634 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4635 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4636 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4637 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4638 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4639 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4640 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4641 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4642 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4643 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4644 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4645 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4646 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4647 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4648 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4649 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4650 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4651 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4652
5a47cc9c
DM
46532013-01-10 David S. Miller <davem@davemloft.net>
4654
4655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4656
4cf8f209
L
46572013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4658
4659 * posix/Makefile (tests-static): New variable.
4660 (tests): Add $(tests-static).
4661 (tst-exec-static-ARGS): New variable.
4662 (tst-spawn-static-ARGS): Likewise.
4663 * posix/tst-exec-static.c: New file.
4664 * posix/tst-spawn-static.c: Likewise.
4665 * posix/tst-exec.c: Support run directly.
4666 * posix/tst-spawn.c: Likewise.
4667
fed0faa1
JM
46682013-01-10 Joseph Myers <joseph@codesourcery.com>
4669
828beb13
JM
4670 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4671 long.
4672 * math/bits/mathcalls.h (llrint): Likewise.
4673 (llround): Likewise.
4674 * stdlib/stdlib.h (struct drand48_data): Likewise.
4675 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4676 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4677 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4678 Likewise.
4679 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4680 Likewise.
4681 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4682 (elf_greg_t): Likewise.
4683 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4684 (__jmp_buf): Likewise.
4685 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4686 definitions.
4687 (llrint): Likewise, for all definitions.
4688 (llrintl): Likewise.
4689
fed0faa1
JM
4690 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4691 Remove [__GNUC__] condition.
4692 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4693 condition to just [__USE_ISOC99].
4694 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4695
1a20cb20
L
46962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4697
4698 [BZ #14200]
4699 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4700 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4701 defined.
4702 (_POSIX_V6_ILP32_OFF32): Likewise.
4703 (_XBS5_ILP32_OFF32): Likewise.
4704 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4705 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4706
751b85f7
SP
47072013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4708
7490eb81
SP
4709 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4710
751b85f7
SP
4711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4712 doubles __mpexp_twomm1. Adjust usage.
4713 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4714 Remove.
4715
988197f0
AS
47162013-01-10 Andreas Schwab <schwab@suse.de>
4717
4718 [BZ #14964]
4719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4720 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4721
e83d7298
DM
47222013-01-09 David S. Miller <davem@davemloft.net>
4723
034ed64b 4724 [BZ #15003]
e83d7298
DM
4725 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4726 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4727 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4728 TCP_FASTOPEN): Define.
4729 (tcp_repair_opt): New structure.
4730 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4731 enum values.
4732 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4733 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4734 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4735 (tcp_cookie_transactions): New structure.
4736
d5e0b9bd
AB
47372013-01-09 Anton Blanchard <anton@samba.org>
4738
4739 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4740 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4741 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4742 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4743
0c07e3ea
JM
47442013-01-09 Joseph Myers <joseph@codesourcery.com>
4745
4746 * include/features.h (__USE_ANSI): Remove.
4747
232f7002
RM
47482013-01-09 Roland McGrath <roland@hack.frob.com>
4749
ad98e30c
RM
4750 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4751
232f7002
RM
4752 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4753
950c99ca
SP
47542013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4755
b5792741
SP
4756 * sysdeps/s390/fpu/libm-test-ulps: Update.
4757
47cf2278
SP
4758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4759
950c99ca
SP
4760 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4761 (__acr): Likewise.
4762 (__cpy): Likewise.
4763 (norm): Likewise.
4764 (denorm): Likewise.
4765 (__mp_dbl): Likewise.
4766 (__dbl_mp): Likewise.
4767 (add_magnitudes): Likewise.
4768 (sub_magnitudes): Likewise.
4769 (__add): Likewise.
4770 (__sub): Likewise.
4771 (__mul): Likewise.
4772 (__inv): Likewise.
4773 (__dvd): Likewise.
4774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4775 (__acr): Likewise.
4776 (__cpy): Likewise.
4777 (norm): Likewise.
4778 (denorm): Likewise.
4779 (__mp_dbl): Likewise.
4780 (__dbl_mp): Likewise.
4781 (add_magnitudes): Likewise.
4782 (sub_magnitudes): Likewise.
4783 (__add): Likewise.
4784 (__sub): Likewise.
4785 (__mul): Likewise.
4786 (__inv): Likewise.
4787 (__dvd): Likewise.
4788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4789 (__acr): Likewise.
4790 (__cpy): Likewise.
4791 (norm): Likewise.
4792 (denorm): Likewise.
4793 (__mp_dbl): Likewise.
4794 (__dbl_mp): Likewise.
4795 (add_magnitudes): Likewise.
4796 (sub_magnitudes): Likewise.
4797 (__add): Likewise.
4798 (__sub): Likewise.
4799 (__mul): Likewise.
4800 (__inv): Likewise.
4801 (__dvd): Likewise.
4802
eede9df9
JM
48032013-01-08 Joseph Myers <joseph@codesourcery.com>
4804
4805 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4806 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4807 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4808 2 && __USE_EXTERN_INLINES]: Likewise.
4809
c40ea3d9
AJ
48102013-01-08 Andreas Jaeger <aj@suse.de>
4811
4812 [BZ# 14985]
4813 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4814 Remove.
4815 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4816 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4817
2ccdea26
AB
48182013-01-07 Anton Blanchard <anton@samba.org>
4819
4820 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4821 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4822 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4823 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4824 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4825 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4826 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4827 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4829 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4830 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4831 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4832 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4833 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4834 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4835 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4836 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4837 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4838 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4839 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4840 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4841 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4842 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4843 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4844 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4845 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4846 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4847 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4849 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4850 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4852 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4853 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4854 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4855 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4856 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4857 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4858 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4860 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4862 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4863
a9708fed
JM
48642013-01-07 Joseph Myers <joseph@codesourcery.com>
4865
375607b9
JM
4866 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4867 (__MALLOC_PMT): Likewise.
4868 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4869 [__GNUC__], only on [_LIBC].
4870 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4871 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4872 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4873 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4874 forward declaration.
4875 (realloc_hook_ini): Likewise.
4876 (memalign_hook_ini): Likewise.
4877 (__libc_memalign): Do not use __MALLOC_PMT in variable
4878 declaration.
4879 (__libc_valloc): Likewise.
4880 (__libc_pvalloc): Likewise.
4881 (__libc_calloc): Likewise.
4882 (__posix_memalign): Likewise.
4883
a9708fed
JM
4884 [BZ #14996]
4885 * math/s_casinh.c: Include <float.h>.
4886 (__casinh): Do not do computation with squaring and square root
4887 for large arguments.
4888 * math/s_casinhf.c: Include <float.h>.
4889 (__casinhf): Do not do computation with squaring and square root
4890 for large arguments.
4891 * math/s_casinhl.c: Include <float.h>.
4892 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4893 (__casinhl): Do not do computation with squaring and square root
4894 for large arguments.
4895 * math/libm-test.inc (casin_test): Add more tests.
4896 (casinh_test): Likewise.
4897 * sysdeps/i386/fpu/libm-test-ulps: Update.
4898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4899
afec409a
L
49002013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4901
4902 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4903 (__x86_64_raw_data_cache_size): Likewise.
4904 (__x86_64_data_cache_size_half): Likewise.
4905 (__x86_64_raw_data_cache_size_half): Likewise.
4906 (__x86_64_shared_cache_size): Likewise.
4907 (__x86_64_raw_shared_cache_size): Likewise.
4908 (__x86_64_shared_cache_size_half): Likewise.
4909 (__x86_64_raw_shared_cache_size_half): Likewise.
4910 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4911 to ...
4912 (__x86_data_cache_size): This.
4913 (__x86_64_raw_data_cache_size): Renamed to ...
4914 (__x86_raw_data_cache_size): This.
4915 (__x86_64_data_cache_size_half): Renamed to ...
4916 (__x86_data_cache_size_half): This.
4917 (__x86_64_raw_data_cache_size_half): Renamed to ...
4918 (__x86_raw_data_cache_size_half): This.
4919 (__x86_64_shared_cache_size): Renamed to ...
4920 (__x86_shared_cache_size): This.
4921 (__x86_64_raw_shared_cache_size): Renamed to ...
4922 (__x86_raw_shared_cache_size): This.
4923 (__x86_64_shared_cache_size_half): Renamed to ...
4924 (__x86_shared_cache_size_half): This.
4925 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4926 (__x86_raw_shared_cache_size_half): This.
4927 * sysdeps/x86_64/memcpy.S: Updated.
4928 * sysdeps/x86_64/memset.S: Likewise.
4929 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4930 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4932
0b3986d0
DM
49332013-01-04 David S. Miller <davem@davemloft.net>
4934
4935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4936
e47686e9
AS
49372013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4938
d643bac1
AS
4939 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4940 1 to avoid redefinition warning.
4941 (__USE_GNU): Don't define.
4942 (init_signaling_nan): Protoize.
4943
e47686e9
AS
4944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4945
b18decba
SP
49462013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4947
fffb407f
SP
4948 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4950 (__cpymn): Likewise.
4951 (norm): Remove commented code.
4952 (denorm): Likewise.
4953 (__mp_dbl): Likewise.
4954 (__inv): Likewise.
4955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4956 (__cpymn): Likewise.
4957 (norm): Remove commented code.
4958 (denorm): Likewise.
4959 (__mp_dbl): Likewise.
4960 (__inv): Likewise.
4961
b18decba
SP
4962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4963 mp_no value for 1.0 and 2.0.
4964 (norm): Use RADIXI instead of radixi.d.
4965 (denorm): Likewise.
4966 (__mul): Use 0.0 instead of zero.d.
4967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4968 mp_no value for 1.0 and 2.0.
4969 (norm): Use RADIXI instead of radixi.d.
4970 (denorm): Likewise.
4971 (__mul): Use 0.0 instead of zero.d.
4972
cdc1c96f
JM
49732013-01-04 Joseph Myers <joseph@codesourcery.com>
4974
4975 [BZ #14994]
4976 * math/s_casinh.c (__casinh): Reduce finite argument to first
4977 quadrant then set signs of results at the end.
4978 * math/s_casinhf.c (__casinhf): Likewise.
4979 * math/s_casinhl.c (__casinhl): Likewise.
4980 * math/libm-test.inc (casin_test): Add more tests.
4981 (casinh_test): Likewise.
4982 * sysdeps/i386/fpu/libm-test-ulps: Update.
4983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4984
302913e1
SP
49852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4986
6420d207
SP
4987 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4988
a9e48ab4
SP
4989 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4990
b7837264
SP
4991 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4992 declarations.
4993 (denorm): Likewise.
4994 (__mp_dbl): Likewise.
4995 (__inv): Likewise.
4996
f8af25d2
SP
4997 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4998 and adjust the header comment.
4999
302913e1
SP
5000 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5001 variable name from declaration.
5002
5d7dd1ca
L
50032013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5004
5005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5006 Initialize COMMON_CPUID_INDEX_7 element.
5007 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5008 (CPUID_RTM): Likewise.
5009 (HAS_RTM): Likewise.
5010 (COMMON_CPUID_INDEX_7): New enum.
5011
2f5f40f4
AS
50122013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5013
5014 [BZ #14981]
5015 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5016 size is zero, record memory as freed.
5017
4056f4a0
AJ
50182013-01-03 Andreas Jaeger <aj@suse.de>
5019
5020 * po/ia.po: Add new Interlingua translation.
5021
ab15736f 50222012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5023
5024 * locale/programs/localedef.c: Fix description of '--posix' flag.
5025
568035b7
JM
50262013-01-02 Joseph Myers <joseph@codesourcery.com>
5027
e6898b8d
JM
5028 * NEWS: Update dates in second copyright notice.
5029 * README: Update copyright dates in example.
5030 * manual/libc.texinfo: Update copyright dates.
5031 * scripts/test-installation.pl: Update copyright date in --version
5032 output.
5033
0e2f9562
JM
5034 * hurd/ctty-input.c: Fix copyright notice formatting.
5035 * hurd/ctty-output.c: Likewise.
5036 * hurd/dtable.c: Likewise.
5037 * hurd/hurd-raise.c: Likewise.
5038 * hurd/hurdprio.c: Likewise.
5039 * hurd/msgportdemux.c: Likewise.
5040 * misc/sys/file.h: Likewise.
5041 * misc/sys/ioctl.h: Likewise.
5042 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5043 * sysdeps/mach/hurd/chdir.c: Likewise.
5044 * sysdeps/mach/hurd/fchdir.c: Likewise.
5045 * sysdeps/mach/hurd/rename.c: Likewise.
5046 * sysdeps/mach/hurd/rmdir.c: Likewise.
5047 * sysdeps/mach/hurd/seekdir.c: Likewise.
5048 * sysdeps/mach/hurd/setsid.c: Likewise.
5049 * sysdeps/posix/wait3.c: Likewise.
5050
568035b7
JM
5051 * All files with FSF copyright notices: Update copyright dates
5052 using scripts/update-copyrights.
5053 * intl/plural.c: Regenerated.
5054 * locale/programs/charmap-kw.h: Likewise.
5055 * locale/programs/locfile-kw.h: Likewise.
5056
da08f647
SP
50572013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5058
0f5477af
SP
5059 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5060 four values.
5061
44e0d4c2
SP
5062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5063 calculation loop and add branch prediction.
5064
4d55b4e5
SP
5065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5066 check access beyond bounds of m1np.
5067
da08f647
SP
5068 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5069 MPTWO.
5070 (__inv): Remove local variable MPTWO to use the global
5071 constant.
5072 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5073 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5074 variable MPTWO.
5075 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5076 MP3HALFS static const.
5077
8e051029
DM
50782013-01-01 David S. Miller <davem@davemloft.net>
5079
5080 * po/ca.po: Update from translation team.
5081
f4cf5f2d
JM
50822013-01-01 Joseph Myers <joseph@codesourcery.com>
5083
5084 * scripts/update-copyrights: New file.
5085 * Makeconfig: Reformat copyright notice.
5086 * ctype/ctype.h: Likewise.
5087 * debug/swprintf_chk.c: Likewise.
5088 * elf/dl-cache.c: Likewise.
5089 * elf/dl-debug.c: Likewise.
5090 * elf/dl-object.c: Likewise.
5091 * grp/initgroups.c: Likewise.
5092 * hurd/Makefile: Likewise.
5093 * hurd/hurd/signal.h: Likewise.
5094 * hurd/hurdfault.c: Likewise.
5095 * hurd/hurdioctl.c: Likewise.
5096 * hurd/hurdlookup.c: Likewise.
5097 * hurd/intr-msg.c: Likewise.
5098 * iconv/gconv_open.c: Likewise.
5099 * libio/swprintf.c: Likewise.
5100 * locale/lc-ctype.c: Likewise.
5101 * locale/nl_langinfo.c: Likewise.
5102 * mach/Machrules: Likewise.
5103 * mach/Makefile: Likewise.
5104 * malloc/obstack.h: Likewise.
5105 * manual/Makefile: Likewise.
5106 * manual/tsort.awk: Likewise.
5107 * misc/bits/stab.def: Likewise.
5108 * nis/nis_print_group_entry.c: Likewise.
5109 * nis/nis_table.c: Likewise.
5110 * nis/nss_compat/compat-pwd.c: Likewise.
5111 * nis/nss_compat/compat-spwd.c: Likewise.
5112 * po/Makefile: Likewise.
5113 * posix/fnmatch.c: Likewise.
5114 * posix/regex.h: Likewise.
5115 * resolv/Makefile: Likewise.
5116 * resolv/nss_dns/dns-network.c: Likewise.
5117 * resolv/res_hconf.c: Likewise.
5118 * scripts/gen-sorted.awk: Likewise.
5119 * soft-fp/soft-fp.h: Likewise.
5120 * stdio-common/printf.h: Likewise.
5121 * stdlib/monetary.h: Likewise.
5122 * stdlib/random.c: Likewise.
5123 * stdlib/random_r.c: Likewise.
5124 * sysdeps/generic/Makefile: Likewise.
5125 * sysdeps/gnu/Makefile: Likewise.
5126 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5130 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5137 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5138 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5140 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5149 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5150 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5151 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5152 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5153 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5154 * sysdeps/mach/hurd/errnos.awk: Likewise.
5155 * sysdeps/mach/hurd/fork.c: Likewise.
5156 * sysdeps/mach/hurd/getcwd.c: Likewise.
5157 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5158 * sysdeps/mach/hurd/mmap.c: Likewise.
5159 * sysdeps/mach/hurd/utimes.c: Likewise.
5160 * sysdeps/mach/hurd/xmknod.c: Likewise.
5161 * sysdeps/posix/profil.c: Likewise.
5162 * sysdeps/posix/readdir_r.c: Likewise.
5163 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5164 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5165 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5166 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5168 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5169 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5170 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5172 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5173 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5174 * sysdeps/pthread/lio_listio.c: Likewise.
5175 * sysdeps/sparc/dl-procinfo.h: Likewise.
5176 * sysdeps/unix/i386/sysdep.S: Likewise.
5177 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5178 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5179 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5180 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5182 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5183 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5184 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5185 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5186 * sysdeps/wordsize-32/divdi3.c: Likewise.
5187 * time/sys/time.h: Likewise.
5188 * wcsmbs/Makefile: Likewise.
5189
0549fbba
DM
51902013-01-01 David S. Miller <davem@davemloft.net>
5191
a141f1a7
DM
5192 * po/fr.po: Update from translation team.
5193
0549fbba
DM
5194 * catgets/gencat.c: Update copyright year.
5195 * csu/version.c: Likewise.
5196 * debug/catchsegv.sh: Likewise.
5197 * debug/pcprofiledump.c: Likewise.
5198 * debug/xtrace.sh: Likewise.
5199 * elf/ldconfig.c: Likewise.
5200 * elf/ldd.bash.in: Likewise.
5201 * elf/pldd.c: Likewise.
5202 * elf/sotruss.ksh: Likewise.
5203 * elf/sprof.c: Likewise.
5204 * iconv/iconv_prog.c: Likewise.
5205 * iconv/iconvconfig.c: Likewise.
5206 * locale/programs/locale.c: Likewise.
5207 * locale/programs/localedef.c: Likewise.
5208 * login/programs/pt_chown.c: Likewise.
5209 * malloc/memusage.sh: Likewise.
5210 * malloc/memusagestat.c: Likewise.
5211 * malloc/mtrace.pl: Likewise.
5212 * nscd/nscd.c: Likewise.
5213 * nss/getent.c: Likewise.
5214 * nss/makedb.c: Likewise.
5215 * posix/getconf.c: Likewise.
5216
18ea052c
SP
52172012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5218
5219 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5220 numbers.
5221
9c89fca6
MF
52222012-12-30 Mike Frysinger <vapier@gentoo.org>
5223
5224 * math/bits/mathcalls.h (modf): Use __nonnull.
5225
085ec079
SP
52262012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5227
5228 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5229 (split): Use macro CN instead of the bare value.
5230 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5231 could be used.
5232 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5233 instead of the bare value.
5234 (power1): Likewise.
5235
6d9f97e1
SP
52362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5237
d63f73be
SP
5238 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5239 __ATAN_TWOM.
5240 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5241
6d9f97e1
SP
5242 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5243 their values.
5244 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5245 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5246 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5247 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5248
4c4febf5
AJ
52492012-12-28 Andreas Jaeger <aj@suse.de>
5250
af5843ef
AJ
5251 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5252 values are from Linux 3.7.
5253
4c4febf5
AJ
5254 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5255 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5256
99136f82
SP
52572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5258
2f216c3c 5259 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5260 TRUE case.
5261
99136f82
SP
5262 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5263 (norm): Likewise.
5264 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5265 variables with preprocessor constants.
5266 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5267 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5268 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5269
7fffbdff
BH
52702012-12-27 Bruno Haible <bruno@clisp.org>
5271
5272 [BZ #14317]
5273 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5274 only if needed.
5275
b76eb5f0
SP
52762012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5277
31a7fe5c
SP
5278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5279 and use variable directly.
5280 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5281
b76eb5f0
SP
5282 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5283 MPONE.
5284 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5285 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5286 variable MPONE.
5287 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5288 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5289 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5290 include directive. Remove local variable MPONE.
5291 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5292 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5293 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5294
2c8bfe7d
DM
52952012-12-25 David S. Miller <davem@davemloft.net>
5296
5297 * version.h (RELEASE): Set to "development".
5298 (VERSION): Set to "2.17.90".
5299 * NEWS: Add 2.18 section.
5300
147d03b0
DM
53012012-12-21 David S. Miller <davem@davemloft.net>
5302
5303 * po/hr.po: Update from translation team.
5304
a8ebb2b9
AK
53052012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5306
5307 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5308
95b4f1b6
SE
53092012-12-19 Steve Ellcey <sellcey@mips.com>
5310
b2d94007 5311 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5312
cedb2a90
MS
53132012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5314
5315 * manual/contrib.texi (Contributors): Spelling correction.
5316
bbf527d6
DM
53172012-12-15 David S. Miller <davem@davemloft.net>
5318
5319 * po/ru.po: Update from translation team.
5320
bc38c906
DM
53212012-12-13 David S. Miller <davem@davemloft.net>
5322
85429b1a
DM
5323 * NEWS: Mention IFUNC testsuite enhancements.
5324
d283e353
DM
5325 * po/pl.po: Update from translation team.
5326 * po/bg.po: Likewise.
5327
bc38c906
DM
5328 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5329 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5330
a181b0d7
DM
53312012-12-11 David S. Miller <davem@davemloft.net>
5332
4641d57e
DM
5333 * po/sv.po: Update from translation team.
5334
f7bc6495
DM
5335 * po/vi.po: Update from translation team.
5336
6fc9048f
DM
5337 * po/cs.po: Update from translation team.
5338
a181b0d7
DM
5339 * po/de.po: Update from translation team.
5340 * po/eo.po: Likewise.
5341 * po/nl.po: Likewise.
5342
f70bfe80
SP
53432012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5344
3c8b4190
SP
5345 [BZ #14246]
5346 * manual/argp.texi (Argp Helper Functions): Move node to follow
5347 Argp Parsing State.
5348
f70bfe80
SP
5349 [BZ #14872]
5350 * manual/conf.texi (Limits on File System Capacity): Mention if
5351 terminating null is included in the max size.
5352
188f0adf
AJ
53532012-12-10 Andreas Jaeger <aj@suse.de>
5354
5355 * po/cs.po: Update from translation team.
5356
56e7d3ad
SP
53572012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5358
5359 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5360 void pointer and cast to uintptr_t.
5361 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5362 path.
5363 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5364 * sysdeps/s390/s390-64/memset.S: Likewise.
5365
76f2d2ea 53662012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5367
5368 [BZ #14833]
5369 * menual/message.texi (Message Translation): Fix typos.
5370 (Helper programs for gettext): Likewise.
5371
67cbf9a2
AS
53722012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5373
5374 [BZ #14898]
5375 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5376 Change to -1.
5377
682d0e9a
DM
53782012-12-07 David S. Miller <davem@davemloft.net>
5379
5380 * po/libc.pot: Update.
5381
573cd484
RH
53822012-12-07 Richard Henderson <rth@redhat.com>
5383
7e9da188 5384 [BZ #10114]
573cd484
RH
5385 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5386 normal/normal case to before the switch.
5387 (_FP_DIV): Likewise.
5388
e933a943
MF
53892012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5390 Mike Frysinger <vapier@gentoo.org>
5391
5392 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5393 check for __NR_fadvise64_64.
5394
82123268
CM
53952012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5396
5397 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5398 0, not just to plain "0" as a statement.
5399 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5400 with cw.
5401
d9814526
JM
54022012-12-06 Joseph Myers <joseph@codesourcery.com>
5403
5404 * NEWS: Use sourceware.org in Bugzilla URL.
5405
7728c574
SP
54062012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5407
f16946dd
SP
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5409 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5410
5704bbcb
SP
5411 * stdio-common/tst-put-error.c (do_test): Add newline to the
5412 padded test to ensure flush.
5413
17aa0516
JL
54142012-12-05 Jeff Law <law@redhat.com>
5415
5416 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5417
363313b5
JM
54182012-12-05 Joseph Myers <joseph@codesourcery.com>
5419
effbd42a
JM
5420 * README: Don't refer to ports add-on as distributed separately.
5421 Mention AArch64 in list of systems supported in the ports add-on.
5422
87600365
JM
5423 * LICENSES: Add more non-FSF copyright and license notices.
5424
a0d7066a
JM
5425 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5426 ((unused)).
5427
66ca5a5b
JM
5428 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5429
363313b5
JM
5430 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5431 10000 as width of padded output.
5432
b37984ad
JM
54332012-12-04 Joseph Myers <joseph@codesourcery.com>
5434
9003570a
JM
5435 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5436
b37984ad
JM
5437 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5438 variable LX with __attribute__ ((unused)).
5439 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5440 Likewise.
5441 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5442 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5443 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5444 with __attribute__ ((unused)).
5445
c8df52ec
DM
54462012-12-04 David S. Miller <davem@abraco.davemloft.net>
5447
5448 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5449
b3b099af
JM
54502012-12-04 Joseph Myers <joseph@codesourcery.com>
5451
c33aa6e3
JM
5452 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5453 (CFLAGS-nldbl-acos.c): New variable.
5454 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5455 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5456 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5457 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5458 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5459 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5460 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5461 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5462 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5463 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5464 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5465 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5466 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5467 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5468 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5469 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5470 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5471 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5472 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5473 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5474 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5475 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5476 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5477 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5478 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5479 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5480 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5481 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5482 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5483 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5484 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5485 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5486 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5487 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5488 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5489 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5490 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5491 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5492 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5493 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5494 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5495 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5496 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5497 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5498 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5499 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5500 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5501 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5502 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5503 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5504 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5505 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5506 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5507 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5508 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5509 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5510 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5511 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5512 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5513 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5514 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5515 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5516 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5517 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5518 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5519 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5520 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5521 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5522 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5523 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5524 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5525 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5526 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5527 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5528 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5529 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5530 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5531 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5532 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5533 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5534 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5535 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5536 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5537 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5538 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5539 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5540 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5541 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5542 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5543 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5544 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5545 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5546 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5547 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5548 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5549 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5550 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5551
20f0018d
JM
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5553 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5554
b3b099af
JM
5555 [BZ #14914]
5556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5557 whole low double instead of just low 47 bits when splitting values
5558 into two parts.
5559
029264d1
AM
55602012-12-03 Allan McRae <allan@archlinux.org>
5561
5562 * manual/stdio.texi (Predefined Printf Handlers): Remove
5563 @hsep and @vsep usage.
5564
c9d6789e
MF
55652012-12-03 Mike Frysinger <vapier@gentoo.org>
5566
5567 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5568 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5569
4b7634a5
JL
55702012-12-03 Jeff Law <law@redhat.com>
5571
5572 * time/sys/time.h (settimeofday): Do not mark TV argument
5573 as __nonnull.
5574
eb6cbd24
MF
55752012-12-01 Mike Frysinger <vapier@gentoo.org>
5576
5577 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5578 when currently writing and seek to current position when not.
5579 * libio/Makefile (tests): Remove bug-fclose1.
5580 * libio/bug-fclose1.c: Delete.
5581
f638872a
JM
55822012-12-01 Joseph Myers <joseph@codesourcery.com>
5583
5584 * manual/arith.texi (feenableexcept): Fix typo.
5585 (fedisableexcept): Likewise.
5586
48085d14
RM
55872012-11-30 Roland McGrath <roland@hack.frob.com>
5588
5589 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5590 second, differently-typed declaration, rather than a cast.
5591
1a538b9f
SP
55922012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5593
5594 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5595 * include/rpc/svc.h: ... here.
5596
d07f2ff1 55972012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5598
5599 [BZ #13013]
5600 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5601 depending n and resplen2 to catch cases where answer
5602 equals answerp2.
5603
c93ec1f0
CD
56042012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5605
5606 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5607 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5608
37db69de
MF
56092012-11-29 Mike Frysinger <vapier@gentoo.org>
5610
5611 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5612
e10c4e4f
RM
56132012-11-29 Roland McGrath <roland@hack.frob.com>
5614
5615 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5616
2af1b328
JL
56172012-11-28 Jeff Law <law@redhat.com>
5618
5619 [BZ #13761]
5620 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5621 dataset_temporary. Track alloca usage into alloca_used.
5622 If dataset is large allocate and release it via malloc/free.
5623
111db5b1
FW
56242012-06-04 Florian Weimer <fweimer@redhat.com>
5625
f06cc227 5626 [BZ #14197]
111db5b1
FW
5627 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5628
dd694abd
DM
56292012-11-28 David S. Miller <davem@davemloft.net>
5630
5631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5632
9984dd01
JM
56332012-11-28 Joseph Myers <joseph@codesourcery.com>
5634
5635 [BZ #14803]
5636 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5637 of pi/2 rounded to nearest to 64 bits.
5638 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5639 nearest to 64 bits.
5640 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5641 bits.
5642
14bc93a9
JL
56432012-11-28 Jeff Law <law@redhat.com>
5644 Martin Osvald <mosvald@redhat.com>
5645
5646 [BZ #14889]
5647 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5648 * sunrpc/svc.c: Include time.h.
5649 (__svc_accept_failed): New function.
5650 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5651 any reason other than EINTR, call __svc_accept_failed.
5652 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5653 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5654
e3c6aa3a
AS
56552012-11-28 Andreas Schwab <schwab@suse.de>
5656
5657 * scripts/abilist.awk: Also handle indirect functions in .opd
5658 section.
5659
1bead169
JM
56602012-11-28 Joseph Myers <joseph@codesourcery.com>
5661
5662 [BZ #13881]
5663 * sysdeps/x86/fpu/powl_helper.c: New file.
5664 * sysdeps/x86/fpu/Makefile: Likewise.
5665 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5666 (p3): New object.
5667 (__ieee754_powl): Use __powl_helper for finite arguments except
5668 integer exponents below 8.
5669 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5670 (p3): New object.
5671 (__ieee754_powl): Use __powl_helper for finite arguments except
5672 integer exponents below 8.
5673 * math/libm-test.inc (pow_test): Add more tests and enable some
5674 previously disabled tests.
5675 * sysdeps/i386/fpu/libm-test-ulps: Update.
5676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5677
0817d63d
SP
56782012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5679 Carlos O'Donell <carlos_odonell@mentor.com>
5680
5681 * nss/makedb.c (is_prime): Assert that input is odd and greater
5682 than 4. Note that fact in a comment too.
5683 (next_prime): Add 4 to input.
5684
de2fd463
SP
56852012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5686
5687 [BZ #11741]
5688 * libio/Makefile (tests): Add test case tst-fwrite-error.
5689 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5690 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5691 * libio/tst-fwrite-error.c: New test case.
5692
c515fb51
L
56932012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5694
5695 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5696 before casting to void *.
5697 * include/libc-internal.h (__pointer_type): New macro.
5698 (__integer_if_pointer_type_sub): Likewise.
5699 (__integer_if_pointer_type): Likewise.
5700 (cast_to_integer): Likewise.
5701 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5702 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5703 before casting to atomic64_t.
5704 (atomic_exchange_acq): Likewise.
5705 (__arch_exchange_and_add_body): Likewise.
5706 (__arch_add_body): Likewise.
5707 (atomic_add_negative): Likewise.
5708 (atomic_add_zero): Likewise.
5709
4cf77aa9
JM
57102012-11-26 Joseph Myers <joseph@codesourcery.com>
5711
5712 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5713 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5714 (add_fdes): Likewise.
5715 (linear_search_fdes): Likewise.
5716 (binary_search_unencoded_fdes): Likewise.
5717
d260b3b4
AS
57182012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5719
5720 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5721
67060746
AC
57222012-11-24 Adam Conrad <adconrad@0c3.net>
5723
5724 * configure.in: Autodetect C++ header directories.
5725 * configure: Regenerated.
5726
800938a1
MF
57272012-11-23 Mike Frysinger <vapier@gentoo.org>
5728
5729 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5730
4e6e34e6
AS
57312012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5732
5733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5734
7c7feb47
JM
57352012-11-22 Joseph Myers <joseph@codesourcery.com>
5736
7184dcdf
JM
5737 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5738 LDBL_MANT_DIG == 106]: Disable some tests.
5739 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5740 Likewise.
5741 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5742 Likewise.
5743
0a42601f
JM
5744 [BZ #14871]
5745 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5746 input for small inputs. Return +/- pi/2 for large inputs.
5747 * math/libm-test.inc (atan_test): Add more tests.
5748
79c9b9fe
JM
5749 * sysdeps/generic/unwind-dw2-fde-glibc.c
5750 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5751 __attribute__ ((unused)).
5752
c60d3bf2
JM
5753 [BZ #14645]
5754 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5755 x * y if x and y are nonzero and z is zero.
5756
ef1e0867
JM
5757 [BZ #14811]
5758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5759 nonzero exponents with absolute value below 0x1p-117 to +/-
5760 0x1p-117.
5761
1468ded3
JM
5762 [BZ #14869]
5763 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5764 up arguments below 2**-450, not just those below 2**-500.
5765 * math/libm-test.inc (hypot_test): Add another test.
5766
8e27e3cc
JM
5767 [BZ #14868]
5768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5769 Return a+b for ratio over 2**120, not 2**60.
5770 * math/libm-test.inc (hypot_test): Add another test.
5771
c9c0279b
JM
5772 * math/libm-test.inc (clog_test): Use
5773 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5774 (clog10_test): Likewise.
5775
7c7feb47
JM
5776 [BZ #6778]
5777 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5778
fff1530e
AS
57792012-11-22 Andreas Schwab <schwab@suse.de>
5780
5781 * sysdeps/i386/fpu/libm-test-ulps: Update.
5782
94558d30
PT
57832012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5784
5785 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5786 printf output with newline.
5787
7e1be741
L
57882012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5789
6bfea974
L
5790 [BZ #14865]
5791 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5792 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5793 -z nodlopen, -z initfirst and -z execstack support.
5794 * configure: Regenerated.
5795
7e1be741
L
5796 * elf/elf.h (DF_1_NODIRECT): New macro.
5797 (DF_1_IGNMULDEF): Likewise.
5798 (DF_1_NOKSYMS): Likewise.
5799 (DF_1_NOHDR): Likewise.
5800 (DF_1_EDITED): Likewise.
5801 (DF_1_NORELOC): Likewise.
5802 (DF_1_SYMINTPOSE): Likewise.
5803 (DF_1_GLOBAUDIT): Likewise.
5804 (DF_1_SINGLETON): Likewise.
5805 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5806 DT_1_SUPPORTED_MASK bits.
5807 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5808
105ce2ce
CD
58092012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5810
5811 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5812
123be9de
TS
58132012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5814
d072f3f7
TS
5815 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5816 macro.
5817
123be9de
TS
5818 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5819 (sendmmsg): Move declarations...
5820 * socket/sys/socket.h: ... here.
5821 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5822 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5823 include it from...
5824 * socket/recvmmsg.c: ... this new file.
5825 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5826 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5827 definition of __sendmmsg hidden.
5828 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5829 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5830 Move ENOSYS stub into and include it from...
5831 * socket/sendmmsg.c: ... this new file.
5832 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5833 (sysdep_routines): Move recvmmsg and sendmmsg...
5834 * socket/Makefile (routines): ... here.
5835 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5836 (GLIBC_PRIVATE): Add __sendmmsg.
5837 * include/sys/socket.h (__sendmmsg): Add declarations.
5838 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5839 sendmmsg.
5840
cf9a5d18
JM
58412012-11-20 Joseph Myers <joseph@codesourcery.com>
5842
5843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5844 variable I1 with __attribute__ ((unused)).
5845 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5846
ecd4caf9
JM
58472012-11-19 Joseph Myers <joseph@codesourcery.com>
5848
be14d48f
JM
5849 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5850 DUMMY variables with __attribute__ ((unused)).
5851
ecd4caf9
JM
5852 * bits/byteswap.h: Include <bits/types.h>.
5853 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5854
986cab95
PT
58552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5856
5857 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5858 string_t. Do not manually set errno.
5859 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5860 length with __strnlen. Make sure to both set errno and return it on
5861 failure.
5862
6d33cc9d
DM
58632012-11-19 David S. Miller <davem@davemloft.net>
5864
5865 With help from Joseph Myers.
5866 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5867 very large arguments properly.
5868 * math/libm-test.inc (atan_test): New tests.
5869 (atan2_test): New tests.
5870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5872
ee663277
JM
58732012-11-19 Joseph Myers <joseph@codesourcery.com>
5874
877f2d8e
JM
5875 [BZ #14856]
5876 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5877 Define to 3.
5878
116fc08a
JM
5879 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5880 [POSIX] (EADDRNOTAVAIL): Likewise.
5881 [POSIX] (EAFNOSUPPORT): Likewise.
5882 [POSIX] (EALREADY): Likewise.
5883 [POSIX] (ECONNABORTED): Likewise.
5884 [POSIX] (ECONNREFUSED): Likewise.
5885 [POSIX] (ECONNRESET): Likewise.
5886 [POSIX] (EDESTADDRREQ): Likewise.
5887 [POSIX] (EDQUOT): Likewise.
5888 [POSIX] (EHOSTUNREACH): Likewise.
5889 [POSIX] (EIDRM): Likewise.
5890 [POSIX] (EISCONN): Likewise.
5891 [POSIX] (ELOOP): Likewise.
5892 [POSIX] (EMULTIHOP): Likewise.
5893 [POSIX] (ENETDOWN): Likewise.
5894 [POSIX] (ENETUNREACH): Likewise.
5895 [POSIX] (ENOBUFS): Likewise.
5896 [POSIX] (ENODATA): Likewise.
5897 [POSIX] (ENOLINK): Likewise.
5898 [POSIX] (ENOMSG): Likewise.
5899 [POSIX] (ENOPROTOOPT): Likewise.
5900 [POSIX] (ENOSR): Likewise.
5901 [POSIX] (ENOSTR): Likewise.
5902 [POSIX] (ENOTCONN): Likewise.
5903 [POSIX] (ENOTSOCK): Likewise.
5904 [POSIX] (EOPNOTSUPP): Likewise.
5905 [POSIX] (EOVERFLOW): Likewise.
5906 [POSIX] (EPROTO): Likewise.
5907 [POSIX] (EPROTONOSUPPORT): Likewise.
5908 [POSIX] (EPROTOTYPE): Likewise.
5909 [POSIX] (ESTALE): Likewise.
5910 [POSIX] (ETIME): Likewise.
5911 [POSIX] (ETXTBSY): Likewise.
5912 [POSIX] (EWOULDBLOCK): Likewise.
5913 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5914 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5915 [POSIX] (SEEK_CUR): Likewise.
5916 [POSIX] (SEEK_END): Likewise.
5917 [POSIX || UNIX98] (mode_t): Do not require.
5918 [POSIX] (off_t): Likewise.
5919 [POSIX] (pid_t): Likewise.
5920 [POSIX] (sys/stat.h): Do not allow header.
5921 [POSIX] (unistd.h): Likewise.
5922 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5923 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5924 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5925 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5926 require.
5927 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5928 sigevent): Specify elements.
5929 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5930 entry.
5931 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5932 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5933
a483863f
JM
5934 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5935 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5936 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5937 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5938 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5939 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5940 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5941 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5942 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5943 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5944 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5945 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5946 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5947 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5948 Likewise.
5949 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5950 Likewise.
5951 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5952 Likewise.
5953 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5954 Likewise.
5955 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5956 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5957 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5958 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5959 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5960 Specify lower bound on value.
5961 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5962 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5963 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5964 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5965 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5966 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5967 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5968 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5969 value.
5970 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5971 as optional.
5972 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5973 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5974 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5975 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5976 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5977 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5978 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5979 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5980 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5981 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5982 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5983 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5984 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5985 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5986 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5987 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5988 entry.
5989 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5990 optional.
5991 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5992 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5993 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5994 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5995 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5996 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5997 Likewise.
5998 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5999 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6000 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6001 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6002 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6003 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6004 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6005 as optional.
6006 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6007 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6008 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6009 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6010 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6011 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6012 specify as optional.
6013 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6014 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6015 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6016 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6017 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6018 [XPG3] (NL_LANGMAX): Likewise.
6019 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6020 [POSIX || XPG3] (NL_NMAX): Likewise.
6021 [POSIX || XPG3] (NL_SETMAX): Likewise.
6022 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6023 [XPG3] (NZERO): Likewise.
6024 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6025 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6026 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6027 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6028 (REG_ERANGE): Expect.
6029 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6030 optional-constant.
6031 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6032 Use (void) in prototype.
6033 [POSIX] (*_t): Allow.
6034 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6035 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6036 (WRDE_BADVAL): Expect.
6037
5ba924e3
JM
6038 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6039 expect.
6040 [XPG3 || XPG4] (O_RSYNC): Likewise.
6041 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6042 Likewise.
6043 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6044 [XPG3 || XPG4] (sigqueue): Likewise.
6045 [XPG3 || XPG4] (sigtimedwait): Likewise.
6046 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6047 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6048 [XPG3 || XPG4] (vsnprintf): Likewise.
6049 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6050 Likewise.
6051 [XPG3 || XPG4] (blksize_t): Likewise.
6052 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6053 Likewise.
6054 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6055 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6056 [XPG3 || XPG4] (struct itimerspec): Likewise.
6057 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6058 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6059 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6060 [XPG3 || XPG4] (clockid_t): Likewise.
6061 [XPG3 || XPG4] (timer_t): Likewise.
6062 [XPG3 || XPG4] (clock_getres): Likewise.
6063 [XPG3 || XPG4] (clock_gettime): Likewise.
6064 [XPG3 || XPG4] (clock_settime): Likewise.
6065 [XPG3 || XPG4] (nanosleep): Likewise.
6066 [XPG3 || XPG4] (timer_create): Likewise.
6067 [XPG3 || XPG4] (timer_delete): Likewise.
6068 [XPG3 || XPG4] (timer_gettime): Likewise.
6069 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6070 [XPG3 || XPG4] (timer_settime): Likewise.
6071 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6072 [XPG3 || XPG4] (getlogin_r): Likewise.
6073 [XPG3 || XPG4] (pread): Likewise.
6074 [XPG3 || XPG4] (pthread_atfork): Likewise.
6075 [XPG3 || XPG4] (pwrite): Likewise.
6076
ee663277
JM
6077 [BZ #14835]
6078 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6079 <bits/siginfo.h>.
6080
942caa16
PT
60812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6082
e19af380
PT
6083 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6084 finalizing MALLSTREAM.
6085
942caa16
PT
6086 * sysdeps/mach/hurd/syncfs.c: New file.
6087
cfde9b46
SP
60882012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6089
6090 [BZ #14719]
6091 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6092 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6093 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6094 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6095 (_nss_dns_gethostbyname4_r): Likewise.
6096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6097 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6098
f6da27e5
PH
60992012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6100
6101 [BZ #13763]
6102 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6103
6665d4a2
SM
61042012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6105
1f51ee92
SM
6106 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6107 * elf/cache.c (print_entry): Print ",AArch64" for
6108 FLAG_AARCH64_LIB64
6109
6665d4a2
SM
6110 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6111 * elf/cache.c (print_entry): Print ",hard-float" for
6112 FLAG_ARM_LIBHF.
6113
05b227bd
DM
61142012-11-18 David S. Miller <davem@davemloft.net>
6115
6116 With help from Joseph Myers.
6117 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6118 cutoff to 2**-13.
6119 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6120 cutoff to 2**-25.
6121 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6122 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6123 small.
6124 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6125 * math/libm-test.inc (y0_test): New tests.
6126 (y1_test): New tests.
6127 * sysdeps/i386/fpu/libm-test-ulps: Update.
6128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6130
786b0b67
AS
61312012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6132
6133 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6134 64-bit targets.
6135 * configure: Regenerated.
6136
8e18b86d
DM
61372012-11-17 David S. Miller <davem@davemloft.net>
6138
6139 [BZ #14811]
6140 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6141 nonzero exponents with absolute value below 0x1p-128 to +/-
6142 0x1p-128.
6143
531f1ae0
JM
61442012-11-17 Joseph Myers <joseph@codesourcery.com>
6145
12df29e2
JM
6146 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6147
150dc1a0
JM
6148 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6149
531f1ae0
JM
6150 * posix/getconf-speclist.c: New file.
6151 * posix/posix-envs.def: Likewise.
6152 * posix/confstr.c (START_ENV_GROUP): New macro.
6153 (END_ENV_GROUP): Likewise.
6154 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6155 (KNOWN_PRESENT_ENV_STRING): Likewise.
6156 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6157 (UNKNOWN_ENVIRONMENT): Likewise.
6158 (confstr): Include posix-envs.def instead of handling
6159 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6160 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6161 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6162 (END_ENV_GROUP): Likewise.
6163 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6164 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6165 (UNKNOWN_ENVIRONMENT): Likewise.
6166 (__sysconf): Include posix-envs.def instead of handling associated
6167 cases directly here.
6168 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6169 preprocessing getconf-speclist.c rather than running getconf or
6170 generating empty file.
6171
a93f9cbc
PT
61722012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6173
6174 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6175
d64d9f87
AL
61762012-11-16 Andrej Lajovic <natrij@gmail.com>
6177
6178 [BZ #14672]
6179 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6180
447885eb
DM
61812012-11-16 David S. Miller <davem@davemloft.net>
6182
6183 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6184 smaller than LDBL_EPSILON/2.0L, just return xm1.
6185
bcbf9830
L
61862012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6187
6188 * elf/tst-array1.c (init): Set constructor priority to 1000.
6189 (fini): Set destructor priority to 1000.
6190 * elf/tst-array2dep.c: Likewise.
6191
2b766585
SP
61922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6193
6194 [BZ #11741]
6195 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6196 (_IO_new_file_xsputn): Also return EOF if none of the input
6197 data was written when overflow failed.
6198 * libio/iopadn.c (_IO_padn): Likewise.
6199 * libio/iowpadn.c (_IO_wpadn): Likewise.
6200 * stdio-common/tst-put-error.c: Add copyright notice.
6201 (do_test): Add case for printing padded string.
6202 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6203 _IO_padn returned error.
6204 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6205 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6206 return EOF.
6207
b1848fde
SP
62082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6209
6210 * libio/libioP.h: Add comment note that the references to C++
6211 bits are now obsolete.
6212
2fd89785
MS
62132012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6214
6215 * math/libm-test.inc (check_complex): Use asprintf.
6216
e3ea5409
JM
62172012-11-14 Joseph Myers <joseph@codesourcery.com>
6218
6219 * debug/pcprofiledump.c (print_version): Update copyright year.
6220 * malloc/memusagestat.c (print_version): Likewise.
6221
2e64d265
L
62222012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6223
6224 [BZ #14831]
6225 * elf/Makefile (tests): Add tst-audit8.
6226 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6227 ($(objpfx)tst-audit8.out): New target.
6228 (tst-audit8-ENV): New variable.
6229 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6230 audit if l_reloc_result is NULL.
6231 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6232 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6233 * elf/tst-audit8.c: New file.
6234
c485e4d2
MS
62352012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6236
6237 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6238 * misc/Makefile (CFLAGS-select.c): Define.
6239 * posix/Makefile (CFLAGS-pause.c): Define.
6240
3a0d900a
DM
62412012-11-13 David S. Miller <davem@davemloft.net>
6242
6243 * crypt/Makefile: Move test targets after toplevel Rules
6244 inclusion. Grab any necessary sysdep routines when linking.
6245 * crypt/md5.c (md5_process_block): Remove define, we will always
6246 name it __md5_process_block.
6247 (md5_finish_ctx): Update md5_process_block call.
6248 (md5_stream): Likewise.
6249 (md5_process_bytes): Likewise.
6250 (md5_process_block): Rename to __md5_process_block and move to ...
6251 * crypt/md5-block.c: ... here.
6252 * crypt/sha256.c (sha256_process_block): Move to ...
6253 * crypt/sha256-block.c: ... here.
6254 * crypt/sha512.c (sha512_process_block): Move to ...
6255 * crypt/sha512-block.c: ... here.
6256 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6257 path.
6258 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6259 * sysdeps/sparc/sparc64/multiarch/Makefile
6260 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6261 crypt subdir.
6262 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6263 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6264 multiarch changes.
6265 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6266 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6267 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6268 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6269 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6270 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6271 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6272 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6273 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6274 file.
6275 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6276 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6277 file.
6278 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6279
8ca89318
JM
62802012-11-13 Joseph Myers <joseph@codesourcery.com>
6281
e27d476a
JM
6282 * timezone/tzselect.ksh: Update from tzcode git revision
6283 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6284 * timezone/zdump.c: Likewise.
6285 * timezone/zic.c: Likewise.
6286 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6287 in TZVERSION setting, not $(PKGVERSION).
6288 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6289 REPORT_BUGS_TO settings.
6290
8ca89318
JM
6291 [BZ #14838]
6292 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6293 macro.
6294
47594329
MS
62952012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6296
6297 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6298 detection to immediately after _FP_ROUND().
6299 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6300 bits are 0.
6301
640ac3f1
DM
63022012-11-11 David S. Miller <davem@davemloft.net>
6303
6304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6305 inttypes.h
6306 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6307 __close rather than their public counterparts.
6308
3d2577bb
JM
63092012-11-10 Joseph Myers <joseph@codesourcery.com>
6310
6311 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6312 file.
6313 [UNIX98] (sem_timedwait): Do not expect.
6314 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6315 [XPG4 || UNIX98] (sockatmark): Do not expect.
6316 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6317 (clock_getcpuclockid): Do not expect.
6318 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6319 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6320 Do not expect.
6321 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6322 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6323 [UNIX98] (vwscanf): Likewise.
6324 [UNIX98] (vswscanf): Likewise.
6325
fb1ae1ee
JM
63262012-11-09 Joseph Myers <joseph@codesourcery.com>
6327
9ec6f8bd
JM
6328 * timezone/version.h: Remove file.
6329 * timezone/README: Do not refer to version.h.
6330 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6331 $(objpfx)version.h.
6332 ($(objpfx)zdump.o): Likewise.
c3f81911 6333 ($(objpfx)version.h): New target.
9ec6f8bd 6334
0aa8f8a1
JM
6335 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6336 2012i.
6337 * timezone/README: Don't mention modification to tzselect.ksh.
6338 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6339 work on unmodified tzselect.ksh. Substitute version numbers in
6340 tzselect.ksh.
6341
4e87147f
JM
6342 * Makefile (format-me): Remove.
6343 (INSTALL): Adjust indentation. Use commands directly instead of
6344 using $(format-me).
6345
8b748aed
JM
6346 * aclocal.m4 (ACX_PKGVERSION): New macro.
6347 (ACX_BUGURL): Likewise.
6348 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6349 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6350 (REPORT_BUGS_TO): Likewise.
6351 * configure: Regenerated.
6352 * config.h.in (PKGVERSION): New macro.
6353 (REPORT_BUGS_TO): Likewise.
6354 * config.make.in (PKGVERSION): New variable.
6355 (PKGVERSION_TEXI): Likewise.
6356 (REPORT_BUGS_TO): Likewise.
6357 (REPORT_BUGS_TEXI): Likewise.
6358 * Makefile (format-me): Use -I$(common-objpfx)manual.
6359 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6360 ($(common-objpfx)manual/%): New target.
6361 (manual/%): Remove target.
6362 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6363 (print_version): Use PKGVERSION.
6364 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6365 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6366 and REPORT_BUGS_TO.
6367 ($(objpfx)xtrace): Likewise.
6368 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6369 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6370 (print_version): Use PKGVERSION.
6371 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6372 (do_version): Use PKGVERSION.
6373 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6374 REPORT_BUGS_TO.
6375 (common-ldd-rewrite): Likewise.
6376 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6377 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6378 (print_version): Use PKGVERSION.
6379 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6380 * elf/pldd.c (argp_program_bug_address): Remove variable.
6381 (more_help): New function.
6382 (argp): Use more_help.
6383 (print_version): Use PKGVERSION.
6384 * elf/sln.c (main): Use PKGVERSION.
6385 (usage): Use REPORT_BUGS_TO.
6386 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6387 (top level): Use PKGVERSION.
6388 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6389 (print_version): Use PKGVERSION.
6390 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6391 (print_version): Use PKGVERSION.
6392 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6393 (print_version): Use PKGVERSION.
6394 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6395 (print_version): Use PKGVERSION.
6396 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6397 (print_version): Use PKGVERSION.
6398 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6399 (print_version): Use PKGVERSION.
6400 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6401 and BUGURL.
6402 ($(objpfx)memusage): Likewise.
6403 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6404 (do_version): Use PKGVERSION.
6405 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6406 (print_version): Use PKGVERSION.
6407 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6408 ($PKGVERSION): New variable.
6409 ($REPORT_BUGS_TO): Likewise.
6410 (usage): Use $REPORT_BUGS_TO.
6411 (top level): Use $PKGVERSION.
6412 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6413 ($(objpfx)pkgvers.texi): New rule.
6414 ($(objpfx)stamp-pkgvers): Likewise.
6415 * manual/install.texi: Include pkgvers.texi.
6416 (--with-pkgversion): Document new configure option.
6417 (--with-bugurl): Likewise.
6418 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6419 than necessarily for this particular distribution. Use
6420 REPORT_BUGS_TO for where to report bugs.
6421 * INSTALL: Regenerated.
6422 * manual/libc.texinfo: Include pkgvers.texi.
6423 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6424 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6425 (print_version): Use PKGVERSION.
6426 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6427 (print_version): Use PKGVERSION.
6428 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6429 (print_version): Use PKGVERSION.
6430 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6431 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6432 macro.
6433 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6434 (print_version): Use PKGVERSION.
6435 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6436 (print_version): Use PKGVERSION.
6437 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6438 and PKGVERSION.
6439
92e4b6a9
JM
6440 * timezone/checktab.awk: Update from tzcode 2012i.
6441 * timezone/ialloc.c: Likewise.
6442 * timezone/private.h: Likewise.
6443 * timezone/scheck.c: Likewise.
6444 * timezone/tzfile.h: Likewise.
6445 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6446 (TZVERSION): Hardcode tzcode version number.
6447 * timezone/zdump.c: Update from tzcode 2012i.
6448 * timezone/zic.c: Likewise.
6449 * timezone/version.h: New file.
6450 * timezone/README: Describe version.h. Update upstream location.
6451
9bde902c
JM
6452 [BZ #14824]
6453 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6454 (mktemp): Enable declaration.
6455 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6457 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6458 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6459 Likewise.
6460 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6461 Likewise.
6462 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6463 Likewise.
6464 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6465 Likewise.
6466 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6467 Likewise.
6468 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6469 Likewise.
6470
fb1ae1ee
JM
6471 [BZ #14821]
6472 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6473 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6474 for copies of such integer values.
6475 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6476 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6477
2c1adbcb
AJ
64782012-11-09 Andreas Jaeger <aj@suse.de>
6479
6480 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6481 definitions and declarations that are provided by
6482 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6483
d0f8457e
AK
64842012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6485
3a235abb 6486 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6487 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6488 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6489 definition.
6490
57241e26
MS
64912012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6492
6493 * elf/elf.h: Update comment before AArch64 relocations.
6494
60e8270d
DM
64952012-11-07 David S. Miller <davem@davemloft.net>
6496
6497 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6498 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6499 (__start_context): Declare.
6500 (__makecontext_ret): Delete.
6501 (__makecontext): Hook up __start_context instead of
6502 __makecontext_ret.
6503 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6504 (sysdep_routines): Add __start_context when in stdlib.
6505
0fbb0fbc
JM
65062012-11-07 Joseph Myers <joseph@codesourcery.com>
6507
6508 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6509 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6510 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6511 hardcoded "nm".
6512 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6513 (READELF): New variable. Use it instead of hardcoded "readelf".
6514
eb48db7e
L
65152012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6516
6517 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6518 * sysdeps/x86/Makefile: Here.
6519 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6520 * sysdeps/x86/tst-xmmymm.sh: This.
6521
05bcf62a
JM
65222012-11-07 Joseph Myers <joseph@codesourcery.com>
6523
c4b6cf53
JM
6524 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6525 expectations.
6526 [UNIX98] (pthread_barrier_t): Do not expect.
6527 [UNIX98] (pthread_barrierattr_t): Likewise.
6528 [UNIX98] (pthread_spinlock_t): Likewise.
6529 [UNIX98] (pthread_barrier_destroy): Likewise.
6530 [UNIX98] (pthread_barrier_init): Likewise.
6531 [UNIX98] (pthread_barrier_wait): Likewise.
6532 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6533 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6534 [UNIX98] (pthread_barrierattr_init): Likewise.
6535 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6536 [UNIX98] (pthread_getcpuclockid): Likewise.
6537 [UNIX98] (pthread_mutex_timedlock): Likewise.
6538 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6539 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6540 [UNIX98] (pthread_sigmask): Likewise.
6541 [UNIX98] (pthread_spin_destroy): Likewise.
6542 [UNIX98] (pthread_spin_init): Likewise.
6543 [UNIX98] (pthread_spin_lock): Likewise.
6544 [UNIX98] (pthread_spin_trylock): Likewise.
6545 [UNIX98] (pthread_spin_unlock): Likewise.
6546 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6547 Do not expect.
6548 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6549 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6550 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6551 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6552 [XPG3 || XPG4] (pthread_key_t): Likewise.
6553 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6554 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6555 [XPG3 || XPG4] (pthread_once_t): Likewise.
6556 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6557 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6558 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6559 [XPG3 || XPG4] (pthread_t): Likewise.
6560
cbe6e120
JM
6561 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6562 not expect.
6563 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6564
1b126443
JM
6565 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6566 Change function return type to int.
6567
b961a573
JM
6568 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6569 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6570 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6571 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6572 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6573 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6574 [!POSIX] (posix_madvise): Likewise.
6575 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6576 && !UNIX98].
6577 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6578 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6579 (mode_t): Likewise.
6580 (posix_mem_offset): Likewise.
6581 (posix_typed_mem_get_info): Likewise.
6582 (posix_typed_mem_open): Likewise.
6583
9e188909
JM
6584 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6585 Change condition to [XOPEN2K8].
6586
05bcf62a
JM
6587 * conform/conformtest.pl: Preprocess allow-header data with -x c
6588 instead of from stdin.
6589 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6590 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6591 [C99-based standards] (cerfc): Likewise.
6592 [C99-based standards] (cexp2): Likewise.
6593 [C99-based standards] (cexpm1): Likewise.
6594 [C99-based standards] (clog10): Likewise.
6595 [C99-based standards] (clog1p): Likewise.
6596 [C99-based standards] (clog2): Likewise.
6597 [C99-based standards] (clgamma): Likewise.
6598 [C99-based standards] (ctgamma): Likewise.
6599 [C99-based standards] (cerff): Likewise.
6600 [C99-based standards] (cerfcf): Likewise.
6601 [C99-based standards] (cexp2f): Likewise.
6602 [C99-based standards] (cexpm1f): Likewise.
6603 [C99-based standards] (clog10f): Likewise.
6604 [C99-based standards] (clog1pf): Likewise.
6605 [C99-based standards] (clog2f): Likewise.
6606 [C99-based standards] (clgammaf): Likewise.
6607 [C99-based standards] (ctgammaf): Likewise.
6608 [C99-based standards] (cerfl): Likewise.
6609 [C99-based standards] (cerfcl): Likewise.
6610 [C99-based standards] (cexp2l): Likewise.
6611 [C99-based standards] (cexpm1l): Likewise.
6612 [C99-based standards] (clog10l): Likewise.
6613 [C99-based standards] (clog1pl): Likewise.
6614 [C99-based standards] (clog2l): Likewise.
6615 [C99-based standards] (clgammal): Likewise.
6616 [C99-based standards] (ctgammal): Likewise.
6617 * conform/data/inttypes.h-data [C99-based standards]: Include
6618 stdint.h-data. Remove all expectations for stdint.h contents.
6619 [C99-based standards] (PRI*): Do not allow.
6620 [C99-based standards] (SCN*): Likewise.
6621 [C99-based standards] (*_t): Likewise.
6622 [C99-based-standards] (PRId8): Expect macro.
6623 [C99-based-standards] (PRIi8): Likewise.
6624 [C99-based-standards] (PRIo8): Likewise.
6625 [C99-based-standards] (PRIu8): Likewise.
6626 [C99-based-standards] (PRIx8): Likewise.
6627 [C99-based-standards] (PRIX8): Likewise.
6628 [C99-based-standards] (SCNd8): Likewise.
6629 [C99-based-standards] (SCNi8): Likewise.
6630 [C99-based-standards] (SCNo8): Likewise.
6631 [C99-based-standards] (SCNu8): Likewise.
6632 [C99-based-standards] (SCNx8): Likewise.
6633 [C99-based-standards] (PRIdLEAST8): Likewise.
6634 [C99-based-standards] (PRIiLEAST8): Likewise.
6635 [C99-based-standards] (PRIoLEAST8): Likewise.
6636 [C99-based-standards] (PRIuLEAST8): Likewise.
6637 [C99-based-standards] (PRIxLEAST8): Likewise.
6638 [C99-based-standards] (PRIXLEAST8): Likewise.
6639 [C99-based-standards] (SCNdLEAST8): Likewise.
6640 [C99-based-standards] (SCNiLEAST8): Likewise.
6641 [C99-based-standards] (SCNoLEAST8): Likewise.
6642 [C99-based-standards] (SCNuLEAST8): Likewise.
6643 [C99-based-standards] (SCNxLEAST8): Likewise.
6644 [C99-based-standards] (PRIdFAST8): Likewise.
6645 [C99-based-standards] (PRIiFAST8): Likewise.
6646 [C99-based-standards] (PRIoFAST8): Likewise.
6647 [C99-based-standards] (PRIuFAST8): Likewise.
6648 [C99-based-standards] (PRIxFAST8): Likewise.
6649 [C99-based-standards] (PRIXFAST8): Likewise.
6650 [C99-based-standards] (SCNdFAST8): Likewise.
6651 [C99-based-standards] (SCNiFAST8): Likewise.
6652 [C99-based-standards] (SCNoFAST8): Likewise.
6653 [C99-based-standards] (SCNuFAST8): Likewise.
6654 [C99-based-standards] (SCNxFAST8): Likewise.
6655 [C99-based-standards] (PRId16): Likewise.
6656 [C99-based-standards] (PRIi16): Likewise.
6657 [C99-based-standards] (PRIo16): Likewise.
6658 [C99-based-standards] (PRIu16): Likewise.
6659 [C99-based-standards] (PRIx16): Likewise.
6660 [C99-based-standards] (PRIX16): Likewise.
6661 [C99-based-standards] (SCNd16): Likewise.
6662 [C99-based-standards] (SCNi16): Likewise.
6663 [C99-based-standards] (SCNo16): Likewise.
6664 [C99-based-standards] (SCNu16): Likewise.
6665 [C99-based-standards] (SCNx16): Likewise.
6666 [C99-based-standards] (PRIdLEAST16): Likewise.
6667 [C99-based-standards] (PRIiLEAST16): Likewise.
6668 [C99-based-standards] (PRIoLEAST16): Likewise.
6669 [C99-based-standards] (PRIuLEAST16): Likewise.
6670 [C99-based-standards] (PRIxLEAST16): Likewise.
6671 [C99-based-standards] (PRIXLEAST16): Likewise.
6672 [C99-based-standards] (SCNdLEAST16): Likewise.
6673 [C99-based-standards] (SCNiLEAST16): Likewise.
6674 [C99-based-standards] (SCNoLEAST16): Likewise.
6675 [C99-based-standards] (SCNuLEAST16): Likewise.
6676 [C99-based-standards] (SCNxLEAST16): Likewise.
6677 [C99-based-standards] (PRIdFAST16): Likewise.
6678 [C99-based-standards] (PRIiFAST16): Likewise.
6679 [C99-based-standards] (PRIoFAST16): Likewise.
6680 [C99-based-standards] (PRIuFAST16): Likewise.
6681 [C99-based-standards] (PRIxFAST16): Likewise.
6682 [C99-based-standards] (PRIXFAST16): Likewise.
6683 [C99-based-standards] (SCNdFAST16): Likewise.
6684 [C99-based-standards] (SCNiFAST16): Likewise.
6685 [C99-based-standards] (SCNoFAST16): Likewise.
6686 [C99-based-standards] (SCNuFAST16): Likewise.
6687 [C99-based-standards] (SCNxFAST16): Likewise.
6688 [C99-based-standards] (PRId32): Likewise.
6689 [C99-based-standards] (PRIi32): Likewise.
6690 [C99-based-standards] (PRIo32): Likewise.
6691 [C99-based-standards] (PRIu32): Likewise.
6692 [C99-based-standards] (PRIx32): Likewise.
6693 [C99-based-standards] (PRIX32): Likewise.
6694 [C99-based-standards] (SCNd32): Likewise.
6695 [C99-based-standards] (SCNi32): Likewise.
6696 [C99-based-standards] (SCNo32): Likewise.
6697 [C99-based-standards] (SCNu32): Likewise.
6698 [C99-based-standards] (SCNx32): Likewise.
6699 [C99-based-standards] (PRIdLEAST32): Likewise.
6700 [C99-based-standards] (PRIiLEAST32): Likewise.
6701 [C99-based-standards] (PRIoLEAST32): Likewise.
6702 [C99-based-standards] (PRIuLEAST32): Likewise.
6703 [C99-based-standards] (PRIxLEAST32): Likewise.
6704 [C99-based-standards] (PRIXLEAST32): Likewise.
6705 [C99-based-standards] (SCNdLEAST32): Likewise.
6706 [C99-based-standards] (SCNiLEAST32): Likewise.
6707 [C99-based-standards] (SCNoLEAST32): Likewise.
6708 [C99-based-standards] (SCNuLEAST32): Likewise.
6709 [C99-based-standards] (SCNxLEAST32): Likewise.
6710 [C99-based-standards] (PRIdFAST32): Likewise.
6711 [C99-based-standards] (PRIiFAST32): Likewise.
6712 [C99-based-standards] (PRIoFAST32): Likewise.
6713 [C99-based-standards] (PRIuFAST32): Likewise.
6714 [C99-based-standards] (PRIxFAST32): Likewise.
6715 [C99-based-standards] (PRIXFAST32): Likewise.
6716 [C99-based-standards] (SCNdFAST32): Likewise.
6717 [C99-based-standards] (SCNiFAST32): Likewise.
6718 [C99-based-standards] (SCNoFAST32): Likewise.
6719 [C99-based-standards] (SCNuFAST32): Likewise.
6720 [C99-based-standards] (SCNxFAST32): Likewise.
6721 [C99-based-standards] (PRId64): Likewise.
6722 [C99-based-standards] (PRIi64): Likewise.
6723 [C99-based-standards] (PRIo64): Likewise.
6724 [C99-based-standards] (PRIu64): Likewise.
6725 [C99-based-standards] (PRIx64): Likewise.
6726 [C99-based-standards] (PRIX64): Likewise.
6727 [C99-based-standards] (SCNd64): Likewise.
6728 [C99-based-standards] (SCNi64): Likewise.
6729 [C99-based-standards] (SCNo64): Likewise.
6730 [C99-based-standards] (SCNu64): Likewise.
6731 [C99-based-standards] (SCNx64): Likewise.
6732 [C99-based-standards] (PRIdLEAST64): Likewise.
6733 [C99-based-standards] (PRIiLEAST64): Likewise.
6734 [C99-based-standards] (PRIoLEAST64): Likewise.
6735 [C99-based-standards] (PRIuLEAST64): Likewise.
6736 [C99-based-standards] (PRIxLEAST64): Likewise.
6737 [C99-based-standards] (PRIXLEAST64): Likewise.
6738 [C99-based-standards] (SCNdLEAST64): Likewise.
6739 [C99-based-standards] (SCNiLEAST64): Likewise.
6740 [C99-based-standards] (SCNoLEAST64): Likewise.
6741 [C99-based-standards] (SCNuLEAST64): Likewise.
6742 [C99-based-standards] (SCNxLEAST64): Likewise.
6743 [C99-based-standards] (PRIdFAST64): Likewise.
6744 [C99-based-standards] (PRIiFAST64): Likewise.
6745 [C99-based-standards] (PRIoFAST64): Likewise.
6746 [C99-based-standards] (PRIuFAST64): Likewise.
6747 [C99-based-standards] (PRIxFAST64): Likewise.
6748 [C99-based-standards] (PRIXFAST64): Likewise.
6749 [C99-based-standards] (SCNdFAST64): Likewise.
6750 [C99-based-standards] (SCNiFAST64): Likewise.
6751 [C99-based-standards] (SCNoFAST64): Likewise.
6752 [C99-based-standards] (SCNuFAST64): Likewise.
6753 [C99-based-standards] (SCNxFAST64): Likewise.
6754 [C99-based-standards] (PRIdMAX): Likewise.
6755 [C99-based-standards] (PRIiMAX): Likewise.
6756 [C99-based-standards] (PRIoMAX): Likewise.
6757 [C99-based-standards] (PRIuMAX): Likewise.
6758 [C99-based-standards] (PRIxMAX): Likewise.
6759 [C99-based-standards] (PRIXMAX): Likewise.
6760 [C99-based-standards] (SCNdMAX): Likewise.
6761 [C99-based-standards] (SCNiMAX): Likewise.
6762 [C99-based-standards] (SCNoMAX): Likewise.
6763 [C99-based-standards] (SCNuMAX): Likewise.
6764 [C99-based-standards] (SCNxMAX): Likewise.
6765 [C99-based-standards] (PRIdPTR): Likewise.
6766 [C99-based-standards] (PRIiPTR): Likewise.
6767 [C99-based-standards] (PRIoPTR): Likewise.
6768 [C99-based-standards] (PRIuPTR): Likewise.
6769 [C99-based-standards] (PRIxPTR): Likewise.
6770 [C99-based-standards] (PRIXPTR): Likewise.
6771 [C99-based-standards] (SCNdPTR): Likewise.
6772 [C99-based-standards] (SCNiPTR): Likewise.
6773 [C99-based-standards] (SCNoPTR): Likewise.
6774 [C99-based-standards] (SCNuPTR): Likewise.
6775 [C99-based-standards] (SCNxPTR): Likewise.
6776 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6777 allow.
6778 * conform/data/stdint.h-data: Update comments to clarify
6779 requirements.
6780 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6781 type.
6782 [C99-based standards] (INT8_MAX): Likewise.
6783 [C99-based standards] (INT16_MIN): Likewise.
6784 [C99-based standards] (INT16_MAX): Likewise.
6785 [C99-based standards] (INT32_MIN): Likewise.
6786 [C99-based standards] (INT32_MAX): Likewise.
6787 [C99-based standards] (INT64_MIN): Likewise.
6788 [C99-based standards] (INT64_MAX): Likewise.
6789 [C99-based standards] (UINT8_MAX): Likewise.
6790 [C99-based standards] (UINT16_MAX): Likewise.
6791 [C99-based standards] (UINT32_MAX): Likewise.
6792 [C99-based standards] (UINT64_MAX): Likewise.
6793 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6794 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6795 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6796 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6797 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6798 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6799 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6800 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6801 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6802 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6803 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6804 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6805 [C99-based standards] (INT_FAST8_MIN): Likewise.
6806 [C99-based standards] (INT_FAST8_MAX): Likewise.
6807 [C99-based standards] (INT_FAST16_MIN): Likewise.
6808 [C99-based standards] (INT_FAST16_MAX): Likewise.
6809 [C99-based standards] (INT_FAST32_MIN): Likewise.
6810 [C99-based standards] (INT_FAST32_MAX): Likewise.
6811 [C99-based standards] (INT_FAST64_MIN): Likewise.
6812 [C99-based standards] (INT_FAST64_MAX): Likewise.
6813 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6814 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6815 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6816 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6817 [C99-based standards] (INTPTR_MIN): Likewise.
6818 [C99-based standards] (INTPTR_MAX): Likewise.
6819 [C99-based standards] (UINTPTR_MAX): Likewise.
6820 [C99-based standards] (INTMAX_MIN): Likewise.
6821 [C99-based standards] (INTMAX_MAX): Likewise.
6822 [C99-based standards] (UINTMAX_MAX): Likewise.
6823 [C99-based standards] (PTRDIFF_MIN): Likewise.
6824 [C99-based standards] (PTRDIFF_MAX): Likewise.
6825 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6826 [C99-based standards] (SIZE_MAX): Likewise.
6827 [C99-based standards] (WCHAR_MAX): Likewise.
6828 [C99-based standards] (WINT_MAX): Likewise.
6829 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6830 constraint on value.
6831 [C99-based standards] (WCHAR_MIN): Likewise.
6832 [C99-based standards] (WINT_MIN): Likewise.
6833 [C99-based standards] (*_t): Allow.
6834 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6835 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6836 Include math.h-data and complex.h-data. Remove all expectations
6837 of math.h and complex.h contents.
6838 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6839 at end of line.
6840 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6841 (struct tm): Expect tag.
6842 [C99-based-standards] (wcstof): Expect function.
6843 [C99-based-standards] (wcstold): Likewise.
6844 [C99-based-standards] (wcstoll): Likewise.
6845 [C99-based-standards] (wcstoull): Likewise.
6846 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6847 macro-int-constant. Specify type.
6848 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6849 constraint on value.
6850 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6851 Specify type.
6852 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6853 Specify value.
6854 [ISO C standards]: Do not allow headers.
6855 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6856 wcs[abcdefghijklmnopqrstuvwxyz]*.
6857 [ISO C standards] (*_t): Do not allow.
6858 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6859 Expect function.
6860 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6861 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6862 Specify type.
6863 [ISO C standards]: Do not allow headers.
6864 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6865 is[abcdefghijklmnopqrstuvwxyz]*.
6866 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6867 to[abcdefghijklmnopqrstuvwxyz]*.
6868 [ISO C standards] (*_t): Do not allow.
6869 * conform/data/stdalign.h-data: New file.
6870 * conform/data/stdbool.h-data: Likewise.
6871 * conform/data/stdnoreturn.h-data: Likewise.
6872
7514feb8
RM
68732012-11-07 Roland McGrath <roland@hack.frob.com>
6874
6875 [BZ #14815]
6876 * manual/filesys.texi (Directory Entries): Typo fix.
6877 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6878
19b2ecfc
MS
68792012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6880
6881 * elf/elf.h (EM_AARCH64): New macro.
6882 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6883 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6884 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6885 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6886 (R_AARCH64_TLSDESC): Likewise.
6887 (NT_ARM_TLS): Likewise.
6888 (NT_ARM_HW_BREAK): Likewise.
6889 (NT_ARM_HW_WATCH): Likewise.
6890
60e235ee
JM
68912012-11-07 Joseph Myers <joseph@codesourcery.com>
6892
6893 [BZ #14811]
6894 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6895 (__ieee754_powl): Saturate nonzero exponents with absolute value
6896 below 0x1p-79 to +/- 0x1p-79.
6897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6898 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6899 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6900 nonzero exponents with absolute value below 0x1p-32 to +/-
6901 0x1p-32.
6902 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6903 (__ieee754_powl): Saturate nonzero exponents with absolute value
6904 below 0x1p-79 to +/- 0x1p-79.
6905 * math/libm-test.inc (pow_test): Add more tests.
6906
0ab234b7
AK
69072012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6908
6909 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6910 _dl_s390_cap_flags with kernel. Increase string length.
6911 (_dl_s390_platforms): Add z196 and zEC12.
6912
45832f74
JM
69132012-11-07 Joseph Myers <joseph@codesourcery.com>
6914
6915 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6916 Change XOPEN21K to XOPEN2K.
6917
19218757
MK
69182012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6919
6920 * string/memmove.c: Use memcpy when possible.
6921
c5f45721
AJ
69222012-11-06 Andreas Jaeger <aj@suse.de>
6923
6924 * po/eo.po: Update from translation team.
6925
82477c28
JM
69262012-11-06 Joseph Myers <joseph@codesourcery.com>
6927
6928 [BZ #14793]
6929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6930 exponent and small x and y exponents, scale x or y up. Increase
6931 by 2 the exponent used in scaling up.
6932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6933 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6934 * math/libm-test.inc (fma_test): Add more tests.
6935 (fma_test_towardzero): Likewise.
6936 (fma_test_downward): Likewise.
6937 (fma_test_upward): Likewise.
6938
99252c8c
JM
69392012-11-05 Joseph Myers <joseph@codesourcery.com>
6940
acfa885f
JM
6941 [BZ #14805]
6942 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6943 fenv_t *.
6944
99252c8c
JM
6945 [BZ #14801]
6946 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6947 namespace for names of struct fields.
6948 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6949 fenv_t fields.
6950 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6951 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6952
d6d98dea
ST
69532012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6954
6955 [BZ #3665]
6956 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6957
e10bb107
TS
69582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6959
6960 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6961 PTR_DEMANGLE.
6962
6963 [BZ #5246]
6964 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6965 PTR_DEMANGLE.
6966
a0c2940d
JM
69672012-11-04 Joseph Myers <joseph@codesourcery.com>
6968
6969 [BZ #14797]
6970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6971 definitely overflow as x * y not x * y + z.
6972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6973 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6974 * math/libm-test.inc (fma_test): Add more tests.
6975 (fma_test_towardzero): Likewise.
6976 (fma_test_downward): Likewise.
6977 (fma_test_upward): Likewise.
6978
b830319d
TS
69792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6980
6981 [BZ #157]
6982
6983 * include/stub-tag.h: Remove file.
6984 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6985 '#include' of it.
6986 * manual/maint.texi (Porting): Don't reference it.
6987 * Makerules ($(objpfx)stubs): Likewise.
6988 * dirent/closedir.c: Don't include <stub-tag.h>.
6989 * dirent/dirfd.c: Likewise.
6990 * dirent/fdopendir.c: Likewise.
6991 * dirent/getdents.c: Likewise.
6992 * dirent/getdents64.c: Likewise.
6993 * dirent/opendir.c: Likewise.
6994 * dirent/readdir.c: Likewise.
6995 * dirent/readdir64.c: Likewise.
6996 * dirent/readdir64_r.c: Likewise.
6997 * dirent/readdir_r.c: Likewise.
6998 * dirent/rewinddir.c: Likewise.
6999 * dirent/seekdir.c: Likewise.
7000 * dirent/telldir.c: Likewise.
7001 * gmon/profil.c: Likewise.
7002 * grp/setgroups.c: Likewise.
7003 * inet/if_index.c: Likewise.
7004 * io/access.c: Likewise.
7005 * io/chdir.c: Likewise.
7006 * io/chmod.c: Likewise.
7007 * io/chown.c: Likewise.
7008 * io/close.c: Likewise.
7009 * io/dup.c: Likewise.
7010 * io/dup2.c: Likewise.
7011 * io/dup3.c: Likewise.
7012 * io/euidaccess.c: Likewise.
7013 * io/faccessat.c: Likewise.
7014 * io/fchdir.c: Likewise.
7015 * io/fchmod.c: Likewise.
7016 * io/fchmodat.c: Likewise.
7017 * io/fchown.c: Likewise.
7018 * io/fchownat.c: Likewise.
7019 * io/fcntl.c: Likewise.
7020 * io/flock.c: Likewise.
7021 * io/fstatfs.c: Likewise.
7022 * io/fstatfs64.c: Likewise.
7023 * io/fstatvfs.c: Likewise.
7024 * io/fstatvfs64.c: Likewise.
7025 * io/futimens.c: Likewise.
7026 * io/fxstat.c: Likewise.
7027 * io/fxstat64.c: Likewise.
7028 * io/fxstatat.c: Likewise.
7029 * io/fxstatat64.c: Likewise.
7030 * io/getcwd.c: Likewise.
7031 * io/isatty.c: Likewise.
7032 * io/lchmod.c: Likewise.
7033 * io/lchown.c: Likewise.
7034 * io/link.c: Likewise.
7035 * io/linkat.c: Likewise.
7036 * io/lseek.c: Likewise.
7037 * io/lseek64.c: Likewise.
7038 * io/lxstat64.c: Likewise.
7039 * io/mkdir.c: Likewise.
7040 * io/mkdirat.c: Likewise.
7041 * io/mkfifo.c: Likewise.
7042 * io/mkfifoat.c: Likewise.
7043 * io/open.c: Likewise.
7044 * io/open64.c: Likewise.
7045 * io/openat.c: Likewise.
7046 * io/openat64.c: Likewise.
7047 * io/pipe.c: Likewise.
7048 * io/pipe2.c: Likewise.
7049 * io/poll.c: Likewise.
7050 * io/posix_fadvise.c: Likewise.
7051 * io/posix_fadvise64.c: Likewise.
7052 * io/posix_fallocate.c: Likewise.
7053 * io/posix_fallocate64.c: Likewise.
7054 * io/read.c: Likewise.
7055 * io/readlink.c: Likewise.
7056 * io/readlinkat.c: Likewise.
7057 * io/rmdir.c: Likewise.
7058 * io/sendfile.c: Likewise.
7059 * io/sendfile64.c: Likewise.
7060 * io/statfs.c: Likewise.
7061 * io/statfs64.c: Likewise.
7062 * io/statvfs.c: Likewise.
7063 * io/statvfs64.c: Likewise.
7064 * io/symlink.c: Likewise.
7065 * io/symlinkat.c: Likewise.
7066 * io/ttyname.c: Likewise.
7067 * io/ttyname_r.c: Likewise.
7068 * io/umask.c: Likewise.
7069 * io/unlink.c: Likewise.
7070 * io/unlinkat.c: Likewise.
7071 * io/utime.c: Likewise.
7072 * io/utimensat.c: Likewise.
7073 * io/write.c: Likewise.
7074 * io/xmknod.c: Likewise.
7075 * io/xmknodat.c: Likewise.
7076 * io/xstat.c: Likewise.
7077 * io/xstat64.c: Likewise.
7078 * login/getpt.c: Likewise.
7079 * login/grantpt.c: Likewise.
7080 * login/unlockpt.c: Likewise.
7081 * math/e_acoshl.c: Likewise.
7082 * math/e_acosl.c: Likewise.
7083 * math/e_asinl.c: Likewise.
7084 * math/e_atan2l.c: Likewise.
7085 * math/e_atanhl.c: Likewise.
7086 * math/e_coshl.c: Likewise.
7087 * math/e_expl.c: Likewise.
7088 * math/e_fmodl.c: Likewise.
7089 * math/e_gammal_r.c: Likewise.
7090 * math/e_hypotl.c: Likewise.
7091 * math/e_j0l.c: Likewise.
7092 * math/e_j1l.c: Likewise.
7093 * math/e_jnl.c: Likewise.
7094 * math/e_lgammal_r.c: Likewise.
7095 * math/e_log10l.c: Likewise.
7096 * math/e_log2l.c: Likewise.
7097 * math/e_logl.c: Likewise.
7098 * math/e_powl.c: Likewise.
7099 * math/e_rem_pio2l.c: Likewise.
7100 * math/e_sinhl.c: Likewise.
7101 * math/e_sqrtl.c: Likewise.
7102 * math/fclrexcpt.c: Likewise.
7103 * math/fedisblxcpt.c: Likewise.
7104 * math/feenablxcpt.c: Likewise.
7105 * math/fegetenv.c: Likewise.
7106 * math/fegetexcept.c: Likewise.
7107 * math/fegetround.c: Likewise.
7108 * math/feholdexcpt.c: Likewise.
7109 * math/fesetenv.c: Likewise.
7110 * math/fesetround.c: Likewise.
7111 * math/feupdateenv.c: Likewise.
7112 * math/fgetexcptflg.c: Likewise.
7113 * math/fraiseexcpt.c: Likewise.
7114 * math/fsetexcptflg.c: Likewise.
7115 * math/ftestexcept.c: Likewise.
7116 * math/k_cosl.c: Likewise.
7117 * math/k_rem_pio2l.c: Likewise.
7118 * math/k_sinl.c: Likewise.
7119 * math/k_tanl.c: Likewise.
7120 * math/s_asinhl.c: Likewise.
7121 * math/s_atanl.c: Likewise.
7122 * math/s_cbrtl.c: Likewise.
7123 * math/s_erfl.c: Likewise.
7124 * math/s_expm1l.c: Likewise.
7125 * math/s_log1pl.c: Likewise.
7126 * math/s_tanhl.c: Likewise.
7127 * misc/acct.c: Likewise.
7128 * misc/brk.c: Likewise.
7129 * misc/chflags.c: Likewise.
7130 * misc/chroot.c: Likewise.
7131 * misc/fchflags.c: Likewise.
7132 * misc/fgetxattr.c: Likewise.
7133 * misc/flistxattr.c: Likewise.
7134 * misc/fremovexattr.c: Likewise.
7135 * misc/fsetxattr.c: Likewise.
7136 * misc/fsync.c: Likewise.
7137 * misc/ftruncate.c: Likewise.
7138 * misc/futimes.c: Likewise.
7139 * misc/futimesat.c: Likewise.
7140 * misc/getdomain.c: Likewise.
7141 * misc/getdtsz.c: Likewise.
7142 * misc/gethostid.c: Likewise.
7143 * misc/gethostname.c: Likewise.
7144 * misc/getloadavg.c: Likewise.
7145 * misc/getpagesize.c: Likewise.
7146 * misc/getsysstats.c: Likewise.
7147 * misc/getxattr.c: Likewise.
7148 * misc/gtty.c: Likewise.
7149 * misc/ioctl.c: Likewise.
7150 * misc/lgetxattr.c: Likewise.
7151 * misc/listxattr.c: Likewise.
7152 * misc/llistxattr.c: Likewise.
7153 * misc/lremovexattr.c: Likewise.
7154 * misc/lsetxattr.c: Likewise.
7155 * misc/lutimes.c: Likewise.
7156 * misc/madvise.c: Likewise.
7157 * misc/mincore.c: Likewise.
7158 * misc/mlock.c: Likewise.
7159 * misc/mlockall.c: Likewise.
7160 * misc/mmap.c: Likewise.
7161 * misc/mprotect.c: Likewise.
7162 * misc/msync.c: Likewise.
7163 * misc/munlock.c: Likewise.
7164 * misc/munlockall.c: Likewise.
7165 * misc/munmap.c: Likewise.
7166 * misc/preadv.c: Likewise.
7167 * misc/preadv64.c: Likewise.
7168 * misc/ptrace.c: Likewise.
7169 * misc/pwritev.c: Likewise.
7170 * misc/pwritev64.c: Likewise.
7171 * misc/readv.c: Likewise.
7172 * misc/reboot.c: Likewise.
7173 * misc/remap_file_pages.c: Likewise.
7174 * misc/removexattr.c: Likewise.
7175 * misc/revoke.c: Likewise.
7176 * misc/select.c: Likewise.
7177 * misc/setdomain.c: Likewise.
7178 * misc/setegid.c: Likewise.
7179 * misc/seteuid.c: Likewise.
7180 * misc/sethostid.c: Likewise.
7181 * misc/sethostname.c: Likewise.
7182 * misc/setregid.c: Likewise.
7183 * misc/setreuid.c: Likewise.
7184 * misc/setxattr.c: Likewise.
7185 * misc/sstk.c: Likewise.
7186 * misc/stty.c: Likewise.
7187 * misc/swapoff.c: Likewise.
7188 * misc/swapon.c: Likewise.
7189 * misc/sync.c: Likewise.
7190 * misc/syncfs.c: Likewise.
7191 * misc/syscall.c: Likewise.
7192 * misc/truncate.c: Likewise.
7193 * misc/ualarm.c: Likewise.
7194 * misc/usleep.c: Likewise.
7195 * misc/ustat.c: Likewise.
7196 * misc/utimes.c: Likewise.
7197 * misc/vhangup.c: Likewise.
7198 * misc/writev.c: Likewise.
7199 * posix/_exit.c: Likewise.
7200 * posix/alarm.c: Likewise.
7201 * posix/execve.c: Likewise.
7202 * posix/fexecve.c: Likewise.
7203 * posix/fork.c: Likewise.
7204 * posix/fpathconf.c: Likewise.
7205 * posix/getaddrinfo.c: Likewise.
7206 * posix/getegid.c: Likewise.
7207 * posix/geteuid.c: Likewise.
7208 * posix/getgid.c: Likewise.
7209 * posix/getgroups.c: Likewise.
7210 * posix/getlogin.c: Likewise.
7211 * posix/getlogin_r.c: Likewise.
7212 * posix/getpgid.c: Likewise.
7213 * posix/getpid.c: Likewise.
7214 * posix/getppid.c: Likewise.
7215 * posix/getresgid.c: Likewise.
7216 * posix/getresuid.c: Likewise.
7217 * posix/getsid.c: Likewise.
7218 * posix/getuid.c: Likewise.
7219 * posix/glob64.c: Likewise.
7220 * posix/nanosleep.c: Likewise.
7221 * posix/pathconf.c: Likewise.
7222 * posix/pause.c: Likewise.
7223 * posix/posix_madvise.c: Likewise.
7224 * posix/pread.c: Likewise.
7225 * posix/pread64.c: Likewise.
7226 * posix/pwrite.c: Likewise.
7227 * posix/pwrite64.c: Likewise.
7228 * posix/sched_getaffinity.c: Likewise.
7229 * posix/sched_getp.c: Likewise.
7230 * posix/sched_gets.c: Likewise.
7231 * posix/sched_primax.c: Likewise.
7232 * posix/sched_primin.c: Likewise.
7233 * posix/sched_rr_gi.c: Likewise.
7234 * posix/sched_setaffinity.c: Likewise.
7235 * posix/sched_setp.c: Likewise.
7236 * posix/sched_sets.c: Likewise.
7237 * posix/sched_yield.c: Likewise.
7238 * posix/setgid.c: Likewise.
7239 * posix/setlogin.c: Likewise.
7240 * posix/setpgid.c: Likewise.
7241 * posix/setresgid.c: Likewise.
7242 * posix/setresuid.c: Likewise.
7243 * posix/setsid.c: Likewise.
7244 * posix/setuid.c: Likewise.
7245 * posix/sleep.c: Likewise.
7246 * posix/spawni.c: Likewise.
7247 * posix/sysconf.c: Likewise.
7248 * posix/times.c: Likewise.
7249 * posix/wait.c: Likewise.
7250 * posix/wait3.c: Likewise.
7251 * posix/wait4.c: Likewise.
7252 * posix/waitpid.c: Likewise.
7253 * resolv/gai_sigqueue.c: Likewise.
7254 * resource/getpriority.c: Likewise.
7255 * resource/getrlimit.c: Likewise.
7256 * resource/getrusage.c: Likewise.
7257 * resource/nice.c: Likewise.
7258 * resource/setpriority.c: Likewise.
7259 * resource/setrlimit.c: Likewise.
7260 * resource/ulimit.c: Likewise.
7261 * rt/aio_cancel.c: Likewise.
7262 * rt/aio_fsync.c: Likewise.
7263 * rt/aio_read.c: Likewise.
7264 * rt/aio_sigqueue.c: Likewise.
7265 * rt/aio_suspend.c: Likewise.
7266 * rt/aio_write.c: Likewise.
7267 * rt/clock_getres.c: Likewise.
7268 * rt/clock_gettime.c: Likewise.
7269 * rt/clock_nanosleep.c: Likewise.
7270 * rt/clock_settime.c: Likewise.
7271 * rt/lio_listio.c: Likewise.
7272 * rt/mq_close.c: Likewise.
7273 * rt/mq_getattr.c: Likewise.
7274 * rt/mq_notify.c: Likewise.
7275 * rt/mq_open.c: Likewise.
7276 * rt/mq_receive.c: Likewise.
7277 * rt/mq_send.c: Likewise.
7278 * rt/mq_setattr.c: Likewise.
7279 * rt/mq_timedreceive.c: Likewise.
7280 * rt/mq_timedsend.c: Likewise.
7281 * rt/mq_unlink.c: Likewise.
7282 * rt/shm_open.c: Likewise.
7283 * rt/shm_unlink.c: Likewise.
7284 * rt/timer_create.c: Likewise.
7285 * rt/timer_delete.c: Likewise.
7286 * rt/timer_getoverr.c: Likewise.
7287 * rt/timer_gettime.c: Likewise.
7288 * rt/timer_settime.c: Likewise.
7289 * setjmp/__longjmp.c: Likewise.
7290 * setjmp/setjmp.c: Likewise.
7291 * signal/kill.c: Likewise.
7292 * signal/killpg.c: Likewise.
7293 * signal/raise.c: Likewise.
7294 * signal/sigaction.c: Likewise.
7295 * signal/sigaltstack.c: Likewise.
7296 * signal/sigblock.c: Likewise.
7297 * signal/sigignore.c: Likewise.
7298 * signal/sigintr.c: Likewise.
7299 * signal/signal.c: Likewise.
7300 * signal/sigpause.c: Likewise.
7301 * signal/sigpending.c: Likewise.
7302 * signal/sigqueue.c: Likewise.
7303 * signal/sigreturn.c: Likewise.
7304 * signal/sigset.c: Likewise.
7305 * signal/sigsetmask.c: Likewise.
7306 * signal/sigstack.c: Likewise.
7307 * signal/sigsuspend.c: Likewise.
7308 * signal/sigtimedwait.c: Likewise.
7309 * signal/sigvec.c: Likewise.
7310 * signal/sigwait.c: Likewise.
7311 * signal/sigwaitinfo.c: Likewise.
7312 * signal/sysv_signal.c: Likewise.
7313 * socket/accept.c: Likewise.
7314 * socket/accept4.c: Likewise.
7315 * socket/bind.c: Likewise.
7316 * socket/connect.c: Likewise.
7317 * socket/getpeername.c: Likewise.
7318 * socket/getsockname.c: Likewise.
7319 * socket/getsockopt.c: Likewise.
7320 * socket/isfdtype.c: Likewise.
7321 * socket/listen.c: Likewise.
7322 * socket/recv.c: Likewise.
7323 * socket/recvfrom.c: Likewise.
7324 * socket/recvmsg.c: Likewise.
7325 * socket/send.c: Likewise.
7326 * socket/sendmsg.c: Likewise.
7327 * socket/sendto.c: Likewise.
7328 * socket/setsockopt.c: Likewise.
7329 * socket/shutdown.c: Likewise.
7330 * socket/sockatmark.c: Likewise.
7331 * socket/socket.c: Likewise.
7332 * socket/socketpair.c: Likewise.
7333 * stdio-common/ctermid.c: Likewise.
7334 * stdio-common/cuserid.c: Likewise.
7335 * stdio-common/remove.c: Likewise.
7336 * stdio-common/rename.c: Likewise.
7337 * stdio-common/renameat.c: Likewise.
7338 * stdio-common/tempname.c: Likewise.
7339 * stdlib/getcontext.c: Likewise.
7340 * stdlib/makecontext.c: Likewise.
7341 * stdlib/setcontext.c: Likewise.
7342 * stdlib/swapcontext.c: Likewise.
7343 * stdlib/system.c: Likewise.
7344 * streams/fattach.c: Likewise.
7345 * streams/fdetach.c: Likewise.
7346 * streams/getmsg.c: Likewise.
7347 * streams/getpmsg.c: Likewise.
7348 * streams/putmsg.c: Likewise.
7349 * streams/putpmsg.c: Likewise.
7350 * sysdeps/unix/bsd/getpt.c: Likewise.
7351 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7352 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7353 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7355 Likewise.
7356 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7357 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7358 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7359 * sysvipc/msgctl.c: Likewise.
7360 * sysvipc/msgget.c: Likewise.
7361 * sysvipc/msgrcv.c: Likewise.
7362 * sysvipc/msgsnd.c: Likewise.
7363 * sysvipc/semctl.c: Likewise.
7364 * sysvipc/semget.c: Likewise.
7365 * sysvipc/semop.c: Likewise.
7366 * sysvipc/semtimedop.c: Likewise.
7367 * sysvipc/shmat.c: Likewise.
7368 * sysvipc/shmctl.c: Likewise.
7369 * sysvipc/shmdt.c: Likewise.
7370 * sysvipc/shmget.c: Likewise.
7371 * termios/tcdrain.c: Likewise.
7372 * termios/tcflow.c: Likewise.
7373 * termios/tcflush.c: Likewise.
7374 * termios/tcgetattr.c: Likewise.
7375 * termios/tcgetpgrp.c: Likewise.
7376 * termios/tcsendbrk.c: Likewise.
7377 * termios/tcsetattr.c: Likewise.
7378 * termios/tcsetpgrp.c: Likewise.
7379 * time/adjtime.c: Likewise.
7380 * time/clock.c: Likewise.
7381 * time/getitimer.c: Likewise.
7382 * time/gettimeofday.c: Likewise.
7383 * time/setitimer.c: Likewise.
7384 * time/settimeofday.c: Likewise.
7385 * time/stime.c: Likewise.
7386 * time/time.c: Likewise.
7387
73882012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7389
a20492cf
PT
7390 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7391 /usr/old/bin.
7392
72e182e3
PT
7393 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7394 instead of spaces.
7395 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7396
fbeafede
JM
73972012-11-03 Joseph Myers <joseph@codesourcery.com>
7398
5b5b04d6
JM
7399 [BZ #14796]
7400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7401 FE_TONEAREST before applying Dekker multiplication and Knuth
7402 addition. Clear inexact exceptions and check for exact zero
7403 results afterwards.
7404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7405 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7406 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7407 * math/libm-test.inc (fma_test): Add more tests.
7408 (fma_test_towardzero): Likewise.
7409 (fma_test_downward): Likewise.
7410 (fma_test_upward): Likewise.
7411 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7412 function.
7413 (libc_fesetround): New macro.
7414 (libc_fesetroundf): Likewise.
7415 (libc_fesetroundl): Likewise.
7416 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7417 function.
7418 (libc_fesetround_387): Likewise.
7419 (libc_fesetroundf): New macro.
7420 (libc_fesetround): Likewise.
7421 (libc_fesetroundl): Likewise.
7422 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7423 function.
7424 (libc_fesetroundf): New macro.
7425 (libc_fesetround): Likewise.
7426 (libc_fesetroundl): Likewise.
7427 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7428 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7429 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7430 libm_hidden_ver.
7431 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7432 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7433 libm_hidden_def.
7434 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7435 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7436 libm_hidden_ver.
7437 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7438 libm_hidden_def.
7439
fbeafede
JM
7440 [BZ #3439]
7441 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7442 integer constant usable in #if and use that to give value to enum
7443 constant.
7444 (FE_DIVBYZERO): Likewise.
7445 (FE_UNDERFLOW): Likewise.
7446 (FE_OVERFLOW): Likewise.
7447 (FE_INVALID): Likewise.
7448 (FE_INVALID_SNAN): Likewise.
7449 (FE_INVALID_ISI): Likewise.
7450 (FE_INVALID_IDI): Likewise.
7451 (FE_INVALID_ZDZ): Likewise.
7452 (FE_INVALID_IMZ): Likewise.
7453 (FE_INVALID_COMPARE): Likewise.
7454 (FE_INVALID_SOFTWARE): Likewise.
7455 (FE_INVALID_SQRT): Likewise.
7456 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7457 (FE_TONEAREST): Likewise.
7458 (FE_TOWARDZERO): Likewise.
7459 (FE_UPWARD): Likewise.
7460 (FE_DOWNWARD): Likewise.
7461 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7462 (FE_DIVBYZERO): Likewise.
7463 (FE_OVERFLOW): Likewise.
7464 (FE_UNDERFLOW): Likewise.
7465 (FE_INEXACT): Likewise.
7466 (FE_TONEAREST): Likewise.
7467 (FE_DOWNWARD): Likewise.
7468 (FE_UPWARD): Likewise.
7469 (FE_TOWARDZERO): Likewise.
7470 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7471 (FE_UNDERFLOW): Likewise.
7472 (FE_OVERFLOW): Likewise.
7473 (FE_DIVBYZERO): Likewise.
7474 (FE_INVALID): Likewise.
7475 (FE_TONEAREST): Likewise.
7476 (FE_TOWARDZERO): Likewise.
7477 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7478 (FE_OVERFLOW): Likewise.
7479 (FE_UNDERFLOW): Likewise.
7480 (FE_DIVBYZERO): Likewise.
7481 (FE_INEXACT): Likewise.
7482 (FE_TONEAREST): Likewise.
7483 (FE_TOWARDZERO): Likewise.
7484 (FE_UPWARD): Likewise.
7485 (FE_DOWNWARD): Likewise.
7486 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7487 (FE_DIVBYZERO): Likewise.
7488 (FE_OVERFLOW): Likewise.
7489 (FE_UNDERFLOW): Likewise.
7490 (FE_INEXACT): Likewise.
7491 (FE_TONEAREST): Likewise.
7492 (FE_DOWNWARD): Likewise.
7493 (FE_UPWARD): Likewise.
7494 (FE_TOWARDZERO): Likewise.
7495
105ca950
CM
74962012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7497
7498 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7499
a542b389
AS
75002012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7501
7502 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7503 commands. Quote $PWD.
7504 (blacklist_exports): Don't use remove_newlines. Replace "declare
7505 -x" by "export".
7506 (remove_newlines): Remove.
7507
f62c8abc
L
75082012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7509
7510 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7511 * stdlib/stdlib.h (atof): Moved to ...
7512 * include/bits/stdlib-float.h: Here. New file.
7513 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7514 * stdlib/bits/stdlib-float.h: New file.
7515 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7516 -mno-sse -mno-mmx.
7517 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7518 <xmmintrin.h>.
7519
0155d5b2
JM
75202012-11-02 Joseph Myers <joseph@codesourcery.com>
7521
a68d0680
JM
7522 * conform/conformtest.pl (@headers): Add fenv.h.
7523 * conform/data/fenv.h-data: New file.
7524 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7525 include of <math/fenv.h>.
7526
caf7f573
JM
7527 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7528 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7529 && !UNIX98]. Enables tests for XOPEN2K8.
7530 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7531 POSIX2008]: Likewise.
7532
6c073ad6
JM
7533 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7534 (struct rusage): Do not expect type or its members.
7535
0155d5b2
JM
7536 [BZ #3439]
7537 * math/math.h (FP_NAN): Define macro to integer constant usable in
7538 #if and use that to give value to enum constant.
7539 (FP_INFINITE): Likewise.
7540 (FP_ZERO): Likewise.
7541 (FP_SUBNORMAL): Likewise.
7542 (FP_NORMAL): Likewise.
7543
b5dcacb4
AS
75442012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7545
7546 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7547 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7548 arguments.
7549
f7934be8
RM
75502012-11-02 Roland McGrath <roland@hack.frob.com>
7551
7552 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7553 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7554 autoconf-time if not.
7555 * configure.in: Remove AC_PREREQ.
7556
d7d08bde
TMQMF
75572012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7558
7559 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7560 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7561 of the internal implementation.
7562
dcdae19a
JM
75632012-11-02 Joseph Myers <joseph@codesourcery.com>
7564
7565 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7566 except include of <misc/sys/syslog.h>.
7567
d6cffd3e
AS
75682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7569
7570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7571 function returns with a NULL context exit with zero.
7572
b3563932
TMQMF
75732012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7574
7575 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7576
b288a93d
L
75772012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7578
7579 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7580 (run_program_cmd): This.
7581 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7582 (tst_langinfo): New variable. Use it.
7583
a2421a68
SAS
75842012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7585
7586 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7587 floating point opcodes.
7588
6f796e1b
TS
75892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7590
7402596b
TS
7591 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7592 variable.
7593
d0d4f868
TS
7594 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7595
6f796e1b
TS
7596 * sysdeps/mach/hurd/powerpc: Remove directory.
7597 * sysdeps/mach/powerpc: Likewise.
7598
4da224a2
AS
75992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7600
7601 * scripts/check-local-headers.sh: Ignore c++ headers.
7602
341dd673
TS
76032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7604
7605 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7606 __libc_cleanup_region_start argument.
7607
473611b2
JM
76082012-11-01 Joseph Myers <joseph@codesourcery.com>
7609
7610 [BZ #14784]
7611 [BZ #14785]
7612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7613 x * y using scaling, not as x * y + z.
7614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7616 * math/libm-test.inc (fma_test): Add more tests.
7617 (fma_test_towardzero): Likewise.
7618 (fma_test_downward): Likewise.
7619 (fma_test_upward): Likewise.
7620
4078da3d
TS
76212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7622
7623 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7624
903252aa
JM
76252012-10-31 Joseph Myers <joseph@codesourcery.com>
7626
7627 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7628 New variable.
7629
cbc818d0
TS
76302012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7631
7632 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7633
5a03cb1e
AS
76342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7635
7636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7637 Fix sort order.
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7639 Likewise.
7640
90aff2ff
TMQMF
76412012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7642
7643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7644 Fix the order of the list for glibc 2.17.
7645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7646 Likewise.
7647
1818fcb7
AS
76482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7649
7650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7651
ef82f4da
JM
76522012-10-31 Joseph Myers <joseph@codesourcery.com>
7653
16a0e2ec
JM
7654 [BZ #14610]
7655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7656 for low part of x being zero before using __atanl (y).
7657 * math/libm-test.inc (atan2_test): Add another test.
7658
0eb69512
JM
7659 * manual/install.texi (Configuring and compiling): Document
7660 general use of test-wrapper and test-wrapper-env.
7661 * INSTALL: Regenerated.
7662
ef82f4da
JM
7663 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7664 (__fma): Do not extract and scale down low bits on after-rounding
7665 systems when result rounded to normal precision would have normal
7666 exponent.
7667 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7668 (__fmal): Do not extract and scale down low bits on after-rounding
7669 systems when result rounded to normal precision would have normal
7670 exponent.
7671 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7672 (__fmal): Do not extract and scale down low bits on after-rounding
7673 systems when result rounded to normal precision would have normal
7674 exponent.
7675 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7676 macro.
7677 (fma_test): Add more tests.
7678 (fma_test_towardzero): Likewise.
7679 (fma_test_downward): Likewise.
7680 (fma_test_upward): Likewise.
7681
954ef0d9
L
76822012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7683
7684 * sysdeps/i386/tininess.h: Renamed to ...
7685 * sysdeps/x86/tininess.h: This.
7686 * sysdeps/x86_64/tininess.h: Removed.
7687
df61ffb2
JM
76882012-10-30 Joseph Myers <joseph@codesourcery.com>
7689
7690 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7691 input. Use $(build-program-cmd).
7692 ($(objpfx)tst-array1-static.out): Likewise.
7693 ($(objpfx)tst-array2.out): Likewise.
7694 ($(objpfx)tst-array3.out): Likewise.
7695 ($(objpfx)tst-array4.out): Likewise.
7696 ($(objpfx)tst-array5.out): Likewise.
7697 ($(objpfx)tst-array5-static.out): Likewise.
7698
01767843
CM
76992012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7700
47cc1490
CM
7701 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7702 if defined.
7703
01767843
CM
7704 * nss/nsswitch.h (nss_interface_function): Provide new
7705 macro for use with NSS functions.
7706 * grp/initgroups.c: Use new macro.
7707 * nss/getXXbyYY.c: Likewise.
7708 * nss/getXXbyYY_r.c: Likewise.
7709 * nss/getXXent.c: Likewise.
7710 * nss/getXXent_r.c: Likewise.
7711 * sysdeps/posix/getaddrinfo.c: Likewise.
7712
8321aa97
AJ
77132012-10-30 Andreas Jaeger <aj@suse.de>
7714
7715 * po/ru.po: Update Russion translation from translation project.
7716
2a27fd6d
JM
77172012-10-30 Joseph Myers <joseph@codesourcery.com>
7718
8627a232
JM
7719 [BZ #14152]
7720 [BZ #14783]
7721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7722 result and shift together with sticky bit instead of replicating
7723 round-to-nearest rounding.
7724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7725 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7726 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7727 missing underflow exceptions.
7728 (fma_test_towardzero): Add more tests.
7729 (fma_test_downward): Likewise.
7730 (fma_test_upward): Likewise.
7731
2a27fd6d
JM
7732 [BZ #14047]
7733 * sysdeps/generic/tininess.h: New file.
7734 * sysdeps/i386/tininess.h: Likewise.
7735 * sysdeps/sh/tininess.h: Likewise.
7736 * sysdeps/x86_64/tininess.h: Likewise.
7737 * stdlib/tst-strtod-underflow.c: Likewise.
7738 * stdlib/tst-tininess.c: Likewise.
7739 * stdlib/strtod_l.c: Include <tininess.h>.
7740 (round_and_return): Do not set errno for exact underflow cases.
7741 Force an underflow exception when setting errno for underflow.
7742 Determine underflow based on rounding to normal precision if
7743 TININESS_AFTER_ROUNDING.
7744 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7745 ERANGE for exact underflow cases.
7746 * stdlib/Makefile (tests): Add tst-tininess and
7747 tst-strtod-underflow.
7748 ($(objpfx)tst-tininess): Use $(link-libm).
7749 ($(objpfx)tst-strtod-underflow): Likewise.
7750
e7170363
AJ
77512012-10-30 Andreas Jaeger <aj@suse.de>
7752
e5088dc6
AJ
7753 [BZ#14767]
7754 * elf/Makefile (tests): Remove conditional for have-initfini-array
7755 since this is now always required and the variable does not exist
7756 anymore.
7757 (tests-static): Likewise.
7758 (modules-names): Likewise.
7759
e7170363 7760 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7761
7762 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7763 merged with constructor/destructor.
7764 (init_array): Likewise.
7765 * elf/tst-array2dep.c (fini_array): Likewise.
7766 (init_array): Likewise.
7767
60457d8a
MF
77682012-10-29 Mike Frysinger <vapier@gentoo.org>
7769
7770 * manual/message.texi: Delete @cartouche tags.
7771
8bece752
PT
77722012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7773
94ce799f
PT
7774 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7775 EOPNOTSUPP.
7776 * sysdeps/mach/hurd/fsync.c: Likewise.
7777
8bece752
PT
7778 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7779 [_POSIX_REALTIME_SIGNALS]: Change condition to
7780 [_POSIX_REALTIME_SIGNALS > 0].
7781
86ebe6b1
AJ
77822012-10-27 Andreas Jaeger <aj@suse.de>
7783
7784 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7785 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7787 [__WORDSIZE != 64]: Likewise.
7788
54399c08
L
77892012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7790
7791 * iconvdata/tst-table.sh: Remove ${SHELL}.
7792 * iconvdata/tst-tables.sh: Likewise.
7793
e2211bed
DM
77942012-10-25 David S. Miller <davem@davemloft.net>
7795
7796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7797 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7798 of strtoull.
7799
f303f97c
DM
7800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7801 ifunc-impl-list.c
7802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7803 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7804 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7805 file.
7806
1e9d84cd
RM
78072012-10-25 Roland McGrath <roland@hack.frob.com>
7808
7809 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7810 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7811 __getdirentries.
7812
df381762
JM
78132012-10-25 Joseph Myers <joseph@codesourcery.com>
7814 Jim Blandy <jimb@codesourcery.com>
7815
7816 * scripts/cross-test-ssh.sh: New file.
7817 * manual/install.texi (Configuring and compiling): Document use of
7818 cross-test-ssh.sh.
7819 * INSTALL: Regenerated.
7820
bff64913
PT
78212012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7822
7823 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7824 EOPNOTSUPP.
7825
25fe8932
JM
78262012-10-25 Joseph Myers <joseph@codesourcery.com>
7827
7828 * Makeconfig (run-program-prefix): Fix comment.
7829
cc1290d0
JM
78302012-10-24 Joseph Myers <joseph@codesourcery.com>
7831 Jim Blandy <jimb@codesourcery.com>
7832
7833 * Makeconfig (test-wrapper): New variable,
7834 (test-wrapper-env): Likewise.
7835 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7836 (run-built-tests): Define to yes.
7837 (run-program-prefix): Use $(test-wrapper).
7838 (built-program-cmd): Likewise.
7839 * Rules (make-test-out): Use $(test-wrapper-env) and
7840 $(host-built-program-cmd).
7841 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7842 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7843 tst-pathopt.sh.
7844 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7845 $(test-wrapper-env) to tst-rtld-load-self.sh.
7846 ($(objpfx)order2.out): Use $(test-wrapper).
7847 ($(objpfx)tst-initorder.out): Likewise.
7848 ($(objpfx)tst-initorder2.out): Likewise.
7849 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7850 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7851 (test_wrapper_env): New variable. Use it to run ld.so.
7852 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7853 Use it to run ld.so.
7854 (test_wrapper_env): Likewise.
7855 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7856 $(test-wrapper) to run-iconv-test.sh.
7857 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7858 (ICONV): Use $test_wrapper.
7859 * posix/Makefile ($(objpfx)globtest.out): Pass
7860 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7861 globtest.sh, not $(run-program-prefix).
7862 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7863 (test_wrapper): Likewise.
7864 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7865 set together with run_via_rtld_prefix.
7866 (run_program_prefix): Define in terms of test_wrapper and
7867 run_via_rtld_prefix.
7868
6e6249d0
RM
78692012-10-24 Roland McGrath <roland@hack.frob.com>
7870
7871 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7872 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7873 Targets removed.
7874
7875 [BZ #14743]
7876 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7877 Declare __clock_getres, __clock_gettime, __clock_settime,
7878 __clock_nanosleep, and __clock_getcpuclockid.
7879 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7880 Remove librt_hidden_def (clock_gettime).
7881 * sysdeps/unix/clock_gettime.c: Likewise.
7882 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7883 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7884 * rt/clock_getres.c: Define __clock_getres as an alias.
7885 * sysdeps/posix/clock_getres.c: Likewise.
7886 * rt/clock_settime.c: Define __clock_settime as an alias.
7887 * sysdeps/unix/clock_settime.c: Likewise.
7888 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7889 * sysdeps/unix/clock_nanosleep.c: Likewise.
7890 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7891 * rt/clock-compat.c: New file.
7892 * rt/Makefile (librt-routines): Add clock-compat and move
7893 $(clock-routines) to ...
7894 (routines): ... here, new variable.
7895 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7896 Don't add get_clockfreq here.
7897 * rt/Versions (libc: GLIBC_2.17): New version set.
7898 Add clock_* symbols here.
7899 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7900 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7901 (GLIBC_2.17): Add clock_* symbols.
7902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7906 Likewise.
7907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7908 Likewise.
7909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7913 * NEWS: Mention the move.
7914
7915 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7916 Use __open, __read, __close rather than their public counterparts.
7917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7918 (__get_clockfreq_via_cpuinfo): Likewise.
7919 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7920 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7921
7922 * config.h.in (HAVE_IFUNC): New #undef.
7923 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7924 was successful.
7925 * configure: Regenerated.
7926
0cae3f4b
MF
79272012-10-24 Mike Frysinger <vapier@gentoo.org>
7928
7929 * configure.in: Move READELF check to start of file.
7930 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7931 libc_cv_asm_gnu_indirect_function in the process.
7932 * configure: Regenerated.
7933
8175a253
MF
79342012-10-24 Mike Frysinger <vapier@gentoo.org>
7935
7936 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7937 send the output to /dev/null.
7938 (libc_cv_cc_with_libunwind): Likewise.
7939 (libc_cv_as_noexecstack): Likewise.
7940 * configure: Regenerate.
7941
0708a7d1
JM
79422012-10-24 Joseph Myers <joseph@codesourcery.com>
7943
10b40d85
JM
7944 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7945
0708a7d1
JM
7946 * posix/globtest.sh (TMPDIR): Do not set.
7947 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7948 (testout): Likewise.
7949
9fddec1a
AJ
79502012-10-24 Andreas Jaeger <aj@suse.de>
7951
3a8db22f
AJ
7952 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7953 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7954 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7955 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7956 posix_fadvise64, posix_fallocate64.
7957
9fddec1a
AJ
7958 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7959 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7960 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7961 Likewise.
7962 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7963 Likewise.
7964 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7965
7966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7967 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7968 <bits/fcntl-linux.h>.
7969 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7970
7971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7972 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7973 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7974 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7975 [__WORDSIZE != 64]: Likewise.
7976
ebfd1bbd
JM
79772012-10-23 Joseph Myers <joseph@codesourcery.com>
7978
03ac099f
JM
7979 * Makeconfig (run-built-tests): New variable.
7980 * Rules [$(cross-compiling) = yes]: Change condition to
7981 [$(run-built-tests) = no].
7982 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7983 to [$(run-built-tests) = yes].
7984 * elf/Makefile [$(cross-compiling) = no]: Likewise
7985 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7986 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7987 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7988 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7989 * io/Makefile [$(cross-compiling) = no]: Likewise.
7990 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7991 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7992 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7993 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7994 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7995 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7996 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7997 * string/Makefile [$(cross-compiling) = no]: Likewise.
7998
ebfd1bbd
JM
7999 * posix/Makefile ($(objpfx)globtest.out): Pass
8000 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8001 $(rtld-installed-name).
8002 * posix/globtest.sh (elf_objpfx): Remove variable.
8003 (rtld_installed_name): Likewise.
8004 (library_path): Likewise.
8005 (run_program_prefix): New variable. Use for running globtest
8006 binary.
8007
166bca24
JB
80082012-10-23 Jim Blandy <jimb@codesourcery.com>
8009 Joseph Myers <joseph@codesourcery.com>
8010
8011 * Makeconfig (host-built-program-cmd): New variable.
8012 * elf/Makefile (tst-stackguard1-ARGS): Use
8013 $(host-built-program-cmd).
8014 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8015 (tst-spawn-ARGS): Likewise.
8016 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8017
88866099
JM
80182012-10-23 Joseph Myers <joseph@codesourcery.com>
8019 Jim Blandy <jimb@codesourcery.com>
8020
8021 * Makeconfig (run-via-rtld-prefix): New variable.
8022 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8023 (built-program-cmd): Likewise.
8024
b4b4c296
AJ
80252012-10-22 Andreas Jaeger <aj@suse.de>
8026
8027 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8028 __O_RSYNC if it exists, otherwise to O_SYNC.
8029
6fb54a22
JB
80302012-10-22 Jim Blandy <jimb@codesourcery.com>
8031 Joseph Myers <joseph@codesourcery.com>
8032
8033 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8034 /dev/null.
8035 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8036 from /dev/null
8037 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8038 /dev/null.
8039
481b90b9
AJ
80402012-10-22 Andreas Jaeger <aj@suse.de>
8041
2a0e2669
AJ
8042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8043 Define always.
8044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8045
76e38f9a
AJ
8046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8047 bits/fcntl-linux.h.
8048
7cd37b43
AJ
8049 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8050 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8051
481b90b9
AJ
8052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8053 to __O_LARGEFILE.
8054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8055 to __O_LARGEFILE.
8056
aba75984
JB
80572012-10-21 Jim Blandy <jimb@codesourcery.com>
8058 Joseph Myers <joseph@codesourcery.com>
8059
8060 * config.make.in (NM): New variable.
8061
88d4247f
AJ
80622012-10-21 Andreas Jaeger <aj@suse.de>
8063
8064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8065 definitions and declarations that are provided by
8066 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8067
f2eed205
L
80682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8069
8070 [BZ #14683]
8071 * elf/Makefile (tests-static): Add tst-leaks1-static.
8072 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8073 ($(objpfx)tst-leaks1-static): New rule.
8074 ($(objpfx)tst-leaks1-static-mem): Likewise.
8075 (tst-leaks1-static-ENV): New macro.
8076 * elf/dl-open.c (dl_open_worker): Check the main application
8077 only if SHARED is defined.
8078 * elf/tst-leaks1-static.c: New file.
8079
335e6931
AJ
80802012-10-20 Andreas Jaeger <aj@suse.de>
8081
8082 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8083 generic values for Linux.
8084 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8085 and declarations that are provided by <bits/fcntl-linux.h> and
8086 include <bits/fcntl-linux.h>.
8087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8089
ac5c94d3
RM
80902012-10-20 Roland McGrath <roland@hack.frob.com>
8091
8092 * io/fcntl.h: Move include of <bits/types.h> to the top and
8093 include it unconditionally.
8094
de54b33a
L
80952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8096
228cfb01
L
8097 * wcsmbs/Makefile (tests-ifunc): New variable.
8098 (tests): Add $(tests-ifunc).
8099 * wcsmbs/test-wcschr-ifunc.c: New file.
8100 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8101 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8102 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8103 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8104 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8105
69f07e5f
L
8106 * string/Makefile (tests-ifunc): New variable.
8107 (tests): Add $(tests-ifunc).
8108 * string/test-memccpy.c (TEST_NAME): New macro.
8109 * string/test-memchr.c (TEST_NAME): Likewise.
8110 * string/test-memcmp.c (TEST_NAME): Likewise.
8111 * string/test-memcpy.c (TEST_NAME): Likewise.
8112 * string/test-memmem.c (TEST_NAME): Likewise.
8113 * string/test-memmove.c (TEST_NAME): Likewise.
8114 * string/test-memset.c (TEST_NAME): Likewise.
8115 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8116 * string/test-stpcpy.c (TEST_NAME): Likewise.
8117 * string/test-stpncpy.c (TEST_NAME): Likewise.
8118 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8119 * string/test-strcasestr.c (TEST_NAME): Likewise.
8120 * string/test-strcat.c (TEST_NAME): Likewise.
8121 * string/test-strchr.c (TEST_NAME): Likewise.
8122 * string/test-strcmp.c(TEST_NAME): Likewise.
8123 * string/test-strcpy.c (TEST_NAME): Likewise.
8124 * string/test-strcspn.c (TEST_NAME): Likewise.
8125 * string/test-strlen.c (TEST_NAME): Likewise.
8126 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8127 * string/test-strncmp.c (TEST_NAME): Likewise.
8128 * string/test-strncpy.c (TEST_NAME): Likewise.
8129 * string/test-strnlen.c (TEST_NAME): Likewise.
8130 * string/test-strpbrk.c (TEST_NAME): Likewise.
8131 * string/test-strrchr.c (TEST_NAME): Likewise.
8132 * string/test-strspn.c (TEST_NAME): Likewise.
8133 * string/test-strstr.c (TEST_NAME): Likewise.
8134 * string/test-bcopy-ifunc.c: New file.
8135 * string/test-bzero-ifunc.c: Likewise.
8136 * string/test-memccpy-ifunc.c: Likewise.
8137 * string/test-memchr-ifunc.c: Likewise.
8138 * string/test-memcmp-ifunc.c: Likewise.
8139 * string/test-memcpy-ifunc.c: Likewise.
8140 * string/test-memmem-ifunc.c: Likewise.
8141 * string/test-memmove-ifunc.c: Likewise.
8142 * string/test-mempcpy-ifunc.c: Likewise.
8143 * string/test-memset-ifunc.c: Likewise.
8144 * string/test-rawmemchr-ifunc.c: Likewise.
8145 * string/test-stpcpy-ifunc.c: Likewise.
8146 * string/test-stpncpy-ifunc.c: Likewise.
8147 * string/test-strcasecmp-ifunc.c: Likewise.
8148 * string/test-strcasestr-ifunc.c: Likewise.
8149 * string/test-strcat-ifunc.c: Likewise.
8150 * string/test-strchr-ifunc.c: Likewise.
8151 * string/test-strchrnul-ifunc.c: Likewise.
8152 * string/test-strcmp-ifunc.c: Likewise.
8153 * string/test-strcpy-ifunc.c: Likewise.
8154 * string/test-strcspn-ifunc.c: Likewise.
8155 * string/test-strlen-ifunc.c: Likewise.
8156 * string/test-strncasecmp-ifunc.c: Likewise.
8157 * string/test-strncat-ifunc.c: Likewise.
8158 * string/test-strncmp-ifunc.c: Likewise.
8159 * string/test-strncpy-ifunc.c: Likewise.
8160 * string/test-strnlen-ifunc.c: Likewise.
8161 * string/test-strpbrk-ifunc.c: Likewise.
8162 * string/test-strrchr-ifunc.c: Likewise.
8163 * string/test-strspn-ifunc.c: Likewise.
8164 * string/test-strstr-ifunc.c: Likewise.
8165
de54b33a
L
8166 * debug/Makefile (tests-ifunc): New variable.
8167 (tests): Add $(tests-ifunc).
8168 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8169 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8170 * debug/test-stpcpy_chk-ifunc.c: New file.
8171 * debug/test-strcpy_chk-ifunc.c: Likewise.
8172
88481c16
SP
81732012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8174
8175 [BZ #13601]
8176 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8177 header is not read in.
8178
135948bd
JM
81792012-10-19 Joseph Myers <joseph@codesourcery.com>
8180
89f1c388
JM
8181 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8182 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8183 directly. Pass built executable to script as
8184 $(built-program-cmd).
8185 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8186 $testprogram without using LD_LIBRARY_PATH and $ldso.
8187
e40a0d21
JM
8188 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8189 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8190 $(rtld-installed-name).
8191 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8192 (rtld_installed_name): Likewise.
8193 (library_path): Likewise.
8194 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8195 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8196 $(run-program-prefix) to tst-tables.sh.
8197 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8198 it to run tst-table-from and tst-table-to.
8199 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8200 Pass it to tst-table.sh.
8201 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8202 $(run-program-prefix) to tst-gettext.sh.
8203 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8204 tst-translit.sh.
8205 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8206 tst-gettext2.sh.
8207 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8208 to run tst-gettext.
8209 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8210 to run tst-gettext2.
8211 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8212 to run tst-translit.
8213 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8214 $(run-program-prefix) to tst-mtrace.sh.
8215 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8216 to run tst-mtrace.
8217 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8218 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8219 $(rtld-installed-name).
8220 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8221 (rtld_installed_name): Likewise.
8222 (run_program_prefix): New variable. Use it to run wordexp-test.
8223
728e272a
JM
8224 * Makeconfig (ARCH): Remove all definitions.
8225 (machine): Likewise.
8226 [ARCH]: Remove conditional code.
8227 [!objdir]: Give error.
8228 [!objdir] (objpfx): Remove.
8229 [!objdir] (common-objpfx): Likewise.
8230 [!objdir] (common-objdir): Likewise.
8231 * configure.in (config_makefile): Remove. Hardcode Makefile in
8232 AC_CONFIG_FILES call.
8233 * configure: Regenerated.
8234
d528cdcf
JM
8235 [BZ #13888]
8236 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8237 or TMPDIR.
8238 (testout): Likewise.
8239
135948bd
JM
8240 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8241 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8242 $(rtld-installed-name).
8243 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8244 (rtld_installed_name): Likwise.
8245 (runit): Remove function.
8246 (run_getconf): New variable, Use it for running getconf binary.
8247
38c78296
L
82482012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8249
8250 [BZ #14716]
8251 * string/test-memmem.c (check_result): New function.
8252 (do_one_test): Use it.
8253 (check1): New function.
8254 (test_main): Use it.
8255
d077f65f
MT
82562012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8257
8258 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8259
ced52c71
JM
82602012-10-18 Joseph Myers <joseph@codesourcery.com>
8261
8262 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8263 (_G_LSEEK64): Likewise.
8264 (_G_MMAP64): Likewise.
8265 (_G_FSTAT64): Likewise.
8266 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8267 (_G_LSEEK64): Likewise.
8268 (_G_MMAP64): Likewise.
8269 (_G_FSTAT64): Likewise.
8270 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8271 unconditional. Call __mmap64 directly.
8272 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8273 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8274 __lseek64 directly.
8275 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8276 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8277 __mmap64 directly.
8278 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8279 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8280 __lseek64 directly.
8281 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8282 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8283 __lseek64 directly.
8284 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8285 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8286 __lseek64 directly.
8287 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8288 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8289 __fxstat64 directly.
8290 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8291 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8292 unconditional.
8293 (freopen64) [!_G_OPEN64]: Remove conditional code.
8294 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8295 unconditional.
8296 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8297 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8298 unconditional.
8299 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8300 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8301 unconditional.
8302 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8303 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8304 unconditional.
8305 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8306 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8307 unconditional.
8308 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8309 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8310 unconditional.
8311 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8312 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8313 unconditional.
8314 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8315
b741de23
SP
83162012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8317
8318 [BZ #12140]
8319 * manual/memory.texi (Malloc Tunable Parameters): Add note
8320 about free list pointers overwriting some perturb bytes.
8321 Wording suggested by Roland McGrath.
8322
f9b9d9c9
JM
83232012-10-17 Joseph Myers <joseph@codesourcery.com>
8324
8325 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8326 (lgamma_test): Likewise.
8327 (tgamma_test): Likewise.
8328
172a631a
FW
83292012-10-16 Florian Weimer <fweimer@redhat.com>
8330
8331 [BZ #14700]
8332 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8333 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8334
e9f37252
MK
83352012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8336
8337 * NEWS: Mention BZ #14716.
8338 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8339 when removing AVAILABLE1_USES_J macro.
8340
d394eb74
L
83412012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8342
8343 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8344 (__bswap_64): __uint64_t for unsigned 64-bit int.
8345
ca38dc17
AS
83462012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8347
8348 * include/string.h (memmem): Declare libc hidden alias.
8349 * string/memmem.c (memmem): Define libc hidden alias.
8350 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8351 __read, __close instead of open, read, close.
8352
9a387d1f
L
83532012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8354
ac49ecaf
L
8355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8356 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8357 global and hidden.
8358 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8359 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8360 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8361 Likewise.
8362 (__rawmemchr_sse2): Likewise.
8363 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8364 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8365 (__strchr_sse2): Likewise.
8366 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8367 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8368 (__strcasecmp_sse2): Likewise.
8369 (__strncasecmp_sse2): Likewise.
8370 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8371 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8372 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8373 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8374 (__strrchr_sse2): Likewise.
8375 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8376 ifunc-impl-list.c.
8377 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8378 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8379 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8380 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8381 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8382 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8383 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8384 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8385 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8386 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8387 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8388 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8389 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8390 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8391 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8392 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8393 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8394 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8395 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8396 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8397 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8398 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8399 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8400 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8401 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8402 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8403 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8404 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8405 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8406 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8407
b090e8ea
L
8408 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8409 global and hidden.
8410 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8411 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8412 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8413 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8414 Likewise.
8415 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8416 Likewise.
8417 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8418 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8419 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8420 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8421 ifunc-impl-list.c.
8422 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8423 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8424 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8425 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8426 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8427 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8429 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8430 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8431 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8432 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8433 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8434 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8435 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8436 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8437 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8438 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8439 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8440 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8441 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8444 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8445 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8446 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8453 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8454 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8455 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8456 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8457 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8458 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8459 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8460 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8461 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8462 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8463
11dd4af6
L
8464 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8465 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8466 * include/ifunc-impl-list.h: New file.
8467 * misc/ifunc-impl-list.c: Likewise.
8468 * misc/Makefile (routines): Add ifunc-impl-list.
8469 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8470 * string/test-string.h: Include <ifunc-impl-list.h>.
8471 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8472 impl_array): New variables.
8473 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8474 are defined.
8475 (test_init): Call __libc_ifunc_impl_list to initialize
8476 func_list if TEST_IFUNC and TEST_NAME are defined.
8477
9a387d1f
L
8478 * string/Makefile (strop-tests): Add bcopy and bzero.
8479 * string/test-bcopy.c: New file.
8480 * string/test-bzero.c: Likewise.
8481 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8482 defined.
8483 * string/test-memset.c: Support bzero test if TEST_BZERO is
8484 defined.
8485 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8486 __libc_memmove.
8487 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8488 __libc_memset.
8489 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8490 of memset.
8491
472371b9
JM
84922012-10-10 Joseph Myers <joseph@codesourcery.com>
8493
1e4a9536
JM
8494 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8495 * configure: Regenerated.
8496
d173d12e
JM
8497 * Makeconfig (+link-static-before-libc): Don't include
8498 $(link-static-libc).
8499
472371b9
JM
8500 * libio/libio.h (_IO_pos_t): Remove.
8501
89a3ad0b
AO
85022012-10-10 Alexandre Oliva <aoliva@redhat.com>
8503
8504 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8505 McGrath.
8506
e7451425
AO
85072012-10-10 Alexandre Oliva <aoliva@redhat.com>
8508
8509 * crypt/crypt-entry.c: Include fips-private.h.
8510 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8511 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8512 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8513 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8514
4ba74a35
AO
85152012-10-10 Alexandre Oliva <aoliva@redhat.com>
8516
8517 * crypt/crypt-private.h: Include stdbool.h.
8518 (_ufc_setup_salt_r): Return bool.
8519 * crypt/crypt-entry.c: Include errno.h.
8520 (__crypt_r): Return NULL with EINVAL for bad salt.
8521 * crypt/crypt_util.c (bad_for_salt): New.
8522 (_ufc_setup_salt_r): Check that salt is long enough and within
8523 the specified alphabet.
8524 * crypt/badsalttest.c: New file.
8525 * crypt/Makefile (tests): Add it.
8526 ($(objpfx)badsalttest): New.
8527
f96f1242
MK
85282012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8529
8530 * NEWS: Add entry for BZ #14602.
8531
0e8e0c1c
JM
85322012-10-09 Joseph Myers <joseph@codesourcery.com>
8533
8534 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8535 type-generic.
8536 * math/libm-test.inc: Update comment listing what functions and
8537 macros are tested.
8538 (isgreater_test): New function.
8539 (isgreaterequal_test): Likewise.
8540 (isless_test): Likewise.
8541 (islessequal_test): Likewise.
8542 (islessgreater_test): Likewise.
8543 (isunordered_test): Likewise.
8544 (main): Call the new functions.
8545
273edc5e
RM
85462012-10-09 Roland McGrath <roland@hack.frob.com>
8547
b8493de0
RM
8548 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8549 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8550 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8551 * sysdeps/i386/configure: Regenerated.
8552 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8553 * sysdeps/mach/configure: Regenerated.
8554 * sysdeps/mach/hurd/configure: Regenerated.
8555 * sysdeps/powerpc/configure: Regenerated.
8556 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8557 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8558 * sysdeps/s390/s390-32/configure: Regenerated.
8559 * sysdeps/s390/s390-64/configure: Regenerated.
8560 * sysdeps/sh/configure: Regenerated.
8561 * sysdeps/sparc/configure: Regenerated.
8562 * sysdeps/unix/sysv/linux/configure: Regenerated.
8563 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8564 * sysdeps/x86_64/configure: Regenerated.
8565
273edc5e
RM
8566 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8567 defined. Don't check if MAP is NULL.
8568
c8450f70
JM
85692012-10-09 Joseph Myers <joseph@codesourcery.com>
8570
8571 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8572 (_G_stat64): Likewise.
8573 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8574 (_G_stat64): Likewise.
8575 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8576 instead of struct _G_stat64.
8577 * libio/fileops.c (mmap_remap_check): Likewise.
8578 (decide_maybe_mmap): Likewise.
8579 (_IO_new_file_seekoff): Likewise.
8580 (_IO_file_stat): Likewise.
8581 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8582 _G_off64_t.
8583 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8584 instead of struct _G_stat64.
8585 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8586
57e605ba
MK
85872012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8588
8589 [BZ #14602]
8590 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8591 Replace with ...
8592 (CHECK_EOL): New macro.
8593 (two_way_short_needle): Check beginning of haystack for EOL. Use
8594 CHECK_EOL.
8595 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8596 Replace with CHECK_EOL.
8597 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8598 Replace with CHECK_EOL.
8599
ef1bb361
JM
86002012-10-08 Joseph Myers <joseph@codesourcery.com>
8601
8602 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8603 type-generic.
8604 * math/libm-test.inc: Update comment listing what functions and
8605 macros are tested.
8606 (finite_test): New function.
8607 (isinf_test): Likewise.
8608 (isnan_test): Likewise.
8609 (fpclassify_test): Test subnormal input.
8610 (isfinite_test): Likewise.
8611 (isnormal_test): Likewise.
8612 (main): Call the new functions.
8613
55f11534
JN
86142012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8615
8616 [BZ #14660]
8617 * Makerules (%.dynsym): Force C locale when running
8618 $(OBJDUMP) --dynamic-syms.
8619
1ab29350
AS
86202012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8621
8622 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8623 <stdint.h>.
8624
f1ecb7ef
DM
86252012-10-06 David S. Miller <davem@davemloft.net>
8626
8627 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8628 upper 32-bits of the length value in %o2 since we use branch-on-register
8629 tests which consider the entire 64-bit register.
8630
5d41d91a
L
86312012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8632
8633 * string/test-strstr.c (check2): Add a test for page boundary.
8634
3baddb72
DM
86352012-10-05 David S. Miller <davem@davemloft.net>
8636
8637 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8638 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8639 file.
8640 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8641 sysdep_routines.
8642 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8643 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8644 and bzero when HWCAP_SPARC_CRYPTO is present.
8645
9cee5585
L
86462012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8647
d7e0dab9
L
8648 [BZ #14602]
8649 * string/test-strstr.c (check2): New function.
8650 (test_main): Call check2.
8651
03759f47
L
8652 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8653 and bug-strchr1.
8654 * string/bug-strcasestr1.c (do_test): Moved to ...
8655 * string/test-strcasestr.c (check1): Here. New function.
8656 (do_one_test): Break out result checking code into ...
8657 (check_result): This. New function.
8658 (do_one_test): Call check_result.
8659 (test_main): Call check1.
8660 * string/bug-strchr1.c (do_test): Moved to ...
8661 * string/test-strchr.c (check1): Here. New function.
8662 (do_one_test): Break out result checking code into ...
8663 (check_result): This. New function.
8664 (do_one_test): Call check_result.
8665 (test_main): Call check1.
8666 * string/bug-strstr1.c (main): Moved to ...
046f153e 8667 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8668 (do_one_test): Break out result checking code into ...
8669 (check_result): This. New function.
8670 (do_one_test): Call check_result.
8671 (test_main): Call check1.
8672 * string/bug-strcasestr1.c: Removed.
8673 * string/bug-strchr1.c: Likewise.
8674 * string/bug-strstr1.c: Likewise.
8675
53cea63e
L
8676 * elf/Makefile (dl-routines): Add hwcaps.
8677 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8678 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8679 (_dl_important_hwcaps): Moved to ...
8680 * elf/dl-hwcaps.c: Here. New file.
8681 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8682
9cee5585 8683 [BZ #14557]
bb859b06
L
8684 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8685 if IS_IN_rtld isn't defined.
8686
9cee5585
L
8687 * elf/dl-support.c (_dl_sysinfo_map): New.
8688 Include "get-dynamic-info.h" and "setup-vdso.h".
8689 (_dl_non_dynamic_init): Call setup_vdso.
8690 * elf/dynamic-link.h: Don't include <assert.h>.
8691 (elf_get_dynamic_info): Moved to ...
8692 * elf/get-dynamic-info.h: Here. New file.
8693 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8694 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8695 * elf/setup-vdso.h: Here. New file.
8696 * elf/rtld.c: Include "setup-vdso.h".
8697 (dl_main): Call setup_vdso.
8698
23c31b76
JM
86992012-10-05 Joseph Myers <joseph@codesourcery.com>
8700
28234b07
JM
8701 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8702 creal in comment listing functions tested. List finite, isinf,
8703 isnan, isless, islessequal, isgreater, isgreaterequal,
8704 islessgreater, isunordered, lgamma_r and pow10 as functions and
8705 macros not tested. Mention which functions not tested are aliases
8706 for other functions. Fix typo. Note that signs of NaNs are not
8707 tested.
8708
23c31b76
JM
8709 * scripts/config.guess: Update from config.git.
8710 * scripts/config.sub: Likewise.
8711
9043e228
RM
87122012-10-04 Roland McGrath <roland@hack.frob.com>
8713
8714 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8715 * misc/madvise.c (madvise): Renamed to __madvise.
8716 Make madvise a weak alias.
8717 * include/sys/mman.h: Declare __madvise.
8718 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8719 * sysdeps/unix/syscalls.list
8720 (madvise): Make __madvise the strong name, and madvise a weak alias.
8721 * sysdeps/unix/sysv/linux/syscalls.list
8722 (madvise, mmap): Remove redundant entries.
8723 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8724 * malloc/malloc.c (mtrim): Likewise.
8725 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8726
f57f8055
RM
87272012-10-03 Roland McGrath <roland@hack.frob.com>
8728
8729 * sysdeps/mach/hurd/dl-cache.c: File removed.
8730 * config.h.in (USE_LDCONFIG): New #undef.
8731 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8732 * configure: Regenerated.
8733 * elf/Makefile (dl-routines): Add dl-cache only under
8734 [$(use-ldconfig) = yes].
8735 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8736 cache on [USE_LDCONFIG].
8737 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8738 [USE_LDCONFIG].
8739 * elf/rtld.c (dl_main): Likewise.
8740
5bb0c10a
PT
87412012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8742
8743 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8744 _SC_LEVEL4_CACHE_LINESIZE.
8745
010188c6
RM
87462012-10-03 Roland McGrath <roland@hack.frob.com>
8747
8748 * sysdeps/unix/bsd/confstr.h: File removed.
8749
b6c5ec07
AO
87502012-10-02 Alexandre Oliva <aoliva@redhat.com>
8751
8752 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8753 sys/sdt-config.h.
8754
408223d4
RM
87552012-10-02 Roland McGrath <roland@hack.frob.com>
8756
8757 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8758 Make 'mapoff' field ElfW(Off) rather than off_t.
8759
bb9510dc
DL
87602012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8761
fc997c6e
DL
8762 * nscd/Makefile: Remove nscd-cflags and all its users.
8763 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8764 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8765
bb9510dc
DL
8766 [BZ #10631]
8767 * malloc.c (malloc_printerr): Clarify error message.
8768
05699367
L
87692012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8770
8771 [BZ #14648]
8772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8773 Set bit_FMA_Usable if FMA is supported.
8774 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8775 macro.
8776 (bit_FMA4_Usable): Updated.
8777 (index_FMA_Usable): New macro.
8778 (CPUID_FMA): Likewise
8779 (HAS_FMA): Defined with bit_FMA_Usable.
8780
51367701
RM
87812012-10-01 Roland McGrath <roland@hack.frob.com>
8782
8783 * bits/types.h (__swblk_t): Type removed.
8784 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8785 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8787 (__SWBLK_T_TYPE): Likewise.
8788 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8789 (__SWBLK_T_TYPE): Likewise.
8790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8791 (__SWBLK_T_TYPE): Likewise.
8792 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8793 (__SWBLK_T_TYPE): Likewise.
8794
4d57bf63 87952012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8796 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8797
8798 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8799 (xdr_mapname): Use YPMAXMAP as maxsize.
8800 (xdr_peername): Use YPMAXPEER as maxsize.
8801 (xdr_keydat): Use YPAXRECORD as maxsize.
8802 (xdr_valdat): Use YPMAXRECORD as maxsize.
8803
93c65d43
RM
88042012-10-01 Roland McGrath <roland@hack.frob.com>
8805
497a03d6
RM
8806 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8807
93c65d43
RM
8808 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8809 * csu/init-first.c: ... here.
8810 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8811 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8812 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8813 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8814 * sysdeps/i386/init-first.c: File removed.
8815 * sysdeps/sh/init-first.c: File removed.
8816
bec749fd
JM
88172012-10-01 Joseph Myers <joseph@codesourcery.com>
8818
8819 [BZ #14645]
8820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8821 if x * y might underflow to zero and z is zero.
8822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8824 * math/libm-test.inc (min_subnorm_value): New variable.
8825 (fma_test): Add more tests.
8826 (fma_test_towardzero): Likewise.
8827 (fma_test_downward): Likewise
8828 (fma_test_upward): Likewise.
8829 (initialize): Set min_subnorm_value.
8830
8ec5b013
JM
88312012-09-29 Joseph Myers <joseph@codesourcery.com>
8832
8833 [BZ #14638]
8834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8835 0 + 0.
8836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8837 mode for addition resulting in exact zero.
8838 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8839 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8840 exact 0 + 0.
8841 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8842 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8843 * math/libm-test.inc (fma_test): Add more tests.
8844 (fma_test_towardzero): New function.
8845 (fma_test_downward): Likewise.
8846 (fma_test_upward): Likewise.
8847 (main): Call the new functions.
8848
b1fa802e
DM
88492012-09-28 David S. Miller <davem@davemloft.net>
8850
8851 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8852
d3b9fd9e
RM
88532012-09-28 Roland McGrath <roland@hack.frob.com>
8854
ea4d37b3
RM
8855 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8856 instead of SIGALRM.
8857
ac51c949
RM
8858 * sysdeps/gnu/_G_config.h: Moved to ...
8859 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8860 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8861 * sysdeps/generic/_G_config.h: ... here.
8862
28c195f7
RM
8863 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8864
848917f9
RM
8865 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8866
6bacf05b
RM
8867 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8868 Conditionalize target on [libnss_test1.so-version].
8869
91363dbb
RM
8870 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8871
cc87f7d8
RM
8872 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8873 (elfobjdir): Move out of conditionals.
8874
b1c608fe
RM
8875 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8876 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8877 (__nss_lookup_function): Conditionalize label remove_from_tree on
8878 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8879
1d9a6d96
DM
88802012-09-28 David S. Miller <davem@davemloft.net>
8881
8882 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8883 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8884 file.
8885 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8886 sysdep_routines.
8887 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8889 when HWCAP_SPARC_CRYPTO is present.
8890
72581615
PT
88912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8892
8893 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8894
715a900c
JL
88952012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8896
8897 [BZ #6530]
8898 * stdio-common/vfprintf.c (process_string_arg): Revert
8899 2000-07-22 change.
8900
89012011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8902
8903 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8904 for testcase.
8905 * stdio-common/tst-sprintf.c: Include <locale.h>
8906 (main): Test sprintf's handling of incomplete multibyte
8907 characters.
8908
9bac1d86
L
89092012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8910
8911 * elf/dl-runtime.c (VERSYMIDX): Removed.
8912 * elf/dl-version.c (VERSYMIDX): Likewise.
8913 * elf/do-rel.h (VERSYMIDX): Likewise.
8914 (VALIDX): Likewise.
8915 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8916 * elf/rtld.c (VALIDX): Likewise.
8917 (ADDRIDX): Likewise.
9bac1d86
L
8918 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8919 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8920 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8921 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8922 (VALIDX): Likewise.
8923 (ADDRIDX): Likewise.
9bac1d86 8924
b31606c0
PT
89252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8926
8927 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8928
11541177
JL
89292012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8930
8931 [BZ #11438]
8932 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8933 to global scope.
8934 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8935 addresses are in the same scope as 192.0.2/24.
8936 * posix/gai.conf: Document new scope table defaults.
8937
adb26fae
SP
89382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8939
8940 [BZ #5298]
8941 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8942 for ftell. Compute offsets from write pointers instead.
8943 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8944
4573c6b0
SP
89452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8946
8947 [BZ #14543]
8948 * libio/Makefile (tests): New test case tst-fseek.
8949 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8950 combination works in wide mode.
8951 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8952 state when the external buffer state changes.
8953
aa9bbfe6
DM
89542012-09-27 David S. Miller <davem@davemloft.net>
8955
8956 [BZ #14376]
8957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8958 pass reloc->r_addend in as the 'high' argument to
8959 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8960
784421e7
DM
8961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8962
c39bc8b8
PT
89632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8964
8965 * rt/tst-aio2.c: Include <pthread.h>.
8966 * rt/tst-aio3.c: Likewise.
8967
1ccc2399
SE
89682012-09-27 Steve Ellcey <sellcey@mips.com>
8969
8970 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8971
31ed4153
L
89722012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8973
25f5f885
L
8974 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8975 contents on [SHARED].
31ed4153 8976
b7bfe116
MP
89772012-09-26 Marek Polacek <polacek@redhat.com>
8978
8979 [BZ #14530]
8980 [BZ #13741]
8981 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8982 for C++ and GCC <4.3 as well as for non GCC compilers.
8983
43c4edba
MT
89842012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8985
8986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8987
6a1bf82f
RM
89882012-09-25 Roland McGrath <roland@hack.frob.com>
8989
8990 * Makefile.in (all, install): Declare with .PHONY.
8991 Reported by Michael Hope <michael.hope@linaro.org>.
8992
8ad11b9a
TMQMF
89932012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8994
8995 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8996 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8997 system header.
8998 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8999 Likewise.
9000 (sydep_routines): Add the new and the internal functions.
9001 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9002 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9004 (GLIBC_2.17): Add the new function.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9006 (GLIBC_2.17): Likewise.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9008 (GLIBC_2.17): Likewise.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9010 (GLIBC_2.17): Likewise.
9011 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9012
7e2fca8d
AM
90132012-09-25 Alan Modra <amodra@gmail.com>
9014
9015 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9016 Add release barrier before setting once_control to say
9017 initialisation is done. Add hints on lwarx. Use macro in
9018 place of isync.
9019 (clear_once_control): Add release barrier.
9020
b87c4b24
JM
90212012-09-25 Joseph Myers <joseph@codesourcery.com>
9022
d032e0d2
JM
9023 [BZ #13629]
9024 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9025 specially.
9026 * math/s_clog10.c (__clog10): Likewise.
9027 * math/s_clog10f.c (__clog10f): Likewise.
9028 * math/s_clog10l.c (__clog10l): Likewise.
9029 * math/s_clogf.c (__clogf): Likewise.
9030 * math/s_clogl.c (__clogl): Likewise.
9031 * math/Makefile (libm-calls): Add x2y2m1.
9032 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9033 (__x2y2m1): Likewise.
9034 (__x2y2m1l): Likewise.
9035 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9036 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9038 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9039 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9040 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9041 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9042 * sysdeps/i386/fpu/libm-test-ulps: Update.
9043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9044
b87c4b24
JM
9045 [BZ #14621]
9046 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9047 int as type of variable DEPTH.
9048 (glob): Use size_t instead of int as type of variables NEWCOUNT
9049 and OLD_PATHC.
9050
6d3bf199
LD
90512012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9052
22bf5c17
LD
9053 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9054 Add s_sincosf-sse2.
9055 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9056 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9057 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9058 macros for using routine as __sincosf_ia32.
9059 Use macro for function declaration and weak_alias.
9060 * sysdeps/i386/fpu/libm-test-ulps: Update.
9061
9062 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9064
9065 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9066 subnormal argument.
9067 * math/s_cexpf.c (__cexpf): Likewise.
9068 * math/s_csinf.c (__csinf): Likewise.
9069 * math/s_csinhf.c (__csinhf): Likewise.
9070 * math/s_ctanf.c (__ctanf): Likewise.
9071 * math/s_ctanhf.c (__ctanhf): Likewise.
9072 * math/s_ccosh.c (__ccoshf): Likewise.
9073 * math/s_cexp.c (__cexpl): Likewise.
9074 * math/s_csin.c (__csin): Likewise.
9075 * math/s_csinh.c (__csinh): Likewise.
9076 * math/s_ctan.c (__ctan): Likewise.
9077 * math/s_ctanh.c (ctanh): Likewise.
9078 * math/s_ccoshl.c (__ccoshl): Likewise.
9079 * math/s_cexpl.c (__cexpl): Likewise.
9080 * math/s_csinl.c (__csinl): Likewise.
9081 * math/s_csinhl.c (__csinhl): Likewise.
9082 * math/s_ctanl.c (__ctanl): Likewise.
9083 * math/s_ctanhl.c (__ctanhl): Likewise.
9084
203e5603
JM
90852012-09-25 Joseph Myers <joseph@codesourcery.com>
9086
9087 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9088 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9089 (_IO_off_t): Define to __off_t, not _G_off_t.
9090 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9091 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9092 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9093 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9094 type of __dummy and __dummy2 fields.
9095 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9096 (_G_ssize_t): Likewise.
9097 (_G_off_t): Likewise.
9098 (_G_pid_t): Likewise.
9099 (_G_uid_t): Likewise.
9100 (_G_wchar_t): Likewise.
9101 (_G_wint_t): Likewise.
9102 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9103 (_G_ssize_t): Likewise.
9104 (_G_off_t): Likewise.
9105 (_G_pid_t): Likewise.
9106 (_G_uid_t): Likewise.
9107 (_G_wchar_t): Likewise.
9108 (_G_wint_t): Likewise.
9109 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9110 (_G_ssize_t): Likewise.
9111 (_G_off_t): Likewise.
9112 (_G_pid_t): Likewise.
9113 (_G_uid_t): Likewise.
9114 (_G_wchar_t): Likewise.
9115 (_G_wint_t): Likewise.
9116
9fab36eb
SP
91172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9118
9119 * malloc/arena.c: Include malloc-sysdep.h.
9120 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9121 is sufficient to shrink the heap or an unmap is needed.
9122 * sysdeps/generic/malloc-sysdep.h: New file. Define
9123 new function check_may_shrink_heap.
9124 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9125 new function check_may_shrink_heap.
9126
2b4f00d1
SP
91272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9128
9129 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9130 comments.
9131
9a9028b1
DL
91322012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9133
57c69bef
DL
9134 * catgets/test-gencat.sh: Add "set -e".
9135 * elf/tst-pathopt.sh: Likewise.
9136 * grp/tst_fgetgrent.sh: Likewise.
9137 * iconvdata/run-iconv-test.sh: Likewise.
9138 * intl/tst-gettext.sh: Likewise.
9139 * intl/tst-gettext2.sh: Likewise.
9140 * intl/tst-gettext4.sh: Likewise.
9141 * intl/tst-gettext6.sh: Likewise.
9142 * intl/tst-translit.sh: Likewise.
9143 * io/ftwtest-sh: Likewise.
9144 * libio/test-freopen.sh: Likewise.
9145 * malloc/tst-mtrace.sh: Likewise.
9146 * posix/globtest.sh: Likewise.
9147 * posix/tst-getconf.sh: Likewise.
9148 * posix/wordexp-tst.sh: Likewise.
9149 * stdio-common/tst-printf.sh: Likewise.
9150 * stdio-common/tst-unbputc.sh: Likewise.
9151 * stdlib/tst-fmtmsg.sh: Likewise.
9152 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9153 * catgets/Makefile: Do not specify -e option when running
9154 testsuite shell scripts.
9155 * elf/Makefile: Likewise.
9156 * grp/Makefile: Likewise.
9157 * iconvdata/Makefile: Likewise.
9158 * intl/Makefile: Likewise.
9159 * io/Makefile: Likewise.
9160 * libio/Makefile: Likewise.
9161 * malloc/Makefile: Likewise.
9162 * posix/Makefile: Likewise.
9163 * stdio-common/Makefile: Likewise.
9164 * stdlib/Makefile: Likewise.
9165 * sysdeps/x86_64/Makefile: Likewise.
9166
9a9028b1
DL
9167 * io/ftwtest-sh: Add copyright header.
9168 * posix/globtest.sh: Likewise.
9169 * posix/tst-getconf.sh: Likewise.
9170 * posix/wordexp-tst.sh: Likewise.
9171 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9172
ced6f16e
L
91732012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9174
94b32c39
L
9175 [BZ #13679]
9176 * Makeconfig (+link): Defined as $(+link-static) if
9177 $(build-shared) isn't yes.
9178 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9179 isn't yes.
9180 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9181
189e935b
L
9182 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9183
ced6f16e
L
9184 [BZ #14562]
9185 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9186 new chunk size with MALLOC_ALIGN_MASK.
9187
a9f8e53a
JM
91882012-09-24 Joseph Myers <joseph@codesourcery.com>
9189
9190 [BZ #5044]
9191 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9192 <rounding-mode.h>.
9193 (__printf_fphex): Determine rounding using get_rounding_mode and
9194 round_away.
9195 * stdio-common/tst-printf-round.c (struct hex_test): New
9196 structure.
9197 (hex_tests): New variable.
9198 (test_hex_in_one_mode): New function.
9199 (do_test): Also run tests for hex float output.
9200
43153109
JM
92012012-09-21 Joseph Myers <joseph@codesourcery.com>
9202
9203 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9204 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9205 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9206 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9207 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9208 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9209 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9210 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9211
8a26625d
JM
92122012-09-20 Joseph Myers <joseph@codesourcery.com>
9213
9214 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9215 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9216 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9217 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9218
f3fd569c
DL
92192012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9220
9221 [BZ #14579]
9222 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9223 mode only.
9224 * elf/tst-rtld-load-self.sh: New test.
9225 * elf/Makefile: Run it.
9226
63bbedd4
JM
92272012-09-18 Joseph Myers <joseph@codesourcery.com>
9228
9229 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9230 (tst-writev-ENV): Remove.
9231 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9232
626f8b6a
CM
92332012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9234
9235 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9236
b7aaa4d6
JM
92372012-09-17 Joseph Myers <joseph@codesourcery.com>
9238
9239 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9240 unconditional.
9241 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9242 Likewise.
9243 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9244 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9245 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9246 Likewise.
9247
65513990
L
92482012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9249
9250 [BZ #14587]
9251 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9252 * config.make.in (have-cpp-asm-debuginfo): Removed.
9253 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9254 * configure: Regenerated.
9255
784761be
JM
92562012-09-14 Joseph Myers <joseph@codesourcery.com>
9257
9258 [BZ #5044]
9259 * stdio-common/printf_fp.c: Include <stdbool.h> and
9260 <rounding-mode.h>.
9261 (___printf_fp): Determine rounding using get_rounding_mode and
9262 round_away.
9263 * stdio-common/tst-printf-round.c: New file.
9264 * stdio-common/Makefile (tests): Add tst-printf-round.
9265 (link-libm): New variable.
9266 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9267
9503345f
L
92682012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9269
9270 [BZ #14576]
9271 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9272 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9273 Likewise.
9274 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9275 Likewise.
9276
ad35fc00
JM
92772012-09-13 Joseph Myers <joseph@codesourcery.com>
9278
9279 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9280 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9281 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9282 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9283
6c9b0f68
JM
92842012-09-12 Joseph Myers <joseph@codesourcery.com>
9285
9286 [BZ #14518]
9287 * include/rounding-mode.h: New file.
9288 * sysdeps/generic/get-rounding-mode.h: Likewise.
9289 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9290 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9291 (MAX_VALUE): New macro.
9292 (MIN_VALUE): Likewise.
9293 (overflow_value): New function.
9294 (underflow_value): Likewise.
9295 (round_and_return): Use overflow_value and underflow_value to
9296 determine return values in overflow and underflow cases. Use
9297 round_away to determine rounding depending on rounding mode.
9298 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9299 determine return values in overflow and underflow cases.
9300 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9301 (struct test_results): New structure.
9302 (struct test): Use struct test_results to store expected results
9303 for all rounding modes.
9304 (TEST): Include expected results for all rounding modes.
9305 (test_in_one_mode): New function.
9306 (do_test): Use test_in_one_mode to compute and check results.
9307 Check results for all rounding modes.
9308 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9309 $(link-libm).
9310
19fcedd5
AM
93112012-12-09 Allan McRae <allan@archlinux.org>
9312
1e9d84cd 9313 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9314
8bbfd2f1
JM
93152012-09-11 Joseph Myers <joseph@codesourcery.com>
9316
9317 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9318 (_G_int32_t): Likewise.
9319 (_G_uint16_t): Likewise.
9320 (_G_uint32_t): Likewise.
9321 (_G_HAVE_BOOL): Likewise.
9322 (_G_HAVE_ATEXIT): Likewise.
9323 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9324 (_G_HAVE_IO_FILE_OPEN): Likewise.
9325 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9326 (_G_int32_t): Likewise.
9327 (_G_uint16_t): Likewise.
9328 (_G_uint32_t): Likewise.
9329 (_G_HAVE_BOOL): Likewise.
9330 (_G_HAVE_ATEXIT): Likewise.
9331 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9332 (_G_HAVE_IO_FILE_OPEN): Likewise.
9333 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9334 (_G_int32_t): Likewise.
9335 (_G_uint16_t): Likewise.
9336 (_G_uint32_t): Likewise.
9337 (_G_HAVE_BOOL): Likewise.
9338 (_G_HAVE_ATEXIT): Likewise.
9339 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9340 (_G_HAVE_IO_FILE_OPEN): Likewise.
9341
b1dc5912
L
93422012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9343
9344 * csu/libc-tls.c: Update copyright years.
9345
0e886ef9
JM
93462012-09-10 Joseph Myers <joseph@codesourcery.com>
9347
28361c5e
JM
9348 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9349 [!_G_USING_THUNKS]: Remove conditional code.
9350 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9351 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9352
0e886ef9
JM
9353 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9354 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9355 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9356 (_G_VTABLE_LABEL_PREFIX): Likewise.
9357 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9358 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9359 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9360 (_G_VTABLE_LABEL_PREFIX): Likewise.
9361 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9362 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9363 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9364 (_G_VTABLE_LABEL_PREFIX): Likewise.
9365 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9366
bcba7aa2
L
93672012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9368
9369 * libio/Makefile: Include ../Makeconfig before tests.
9370 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9371 only if $(build-shared) is yes.
9372
06585ee8
L
9373 * iconv/gconv_db.c: Update copyright years.
9374
80ccd52c
LD
93752012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9376
9377 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9378 unwind info if defined PIC. Fix special cases description.
9379 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9380
9381 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9382 DP_HI_MASK entry.
9383 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9384
691bc9c1
L
93852012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9386
3d9b46b3
L
9387 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9388
de2139a9
L
9389 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9390 is NULL.
9391
5ca78dd0
L
9392 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9393 (LDLIBS-tst-chk4): This.
9394 (LDFLAGS-tst-chk5): Renamed to ...
9395 (LDLIBS-tst-chk5): This.
9396 (LDFLAGS-tst-chk6): Renamed to ...
9397 (LDLIBS-tst-chk6): This.
9398 (LDFLAGS-tst-lfschk4): Renamed to ...
9399 (LDLIBS-tst-lfschk4): This.
9400 (LDFLAGS-tst-lfschk5): Renamed to ...
9401 (LDLIBS-tst-lfschk5): This.
9402 (LDFLAGS-tst-lfschk6): Renamed to ...
9403 (LDLIBS-tst-lfschk6): This.
9404
691bc9c1
L
9405 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9406 on $(common-objpfx)soversions.mk.
9407
65cafb1c
JM
94082012-09-07 Joseph Myers <joseph@codesourcery.com>
9409
9410 [BZ #10014]
9411 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9412 example host name.
9413
c78ab094
SP
94142012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9415
9416 * malloc/arena.c (arena_get_retry): New function that gets
9417 another arena for the caller to try its request on.
9418 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9419 current arena cannot fulfill the request.
9420 (__libc_memalign): Likewise.
9421 (__libc_memalign): Likewise.
9422 (__libc_pvalloc): Likewise.
9423 (__libc_calloc): Likewise.
9424
01f49f59
JT
94252012-09-05 John Tobey <john.tobey@gmail.com>
9426
9427 [BZ #13542]
9428 * manual/arith.texi (Operations on Complex): Fix description
9429 of carg branch cut.
9430
4c23fed5
JM
94312012-09-06 Joseph Myers <joseph@codesourcery.com>
9432
1d3c8572
JM
9433 [BZ #10014]
9434 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9435 host name.
9436
4c23fed5
JM
9437 [BZ #10038]
9438 * manual/memory.texi (Memory): Make order of menu items match
9439 order of sections.
9440
04570aaa
L
94412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9442
9443 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9444 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9445 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9446
b80af2f4
L
94472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9448
9449 * csu/libc-tls.c (static_dtv): Renamed to ...
9450 (_dl_static_dtv): This. Make it global.
9451 (_dl_initial_dtv): Removed.
9452 (__libc_setup_tls): Updated.
9453 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9454 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9455 DL_INITIAL_DTV.
9456
2abe9f15
PM
94572012-09-06 Petr Machata <pmachata@redhat.com>
9458
9459 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9460 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9461 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9462 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9463
0948c3af
L
94642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9465
9466 [BZ #14545]
9467 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9468 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9469 freeing dtv[-1].
9470
a5055ad1
L
94712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9472
9473 [BZ #14544]
9474 * Makeconfig (link-static-before-libc): Replace $(+prector)
9475 with $(+prectorT).
9476 (link-static-after-libc): Replace $(+postctor) with
9477 $(+postctorT).
9478 (link-bounded): Replace $(+prector)/$(+postctor) with
9479 $(+prectorT)/$(+postctorT).
9480 (+prectorT): New macro.
9481 (+postctorT): Likewise.
9482
ed8c2ecd
JM
94832012-09-06 Joseph Myers <joseph@codesourcery.com>
9484
9485 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9486 (round_str): Handle values above the maximum for IBM long double
9487 as inexact.
9488 * stdlib/tst-strtod-round.c (tests): Regenerated.
9489
14c996c8
AK
94902012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9491
9492 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9493 assembler flag.
9494 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9495 zarch_nohighgprs around the zarch optimized routines.
9496 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9497 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9498 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9499 for zarch.
9500
430d6ce6
DM
95012012-09-05 David S. Miller <davem@davemloft.net>
9502
9503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9504
ff04dda4
DM
9505 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9506 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9507 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9508 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9509 entries.
9510
24d4e01b
AO
95112012-09-05 Alexandre Oliva <aoliva@redhat.com>
9512
9513 * malloc/arena.c: Fold copyright years.
9514 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9515
61d58174
AO
95162012-09-05 Alexandre Oliva <aoliva@redhat.com>
9517
9518 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9519
20196a5e
AO
95202012-09-05 Alexandre Oliva <aoliva@redhat.com>
9521
9522 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9523
5c447383
AO
95242012-09-05 Alexandre Oliva <aoliva@redhat.com>
9525
9526 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9527 change internal state upon failure.
9528
fad64255
AO
95292012-09-05 Alexandre Oliva <aoliva@redhat.com>
9530
9531 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9532 * malloc/memusage.c (mmap): Likewise.
9533 (mmap64, mremap): Likewise. Adjust name in comment.
9534
1ffb8c90
SP
95352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9536
9537 * libio/fileops.c: Fix typos in comments.
9538 * libio/oldfileops.c: Likewise.
9539 * libio/wfileops.c: Likewise.
9540
6ef9cc37
SP
95412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9542
9543 [BZ #1349]
9544 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9545 (tst-malloc-usable-ENV): Set environment for test case.
9546 * malloc/hooks.c (malloc_check_get_size): New function to get
9547 requested size.
9548 * malloc/malloc.c (musable): Use malloc_check_get_size.
9549 * malloc/tst-malloc-usable.c: New test case.
9550
4d038ae3
AS
95512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9552
9553 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9554
c4e85184
AM
95552012-09-05 Allan McRae <allan@archlinux.org>
9556
b9dafc56 9557 [BZ #13966]
c4e85184
AM
9558 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9559 determine header location.
9560 * configure: Regenerated.
9561
e1343020
AS
95622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9563
9564 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9565 float format.
9566 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9567 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9568 format.
e1343020
AS
9569 (test): Regenerate.
9570
0a9f1987
DM
95712012-09-04 David S. Miller <davem@davemloft.net>
9572
9573 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9574 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9575 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9576
29237804
FW
95772012-09-04 Florian Weimer <fweimer@redhat.com>
9578
9579 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9580 failures.
9581
edb3cb88
FW
9582 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9583
60160d83
JM
95842012-09-04 Joseph Myers <joseph@codesourcery.com>
9585
9586 [BZ #9914]
9587 * libio/iogetdelim.c: Include <limits.h>.
9588 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9589 + len + 1 would overflow.
9590
bcd6c8dc
AJ
95912012-09-03 Andreas Jaeger <aj@suse.de>
9592
9593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9594 * sysdeps/i386/fpu/libm-test-ulps: Update.
9595
4ffffbd2
LD
95962012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9597
9598 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9599 Add s_sinf-sse2, s_conf-sse2.
9600
9601 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9602 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9603 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9604 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9605
9606 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9607 for using routine as __sinf_ia32.
9608 Use macro for function declaration and weak_alias.
9609 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9610 for using routine as __cosf_ia32.
9611 Use macro for function declaration and weak_alias.
9612
9613 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9614 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9615
9616 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9617 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9619
9620 * math/libm-test.inc (cos_test): Add more test cases.
9621 (sin_test): Likewise.
9622 (sincos_test): Likewise.
9623
511fa286
AK
96242012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9625
9626 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9627 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9628 hidden.
9629 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9630
5f30cfec
L
96312012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9632
9633 [BZ #14538]
9634 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9635 first element of the GOT.
9636 (elf_machine_load_address): Return the difference between
9637 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9638
0786794f
AM
96392012-09-01 Allan McRae <allan@archlinux.org>
9640
5f30cfec
L
9641 [BZ #13412]
9642 * configure.in (AWK): Require gawk version 3.0 or later.
9643 * configure: Regenerated.
0786794f 9644
26889eac
JM
96452012-09-01 Joseph Myers <joseph@codesourcery.com>
9646
9647 * sysdeps/unix/sysv/linux/kernel-features.h
9648 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9649 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9650 [__NR_clock_getres]: Make code unconditional.
9651 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9652 (clock_getcpuclockid): Remove code left unreachable by removal of
9653 conditionals.
9654 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9655 code unconditional.
9656 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9657 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9658 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9659 Make code unconditional.
9660 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9661 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9662 * sysdeps/unix/sysv/linux/clock_settime.c
9663 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9664 conditional code.
9665 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9666 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9667
d22e28b0
L
96682012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9669
9670 [BZ #14476]
9671 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9672 scripts/test-installation.pl.
9673
9674 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9675 and $ld_so_version if it is set.
9676
050af9c4
SP
96772012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9678
9679 [BZ #14516]
9680 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9681 failure if reading from procfs failed.
9682 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9683
ad845c0b
JM
96842012-08-27 Joseph Myers <joseph@codesourcery.com>
9685
9686 * sysdeps/unix/sysv/linux/kernel-features.h
9687 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9688 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9689 Remove conditional code.
9690 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9691 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9692 Remove conditional code.
9693 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9694 * sysdeps/unix/sysv/linux/i386/fxstat.c
9695 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9696 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9697 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9698 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9699 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9700 * sysdeps/unix/sysv/linux/i386/lxstat.c
9701 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9702 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9703 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9704 Remove conditional code.
9705 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9706 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9707 Remove conditional code.
9708 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9709 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9710 <kernel-features.h>.
9711 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9712 Remove.
9713 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9714 Remove conditional code.
9715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9716 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9717 Remove conditional.
9718
5dbf56af
MF
97192012-08-27 Mike Frysinger <vapier@gentoo.org>
9720
9721 [BZ #5400]
9722 * NEWS: Add fixed bug number.
9723
d6e70f43
JM
97242012-08-27 Joseph Myers <joseph@codesourcery.com>
9725
7efb4737
JM
9726 [BZ #14519]
9727 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9728 underflowing exponent in case of negative sign.
9729 * stdlib/tst-strtod-round-data: Add more tests.
9730 * stdlib/tst-strtod-round.c (tests): Regenerated.
9731
af92131a
JM
9732 [BZ #3479]
9733 * stdlib/strtod_l.c (NDIG): Remove.
9734 (HEXNDIG): Likewise.
9735 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9736 smallest representable value.
9737 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9738 lie within an exact representation of 1/2 ulp of the result.
9739 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9740 unconditionally.
9741 (TENS_P9_IDX): Define unconditionally.
9742 (TENS_P9_SIZE): Likewise.
9743 (TENS_P10_IDX): Likewise.
9744 (TENS_P10_SIZE): Likewise.
9745 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9746 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9747 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9748 entries for 10^2^13 and 10^2^14.
9749 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9750 (TENS_P13_IDX): Define.
9751 (TENS_P13_SIZE): Likewise.
9752 (TENS_P14_IDX): Likewise.
9753 (TENS_P14_SIZE): Likewise.
9754 (_fpioconst_pow10): Change array size to
9755 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9756 unconditional.
9757 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9758 1024]: Add entries for 10^2^13 and 10^2^14.
9759 [LAST_POW10 > _LAST_POW10]: Remove #error.
9760 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9761 (_fpioconst_pow10): Change array size to
9762 FPIOCONST_POW10_ARRAY_SIZE.
9763 * stdlib/gen-fpioconst.c: New file.
9764 * stdlib/gen-tst-strtod-round.c: Likewise.
9765 * stdlib/tst-strtod-round-data: Likewise.
9766 * stdlib/tst-strtod-round.c: Likewise.
9767 * stdlib/Makefile (tests): Add tst-strtod-round.
9768
d6e70f43
JM
9769 [BZ #14459]
9770 * stdlib/strtod_l.c: Include <stdint.h>.
9771 (NDEBUG): Do not define.
9772 (round_and_return): Change EXPONENT parameter to type intmax_t.
9773 Rearrange calculations to avoid internal overflow possibilities.
9774 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9775 Rearrange calculations to avoid internal overflow possibilities.
9776 Assert that number fits inside MPNSIZE limbs.
9777 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9778 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9779 calculations and add assertions to avoid internal overflow
9780 possibilities. Add casts to avoid signed/unsigned operations.
9781 * stdlib/tst-strtod-overflow.c: New file.
9782 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9783
1f529f7d
MP
97842012-08-25 Marek Polacek <polacek@redhat.com>
9785
9786 * time/time.h: Fix some typos in comments.
9787
59a629f1
RM
97882012-08-23 Roland McGrath <roland@hack.frob.com>
9789
9790 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9791 * posix/tst-rfc3484-2.c: Likewise.
9792 * posix/tst-rfc3484-3.c: Likewise.
9793
d3bafbc9
SM
97942012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9795
9796 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9797 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9798
4efcc022
JM
97992012-08-23 Joseph Myers <joseph@codesourcery.com>
9800
9801 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9802 #include of fxstatat64.c.
9803
3cc3ef96
RM
98042012-08-22 Roland McGrath <roland@hack.frob.com>
9805
f04e2132
RM
9806 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9807 * shadow/getspent_r.c: Likewise.
9808 * shadow/getspnam.c: Likewise.
9809 * shadow/getspnam_r.c: Likewise.
9810 * gshadow/getsgent.c: Likewise.
9811 * gshadow/getsgent_r.c: Likewise.
9812 * gshadow/getsgnam.c: Likewise.
9813 * gshadow/getsgnam_r.c: Likewise.
9814 * inet/getnetbyad.c: Likewise.
9815 * inet/getnetbyad_r.c: Likewise.
9816 * inet/getnetbynm.c: Likewise.
9817 * inet/getnetbynm_r.c: Likewise.
9818 * inet/getnetent.c: Likewise.
9819 * inet/getnetent_r.c: Likewise.
9820 * inet/getproto.c: Likewise.
9821 * inet/getproto_r.c: Likewise.
9822 * inet/getprtent.c: Likewise.
9823 * inet/getprtent_r.c: Likewise.
9824 * inet/getprtname.c: Likewise.
9825 * inet/getprtname_r.c: Likewise.
9826 * inet/getrpcbyname.c: Likewise.
9827 * inet/getrpcbyname_r.c: Likewise.
9828 * inet/getrpcbynumber.c: Likewise.
9829 * inet/getrpcbynumber_r.c: Likewise.
9830 * inet/getrpcent.c: Likewise.
9831 * inet/getrpcent_r.c: Likewise.
9832 * inet/getaliasent.c: Likewise.
9833 * inet/getaliasent_r.c: Likewise.
9834 * inet/getaliasname.c: Likewise.
9835 * inet/getaliasname_r.c: Likewise.
9836 * nscd/getgrgid_r.c: Likewise.
9837 * nscd/getgrnam_r.c: Likewise.
9838 * nscd/gethstbyad_r.c: Likewise.
9839 * nscd/gethstbynm3_r.c: Likewise.
9840 * nscd/getpwnam_r.c: Likewise.
9841 * nscd/getpwuid_r.c: Likewise.
9842 * nscd/getsrvbynm_r.c: Likewise.
9843 * nscd/getsrvbypt_r.c: Likewise.
9844 * nscd/gai.c: Likewise.
9845
c53d909c
RM
9846 * configure.in (build_nscd): New substituted variable, set
9847 by --disable-build-nscd and defaults to $use_nscd.
9848 * configure: Regenerated.
9849 * config.make.in (build-nscd): New substituted variable.
9850 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9851 Change conditional to require [$(build-nscd) = yes] as well.
9852 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9853
3cc3ef96
RM
9854 [BZ# 13696]
9855 * configure.in (use_nscd): New substituted variable, set by
9856 --disable-nscd. If enabled, define USE_NSCD.
9857 * configure: Regenerated.
9858 * config.h.in: Add USE_NSCD.
9859 * config.make.in (use-nscd): New substituted variable.
9860 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9861 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9862 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9863 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9864 (CFLAGS-getgrnam_r.c): Likewise.
9865 (CFLAGS-initgroups.c): Likewise.
9866 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9867 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9868 Variables removed.
9869 * inet/getnetgrent_r.c
9870 (nscd_setnetgrent): New function, broken out of ...
9871 (setnetgrent): ... here. Call it.
9872 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9873 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9874 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9875 * nscd/Makefile (routines, aux): Move definitions after include of
9876 Makeconfig. Conditionalize on [$(use-nscd) != no].
9877 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9878 Conditionalize on [USE_NSCD].
9879 (is_nscd, nscd_init_cb): Likewise.
9880 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9881 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9882 * nss/nss_db/db-init.c: Likewise.
9883 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9884 [USE_NSCD].
9885 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9886 (make_request): Use it.
9887 (cache_valid_p): New function.
9888 (__check_pf): Use it.
9889 * NEWS: Add item for --disable-nscd.
9890
07e51550
DL
98912012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9892
9893 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9894 to support sed >= 4.2.1-20-ga9bf076.
9895 * configure: Regenerated.
9896
35a5b08b
RM
98972012-08-22 Roland McGrath <roland@hack.frob.com>
9898
9899 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9900 Conditionalize whole body on [IREL].
9901
8479f23a
JL
99022012-08-22 Jeff Law <law@redhat.com>
9903
9904 [BZ #14505]
9905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9906 if the family is PF_UNSPEC.
9907
48da0b21
MF
99082012-08-22 Mike Frysinger <vapier@gentoo.org>
9909
9910 * Makerules (lib-version): Rename from V.
9911 (install-lib-nosubdir): Change V to lib-version.
9912
15d0da8c
WS
99132012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9914
9915 [BZ #14252]
9916 * powerpc32/power6/wcschr.c: New file.
9917 * powerpc32/power6/wcscpy.c: New file.
9918 * powerpc32/power6/wcsrchr.c: New file.
9919 * powerpc64/power6/wcschr.c: New file.
9920 * powerpc64/power6/wcscpy.c: New file.
9921 * powerpc64/power6/wcsrchr.c: New file.
9922
bcca0895
MK
99232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9924
9925 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9926 (two_way_short_needle): Use it.
5a4aaa33
RM
9927 * string/strstr.c (AVAILABLE1_USES_J): Define.
9928 * string/strcasestr.c: Likewise.
99677e57
MK
9929
9930 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9931 array references.
9932 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9933
400726de
MK
9934 [BZ #11607]
9935 * NEWS: Add an entry.
9936 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9937 define their defaults.
9938 (two_way_short_needle): Detect end-of-string on-the-fly.
9939 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9940 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9941 * string/bug-strcasestr1.c: New test.
9942 * string/Makefile: Run it.
9943
20a71f2c
MK
99442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9945
9946 [BZ #11607]
9947 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9948 the first character.
9949
21ad0558
RM
99502012-08-21 Roland McGrath <roland@hack.frob.com>
9951
9952 * csu/elf-init.c (__libc_csu_irel): Function removed.
9953 * csu/libc-start.c (apply_irel): New function.
9954 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9955
0e1d9911
JM
99562012-08-21 Joseph Myers <joseph@codesourcery.com>
9957
9958 * sysdeps/unix/sysv/linux/kernel-features.h
9959 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9960 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9961 <kernel-features.h>.
9962 [__NR_fadvise64_64]: Make code unconditional.
9963 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9964 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9965 !__NR_fadvise64_64)]: Likewise.
9966 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9967 !__NR_fadvise64_64))]: Likewise.
9968 [__NR_fadvise64]: Make code unconditional.
9969 [!__NR_fadvise64]: Remove conditional code.
9970 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9971 <kernel-features.h>.
9972 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9973 unconditional.
9974 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9975 conditional code.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9977 not include <kernel-features.h>.
9978 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9979 unconditional.
9980 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9981 conditional code.
9982 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9983 include <kernel-features.h>.
9984 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9985 unconditional.
9986 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9987 conditional code.
9988
14a50c9d
WS
99892012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9990
9991 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9992 slight instruction rearrangements per scrollpipe analysis.
9993 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9994
c0f4faf0
RM
99952012-08-20 Roland McGrath <roland@hack.frob.com>
9996
696da859
RM
9997 * manual/syslog.texi (syslog; vsyslog, closelog):
9998 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9999 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10000
c0f4faf0
RM
10001 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10002 DSOCAPS to match condition on defining it.
10003
348363b2
JM
100042012-08-20 Joseph Myers <joseph@codesourcery.com>
10005
a35cbf28
JM
10006 * sysdeps/unix/sysv/linux/kernel-features.h
10007 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10009 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10010 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10012 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10013 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10015 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10016 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10017
445f7ecd
JM
10018 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10019 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10020
348363b2
JM
10021 * sysdeps/unix/sysv/linux/kernel-features.h
10022 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10023 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10024 unconditional.
10025 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10026 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10027 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10028 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10029 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10030 Make code unconditional.
10031 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10032 (__mmap64) [!__NR_mmap2]: Likewise.
10033 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10034 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10035 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10036 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10037 [__NR_mmap2]: Make code unconditional.
10038 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10039 (__mmap64) [!__NR_mmap2]: Likewise.
10040
bc5bc0e5
AK
100412012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10042
10043 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10044
88d506de
AJ
100452012-08-18 Andreas Jaeger <aj@suse.de>
10046
10047 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10048
493387d2
MF
100492012-08-18 Mike Frysinger <vapier@gentoo.org>
10050
10051 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10052 * include/unistd.h (__have_sock_cloexec): Likewise.
10053 (__have_pipe2): Likewise.
10054 (__have_dup3): Likewise.
10055
a277af22
MF
100562012-08-18 Mike Frysinger <vapier@gentoo.org>
10057
10058 [BZ #9685]
10059 * include/unistd.h (__have_pipe2): Change define into an extern int.
10060 (__have_dup3): Likewise.
10061 * socket/have_sock_cloexec.c: Include fcntl.h.
10062 (__have_pipe2): New variable.
10063 (__have_dup3): Likewise.
10064
fdab8fd3
MF
100652012-08-17 Mike Frysinger <vapier@gentoo.org>
10066
10067 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10068
31035e80
MP
100692012-08-17 Marek Polacek <polacek@redhat.com>
10070
10071 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10072 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10073
3bd9e993
RM
100742012-08-17 Roland McGrath <roland@hack.frob.com>
10075
c91c505f
RM
10076 * configure.in: Add AC_SUBST for sysheaders.
10077 * configure: Regenerated.
10078 * config.make.in (sysheaders): New substituted variable.
10079
7c6f9d53
RM
10080 * sysdeps/unix/mkfifo.c: Moved ...
10081 * sysdeps/posix/mkfifo.c: ... here.
10082 * sysdeps/unix/mkfifoat.c: Moved ...
10083 * sysdeps/posix/mkfifoat.c: ... here.
10084
10085 * sysdeps/unix/utime.c: Moved ...
10086 * sysdeps/posix/utime.c: ... here.
10087
10088 * sysdeps/unix/time.c: Moved ...
10089 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10090 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10091 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10092
10093 * sysdeps/unix/nice.c: Moved ...
10094 * sysdeps/posix/nice.c: ... here.
10095
10096 * sysdeps/unix/alarm.c: Moved ...
10097 * sysdeps/posix/alarm.c: ... here.
10098
3bd9e993
RM
10099 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10100
d1f09384
JL
101012012-08-17 Jeff Law <law@redhat.com>
10102
10103 * intl/Makefile (codeset_mo): New variable.
10104 ($(codeset_mo)): New target.
10105 (tst-codeset.out): Depend on that. Remove explicit rule.
10106 (tst-gettext3.out, tst-gettext5.out): Likewise.
10107 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10108 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10109 * intl/tst-codeset.sh: Remove.
10110 * intl/tst-gettext3.sh: Likewise.
10111 * intl/tst-gettext5.sh: Likewise.
10112
2ae1ae5c
RM
101132012-08-17 Roland McGrath <roland@hack.frob.com>
10114
c31fdb83
RM
10115 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10116 * sysdeps/unix/syscalls.list: ... here.
10117
a0844057
RM
10118 * sysdeps/posix/getaddrinfo.c
10119 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10120 (gaiconf_init, gaiconf_reload): Use them.
10121 [!_STATBUF_ST_NSEC]
10122 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10123 Define using time_t rather than struct timespec.
10124
750c1f2a
RM
10125 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10126 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10127 Macros removed.
10128 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10129 [!NO_THREADS].
10130 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10131 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10132 Likewise.
10133
2ae1ae5c
RM
10134 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10135 __libc_cleanup_push argument.
10136
e66a42f5
RM
10137 * bits/param.h: New file.
10138 * misc/sys/param.h: New file.
10139 * include/sys/param.h: New file.
10140 * misc/Makefile (headers): Add bits/param.h.
10141 * sysdeps/generic/sys/param.h: File removed.
10142 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10143 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10144 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10145 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10146
b7c08a66
RM
10147 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10148 last change.
10149
b2e1c562
RM
10150 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10151 [_IO_MTSAFE_IO].
10152 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10153 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10154 New macros.
10155
c75ccd4c
RM
10156 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10157 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10158 rather than -D_IO_MTSAFE_IO conditionally.
10159 * stdio-common/Makefile (CPPFLAGS): Likewise.
10160 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10161 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10162 Use $(libio-mtsafe).
10163 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10164 of -D_IO_MTSAFE_IO.
10165 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10166 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10167 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10168 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10169 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10170 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10171 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10172 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10173 (CFLAGS-fread_u_chk.c): Likewise.
10174 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10175 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10176 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10177 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10178 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10179 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10180 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10181 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10182 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10183
10184 * libio/Makefile: Test [$(libc-reentrant) = yes]
10185 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10186
10187 * Makeconfig
10188 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10189 * sysdeps/pthread/configure: File removed.
10190 * sysdeps/pthread/Makeconfig: New file.
10191 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10192 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10193
d9195db8
GB
101942012-08-16 Gary Benson <gbenson@redhat.com>
10195
10196 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10197 unmapping the first object in a namespace.
10198
86466cd9
RM
101992012-08-16 Roland McGrath <roland@hack.frob.com>
10200
10201 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10202 (__internal_setnetgrent): ... this. Add internal_function to
10203 definition. Add libc_hidden_def.
10204 (setnetgrent): Update caller.
10205 (internal_endnetgrent): Renamed to ...
10206 (__internal_endnetgrent): ... this. Add internal_function to
10207 definition. Add libc_hidden_def.
10208 (endnetgrent): Update caller.
10209 (internal_getnetgrent_r): Renamed to ...
10210 (__internal_getnetgrent_r): ... this. Add internal_function to
10211 definition. Add libc_hidden_def.
10212 (__getnetgrent_r): Update caller.
10213 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10214
c3c8283c
JM
102152012-08-16 Joseph Myers <joseph@codesourcery.com>
10216
10217 * stdlib/longlong.h: Update from GCC.
10218
db1ee0a8
RM
102192012-08-16 Roland McGrath <roland@hack.frob.com>
10220
10221 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10222 on _QL, which is set by umul_ppmm but never used.
10223 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10224 variables, which are set by GMP macros but never used.
10225 * stdio-common/_itowa.c (_itowa): Likewise.
10226 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10227 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10228
30f69637
CD
102292012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10230
10231 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10232 struct La_sh_regs is not constant.
10233 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10234 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10235 and struct La_sparc64_regs are not constant.
10236
93a78ac4
JM
102372012-08-16 Joseph Myers <joseph@codesourcery.com>
10238
10239 * sysdeps/unix/sysv/linux/kernel-features.h
10240 (__ASSUME_POSIX_TIMERS): Remove.
10241 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10242 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10243 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10244 Make code unconditional.
10245 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10246 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10247 Make code unconditional.
10248 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10249 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10250 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10251 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10252 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10253 Make code unconditional.
10254 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10255 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10256 (__libc_missing_posix_timers): Remove.
10257
dd924cd7
RM
102582012-08-15 Roland McGrath <roland@hack.frob.com>
10259
4b4f2771
RM
10260 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10261 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10262
601c888b
RM
10263 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10264
176790a7
RM
10265 * elf/dl-sym.c: Include <stdlib.h>.
10266
329bc018
RM
10267 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10268 constants, which avoids warnings in 32-bit builds.
10269
e04e272d
RM
10270 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10271 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10272
952bf94a
RM
10273 * misc/lseek.c: File moved to ...
10274 * io/lseek.c: ... here.
10275
7c99b50a
RM
10276 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10277
dd924cd7
RM
10278 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10279 shifting LEN more than 31 bits at once.
10280
b3f479a8
LD
102812012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10282
10283 [BZ #14195]
8c4ae0d4
RM
10284 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10285 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10286 * string/test-strncasecmp.c (check1): Renamed to...
10287 (bz12205): ...this.
10288 (bz14195): Add new testcase for two empty input strings and N > 0.
10289 (test_main): Call new testcase, adapt for renamed function.
10290
9c55864e
AJ
102912012-08-15 Andreas Jaeger <aj@suse.de>
10292
10293 [BZ #14090]
10294 * crypt/md5test2.c: New test, based on test supplied by Serge
10295 Belyshev <belyshev@depni.sinp.msu.ru>.
10296 * crypt/Makefile (xtests): Add md5test-giant..
10297 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10298
02dcb6c5
PE
102992012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10300
10301 [BZ #14090]
10302 * crypt/md5.c (md5_process_block): Don't assume the buffer
10303 length is less than 2**32.
10304 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10305 length is less than 2**64.
10306
a3f95dcc
RM
103072012-08-15 Roland McGrath <roland@hack.frob.com>
10308
be75d758
RM
10309 * string/str-two-way.h: Include <sys/param.h>.
10310 (MAX): Macro removed.
10311
7312ca90
RM
10312 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10313 Move #define and #undef of memmove to just before and after
10314 including <string.h>.
10315
9a0a5486
RM
10316 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10317 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10318 and after including <string.h>. Move declarations of
10319 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10320 to before #include "string/memmove.c".
10321
67cc348d
RM
10322 * include/dirent.h: Declare __getdirentries.
10323
a3f95dcc
RM
10324 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10325 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10326
ca98e171
MF
103272012-08-14 Mike Frysinger <vapier@gentoo.org>
10328
10329 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10330 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10331 * sysdeps/i386/configure: Regenerated.
10332 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10333 STABS_CURRENT_FILE, and STABS_FUN.
10334 (END): Remove call to STABS_FUN_END.
10335 (STABS_CURRENT_FILE1): Delete.
10336 (STABS_CURRENT_FILE): Likewise.
10337 (STABS_FUN): Likewise.
10338 (STABS_FUN_END): Likewise.
10339 (STABS_FUN2): Likewise.
10340 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10341 * sysdeps/x86_64/configure: Regenerated.
10342
5908bf46
RM
103432012-08-14 Roland McGrath <roland@hack.frob.com>
10344
10345 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10346 * elf/dl-lookup.c: Likewise.
5908bf46 10347
f2c05b9e
JM
103482012-08-14 Joseph Myers <joseph@codesourcery.com>
10349
10350 * sysdeps/unix/sysv/linux/kernel-features.h
10351 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10352 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10353 unconditionally.
10354 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10355 unconditionally.
10356 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10357 condition on __ASSUME_CLONE_THREAD_FLAGS.
10358
e11f5155
AJ
103592012-08-14 Andreas Jaeger <aj@suse.de>
10360
10361 * sysdeps/i386/fpu/libm-test-ulps: Update.
10362
51a9ba86
MK
103632012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10364
2fdd4f78
AJ
10365 * include/atomic.h (atomic_exchange_and_add): Split into ...
10366 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10367 New atomic macros.
51a9ba86 10368
ba6cba9e
MT
103692012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10370
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10372
42443a47
JL
103732012-08-13 Jeff Law <law@redhat.com>
10374
10375 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10376 null byte in the output string.
10377
121dce05
JM
103782012-08-10 Joseph Myers <joseph@codesourcery.com>
10379
10380 * sysdeps/unix/sysv/linux/kernel-features.h
10381 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10382 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10383 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10384 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10385 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10386 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10387 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10388
bf51f568
JL
103892012-08-09 Jeff Law <law@redhat.com>
10390
10391 [BZ #13939]
10392 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10393 When avoid_arena is set, don't retry in the that arena. Pick the
10394 next one, whatever it might be.
10395 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10396 (arena_lock): Pass in new parameter to arena_get2.
10397 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10398 arena_get2.
10399 (__libc_malloc): Unify retrying after main arena failure with
10400 __libc_memalign version.
10401 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10402
f85fa270
L
104032012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10404
10405 [BZ #14166]
10406 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10407 to __redirect_strstr.
10408 (__strstr_sse42): Use typeof __redirect_strstr.
10409 (__strstr_ia32): Likewise.
10410 (__libc_strstr): New prototype.
10411 (strstr): Renamed to ...
10412 (__libc_strstr): This.
10413 (strstr): New strong alias of __libc_strstr.
10414 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10415 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10416 __redirect_time.
10417 Include <time.h>.
10418 (__libc_time): New prototype.
10419 (time_ifunc): Replace time with __libc_time.
10420 (time): New strong alias and hidden definition of __libc_time.
10421 (__GI_time): Remove strong alias.
10422 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10423 Include <stddef.h>.
10424 (memmove): Redefined to __redirect_memmove.
10425 (__memmove_sse2): Use typeof __redirect_memmove.
10426 (__memmove_ssse3): Likewise.
10427 (__memmove_ssse3_back): Likewise.
10428 (__libc_memmove): New prototype.
10429 (memmove): Renamed to ...
10430 (__libc_memmove): This.
10431 (memmove): New strong alias of __libc_memmove.
10432
33b4a91e
MS
104332012-08-08 Mark Salter <msalter@redhat.com>
10434
10435 * elf/elf.h
10436 (R_MN10300_TLS_GD): Define.
10437 (R_MN10300_TLS_LD): Likewise.
10438 (R_MN10300_TLS_LDO): Likewise.
10439 (R_MN10300_TLS_GOTIE): Likewise.
10440 (R_MN10300_TLS_IE): Likewise.
10441 (R_MN10300_TLS_LE): Likewise.
10442 (R_MN10300_TLS_DTPMOD): Likewise.
10443 (R_MN10300_TLS_DTPOFF): Likewise.
10444 (R_MN10300_TLS_TPOFF): Likewise.
10445 (R_MN10300_SYM_DIFF): Likewise.
10446 (R_MN10300_ALIGN): Likewise.
10447 (R_MN10300_NUM): Update.
10448
b36137f1
JM
104492012-08-08 Joseph Myers <joseph@codesourcery.com>
10450
10451 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10452 Remove.
10453
cdd915fd
RM
104542012-08-08 Roland McGrath <roland@hack.frob.com>
10455
a2433aac
RM
10456 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10457
cdd915fd
RM
10458 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10459 sysdeps/unix -> sysdeps/posix move.
10460 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10461
bf9b740a
AM
104622012-08-07 Allan McRae <allan@archlinux.org>
10463
10464 [BZ #14303]
10465 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10466 (SUNOS_CPP): Likewise.
10467 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10468 not found.
10469 (open_input): Call CPP using execvp.
10470
93df14ee
JM
104712012-08-07 Joseph Myers <joseph@codesourcery.com>
10472
10473 * sysdeps/unix/sysv/linux/kernel-features.h
10474 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10475 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10476 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10477 (__ASSUME_WAITID_SYSCALL): Likewise.
10478 * sysdeps/unix/sysv/linux/dl-execstack.c
10479 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10480 code unconditional.
10481 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10482 conditional code.
10483 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10484 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10485 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10486 code.
10487 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10488 unconditional.
10489 [__ASSUME_WAITID_SYSCALL]: Likewise.
10490 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10491
d34689de
RM
104922012-08-07 Roland McGrath <roland@hack.frob.com>
10493
a281decc
RM
10494 * sysdeps/unix/closedir.c: Renamed to ...
10495 * sysdeps/posix/closedir.c: ... here.
10496 * sysdeps/unix/dirfd.c: Renamed to ...
10497 * sysdeps/posix/dirfd.c: ... here.
10498 * sysdeps/unix/dirstream.h: Renamed to ...
10499 * sysdeps/posix/dirstream.h: ... here.
10500 * sysdeps/unix/fdopendir.c: Renamed to ...
10501 * sysdeps/posix/fdopendir.c: ... here.
10502 * sysdeps/unix/opendir.c: Renamed to ...
10503 * sysdeps/posix/opendir.c: ... here.
10504 * sysdeps/unix/readdir.c: Renamed to ...
10505 * sysdeps/posix/readdir.c: ... here.
10506 * sysdeps/unix/readdir_r.c: Renamed to ...
10507 * sysdeps/posix/readdir_r.c: ... here.
10508 * sysdeps/unix/rewinddir.c: Renamed to ...
10509 * sysdeps/posix/rewinddir.c: ... here.
10510 * sysdeps/unix/seekdir.c: Renamed to ...
10511 * sysdeps/posix/seekdir.c: ... here.
10512 * sysdeps/unix/telldir.c: Renamed to ...
10513 * sysdeps/posix/telldir.c: ... here.
10514 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10515 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10516 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10517 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10518
22895b47
RM
10519 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10520 * bits/fcntl.h: ... here.
10521
707a53b6
RM
10522 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10523 not 0.
10524 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10525 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10526 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10527 (struct flock): Move l_start, l_len to the beginning.
10528 Use __pid_t for l_pid.
10529 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10530 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10531 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10532 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10533 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10534 [__USE_LARGEFILE64] (struct flock64): New type.
10535 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10536
f0bd3e25
RM
10537 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10538 * bits/dirent.h: ... here.
10539
d34689de
RM
10540 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10541 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10542
6dad2c06
JM
105432012-08-07 Joseph Myers <joseph@codesourcery.com>
10544
10545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10546 Change from 2.6.0 to 2.6.16.
10547 * sysdeps/unix/sysv/linux/configure: Regenerated.
10548 * sysdeps/unix/sysv/linux/kernel-features.h
10549 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10550 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10551 version.
10552 (__ASSUME_UTIMES): Likewise.
10553 (__ASSUME_CLONE_STOPPED): Remove.
10554 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10555 architectures, not kernel version.
10556 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10557 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10558 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10559 (__ASSUME_WAITID_SYSCALL): Likewise.
10560 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10561 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10562 * README: State 2.6.16 as minimum Linux kernel version. Do not
10563 refer to older versions.
10564
03af9520
RM
105652012-08-06 Roland McGrath <roland@hack.frob.com>
10566
8e49df1d
RM
10567 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10568 Define alphasort64 as an alias.
10569 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10570 Define versionsort64 as an alias.
10571 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10572 Define scandir64 as an alias.
10573 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10574 Define scandirat64 as an alias.
10575 * dirent/alphasort64.c (alphasort64):
10576 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10577 * dirent/versionsort64.c: Likewise.
10578 * dirent/scandir64.c: Likewise.
10579 * dirent/scandirat64.c: Likewise.
10580 * sysdeps/wordsize-64/alphasort.c: File removed.
10581 * sysdeps/wordsize-64/alphasort64.c: File removed.
10582 * sysdeps/wordsize-64/scandir.c: File removed.
10583 * sysdeps/wordsize-64/scandir64.c: File removed.
10584 * sysdeps/wordsize-64/scandirat.c: File removed.
10585 * sysdeps/wordsize-64/scandirat64.c: File removed.
10586 * sysdeps/wordsize-64/versionsort.c: File removed.
10587 * sysdeps/wordsize-64/versionsort64.c: File removed.
10588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10589 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10591 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10593 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10594 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10595 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10596
10597 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10598 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10599 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10600 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10601 [defined __arch64__ || defined __sparcv9]
10602 (__INO_T_MATCHES_INO64_T): New macro.
10603 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10604 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10605 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10606 * sysdeps/unix/sysv/linux/bits/dirent.h
10607 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10608 (_DIRENT_MATCHES_DIRENT64): New macro.
10609
03af9520
RM
10610 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10611 Define lockf64 as an alias.
10612 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10613 Define fseeko64 as an alias.
10614 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10615 Define ftello64 as an alias.
10616 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10617 Define _IO_fgetpos64 and fgetpos64 as aliases.
10618 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10619 Define _IO_fsetpos64 and fsetpos64 as aliases.
10620 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10621 Conditionalize body on this.
10622 * libio/fseeko64.c: Likewise.
10623 * libio/ftello64.c: Likewise.
10624 * libio/iofgetpos64.c: Likewise.
10625 * libio/iofsetpos64.c: Likewise.
10626 * sysdeps/wordsize-64/lockf.c: File removed.
10627 * sysdeps/wordsize-64/lockf64.c: File removed.
10628 * sysdeps/wordsize-64/fseeko.c: File removed.
10629 * sysdeps/wordsize-64/fseeko64.c: File removed.
10630 * sysdeps/wordsize-64/ftello.c: File removed.
10631 * sysdeps/wordsize-64/ftello64.c: File removed.
10632 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10633 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10634 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10635 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10636 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10637 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10638 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10639 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10640 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10641 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10642 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10643 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10644 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10645 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10646
10647 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10649 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10651 [defined __arch64__ || defined __sparcv9]
10652 (__OFF_T_MATCHES_OFF64_T): New macro.
10653 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10654 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10656 (__OFF_T_MATCHES_OFF64_T): New macro.
10657
c5757acd
L
106582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10659
10660 * stdlib/secure-getenv.c (__secure_getenv): Replace
10661 GLIBC_2_16 with GLIBC_2_17.
10662
3a31811e
L
106632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10664
10665 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10666 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10667
faa2bccb
DM
106682012-08-03 David S. Miller <davem@davemloft.net>
10669
10670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10671
85fe1997
JM
106722012-08-03 Joseph Myers <joseph@codesourcery.com>
10673
10674 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10675 Remove.
10676 (__ASSUME_CORRECT_SI_PID): Likewise.
10677 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10678 (__ASSUME_TMPFS_NAME): Likewise.
10679 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10680 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10681 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10682 (HAVE_AUX_SECURE): Make definition unconditional.
10683 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10684 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10685
4f75b7a0
RM
106862012-08-03 Roland McGrath <roland@hack.frob.com>
10687
10688 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10689 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10690 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10691 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10692 __eloop_threshold instead of SYMLOOP_MAX.
10693
10694 * sysdeps/generic/eloop-threshold.h: New file.
10695 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10696 of MAXSYMLINKS.
10697 * elf/chroot_canon.c (chroot_canon): Likewise.
10698
7aab07e4
JM
106992012-08-03 Joseph Myers <joseph@codesourcery.com>
10700
10701 [BZ #13717]
10702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10703 Change to 2.6.0 everywhere.
10704 * sysdeps/unix/sysv/linux/configure: Regenerated.
10705 * sysdeps/unix/sysv/linux/kernel-features.h
10706 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10707 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10708 kernel versions.
10709 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10710 (__ASSUME_FUTEX_REQUEUE): Remove.
10711 (__ASSUME_STATFS64): Define unconditionally.
10712 (__ASSUME_AT_SECURE): Likewise.
10713 (__ASSUME_CORRECT_SI_PID): Likewise.
10714 (__ASSUME_TGKILL): Define without depending on kernel version for
10715 i386.
10716 (__ASSUME_UTIMES): Likewise.
10717 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10718 kernel version.
10719 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10720 (__ASSUME_TMPFS_NAME): Likewise.
10721 * README: Update reference to Linux kernel versions.
10722
b67e9372
MP
107232012-08-02 Marek Polacek <polacek@redhat.com>
10724
1f529f7d 10725 [BZ# 14150]
b67e9372
MP
10726 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10727 libc_cv_asm_type_prefix with %.
10728 * configure: Regenerated.
d2441631
RM
10729 * include/libc-symbols.h: Remove comment about
10730 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10731 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10732 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10733 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10734 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10735 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10736 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10737 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10738 * elf/tst-unique2mod1.c: Likewise.
10739 * elf/tst-unique1mod2.c: Likewise.
10740 * elf/tst-unique1mod1.c: Likewise.
10741 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10742 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10743 Replace ASM_TYPE_DIRECTIVE with .type.
10744 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10745 * sysdeps/i386/sysdep.h: Likewise.
10746 * sysdeps/x86_64/sysdep.h: Likewise.
10747 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10749 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10750 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10751 * sysdeps/powerpc/powerpc32/sysdep.h:
10752 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10753 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10754 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10755 * sysdeps/i386/fpu/e_powf.S: Likewise.
10756 * sysdeps/i386/fpu/e_expl.S: Likewise.
10757 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10758 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10759 * sysdeps/i386/fpu/e_pow.S: Likewise.
10760 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10761 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10762 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10763 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10764 * sysdeps/i386/fpu/e_log2.S: Likewise.
10765 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10766 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10767 * sysdeps/i386/fpu/e_powl.S: Likewise.
10768 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10769 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10770 * sysdeps/i386/fpu/e_logl.S: Likewise.
10771 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10772 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10773 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10774 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10775 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10776 * sysdeps/i386/fpu/e_log.S: Likewise.
10777 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10778 * sysdeps/i386/fpu/e_logf.S: Likewise.
10779 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10780 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10781 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10782 * sysdeps/i386/fpu/e_log10.S: Likewise.
10783 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10784 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10785 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10786 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10787 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10788 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10789 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10790 * sysdeps/i386/i686/strtok.S: Likewise.
10791 * sysdeps/i386/i386-mcount.S: Likewise.
10792 * sysdeps/i386/strtok.S: Likewise.
10793 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10794 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10795 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10796 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10797 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10798 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10799 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10800 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10801 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10802 * sysdeps/x86_64/_mcount.S: Likewise.
10803 * sysdeps/x86_64/strtok.S: Likewise.
10804 * sysdeps/sh/_mcount.S: Likewise.
10805
2747bf9a
RM
108062012-08-01 Roland McGrath <roland@hack.frob.com>
10807
10808 * libio/iofopen.c: Include <fcntl.h>.
10809 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10810 (_IO_fopen64, fopen64): Define as aliases.
10811 * libio/iofopen64.c: Include <fcntl.h>.
10812 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10813 Conditionalize body on this.
10814 * sysdeps/wordsize-64/iofopen.c: File removed.
10815 * sysdeps/wordsize-64/iofopen64.c: File removed.
10816
3fb791b8
MP
108172012-08-01 Marek Polacek <polacek@redhat.com>
10818
10819 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10820 Use dlfcn directly instead of a variable.
10821 (binfmt-subdir): Do not define.
10822 (dlfcn): Likewise.
10823
a9f1039f
JM
108242012-08-01 Joseph Myers <joseph@codesourcery.com>
10825
23bddc06
JM
10826 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10827 Remove all definitions.
10828 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10829 <kernel-features.h>.
10830 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10831 (miss_F_GETOWN_EX): Remove all definitions.
10832 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10833 macro definition.
10834 [!__ASSUME_FCNTL64]: Remove conditional code.
10835 [__ASSUME_FCNTL64]: Make code unconditional.
10836 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10837 <kernel-features.h>.
10838 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10839 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10840 (lockf64) [__NR_fcntl64]: Make code unconditional.
10841 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10842
a9f1039f
JM
10843 * sysdeps/unix/sysv/linux/kernel-features.h
10844 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10845 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10846 Make code unconditional.
10847 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10848 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10850 [__NR_vfork]: Make code unconditional.
10851 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10852 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10854 [__NR_vfork]: Make code unconditional.
10855 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10856 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10857
09c0ee5f
RM
108582012-08-01 Roland McGrath <roland@hack.frob.com>
10859
48aec5b9
RM
10860 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10861 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10862
cd97c966
RM
10863 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10864 Define mkstemp64 as an alias.
3f55550c
RM
10865 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10866 Define mkstemps64 as an alias.
cd97c966
RM
10867 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10868 Define mkostemp64 as an alias.
b8625cfc
RM
10869 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10870 Define mkostemps64 as an alias.
cd97c966
RM
10871 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10872 Conditionalize body on this.
10873 * misc/mkostemp64.c: Likewise.
b8625cfc 10874 * misc/mkostemps64.c: Likewise.
3f55550c 10875 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10876 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10877 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10878 * sysdeps/wordsize-64/mkostemp.c: File removed.
10879 * sysdeps/wordsize-64/mkstemp.c: File removed.
10880 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10881 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10882 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10883 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10884
09c0ee5f
RM
10885 [BZ #14138]
10886 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10887 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10888 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10889 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10890
10891 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10892 compat_symbol macros from <shlib-compat.h> rather than the underlying
10893 default_symbol_version and symbol_version macros, so that DEFAULT
10894 lines in shlib-versions are respected.
10895 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10896
7e66ee51
FW
108972012-08-01 Florian Weimer <fweimer@redhat.com>
10898
10899 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10900 Declare with warn_unused_result.
10901 (setgid, setregid, setegid, setresgid): Likewise.
10902 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10903 Likewise.
10904 * WUR-REPORT: Remove set*id functions.
10905
d2a54255
PT
109062012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10907
10908 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10909
7ecdb005
RM
109102012-07-31 Roland McGrath <roland@hack.frob.com>
10911
789bd351
RM
10912 * include/sys/socket.h (__libc_accept, __libc_accept4):
10913 Add attribute_hidden.
10914 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10915
40ce302d
RM
10916 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10917 use of PTR_MANGLE.
10918 * inet/getnetgrent_r.c (setup): Likewise.
10919
7ecdb005
RM
10920 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10921
e2eabb2c
DM
109222012-07-31 David S. Miller <davem@davemloft.net>
10923
10924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10925
d0419dbf
JM
109262012-07-31 Joseph Myers <joseph@codesourcery.com>
10927
10928 [BZ #13629]
10929 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10930 value between 1.0 and 2.0 and smaller part has absolute value less
10931 than 1.0.
10932 * math/s_clog10.c (__clog10): Likewise.
10933 * math/s_clog10f.c (__clog10f): Likewise.
10934 * math/s_clog10l.c (__clog10l): Likewise.
10935 * math/s_clogf.c (__clogf): Likewise.
10936 * math/s_clogl.c (__clogl): Likewise.
10937 * math/libm-test.inc (clog_test): Add more tests.
10938 (clog10_test): Likewise.
10939 * sysdeps/i386/fpu/libm-test-ulps: Update.
10940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10941
2bc13872
FW
109422012-07-31 Florian Weimer <fweimer@redhat.com>
10943
10944 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10945 Exit with zero in case no suitable GID is found, and write a
10946 message to standard error.
10947
bea9b193
RM
109482012-07-30 Roland McGrath <roland@hack.frob.com>
10949
10950 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10951 rather than to 1.
10952 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10953 (MAXPATHLEN): Removed.
10954 (NOGROUP, NODEV): New macros.
10955 (setbit, clrbit, isset, isclr): New macros.
10956 (howmany, roundup, powerof2): New macros.
10957 (DEV_BSIZE): New macro.
10958
10959 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10960 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10961
10962 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10963 definition on [!__NO_LONG_DOUBLE_MATH].
10964
10965 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10966 PTR_MANGLE and PTR_DEMANGLE.
10967
10968 * socket/accept4.c (accept4): Rename to __libc_accept4.
10969 Define accept4 as a weak alias.
10970
10971 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10972 on [_DIRENT_HAVE_D_TYPE].
10973 * io/ftw.c (ftw_dir): Likewise.
10974
10975 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10976
10977 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10978
10979 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10980 Use the BSD numbers rather than the arbitrary ones we had.
10981 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10982 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10983 (SIGXCPU, SIGXFSZ): New macros.
10984 (_NSIG): Now 32.
10985
10986 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10987 initializer on [_LIBC_REENTRANT].
10988
10989 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10990 definitions inside [_POSIX_MAPPED_FILES].
10991
10992 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10993
10994 * dirent/opendir.c: Include <fcntl.h>.
10995
10996 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10997 (__libc_getspecific): Likewise.
10998 (__libc_key_create): Likewise.
10999
11000 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11001 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11002 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11003 (tmpfile64): Define as alias.
11004 * sysdeps/wordsize-64/tmpfile.c: File removed.
11005 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11006 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11007 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11008
11009 * stdio-common/vfscanf.c: Include <stdbool.h>.
11010 * nss/makedb.c: Likewise.
11011 * stdio-common/_i18n_number.h: Likewise.
11012 * argp/argp-help.c: Likewise.
11013 * posix/wordexp.c: Likewise.
11014 * sysdeps/posix/spawni.c: Likewise.
11015 * nss/nss_files/files-initgroups.c: Likewise.
11016 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11017 * nss/nss_files/files-initgroups.c: Likewise.
11018 * nss/nss_db/db-netgrp.c: Likewise.
11019 * nss/nss_db/db-initgroups.c: Likewise.
11020 * io/fchmodat.c: Include <sys/stat.h>.
11021
11022 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11023 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11024
11025 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11026 [HAVE_MMAP].
11027
11028 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11029 Add multiple inclusion protection.
11030
e5abc686
DM
110312012-07-27 David S. Miller <davem@davemloft.net>
11032
11033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11034
815e6fa3
GB
110352012-07-27 Gary Benson <gbenson@redhat.com>
11036
11037 [BZ #14298]
11038 * elf/rtld.c: Include <stap-probe.h>.
11039 (dl_main): Added static probes "init_start" and "init_complete".
11040 * elf/dl-load.c: Include <stap-probe.h>.
11041 (lose): Take new parameter "nsid".
11042 Added static probe "map_failed".
11043 (_dl_map_object_from_fd): Pass namespace id to lose.
11044 Added static probe "map_start".
11045 (open_verify): Pass namespace id to lose.
11046 * elf/dl-open.c: Include <stap-probe.h>.
11047 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11048 and "reloc_complete".
11049 * elf/dl-close.c: Include <stap-probe.h>.
11050 (_dl_close_worker): Added static probes "unmap_start" and
11051 "unmap_complete".
11052 * elf/rtld-debugger-interface.txt: New file documenting the above.
11053
9f98c16c
RM
110542012-07-26 Roland McGrath <roland@hack.frob.com>
11055
11056 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11057 rather than a string variable.
11058 * sunrpc/rpc_main.c (h_output): Likewise.
11059 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11060
f3c22df3
PT
110612012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11062
11063 * inet/check_native.c: New file.
11064
3129cfc6
JM
110652012-07-26 Joseph Myers <joseph@codesourcery.com>
11066
da865e95
JM
11067 [BZ #13629]
11068 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11069 if larger part has absolute value 1.0.
11070 * math/s_clog10.c (__clog10): Likewise.
11071 * math/s_clog10f.c (__clog10f): Likewise.
11072 * math/s_clog10l.c (__clog10l): Likewise.
11073 * math/s_clogf.c (__clogf): Likewise.
11074 * math/s_clogl.c (__clogl): Likewise.
11075 * math/libm-test.inc (clog_test): Add more tests.
11076 (clog10_test): Likewise.
11077 * sysdeps/i386/fpu/libm-test-ulps: Update.
11078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11079
3129cfc6
JM
11080 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11081 (pltexit): Likewise.
11082 (La_regs): Likewise.
11083 (La_retval): Likewise.
11084 (int_retval): Likewise.
11085 Update #error for removed macros to refer only to definitions in
11086 tst-audit.h.
11087 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11088 macro.
11089 (pltexit): Likewise.
11090 (La_regs): Likewise.
11091 (La_retval): Likewise.
11092 (int_retval): Likewise.
11093 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11094 macro.
11095 (pltexit): Likewise.
11096 (La_regs): Likewise.
11097 (La_retval): Likewise.
11098 (int_retval): Likewise.
11099 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11100 macro.
11101 (pltexit): Likewise.
11102 (La_regs): Likewise.
11103 (La_retval): Likewise.
11104 (int_retval): Likewise.
11105 * elf/tst-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
11118 macro.
11119 (pltexit): Likewise.
11120 (La_regs): Likewise.
11121 (La_retval): Likewise.
11122 (int_retval): Likewise.
11123 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11124 macro definitions in tst-audit.h.
11125 * sysdeps/i386/tst-audit.h: New file.
11126 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11127 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11128 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11129 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11130 * sysdeps/sh/tst-audit.h: Likewise.
11131 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11132 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11133 * sysdeps/x86_64/tst-audit.h: Likewise.
11134
bfc07087
AJ
111352012-07-26 Andreas Jaeger <aj@suse.de>
11136
b1b2aaf8
AJ
11137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11138 ptrace.
11139
11140 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11141 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11142 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11143 PTRACE_O_MASK.
11144 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11145 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11146 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11147
bfc07087
AJ
11148 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11149 value.
11150
11151 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11152 _sigsys.
11153 (si_call_addr, si_syscall, si_arch): Define new macro.
11154 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11155 _sigsys.
11156 (si_call_addr, si_syscall, si_arch): Define new marcro.
11157 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11158 _sigsys.
11159 (si_call_addr, si_syscall, si_arch): Define new macro.
11160 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11161 _sigsys.
11162 (si_call_addr, si_syscall, si_arch): Define new macro.
11163
89b4b02f
JM
111642012-07-25 Joseph Myers <joseph@codesourcery.com>
11165
11166 [BZ #13717]
11167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11168 Change to 2.4.21 where previously 2.4.1.
11169 * sysdeps/unix/sysv/linux/configure: Regenerated.
11170 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11171 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11172 Linux kernel version.
11173 (__ASSUME_STD_AUXV): Remove.
11174 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11175 kernel version.
11176 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11177 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11178 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11179 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11180 (__ASSUME_NETLINK_SUPPORT): Likewise.
11181 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11182 (__no_netlink_support): Remove conditional definition.
11183 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11184 Remove.
11185 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11186 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11187 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11188 (if_nameindex_ioctl): Remove.
11189 (if_nameindex_netlink): Do not handle __no_netlink_support.
11190 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11191 code.
11192 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11193 Remove conditional code.
11194 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11195 code.
11196 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11197 unconditional.
11198 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11199 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11200 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11201 Remove.
11202 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11203 [!__ASSUME_STD_AUXV]: Remove conditional code.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11205 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11206 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11208 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11209 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11210 code.
11211 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11213 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11214 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11215 conditional code.
11216 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11218 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11219 code.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11221 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11222 conditional code.
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11224 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11225 code unconditional.
11226 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11227 conditional code.
11228 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11229 unconditional.
11230 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11231 conditional code.
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11233 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11234 unconditional.
11235 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11236 conditional code.
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11238 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11239 code unconditional.
11240 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11241 conditional code.
11242 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11243 unconditional.
11244 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11245 conditional code.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11247 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11248 code unconditional.
11249 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11250 conditional code.
11251 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11252 unconditional.
11253 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11254 conditional code.
11255
842a39cd
AS
112562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11257
11258 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11259 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11260 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11261 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11262 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11263 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11264 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11265 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11266 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11267 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11268 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11269 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11270 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11271 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11272 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11273 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11274 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11275 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11276 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11278 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11279 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11280 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11281
84b3fd84
FW
112822012-07-25 Florian Weimer <fweimer@redhat.com>
11283
11284 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11285 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11286 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11287 Introduce __libc_secure_getenv.
0c7936d5
FW
11288 * stdlib/Versions (2.17): Add secure_getenv
11289 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11290 * stdlib/secure-getenv.c: Rename __secure_getenv to
11291 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11292 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11293 * stdlib/tst-secure-getenv.c: New.
11294 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11295 * manual/startup.texi (Environment Access): Document
11296 secure_getenv.
84b3fd84
FW
11297 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11298 __libc_secure_getenv.
11299 * inet/ruserpass.c (ruserpass): Likewise.
11300 * malloc/mtrace.c (mtrace): Likewise.
11301 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11302 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11303 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11304 * sysdeps/posix/tempname.c: Likewise. Evaluate
11305 HAVE_SECURE_GETENV.
11306 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11307 __secure_getenv to __libc_secure_getenv.
84b3fd84 11308 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11310 Likewise.
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11312 Likewise.
11313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11320
56e49b71
JM
113212012-07-25 Joseph Myers <joseph@codesourcery.com>
11322
11323 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11324 (struct La_i86_retval): Likewise.
11325 (struct La_x86_64_regs): Likewise.
11326 (struct La_x86_64_retval): Likewise.
11327 (struct La_x32_regs): Likewise.
11328 (struct La_x32_retval): Likewise.
11329 (struct La_ppc32_regs): Likewise.
11330 (struct La_ppc32_retval): Likewise.
11331 (struct La_ppc64_regs): Likewise.
11332 (struct La_ppc64_retval): Likewise.
11333 (struct La_sh_regs): Likewise.
11334 (struct La_sh_retval): Likewise.
11335 (struct La_s390_32_regs): Likewise.
11336 (struct La_s390_32_retval): Likewise.
11337 (struct La_s390_64_regs): Likewise.
11338 (struct La_s390_64_retval): Likewise.
11339 (struct La_sparc32_regs): Likewise.
11340 (struct La_sparc32_retval): Likewise.
11341 (struct La_sparc64_regs): Likewise.
11342 (struct La_sparc64_retval): Likewise.
11343 (struct audit_ifaces): Remove architecture-specific pltenter and
11344 pltexit members.
11345 * sysdeps/i386/ldsodefs.h: New file.
11346 * sysdeps/powerpc/ldsodefs.h: Likewise.
11347 * sysdeps/s390/ldsodefs.h: Likewise.
11348 * sysdeps/sh/ldsodefs.h: Likewise.
11349 * sysdeps/sparc/ldsodefs.h: Likewise.
11350 * sysdeps/x86_64/ldsodefs.h: Likewise.
11351
354691b7
MP
113522012-07-25 Marek Polacek <polacek@redhat.com>
11353
11354 [BZ #6808]
11355 * math/libm-test.inc (yn_test): Add another test.
11356 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11357 to ERANGE when the result is +-Inf.
11358 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11359 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11360 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11361 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11362
bf9e2071
JM
113632012-07-24 Joseph Myers <joseph@codesourcery.com>
11364
11365 * conform/data/time.h-data (NULL): Use macro-constant. Require
11366 equal to 0.
11367 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11368 clock_t.
11369 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11370
57633811
TS
113712012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11372
11373 * configure.in <sysdeps resolving>: Correct printing
11374 Implies_before.
11375 * configure: Regenerate.
11376
c23c33b0
TS
113772012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11378
11379 * math/w_ilogb.c: Include <limits.h>.
11380 * math/w_ilogbl.c: Likewise.
11381
b5982523
JM
113822012-07-20 Joseph Myers <joseph@codesourcery.com>
11383
11384 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11385 va_copy. Document allowing for unavailable va_copy only as
11386 pre-C99 compatibility.
11387 * manual/string.texi (Copying and Concatenation): Use va_copy
11388 instead of __va_copy in concat example.
11389
ac4ea442
PT
113902012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11391
11392 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11393 (__sendto): Use create_address_port. Initialize APORT and deallocate
11394 it if not null.
11395
f98eafbd
PT
11396 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11397 with O_NOLINK passed to __file_name_lookup.
11398
898c7aab
PT
11399 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11400 with O_NOLINK passed to __file_name_lookup.
11401
0ced335a
PT
11402 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11403 negative N or less than NGIDS.
11404
b3404dbd
PT
11405 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11406 type to string_t. Set ERANGE as errno and return it if NAME is not big
11407 enough. Use memcpy instead of strncpy.
11408
0f48659e
JM
114092012-07-20 Joseph Myers <joseph@codesourcery.com>
11410
11411 * elf/Makefile (check-data): Remove.
11412 (localplt.data): New vpath directive.
11413 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11414 instead of $(check-data).
11415 * scripts/data/localplt-generic.data: Move to ...
11416 * sysdeps/generic/localplt.data: ... here.
11417 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11418 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11419 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11421 ... here.
11422 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11424 ... here.
11425 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11427 ... here.
11428 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11430 ... here.
11431 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11433 ... here.
11434 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11436 ... here.
11437
d37cbdaa
AZ
114382012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11439
11440 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11441 PPC32 and PPC64 files.
11442 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11443 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11444
46f85fc2
AK
114452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11446
11447 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11448 __makecontext_ret to ...
11449 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11450 ... here and call exit if uc_link is NULL. New file.
11451 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11452 __makecontext_ret.S.
11453 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11454 __makecontext_ret to ...
11455 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11456 ... here and call exit if uc_link is NULL. New file.
11457 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11458 __makecontext_ret.S.
11459
08f43f9b
AK
114602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11461
11462 * elf/elf.h (R_390_IRELATIVE): New definition.
11463 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11464 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11465 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11466 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11467 (elf_machine_lazy_rel): Likewise.
11468 * sysdeps/s390/dl-irel.h: New file.
11469 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11470 * sysdeps/s390/s390-64/memset.S: New asm code.
11471 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11472 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11473 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11474 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11475 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11476 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11477 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11478 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11479 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11480 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11481 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11482 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11483 * sysdeps/s390/s390-32/memset.S: New asm code.
11484 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11485
3b05db33
MP
114862012-07-17 Marek Polacek <polacek@redhat.com>
11487
11488 [BZ #14349]
11489 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11490 * sysdeps/s390/s390-64/configure.in: Likewise.
11491 * sysdeps/sparc/configure.in: Likewise.
11492 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11493 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11494 * sysdeps/i386/configure.in: Likewise.
11495 * sysdeps/x86_64/configure.in: Likewise.
11496 * sysdeps/sh/configure.in: Likewise.
11497 * sysdeps/s390/s390-32/configure: Regenerated.
11498 * sysdeps/s390/s390-64/configure: Likewise.
11499 * sysdeps/x86_64/configure: Likewise.
11500 * sysdeps/sh/configure: Likewise.
11501 * sysdeps/powerpc/powerpc64/configure: Likewise.
11502 * sysdeps/powerpc/powerpc32/configure: Likewise.
11503 * sysdeps/sparc/configure: Likwise.
11504 * sysdeps/i386/configure: Likewise.
11505
a66877c6
MP
11506 * elf/dl-open.c: Comment fixes.
11507
cfc82fd8
JM
115082012-07-17 Joseph Myers <joseph@codesourcery.com>
11509
bd29910a
JM
11510 * Makefile [CXX] (check-data): Remove.
11511 [CXX] (c++-types.data): New vpath directive.
11512 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11513 vpath. Do not allow for C++ type data being missing.
11514 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11515 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11516 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11517 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11518 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11519 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11520 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11522 ... here.
11523 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11525 ... here.
11526 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11528 ... here.
11529 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11531 ... here.
11532 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11534 ... here.
11535 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11537 ... here.
11538 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11540 ... here.
11541 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11543
cfc82fd8
JM
11544 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11545 definitions to architecture-specific files.
11546 (TLS_IE): Likewise.
11547 (TLS_LD): Likewise.
11548 (TLS_GD): Likewise.
11549 * sysdeps/i386/tls-macros.h: New file.
11550 * sysdeps/powerpc/tls-macros.h: Likewise.
11551 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11552 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11553 * sysdeps/sh/tls-macros.h: Likewise.
11554 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11555 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11556 * sysdeps/x86_64/tls-macros.h: Likewise.
11557
f7db3170
TS
115582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11559
07cbfc23
TS
11560 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11561 zero value for regular exit case.
11562
f7db3170
TS
11563 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11564 (__start_context): Preserve zero value for regular exit case.
11565
dc97c227
TS
115662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11567 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11568
11569 * manual/setjmp.texi (setcontext): Clarify normal process
11570 termination when uc_link is the null pointer.
11571 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11572 exit call.
11573
d0cd7d02
AS
115742012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11575
11576 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11577 preprocessor. Test for each exception mask separately.
11578
dd318934
AJ
115792012-07-16 Andreas Jaeger <aj@suse.de>
11580
11581 * po/ru.po: Update from translation team.
11582
8048311a
JM
115832012-07-15 Joseph Myers <joseph@codesourcery.com>
11584
11585 * conform/data/string.h-data (NULL): Use macro-constant. Require
11586 equal to 0.
11587 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11588 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11589 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11590 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11592
b637d46e
AJ
115932012-07-13 Andreas Jaeger <aj@suse.de>
11594
11595 * po/fr.po: Update from translation team.
11596
541428fe
MP
115972012-07-12 Marek Polacek <polacek@redhat.com>
11598
11599 [BZ #14173]
11600 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11601 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11602 loop condition.
11603
ec332e94
JM
116042012-07-12 Joseph Myers <joseph@codesourcery.com>
11605
11606 [BZ #13717]
11607 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11608 Change to 2.4.1 where previously 2.4.0.
11609 * sysdeps/unix/sysv/linux/configure: Regenerated.
11610 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11611 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11612 version.
11613 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11614 (__ASSUME_AT_CLKTCK): Remove.
11615 (__ASSUME_AT_PAGESIZE): Likewise.
11616 (__ASSUME_AT_XID): Likewise.
11617 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11618 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11619 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11620 unconditionally.
11621 (HAVE_AUX_PAGESIZE): Likewise.
11622 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11623 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11624 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11625
7b6e99be
JB
116262012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11627
11628 [BZ #14307]
11629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11630 the temporary buffer used to invoke __gethostbyname2_r,
11631 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11632 host_data / struct gaih_addrtuple.
11633 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11634 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11635 header file nss/nsswitch.h.
11636 * nss/nsswitch.h (global scope): Add definition of implementation
11637 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11638 resolv/nss_dns/dns-host.c).
11639
608404eb
AJ
116402012-07-11 Andreas Jaeger <aj@suse.de>
11641
11642 * po/fr.po: Update from translation team.
11643
71220aca
AJ
11644 * po/sv.po: Update from translation team
11645 * po/fr.po: Another update from translation team.
11646
28cfe843
AZ
116472012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11648
11649 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11650 for subnormals or multiply small sinh result by itself.
11651 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11653
6b90f981
DM
116542012-07-11 David S. Miller <davem@davemloft.net>
11655
11656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11657
c6825772
AS
116582012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11659
11660 [BZ #14347]
11661 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11662 (INTERNAL_MARK): Shift it here.
11663
7b8e0d49
MP
116642012-07-10 Marek Polacek <polacek@redhat.com>
11665
11666 [BZ #14151]
11667 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11668 libc_cv_asm_global_directive with .globl.
11669 * configure: Regenerated.
11670 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11671 with .globl.
11672 * sysdeps/i386/configure: Regenerated.
11673 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11674 with .globl.
11675 * sysdeps/x86_64/configure: Regenerated.
11676 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11677 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11678 * elf/tst-unique2mod2.c: Likewise.
11679 * elf/tst-unique2mod1.c: Likewise.
11680 * elf/tst-unique1mod2.c: Likewise.
11681 * elf/tst-unique1mod1.c: Likewise.
11682 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11683 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11684 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11685 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11686 * sysdeps/mach/sysdep.h: Likewise.
11687 * sysdeps/i386/sysdep.h: Likewise.
11688 * sysdeps/i386/i386-mcount.S: Likewise.
11689 * sysdeps/x86_64/_mcount.S: Likewise.
11690 * sysdeps/x86_64/sysdep.h: Likewise.
11691 * sysdeps/sh/_mcount.S: Likewise.
11692 * sysdeps/sh/sysdep.h: Likewise.
11693 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11694 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11695 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11696 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11697 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11698 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11699 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11700 * locale/localeinfo.h: Likewise.
11701 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11702 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11703
6c55cda3
RM
117042012-07-09 Roland McGrath <roland@hack.frob.com>
11705
11706 [BZ #14336]
11707 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11708 system".
11709 * manual/message.texi (The Uniforum approach): Likewise.
11710 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11711 (glibc iconv Implementation): Likewise.
11712
638a572e
JM
117132012-07-09 Joseph Myers <joseph@codesourcery.com>
11714
11715 [BZ #14337]
11716 * math/s_clog.c (__clog): Avoid scaling a value down where that
11717 could result in underflow.
11718 * math/s_clog10.c (__clog10): Likewise.
11719 * math/s_clog10f.c (__clog10f): Likewise.
11720 * math/s_clog10l.c (__clog10l): Likewise.
11721 * math/s_clogf.c (__clogf): Likewise.
11722 * math/s_clogl.c (__clogl): Likewise.
11723 * math/libm-test.inc (clog_test): Add more tests.
11724 (clog10_test): Likewise.
11725 * sysdeps/i386/fpu/libm-test-ulps: Update.
11726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11727
261f4859
AS
117282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11729
0abaf3e4
AS
11730 [BZ #14283]
11731 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11732 by 7 not 8 to examine high bit of fractional part.
11733
261f4859
AS
11734 [BZ #14042]
11735 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11736 for call to __mcount_internal.
11737 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11738 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11739 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11740
f17ac40d
JM
117412012-07-06 Joseph Myers <joseph@codesourcery.com>
11742
9ad63c23
JM
11743 [BZ #14154]
11744 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11745 approximation for values within 0x1p-13f of an odd multiple of
11746 pi/4.
11747 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11748 exception. Add more tests.
11749 * sysdeps/i386/fpu/libm-test-ulps: Update.
11750
f17ac40d
JM
11751 [BZ #6778]
11752 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11753 inputs and return -1 for them. Do not check for +Inf in case not
11754 reachable for +Inf.
11755 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11756 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11757 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11758 and return -1 for them. Do not check for +Inf in case not
11759 reachable for +Inf.
11760 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11761 define.
11762 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11763 and return -1 for them. Do not check for +Inf in case not
11764 reachable for +Inf.
11765 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11766 spurious underflow.
11767 * sysdeps/i386/fpu/libm-test-ulps: Update.
11768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11769
fb21f89b
MF
117702012-07-06 Mike Frysinger <vapier@gentoo.org>
11771
11772 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11773
cdfe2c5e
JM
117742012-07-05 Joseph Myers <joseph@codesourcery.com>
11775
11776 [BZ #14157]
11777 [BZ #14331]
11778 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11779 could result in spurious underflow. Scale down values above
11780 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11781 * math/s_csqrtf.c (__csqrtf): Likewise.
11782 * math/s_csqrtl.c (__csqrtl): Likewise.
11783 * math/libm-test.inc (csqrt_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
70d35b67
AS
117882012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11789
704bc459
AS
11790 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11791 xopen-msg.sed.
11792 * catgets/xopen-msg.awk: New file.
11793 * catgets/xopen-msg.sed: Removed.
11794
70d35b67
AS
11795 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11796 po2text.sed.
11797 * intl/po2test.awk: New file.
11798 * intl/po2test.sed: Removed.
11799
ca61cf32
JM
118002012-07-04 Joseph Myers <joseph@codesourcery.com>
11801
11802 [BZ #14328]
11803 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11804 or multiply small sinh result by itself.
11805 * math/s_ctanf.c (__ctanf): Likewise.
11806 * math/s_ctanh.c (__ctanh): Likewise.
11807 * math/s_ctanhf.c (__ctanhf): Likewise.
11808 * math/s_ctanhl.c (__ctanhl): Likewise.
11809 * math/s_ctanl.c (__ctanl): Likewise.
11810 * math/libm-test.inc (ctan_test_tonearest): New function.
11811 (ctan_test_towardzero): Likewise.
11812 (ctan_test_downward): Likewise.
11813 (ctan_test_upward): Likewise.
11814 (ctanh_test_tonearest): Likewise.
11815 (ctanh_test_towardzero): Likewise.
11816 (ctanh_test_downward): Likewise.
11817 (ctanh_test_upward): Likewise.
11818 (main): Call these new functions.
11819 * sysdeps/i386/fpu/libm-test-ulps: Update.
11820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11821
ca48a46a
MF
118222012-07-03 Mike Frysinger <vapier@gentoo.org>
11823
11824 * .gitignore: Delete /ports entry.
11825
9d63d37d
AJ
118262012-07-03 Andreas Jaeger <aj@suse.de>
11827
11828 * po/bg.po: Update from translation team.
11829 * po/cs.po: Likewise.
11830 * po/de.po: Likewise.
11831 * po/hr.po: Likewise.
11832 * po/nl.pl: Likewise.
11833 * po/pl.po: Likewise.
11834 * po/vi.po: Likewise.
11835
370ca3d2
JM
118362012-07-03 Joseph Myers <joseph@codesourcery.com>
11837
95f5a9a8
JM
11838 * Makeconfig [!+link] (+link-before-libc): New variable.
11839 [!+link] (+link-after-libc): Likewise.
11840 [!+link] (+link-tests): Likewise.
11841 [!+link] (+link): Define in terms of $(+link-before-libc) and
11842 $(+link-after-libc).
11843 [!+link-static] (+link-static-before-libc): New variable.
11844 [!+link-static] (+link-static-after-libc): Likewise.
11845 [!+link-static] (+link-static-tests): Likewise.
11846 [!+link-static] (+link-static): Define in terms of
11847 $(+link-static-before-libc) and $(+link-static-after-libc).
11848 [build-shared] (link-libc-before-gnulib): New variable.
11849 [build-shared] (link-libc-tests): Likewise.
11850 [build-shared] (link-libc): Define in terms of
11851 $(link-libc-before-gnulib).
11852 [!build-shared] (link-libc-tests): New variable.
11853 (link-libc-static-tests): New variable.
11854 [!gnulib] (gnulib-arch): New variable.
11855 [!gnulib] (gnulib-tests): Likewise.
11856 [!gnulib] (static-gnulib-arch): Likewise.
11857 [!gnulib] (static-gnulib-tests): Likewise.
11858 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11859 Define with "=" instead of ":=".
11860 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11861 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11862 * Rules (binaries-all-notests): New variable.
11863 (binaries-all-tests): Likewise.
11864 (binaries-static-notests): Likewise.
11865 (binaries-static-tests): Likewise.
11866 (binaries-all): Define using $(binaries-all-notests) and
11867 $(binaries-all-tests).
11868 (binaries-static): Define using $(binaries-static-notests) and
11869 $(binaries-static-tests).
11870 (binaries-shared-tests): New variable.
11871 (binaries-shared-notests): Likewise.
11872 (binaries-shared): Remove variable.
11873 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11874 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11875 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11876 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11877 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11878 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11879 * elf/Makefile (sln-modules): New variable.
11880 (extra-objs): Add $(sln-modules:=.o).
11881 (ldconfig-modules): Add static-stubs.
11882 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11883 * elf/static-stubs.c: New file.
11884
7a845b2c
JM
11885 [BZ #14283]
11886 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11887 by 7 not 8 to examine high bit of fractional part. Use volatile
11888 variables when splitting into final array of floats if
11889 __FLT_EVAL_METHOD__ != 0.
11890 * math/libm-test.inc (cos_test): Add another test.
11891 (sin_test): Likewise.
11892 * sysdeps/i386/fpu/libm-test-ulps: Update.
11893
e2283f38
JM
11894 [BZ #14273]
11895 * math/libm-test.inc (cosh_test): Add more tests.
11896
370ca3d2
JM
11897 * version.h (RELEASE): Set to "development".
11898 (VERSION): Set to "2.16.90".
11899
ee9247c3
CD
119002012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11901
11902 * NEWS: Update copyright. Remove last-updated date.
11903 Mention math library bug fixes and timezone data changes.
11904 * README: Mention GNU/Hurd, x32, and HPPA support status.
11905
4648c381
TS
119062012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11907
11908 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11909
aac78a43
AJ
119102012-06-27 Andreas Jaeger <aj@suse.de>
11911
11912 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11913
ed3dbfad
AJ
119142012-06-25 Andreas Jaeger <aj@suse.de>
11915
11916 * sysdeps/s390/fpu/libm-test-ulps: Update.
11917
4d0ee855
AS
119182012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11919 Thomas Schwinge <thomas@codesourcery.com>
11920
11921 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11922 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11924 fanotify_mark.
11925
af1bce34
TS
119262012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11927
a9fa33ba
TS
11928 * sysdeps/mach/start.c: Remove file.
11929 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11930 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11931 * sysdeps/sh/init-first.c: Likewise.
11932
58f902b8
TS
11933 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11934 registers for frame unwinding purposes, add CFI directives.
11935 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11936 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11937 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11938 Likewise.
11939
1518f58b
TS
11940 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11941 __fortify_fail returning.
11942 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11943
db9b5059
TS
11944 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11945 sysdeps/sh/____longjmp_chk.S.
11946 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11947 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11948 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11949 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11950
967705fe
TS
11951 * sysdeps/sh/abort-instr.h: New file.
11952 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11953 process in case exit returns.
11954
a9def8c4
TS
11955 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11956 initialize the GOT register before use.
11957
2a649725
TS
11958 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11959 calculation of ARGC > 4.
11960
af1bce34
TS
11961 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11962 meaningful names to some local labels.
11963
d230f50a
KK
119642012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11965 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11966
11967 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11968 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11969 (__arch_compare_and_exchange_val_16_acq): Likewise.
11970 (__arch_compare_and_exchange_val_32_acq): Likewise.
11971 (atomic_exchange_and_add): Fix gUSA sequence.
11972 (atomic_add): Likewise.
11973 (atomic_add_negative): Likewise.
11974 (atomic_add_zero): Likewise.
11975 (atomic_bit_test_set): Likewise.
11976
0479b305
AS
119772012-06-22 Andreas Schwab <schwab@redhat.com>
11978
11979 [BZ #13579]
11980 * include/link.h (struct link_map): Add l_free_initfini.
11981 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11982 l_initfini.
11983 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11984 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11985 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11986 set.
11987
0e3933b9
CD
119882012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11989
11990 * configure.in: Use AC_LANG_SOURCE.
11991 * configure: Regenerate.
11992
4248b1b1
RM
119932012-06-22 Roland McGrath <roland@hack.frob.com>
11994
11995 * configure.in (libc_cv_localstatedir): New substituted variable.
11996 * configure: Regenerated.
11997 * config.make.in (localstatedir): New variable, substituted from
11998 libc_cv_localstatedir.
11999 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12000 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12001 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12002 * sysdeps/gnu/configure: Regenerated.
12003
006dd861
JL
120042012-06-21 Jeff Law <law@redhat.com>
12005
12006 [BZ #14277]
12007 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12008 free. Simplify list management for _LIBC case.
12009
79662d42
JM
120102012-06-21 Joseph Myers <joseph@codesourcery.com>
12011
b7abb4bf
JM
12012 [BZ #14273]
12013 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12014 Clear sign bit of 64-bit integer value before comparing against
12015 overflow value.
12016
79662d42
JM
12017 * sysdeps/mach/configure: Regenerated.
12018
1f150908
L
120192012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12020
12021 [BZ #14278]
12022 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12023
28363bbf
JL
120242012-06-21 Jeff Law <law@redhat.com>
12025
12026 [BZ #13882]
12027 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12028 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12029 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12030 * elf/dl-open.c (dl_open_worker): Likewise.
12031
09615db4
CD
120322012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12033
12034 * scripts/list-sources.sh: Scan PORTS for translations.
12035 * po/libc.pot: Regenerated.
12036
2174c6dd
AJ
120372012-06-21 Andreas Jaeger <aj@suse.de>
12038
12039 [BZ #12194]
12040 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12041 warning.
12042 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12043 * bits/byteswap-16.h (__bswap_16): Likewise.
12044 * bits/byteswap.h (__bswap_constant_16): Likewise.
12045
3ee947b1
L
120462012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12047
12048 [BZ #14117]
a2f34833
L
12049 * sysdeps/i386/fpu_control.h: Removed.
12050 * sysdeps/x86_64/fpu_control.h: Moved to ...
12051 * sysdeps/x86/fpu_control.h: Here.
12052
3ee947b1
L
12053 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12054 (_FPU_SETCW): Likewise.
12055
ed1825f8
L
120562012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12057
25f1282a
L
12058 [BZ #14117]
12059 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12060 * sysdeps/x86/fpu/bits/mathinline.h: This.
12061 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12062
ed1825f8
L
12063 [BZ #14050]
12064 [BZ #14117]
12065 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12066 functions if __x86_64__ is defined.
12067
36d54b74
CLT
120682012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12069
12070 * string/endian.h: Add !__ASSEMBLER__ condition for including
12071 conversion interfaces.
12072
10285c21
JM
120732012-06-15 Joseph Myers <joseph@codesourcery.com>
12074
12075 [BZ #14241]
12076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12077 of ABS(x) in calculating zero to negative powers other than odd
12078 integers.
12079 * math/libm-test.inc (pow_test): Add more tests.
12080
06c5abbd
AJ
120812012-06-15 Andreas Jaeger <aj@suse.de>
12082
12083 * manual/contrib.texi (Contributors): Update entry of Liubov
12084 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12085 Machado Filho.
12086
a3aeac40
CH
120872012-06-15 Cyril Hrubis <metan@ucw.cz>
12088
12089 * string/string.h: Add __wur to GNU version of strerror_r.
12090
49bdf4c1
L
120912012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12092
12093 [BZ #14229]
12094 * string/Makefile (tests): Add tst-strtok_r.
12095 * string/tst-strtok_r.c: New file.
12096 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12097 RAX_LP/RDX_LP on SAVE_PTR.
12098
834f9b8d
RM
120992012-06-14 Roland McGrath <roland@hack.frob.com>
12100
12101 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12102
75fa1921
JM
121032012-06-14 Joseph Myers <joseph@codesourcery.com>
12104
12105 * libm_test.inc (csqrt_test): Allow more spurious underflow
12106 exceptions.
12107 (j0_test): Likewise.
12108 (j1_test): Likewise.
12109 (y0_test): Likewise.
12110 (y1_test): Likewise.
12111
771766df
CD
121122012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12113
12114 * po/Makefile (libc.pot): Use UTF-8 charset.
12115
ceb9e56b
PP
121162012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12117
12118 [BZ #14210]
12119 Suppress sign-conversion warning from FD_SET.
12120 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12121 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12122 not unsigned long int.
12123 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12124
ddb28975
L
121252012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12126
12127 [BZ #14050]
12128 [BZ #14117]
12129 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12130 __extern_always_inline instead of __extern_inline.
12131 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12132 (__signbit): Likewise.
12133 (__signbitl): Support C++ namespace.
12134 (lrintf): New inline function.
12135 (lrint): Likewise.
12136 (llrintf): Likewise.
12137 (llrint): Likewise.
12138 (fmaxf): Likewise.
12139 (fmax): Likewise.
12140 (fminf): Likewise.
12141 (fmin): Likewise.
12142 (rint): Likewise.
12143 (rintf): Likewise.
12144 (ceil): Likewise.
12145 (ceilf): Likewise.
12146 (floor): Likewise.
12147 (floorf): Likewise.
12148 (nearbyint): Likewise.
12149 (nearbyintf): Likewise.
12150
d7b4fb26
TS
121512012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12152
12153 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12154 non-default versions.
12155
eb55f5c2
RM
121562012-06-11 Roland McGrath <roland@hack.frob.com>
12157
12158 [BZ #14218]
12159 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12160
366af02c
TS
121612012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12162
99ff6e5c
TS
12163 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12164 (FE_UPWARD, FE_DOWNWARD): Don't define.
12165 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12166 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12167
366af02c
TS
12168 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12169 reading it.
12170 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12171 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12172
793ea851
KK
121732012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12174
12175 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12176 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12177 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12178 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12179
a728a38f
L
121802012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12181
12182 [BZ #14117]
c08010c7
L
12183 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12184 * sysdeps/i386/fpu/Implies: New file.
12185 * sysdeps/x86_64/fpu/Implies: Likewise.
12186 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12187 * sysdeps/x86/fpu/bits/fenv.h: This.
12188
a728a38f
L
12189 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12190 __SSE_MATH__.
12191
6e230d11
SP
121922012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12193
12194 [BZ #14134]
12195 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12196 character 0xffff that matches the last element of the
12197 conversion table.
12198
1b671feb
AZ
121992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12200
12201 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12202 fmodl commit.
12203
6043738b
AZ
122042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12205
12206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12207 values higher than 25.6283.
12208
34ae0b32
AZ
122092012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12210
12211 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12212 subnormal exponent extraction and add some __builtin_expect.
12213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12214 Fix for subnormal mantissa calculation.
12215
1214ec8f
MF
122162012-06-04 Mike Frysinger <vapier@gentoo.org>
12217
12218 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12219 cpu2 is -1 and errno is not ENOSYS.
12220
f3d1f93c
L
122212012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12222
12223 [BZ #14117]
0e4a3cd7
L
12224 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12225 * sysdeps/x86/bits/string.h: This.
12226 * sysdeps/x86_64/bits/string.h: Removed.
12227
6704c645
L
12228 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12229 if not compiling for x86-64, but compiling for >= i486.
12230
48495318
L
12231 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12232 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12233
14adcbfc
L
12234 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12235 New macro from Linux kernel 3.4.0.
12236 (FP_XSTATE_MAGIC2): Likewise.
12237 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12238 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12239 (struct _fpx_sw_bytes): New struct.
12240 (struct _xsave_hdr): Likewise.
12241 (struct _ymmh_state): Likewise.
12242 (struct _xstate): Likewise.
12243
68e408ab
L
12244 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12245 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12246 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12247 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12248 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12249 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12250
f3d1f93c
L
12251 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12252 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12253 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12254 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12255 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12256 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12257
d9dc34cd
TMQMF
122582012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12259
12260 [BZ #13743]
12261 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12262 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12263 (sysdep_headers): Include sys/platform/ppc.h.
12264 * sysdeps/powerpc/test-gettimebase.c: Test for
12265 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12266 * manual/Makefile (appendices): Include platform.texi.
12267 * manual/contrib.texi (Contributors): Update @node pointers.
12268 * manual/maint.texi (Maintenance): Likewise.
12269 (Platform): New node.
12270 * manual/platform.texi: New file. Document the new features.
12271
4af3879c
SP
122722012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12273 Jakub Jelinek <jakub@redhat.com>
12274
12275 [BZ #14188]
12276 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12277 where __builtin_expect is unavailable.
12278
2fd6ff13
DM
122792012-06-03 David S. Miller <davem@davemloft.net>
12280
12281 * stdlib/longlong.h: Updated from GCC.
12282
173f7220
AS
122832012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12284
12285 [BZ #14042]
12286 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12287 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12288 __mcount_internal.
12289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12290 (GLIBC_2.16): Likewise.
12291
f34a1c6f
L
122922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12293
12294 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12295
88a4576f
JM
122962012-06-01 Joseph Myers <joseph@codesourcery.com>
12297
ea32bcdd
JM
12298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12299 (default-abi): New variable.
12300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12301 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12302 variable.
12303 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12304 Likewise.
12305 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12306 Likewise.
12307 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12308 Likewise.
12309
88a4576f
JM
12310 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12311 definition. Document in comment.
12312
402fe938
DM
123132012-06-01 David S. Miller <davem@davemloft.net>
12314
12315 * stdlib/longlong.h: Updated from GCC.
12316
3553723f
L
123172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12318
12319 [BZ #14117]
3bd872c4
L
12320 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12321 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12322 sys/debugreg.h sys/io.h here.
12323 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12324 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12325 sys/io.h.
12326 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12327 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12328 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12329 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12330 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12331 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12332
3553723f
L
12333 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12334 Define only if __x86_64__ is defined.
12335
4842e4fe
JM
123362012-06-01 Joseph Myers <joseph@codesourcery.com>
12337
c5bfe3d5
JM
12338 [BZ #14048]
12339 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12340 Use int64_t for variable i.
12341 * math/libm-test.inc (fmod_test): Add more tests.
12342
4842e4fe
JM
12343 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12344 z computation is not scheduled after fetestexcept.
12345 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12346 Use math_force_eval instead of asm to ensure calculation scheduled
12347 before exception test.
12348 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12349 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12350
efb73488
AJ
123512012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12352
12353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12354 computation is not scheduled after fetestexcept.
12355
29bcce7c
L
123562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12357
12358 [BZ #14117]
12359 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12360 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12361
73a68f94
AZ
123622012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12363
12364 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12365 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12366
67b6df78
L
123672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12368
edf2933a 12369 [BZ #14117]
ebc64a18
L
12370 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12371 <bits/wordsize.h>.
12372 (__WCHAR_MIN): Support __WORDSIZE == 64.
12373 (__WCHAR_MAX): Likewise.
12374
edf2933a
L
12375 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12376 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12377
57c6cf40
L
12378 [BZ #14183]
12379 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12380 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12381
67b6df78 12382 [BZ #14117]
8eb6281e
L
12383 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12384 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12385
aac639f4
L
12386 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12387 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12388
67b6df78
L
12389 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12390 Defined to 1 if __x86_64__ isn't defined.
12391 (_STAT_VER_LINUX_OLD): New.
12392 (st_atime): Remove duplicate.
12393 (st_mtime): Likewise.
12394 (st_ctime): Likewise.
12395
1c2cfe81
DM
123962012-05-31 David S. Miller <davem@davemloft.net>
12397
12398 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12399 entries.
12400
5be8418c
AS
124012012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12402
e7725326
AS
12403 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12404 gen-libm-test.pl.
12405
5be8418c
AS
12406 [BZ #14132]
12407 * elf/dl-reloc.c: Include <_itoa.h>.
12408 (_dl_reloc_bad_type): Remove use of INTUSE.
12409 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12410 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12411 * stdio-common/psiginfo.c (psiginfo): Likewise.
12412 * stdio-common/psignal.c (psignal): Likewise.
12413 * string/strsignal.c (strsignal): Likewise.
12414 * include/signal.h (_sys_siglist): Declare hidden proto.
12415 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12416 INTVARDEF with libc_hidden_data_def.
12417 * stdio-common/itoa-udigits.c: Likewise.
12418 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12419 (_itoa_lower_digits_internal): Remove declaration.
12420 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12421 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12422 (_sys_sigabbrev_internal): Remove aliases.
12423 (_sys_siglist): Define hidden alias.
12424
507352f1
MT
124252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12426
12427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12428 bits/sysctl.h.
12429
42bbb1c3
L
124302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12431
12432 [BZ #14117]
6bd784b6
L
12433 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12434 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12435
8bca20f0
L
12436 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12437 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12438 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12439 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12441 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12442
f9e890a9
L
12443 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12444 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12445 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12446
471101a1
L
12447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12448 with __addr.
12449 (insw): Likewise.
12450 (insl): Likewise.
12451 (outsb): Likewise.
12452 (outsw): Likewise.
12453 (outsl): Likewise.
12454
6451c862
L
12455 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12456 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12457 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12458
a254b8c9
L
12459 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12460 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12461 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12462 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12463 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12464 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12465
b8dfdd92
L
12466 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12467 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12468
578cd270
L
12469 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12470 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12471
de662f5f
L
12472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12473 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12474 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12475
25653439
L
12476 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12477 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12478 to ...
12479 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12480
6bad24a0
L
12481 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12482 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12483 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12484
42bbb1c3
L
12485 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12486 for x86-64.
12487 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12488
2d10d547
JM
124892012-05-31 Joseph Myers <joseph@codesourcery.com>
12490
12491 * math/math.h (M_El): Use two more decimal places.
12492 (M_LOG2El): Likewise.
12493 (M_LOG10El): Likewise.
12494 (M_LN2l): Likewise.
12495 (M_LN10l): Likewise.
12496 (M_PIl): Likewise.
12497 (M_PI_2l): Likewise.
12498 (M_PI_4l): Likewise.
12499 (M_1_PIl): Likewise.
12500 (M_2_PIl): Likewise.
12501 (M_2_SQRTPIl): Likewise.
12502 (M_SQRT2l): Likewise.
12503 (M_SQRT1_2l): Likewise.
12504
f230c29b
DM
125052012-05-31 David S. Miller <davem@davemloft.net>
12506
12507 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12508 values between float registers.
12509 * sysdeps/sparc/sparc64/memset.S: Likewise.
12510 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12511
fed806c3
MF
125122012-05-31 Mike Frysinger <vapier@gentoo.org>
12513
12514 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12515 -D_FORTIFY_SOURCE=1.
12516 (CPPFLAGS-tst-longjmp_chk.c): Define.
12517 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12518 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12519 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12520 CFLAGS-tst-wchar-h.c.
12521
30917259
MP
125222012-05-31 Marek Polacek <polacek@redhat.com>
12523
12524 [BZ #14132]
12525 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12526 __endmntent_internal): Remove declaration.
12527 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12528 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12529 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12530
1c58d5dc
DM
125312012-05-30 David S. Miller <davem@davemloft.net>
12532
12533 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12534 (___Q_simulate_exceptions): Use real FP ops rather than writing
12535 into the %fsr.
12536 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12537 Likewise.
12538
7dc00e0d
L
125392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12540
12541 [BZ #14117]
0bd53985
L
12542 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12543 * sysdeps/x86/bits/xtitypes.h: This.
12544
3a257e66
L
12545 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12546 * sysdeps/x86/bits/wordsize.h: This.
12547
62f62904
L
12548 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12549 * sysdeps/x86/bits/huge_vall.h: This.
12550
404fe9d9
L
12551 * sysdeps/i386/bits/select.h: Removed.
12552 * sysdeps/x86_64/bits/select.h: Renamed to ...
12553 * sysdeps/x86/bits/select.h: This.
12554
d48d0446
L
12555 * sysdeps/i386/bits/setjmp.h: Removed.
12556 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12557 * sysdeps/x86/bits/setjmp.h: This.
12558
7dc00e0d
L
12559 * sysdeps/i386/bits/mathdef.h: Removed.
12560 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12561 * sysdeps/x86/bits/mathdef.h: This.
12562
03277f8f
AS
125632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12564
12565 [BZ #14132]
12566 * include/sys/socket.h (__connect_internal)
12567 (__libc_sa_len_internal): Remove declaration.
12568 (__connect, __libc_sa_len): Declare hidden_proto.
12569 (SA_LEN): Remove use of INTUSE.
12570 * socket/connect.c: Add libc_hidden_def.
12571 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12572 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12573 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12574 alias.
12575 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12576 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12577 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12578 of adding _internal alias.
12579
13764867
L
125802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12581
12582 [BZ #14117]
6bd97696
L
12583 * sysdeps/i386/bits/link.h: Removed.
12584 * sysdeps/i386/bits/linkmap.h: Likewise.
12585 * sysdeps/x86_64/bits/link.h: Renamed to ...
12586 * sysdeps/x86/bits/link.h: This.
12587 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12588 * sysdeps/x86/bits/linkmap.h: This.
12589
f726f0bb
L
12590 * sysdeps/i386/bits/endian.h: Removed.
12591 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12592 * sysdeps/x86/bits/endian.h: This.
12593
13764867
L
12594 * sysdeps/i386/bits/byteswap.h: Removed.
12595 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12596 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12597 * sysdeps/x86/bits/byteswap.h: This.
12598 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12599 * sysdeps/x86/bits/byteswap-16.h: This.
12600 * sysdeps/i386/Implies: Add x86.
12601 * sysdeps/x86_64/Implies: Likewise.
12602
ae251b0b
DM
126032012-05-30 David S. Miller <davem@davemloft.net>
12604
12605 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12606 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12607 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12608 (FP_TRAPPING_EXCEPTIONS): Define.
12609 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12610 (FP_TRAPPING_EXCEPTIONS): Define.
12611 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12612 subnormals only when inexact has been signalled or underflow
12613 exceptions are enabled.
12614 (_FP_PACK_CANONICAL): Likewise.
12615
d5c90867
L
126162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12617
12618 [BZ #14183]
12619 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12620 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12621
63f1549e
RH
126222012-05-30 Richard Henderson <rth@twiddle.net>
12623
8d8f2279
RH
12624 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12625 with #ifndef NOT_IN_libc.
12626
63f1549e
RH
12627 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12628 marked to avoid plt entry.
12629
0ab0291b
L
126302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12631
12632 [BZ #14112]
12633 * Makeconfig (default-abi): New macro.
12634 (abi-includes): Likewise.
12635 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12636 $(abi-$(default-abi)-lib-soname) for soname if defined.
12637 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12638 abi-variants.
12639 * Makefile (installed-stubs): Likewise.
12640 * include/stubs-biarch.h: Removed.
12641 * scripts/lib-names.awk: Only handle one library at a time.
12642 * scripts/soversions.awk: Remove WORDSIZE support.
12643 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12644 entries.
12645 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12646 Removed.
12647 (syscall-list-default-condition): Likewise.
12648 (syscall-list-default-condition): Likewise.
12649 (syscall-list-includes): Likewise.
12650 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12651 syscall-list-* with abi-*. Handle undefined abi-variants.
12652 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12653 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12654 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12655 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12656 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12657 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12658 Removed.
12659 (syscall-list-32-options): Likewise.
12660 (syscall-list-32-condition): Likewise.
12661 (syscall-list-64-options): Likewise.
12662 (syscall-list-64-condition): Likewise.
12663 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12664 macro.
12665 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12666 Renamed to ...
12667 (abi-*): This.
12668 (abi-64-ld-soname): New macro.
12669 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12670 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12671 Renamed to ...
12672 (abi-*): This.
12673 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12674 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12675
4da0431d
JM
126762012-05-30 Joseph Myers <joseph@codesourcery.com>
12677
3a85279c
JM
12678 * sysdeps/unix/sysv/linux/kernel-features.h
12679 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12680 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12681 include <kernel-features.h>.
12682 [!__NR_ftruncate64]: Remove conditional code.
12683 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12684 [__NR_ftruncate64]: Make code unconditional.
12685 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12686 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12687 include <kernel-features.h>.
12688 [!__NR_ftruncate64]: Remove conditional code.
12689 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12690 [__NR_ftruncate64]: Make code unconditional.
12691 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12693 include <kernel-features.h>.
12694 [!__NR_ftruncate64]: Remove conditional code.
12695 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12696 [__NR_ftruncate64]: Make code unconditional.
12697 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.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
4da0431d
JM
12705 * configure.in (libc_cv_fpie): Weaken to a compile test using
12706 LIBC_TRY_CC_OPTION.
12707 * configure: Regenerated.
12708
11ef492c
AK
127092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12710
12711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12715 Refreshed.
12716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12722 Refreshed.
12723
d66ef399
DM
127242012-05-27 David S. Miller <davem@davemloft.net>
12725
12726 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12727 (___Q_zero): New.
12728 (__Q_simulate_exceptions): Return void. Change to simulate
12729 exceptions by writing into the %fsr.
12730 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12731 (__Qp_handle_exceptions): Likewise.
12732 (numbers): Delete.
12733 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12734 __Qp_handle_exceptions.
12735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12736 __Qp_handle_exceptions.
12737 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12738 as unused and give dummy FP_RND_NEAREST initializer.
12739 (FP_INHIBIT_RESULTS): Define.
12740 (___Q_simulate_exceptions): Update declaration.
12741 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12742 formatting.
12743 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12744 as unused and give dummy FP_RND_NEAREST initializer.
12745 (__Qp_handle_exceptions): Update declaration.
12746 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12747 formatting.
12748
04fb54b5
TS
127492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12750
12751 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12752 the temporary FPU control word.
12753 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12754 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12755 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12756 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12757 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12758 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12759 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12760 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12761 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12762 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12763 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12764
3f99608f
KK
127652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12766
12767 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12768 fields.
12769
65a4de4e
CLT
127702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12771
12772 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12773 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12774 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12775 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12776 Likewise.
12777 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12778 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12779 Likewise.
12780
15749d40
UD
127812012-05-27 Ulrich Drepper <drepper@gmail.com>
12782
12783 * po/h.po: Update from translation team.
12784
25dbcb27
AS
127852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12786
3d3f8e55
AS
12787 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12788
25dbcb27
AS
12789 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12790 handling of denormals.
12791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12792 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12793 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12794 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12798 Likewise.
12799
7ad47a80 128002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12801
12802 [BZ #14152]
12803 * math/libm-test.inc (fma_test): Don't always expect underflow
12804 exception.
12805
9c6ea9fa
SP
128062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12807
12808 [BZ #12416]
12809 * elf/tst-execstack.c: Include stackinfo.h.
12810 (do_test): Adjust test case to ensure that pthread_getattr_np
12811 behaviour remains the same after marking stack executable.
12812
a8239222
JM
128132012-05-25 Joseph Myers <joseph@codesourcery.com>
12814
12815 * sysdeps/unix/sysv/linux/kernel-features.h
12816 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12817 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12818 kernel-features.h.
12819 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12820 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12821 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12822 kernel-features.h.
12823 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12824 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12825
918b5606
L
128262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12827
12828 * configure.in: Define the default includes to being none.
12829 * configure: Regenerated.
12830
3a097cc7
RM
128312012-05-25 Roland McGrath <roland@hack.frob.com>
12832
8422c9a5
RM
12833 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12834 * sysdeps/x86_64/setjmp.S: Likewise.
12835 * sysdeps/i386/bsd-setjmp.S: Likewise.
12836 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12837 * sysdeps/i386/setjmp.S: Likewise.
12838 * sysdeps/i386/__longjmp.S: Likewise.
12839 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12840 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12841
3a097cc7
RM
12842 * include/stap-probe.h: New file.
12843 * configure.in: Handle --enable-systemtap.
12844 * configure: Regenerated.
12845 * config.h.in (USE_STAP_PROBE): New #undef.
12846 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12847 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12848 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12849
21708942
JM
128502012-05-25 Joseph Myers <joseph@codesourcery.com>
12851
12852 [BZ #13717]
12853 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12854 to 2.4.0 where earlier.
12855 * sysdeps/unix/sysv/linux/configure: Regenerated.
12856 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12857 <kernel-features.h>.
12858 [__ASSUME_32BITUIDS]: Make code unconditional.
12859 [!__ASSUME_32BITUIDS]: Remove conditional code.
12860 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12861 <kernel-features.h>.
12862 [__ASSUME_32BITUIDS]: Make code unconditional.
12863 [!__ASSUME_32BITUIDS]: Remove conditional code.
12864 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12865 [__ASSUME_32BITUIDS]: Make code unconditional.
12866 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12867 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12868 <kernel-features.h>.
12869 [__ASSUME_32BITUIDS]: Make code unconditional.
12870 [!__ASSUME_32BITUIDS]: Remove conditional code.
12871 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12872 <kernel-features.h>.
12873 [__ASSUME_32BITUIDS]: Make code unconditional.
12874 [!__ASSUME_32BITUIDS]: Remove conditional code.
12875 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12876 <kernel-features.h>.
12877 [__ASSUME_32BITUIDS]: Make code unconditional.
12878 [!__ASSUME_32BITUIDS]: Remove conditional code.
12879 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12880 <kernel-features.h>.
12881 [__ASSUME_32BITUIDS]: Make code unconditional.
12882 [!__ASSUME_32BITUIDS]: Remove conditional code.
12883 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12884 <kernel-features.h>.
12885 [__ASSUME_32BITUIDS]: Make code unconditional.
12886 [!__ASSUME_32BITUIDS]: Remove conditional code.
12887 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12888 <kernel-features.h>.
12889 [__ASSUME_32BITUIDS]: Make code unconditional.
12890 [!__ASSUME_32BITUIDS]: Remove conditional code.
12891 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12892 <kernel-features.h>.
12893 [__ASSUME_32BITUIDS]: Make code unconditional.
12894 [!__ASSUME_32BITUIDS]: Remove conditional code.
12895 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12896 <kernel-features.h>.
12897 [__ASSUME_32BITUIDS]: Make code unconditional.
12898 [!__ASSUME_32BITUIDS]: Remove conditional code.
12899 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12900 <kernel-features.h>.
12901 [__ASSUME_32BITUIDS]: Make code unconditional.
12902 [!__ASSUME_32BITUIDS]: Remove conditional code.
12903 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12904 <kernel-features.h>.
12905 [__ASSUME_32BITUIDS]: Make code unconditional.
12906 [!__ASSUME_32BITUIDS]: Remove conditional code.
12907 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12908 <kernel-features.h>.
12909 [__NR_setresgid] (__setresgid): Do not declare.
12910 [__ASSUME_32BITUIDS]: Make code unconditional.
12911 [!__ASSUME_32BITUIDS]: Remove conditional code.
12912 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12913 <kernel-features.h>.
12914 [__NR_setresuid] (__setresuid): Do not declare.
12915 [__ASSUME_32BITUIDS]: Make code unconditional.
12916 [!__ASSUME_32BITUIDS]: Remove conditional code.
12917 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
12926 <kernel-features.h>.
12927 [__ASSUME_32BITUIDS]: Make code unconditional.
12928 [!__ASSUME_32BITUIDS]: Remove conditional code.
12929 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12930 <kernel-features.h>.
12931 [__ASSUME_32BITUIDS]: Make code unconditional.
12932 [!__ASSUME_32BITUIDS]: Remove conditional code.
12933 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12934 <kernel-features.h>.
12935 [__ASSUME_32BITUIDS]: Make code unconditional.
12936 [!__ASSUME_32BITUIDS]: Remove conditional code.
12937 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12938 <kernel-features.h>.
12939 [__ASSUME_32BITUIDS]: Make code unconditional.
12940 [!__ASSUME_32BITUIDS]: Remove conditional code.
12941 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12942 <kernel-features.h>.
12943 [__ASSUME_32BITUIDS]: Make code unconditional.
12944 [!__ASSUME_32BITUIDS]: Remove conditional code.
12945 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12946 <kernel-features.h>.
12947 [__ASSUME_32BITUIDS]: Make code unconditional.
12948 [!__ASSUME_32BITUIDS]: Remove conditional code.
12949 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12950 <kernel-features.h>.
12951 [__ASSUME_32BITUIDS]: Make code unconditional.
12952 [!__ASSUME_32BITUIDS]: Remove conditional code.
12953 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12954 <kernel-features.h>.
12955 [__ASSUME_32BITUIDS]: Make code unconditional.
12956 [!__ASSUME_32BITUIDS]: Remove conditional code.
12957 * sysdeps/unix/sysv/linux/kernel-features.h
12958 (__ASSUME_SETRESUID_SYSCALL): Remove.
12959 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12960 (__ASSUME_32BITUIDS): Likewise.
12961 (__ASSUME_LDT_WORKS): Likewise.
12962 (__ASSUME_O_DIRECTORY): Likewise.
12963 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12964 architecture but not kernel version.
12965 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12966 (__ASSUME_MMAP2_SYSCALL): Likewise.
12967 (__ASSUME_STAT64_SYSCALL): Likewise.
12968 (__ASSUME_IPC64): Likewise.
12969 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12970 <kernel-features.h>.
12971 [__ASSUME_32BITUIDS]: Make code unconditional.
12972 [!__ASSUME_32BITUIDS]: Remove conditional code.
12973 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12974 <kernel-features.h>.
12975 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12976 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12977 132096]: Remove conditional code.
12978 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12979 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12980 <kernel-features.h>.
12981 [__ASSUME_32BITUIDS]: Make code unconditional.
12982 [!__ASSUME_32BITUIDS]: Remove conditional code.
12983 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12984 <kernel-features.h>.
12985 [__ASSUME_32BITUIDS]: Make code unconditional.
12986 [!__ASSUME_32BITUIDS]: Remove conditional code.
12987 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12988 <kernel-features.h>.
12989 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12990 unconditional.
12991 (__setresgid): Do not declare.
12992 [__ASSUME_32BITUIDS]: Make code unconditional.
12993 [!__ASSUME_32BITUIDS]: Remove conditional code.
12994 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12995 <kernel-features.h>.
12996 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12997 unconditional.
12998 (__setresuid): Do not declare.
12999 [__ASSUME_32BITUIDS]: Make code unconditional.
13000 [!__ASSUME_32BITUIDS]: Remove conditional code.
13001 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
13006 <kernel-features.h>.
13007 [__ASSUME_32BITUIDS]: Make code unconditional.
13008 [!__ASSUME_32BITUIDS]: Remove conditional code.
13009
a386f1cc
RH
130102012-05-25 Richard Henderson <rth@twiddle.net>
13011
13012 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13013 dl_hwcap to ifunc resolver.
13014 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13015 elf_ifunc_invoke.
13016 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13017 dl_hwcap to ifunc resolver.
13018 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13019
b6550497
JM
130202012-05-24 Joseph Myers <joseph@codesourcery.com>
13021
13022 [BZ #14153]
13023 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13024 for |x| <= 2**-26, not 2**-57.
13025 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13026 exception.
13027
b0bc23a1
JL
130282012-05-24 Jeff Law <law@redhat.com>
13029
13030 * stdio-common/Makefile (tests): Add bug25.
13031 * stdio-common/bug25.c: New test.
13032
347c92e9
L
130332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13034
13035 [BZ #13576]
13036 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13037 multiple of MALLOC_ALIGNMENT in size.
13038 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13039
6bcc8b3f
JM
130402012-05-24 Joseph Myers <joseph@codesourcery.com>
13041
13042 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13043 Require >= 256.
13044 (FILENAME_MAX): Use macro-int-constant.
13045 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13046 (_IOFBF): Use macro-int-constant.
13047 (_IOLBF): Likewise.
13048 (_IONBF): Likewise.
13049 (SEEK_CUR): Likewise.
13050 (SEEK_END): Likewise.
13051 (SEEK_SET): Likewise.
13052 (TMP_MAX): Likewise.
13053 (EOF): Use macro-int-constant. Require < 0.
13054 (NULL): Use macro-constant. Require == 0.
13055 (stdin): Require type to be FILE *.
13056 (stdout): Likewise.
13057 (stderr): Likewise.
13058 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13059 macro-int-constant.
13060 (EXIT_SUCCESS): Likewise.
13061 (NULL): Use macro-constant. Require == 0.
13062 (RAND_MAX): Use macro-int-constant.
13063 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13064 [C99-based standards] (strtof): Require function.
13065 [C99-based standards] (strtold): Likewise.
13066 [C99-based standards] (strtoll): Likewise.
13067 [C99-based standards] (strtoull): Likewise.
13068 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13069 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13070 [ISO || ISO99 || ISO11] (math.h): Likewise.
13071 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13072 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13074
d18ea0c5
AS
130752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13076
13077 [BZ #14132]
56d25bb8
AS
13078 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13079 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13080 * intl/dgettext.c (DCGETTEXT): Likewise.
13081 * intl/gettext.c (DCGETTEXT): Likewise.
13082 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13083 * posix/regex_internal.h (gettext): Likewise.
13084 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13085 Remove declaration.
13086 * include/argz.h (__argz_count_internal)
13087 (__argz_stringify_internal): Remove declaration.
13088 (__argz_count, __argz_stringify): Declare hidden proto.
13089 * intl/dcgettext.c: Remove use of INTDEF.
13090 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13091 * string/argz-stringify.c: Likewise.
13092 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13093 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13094 Declare hidden proto.
d18ea0c5
AS
13095 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13096 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13097 Declare hidden proto.
13098 * include/stdio.h (__asprintf_internal): Don't declare.
13099 (__asprintf): Don't define as macro. Declare hidden proto.
13100 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13101 (__fsetlocking): Declare hidden proto.
13102 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13103 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13104 hidden proto.
13105 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13106 (_IO_setlinebuf): Remove use of INTUSE.
13107 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13108 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13109 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13110 Remove declaration.
13111 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13112 (_IO_do_flush): Remove use of INTUSE.
13113 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13114 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13115 (_IO_adjust_column, _IO_least_wmarker)
13116 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13117 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13118 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13119 (_IO_default_doallocate, _IO_wdefault_doallocate)
13120 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13121 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13122 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13123 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13124 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13125 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13126 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13127 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13128 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13129 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13130 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13131 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13132 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13133 proto.
13134 (_IO_flush_all_internal, _IO_adjust_column_internal)
13135 (_IO_default_uflow_internal, _IO_default_finish_internal)
13136 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13137 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13138 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13139 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13140 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13141 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13142 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13143 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13144 (_IO_file_close_internal, _IO_file_close_it_internal)
13145 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13146 (_IO_file_init_internal, _IO_file_attach_internal)
13147 (_IO_file_fopen_internal, _IO_file_read_internal)
13148 (_IO_file_sync_internal, _IO_file_seek_internal)
13149 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13150 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13151 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13152 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13153 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13154 (_IO_list_all_internal, _IO_link_in_internal)
13155 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13156 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13157 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13158 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13159 (_IO_do_write_internal, _IO_padn_internal)
13160 (_IO_getline_info_internal, _IO_getline_internal)
13161 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13162 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13163 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13164 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13165 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13166 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13167 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13168 with libc_hidden_ver, remove use of INTUSE.
13169 * libio/genops.c: Likewise.
13170 * libio/freopen.c: Likewise.
13171 * libio/freopen64.c: Likewise.
13172 * libio/iofclose.c: Likewise.
13173 * libio/iofdopen.c: Likewise.
13174 * libio/iofflush.c: Likewise.
13175 * libio/iofflush_u.c: Likewise.
13176 * libio/iofgets.c: Likewise.
13177 * libio/iofgets_u.c: Likewise.
13178 * libio/iofopen.c: Likewise.
13179 * libio/iofopncook.c: Likewise.
13180 * libio/iofread.c: Likewise.
13181 * libio/iofread_u.c: Likewise.
13182 * libio/ioftell.c: Likewise.
13183 * libio/iofwrite.c: Likewise.
13184 * libio/iogetline.c: Likewise.
13185 * libio/iogets.c: Likewise.
13186 * libio/iogetwline.c: Likewise.
13187 * libio/iopadn.c: Likewise.
13188 * libio/iopopen.c: Likewise.
13189 * libio/ioseekoff.c: Likewise.
13190 * libio/ioseekpos.c: Likewise.
13191 * libio/iosetbuffer.c: Likewise.
13192 * libio/iosetvbuf.c: Likewise.
13193 * libio/ioungetc.c: Likewise.
13194 * libio/ioungetwc.c: Likewise.
13195 * libio/iovdprintf.c: Likewise.
13196 * libio/iovsprintf.c: Likewise.
13197 * libio/iovsscanf.c: Likewise.
13198 * libio/memstream.c: Likewise.
13199 * libio/obprintf.c: Likewise.
13200 * libio/oldfileops.c: Likewise.
13201 * libio/oldiofclose.c: Likewise.
13202 * libio/oldiofdopen.c: Likewise.
13203 * libio/oldiofopen.c: Likewise.
13204 * libio/oldiopopen.c: Likewise.
13205 * libio/oldstdfiles.c: Likewise.
13206 * libio/putc.c: Likewise.
13207 * libio/setbuf.c: Likewise.
13208 * libio/setlinebuf.c: Likewise.
13209 * libio/stdfiles.c: Likewise.
13210 * libio/strops.c: Likewise.
13211 * libio/vasprintf.c: Likewise.
13212 * libio/vscanf.c: Likewise.
13213 * libio/vsnprintf.c: Likewise.
13214 * libio/vswprintf.c: Likewise.
13215 * libio/wfiledoalloc.c: Likewise.
13216 * libio/wfileops.c: Likewise.
13217 * libio/wgenops.c: Likewise.
13218 * libio/wmemstream.c: Likewise.
13219 * libio/wstrops.c: Likewise.
13220 * libio/__fpurge.c: Likewise.
13221 * libio/__fsetlocking.c: Likewise.
13222 * assert/assert.c: Likewise.
13223 * debug/fgets_chk.c: Likewise.
13224 * debug/fgets_u_chk.c: Likewise.
13225 * debug/fread_chk.c: Likewise.
13226 * debug/fread_u_chk.c: Likewise.
13227 * debug/gets_chk.c: Likewise.
13228 * debug/obprintf_chk.c: Likewise.
13229 * debug/vasprintf_chk.c: Likewise.
13230 * debug/vdprintf_chk.c: Likewise.
13231 * debug/vsnprintf_chk.c: Likewise.
13232 * debug/vsprintf_chk.c: Likewise.
13233 * malloc/mtrace.c: Likewise.
13234 * misc/error.c: Likewise.
13235 * misc/syslog.c: Likewise.
13236 * stdio-common/asprintf.c: Likewise.
13237 * stdio-common/fxprintf.c: Likewise.
13238 * stdio-common/getw.c: Likewise.
13239 * stdio-common/isoc99_fscanf.c: Likewise.
13240 * stdio-common/isoc99_scanf.c: Likewise.
13241 * stdio-common/isoc99_vfscanf.c: Likewise.
13242 * stdio-common/isoc99_vscanf.c: Likewise.
13243 * stdio-common/isoc99_vsscanf.c: Likewise.
13244 * stdio-common/printf-prs.c: Likewise.
13245 * stdio-common/printf_fp.c: Likewise.
13246 * stdio-common/printf_fphex.c: Likewise.
13247 * stdio-common/printf_size.c: Likewise.
13248 * stdio-common/putw.c: Likewise.
13249 * stdio-common/scanf.c: Likewise.
13250 * stdio-common/sprintf.c: Likewise.
13251 * stdio-common/tmpfile.c: Likewise.
13252 * stdio-common/vfprintf.c: Likewise.
13253 * stdio-common/vfscanf.c: Likewise.
13254 * stdlib/strfmon_l.c: Likewise.
13255 * sunrpc/openchild.c: Likewise.
13256 * sunrpc/xdr_stdio.c: Likewise.
13257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13258 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13259
d6c33fda
RM
132602012-05-24 Roland McGrath <roland@hack.frob.com>
13261
c1487492
RM
13262 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13263
13264 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13265 in the third column, to generate for the shared library an IFUNC
13266 that uses _dl_vdso_vsym.
13267 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13268 * Makeconfig (object-suffixes-noshared): New variable.
13269
13270 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13271 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13272 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13273 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13274
d6c33fda
RM
13275 [BZ #14132]
13276 * include/sys/time.h (__gettimeofday): Remove macro.
13277 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13278 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13279 Remove INTDEF.
13280 (__gettimeofday): Add libc_hidden_def.
13281 (gettimeofday): Add libc_hidden_weak.
13282 * sysdeps/mach/gettimeofday.c: Likewise.
13283 * sysdeps/posix/gettimeofday.c: Likewise.
13284 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13285 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13286 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13287 (__gettimeofday_internal): Remove strong_alias.
13288 (__gettimeofday): Add libc_hidden_def.
13289 (gettimeofday): Add libc_hidden_weak.
13290 * sysdeps/unix/syscalls.list (gettimeofday):
13291 Remove __gettimeofday_internal alias.
13292
b5a2bbe6
L
132932012-05-24 Daniel Jacobowitz <drow@false.org>
13294 H.J. Lu <hongjiu.lu@intel.com>
13295
13296 [BZ #12495]
13297 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13298 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13299 (largebin_index_32_big): New.
13300 (largebin_index): Use it for 16-byte alignment.
13301 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13302 correction with front_misalign.
13303
cfba4fda
L
133042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13305
7f907421
L
13306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13308 Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13310 Likewise.
13311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13312 Likewise.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13314 Likewise.
13315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13316 Likewise.
13317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13318 Likewise.
13319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13320 Likewise.
13321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13322 Likewise.
13323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13324 Likewise.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13326 Likewise.
13327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13328 Likewise.
13329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13330 Likewise.
13331
cfba4fda
L
13332 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13333 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13334
80bad0cc
JM
133352012-05-24 Joseph Myers <joseph@codesourcery.com>
13336
7a25eb06
JM
13337 [BZ #10846]
13338 [BZ #14036]
13339 * math/libm-test.inc (exp_test): Add test from bug 14036.
13340 (pow_test): Add test from bug 10846.
13341
795405f9
JM
13342 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13343 and other flags.
13344 (special_function): Do not include flags in test name.
13345 (parse_args): Likewise.
13346 * sysdeps/i386/fpu/libm-test-ulps: Update.
13347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13348 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13349 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13351
80bad0cc
JM
13352 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13353 exceptions.
13354 * math/libm-test.inc ("Philosophy"): Update comment about
13355 exception testing.
13356 (UNDERFLOW_EXCEPTION): New macro.
13357 (UNDERFLOW_EXCEPTION_OK): Likewise.
13358 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13359 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13360 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13361 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13362 (INVALID_EXCEPTION_OK): Update value.
13363 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13364 (OVERFLOW_EXCEPTION_OK): Likewise.
13365 (IGNORE_ZERO_INF_SIGN): Likewise.
13366 (test_exceptions): Handle underflow exceptions.
13367 (acos_test): Update for underflow exception expectations.
13368 (cexp_test): Likewise.
13369 (clog_test): Likewise.
13370 (clog10_test): Likewise.
13371 (csqrt_test): Likewise.
13372 (ctan_test): Likewise.
13373 (ctanh_test): Likewise.
13374 (exp_test): Likewise.
13375 (exp10_test): Likewise.
13376 (exp2_test): Likewise.
13377 (expm1_test): Likewise.
13378 (fma_test): Likewise.
13379 (j0_test): Likewise.
13380 (jn_test): Likewise.
13381 (nexttoward_test): Likewise.
13382 (pow_test): Likewise.
13383 (scalbn_test): Likewise.
13384 (scalbln_test): Likewise.
13385 (tan_test): Likewise.
13386 (y1_test): Likewise.
13387 * sysdeps/i386/fpu/libm-test-ulps: Update.
13388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13389
9e0e3d0b
DM
133902012-05-23 David S. Miller <davem@davemloft.net>
13391
13392 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13393 (__libc_sigaction): Remove unused local variables.
13394
ccd0a08f
L
133952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13396
13397 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13398
62bdf9a6
PE
133992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13400
f8591f80
PE
13401 mktime: avoid signed integer overflow
13402 * time/mktime.c (__mktime_internal): Do not mishandle the case
13403 where diff == INT_MIN.
13404
94c7d826
PE
13405 mktime: simplify computation of average
13406 * time/mktime.c (ranged_convert): Use new time_t_avg function
13407 instead of rolling our own (probably-slower) code.
13408
ce73d683
PE
13409 mktime: do not assume signed right shift propagates sign bit
13410 * time/mktime.c (isdst_differ): New static function.
13411 (__mktime_internal): No need to normalize tm_isdst now.
13412 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13413 tm_isdst values.
13414
72a22e59
PE
13415 mktime: merge another wrapv change from gnulib
13416 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13417 from some compilers.
13418
68605433
PE
13419 mktime: remove incorrect attempt at unusual arithmetics
13420 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13421 The code didn't really work on such machines anyway.
13422 (TYPE_MINIMUM): Assume two's complement.
13423 (twos_complement_arithmetic): Verify that long_int and time_t
13424 are two's complement (or unsigned, in the latter case).
13425
03cf7fe3
PE
13426 mktime: check signed shifts on long_int and time_t, too
13427 * time/mktime.c (SHR): Check that shifts work as desired
13428 on the types long_int and time_t too, as SHR is used on
13429 such types.
13430
f04dfbc2
PE
13431 mktime: do not assume 'long' is wide enough
13432 * time/mktime.c (verify): Move decl up.
13433 (long_int): New type.
13434 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13435 to remove assumption in the code that 'long' is wide enough to
13436 store year values. This assumption is not true on x32 and on
13437 some non-glibc platforms.
13438
62bdf9a6
PE
13439 mktime: merge wrapv change from gnulib
13440 * time/mktime.c (WRAPV): New macro.
13441 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13442 (guess_time_tm, __mktime_internal): Do not assume that signed
13443 integer overflow wraps around; modern compilers generate code
13444 where this assumption is no longer valid.
13445
5e292e4f
L
134462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13447
13448 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13449 Replace "jmp L(pseudo_end)" with "ret".
13450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13451 Likewise.
13452
8caf8c87
AJ
134532012-05-23 Andreas Jaeger <aj@suse.de>
13454
13455 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13456 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13457
1a09dc56
AJ
134582012-05-23 Andreas Jaeger <aj@suse.de>
13459 Maximilian Attems <max@stro.at>
13460
13461 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13462 New macros.
13463
1c87aba0
L
134642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13465
13466 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13467 code so that pseudo_end is just ret and the stack pointer is
13468 correct also for static library in error case.
13469
40e45bd5
JM
134702012-05-23 Joseph Myers <joseph@codesourcery.com>
13471
c2670533
JM
13472 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13473 move to syscalls.list.
13474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13478
40e45bd5
JM
13479 * manual/install.texi (Running make install): Do not mention Linux
13480 kernel version for which pt_chown is not needed.
13481 (Linux): Do not mention problems with nscd with 2.0 kernels.
13482 * INSTALL: Regenerated.
13483
be08eda5
AJ
134842012-05-23 Andreas Jaeger <aj@suse.de>
13485
13486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13487 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13488 macro.
13489 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13490 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13491 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13492 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13493 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13494 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13497 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13498 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13499 * sysdeps/unix/sysv/linux/bits/in.h
13500 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13501
a6a056bb
RM
135022012-05-22 Roland McGrath <roland@hack.frob.com>
13503
13504 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13505 (PREPARE_VERSION): Just use assert instead, it will be elided
13506 under [NDEBUG] anyway.
13507
c9009328
L
135082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13509
13510 * sysdeps/unix/sysv/linux/Makefile: Include
13511 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13512 (sysdep_routines): Remove sysctl.
c9009328
L
13513 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13514 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13515 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13516 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13517 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13518
73338355
AJ
135192012-05-22 Andreas Jaeger <aj@suse.de>
13520
13521 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13522 that pseudo_end is just ret and the stack pointer is correct also
13523 for static library in error case.
13524
d44638b0
PP
135252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13526
13527 [BZ #14122]
13528 * nss/nsswitch.c (defconfig_entries): New variable.
13529 (__nss_database_lookup): Don't leak defconfig entries.
13530 (nss_parse_service_list): Don't leak on error paths.
13531 (free_database_entries): New function.
13532 (free_defconfig): New function.
13533 (free_mem): Move common code to free_database_entries.
13534
31a39bd8
L
135352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13536
da0331a8
L
13537 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13538 Add arch_prctl.
13539 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13540
31a39bd8
L
13541 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13542 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13544 New macro.
13545 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13546 (INTERNAL_SYSCALL_TYPES): Likewise.
13547 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13548 (LOAD_REGS_TYPES_[1-6]): Likewise.
13549 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13550 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13551
45470df3
AZ
135522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13553
13554 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13555 copysignl for GLIBC_2_0.
13556 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13557 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13558 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13559 logbl for GLIBC_2_0.
13560 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13561 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13562
98a61bcb
L
135632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13564
a4f6e481
L
13565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13566 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13567
f63d5db6
L
13568 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13569 Use "neg %eax".
13570
98a61bcb
L
13571 * time/mktime.c: Update copyright years.
13572
95770f14
PE
135732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13574
6226efbd
PE
13575 mktime: merge comment-quoting-style change from gnulib
13576 * time/mktime.c: Quote 'like this' in comments.
13577 The GNU coding standards suggest that we no longer quote `like this',
13578 as "`" and "'" are typically rendered asymmetrically nowadays.
13579 The typical gnulib style is to quote 'like this' when quoting
13580 code, and "like this" when quoting English.
13581
b99e4f78
PE
13582 * time/mktime.c (compile-command): Add "-I.".
13583
643e01e6
PE
13584 mktime: merge mktime-internal.h change from gnulib
13585 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13586
2554247d
PE
13587 mktime: merge time_r change from gnulib
13588 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13589
826dd0ab
PE
13590 mktime: merge DEBUG change from gnulib
13591 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13592 case system <time.h> has a #define.
13593
bd83aabe
PE
13594 mktime: merge <sys/types.h> change from gnulib
13595 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13596 since <time.t> is now guaranteed to define time_t.
13597
95770f14
PE
13598 mktime: merge HAVE_CONFIG_H change from gnulib
13599 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13600
5e1a27a9
L
136012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13602
0e44a77e
L
13603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13604 Use "neg %eax".
13605
5e1a27a9
L
13606 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13607 __rlim_t cast.
13608 (struct rusage): Use anonymous union to pad each field to
13609 __syscall_slong_t.
13610
46259bec
DM
136112012-05-21 David S. Miller <davem@davemloft.net>
13612
13613 * Makefules (o-iterator): Remove .s cases.
13614 (compile-command.s): Delete.
13615 (COMPILE.s): Delete.
13616 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13617
59f0c22e
JM
136182012-05-21 Joseph Myers <joseph@codesourcery.com>
13619
13620 * configure.in (libc_cv_predef_stack_protector): Only consider
13621 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13622 * configure: Regenerated.
13623
20c07380
L
136242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13625
bbb3154b
L
13626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13627 New macro. Use R*LP on int and pointer.
13628 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13629 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13630 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13631 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13632
20c07380
L
13633 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13634 [__WORDSIZE_TIME64_COMPAT32] instead of
13635 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13636 (struct utmp): Likewise.
13637 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13638 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13639 Renamed to ...
13640 (__WORDSIZE_TIME64_COMPAT32): This.
13641 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13642 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13643 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13644 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13645 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13646 (__WORDSIZE_TIME64_COMPAT32): New macro.
13647
d8d1017e
AJ
136482012-05-21 Andreas Jaeger <aj@suse.de>
13649
13650 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13651 only if [SHARED]. Add prototype for __wcschr_ia32.
13652
6c7fb145
RM
136532012-05-21 Roland McGrath <roland@hack.frob.com>
13654
13655 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13656 of %rbp unmolested in the jmp_buf while mangling the low bits.
13657 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13658 unmolested high bits of %rbp while demangling the low bits.
13659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13660
66274218
AJ
136612012-05-21 Andreas Jaeger <aj@suse.de>
13662
07c58f8f
AJ
13663 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13664 * sunrpc/svc_simple.c: Use it for registerrpc.
13665 * sunrpc/xcrypt.c: Use it for passwd2des.
13666
66274218
AJ
13667 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13668
61f65140
L
136692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13670
13671 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13672 Don't define if [__SYSCALL_WORDSIZE != 32].
13673 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13674 New macro.
13675
5fefb436
AJ
136762012-05-21 Bruno Haible <bruno@clisp.org>
13677 Andreas Jaeger <aj@suse.de>
13678
13679 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13680 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13681 inptr and inend for must_buffer_ch.
13682 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13683 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13684 * stdio-common/Makefile (tests): Remove bug15.
13685 (bug15-ENV): Remove macro.
13686 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13687 anymore.
13688
d8e272ab
AJ
136892012-05-19 Andreas Jaeger <aj@suse.de>
13690 Roland McGrath <roland@hack.frob.com>
13691
13692 * manual/contrib.texi: Completely rewritten. It contains now an
13693 alphabetical list of contributors and their contributions.
13694
4a56a162
RH
136952012-05-21 Richard Henderson <rth@twiddle.net>
13696
13697 * misc/getauxval.c (__getauxval): Use unsigned long int.
13698 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13699 (getauxval): Use unsigned long int.
13700
d024d23c
L
137012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13704
cbc00a03
RM
137052012-05-21 Roland McGrath <roland@hack.frob.com>
13706
13707 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13708 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13709 __alignof__ (long double).
13710
478143fa
AZ
137112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13712
13713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13714
c7683a6d
RH
137152012-05-20 Richard Henderson <rth@twiddle.net>
13716
13717 * misc/getauxval.c: New file.
13718 * misc/sys/auxv.h: New file.
13719 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13720 (routines): Add getauxval.
13721 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13722 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13723 * elf/dl-sysdep.c (_dl_auxv): Remove.
13724 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13725 * elf/dl-support.c (_dl_auxv): New variable.
13726 (_dl_aux_init): Initialize it.
13727 * manual/startup.texi (Auxiliary Vector): New node.
13728 * sysdeps/generic/bits/hwcap.h: New file.
13729 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13730 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13731 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13732 * sysdeps/sparc/sysdep.h: ... here. Include it.
13733 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13734 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13736 Update.
c7683a6d
RH
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13740 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13745
a6f1845d
AZ
137462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13747
13748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13749
cbcbe830
DM
137502012-05-19 David S. Miller <davem@davemloft.net>
13751
13752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13753
e0b16cc2
JM
137542012-05-19 Joseph Myers <joseph@codesourcery.com>
13755
13756 [BZ #14123]
13757 * math/s_ccosh.c: Include <float.h>
13758 (__ccosh): Avoid internal overflow calculating sinh and cosh
13759 values before multiplying by sin and cos values.
13760 * math/s_ccoshf.c: Likewise.
13761 * math/s_ccoshl.c: Likewise.
13762 * math/s_csin.c: Likewise.
13763 * math/s_csinf.c: Likewise.
13764 * math/s_csinl.c: Likewise.
13765 * math/s_csinh.c: Likewise.
13766 * math/s_csinhf.c: Likewise.
13767 * math/s_csinhl.c: Likewise.
13768 * math/libm-test.inc (ccos_test): Add more tests.
13769 (ccosh_test): Likewise.
13770 (csin_test): Likewise.
13771 (csinh_test): Likewise.
13772 * sysdeps/i386/fpu/libm-test-ulps: Update.
13773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13774
6ad13e08
L
137752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13776
f66f0ce8
L
13777 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13778 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13779
6ad13e08
L
13780 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13781
b1d072a7
JM
137822012-05-19 Joseph Myers <joseph@codesourcery.com>
13783
13784 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13785 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13786 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13787 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13788 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13789 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13790 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13791 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13792 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13793 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13794 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13795 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13796 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13797 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13798 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13799 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13800 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13801 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13802 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13803 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13804 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13805 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13806 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13807 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13808 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13809 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13810 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13811 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13812 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13813 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13814 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13815
9eae47cb
AJ
138162012-05-18 Andreas Jaeger <aj@suse.de>
13817
13818 * csu/.gitignore: Delete.
13819
bb07f69f
L
138202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13821
13822 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13823 (timex): Use __syscall_slong_t.
13824
e6bdb741
AJ
138252012-05-18 Andreas Jaeger <aj@suse.de>
13826 Carlos O'Donell <carlos_odonell@mentor.com>
13827
13828 * manual/install.texi (Configuring and compiling): Update
13829 description about files modified in the source directory.
d6c33fda 13830 * INSTALL: Regenerated.
e6bdb741 13831
1b74487e
L
138322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13833
13834 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13835 value. Use "or" to set return value to -1.
13836 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13837 negate return value.
13838
a88b64b9
TMQMF
138392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13840
13841 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13842 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13843 failure if the compiler has Graphite support disabled.
13844 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13845 Likewise.
13846 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13847 CFLAGS-memmove.c): Likewise.
13848 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13849 Likewise.
13850
3707636e
L
138512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13852
610b8622
L
13853 * sysdeps/x86_64/x32/_itoa.h: New file.
13854
7cd195df
L
13855 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13856 getdents system call only if kernel and user dirents have the
13857 same d_ino and d_off.
13858
94b07d20
L
13859 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13860 LLONG_MAX != LONG_MAX.
13861 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13862 (_fitoa_word): Likewise.
13863
18298070
L
13864 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13865 years.
13866 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13867 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13868 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13869
553c7ea4
L
13870 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13871 include <bits/wordsize.h>. Check __x86_64__ instead of
13872 __WORDSIZE.
13873 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13874 if __x86_64__ is defined. Use anonymous union on fpstate.
13875
3707636e
L
13876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13877 anonymous union.
13878
b53ef01a
AS
138792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13880
37fb1dc0
AS
13881 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13882 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13883 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13884 Refer to _rtld_local_ro instead of _rtld_global_ro.
13885 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13886 Likewise.
13887 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13888 Likewise.
13889 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13890 Likewise.
13891 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13892 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13893 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13894
b53ef01a
AS
13895 * sysdeps/powerpc/powerpc32/dl-machine.c
13896 (__elf_machine_runtime_setup) [PROF]: Don't reference
13897 _dl_prof_resolve.
13898
7a185db2
AJ
138992012-05-18 Andreas Jaeger <aj@suse.de>
13900
13901 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13902 function only available for GCCs before 3.4 since GCC 3.4
13903 introduced a builtin.
13904 (lrint): Likewise.
13905 (llrintf): Likewise.
13906 (llrint): Likewise.
13907 (fmaxf): Likewise.
13908 (fmax): Likewise.
13909 (fminf): Likewise.
13910 (fmin): Likewise.
13911 (rint): Likewise.
13912 (rintf): Likewise.
13913 (nearbyint): Likewise.
13914 (nearbyintf): Likewise.
13915 (ceil): Likewise.
13916 (ceilf): Likewise.
13917 (floor): Likewise.
13918 (floorf): Likewise.
13919
3e5aef87
L
139202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13921
428bd707
L
13922 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13923 on both fields and cast pointer to __syscall_ulong_t.
13924
3e5aef87
L
13925 * bits/types.h (__fsword_t): New type.
13926 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13927 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13928 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13929 (__FSWORD_T_TYPE): Likewise.
13930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13931 (__FSWORD_T_TYPE): Likewise.
13932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13933 (__FSWORD_T_TYPE): Likewise.
13934 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13935 (__FSWORD_T_TYPE): Likewise.
13936 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13937 __SWORD_TYPE with __fsword_t.
13938 (statfs64): Likewise.
13939
1ba7c3dc
DM
139402012-05-17 David S. Miller <davem@davemloft.net>
13941
13942 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13943
59910343
AJ
139442012-05-17 Andreas Jaeger <aj@suse.de>
13945
13946 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13947 warning.
13948
2e4c1e9e
L
139492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13950
13951 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13952
de7f5ce7
AJ
139532012-05-17 Andreas Jaeger <aj@suse.de>
13954
13955 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13956 when it is used.
13957
286abc3d
CM
139582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13959
13960 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13961
477cc68e
L
139622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13963
13964 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13965 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13966
1a0994f5
CD
139672012-05-17 Andreas Jaeger <aj@suse.de>
13968 Carlos O'Donell <carlos_odonell@mentor.com>
13969
13970 [BZ #14059]
13971 * sysdeps/x86_64/multiarch/init-arch.h
13972 (bit_YMM_Usable): Rename to...
13973 (bit_AVX_Usable): ... this.
13974 (bit_FMA4_Usable): New macro.
13975 (bit_XMM_state): New macro.
13976 (bit_YMM_state): New macro.
13977 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13978 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13979 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13980 (CPUID_OSXSAVE): New macro.
13981 (CPUID_AVX): New macro.
13982 (CPUID_FMA4): New macro.
13983 (index_YMM_Usable): Rename to...
13984 (index_AVX_Usable): ... this.
13985 (HAS_AVX): Use HAS_ARCH_FEATURE.
13986 (HAS_FMA4): Likewise.
13987 (HAS_YMM_USABLE): Remove.
13988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13989 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13990 are present.
13991 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13992 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13993 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13994 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13995 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13996
0af797de
CM
139972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13998
13999 * math/libm-test.c: Support platforms without multiple rounding modes.
14000 * math/bug-nextafter.c: Support platforms without FP exceptions.
14001 * math/bug-nexttoward.c: Likewise.
14002 * math/test-fenv.c: Likewise.
14003 * math/test-misc.c: Likewise.
14004 * stdlib/bug-getcontext.c: Likewise.
14005
e39745ff
AJ
140062012-05-17 Andreas Jaeger <aj@suse.de>
14007
14008 * manual/examples/search.c (critter_cmp): Change signature to
14009 avoid warnings.
14010 * manual/string.texi (Collation Functions): Likewise.
14011
48970aba
L
140122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14013
14014 * bits/types.h: Fold copyright years.
14015 * bits/typesizes.h: Likewise.
14016 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14020 * time/time.h: Likewise.
14021
bedee953
PP
140222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14023
14024 [BZ #208]
14025 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14026 in instead of returning them. Return void.
14027 (__libc_mallinfo): Accumulate over all arenas.
14028 (__malloc_stats): Adjust for change in int_mallinfo interface.
14029
61653dfb
RM
140302012-05-16 Roland McGrath <roland@hack.frob.com>
14031
30b99d79
RM
14032 [BZ #10375]
14033 * configure.in (NM): Add AC_CHECK_TOOL for it.
14034 (libc_extra_cflags): New substituted variable.
14035 Check for -fstack-protector being used implicitly.
14036 * configure: Regenerated.
14037 * config.make.in (config-extra-cflags): New variable,
14038 gets @libc_extra_cflags@.
14039 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14040
61653dfb
RM
14041 [BZ #10375]
14042 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14043 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14044 * configure: Regenerated.
14045 * config.make.in (CPPUNDEFS): New substituted variable.
14046 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14047 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14048 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14049
661768bb
L
140502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14051
14052 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14053 (mq_attr): Use __syscall_slong_t.
14054
d4261567
L
140552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14056
14057 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14058 Check __x86_64__ instead of __WORDSIZE.
14059 (_STAT_VER_LINUX): Likewise.
14060 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14061 __syscall_ulong_t and __syscall_slong_t.
14062 (stat64): Likewise.
14063
cf3ff365
L
140642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14065
14066 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14067
76cf3e4d
L
140682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14069
14070 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14071
a637753a
L
140722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14073
14074 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14075 __syscall_ulong_t.
14076
d5e05119
L
14077 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14078 include <bits/wordsize.h>. Check __x86_64__ instead of
14079 __WORDSIZE.
14080 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14081 defined.
14082 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14083
f62ee380
L
14084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14085 include <bits/wordsize.h>. Check __x86_64__ instead of
14086 __WORDSIZE.
14087 (user_regs_struct): Use "__extension__ unsigned long long"
14088 instead of "unsigned long" if __x86_64__ is defined.
14089 (user): Likewise. Pad after pointer field if __ILP32__ is
14090 defined.
14091
4e124ced
JM
140922012-05-16 Joseph Myers <joseph@codesourcery.com>
14093
6a3951a0
JM
14094 * configure.in (makeinfo): Require version 4.5 or later. Allow
14095 versions 5 to 9.
14096 * configure: Regenerated.
14097 * manual/install.texi (texinfo): Increase version requirement to
14098 4.5 or later.
14099 * INSTALL: Regenerated.
14100
4e124ced
JM
14101 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14102
953ca31a
L
141032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14104
14105 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14106
617aca05
L
14107 * sysdeps/x86_64/x32/ffs.c: New file.
14108
5762f7ae
L
14109 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14110 __syscall_ulong_t.
14111 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14112 defined. Use __syscall_ulong_t.
14113 (shminfo): Use __syscall_ulong_t.
14114 (shm_info): Likewise.
14115
a26b6856
L
14116 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14117 __syscall_ulong_t.
14118
cb2b9ef7
L
14119 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14120 <bits/wordsize.h>.
14121 (msgqnum_t): Use __syscall_ulong_t.
14122 (msglen_t): Likewise.
14123 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14124 __syscall_ulong_t.
14125
34683bb0
L
14126 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14127 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14128
84a68786
L
14129 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14130
48baa5f1
L
14131 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14132 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14133
180be88b
L
14134 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14135 __syscall_slong_t.
14136
5e90c8ad
L
14137 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14138 include <bits/wordsize.h>. Check __x86_64__ instead of
14139 __WORDSIZE.
14140
23dfb58b
L
14141 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14142 "unsigned long long int" if __x86_64__ is defined.
14143 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14144
ce5d54b0
L
14145 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14146 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14147 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14148
13dc9eac
L
14149 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14150 <stdint.h>.
14151 (GET_PC): Cast to uintptr_t first.
14152 (GET_FRAME): Likewise.
14153 (GET_STACK): Likewise.
14154
a7895d15
L
14155 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14156 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14157 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14158 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14159 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14160 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14161 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14162 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14163 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14164 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14165 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14166 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14167 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14168 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14170 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14171 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14172 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14173 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14174 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14175 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14176 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14177 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14178 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14179 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14180 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14181 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14182 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14183 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14184
656416c9
AS
141852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14186
5bd66283
AS
14187 * Makerules (+depfiles): Also collect depfiles from .oS in
14188 $(extra-objs).
14189 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14190 .oS, $(libnldbl-routines)).
14191
656416c9
AS
14192 * Makerules (native-compile-mkdep-flags): Define.
14193 * sunrpc/Makefile (extra-objs): Add $(addprefix
14194 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14195 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14196 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14197 calling $(make-target-directory).
14198
a46f2169
L
141992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14200
14201 * bits/types.h (__snseconds_t): Removed.
14202 * time/time.h (struct timespec): Replace __snseconds_t with
14203 __syscall_slong_t.
14204 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14205 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14206 Likewise.
14207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14208 (__SNSECONDS_T_TYPE): Likewise.
14209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14210 (__SNSECONDS_T_TYPE): Likewise.
14211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14212 (__SNSECONDS_T_TYPE): Likewise.
14213
6af6528b
L
142142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14215
14216 * sysdeps/mach/hurd/bits/typesizes.h
14217 (__SYSCALL_SLONG_TYPE): New macro.
14218 (__SYSCALL_ULONG_TYPE): Likewise.
14219
de986b56
L
142202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14221
14222 * bits/types.h (__syscall_slong_t): New type.
14223 (__syscall_ulong_t): Likewise.
14224
14225 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14226 (__SYSCALL_ULONG_TYPE): Likewise.
14227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14228 (__SYSCALL_SLONG_TYPE): Likewise.
14229 (__SYSCALL_ULONG_TYPE): Likewise.
14230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14231 (__SYSCALL_SLONG_TYPE): Likewise.
14232 (__SYSCALL_ULONG_TYPE): Likewise.
14233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14234 (__SYSCALL_SLONG_TYPE): Likewise.
14235 (__SYSCALL_ULONG_TYPE): Likewise.
14236
85736dc7
L
142372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14238
14239 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14240 Add sigaltstack-offsets.sym.
14241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14242 <sigaltstack-offsets.h>.
14243 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14244 longjmp_msg pointer.
14245 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14246 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14247 signal stack.
14248 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14249
cc03b296
JM
142502012-05-15 Joseph Myers <joseph@codesourcery.com>
14251
a9538892
JM
14252 * elf/stackguard-macros.h: Remove file.
14253 * sysdeps/generic/stackguard-macros.h: New file.
14254 * sysdeps/i386/stackguard-macros.h: Likewise.
14255 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14256 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14257 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14258 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14259 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14260 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14261 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14262 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14263 <elf/stackguard-macros.h>.
14264
cc03b296
JM
14265 [BZ #14109]
14266 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14267 __aligned__ in attribute.
14268 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14269 (gregset_t): Likewise.
14270
93171016
L
142712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14272
14273 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14274 * sysdeps/x86_64/64/Implies-after: Here. New file.
14275 * sysdeps/x86_64/x32/Implies-after: New file.
14276
d86813a0
L
142772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14278
14279 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14280 and access return value for _dl_profile_fixup. Use R10_LP to
14281 load frame size.
14282
2953ec75
L
142832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14284
14285 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14286
3b550e9e
L
142872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14288
14289 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14290 * sysdeps/x86_64/x32/sysdep.h: New file.
14291
eda41706
L
142922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14293
14294 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14295 * sysdeps/x86_64/setjmp.S: Likewise.
14296
9ea01d93
AZ
142972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14298
14299 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14300 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14301 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14302 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14303 remove unused global constant.
14304
02a91938
CM
143052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14306
14307 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14308 include of <not-cancel.h>.
14309
6540185f
RM
143102012-05-15 Roland McGrath <roland@hack.frob.com>
14311
14312 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14313
509072a0
AJ
143142012-05-15 Jeff Law <law@redhat.com>
14315 Andreas Jaeger <aj@suse.de>
14316
14317 [BZ #13594]
14318 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14319 out from...
14320 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14321 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14322 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14323 code changing __hst_map_handle.map.
14324
ba75122d
RM
143252012-05-15 Roland McGrath <roland@hack.frob.com>
14326
14327 * configure.in (sysnames): Look for Implies-before and Implies-after
14328 files.
14329 * configure: Regenerated.
14330
890d8bd8
L
143312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14332
14333 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14334 8-byte data alignment with LP_SIZE alignment.
14335
f6ee6623
L
143362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14337
14338 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14339 into R10_LP.
14340
ea2626f6
L
143412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14342
14343 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14344
085f715e
L
143452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14346
14347 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14348 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14349 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14350 Likewise.
14351 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14352
be8498fc
L
143532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14354
14355 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14356 (stackinfo_sub_sp): Likewise.
14357
70bc83b9
L
143582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14359
14360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14361 RAX_LP.
14362
9bc0b730
L
143632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14364
14365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14366 into R*_LP.
14367
6d2850e7
L
143682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14369
14370 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14371 sizes into R*_LP.
14372
3cb84561
L
143732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14374
14375 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14376
54e2ed81
L
143772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14378
14379 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14380 into R11_LP and load __x86_64_shared_cache_size_half into
14381 R8_LP.
14382
8a17f349
L
143832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14384
14385 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14386 R8_LP.
14387
777b1eea
AZ
143882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14389
14390 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14391 logb for POWER7.
14392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14393 logbf for POWER7.
14394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14395 logbl for POWER7.
14396 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14397 powerpc32/power7/fpu/s_logb.c via #include.
14398 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14399 powerpc32/power7/fpu/s_logbf.c via #include.
14400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14401 powerpc32/power7/fpu/s_logbl.c via #include.
14402
d20d4ac2
JM
144032012-05-15 Joseph Myers <joseph@codesourcery.com>
14404
14405 * README.libm: Remove file.
14406
6cdef1ab
L
144072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14408
14409 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14410 count for x32. Use R*_LP and omit operand-size suffix.
14411
0b254d8f
L
144122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14413
14414 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14415 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14416 * sysdeps/x86_64/x32/shlib-versions: New file.
14417
ceb809dc
RM
144182012-05-14 Roland McGrath <roland@hack.frob.com>
14419
14420 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14421 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14422 Use _dl_fatal_printf instead.
14423
37f1abd4
JM
144242012-05-14 Joseph Myers <joseph@codesourcery.com>
14425
14426 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14427 set if not set by the user. Do not allow for being unset.
14428 * sysdeps/unix/sysv/linux/configure: Regenerated.
14429
11de3a33
L
144302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14431
14432 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14433 the `q' suffix from lea and replace .quad with ASM_ADDR.
14434
e02f153a
L
144352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14436
14437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14438 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14439 instead of $17.
14440 (PTR_DEMANGLE): Likewise.
14441
520ae0fd
L
144422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14443
14444 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14445 (LP_OP): Likewise.
14446 (ASM_ADDR): Likewise.
14447 (RAX_LP): Likewise.
14448 (RBP_LP): Likewise.
14449 (RBX_LP): Likewise.
14450 (RCX_LP): Likewise.
14451 (RDI_LP): Likewise.
14452 (RSI_LP): Likewise.
14453 (RSP_LP): Likewise.
14454 (R8_LP): Likewise.
14455 (R9_LP): Likewise.
14456 (R10_LP): Likewise.
14457 (R10_LP): Likewise.
14458 (R11_LP): Likewise.
14459 (R12_LP): Likewise.
14460 (R13_LP): Likewise.
14461 (R14_LP): Likewise.
14462 (R15_LP): Likewise.
14463
b985be81
L
144642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14465
14466 * sysdeps/x86_64/x32/dl-machine.h: New file.
14467
6a4888ff
AJ
144682012-05-14 Andreas Jaeger <aj@suse.de>
14469
14470 * manual/Makefile (subdir): Remove export of subdir.
14471 (all): Remove target.
14472 (.PHONY): Remove all from list.
14473 (mkinstalldirs): Remove.
14474 (.PHONY): Remove installdirs from list.
14475 ($(inst_infodir)/libc.info): Use make-target-directory.
14476 (installdirs): Remove.
14477 (subdir_%): Remove.
14478 (glibc-targets): Remove.
14479 (lib): Remove.
14480 (stubs): Remove.
14481 ($(objpfx)stubs ../po/manual.pot): Remove.
14482 ($(objpfx)stamp%): Remove.
14483 (make-target-directory): Remove.
14484 (subdir_install): Remove.
14485 (routines): Remove.
14486 (aux): Remove.
14487 (sources): Remove.
14488 (objects): Remove.
14489 (headers): Remove.
14490
14491 [BZ #13750]
14492 * manual/.gitignore: Remove, it's not needed anymore.
14493 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14494 all files in it.
14495 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14496 directory.
14497 (texis): Renamed to $(objpfx)texis.
14498 (texis-path): New, contains path to generated files.
14499 (chapters.%): Use texis-path for complete path, add extra argument
14500 libc-texinfo.sh.
14501 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14502 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14503 (summary,texi, stamp-summary): Use complete path of
14504 files. Generate files in build dir.
14505 (dir-add.texi): Build in build dir.
14506 (libm-err.texi,stamp-libm-err): Likewise.
14507 (version.texi, stamp-version): Likewise.
14508 (.%c.texi): Likewise.
14509 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14510 (mostlyclean): Remove target.
14511 (realclean): Remove target.
14512 (generated): Add new variable with contents from mostlyclean and
14513 realclean, remove entries duplicated in common-mostlyclean, add
14514 stamp-libm-err and stamp-version.
14515 (generated-dirs): Add libc directory.
14516 ($(inst_infodir)/libc.info): Install files from build dir.
14517
14518 * manual/install.texi (Configuring and compiling): Adjust since
14519 the info files are not part of the tar ball anymore.
14520
7ac77294
AJ
145212012-05-14 Andreas Jaeger <aj@suse.de>
14522
14523 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14524 variable.
14525
ffb7875d
JM
145262012-05-14 Joseph Myers <joseph@codesourcery.com>
14527
14528 [BZ #13717]
14529 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14530 to 2.2.0 where earlier.
14531 * sysdeps/unix/sysv/linux/configure: Regenerated.
14532 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14533 Remove conditional code.
14534 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14535 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14536 Remove conditional code.
14537 [!__NR_lchown]: Likewise.
14538 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14539 [__NR_lchown]: Likewise.
14540 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14541 comment referencing __ASSUME_LCHOWN_SYSCALL.
14542 * sysdeps/unix/sysv/linux/i386/sigaction.c
14543 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14544 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14545 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14546 Remove conditional code.
14547 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14548 (__protocol_available): Remove #if 0 code.
14549 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14550 conditional code.
14551 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14552 * sysdeps/unix/sysv/linux/kernel-features.h
14553 (__ASSUME_GETCWD_SYSCALL): Don't define.
14554 (__ASSUME_REALTIME_SIGNALS): Likewise.
14555 (__ASSUME_PREAD_SYSCALL): Likewise.
14556 (__ASSUME_PWRITE_SYSCALL): Likewise.
14557 (__ASSUME_POLL_SYSCALL): Likewise.
14558 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14559 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14560 non-SPARC.
14561 (__ASSUME_SIOCGIFNAME): Don't define.
14562 (__ASSUME_MSG_NOSIGNAL): Likewise.
14563 (__ASSUME_SENDFILE): Define unconditionally.
14564 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14565 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14566 conditional code.
14567 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14568 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14569 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14570 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14571 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14572 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14573 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14575 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14578 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14581 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14584 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14587 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14590 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14596 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14598 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14599 Remove conditional code.
14600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14601 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14602 Remove conditional code.
14603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14604 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14605 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14606 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14607 Remove conditional code.
14608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14609 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14610 Remove conditional code.
14611 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14612 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14613 Remove conditional code.
14614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14615 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14616 Remove conditional code.
14617 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14618 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14619 Remove conditional code.
14620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14621 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14622 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14624 * sysdeps/unix/sysv/linux/sigaction.c
14625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14627 * sysdeps/unix/sysv/linux/sigpending.c
14628 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14629 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14630 * sysdeps/unix/sysv/linux/sigprocmask.c
14631 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14632 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14633 * sysdeps/unix/sysv/linux/sigsuspend.c
14634 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14635 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14636 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14637 (__libc_missing_rt_sigs): Remove.
14638 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14639 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14640 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14641 Remove conditional code.
14642 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14643 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14644 return 1.
14645 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14646 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14647 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14648 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14649
1bfb7291
AJ
146502012-05-14 Andreas Jaeger <aj@suse.de>
14651
caae5a81
AJ
14652 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14653 it's not used in glibc.
14654 (__coshm1): Likewise.
14655 (__acosh1p): Likewise.
14656 (__sgn): Likewise.
14657
1bfb7291
AJ
14658 * manual/string.texi (Copying and Concatenation): Add missing
14659 variable in concat example.
14660 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14661
c044d724
L
146622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14663
144c5467 14664 [BZ #14103]
c044d724
L
14665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14666 __builtin_clzl with __builtin_clzll.
14667
2523c62b
L
146682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14669
14670 [BZ #14104]
14671 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14672 libc_freeres_ptr.
14673
d7bb4c42
LD
146742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14675
14676 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14677 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14678 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14679 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14680
9dc4e1fb
MF
146812012-05-14 Mike Frysinger <vapier@gentoo.org>
14682
14683 * NEWS: Update ia64 info.
14684
c7df0112
AS
146852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14686
14687 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14688 used as bcopy.
14689
dc70356c
TS
146902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14691
14692 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14693 * sysdeps/unix/syscalls.list (dup3): Likewise.
14694 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14695 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14696
9fb1a21f
L
146972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14698
14699 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14700 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14701
4822a2a5
L
147022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14703
14704 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14705 thread pointer.
14706 (TLS_IE): Use mov/add instead of movq/addq to load thread
14707 pointer.
14708 (TLS_GD_PREFIX): New.
14709 (TLS_GD): Use it.
14710
842b81d6
DM
147112012-05-11 David S. Miller <davem@davemloft.net>
14712
14713 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14714 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14715 (_FPU_SETCW): Likewise.
14716
1cf463cd
L
147172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14718
14719 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14720 is 32-byte aligned.
14721
60cc4a18
AS
147222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14723
14724 [BZ #11837]
14725 * iconvdata/gb18030.c: Update tables.
14726 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14727 characters specially.
14728 (BODY for TO_LOOP): Add encoding of missing ranges.
14729
febb44a4
TS
147302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14731
14732 [BZ #13673]
14733 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14734 * sysdeps/mach/hurd/dup3.c: Likewise.
14735 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14736 * sysdeps/powerpc/memmove.c:: Likewise.
14737
0a10fb9e
L
147382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14739
14740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14741 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14742
df8a552f
L
147432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14744
14745 * elf/elf.h (R_X86_64_RELATIVE64): New.
14746 (R_X86_64_NUM): Updated.
14747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14748 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14749 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14750 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14751 tst-quad1pie tst-quad2pie
14752 (modules-names): Add tst-quadmod1 tst-quadmod2.
14753 ($(objpfx)tst-quad1): New dependency.
14754 ($(objpfx)tst-quad2): Likewise.
14755 ($(objpfx)tst-quad1pie): Likewise.
14756 ($(objpfx)tst-quad2pie): Likewise.
14757 * sysdeps/x86_64/tst-quad1.c: New file.
14758 * sysdeps/x86_64/tst-quad1pie.c: New file.
14759 * sysdeps/x86_64/tst-quad2.c: Likewise.
14760 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14761 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14762 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14763 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14764 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14765
f34d6f84
ST
147662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14767
f42d41d1
ST
14768 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14769 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14770 * streams/stropts.h (t_scalar_t): Define type.
14771
3c3571fc
ST
14772 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14773 (_PATH_PRESERVE): Set to "/var/lib".
14774 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14775
61f06bd3
ST
14776 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14777 instead of int.
14778
918d4d71
ST
14779 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14780 if __dir_mkfile succeeded.
14781
f34d6f84
ST
14782 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14783 checking for _hurd_dtablesize. Unlock it right after having
14784 finished _hurd_dtable allocation.
14785
10589b4a
TS
147862012-05-10 Thomas Schwinge <thomas@schwinge.name>
14787
674cdbc7
TS
14788 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14789 * sysdeps/mach/hurd/configure: Regenerated.
14790 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14791 special-casing to...
14792 * sysdeps/gnu/configure.in: ... this new file.
14793 * sysdeps/unix/sysv/linux/configure: Regenerated.
14794 * sysdeps/gnu/configure: New generated file.
14795
8e41b99f
TS
14796 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14797 for Linux: use nsec instead of usec, as well as:
14798 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14799 members of type struct timespec.
14800 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14801 New macros.
14802 (struct stat64): Likewise.
14803 (_STATBUF_ST_NSEC): New macro.
14804 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14805
10589b4a
TS
14806 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14807 __strtoul_internal rather than strtoul.
14808
63643c85
PT
148092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14810
14811 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14812 and reject them.
14813
3faebe6a
ST
148142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14815
14816 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14817 which preserves existing values.
14818 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14819
c6474b07
PT
148202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14821
14822 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14823 TIMEOUT values. Return EINVAL for NFDS values either negative or
14824 greater than FD_SETSIZE.
14825
1043890b
ST
148262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14827
14828 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14829 allocated, call __vm_protect to finish enabling the existing space, and
14830 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14831 allocate the remainder.
14832
37ed8b9b
PT
148332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14834
14835 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14836 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14837
db653660
ST
148382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14839
37ed8b9b
PT
14840 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14841 sysdeps/mach/hurd/readlink.c.
b29d4053 14842
db653660
ST
14843 * posix/tst-sysconf.c (posix_options): Only use
14844 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14845 _POSIX_SYNCHRONIZED_IO when they are defined
14846 * sysdeps/mach/hurd/bits/posix_opt.h:
14847 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14848 (_XOPEN_REALTIME): Undefine macro.
14849 (_XOPEN_REALTIME_THREADS): Undefine macro.
14850 (_XOPEN_SHM): Undefine macro.
14851 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14852 macro to -1.
14853 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14854 macro to -1.
14855 (_POSIX_ASYNC_IO): Undefine macro.
14856 (_POSIX_PRIORITIZED_IO): Undefine macro.
14857 (_POSIX_SPIN_LOCKS): Define macro to -1.
14858
ee16e894
ST
14859 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14860 SA_NODEFER, SA_RESETHAND.
14861 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14862 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14863 F_DUPFD_CLOEXEC.
14864
6103ae3b
TS
148652012-05-10 Thomas Schwinge <thomas@schwinge.name>
14866
14867 * elf/Makefile (pldd-modules): Define unconditionally.
14868
80b4e5f3
TS
148692012-05-10 Thomas Schwinge <thomas@schwinge.name>
14870
14871 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14872
edadcbd6
ST
148732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14874
14875 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14876 Return ENOENT when name is empty.
14877 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14878
80694780
TS
148792012-05-10 Thomas Schwinge <thomas@schwinge.name>
14880
1792c087
TS
14881 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14882
80694780
TS
14883 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14884
6b645f0d
ST
148852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14886
80694780
TS
14887 Fix mlock in all cases except non-readable pages.
14888 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14889 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14890
6b645f0d
ST
14891 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14892 (__mkdir): When path is `/', just fail with EEXIST.
14893 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14894
e468f8a3
TS
148952012-05-10 Thomas Schwinge <thomas@schwinge.name>
14896
14897 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14898 <sys/uio.h> (for writev).
14899 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14900 and <sys/param.h> (for MIN).
14901
a4186cff
PT
149022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14903
14904 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14905 REQUESTED_TIME. Properly set the remaining time and return EINTR
14906 if interrupted.
14907
510bbf14
TS
149082012-05-10 Thomas Schwinge <thomas@schwinge.name>
14909
14910 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14911 Depend on against $(link-rpcuserlibs).
14912
5d5722e8
ST
149132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14914
a4186cff
PT
14915 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14916 (__libc_stack_end): Do not use attribute_relro.
14917 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14918 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14919 to libthread-provided value.
a4186cff
PT
14920 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14921 attribute_relro.
5d5722e8 14922
37233df9
TS
149232012-05-10 Thomas Schwinge <thomas@schwinge.name>
14924
be971a2b
TS
14925 [BZ #3748]
14926 * bits/libc-lock.h (__libc_once_get): New macro.
14927 * sysdeps/mach/bits/libc-lock.h: Likewise.
14928 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14929 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14930 instead of using implementation details.
14931
37233df9
TS
14932 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14933 * libio/freopen.c: Likewise.
14934 * libio/freopen64.c: Likewise.
14935 * misc/syslog.c: Likewise.
14936 * nscd/connections.c: Likewise.
14937 * nscd/netgroupcache.c: Likewise.
14938 * sysdeps/posix/getcwd.c: Likewise.
14939
38de94a5
RM
149402012-05-10 Roland McGrath <roland@hack.frob.com>
14941
14942 * math/w_ilogbf.c: Add #include <limits.h>.
14943
67530489
ST
149442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14945
a4186cff 14946 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14947 path instead of returning without unlocking.
14948
67530489
ST
14949 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14950 immediate-write ioctls.
14951 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14952
5aa3a74a
TS
149532012-05-10 Thomas Schwinge <thomas@schwinge.name>
14954
18bad2ae
TS
14955 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14956 __builtin_frame_address instead of making assumptions about the
14957 location of the return address relative to DATA. Force early load of
14958 the return address.
14959 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14960 __builtin_frame_address.
14961
5aa3a74a
TS
14962 dup3 for GNU Hurd.
14963 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14964 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14965 implement dup3 and do some further code clean-ups.
14966 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14967 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14968
ecd0de9a
ST
149692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14970
cd9fa985
ST
14971 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14972
a4186cff
PT
14973 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14974 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14975 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14976 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14977 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14978 d->port.lock.
802ca5a5 14979
a4186cff
PT
14980 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14981 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14982 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14983
bcf55240
TS
149842012-05-10 Thomas Schwinge <thomas@schwinge.name>
14985
6960eb42
TS
14986 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14987 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14988 definitions.
14989
eb43375f
TS
14990 accept4 for GNU Hurd.
14991 * include/sys/socket.h (__libc_accept4): New prototype.
14992 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14993 to implement __libc_accept4.
14994 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14995 __libc_accept4.
14996 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14997
bcf55240
TS
14998 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14999 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15000 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15001 signal-defines.sym.
15002
6178c55b
ST
150032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15004
a4186cff 15005 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15006
6f080c2f
TS
150072012-05-10 Thomas Schwinge <thomas@schwinge.name>
15008
15009 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15010 assertion on O_CLOEXEC flag.
15011 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15012 * hurd/intern-fd.c: Likewise.
15013 * hurd/port2fd.c: Likewise.
15014
bcfe3a54
ST
150152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15016
15017 [BZ #3906]
15018 * bits/in.h (IPV6_PKTINFO): Define new macro.
15019 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15020
89c9aa49
AZ
150212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15022
15023 [BZ #13954]
15024 [BZ #13955]
15025 [BZ #13956]
15026 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15028 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15029 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15031 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15032 * math/libm-test.inc (logb_test) : Additional logb tests.
15033
021db4be
AJ
150342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15035 Andreas Jaeger <aj@suse.de>
15036
15037 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15038 * configure: Regenerated.
15039 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15040 * config.make.in (link-obsolete-rpc): New substituted variable.
15041 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15042 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15043 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15044 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15045 so that libc.a contains the symbols.
15046 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15047 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15048 * sunrpc/auth_none.c: Likewise.
15049 * sunrpc/auth_unix.c: Likewise.
15050 * sunrpc/authdes_prot.c: Likewise.
15051 * sunrpc/authuxprot.c: Likewise.
15052 * sunrpc/clnt_gen.c: Likewise.
15053 * sunrpc/clnt_perr.c: Likewise.
15054 * sunrpc/clnt_raw.c: Likewise.
15055 * sunrpc/clnt_simp.c: Likewise.
15056 * sunrpc/clnt_tcp.c: Likewise.
15057 * sunrpc/clnt_udp.c: Likewise.
15058 * sunrpc/clnt_unix.c: Likewise.
15059 * sunrpc/des_crypt.c: Likewise.
15060 * sunrpc/des_soft.c: Likewise.
15061 * sunrpc/get_myaddr.c: Likewise.
15062 * sunrpc/key_call.c: Likewise.
15063 * sunrpc/key_prot.c: Likewise.
15064 * sunrpc/netname.c: Likewise.
15065 * sunrpc/pm_getmaps.c: Likewise.
15066 * sunrpc/pm_getport.c: Likewise.
15067 * sunrpc/pmap_clnt.c: Likewise.
15068 * sunrpc/pmap_prot.c: Likewise.
15069 * sunrpc/pmap_prot2.c: Likewise.
15070 * sunrpc/pmap_rmt.c: Likewise.
15071 * sunrpc/publickey.c: Likewise.
15072 * sunrpc/rpc_cmsg.c: Likewise.
15073 * sunrpc/rpc_common.c: Likewise.
15074 * sunrpc/rpc_dtable.c: Likewise.
15075 * sunrpc/rpc_prot.c: Likewise.
15076 * sunrpc/rpc_thread.c: Likewise.
15077 * sunrpc/rtime.c: Likewise.
15078 * sunrpc/svc.c: Likewise.
15079 * sunrpc/svc_auth.c: Likewise.
15080 * sunrpc/svc_raw.c: Likewise.
15081 * sunrpc/svc_run.c: Likewise.
15082 * sunrpc/svc_tcp.c: Likewise.
15083 * sunrpc/svc_udp.c: Likewise.
15084 * sunrpc/svc_unix.c: Likewise.
15085 * sunrpc/svcauth_des.c: Likewise.
15086 * sunrpc/xcrypt.c: Likewise.
15087 * sunrpc/xdr.c: Likewise.
15088 * sunrpc/xdr_array.c: Likewise.
15089 * sunrpc/xdr_float.c: Likewise.
15090 * sunrpc/xdr_intXX_t.c: Likewise.
15091 * sunrpc/xdr_mem.c: Likewise.
15092 * sunrpc/xdr_rec.c: Likewise.
15093 * sunrpc/xdr_ref.c: Likewise.
15094 * sunrpc/xdr_sizeof.c: Likewise.
15095 * sunrpc/xdr_stdio.c: Likewise.
15096
b5c086a2
RM
150972012-05-10 Roland McGrath <roland@hack.frob.com>
15098
15099 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15100 change. Update copyright years.
15101
6d74dd09
JM
151022012-05-10 Joseph Myers <joseph@codesourcery.com>
15103
15104 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15105
28e72501
MK
151062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15107 Joseph Myers <joseph@codesourcery.com>
15108 Paul Pluzhnikov <ppluzhnikov@google.com>
15109
15110 [BZ #14012]
15111 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15112 requiring rpcgen.
15113 [cross-compiling] (extra-libs): Likewise.
15114 [cross-compiling] (extra-libs-others): Likewise.
15115 [cross-compiling] (librpcsvc-routines): Likewise.
15116 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15117 [cross-compiling] (omit-deps): Likewise.
15118 (sunrpc-CPPFLAGS): New variable.
15119 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15120 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15121 (cross-rpcgen-objs): New variable.
15122 (extra-objs): Append $(cross-rpcgen-objs).
15123 ($(cross-rpcgen-objs)): New rule.
15124 ($(objpfx)cross-rpcgen): Likewise.
15125 (rpcgen-cmd): Define to use $(built-program-file). Expand
15126 comment.
15127 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15128 ($(objpfx)x%.stmp): Likewise.
15129 * sunrpc/proto.h [IS_IN_build] (_): Define.
15130 [IS_IN_build] (_libc_intl_domainname): Likewise.
15131
c8c59454
L
151322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15133
15134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15135 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15136 and R_X86_64_TPOFF64.
15137
6f27cd16
JM
151382012-05-10 Joseph Myers <joseph@codesourcery.com>
15139
15140 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15141 sysdeps/unix/sysv/syscalls.list.
15142 (stime): Likewise.
15143 (utime): Likewise.
15144 * sysdeps/unix/sysv/syscalls.list: Remove file.
15145
02467e1c
PE
151462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15147
15148 [BZ #3440]
15149 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15150 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15151 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15152 (__LC_IDENTIFICATION): Make these macros useful in #if
15153 expressions, as required by C99.
15154
da392631
AS
151552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15156
15157 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15158 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15159 after this.
15160
8115f29b
L
151612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15162
15163 * stdlib/longlong.h: Updated from GCC.
15164
bdd74070
AJ
151652012-05-09 Andreas Jaeger <aj@suse.de>
15166
edfe0dbe
AJ
15167 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15168 default is first entry.
15169 (run_mode): Set type.
15170 (main): Remove informal message about syslog.
15171 (options): Fix typo.
15172
bcfe3a54
ST
15173 [BZ #14053]
15174 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15175 to asm.
bcfe3a54
ST
15176 (lrint): Likewise.
15177 (llrintf): Likewise.
15178 (llrint): Likewise.
15179 (rint): Likewise.
15180 (rintf): Likewise.
15181 (nearbyint): Likewise.
15182 (nearbyintf): Likewise.
bdd74070 15183
91d8d69e
AJ
151842012-05-09 Andreas Jaeger <aj@suse.de>
15185 Pedro Alves <palves@redhat.com>
15186
15187 * nscd/nscd.c (run_mode): Use enum.
15188 (main): Cleanup coding style issue.
15189
bb90b80b
AJ
151902012-05-09 Alexandre Oliva <aoliva@redhat.com>
15191 Andreas Jaeger <aj@suse.de>
15192
bcfe3a54
ST
15193 * nscd/nscd.c (go_background): Replaced with...
15194 (run_mode): ... this.
bb90b80b 15195 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15196 (options): Add -F --foreground.
15197 (main): Implement it.
15198 (parse_opt): Parse it.
bb90b80b 15199
1a4b75a1
AJ
152002012-05-09 Andreas Jaeger <aj@suse.de>
15201
15202 [BZ #14083]
15203 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15204 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15205 -Wconversion warning.
15206 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15207 Likewise.
15208
b1cc2472
JM
152092012-05-09 Joseph Myers <joseph@codesourcery.com>
15210
15211 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15212 == 0.
15213 (LC_ALL): Use macro-int-constant.
15214 (LC_COLLATE): Likewise.
15215 (LC_CTYPE): Likewise.
15216 (LC_MESSAGES): Likewise.
15217 (LC_MONETARY): Likewise.
15218 (LC_NUMERIC): Likewise.
15219 (LC_TIME): Likewise.
15220 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15221 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15222 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15223 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15224 Specify type.
15225 [C99-based standards] (float_t): Expect type.
15226 [C99-based standards] (double_t): Expect type.
15227 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15228 type.
15229 [C99-based standards] (HUGE_VALL): Likewise.
15230 [C99-based standards] (INFINITY): Likewise.
15231 [C99-based standards] (NAN): Likewise.
15232 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15233 [C99-based standards] (FP_NAN): Likewise.
15234 [C99-based standards] (FP_NORMAL): Likewise.
15235 [C99-based standards] (FP_SUBNORMAL): Likewise.
15236 [C99-based standards] (FP_ZERO): Likewise.
15237 [C99-based standards] (FP_FAST_FMA): Use
15238 optional-macro-int-constant. Specify type. Require == 1.
15239 [C99-based standards] (FP_FAST_FMAF): Likewise.
15240 [C99-based standards] (FP_FAST_FMAL): Likewise.
15241 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15242 [C99-based standards] (FP_ILOGBNAN): Likewise.
15243 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15244 Specify type.
15245 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15246 [C99-based standards] (math_errhandling): Specify type.
15247 [ISO99 || ISO11] (signgam): Do not allow.
15248 [non-C99-based standards] (copysignf): Do not allow.
15249 [non-C99-based standards] (exp2f): Likewise.
15250 [non-C99-based standards] (log2f): Likewise.
15251 [non-C99-based standards] (modff): Allow.
15252 [non-C99-based standards] (erff): Do not allow.
15253 [non-C99-based standards] (erfcf): Likewise.
15254 [non-C99-based standards] (gammaf): Likewise.
15255 [non-C99-based standards] (hypotf): Likewise.
15256 [non-C99-based standards] (j0f): Likewise.
15257 [non-C99-based standards] (j1f): Likewise.
15258 [non-C99-based standards] (jnf): Likewise.
15259 [non-C99-based standards] (lgammaf): Likewise.
15260 [non-C99-based standards] (tgammaf): Likewise.
15261 [non-C99-based standards] (y0f): Likewise.
15262 [non-C99-based standards] (y1f): Likewise.
15263 [non-C99-based standards] (ynf): Likewise.
15264 [non-C99-based standards] (isnanf): Likewise.
15265 [non-C99-based standards] (acoshf): Likewise.
15266 [non-C99-based standards] (asinhf): Likewise.
15267 [non-C99-based standards] (atanhf): Likewise.
15268 [non-C99-based standards] (cbrtf): Likewise.
15269 [non-C99-based standards] (expm1f): Likewise.
15270 [non-C99-based standards] (ilogbf): Likewise.
15271 [non-C99-based standards] (log1pf): Likewise.
15272 [non-C99-based standards] (logbf): Likewise.
15273 [non-C99-based standards] (nextafterf): Likewise.
15274 [non-C99-based standards] (remainderf): Likewise.
15275 [non-C99-based standards] (rintf): Likewise.
15276 [non-C99-based standards] (scalbf): Likewise.
15277 [non-C99-based standards] (copysignl): Likewise.
15278 [non-C99-based standards] (exp2l): Likewise.
15279 [non-C99-based standards] (log2l): Likewise.
15280 [non-C99-based standards] (modfl): Allow.
15281 [non-C99-based standards] (erfl): Do not allow.
15282 [non-C99-based standards] (erfcl): Likewise.
15283 [non-C99-based standards] (gammal): Likewise.
15284 [non-C99-based standards] (hypotl): Likewise.
15285 [non-C99-based standards] (j0l): Likewise.
15286 [non-C99-based standards] (j1l): Likewise.
15287 [non-C99-based standards] (jnl): Likewise.
15288 [non-C99-based standards] (lgammal): Likewise.
15289 [non-C99-based standards] (tgammal): Likewise.
15290 [non-C99-based standards] (y0l): Likewise.
15291 [non-C99-based standards] (y1l): Likewise.
15292 [non-C99-based standards] (ynl): Likewise.
15293 [non-C99-based standards] (isnanl): Likewise.
15294 [non-C99-based standards] (acoshl): Likewise.
15295 [non-C99-based standards] (asinhl): Likewise.
15296 [non-C99-based standards] (atanhl): Likewise.
15297 [non-C99-based standards] (cbrtl): Likewise.
15298 [non-C99-based standards] (expm1l): Likewise.
15299 [non-C99-based standards] (ilogbl): Likewise.
15300 [non-C99-based standards] (log1pl): Likewise.
15301 [non-C99-based standards] (logbl): Likewise.
15302 [non-C99-based standards] (nextafterl): Likewise.
15303 [non-C99-based standards] (remainderl): Likewise.
15304 [non-C99-based standards] (rintl): Likewise.
15305 [non-C99-based standards] (scalbl): Likewise.
15306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15307 [non-C99-based standards] (FP_*): Do not allow.
15308 [C99-based standards] (FP_*): Change to
15309 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15310 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15311 allow.
15312 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15313 (SIG_ERR): Likewise.
15314 [X/Open-based standards] (SIG_HOLD): Likewise.
15315 (SIG_IGN): Likewise.
15316 (SIGABRT): Use macro-int-constant. Specify type. Require
15317 positive value.
15318 (SIGFPE): Likewise.
15319 (SIGILL): Likewise.
15320 (SIGINT): Likewise.
15321 (SIGSEGV): Likewise.
15322 (SIGTER): Likewise.
15323 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15324 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15325 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15326 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15327 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15328 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15329 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15330 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15331 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15332 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15333 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15334 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15335 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15336 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15337 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15338 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15339 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15340 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15341 [X/Open-based standards] (SIGTRAP): Likewise.
15342 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15343 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15344 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15345 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15346 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15347 allow.
15348
b9f1922d
IW
153492012-05-08 Ian Wienand <ianw@vmware.com>
15350
15351 [BZ #14080]
15352 * time/tzset.c (__tzset_parse_tz): Update default rules for
15353 daylight time changes in the Energy Policy Act of 2005.
15354
1db86e88
AJ
153552012-05-09 Andreas Jaeger <aj@suse.de>
15356
15357 [BZ #13983]
15358 * elf/ldconfig.c (parse_conf): Change string to make clear that
15359 ldconfig only issued a warning if ld.so.conf does not exist.
15360
dee4a4e3
DM
153612012-05-08 David S. Miller <davem@davemloft.net>
15362
ee0db190
DM
15363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15364 movxtod instead of popping the value on the stack.
15365
dee4a4e3
DM
15366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15367
6a43ec98
CD
153682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15369
15370 * config.h.in: Add HAVE_ARM_PCS_VFP.
15371
05c2c961
RMG
153722012-05-08 Roland Mc Grath <roland@hack.frob.com>
15373
bcfe3a54
ST
15374 [BZ #13979]
15375 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15376 checking but the checks are disabled for any reason.
05c2c961 15377
4b30f61a
L
153782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15379
15380 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15381 and ELF64_R_TYPE with ELFW(R_TYPE).
15382
eee2bc67
JM
153832012-05-08 Joseph Myers <joseph@codesourcery.com>
15384
7ea5391a
JM
15385 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15386 (ulimit): Likewise.
15387
eee2bc67
JM
15388 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15389 (settimeofday): Likewise.
15390
abb66a67
MF
153912012-05-08 Mike Frysinger <vapier@gentoo.org>
15392
15393 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15394 a struct th_u2 inside the union, and move tu_block/tu_code into
15395 a new th_u3 union of tu_block/tu_code inside of that. Move
15396 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15397 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15398 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15399 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15400 (th_stuff): Change to th_u1.tu_stuff.
15401 (th_data): Define.
15402 (th_msg): Change to th_u1.th_u2.tu_data.
15403
7f18b530
DM
154042012-05-07 David S. Miller <davem@davemloft.net>
15405
05760585
DM
15406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15407
7f18b530
DM
15408 [BZ #14074]
15409 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15410 (SETUP_PIC_REG): Use it.
15411 (SETUP_PIC_REG_LEAF): Use it.
15412
495fd99f
JM
154132012-05-07 Joseph Myers <joseph@codesourcery.com>
15414
15415 [BZ #13885]
15416 [BZ #13923]
15417 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15418 USE_AS_EXPM1L.
15419 (EXPL_FINITE): Likewise.
15420 (FLDLOG): Likewise.
15421 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15422 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15423 e_expl.S.
15424 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15425 USE_AS_EXPM1L.
15426 (EXPL_FINITE): Likewise.
15427 (FLDLOG): Likewise.
15428 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15429 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15430 e_expl.S.
15431 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15432 test of -max_value argument for long double.
15433 * sysdeps/i386/fpu/libm-test-ulps: Update.
15434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15435
6693d694
DM
154362012-05-06 David S. Miller <davem@davemloft.net>
15437
15438 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15439 quad soft-float symbols whose references which are compiler
15440 generated.
15441 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15442
6c23e11c
JM
154432012-05-06 Joseph Myers <joseph@codesourcery.com>
15444
d8b82cad
JM
15445 [BZ #13884]
15446 [BZ #13914]
15447 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15448 USE_AS_EXP10L.
15449 (EXPL_FINITE): Likewise.
15450 (FLDLOG): Likewise.
15451 (c0): Likewise.
15452 (c1): Likewise.
15453 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15454 Adjust comments for base varying.
15455 (__expl_finite): Change alias to EXPL_FINITE.
15456 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15457 e_expl.S.
15458 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15459 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15460 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15461 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15462 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15463 USE_AS_EXP10L.
15464 (EXPL_FINITE): Likewise.
15465 (FLDLOG): Likewise.
15466 (c0): Likewise.
15467 (c1): Likewise.
15468 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15469 Adjust comments for base varying.
15470 (__expl_finite): Change alias to EXPL_FINITE.
15471 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15472 tests for bugs.
15473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15474
6c23e11c
JM
15475 [BZ #14064]
15476 * math/libm-test.inc (check_float_internal): Correct ulp
15477 calculation for subnormal expected results.
15478
29ba805c
AJ
154792012-05-06 Andreas Jaeger <aj@suse.de>
15480
15481 * Makeconfig (+math-flags): New, set to -frounding-math.
15482 (+cflags): Add +math-flags so that all of glibc gets compiled with
15483 it.
15484
15485 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15486
7b17aeda
JM
154872012-05-05 Joseph Myers <joseph@codesourcery.com>
15488
5779f134
JM
15489 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15490 Disable one test.
15491
41498f4d
JM
15492 [BZ #13787]
15493 [BZ #13922]
15494 [BZ #14036]
15495 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15496 (__ieee754_expl): Allow for and saturate large arguments.
15497 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15498 (u_threshold): Likewise.
15499 (__exp): Call __ieee754_exp before checking for overflow and
15500 underflow.
15501 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15502 (u_threshold): Likewise.
15503 (__expf): Call __ieee754_expf before checking for overflow and
15504 underflow.
15505 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15506 (u_threshold): Likewise.
15507 (__expl): Call __ieee754_expl before checking for overflow and
15508 underflow.
15509 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15510 (__ieee754_expl): Allow for and saturate large arguments.
15511 * math/libm-test.inc (exp_test): Add another test. Do not allow
15512 missing overflow exception on overflow.
15513 (expm1_test): Do not allow missing overflow exception on overflow.
15514
6698b8bf
JM
15515 * sysdeps/i386/fpu/e_expl.c: Move to ...
15516 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15517 rather than using inline asm.
15518 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15519 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15520 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15521
7b17aeda
JM
15522 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15523 (nice): Likewise.
15524 (poll): Likewise.
15525 (signal): Likewise.
15526 (time): Likewise.
15527 (times): Likewise.
15528
f7c85819
JM
155292012-05-04 Joseph Myers <joseph@codesourcery.com>
15530
15531 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15532 sysdeps/unix/common/syscalls.list.
15533 (fchmod): Likewise.
15534 (fchown): Likewise.
15535 (ftruncate): Likewise.
15536 (getrusage): Likewise.
15537 (gettimeofday): Likewise.
15538 (setpgid): Likewise.
15539 (setregid): Likewise.
15540 (setreuid): Likewise.
15541 (sigaction): Likewise.
15542 (truncate): Likewise.
15543 (vhangup): Likewise.
15544 * sysdeps/unix/common/syscalls.list: Remove file.
15545 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15546 * sysdeps/unix/sysv/linux/Implies: Likewise.
15547
336270d0
L
155482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15549
15550 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15552 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15553 Moved to ...
15554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15555 Here.
15556 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15557 to ...
15558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15559 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15560 to ...
15561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15562 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15563 to ...
15564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15565 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15566 to ...
15567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15568 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15569 to ...
15570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15571 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15572 to ...
15573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15574 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15575 to ...
15576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15577 Here.
15578 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15579 to ...
15580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15581 Here.
15582 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15583 to ...
15584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15585 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15586 Moved to ...
15587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15588 Here.
15589 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15590 to ...
15591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15592
d128e450
JM
155932012-05-04 Joseph Myers <joseph@codesourcery.com>
15594
fa8ee516
JM
15595 * sysdeps/unix/common/bits/dirent.h: Remove file.
15596 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15597
d128e450
JM
15598 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15599 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15600 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15601 * sysdeps/unix/bsd/isatty.c: Likewise.
15602 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15603 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15604 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15605
ff8faaf0 156062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15607
62881be4 15608 [BZ #13563]
31dc8730
AZ
15609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15610 long double comparison inaccuracies.
15611 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15613
6fef930c
AS
156142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15615
15616 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15617 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15618
8f203e6c
JM
156192012-05-04 Joseph Myers <joseph@codesourcery.com>
15620
15621 [BZ #14049]
15622 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15623 nonzero digits before rounding a hex value.
15624 * stdlib/tst-strtod.c (tests): Add another test.
15625
5197d9c2
AK
156262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15627
15628 * sysdeps/s390/fpu/libm-test-ulps: Update.
15629
f0c1dedf
AJ
156302012-05-03 Andreas Jaeger <aj@suse.de>
15631
15632 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15633 does not get optimized out.
15634 (malloc_opt_barrier): New.
15635
a65ef2ae 156362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15637 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15638
2b942cb7 15639 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15640 intermediate file deletion.
2b942cb7 15641 (generated): Add .symlist files.
a65ef2ae 15642
54b71e02
JM
156432012-05-03 Joseph Myers <joseph@codesourcery.com>
15644
15645 [BZ #13775]
15646 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15647 Redirect under this condition.
15648 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15649 [__USE_GNU] (__dprintf_chk): Not under this condition.
15650 [__USE_GNU] (__vdprintf_chk): Likewise.
15651 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15652 under this condition.
15653 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15654 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15655 [__USE_XOPEN2K8] (vdprintf): Likewise.
15656 [__USE_GNU] (__dprintf_chk): Not under this condition.
15657 [__USE_GNU] (__vdprintf_chk): Likewise.
15658 [__USE_GNU] (dprintf): Likewise.
15659 [__USE_GNU] (vdprintf): Likewise.
15660
d3dfcc41
RM
156612012-05-03 Roland McGrath <roland@hack.frob.com>
15662
15663 * elf/Makefile (common-generated): Set this instead of generated for
15664 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15665 $(all-built-dso)-derived lists.
15666
7ac30cc5
AJ
156672012-05-03 Andreas Jaeger <aj@suse.de>
15668
0c51e550
AJ
15669 * sysdeps/i386/fpu/libm-test-ulps: Update.
15670
7ac30cc5
AJ
15671 * FAQ: Removed.
15672 * FAQ.in: Likewise.
15673 * scripts/gen-FAQ.pl: Likewise.
15674 * manual/install.texi (Installation): Point to online location of
15675 FAQ.
15676 * Makefile (files-for-dist): Remove FAQ.
15677 (FAQ): Remove.
15678
d4c2917f
AM
156792012-05-02 Allan McRae <allan@archlinux.org>
15680
15681 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15682 (LDFLAGS-reldepmod5.so): Likewise.
15683 (LDFLAGS-reldep6mod1.so): Likewise.
15684 (LDFLAGS-reldep6mod4.so): Likewise.
15685 (LDFLAGS-reldep8mod3.so): Likewise.
15686 (LDFLAGS-unload4mod1.so): Likewise.
15687 (LDFLAGS-unload4mod2.so): Likewise.
15688 (LDFLAGS-tst-initorder): Likewise.
15689 (LDFLAGS-tst-initordera2.so): Likewise.
15690 (LDFLAGS-tst-initordera3.so): Likewise.
15691 (LDFLAGS-tst-initordera4.so): Likewise.
15692 (LDFLAGS-tst-initorderb2.so): Likewise.
15693 (LDFLAGS-noload): Likewise.
15694 (LDFLAGS-next): Likewise.
15695 (LDFLAGS-order2mod1.so): Likewise.
15696 (LDFLAGS-order2mod2.so): Likewise.
15697 (LDFLAGS-tst-initorder2): Likewise.
15698 (LDFLAGS-tst-initorder2a.so): Likewise.
15699 (LDFLAGS-tst-initorder2b.so): Likewise.
15700 (LDFLAGS-tst-initorder2c.so): Likewise.
15701 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15702
d77f993f
DM
157032012-05-02 David S. Miller <davem@davemloft.net>
15704
15705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15706
171a70b4
PP
157072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15708
15709 [BZ #14055]
15710 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15711
0be196ad
AJ
157122012-05-02 Andreas Jaeger <aj@suse.de>
15713
15714 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15715 since we manipulate rounding mode.
15716 (CPPFLAGS-test-idouble.c): Likewise.
15717 (CPPFLAGS-test-ifloat.c): Likewise.
15718 (CFLAGS-test-ldouble.c): Likewise.
15719 (CFLAGS-test-double.c): Likewise.
15720 (CFLAGS-test-float.c): Likewise.
15721 (CFLAGS-test-misc.c): Likewise.
15722 (CFLAGS-test-test-fenv.c): Likewise.
15723
4f9d04aa
AZ
157242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15725
2b942cb7
RM
15726 [BZ #2550]
15727 [BZ #2570]
15728 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15729 comparisons to determine direction to adjust input.
4f9d04aa 15730
82a79e7d
RM
157312012-05-01 Roland McGrath <roland@hack.frob.com>
15732
f5a01ca9
RM
15733 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15734 output to the target.
15735
90fe4186
RM
15736 * scripts/localplt.awk: New file.
15737 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15738 (check-localplt-CFLAGS): Variable removed.
15739 ($(all-built-dso:=.jmprel)): New static pattern rule.
15740 (generated): Add those targets.
15741 (localplt-built-dso): New variable.
15742 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15743
15744 * elf/check-localplt.c: File removed.
15745
82397ed6
RM
15746 * scripts/check-execstack.awk: New file.
15747 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15748 (check-execstack-CFLAGS): Variable removed.
15749 ($(objpfx)check-execstack.h): Target removed.
15750 ($(objpfx)execstack-default): New target.
15751 (generated): Add that instead of check-execstack.h.
15752 ($(all-built-dso:=.phdr)): New static pattern rule.
15753 (generated): Add those targets.
15754 * elf/check-execstack.c: File removed.
15755
82a79e7d
RM
15756 * scripts/check-textrel.awk: New file.
15757 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15758 (check-textrel-CFLAGS): Variable removed.
15759 (all-built-dso): Use := to define.o
15760 ($(all-built-dso:=.dyn)): New static pattern rule.
15761 (generated): Add those targets.
15762 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15763 * config.make.in (READELF): New substituted variable.
15764 * elf/check-textrel.c: File removed.
15765
62fde54f 157662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15767
615605c9
JM
15768 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15769 allow.
15770 * conform/data/ctype.h-data [C99-based standards] (isblank):
15771 Expect function.
15772 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15773 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15775 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15776 Specify type. Require positive value.
15777 (EILSEQ): Likewise.
15778 (ERANGE): Likewise.
15779 [ISO || POSIX] (EILSEQ): Do not expect.
15780 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15781 Specify type. Require positive value.
15782 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15783 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15784 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15785 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15786 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15787 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15788 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15789 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15790 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15791 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15792 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15793 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15794 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15795 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15796 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15798 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15799 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15800 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15803 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15804 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15805 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15806 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15808 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15809 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15810 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15811 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15812 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15813 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15814 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15815 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15816 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15817 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15818 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15819 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15820 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15821 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15822 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15823 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15824 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15825 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15826 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15827 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15828 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15829 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15830 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15831 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15832 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15833 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15834 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15835 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15836 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15837 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15838 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15839 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15840 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15841 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15842 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15843 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15844 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15845 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15846 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15847 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15848 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15849 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15850 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15851 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15852 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15853 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15854 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15855 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15856 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15857 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15858 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15859 Require >= 2.
15860 (FLT_ROUNDS): Expect as macro, not constant.
15861 (FLT_MANT_DIG): Use macro-int-constant.
15862 (DBL_MANT_DIG): Likewise.
15863 (LDBL_MANT_DIG): Likewise.
15864 (FLT_DIG): Likewise.
15865 (DBL_DIG): Likewise.
15866 (LDBL_DIG): Likewise.
15867 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15868 (DBL_MIN_EXP): Likewise.
15869 (LDBL_MIN_EXP): Likewise.
15870 (FLT_MAX_EXP): Use macro-int-constant.
15871 (DBL_MAX_EXP): Likewise.
15872 (LDBL_MAX_EXP): Likewise.
15873 (FLT_MAX_10_EXP): Likewise.
15874 (DBL_MAX_10_EXP): Likewise.
15875 (LDBL_MAX_10_EXP): Likewise.
15876 (FLT_MAX): Use macro-constant.
15877 (DBL_MAX): Likewise.
15878 (LDBL_MAX): Likewise.
15879 (FLT_EPSILON): Use macro-constant. Give upper bound.
15880 (DBL_EPSILON): Likewise.
15881 (LDBL_EPSILON): Likewise.
15882 (FLT_MIN): Likewise.
15883 (DBL_MIN): Likewise.
15884 (LDBL_MIN): Likewise.
15885 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15886 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15887 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15888 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15889 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15890 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15891 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15892 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15893 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15894 [ISO11] (FLT_TRUE_MIN): Likewise.
15895 [ISO11] (LDBL_TRUE_MIN): Likewise.
15896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15897 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15898 (SCHAR_MIN): Use macro-int-constant. Specify type.
15899 (SCHAR_MAX): Likewise.
15900 (UCHAR_MAX): Likewise.
15901 (CHAR_MIN): Likewise.
15902 (CHAR_MAX): Likewise.
15903 (MB_LEN_MAX): Use macro-int-constant.
15904 (SHRT_MIN): Use macro-int-constant. Specify type.
15905 (SHRT_MAX): Likewise.
15906 (USHRT_MAX): Likewise.
15907 (INT_MAX): Likewise.
15908 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15909 bound negative.
15910 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15911 bound with "U".
15912 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15913 bound with "L".
15914 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15915 bound negative. Suffix upper bound with "L".
15916 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15917 bound with "UL".
15918 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15919 Specify type.
15920 [C99-based standards] (LLONG_MAX): Likewise.
15921 [C99-based standards] (ULLONG_MAX): Likewise.
15922 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15923 == 0.
15924 [ISO11] (max_align_t): Require type.
15925 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15926
c9140a62
JM
15927 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15928 from $CFLAGS, without defining away __attribute__ calls.
15929 (checknamespace): Use $CFLAGS_namespace.
15930
9af0bf29
JM
15931 * conform/conformtest.pl (@keywords): Only include C99 keywords
15932 for standards based on C99 or C11.
15933
343222a2
JM
15934 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15935 Disable tests.
15936 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15937 UNIX98]: Likewise.
15938
661f8cf0
JM
15939 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15940 usability of symbols in #if.
15941
ee74b9cb
JM
15942 * conform/conformtest.pl: If macro or constant types start
15943 "promoted:", expect the symbol to be of the following type
15944 promoted by the integer promotions.
62fde54f 15945
aafc49b3
JM
15946 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15947 in one place. Also handle "macro-constant".
15948
fefdf574
JM
15949 * conform/conformtest.pl: Only accept expected macro values with
15950 "==". Parse all "macro" lines in one place.
15951 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15952
f2d922fe
JM
15953 * conform/conformtest.pl: Handle braced types on "constant" lines
15954 instead of handling "typed-constant".
15955 * conform/data/signal.h-data: Use "constant" instead of
15956 "typed-constant".
15957
d22956c9
JM
15958 * conform/conformtest.pl: Handle "optional-" at start of lines in
15959 one place rather than duplicating several cases. Handle each
15960 format of "macro" line with initial "optional-".
15961
028e2e38
JM
15962 * conform/conformtest.pl: Only accept expected constant or
15963 optional-constant values with "==". Parse all "constant" lines in
15964 one place. Parse all "optional-constant" lines in one place.
15965 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15966 * conform/data/fmtmsg.h-data: Likewise.
15967 * conform/data/netinet/in.h-data: Likewise.
15968 * conform/data/tar.h-data: Likewise.
15969 * conform/data/limits.h-data: Use "==" form on "constant" and
15970 "optional-constant" lines.
15971
1b8f2850
JM
15972 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15973 Use -std=c99 for XOPEN2K.
15974 (@knownproblems): Remove.
15975 (newtoken): Don't check %isknown.
15976
a05a144b
JM
15977 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15978 Do not expect macro.
15979 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15980 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15991 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15992 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15995 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16009 [XPG3] (acosh): Likewise.
16010 [XPG3] (asinh): Likewise.
16011 [XPG3] (atanh): Likewise.
16012 [XPG3] (cbrt): Likewise.
16013 [XPG3] (expm1): Likewise.
16014 [XPG3] (ilogb): Likewise.
16015 [XPG3] (log1p): Likewise.
16016 [XPG3] (logb): Likewise.
16017 [XPG3] (nextafter): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16020 [XPG3] (remainder): Likewise.
16021 [XPG3] (rint): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16024 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16025 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16026 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16027 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16028 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16029 [UNIX98 || XOPEN2K] (scalb): Expect.
16030 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16031 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16032 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16033 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16034 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16035 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16036 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16037 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16038 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16039 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16040 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16041 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16042 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16043 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16044 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16045 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16046 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16047 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16048 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16049 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16050 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16051 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16052 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16054 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16055 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16056 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16057 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16058 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16059 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16060 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16061 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16062 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16063 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16064 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16065 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16066 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16067 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16068 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16069 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16070 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16071 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16072 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16075 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16076 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16077 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16078 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16079 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16080 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16081 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16082 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16083 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16084 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16085 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16086 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16087 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16088 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16089 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16090 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16091 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16092 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16093 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16094 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16095 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16096 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16097 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16098 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16099 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16100 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16101 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16102 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16103 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16104 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16105 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16106 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16107 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16108 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16109 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16110 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16111 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16112 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16113 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16115 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16116 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16117 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16118 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16119 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16120 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16121 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16122 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16123 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16124 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16125 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16126 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16127 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16128 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16129 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16130 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16131 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16132 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16133 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16134 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16135 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16136 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16137 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16138 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16139 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16140 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16141 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16142 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16143 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16144 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16145 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16146 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16147 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16148 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16149 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16150 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16151 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16152 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16153 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16154 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16155 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16156 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16157 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16158 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16159 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16160 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16161 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16162 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16163 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16164 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16165 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16166 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16167
73c5ebe3
JM
16168 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16169 _XOPEN_SOURCE_EXTENDED for XPG4.
16170
39c33b6c
JM
16171 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16172
62fde54f
JM
16173 * Makeconfig (localtime): Remove variable.
16174 (inst_localtime-file): Likewise.
16175
0741d64c
AS
161762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16177
16178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16179 Update.
16180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16181 Update.
16182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16183 Update.
16184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16185 Update.
16186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16187 Update.
16188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16189 Update.
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16191 Update.
16192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16193 Update.
16194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16195 Update.
16196
7cb029ee
JM
161972012-05-01 Joseph Myers <joseph@codesourcery.com>
16198
16199 [BZ #2550]
16200 [BZ #2570]
16201 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16202 comparisons to determine direction to adjust input.
16203 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16204 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16205 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16206 Likewise.
16207 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16208 Likewise.
16209 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16210 Likewise.
16211 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16212 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16213 Likewise.
16214 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16215 Likewise.
16216 * math/libm-test.inc (nexttoward_test): Add more tests.
16217
412bd966
AS
162182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16219
16220 [BZ #14040]
16221 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16222 in version GLIBC_2.1, not GLIBC_2.0.
16223 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16224 Likewise.
16225
9568c0c2
JM
162262012-04-30 Joseph Myers <joseph@codesourcery.com>
16227
adfbc8ac
JM
16228 [BZ #13942]
16229 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16230 (1 - x) * (1 + x).
16231 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16232 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16233 * math/libm-test.inc (acos_test): Add more tests.
16234 (asin_test): Likewise.
16235 * sysdeps/i386/fpu/libm-test-ulps: Update.
16236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16237
5ba3cc69
JM
16238 [BZ #14034]
16239 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16240 of square root.
16241 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16242 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16243 * math/libm-test.inc (acos_test_tonearest): New function.
16244 (acos_test_towardzero): Likewise.
16245 (acos_test_downward): Likewise.
16246 (acos_test_upward): Likewise.
16247 (asin_test_tonearest): Likewise.
16248 (asin_test_towardzero): Likewise.
16249 (asin_test_downward): Likewise.
16250 (asin_test_upward): Likewise.
16251 (main): Call the new functions.
16252 * sysdeps/i386/fpu/libm-test-ulps: Update.
16253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16254
9568c0c2
JM
16255 [BZ #13884]
16256 [BZ #13924]
16257 * math/e_exp10.c: Include <float.h>.
16258 (__ieee754_exp10): Handle underflow here rather than multiplying
16259 large negative argument by M_LN10.
16260 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16261 of __ieee754_expf.
16262 * math/e_exp10l.c: Include <float.h>.
16263 (__ieee754_exp10l): Handle underflow here rather than multiplying
16264 large negative argument by M_LN10l.
16265 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16266 spurious overflow exception on underflow.
16267
5ac3ea17
MP
162682012-04-29 Marek Polacek <polacek@redhat.com>
16269
16270 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16271 (__fortify_function): New macro.
16272 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16273 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16274 __extern_always_inline.
16275 * libio/bits/stdio2.h: Likewise.
16276 * libio/bits/stdio.h: Likewise.
16277 * string/string.h: Likewise.
16278 * string/bits/string3.h: Likewise.
16279 * include/stdio.h: Likewise.
16280 * stdlib/bits/stdlib.h: Likewise.
16281 * stdlib/stdlib.h: Likewise.
16282 * rt/bits/mqueue2.h: Likewise.
16283 * rt/mqueue.h: Likewise.
16284 * posix/bits/unistd.h: Likewise.
16285 * posix/unistd.h: Likewise.
16286 * io/bits/poll2.h: Likewise.
16287 * io/bits/fcntl2.h: Likewise.
16288 * io/fcntl.h: Likewise.
16289 * io/sys/poll.h: Likewise.
16290 * misc/bits/syslog.h: Likewise.
16291 * misc/bits/syslog-ldbl.h: Likewise.
16292 * misc/sys/syslog.h: Likewise.
16293 * socket/bits/socket2.h: Likewise.
16294 * socket/sys/socket.h: Likewise.
16295 * debug/tst-chk1.c: Likewise.
16296 * wcsmbs/bits/wchar2.h: Likewise.
16297 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16298 * wcsmbs/wchar.h: Likewise.
16299
ecf0ebfb
AJ
163002012-04-29 Andreas Jaeger <aj@suse.de>
16301
16302 * Makerules (tests): Remove enable-check-abi protection.
16303 (check-abi-warn): Remove.
16304 (check-abi-%): Remove check-abi-warn usage.
16305
16306 * configure.in: Remove check-abi configure option.
16307 * configure: Regenerated.
16308 * config.make.in (enable-check-abi): Remove.
16309
6d5c57fa
AS
163102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16311
24c5d07e 16312 [BZ #14033]
ded5180a
AS
16313 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16314 double functions to double *_finite functions.
16315
7e0d315d
AS
16316 [BZ #13941]
16317 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16318 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16319 LDBL_MIN_EXP.
16320 * stdio-common/Makefile (tests): Add tst-sprintf3.
16321 * stdio-common/tst-sprintf3.c: New file.
16322
6d5c57fa
AS
16323 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16324 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16325
0749ff8b
JM
163262012-04-28 Joseph Myers <joseph@codesourcery.com>
16327
16328 * conform/conformtest.pl: Remove duplicate typed-constant
16329 handling.
16330
8dbd5d7b
DM
163312012-04-28 David S. Miller <davem@davemloft.net>
16332
16333 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16334 (check-abi-%): Remove AWK script prerequisite and explicit
16335 abilist directory.
16336 (check-abi): Rewrite to just diff the symlist with the abilist.
16337 (config-tls, config-abi-config): Delete, no longer used.
16338 (update-abi-%): Remove AWK script and explicit abilist directory.
16339 (update-abi): Rewrite to simply compare and conditionally copy the
16340 symlist and the sysdep abilist file. Remove update-abi-config
16341 checks.
16342 * abilist/ld.abilist: Remove.
16343 * abilist/libBrokenLocale.abilist: Remove.
16344 * abilist/libanl.abilist: Remove.
16345 * abilist/libcrypt.abilist: Remove.
16346 * abilist/libdl.abilist: Remove.
16347 * abilist/librt.abilist: Remove.
16348 * abilist/libthread_db.abilist: Remove.
16349 * abilist/libutil.abilist: Remove.
16350 * scripts/extract-abilist.awk: Remove.
16351 * scripts/merge-abilist.awk: Remove.
16352 * sysdeps/generic/libcidn.abilist: New file.
16353 * sysdeps/generic/libnss_compat.abilist: New file.
16354 * sysdeps/generic/libnss_db.abilist: New file.
16355 * sysdeps/generic/libnss_dns.abilist: New file.
16356 * sysdeps/generic/libnss_files.abilist: New file.
16357 * sysdeps/generic/libnss_hesiod.abilist: New file.
16358 * sysdeps/generic/libnss_nis.abilist: New file.
16359 * sysdeps/generic/libnss_nisplus.abilist: New file.
16360 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16361 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16362 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16363 file.
16364 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16365 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16366 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16367 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16368 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16369 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16370 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16371 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16372 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16373 file.
16374 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16375 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16376 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16377 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16378 file.
16379 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16380 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16381 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16382 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16383 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16384 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16385 file.
16386 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16387 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16388 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16389 file.
16390 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16392 New file.
16393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16394 New file.
16395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16396 New file.
16397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16398 New file.
16399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16400 New file.
16401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16402 New file.
16403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16404 New file.
16405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16406 New file.
16407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16408 New file.
16409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16410 New file.
16411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16412 New file.
16413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16414 New file.
16415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16416 New file.
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16418 file.
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16420 New file.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16422 New file.
16423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16424 file.
16425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16426 New file.
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16428 New file.
16429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16430 file.
16431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16432 New file.
16433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16434 New file.
16435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16436 New file.
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16438 New file.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16440 New file.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16442 New file.
16443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16445 file.
16446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16447 New file.
16448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16449 file.
16450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16451 file.
16452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16453 file.
16454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16455 file.
16456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16457 file.
16458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16459 New file.
16460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16461 file.
16462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16463 file.
16464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16465 New file.
16466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16467 file.
16468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16470 file.
16471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16472 New file.
16473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16474 file.
16475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16476 file.
16477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16478 file.
16479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16480 file.
16481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16482 file.
16483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16484 New file.
16485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16486 file.
16487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16488 file.
16489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16490 New file.
16491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16492 file.
16493 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16494 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16495 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16496 file.
16497 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16498 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16499 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16500 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16501 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16502 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16503 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16504 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16505 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16506 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16509 file.
16510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16511 New file.
16512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16513 file.
16514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16515 file.
16516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16517 file.
16518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16519 file.
16520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16521 file.
16522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16523 New file.
16524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16525 New file.
16526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16527 file.
16528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16529 New file.
16530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16531 file.
16532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16534 file.
16535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16536 New file.
16537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16538 file.
16539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16540 file.
16541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16542 file.
16543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16544 file.
16545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16546 file.
16547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16548 New file.
16549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16550 New file.
16551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16552 file.
16553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16554 New file.
16555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16556 file.
16557
41d73a1b
JM
165582012-04-28 Joseph Myers <joseph@codesourcery.com>
16559
16560 * conform/conformtest.pl: Fix typo in handling typed-constant from
16561 allow-header.
16562
28aeeda4
JM
165632012-04-27 Joseph Myers <joseph@codesourcery.com>
16564
adae8f5e
JM
16565 * README: Cut down references to pre-2.6 Linux kernels and
16566 Linuxthreads. Update lists of configurations in libc and ports
16567 and sort alphabetically. Say "or newer" with Linux kernel version
16568 requirements.
16569
28aeeda4
JM
16570 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16571
a462cb63
RA
165722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16573
16574 [BZ #887]
16575 * math/libm-test.inc (logb_test_downward): New test to expose
16576 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16577 rounding mode.
16578
6ad3493e
JM
165792012-04-27 Joseph Myers <joseph@codesourcery.com>
16580
16581 [BZ #14027]
16582 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16583 to be done.
16584 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16585 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16586
2ce4f015
JM
165872012-04-26 Joseph Myers <joseph@codesourcery.com>
16588
5aeb141a
JM
16589 * sysdeps/unix/i386/brk.S: Remove file.
16590 * sysdeps/unix/i386/dl-brk.S: Likewise.
16591 * sysdeps/unix/i386/pipe.S: Likewise.
16592 * sysdeps/unix/i386/sigreturn.S: Likewise.
16593 * sysdeps/unix/i386/syscall.S: Likewise.
16594 * sysdeps/unix/i386/vfork.S: Likewise.
16595 * sysdeps/unix/i386/wait.S: Likewise.
16596
7143acae
JM
16597 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16598 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16599
2ce4f015
JM
16600 * configure.in (arm*-none*): Do not allow without
16601 --enable-hacker-mode.
16602 (netbsd*): Remove case setting base_os.
16603 (386bsd*): Likewise.
16604 (freebsd*): Likewise.
16605 (bsdi*): Likewise.
16606 (osf*): Likewise.
16607 (sunos*): Likewise.
16608 (ultrix*): Likewise.
16609 (newsos*): Likewise.
16610 (dynix*): Likewise.
16611 (*bsd*): Likewise.
16612 (sysv*): Likewise.
16613 (isc*): Likewise.
16614 (esix*): Likewise.
16615 (sco*): Likewise.
16616 (minix*): Likewise.
16617 (irix4*): Likewise.
16618 (irix6*): Likewise.
16619 (solaris[2-9]*): Likewise.
16620 (none): Likewise.
16621 * configure: Regenerated.
16622
0ac229c8
AZ
166232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16624
16625 [BZ #11521]
16626 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16627 overflow or cancellation in calculating denominator.
16628 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16629 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16630 down expression to avoid unexpected rounding in newer GCCs.
16631 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16632
33f244f4
DM
166332012-04-26 David S. Miller <davem@davemloft.net>
16634
16635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16636 long-double compat symbols.
16637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16650
cfa1f3e8
DM
166512012-04-25 David S. Miller <davem@davemloft.net>
16652
16653 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16654 HWCAP_* values only after the memory barriers have been defined.
16655 (atomic_full_barrier): Define.
16656 (atomic_read_barrier): Define.
16657 (atomic_write_barrier): Define.
16658
6e236b92
SP
166592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16660
16661 * shlib-versions: Add libgcc_s version information.
16662 * sysdeps/generic/libgcc_s.h: Remove.
16663 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16664 libgcc_s.h.
16665 * sysdeps/gnu/unwind-resume.c: Likewise.
16666 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16667
aab39a09
DM
166682012-04-25 David S. Miller <davem@davemloft.net>
16669
16670 * sysdeps/unix/sparc/brk.S: Delete.
16671 * sysdeps/unix/sparc/dl-brk.S: Delete.
16672 * sysdeps/unix/sparc/pipe.S: Delete.
16673 * sysdeps/unix/sparc/sysdep.S: Delete.
16674 * sysdeps/unix/sparc/sysdep.h: Delete.
16675 * sysdeps/unix/sparc/vfork.S: Delete.
16676 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16677 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16678 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16679 ret_ERRVAL, r0, r1, MOVE): Define.
16680 (JUMPTARGET): Remove.
16681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16682 sysdeps/unix/sparc/sysdep.h
16683 (ENTRY, END): Remove.
16684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16685
a3cc4f48
JM
166862012-04-25 Joseph Myers <joseph@codesourcery.com>
16687
2ed8cda2
JM
16688 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16689 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16690 -DIS_IN_build.
16691
35d76d59
JM
16692 * timezone/README: Update upstream location and email address for
16693 tzcode and tzdata.
16694 * timezone/zdump.c: Update from tzcode 2012b.
16695 * timezone/zic.c: Likewise.
16696
a3cc4f48
JM
16697 * configure.in (libc_cv_as_needed): Remove test.
16698 * configure: Regenerated.
16699 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16700 conditional definition.
16701 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16702 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16703 * config.make.in (have-as-needed): Remove variable.
16704
ceab42c3
SP
167052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16706 Paul Pluzhnikov <ppluzhnikov@google.com>
16707
16708 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16709 strings correctly.
16710
3ce2865f
CLT
167112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16712
16713 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16714 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16715 * sysdeps/sh/strlen.S: Likewise.
16716
f37e0d68
JM
167172012-04-24 Joseph Myers <joseph@codesourcery.com>
16718
ae186e9a
JM
16719 * sysdeps/unix/fork.S: Remove file.
16720 * sysdeps/unix/i386/fork.S: Likewise.
16721 * sysdeps/unix/sparc/fork.S: Likewise.
16722
b96914af
JM
16723 * sysdeps/unix/system.c: Remove file.
16724 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16725
f37e0d68
JM
16726 * sysdeps/unix/getegid.S: Remove file.
16727 * sysdeps/unix/geteuid.S: Likewise.
16728
87ef29ca
RM
167292012-04-24 Roland McGrath <roland@hack.frob.com>
16730
83bcd236
RM
16731 * scripts/check-localplt.awk: New file.
16732 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16733 of diff.
16734 * scripts/data/localplt-generic.data: Add a comment.
16735
87ef29ca
RM
16736 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16737 NODE when __dir_mkfile failed.
16738 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16739 Reported by Ludovic Courtès <ludo@gnu.org>.
16740
e5a6e567
AJ
167412012-04-24 Andreas Jaeger <aj@suse.de>
16742
16743 * Makerules (common-clean): Also remove gen-as-const-headers
16744 files.
16745
c1820385
JM
167462012-04-24 Joseph Myers <joseph@codesourcery.com>
16747
16748 * Makerules (native-compile): Do not change working directory for
16749 build. Use $(OUTPUT_OPTION) in command.
16750 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16751
94e02fc4
AZ
167522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16753
16754 [BZ #13886]
16755 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16756 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16757 * math/libm-test.inc (floor_test): Add more tests.
16758 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16759
3a533ca3
JM
167602012-04-24 Joseph Myers <joseph@codesourcery.com>
16761
940ab4b3
JM
16762 * sysdeps/unix/getdents.c: Remove file.
16763 * sysdeps/unix/sysv/getdents.c: Likewise.
16764 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16765
90e037bd
JM
16766 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16767 sysdeps/unix/mman/syscalls.list.
16768 (mmap): Likewise.
16769 (mprotect): Likewise.
16770 (msync): Likewise.
16771 (munmap): Likewise.
16772 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16773 * sysdeps/unix/mman/syscalls.list: Remove.
16774 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16775
3a533ca3
JM
16776 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16777 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16778 * configure: Regenerated.
16779 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16780 $(libgcc_s_suffix).
16781 * config.make.in (libgcc_s_suffix): Remove variable.
16782
1ad743de
JM
167832012-04-23 Joseph Myers <joseph@codesourcery.com>
16784
4ad451e2
JM
16785 * sysdeps/unix/sysv/gethostname.c: Move to ...
16786 * sysdeps/posix/gethostname.c: ... here.
16787
5e37ce39
JM
16788 * sysdeps/unix/execve.S: Remove file.
16789
1ad743de
JM
16790 * sysdeps/unix/_exit.S: Remove file.
16791
4e681b5b
AJ
167922012-04-23 Andreas Jaeger <aj@suse.de>
16793
16794 [BZ #13739]
16795 * manual/Makefile: Remove make dist support, there's no
16796 need for a stand-alone documentation tar ball.
16797 (TEXI2DVI): Define always, it's not in Makeconfig.
16798 (dist): Removed.
16799 (tar-it): Removed.
16800 (edition): Removed.
16801 (glibc-doc-$(edition).tar): Removed
16802 (%.Z): Removed.
16803 (%.gz): Removed.
16804 (%.uu): Removed.
16805 (ETAGS): Remove, it's in Makeconfig.
16806 (move-if-change): Remove, it's in Makeconfig.
16807
38686a03 168082012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16809
16810 [BZ #13970]
16811 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16812 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16813 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16814 (strtod_l, strtof_l, strtold_l): Remove __wur.
16815 It is not necessarily an error to ignore strtol's return value.
16816 One can reliably look at the stored endptr to decide whether
16817 the number had valid syntax.
16818
7c0616fa
AJ
168192012-04-21 Andreas Jaeger <aj@suse.de>
16820
803cb6b7 16821 [BZ #13739]
7c0616fa
AJ
16822 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16823
b0fe253f
JM
168242012-04-21 Joseph Myers <joseph@codesourcery.com>
16825
16826 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16827 * sysdeps/unix/sysv/Versions: Remove file.
16828
8280f22d
MT
168292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16830
16831 [BZ #13927]
16832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16833
75ce411f 168342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16835
16836 [BZ #7064]
16837 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16838 version from __vm86.
16839
097d59fa
JM
168402012-04-20 Joseph Myers <joseph@codesourcery.com>
16841
a90f3bcb
JM
16842 * sysdeps/unix/common/lxstat.c: Remove file.
16843 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16844
edc7ea78
JM
16845 * sysdeps/unix/sysv/Makefile: Remove file.
16846
cb78c221
JM
16847 * sysdeps/unix/sysv/direct.h: Remove file.
16848
efa6a45f
JM
16849 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16850 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16851 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16852 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16853 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16854 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16855 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16856
9c9f2d0c
JM
16857 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16858
4541c83b
JM
16859 * sysdeps/unix/xmknod.c: Remove file.
16860 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16861
f5d153a0
JM
16862 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16863
aa746595
JM
16864 * sysdeps/unix/sysv/i386/time.S: Remove file.
16865
cce5905e
JM
16866 * sysdeps/unix/fxstat.c: Remove file.
16867 * sysdeps/unix/xstat.c: Likewise.
16868 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16869
37fa3841
JM
16870 * sysdeps/unix/sysv/sigaction.c: Remove file.
16871
ff1962a3
JM
16872 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16873 (sysdep_headers): Remove variable.
16874 [termio.h not in sysdep_headers] (generated): Likewise.
16875 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16876 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16877 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16878 * sysdeps/unix/sysv/tcflow.c: Likewise.
16879 * sysdeps/unix/sysv/tcflush.c: Likewise.
16880 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16881 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16882 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16883 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16884 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16885
e7740d31
JM
16886 * sysdeps/unix/siglist.c: Remove file.
16887
ee06f18b
JM
16888 * sysdeps/unix/getppid.S: Remove file.
16889
097d59fa
JM
16890 * sysdeps/unix/mkdir.c: Remove file.
16891 * sysdeps/unix/rmdir.c: Likewise.
16892
ff3d51ec
AS
168932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16894
16895 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16896 ERR_MAX value.
16897 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16898 errlist-compat value.
16899
50f81fd7
DM
169002012-04-18 David S. Miller <davem@davemloft.net>
16901
16902 * sysdeps/generic/memcopy.h (reg_char): Delete.
16903 * debug/strcat_chk.c: Use char, not reg_char.
16904 * debug/strcpy_chk.c: Likewise.
16905 * debug/strncat_chk.c: Likewise.
16906 * debug/strncpy_chk.c: Likewise.
16907 * string/memchr.c: Likewise.
16908 * string/memrchr.c: Likewise.
16909 * string/rawmemchr.c: Likewise.
16910 * string/strcat.c: Likewise.
16911 * string/strchr.c: Likewise.
16912 * string/strchrnul.c: Likewise.
16913 * string/strcmp.c: Likewise.
16914 * string/strcpy.c: Likewise.
16915 * string/strncat.c: Likewise.
16916 * string/strncmp.c: Likewise.
16917 * string/strncpy.c: Likewise.
16918
8ff41c46
WS
169192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16920
16921 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16922 __builtin_memcopy is called when src and dest ranges are known to not
16923 overlap.
16924
6b652f46
WS
169252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16926
16927 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16928 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16929 fwd_align_merge macro call.
16930 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16931 bwd_align_merge macro call.
16932 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16933
b282631e
WS
169342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16935
16936 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16937 bwd_align_merge macros.
16938 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16939 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16940 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16941
95aa737c
DM
169422012-04-18 David S. Miller <davem@davemloft.net>
16943
16944 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16945
7a99a614
AJ
169462012-04-18 Andreas Jaeger <aj@suse.de>
16947
16948 [BZ# 6794]
16949 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16950 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16951 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16952
16953 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16954 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16955 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16956
16957 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16958 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16959 Adjust for changed ldbl-128 files.
16960
16961 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16962 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16963 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16964
e5270c23
DM
169652012-04-17 David S. Miller <davem@davemloft.net>
16966
16967 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16968
fb5e92c9
AS
169692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16970
16971 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16972 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16973 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16974 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16975 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16976 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16977
76da7265
AZ
169782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16979
16980 [BZ #6794]
16981 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16982 * math/libm-test.inc: Add ilogb errno and exception tests.
16983 * math/w_ilogb.c: New file: ilogb wrapper.
16984 * math/w_ilogbf.c: New file: ilogbf wrapper.
16985 * math/w_ilogbl.c: New file: ilogbl wrapper.
16986 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16987 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16988 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16989 exception being thrown with 0.0 as argument.
16990 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16991 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16992 exception being thrown with 0.0 as argument.
16993 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16994 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16995 exception being thrown with 0.0 as argument.
16996 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16997 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16998 exception being thrown with 0.0 as argument.
16999 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17000 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17001 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17002 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17003 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17004 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17005 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17006 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17007 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17008
0396e69d
PB
170092012-04-17 Petr Baudis <pasky@ucw.cz>
17010
17011 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17012 with altivec.
17013
750b5926
MP
170142012-04-16 Marek Polacek <polacek@redhat.com>
17015
17016 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17017
751728a1
MP
170182012-04-16 Marek Polacek <polacek@redhat.com>
17019
17020 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17021 operands of fdivp instruction.
17022
34a27407
L
170232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17024
17025 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17026 * elf/tst-auditmod3b.c: Likewise.
17027 * elf/tst-auditmod4b.c: Likewise.
17028 * elf/tst-auditmod5b.c: Likewise.
17029 * elf/tst-auditmod6b.c: Likewise.
17030 * elf/tst-auditmod6c.c: Likewise.
17031 * elf/tst-auditmod7b.c: Likewise.
17032 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17033 * sysdeps/x86_64/preconfigure.in: Likewise.
17034 * sysdeps/x86_64/preconfigure: Regenerated.
17035
7e73e17d
L
170362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17037
17038 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17039 __ILP32__.
17040
c7a6ab72
AB
170412012-04-13 Antoine Balestrat <merkil33@gmail.com>
17042
17043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17044 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17045
a9e8e0e0
CL
170462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17047
17048 [BZ #13973]
17049 * locale/iso-639.def: Fix gl language name. Spotted by
17050 Yaron Shahrabani.
17051
ec98af7d
RM
170522012-04-12 Roland McGrath <roland@hack.frob.com>
17053
17054 [BZ #2074]
17055 * libio/libio.h (__io_write_fn): Update comment.
17056
247c3ede
PB
170572012-04-12 Petr Baudis <pasky@ucw.cz>
17058
17059 [BZ #2074]
17060 * stdio.texi (Hook Functions): The user provided writer function
17061 is not allowed to return -1.
17062
55939d6d
DM
170632012-04-11 David S. Miller <davem@davemloft.net>
17064
17065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17066
90020f5a
MF
170672012-04-11 Mike Frysinger <vapier@gentoo.org>
17068
17069 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17070 Add a leading slash to rtkaio.
17071
288f9098
JM
170722012-04-11 Jim Meyering <meyering@redhat.com>
17073
90020f5a
MF
17074 [BZ #11959]
17075 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17076 It is not necessarily an error to ignore fwrite's return
17077 value. One can reliably use ferror to test for errors after
17078 the fact.
288f9098 17079
4be2b570
L
170802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17081
17082 * bits/types.h (__snseconds_t): New type.
17083 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17084
17085 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17086 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17087 (__SNSECONDS_T_TYPE): Likewise.
17088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17089 (__SNSECONDS_T_TYPE): Likewise.
17090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17091 (__SNSECONDS_T_TYPE): Likewise.
17092
288f9098 170932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17094
17095 [BZ #2636]
17096 * manual/time.texi (Processor Time): Return type of times is
17097 elapsed real time since an arbitrary point in the past.
17098 (CPU Time): Move CLK_TCK from here...
17099 (Processor Time): ...to here. Correct description.
17100 * manual/conf.texi (Constants for Sysconf): Correct description of
17101 _SC_CLK_TCK.
17102
d7dd4413
DM
171032012-04-10 David S. Miller <davem@davemloft.net>
17104
17105 [BZ #13967]
17106 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17107 where the is a gap between DT_REL(A) and DT_JMPREL.
17108
b46068fc
L
171092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17110
17111 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17112 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17113 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17114
73d65cc3
SP
171152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17116
17117 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17118 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17119 (dl_main): Handle --inhibit-cache.
17120 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17121 _dl_inhibit_cache.
17122 * elf/dl-load.c (_dl_map_object): Use it.
17123 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17124
bcc8d661
JM
171252012-04-09 Joseph Myers <joseph@codesourcery.com>
17126
8f9a2fae
JM
17127 [BZ #13872]
17128 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17129 (__ieee754_powl): Saturate large exponents rather than testing for
17130 overflow of y*log2(x).
17131 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17132 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17133 exceptions.
17134
bcc8d661
JM
17135 [BZ #11521]
17136 * math/s_ctan.c: Include <float.h>.
17137 (__ctan): Avoid internal overflow or cancellation in calculating
17138 denominator.
17139 * math/s_ctanf.c: Likewise.
17140 * math/s_ctanl.c: Likewise.
17141 * math/s_ctanh.c: Likewise.
17142 * math/s_ctanhf.c: Likewise.
17143 * math/s_ctanhl.c: Likewise.
17144 * math/libm-test.inc (ctan_test): Add more tests.
17145 (ctanh_test): Likewise.
17146 * sysdeps/i386/fpu/libm-test-ulps: Update.
17147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17148
823fbbb4
AJ
171492012-04-09 Andreas Jaeger <aj@suse.de>
17150
03879793
AJ
17151 [BZ #6894]
17152 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17153 is an optional BSD extension.
17154
823fbbb4
AJ
17155 [BZ #10254]
17156 * manual/stdio.texi (Opening Streams): Document additional fopen
17157 parameters.
17158
8de131cb
RM
171592012-04-09 Roland McGrath <roland@hack.frob.com>
17160
17161 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17162 %eax without telling the compiler.
17163
c0ed9d7d
CD
171642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17165
17166 [BZ # 13963]
17167 * manual/install.texi: Use sourceware.org.
17168
c483f6b4
JM
171692012-04-09 Joseph Myers <joseph@codesourcery.com>
17170
d7dd9453
JM
17171 [BZ #13873]
17172 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17173 (__ieee754_pow): Generate overflow and underflow using huge*huge
17174 and tiny*tiny rather than just returning constant infinity or zero
17175 for large exponents.
17176 * math/libm-test.inc (pow_test): Require overflow exceptions for
17177 applicable cases of large exponents.
17178
c483f6b4
JM
17179 [BZ #706]
17180 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17181 (__ieee754_pow): Use iterative multiplication algorithm only for
17182 integer exponents with absolute value below 1024. Check for odd
17183 integer exponents when using algorithm for real exponents.
17184 * math/libm-test.inc (pow_test): Add more tests.
17185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17186
d2de7579
JM
171872012-04-08 Joseph Myers <joseph@codesourcery.com>
17188
17189 [BZ #13705]
17190 * math/libm-test.inc (exp_test): Do not allow overflow exception
17191 on underflow test.
17192
f77f1232
AJ
171932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17194
17195 [BZ #13705]
17196 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17197 instead of __kernel_standard_f.
17198
3884932b
MF
171992012-04-08 Mike Frysinger <vapier@gentoo.org>
17200
17201 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17202 * sysdeps/x86_64/memset_chk.S: Likewise.
17203
54472e9c
AJ
172042012-04-08 Andreas Jaeger <aj@suse.de>
17205
6ab0fbfc
AJ
17206 [BZ #10153]
17207 * manual/startup.texi (Environment Access): Describe return value
17208 for putenv and setenv.
17209
61efba8c
AJ
17210 [BZ #6895]
17211 * manual/filesys.texi (Directory Entries): Add description for
17212 DT_LNK.
17213
95c3f29a
AJ
17214 [BZ #6890]
17215 * manual/filesys.texi (Directory Entries): Clarify that it's file
17216 system not operating system in the description of DT_UNKNOWN.
17217
54472e9c
AJ
17218 [BZ #6578]
17219 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17220
624254b1
SC
172212012-04-08 Stephen Compall <s11@member.fsf.org>
17222
17223 [BZ #6649]
17224 * manual/llio.texi (Opening and Closing Files): Add cross
17225 reference to explain mode argument.
17226
1e4920e0
MF
172272012-04-07 Mike Frysinger <vapier@gentoo.org>
17228
17229 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17230 * sysdeps/x86_64/memset_chk.S: Likewise.
17231
5ed848f3
DM
172322012-04-07 David S. Miller <davem@davemloft.net>
17233
17234 * elf/elf.h (R_SPARC_WDISP10): Define.
17235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17236 R_SPARC_SIZE32.
17237 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17238 R_SPARC_SIZE64 and R_SPARC_H34.
17239
96154cd8
CD
172402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17241
17242 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17243 conditions and remove no longer applicable assertion.
17244
9904dc47
L
172452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17246
17247 * bits/byteswap.h: Include <features.h>.
17248 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17249 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17250
f8887d0a
L
172512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17252
17253 * bits/byteswap.h (__bswap_16): Removed.
17254 Include <bits/byteswap-16.h> to get __bswap_16.
17255 * sysdeps/i386/bits/byteswap.h: Likewise.
17256 * sysdeps/s390/bits/byteswap.h: Likewise.
17257 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17258 * bits/byteswap-16.h: New file.
17259 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17260 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17261 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17262 * string/Makefile (headers): Add bits/byteswap-16.h.
17263
62470f60
PP
172642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17265
17266 [BZ #13895]
17267 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17268 extra indirection.
17269 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17270 * nss/tst-nss-static.c: New.
17271
4dad7bab
RM
172722012-04-06 Robert Millan <rmh@gnu.org>
17273
17274 [BZ #6486]
17275 * manual/llio.texi (File Position Primitive): lseek
17276 refers to WHENCE when it really means OFFSET.
17277
e9142a17
AJ
172782012-04-06 Andreas Jaeger <aj@suse.de>
17279
2c040eff
AJ
17280 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17281 strncmp declarations.
17282
e9142a17
AJ
17283 * abilist/libc.abilist: Add __poll and __ppoll.
17284
ff9f1c5f
DM
172852012-04-05 David S. Miller <davem@davemloft.net>
17286
dcd2ae90
DM
17287 * scripts/check-local-headers.sh: Accept a host triplet in the
17288 path matched by the exclude regexp.
17289
993eb054
DM
17290 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17291 definition.
17292 * sysdeps/powerpc/powerpc32/dl-machine.h
17293 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17294 * sysdeps/s390/s390-32/dl-machine.h
17295 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17296 * sysdeps/sparc/sparc32/dl-machine.h
17297 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17298 * sysdeps/sparc/sparc64/dl-machine.h
17299 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17300
ff9f1c5f
DM
17301 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17302 lazy binding.
48e2e132 17303 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17304 undefined symbol errors.
17305
48e2e132 17306 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17307 DT_NEEDED entries.
17308
e80d6f94
MM
173092012-04-05 Michael Matz <matz@suse.de>
17310
17311 [BZ #13592]
17312 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17313
349fa79f
AJ
173142012-04-05 Andreas Jaeger <aj@suse.de>
17315
17316 [BZ #13908]
17317 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17318 comment.
17319
f402708f
KK
173202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17321
17322 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17323 which ROUND is no valid rounding mode.
17324
2ecccfc9
KK
173252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17326
17327 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17328 read again.
17329 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17330
8a53f50f
KK
173312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17332
17333 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17334 an exception using FPU order intentionally.
17335
173362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17337
17338 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17339 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17340 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17341 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17342
d653abb7
SJ
173432012-04-05 Simon Josefsson <simon@josefsson.org>
17344
17345 [BZ #12340]
17346 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17347 EINVAL when BUFLEN is too smal.
17348
c3b1bf7d
TS
173492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17350
17351 [BZ #13553]
17352 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17353 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17354
b1aa60f3
AJ
173552012-04-03 Andreas Jaeger <aj@suse.de>
17356
c3b1bf7d 17357 [BZ #13938]
67f60a26
AJ
17358 * manual/setjmp.texi (System V contexts): Fix sentence.
17359
b1aa60f3
AJ
17360 [BZ #13926]
17361 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17362 New macro for this case.
17363 [!__GNUC__] (__bswap_64): New inline function for this case.
17364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17365 * bits/byteswap.h: Likewise.
17366 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17367 ull, guard with __GLIBC_HAVE_LONG_LONG.
17368
17369 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17370 __GLIBC_HAVE_LONG_LONG.
17371
17372 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17373 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17374
39c59c35
TMQMF
173752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17376
17377 [BZ #13691]
17378 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17379 inptr and inend, rather than using last_ch.
17380
135ffda8
DM
173812012-04-02 David S. Miller <davem@davemloft.net>
17382
17383 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17384 * stdio-common/printf-parse.h (read_int): Change return type to
17385 'int', return -1 on INT_MAX overflow.
17386 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17387 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17388 overflows INT_MAX. Check for overflow of in-format-string precision
17389 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17390 SIZE_MAX not INT_MAX for integer overflow test.
17391 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17392 skip the construct in the format string but do not record anything.
17393 * stdio-common/bug22.c: Adjust to test both width/prevision
17394 INT_MAX overflow as well as total length INT_MAX overflow. Check
17395 explicitly for proper errno values.
17396
228c019e
TS
173972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17398
302cadd3
TS
17399 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17400 CHAR_MAX.
17401 * string/test-strcmp.c [! WIDE]: Likewise.
17402 * time/tst-mktime2.c: Likewise for INT_MAX.
17403 * string/test-string.h: #include <sys/param.h> for MIN.
17404
228c019e
TS
17405 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17406 * sysdeps/i386/init-first.c (init): Likewise.
17407 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17408 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17409 * sysdeps/sh/init-first.c (init): Likewise.
17410
cfa633f5
UD
174112012-04-01 Ulrich Drepper <drepper@gmail.com>
17412
17413 * po/ru.po: Update from translation team.
d1635ef8 17414 * po/vi.po: Likewise.
cfa633f5 17415
6cd0a5ea
SP
174162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17417
17418 * resolv/nss_dns/dns-host.c: Merge copyright years.
17419
4b43400f
LD
174202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17421
17422 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17423 Optimize memcpy with prefetch if
17424 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17425 src, dst pointers have unequal 16 byte alignments.
17426
48c41d04
SP
174272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17428
17429 [BZ #13928]
17430 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17431 from a CNAME entry and return the minimum ttl for the query.
17432 (gaih_getanswer_slice): Likewise.
17433
b8dc394d
JL
174342012-03-30 Jeff Law <law@redhat.com>
17435
17436 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17437 due to long keys.
17438 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17439 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17440
2f5a5ed0
JL
17441 * resolv/nss_dns/dns-host.c: Update copyright year.
17442
1d39e359
UD
174432012-03-30 Ulrich Drepper <drepper@gmail.com>
17444
c030f70c 17445 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17446 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17447
1d39e359
UD
17448 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17449 comments for sendmmsg.
17450
174512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17452
17453 [BZ #13691]
17454 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17455 with only 1 character between 0x0041 and 0x01b0.
17456 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17457 * wcsmbs/tst-mbsnrtowcs.c: New file.
17458
20fde227
DM
174592012-03-29 David S. Miller <davem@davemloft.net>
17460
17461 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17462 small copies by hand.
17463
984a4237
JL
174642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17465
17466 [BZ #13761]
17467 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17468 _nss_compat_initgroups_dyn): Fall back to malloc/free
17469 for large group memberships.
17470
18c9d62b
DM
174712012-03-28 David S. Miller <davem@davemloft.net>
17472
88d85d4f
DM
17473 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17474 that branches into memcpy.
17475 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17476 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17478 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17479 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17480 bits.
17481 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17482 implementation too.
17483 * sysdeps/sparc/mempcpy.S: New file.
17484
e5aa83e1
DM
17485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17486 the IFUNC routine in the libc case.
17487 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17488
88570753
DM
17489 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17490 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17491 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17492 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17493 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17494 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17495 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17496 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17497
249d7567
DM
17498 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17499 loop to 256 bytes instead of 64 bytes and fix test signedness.
17500
18c9d62b
DM
17501 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17502 * sysdeps/sparc/sparc32/Makefile: rather than here...
17503 * sysdeps/sparc/sparc64/Makefile: and here.
17504
05f3d1f6
UD
175052012-03-28 Ulrich Drepper <drepper@gmail.com>
17506
17507 * malloc/mallocbug.c: Avoid warnings about unused variables.
17508
86ae07a8
JL
175092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17510
17511 [BZ #13760]
17512 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17513 in the right place. Discard and retry query if response is
17514 larger than input buffer size.
17515
41bf21a1
JM
175162012-03-28 Joseph Myers <joseph@codesourcery.com>
17517
d6270972
JM
17518 [BZ #369]
17519 [BZ #2678]
17520 [BZ #3866]
17521 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17522 x for large integer exponent.
17523 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17524 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17525 sign of result as needed afterwards.
17526 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17527 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17528 result for underflowing pow the same as for overflow.
17529 (__kernel_standard_l): Handle powl overflow and underflow here
17530 rather than calling __kernel_standard.
17531 * math/libm-test.inc (pow_test): Add more tests.
17532
414fca03 17533 [BZ #3868]
41bf21a1
JM
17534 [BZ #13879]
17535 [BZ #13910]
17536 [BZ #13911]
17537 [BZ #13912]
17538 [BZ #13913]
17539 [BZ #13915]
17540 [BZ #13916]
17541 [BZ #13917]
17542 [BZ #13918]
17543 [BZ #13919]
17544 [BZ #13920]
17545 [BZ #13921]
17546 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17547 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17548 (__kernel_standard_l): New function.
17549 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17550 __kernel_standard.
17551 * math/w_acosl.c (__acosl): Likewise.
17552 * math/w_asinl.c (__asinl): Likewise.
17553 * math/w_atan2l.c (__atan2l): Likewise.
17554 * math/w_atanhl.c (__atanhl): Likewise.
17555 * math/w_coshl.c (__coshl): Likewise.
17556 * math/w_exp10l.c (__exp10l): Likewise.
17557 * math/w_exp2l.c (__exp2l): Likewise.
17558 * math/w_fmodl.c (__fmodl): Likewise.
17559 * math/w_hypotl.c (__hypotl): Likewise.
17560 * math/w_j0l.c (__j0l, __y0l): Likewise.
17561 * math/w_j1l.c (__j1l, __y1l): Likewise.
17562 * math/w_jnl.c (__jnl, __ynl): Likewise.
17563 * math/w_lgammal.c (__lgammal): Likewise.
17564 * math/w_log10l.c (__log10l): Likewise.
17565 * math/w_log2l.c (__log2l): Likewise.
17566 * math/w_logl.c (__logl): Likewise.
17567 * math/w_powl.c (__powl): Likewise.
17568 * math/w_remainderl.c (__remainderl): Likewise.
17569 * math/w_scalbl.c (sysv_scalbl): Likewise.
17570 * math/w_sinhl.c (__sinhl): Likewise.
17571 * math/w_sqrtl.c (__sqrtl): Likewise.
17572 * math/w_tgammal.c (__tgammal): Likewise.
17573 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17574 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17575 * math/libm-test.inc (acos_test): Add more tests.
17576 (acosh_test): Likewise.
17577 (asin_test): Likewise.
17578 (atanh_test): Likewise.
17579 (exp_test): Likewise.
17580 (exp10_test): Likewise.
17581 (exp2_test): Likewise.
17582 (expm1_test): Likewise.
17583 (lgamma_test): Likewise.
17584 (log_test): Likewise.
17585 (log10_test): Likewise.
17586 (log1p_test): Likewise.
17587 (log2_test): Likewise.
17588 (pow_test): Do not allow some spurious overflow exceptions.
17589 (sqrt_test): Add more tests.
17590 (tgamma_test): Likewise.
17591 (y0_test): Likewise.
17592 (y1_test): Likewise.
17593 (yn_test): Likewise.
17594
dd62fda6
AB
175952012-03-27 Anton Blanchard <anton@samba.org>
17596
17597 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17598 MAP_HUGETLB.
17599 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17600 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17601 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17602
1e3cdfda
AJ
176032012-03-27 David S. Miller <davem@davemloft.net>
17604
b855ab85
DM
17605 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17606
1e3cdfda
AJ
17607 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17608 have-as-vis3 check.
17609
176102012-03-27 Andreas Jaeger <aj@suse.de>
17611
17612 * sysdeps/x86_64/elf/configure.in: Moved to ...
17613 * sysdeps/x86_64/configure.in: ... here.
17614 * sysdeps/x86_64/elf/start.S: Moved to ...
17615 * sysdeps/x86_64/start.S: ... here.
17616 * sysdeps/x86_64/elf/configure: Delete.
17617
17618 * sysdeps/x86_64/configure.in: Merge contents from
17619 sysdeps/i386/configure.in (without i686 check).
17620
17621 * sysdeps/i386/elf/Versions: Merge into ...
17622 * sysdeps/i386/Versions: ... this.
17623 * sysdeps/i386/elf/Versions: Delete file.
17624 * sysdeps/i386/elf/start.S: Moved to ...
17625 * sysdeps/i386/start.S: ...here.
17626 * sysdeps/i386/elf/configure.in: Merge into...
17627 * sysdeps/i386/configure.in: ...here.
17628 * sysdeps/i386/elf/configure.in: Delete file.
17629 * sysdeps/i386/elf/configure: Delete file.
17630
17631 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17632 * debug/backtracesyms.c: ... here.
17633 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17634 * debug/backtracesymsfd.c: ... here.
17635 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17636 * sysdeps/generic/ifunc-sel.h: ... here.
17637
17638 * sysdeps/unix/i386/start.c: Delete file.
17639 * sysdeps/unix/sparc/start.c: Delete file.
17640 * sysdeps/unix/start.c: Delete file.
17641
17642 * sysdeps/sh/elf/configure.in: Moved to ...
17643 * sysdeps/sh/configure.in: ... here.
17644 * sysdeps/sh/elf/start.S: Moved to ...
17645 * sysdeps/sh/start.S: ... here.
17646 * sysdeps/sh/elf/configure: Delete file.
17647
17648 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17649 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17650 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17651 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17652 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17653 * sysdeps/powerpc/powerpc64/start.S: here.
17654 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17655 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17656 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17657 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17658 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17659
17660 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17661 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17662 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17663 * sysdeps/powerpc/powerpc32/start.S: ... here.
17664 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17665 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17666 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17667
17668 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17669 * sysdeps/powerpc/ifunc-sel.h: ... here.
17670 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17671 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17672
17673 * sysdeps/sparc/elf/configure.in: Moved to ...
17674 * sysdeps/sparc/configure.in: ... here.
17675 * sysdeps/sparc/elf/configure: Delete file.
17676 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17677 * sysdeps/sparc/sparc32/start.S: ... here.
17678 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17679 * sysdeps/sparc/sparc64/start.S: ... here.
17680 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17681 * sysdeps/sparc/sparc32/Makefile: ... this.
17682 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17683 * sysdeps/sparc/sparc64/Makefile: ... this.
17684
17685 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17686 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17687 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17688 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17689 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17690 * sysdeps/s390/s390-32/setjmp.S: ... here.
17691 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17692 * sysdeps/s390/s390-32/configure.in: ... here.
17693 * sysdeps/s390/s390-32/elf/configure: Delete file.
17694 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17695 * sysdeps/s390/s390-32/start.S: ... here.
17696
17697 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17698 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17699 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17700 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17701 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17702 * sysdeps/s390/s390-64/setjmp.S: ... here.
17703 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17704 * sysdeps/s390/s390-64/configure.in: ... here
17705 * sysdeps/s390/s390-64/elf/configure: Delete file.
17706 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17707 * sysdeps/s390/s390-64/start.S: ... here.
17708 * sysdeps/s390/s390-64/elf/configure: Delete.
17709
17710 * configure.in: Remove support for elf directories in sysdeps.
17711
17712 * configure: Regenerated.
17713 * sysdeps/i386/configure: Regenerated.
17714 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17715 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17716 * sysdeps/s390/s390-32/configure: Regenerated.
17717 * sysdeps/s390/s390-64/configure: Regenerated.
17718 * sysdeps/sh/configure: Regenerated.
17719 * sysdeps/sparc/configure: Regenerated.
17720 * sysdeps/x86_64/configure: Regenerated.
17721
a3f61311
AS
177222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17723
c876e002
AS
17724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17725
a3f61311
AS
17726 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17727 denormal result into account.
17728
ac4c54f0
RM
177292012-03-25 Roland McGrath <roland@hack.frob.com>
17730
17731 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17732 Reported by Allan McRae <allan@archlinux.org>.
17733
6a9b9c02
JL
177342012-03-23 Jeff Law <law@redhat.com>
17735
17736 * nss/getnssent.c (__nss_getent): Fix typo.
17737
4c42a0c1
DM
177382012-03-23 David S. Miller <davem@davemloft.net>
17739
17740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17741
1532c7ac
L
177422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17743
17744 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17745 to pad to uint64_t for each field.
17746 (dl_tls_index): Replace unsigned long with uint64_t.
17747
3ff42526
PP
177482012-03-23 Daniel Jacobowitz <dmj@google.com>
17749 Paul Pluzhnikov <ppluzhnikov@google.com>
17750
17751 [BZ #6528]
17752 * grp/Makefile (otherlibs): Don't set it.
17753 * inet/Makefile (otherlibs): Likewise.
17754 * login/Makefile (otherlibs): Likewise.
17755 * nscd/Makefile (otherlibs): Likewise.
17756 * posix/Makefile (otherlibs): Likewise.
17757 * pwd/Makefile (otherlibs): Likewise.
17758 * rt/Makefile (otherlibs): Likewise.
17759 * sunrpc/Makefile (otherlibs): Likewise.
17760 * nss/Makefile (otherlibs): Likewise.
17761 Add libnss_files to routines and static-only-routines.
17762 ($(objpfx)getent): Remove rule.
17763 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17764 static-only-routines.
17765
7c69cd14
JM
177662012-03-22 Joseph Myers <joseph@codesourcery.com>
17767
17768 [BZ #13892]
17769 * math/s_cexp.c: Include <float.h>.
17770 (__cexp): Handle exp result overflowing not necessarily
17771 overflowing both real and imaginary parts of result.
17772 * math/s_cexpf.c: Likewise.
17773 * math/s_cexpl.c: Likewise.
17774 * math/libm-test.inc (cexp_test): Add more tests.
17775 * sysdeps/i386/fpu/libm-test-ulps: Update.
17776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17777
81b035fe
L
177782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17779
17780 * include/link.h (ELFW): New macro.
17781 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17782 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17783
1da7940c
L
177842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17785
17786 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17787 with uint64_t.
17788
b749dbb9
L
177892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17790
17791 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17792 declaration.
17793 (struct La_x32_retval): Likewise.
17794
2ff87f3f
L
177952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17796
17797 * sysdeps/x86_64/preconfigure.in: New file.
17798 * sysdeps/x86_64/preconfigure: New generated file.
17799
c0df8e69
JM
178002012-03-22 Joseph Myers <joseph@codesourcery.com>
17801
48e44791
JM
17802 [BZ #13824]
17803 * math/e_exp2l.c: Include <float.h>.
17804 (__ieee754_exp2l): Handle overflow and underflow cases
17805 separately. Only pass fractional part of argument to
17806 __ieee754_expl.
17807 * math/libm-test.inc (exp2_test): Add more tests.
17808
c0df8e69
JM
17809 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17810 negating x to take absolute value.
17811 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17812 Likewise.
17813 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17814 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17815 Likewise.
17816 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17817 computing low part if x was negated.
17818 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17819
c8e43ba7
L
178202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17821
17822 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17823 la_x32_gnu_pltexit.
17824 (pltexit): Cast int_retval to ptrdiff_t.
17825 * elf/tst-auditmod3b.c: Likewise.
17826 * elf/tst-auditmod4b.c: Likewise.
17827 * elf/tst-auditmod5b.c: Likewise.
17828 * elf/tst-auditmod6b.c: Likewise.
17829 * elf/tst-auditmod6c.c: Likewise.
17830 * elf/tst-auditmod7b.c: Likewise.
17831
17832 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17833 and x32_gnu_pltexit.
17834
17835 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17836 __ELF_NATIVE_CLASS.
17837 (La_x32_regs): New macro.
17838 (La_x32_retval): Likewise.
17839 (la_x32_gnu_pltenter): New function prototype.
17840 (la_x32_gnu_pltexit): Likewise.
17841
7998fa78
AS
178422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17843
dcb33988
AS
17844 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17845 exponent.
17846
233fc563
AS
17847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17848
7998fa78
AS
17849 * configure.in (libc_cv_cc_nofma): Check for option to disable
17850 generation of FMA instructions.
17851 * configure: Regenerate.
17852 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17853 * sysdeps/ieee754/dbl-64/Makefile: New file.
17854 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17855 Remove brandred-fma4.
17856 (CFLAGS-brandred-fma4.c): Remove.
17857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17859 define.
17860 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17861 define.
17862
8e95c99a
L
178632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17864
17865 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17866 LLONG_MAX != LONG_MAX.
17867 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17868 (_fitoa_word): Likewise.
17869 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17870 LLONG_MAX != LONG_MAX.
17871 * stdio-common/_itowa.h: Include <_itoa.h>.
17872 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17873 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17874 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17875 only if not defined.
17876 (_ITOA_WORD_TYPE): Likewise.
17877 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17878 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17879
6f4db457
DM
178802012-03-21 David S. Miller <davem@davemloft.net>
17881
17882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17883
7785fe5a
L
178842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17885
17886 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17887 of x86_64 when setting libc_cv_slibdir, libdir and
17888 libc_cv_localedir.
17889 * sysdeps/unix/sysv/linux/configure: Regenerated.
17890
4535cd55
JM
178912012-03-21 Joseph Myers <joseph@codesourcery.com>
17892
17893 * manual/lang.texi (Old Varargs): Remove section.
17894 (How Variadic): Update menu.
17895 (va_start): Do not mention varargs.h.
17896
17228132
TS
178972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17898 Joseph Myers <joseph@codesourcery.com>
17899
17900 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17901 link test.
17902 * configure: Regenerated.
17903
8149f976
TS
179042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17905
05f3d1f6
UD
17906 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17907 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17908 conformtest.pl
8149f976 17909
1a4ac776
JM
179102012-03-21 Joseph Myers <joseph@codesourcery.com>
17911
be22ce65
JM
17912 * NOTES: Remove.
17913 * Makefile (files-for-dist): Remove NOTES.
17914 (NOTES): Remove rule.
17915 * README: Don't refer to NOTES.
17916 * manual/creature.texi: Don't include macros.texi.
17917 * manual/intro.texi (creature.texi): Remove comment referring to
17918 NOTES.
17919
40b601fb
JM
17920 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17921 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17922 * configure: Regenerated.
17923 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17924 LIBC_TRY_CC_OPTION.
17925 (libc_cv_as_i686): Likewise.
17926 (libc_cv_cc_avx): Likewise.
17927 (libc_cv_cc_sse2avx): Likewise.
17928 (libc_cv_cc_fma4): Likewise.
17929 (libc_cv_cc_novzeroupper): Likewise.
17930 * sysdeps/i386/configure: Regenerated.
17931
1a4ac776
JM
17932 [BZ #13883]
17933 * sysdeps/i386/fpu/s_cexp.S: Remove.
17934 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17935 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17936 * math/libm-test.inc (cexp_test): Add more tests.
17937 * sysdeps/i386/fpu/libm-test-ulps: Update.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17939
a458e7fe
AM
179402012-03-21 Allan McRae <allan@archlinux.org>
17941
17942 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17943
0cb7efc5
JM
179442012-03-21 Joseph Myers <joseph@codesourcery.com>
17945
17946 [BZ #13871]
17947 * math/w_exp2.c: Do not include <float.h>.
17948 (o_threshold, u_threshold): Remove.
17949 (__exp2): Calculate result before checking finiteness and calling
17950 __kernel_standard.
17951 * math/w_exp2f.c: Likewise.
17952 * math/w_exp2l.c: Likewise.
17953 * math/libm-test.inc (exp2_test): Require overflow exception for
17954 1e6 input.
2460d3aa
JM
17955
17956 [BZ #3866]
17957 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17958 range of signed 64-bit integers before using fistpll. Remove
17959 checks for whether integers fit in mantissa bits.
17960 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17961 the range of signed 32-bit integers before using fistpl. Remove
17962 checks for whether integers fit in mantissa bits.
17963 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17964 (__ieee754_powl): Test for y outside the range of signed 64-bit
17965 integers before using fistpll. Reduce 64-bit values to 63-bit
17966 ones as needed.
17967 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17968 divide-by-zero is raised for zero to large negative powers.
17969 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17970 (__ieee754_powl): Test for y outside the range of signed 64-bit
17971 integers before using fistpll. Reduce 64-bit values to 63-bit
17972 ones as needed.
17973 * math/libm-test.inc (pow_test): Add more tests.
17974
eb96ffb0
L
179752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17976
17977 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17978 <stdio-common/_itoa.h>.
17979 * debug/segfault.c: Likewise.
17980 * elf/dl-cache.c: Likewise.
17981 * elf/dl-minimal.c: Likewise.
17982 * elf/dl-misc.c: Likewise.
17983 * elf/dl-sysdep.c: Likewise.
17984 * elf/dl-version.c: Likewise.
17985 * elf/rtld.c: Likewise.
17986 * hurd/hurdsock.c: Likewise.
17987 * hurd/lookup-retry.c: Likewise.
17988 * malloc/malloc.c: Likewise.
17989 * malloc/mtrace.c: Likewise.
17990 * nscd/nscd_getgr_r.c: Likewise.
17991 * nscd/nscd_getpw_r.c: Likewise.
17992 * nscd/nscd_getserv_r.c: Likewise.
17993 * posix/getopt_init.c: Likewise.
17994 * posix/wordexp.c: Likewise.
17995 * stdio-common/_itoa.c: Likewise.
17996 * stdio-common/printf_fphex.c: Likewise.
17997 * stdio-common/vfprintf.c: Likewise.
17998 * string/_strerror.c: Likewise.
17999 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18000 * sysdeps/i386/i686/hp-timing.h: Likewise.
18001 * sysdeps/mach/_strerror.c: Likewise.
18002 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18003 * sysdeps/mach/hurd/sethostid.c: Likewise.
18004 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18005 * sysdeps/mach/xpg-strerror.c: Likewise.
18006 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18007 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18008 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18009 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18010 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18011 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18012 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18013 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18014 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18015 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18016 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18017 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18018 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18019 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18020 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18021 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18022 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18023 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18024 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18025 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18026 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18027
18028 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18029
18030 * stdio-common/_itoa.h: Moved to ...
18031 * sysdeps/generic/_itoa.h: Here.
18032
18033 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18034
18035 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18036 instead of "_itoa.h" and "_itowa.h".
18037 * stdio-common/vfprintf.: Likewise.
18038
d1af992d
L
180392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18040
18041 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18042 <bits/wordsize.h>.
18043 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18044 (__signbit): Likwise.
18045 (llrintf): Likwise.
18046 (llrint): Likwise.
18047
114883e0
L
180482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18049
18050 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18051 __WORDSIZE != 64.
18052
c135cc1b
JM
180532012-03-20 Joseph Myers <joseph@codesourcery.com>
18054
18055 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18056 OVERFLOW_EXCEPTION_OK.
18057 * math/libm-test.inc ("Philosophy"): Update comment about
18058 exception testing.
18059 (OVERFLOW_EXCEPTION): Define.
18060 (OVERFLOW_EXCEPTION_OK): Likewise.
18061 (INVALID_EXCEPTION_OK): Renumber.
18062 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18063 (IGNORE_ZERO_INF_SIGN): Likewise.
18064 (test_exceptions): Handle FE_OVERFLOW.
18065 (exp10_test): Expect overflow exceptions.
18066 (exp2_test): Likewise.
18067 (expm1_test): Likewise.
18068 (nextafter_test): Likewise.
18069 (pow_test): Likewise.
18070 (scalbn_test): Likewise.
18071 (scalbln_test): Likewise.
18072
95443d88
L
180732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18074
18075 * sysdeps/x86_64/bits/atomic.h
18076 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18077 64bit integer.
18078 (atomic_exchange_acq): Likewise.
18079 (__arch_exchange_and_add_body): Likewise.
18080 (__arch_add_body): Likewise.
18081 (atomic_add_negative): Likewise.
18082 (atomic_add_zero): Likewise.
18083
490df6c4
L
180842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18085
c2722551 18086 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18087 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18088
5e52b189
L
180892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18090
18091 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18092 Check __x86_64__ instead of __WORDSIZE.
18093
a9879d4c
L
180942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18095
18096 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18097
5df98260
DM
180982012-03-19 David S. Miller <davem@davemloft.net>
18099
e1497744
DM
18100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18101
5df98260
DM
18102 * sysdeps/sparc/fpu/fenv_private.h: New file.
18103 * sysdeps/sparc/fpu/math_private.h: Use it.
18104 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18105 Remove.
18106 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18107 (libc_feholdexcept_setroundl): Remove.
18108 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18109 Remove.
18110 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18111 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18112
b4c35121
L
181132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18114
18115 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18116 int64_t instead of long int.
18117 (INSERT_WORDS64): Likwise.
18118
56965fd7
L
181192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18120
18121 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18122 _Unwind_GetCFA return to _Unwind_Ptr first.
18123
83d1aec8
JM
181242012-03-19 Joseph Myers <joseph@codesourcery.com>
18125
1897ad44
JM
18126 [BZ #13629]
18127 * math/s_clog.c: Include <float.h>.
18128 (__clog): Scale large or subnormal inputs.
18129 * math/s_clogf.c: Likewise.
18130 * math/s_clogl.c: Likewise.
18131 * math/s_clog10.c: Include <float.h>.
18132 (M_LOG10_2): Define.
18133 (__clog10): Scale large or subnormal inputs.
18134 * math/s_clog10f.c: Likewise.
18135 * math/s_clog10l.c: Likewise.
18136 * math/libm-test.inc (clog_test): Add more tests.
18137 (clog10_test): Likewise.
18138 * sysdeps/i386/fpu/libm-test-ulps: Update.
18139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18140
7726d6a9
JM
18141 [BZ #11451]
18142 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18143 x and y.
18144 * math/libm-test.inc (atan2_test): Add another test.
18145
83d1aec8
JM
18146 * Makerules (common-objdir-compile): Remove.
18147 * sysdeps/unix/Makefile (config-generated): Do not add
18148 $(unix-generated) to variable.
18149 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18150 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18151 Remove rule.
18152 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18153 Likewise.
18154 [generic bits/local_lim.h] (before-compile): Do not append to
18155 variable.
18156 [generic bits/local_lim.h] (common-generated): Likewise.
18157 [generic sys/param.h] (before-compile): Do not append to variable.
18158 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18159 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18160 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18161 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18162 include.
18163 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18164 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18165 [generic sys/param.h] ($(addprefix
18166 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18167 [generic sys/param.h] (common-generated): Do not append to
18168 variable.
18169 [generic sys/param.h] (sysdep_headers): Likewise.
18170 [generic bits/errno.h] (before-compile): Do not append to
18171 variable.
18172 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18173 rule.
18174 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18175 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18176 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18177 [generic bits/errno.h] (common-generated): Do not append to
18178 variable.
18179 [generic bits/ioctls.h] (before-compile): Do not append to
18180 variable.
18181 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18182 rule.
18183 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18184 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18185 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18186 rule.
18187 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18188 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18189 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18190 [generic bits/ioctls.h] (common-generated): Do not append to
18191 variable.
18192 [generic sys/syscall.h] (syscall.h): Remove variable.
18193 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18194 rule.
18195 [generic sys/syscall.h] (before-compile): Do not append to
18196 variable.
18197 [generic sys/syscall.h] (common-generated): Likewise.
18198 * sysdeps/unix/errnos-tmpl.c: Remove file.
18199 * sysdeps/unix/errnos.awk: Likewise.
18200 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18201 * sysdeps/unix/ioctls.awk: Likewise.
18202 * sysdeps/unix/mk-local_lim.c: Likewise.
18203 * sysdeps/unix/snarf-ioctls: Likewise.
18204
4851a949
RH
182052012-03-19 Richard Henderson <rth@twiddle.net>
18206
bd37f2ee
RH
18207 * sysdeps/i386/fpu/fenv_private.h: New file.
18208 * sysdeps/i386/fpu/math_private.h: Use it.
18209 (math_opt_barrier, math_force_eval): Remove.
18210 (libc_feholdexcept_setround_53bit): Remove.
18211 (libc_feupdateenv_53bit): Remove.
18212 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18213 (math_opt_barrier, math_force_eval): Remove.
18214 (libc_feholdexcept): Remove.
18215 (libc_feholdexcept_setround): Remove.
18216 (libc_fetestexcept, libc_fesetenv): Remove.
18217 (libc_feupdateenv_test): Remove.
18218 (libc_feupdateenv, libc_feholdsetround): Remove.
18219 (libc_feresetround): Remove.
18220
d0adc922
RH
18221 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18222 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18223
0fe0f1f8
RH
18224 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18225 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18226 (libc_feupdateenv_testl): New.
18227 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18228 (libc_feupdateenv_testf): New.
18229 (libc_feupdateenv): Use libc_feupdateenv_test.
18230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18231 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18232
eb92c487
RH
18233 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18234 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18235 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18236 (libc_feresetround_noex): New.
18237 (libc_feresetround_noexf): New.
18238 (libc_feresetround_noexl): New.
18239 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18240 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18241 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18242 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18243 SET_RESTORE_ROUND.
18244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18245 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18246 (__cos): Likewise.
18247 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18248 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18249 SET_RESTORE_ROUND_NOEX.
18250 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18251 SET_RESTORE_ROUND_NOEXF.
18252 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18253 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18254 (libc_feholdsetroundf): New.
18255 (libc_feresetround, libc_feresetroundf): New.
18256
7d2e8012
RH
18257 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18258 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18259 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18260
b4dabbb4
RH
18261 * sysdeps/generic/math_private.h: Include <fenv.h>.
18262 (default_libc_feholdexcept): New.
18263 (default_libc_feholdexcept_setround): New.
18264 (default_libc_fesetenv, default_libc_feupdateenv): New.
18265 (libc_feholdexcept): Only define if undefined.
18266 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18267 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18268 (libc_feholdexcept_setroundl): Likewise.
18269 (libc_feholdexcept_setround_53bit): Likewise.
18270 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18271 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18272 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18273 (libc_feupdateenv_53bit): Likewise.
18274 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18275 (libc_feholdexcept): Convert from macro to inline function.
18276 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18277 (libc_fesetenv, libc_feupdateenv): Likewise.
18278
4851a949
RH
18279 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18280 not previously defined.
18281 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18282 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18283 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18284 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18285 * sysdeps/ieee754/flt-32/math_private.h: New file.
18286 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18287 math_private.h below SET_FLOAT_WORD.
18288 (__isnan, __isinf_ns, __finite): Remove.
18289 (__isnanf, __isinf_nsf, __finitef): Remove.
18290
e79d442e
AS
182912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18292
18293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18294
90b80344
DM
182952012-03-17 David S. Miller <davem@davemloft.net>
18296
18297 [BZ #6471]
18298 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18299 for 2.16.
18300
edc21804
DM
183012012-03-16 David S. Miller <davem@davemloft.net>
18302
77e927af
DM
18303 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18304 warnings.
18305
374976dd
DM
18306 [BZ #6471]
18307 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18308 properly.
18309 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18310 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18311 sysdep_routines when subdir is sysvipc.
18312 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18313 __getshmlba helper.
18314
edc21804
DM
18315 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18316
473c3ef3
L
183172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18318
18319 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18320 [__LP64__].
18321
eb0f39b6
L
183222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18323
18324 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18325 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18326 (__lround): Renamed to ...
18327 (__llround): This. Replace long int with long long int.
18328 Define lround functions as aliases of llround functions.
18329 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18330
6b6cd74b
L
183312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18332
18333 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18334 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18335 adresses to uintptr_t. Replace "long int" and "unsigned long
18336 int" with "greg_t" on va_arg.
18337
f1a77b01
L
183382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18339
18340 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18341 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18342
18343 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18344 Move e_machine check before EI_CLASS check. Handle x32
18345 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18346 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18347 SKIP_EM_IA_64 and include
18348 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18349
18350 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18351 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18352 (add_system_dir): New macro.
18353
18354 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18355 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18356
11b90b9f
JM
183572012-03-16 Joseph Myers <joseph@codesourcery.com>
18358
c36e1d23
JM
18359 [BZ #2551]
18360 [BZ #2552]
18361 [BZ #2553]
18362 [BZ #2554]
18363 [BZ #2562]
18364 [BZ #2563]
18365 [BZ #2565]
18366 [BZ #2566]
18367 [BZ #2576]
18368 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18369 (y0): Likewise.
18370 * math/w_j0f.c (j0f): Likewise.
18371 (y0f): Likewise.
18372 * math/w_j0l.c (__j0l): Likewise.
18373 (__y0l): Likewise.
18374 * math/w_j1.c (j1): Likewise.
18375 (y1): Likewise.
18376 * math/w_j1f.c (j1f): Likewise.
18377 (y1f): Likewise.
18378 * math/w_j1l.c (__j1l): Likewise.
18379 (__y1l): Likewise.
18380 * math/w_jn.c (jn): Likewise.
18381 (yn): Likewise.
18382 * math/w_jnf.c (jnf): Likewise.
18383 (ynf): Likewise.
18384 * math/w_jnl.c (__jnl): Likewise.
18385 (__ynl): Likewise.
18386 * math/libm-test.inc (j0_test): Add more tests.
18387 (j1_test): Likewise.
18388 (jn_test): Likewise. Add trailing semicolon to existing test.
18389 (y0_test): Likewise.
18390 (y1_test): Likewise.
18391 * sysdeps/i386/fpu/libm-test-ulps: Update.
18392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18393
11b90b9f
JM
18394 [BZ #13851]
18395 [BZ #13854]
18396 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18397 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18398 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18399 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18400 (__tanl): Set errno for infinite argument.
18401 * sysdeps/i386/fpu/mptan.c: Remove.
18402 * sysdeps/i386/fpu/s_tan.S: Likewise.
18403 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18404 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18405 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18406 * math/libm-test.inc (tan_test): Add more tests and enable more
18407 tests for double and long double.
18408 * sysdeps/i386/fpu/libm-test-ulps: Update.
18409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18410
6a1bd2a1
JK
184112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18412
18413 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18414 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18415
10a803e0
RM
184162012-03-16 Roland McGrath <roland@hack.frob.com>
18417
18418 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18419 * configure.in: Use it for both main tree and add-ons.
18420 * configure: Regenerated.
18421
f196c7f7
L
184222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18423
18424 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18425
8848d99d
JM
184262012-03-16 Joseph Myers <joseph@codesourcery.com>
18427
96cbe7f4
JM
18428 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18429 in comment.
18430
8848d99d
JM
18431 [BZ #13851]
18432 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18433 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18434 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18435 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18436 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18437 infinite argument.
18438 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18439 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18440 != 0 for prec == 2.
18441 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18442 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18443 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18444 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18445 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18446 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18447 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18448 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18449 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18450 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18451 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18452 * math/libm-test.inc (cos_test): Add more tests and enable more
18453 tests for long double.
18454 (sin_test): Likewise.
18455 (sincos_test): Likewise.
18456 * sysdeps/i386/fpu/libm-test-ulps: Update.
18457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18458
dd7f4703
DM
184592012-03-16 David S. Miller <davem@davemloft.net>
18460
18461 * sysdeps/sparc/fpu/math_private.h: New file.
18462
006f1daa
DM
184632012-03-15 David S. Miller <davem@davemloft.net>
18464
c0c83bc8
DM
18465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18466 file.
e6a62e18 18467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18469 file.
e6a62e18
DM
18470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18476 sysdep routines.
18477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18478
88cb87d9
DM
18479 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18480 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18481
006f1daa 18482 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18484 sparc-ifunc.h
006f1daa 18485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18487 Likewise.
18488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18489 Likewise.
006f1daa
DM
18490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18494 Likewise.
006f1daa
DM
18495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18500 Likewise.
18501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18502 Likewise.
006f1daa
DM
18503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18509 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18510 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18523 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18524 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18525 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18527
11e0098e
AS
185282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18529
18530 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18531 scaling.
18532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18533
e85b09d0
AJ
185342012-03-15 Andreas Jaeger <aj@suse.de>
18535
18536 [BZ #13852]
18537 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18538 ieee754/flt-32 implementation for sin, cos and sincos.
18539 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18540 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18541 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18542 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18543 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18544 ieee754/flt-32 implementation for tan.
18545
18546 * math/libm-test.inc (cos_test): Enable some large input tests for
18547 float as well
18548 (sin_test): Likewise.
18549 (sincos_test): Likewise.
18550 (tan_test): Add tests for large input.
18551
18552 * sysdeps/i386/fpu/libm-test-ulps: Update.
18553
81c64153
AJ
185542012-03-15 Andreas Jaeger <aj@suse.de>
18555
18556 [BZ #13658]
18557 * math/libm-test.inc (cos_test): Add more test cases.
18558 (sin_test): Likewise.
18559 (sincos_test): Likewise.
18560
7bbfa5c6
AJ
185612012-03-15 Andreas Jaeger <aj@suse.de>
18562
18563 [BZ #13837]
18564 * math/libm-test.inc (cos_test): Add a test case for large input
18565 value.
18566 (sin_test): Likewise.
18567 (sincos_test): Likewise.
18568
185692012-03-15 Andreas Jaeger <aj@suse.de>,
18570 Joseph Myers <joseph@codesourcery.com>
18571
18572 [BZ #13658]
0671f479 18573 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18574 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18575 * sysdeps/i386/fpu/branred.c: Likewise.
18576 * sysdeps/i386/fpu/dosincos.c: Likewise.
18577 * sysdeps/i386/fpu/mpa.c: Likewise.
18578 * sysdeps/i386/fpu/s_cos.S: Likewise.
18579 * sysdeps/i386/fpu/s_sin.S: Likewise.
18580 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18581 * sysdeps/i386/fpu/sincos32.c: Likewise.
18582
18583 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18584 Define.
18585 (libc_feupdateenv_53bit): Define.
18586 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18587 Define.
18588 (libc_feupdateenv_53bit): Define.
18589
18590 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18591 53 bit (without extend i386 double precision).
18592
18593 * math/libm-test.inc (sincos_test): Add tests for large input.
18594 (sin): Likewise.
18595 (cos): Likewise.
18596
18597 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18598
9cad04ea
AS
185992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18600
18601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18602
f7062b9a
DM
186032012-03-15 David S. Miller <davem@davemloft.net>
18604
18605 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18606 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18607 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18608 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18621 file.
f7062b9a 18622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18624 file.
f7062b9a 18625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18627 file.
f7062b9a 18628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18630 file.
f7062b9a
DM
18631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18632 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18633 fmin/fmax sysdep routines.
18634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18635
7bd951ff
DM
186362012-03-14 David S. Miller <davem@davemloft.net>
18637
559398ab
DM
18638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18643 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18644 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18659 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18660 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18664 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18665 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18666 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18667 routines.
18668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18669 file.
559398ab 18670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18672 file.
559398ab 18673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18675 file.
559398ab 18676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18678 file.
559398ab 18679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18681 file.
559398ab 18682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18684 file.
18685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18686 file.
18687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18688 file.
18689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18690 file.
18691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18692 New file.
18693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18694 file.
18695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18696 file.
559398ab 18697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18699 file.
559398ab 18700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18702 file.
559398ab 18703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18705 file.
559398ab 18706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18708 VIS3 routines.
559398ab
DM
18709
18710 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18711 New file.
18712
5a1c1e32
DM
18713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18714
eae47a36
DM
18715 * sysdeps/sparc/configure.in: New file.
18716 * sysdeps/sparc/configure: Generate.
18717 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18718 * configure: Regenerate.
18719 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18720 * config.make.in (have-as-vis3): New.
18721 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18722 available use -Av9d instead of -Av9a.
18723 * sysdeps/sparc/sparc64/Makefile: Likewise.
18724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18726 New file.
18727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18728 file.
18729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18730 New file.
18731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18732 file.
eae47a36
DM
18733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18734 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18735 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18736 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18737 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18738
c0c83bc8
DM
18739 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18740 fzeros/fnegs to load 0x80000000 into a float register instead of
18741 using the stack.
7bd951ff
DM
18742 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18743
bd951ccb
JM
187442012-03-14 Joseph Myers <joseph@codesourcery.com>
18745
18746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18747 bits/syscall.h.
18748 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18749 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18750 ($(inst_includedir)/bits/syscall.h): Remove rule.
18751 ($(objpfx)bits/syscall.d): Include instead of
18752 $(objpfx)syscall-list.d.
18753 (generated): Change syscall-list.h and syscall-list.d to
18754 bits/syscall.h and bits/syscall.d.
18755
bb4e6db2
RM
187562012-03-14 Roland McGrath <roland@hack.frob.com>
18757
18758 [BZ #13846]
18759 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18760
aa4a2ae1
JM
187612012-03-14 Joseph Myers <joseph@codesourcery.com>
18762
e456826d
JM
18763 [BZ #13841]
18764 * math/s_csqrt.c: Include <float.h>.
18765 (__csqrt): Scale large or subnormal inputs.
18766 * math/s_csqrtf.c: Likewise.
18767 * math/s_csqrtl.c: Likewise.
18768 * math/libm-test.inc (csqrt_test): Add more tests.
18769 * sysdeps/i386/fpu/libm-test-ulps: Update.
18770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18771
aa4a2ae1
JM
18772 [BZ #13840]
18773 * math/libm-test.inc (hypot_test): Add more tests.
18774
7c10fd35
DM
187752012-03-13 David S. Miller <davem@davemloft.net>
18776
18777 [BZ #13840]
18778 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18779 double-precision for the calculation instead of scaling.
18780
f453b98b
JM
187812012-03-13 Joseph Myers <joseph@codesourcery.com>
18782
18783 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18784 manipulate bits before adding and subtracting TWO52[sx].
18785 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18786 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18787 Likewise.
18788 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18789
09a3453f
DM
187902012-03-13 David S. Miller <davem@davemloft.net>
18791
8e59da90
DM
18792 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18793 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18795 rtld-global-offsets.h
18796 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18797
2a8ab7f2
DM
18798 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18799 large parameters.
18800
10f62770
DM
18801 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18802
5f0bdb18
DM
18803 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18804 'err' in the ifdef scope in which it is actually used.
18805
09a3453f
DM
18806 * nss/nss_db/db-init.c: Include string.h
18807
b4b2eb5e
DM
188082012-03-12 David S. Miller <davem@davemloft.net>
18809
98bb2f1c
DM
18810 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18811 masking out of the most significant byte of random value used.
18812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18813 Fix coding style in previous change.
18814
b4b2eb5e
DM
18815 * sysdeps/unix/sysv/linux/kernel-features.h
18816 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18817 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18818 expression.
18819 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18820 later.
18821
6e226b09
DM
188222012-03-11 David S. Miller <davem@davemloft.net>
18823
a1bcbd40
DM
18824 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18825 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18826 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18827 for 'resultvar' otherwise things get truncated on 64-bit.
18828
cb9d6174
DM
18829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18830 Fix masking out of the most significant byte of random value used.
18831
6e226b09
DM
18832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18833
058c132d
AS
188342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18835
18836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18837
2d2cd515
DM
188382012-03-09 David S. Miller <davem@davemloft.net>
18839
18840 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18841 variables with appropriate CPP guards.
18842 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18843 frame pointer, not the stack pointer. Correct layout comments. Fix test
18844 on resulting framesize and the management of the outregs buffer for pltexit.
18845 Preserve floating point return values across _dl_call_pltexit call.
18846 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18847 framesize and the management of the outregs buffer for pltexit.
18848 Preserve floating point return values across _dl_call_pltexit
18849 call.
18850 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18851 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18852 (print_exit): Fix format string for return register value.
18853
9a07f9d0
JM
188542012-03-10 Joseph Myers <joseph@codesourcery.com>
18855
18856 * sunrpc/Makefile (others): Add rpcgen.
18857 ($(objpfx)rpcgen): Remove special build rule and dependency on
18858 libc.
18859 * sunrpc/rpcgen.c: New file.
18860
547b5e30
PE
188612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18862
c524201a
PE
18863 [BZ #13673]
18864 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18865 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18866 * sysdeps/i386/crti.S: Likewise.
18867 * sysdeps/i386/crtn.S: Likewise.
18868 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18869 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18870 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18871 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18872 * sysdeps/sh/crti.S: Likewise.
18873 * sysdeps/sh/crtn.S: Likewise.
18874 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18875
7b6235f2
PE
18876 [BZ #13673]
18877 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18878 with URL.
18879 * locale/programs/locfile-kw.gperf: Likewise.
18880 * locale/programs/charmap-kw.h: Regenerated.
18881 * locale/programs/locfile-kw.h: Likewise.
18882
547b5e30
PE
18883 [BZ #13673]
18884 * intl/plural.y: Replace FSF snail mail address with URL.
18885 * intl/plural.c: Regenerated.
18886
5f0a5dae
RH
188872012-03-09 Richard Henderson <rth@twiddle.net>
18888
18889 * include/math_private.h: Remove file.
18890 * math/math_private.h: Move file ...
18891 * sysdeps/generic/math_private.h: ... here.
18892
b8c03620
RH
18893 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18894 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18895 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18896
4e234f5d 18897 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18898 and <math_private.h>.
18899 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18900 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18901 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18902 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18903 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18904 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18905 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18906 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18907 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18908 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18910 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18911 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18912 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18913 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18914 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18915 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18916 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18917 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18918 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18920 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18921 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18923 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18924 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18925 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18926 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18928 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18929 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18930 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18931 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18932 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18933 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18934 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18935 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18936 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18937 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18938 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18939 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18940 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18941 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18942 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18943 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18944 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18945 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18946 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18947 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18948 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18949 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18950 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18951 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18952 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18953 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18954 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18955 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18956 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18957 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18958 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18959 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18960 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18961 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18962 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18963 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18964 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18965 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18966 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18967 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18968 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18969 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18970 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18971 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18972 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18973 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18977 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18979 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18980 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18981 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18987 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18988 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18989 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18990 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18991 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18992 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18993 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18994 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18995 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18996 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18997 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18998 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18999 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19000 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19001 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19002 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19003 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19004 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19005 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19006 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19007 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19008 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19009 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19010 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19011 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19012 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19013 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19014 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19015 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19016 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19017 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19018 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19019 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19020 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19021 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19022 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19023 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19024 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19025 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19026 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19027 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19028 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19029 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19030 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19031 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19032 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19033 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19034 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19035 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19036 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19037 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19038 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19039 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19040 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19041 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19042 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19043 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19044 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19045 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19046 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19047 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19048 * sysdeps/ieee754/k_standard.c: Likewise.
19049 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19052 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19053 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19058 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19059 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19061 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19076 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19080 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19089 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19091 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19094 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19095 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19096 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19097 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19098 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19099 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19100 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19106 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19108 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19122 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19123 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19124 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19125 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19126 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19128 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19129 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19130 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19132 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19133 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19136 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19137 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19147 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19154 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19155 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19158 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19161 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19164 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19166 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19167 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19168 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19169 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19171 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19172 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19173 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19174 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19175 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19176 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19177 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19178 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19179 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19180 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19181 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19183 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19186 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19187 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19188 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19189 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19190 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19191 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19192 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19193 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19194 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19195 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19196 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19197 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19198 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19199 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19200 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19202 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19207 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19208 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19209 * sysdeps/ieee754/s_lib_version.c: Likewise.
19210 * sysdeps/ieee754/s_matherr.c: Likewise.
19211 * sysdeps/ieee754/s_signgam.c: Likewise.
19212 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19213 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19214 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19215 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19216 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19217 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19218 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19219 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19220 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19221 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19222 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19223 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19224 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19225 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19226 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19227 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19228 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19229 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19230 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19231 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19232 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19233
1991fa03
JM
192342012-03-09 Joseph Myers <joseph@codesourcery.com>
19235
19236 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19237 * sunrpc/rpc_main.c: Likewise.
19238 * sunrpc/rpc_svcout.c: Likewise.
19239
60d6f5a6
DM
192402012-03-09 David S. Miller <davem@davemloft.net>
19241
19242 * include/math_private.h: New file.
19243
4962050e
JM
192442012-03-09 Joseph Myers <joseph@codesourcery.com>
19245
02a6f887
JM
19246 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19247 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19248 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19249 from <bits/socket_type.h>.
19250 (enum __socket_type): Don't define here.
19251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19253 bits/socket_type.h.
19254
c6e013c1
JM
19255 [BZ #13566]
19256 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19257 checking __USE_GNU.
19258
4962050e
JM
19259 * Makerules ($(inst_includedir)/%.h): New rule.
19260 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19261 (install-others): Remove variable setting.
19262 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19263
38842f45
RH
192642012-03-08 Richard Henderson <rth@twiddle.net>
19265
67bb6da6
RH
19266 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19267 from macro to inline function; merge with the
19268 !__LIBC_INTERNAL_MATH_INLINES version.
19269 (__ieee754_sqrtf): Likewise.
19270
15194b4b
RH
19271 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19272 to inline function.
19273 (__rintf, __floor, __floorf): Likewise.
19274
64e21ede
RH
19275 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19276 macro to inline function.
19277 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19278
38842f45
RH
19279 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19280 not <math/math_private.h>.
19281
c64bf5fe
DM
192822012-03-08 David S. Miller <davem@davemloft.net>
19283
19284 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19285 copyright year.
19286 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19287
82d86f28
TS
192882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19289
19290 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19291 normalization.
19292 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19293 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19294
aea5d727
UD
192952012-03-08 Ulrich Drepper <drepper@gmail.com>
19296
19297 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19298 be defined individually, they must be defined as a block. Define
19299 S for printing a string instead of hidint the different by using a
19300 macro for adding the 'l'.
19301 * stdio-common/tst-fphex-wide.c: Adjust.
19302
70bca0a3
MP
193032012-03-07 Marek Polacek <polacek@redhat.com>
19304
19305 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19306
65b81130
MP
193072012-03-08 Marek Polacek <polacek@redhat.com>
19308
19309 [BZ #13806]
19310 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19311 * stdio-common/tst-fphex.c: Define a few macros to make the
19312 test reusable. Use them.
19313 * stdio-common/tst-fphex-wide.c: New file.
19314
07037eeb
JM
193152012-03-08 Joseph Myers <joseph@codesourcery.com>
19316
a7a93d50
JM
19317 [BZ #6911]
19318 * manual/macros.texi (gnusystems): New macro.
19319 (nongnusystems): Likewise.
19320 (gnulinuxhurdsystems): Likewise.
19321 (gnuhurdsystems): Likewise..
19322 (gnulinuxsystems): Likewise.
19323 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19324 variants of the GNU system, not "GNU system".
19325 * manual/conf.texi: Likewise.
19326 * manual/errno.texi: Likewise. Update example of errno macro
19327 expansion.
19328 * manual/filesys.texi: Likewise.
19329 (getumask): Document as specific to GNU/Hurd.
19330 * manual/install.texi: Likewise. Reword some references to
19331 GNU/Linux.
19332 * manual/intro.texi: Likewise.
19333 * manual/io.texi: Likewise.
19334 (File Name Portability): Detail which constraints are inapplicable
19335 to all GNU systems and which are only inapplicable to GNU/Hurd.
19336 * manual/job.texi: Likewise.
19337 * manual/llio.texi: Likewise.
19338 (O_NOCTTY): Document as present on GNU/Linux.
19339 * manual/maint.texi: Likewise.
19340 * manual/memory.texi: Likewise.
19341 * manual/pattern.texi: Likewise.
19342 * manual/pipe.texi: Likewise.
19343 * manual/process.texi: Likewise.
19344 * manual/resource.texi: Likewise.
19345 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19346 child on GNU/Hurd.
19347 * manual/setjmp.texi: Likewise.
19348 * manual/signal.texi: Likewise.
19349 * manual/startup.texi: Likewise.
19350 * manual/stdio.texi: Likewise.
19351 * manual/terminal.texi: Likewise.
19352 (ONLCR): Document as POSIX.
19353 (OXTABS): Document availability on GNU/Linux as XTABS.
19354 (ONOEOT): Document availability separately from other bits.
19355 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19356 * manual/time.texi: Likewise.
19357 * manual/users.texi: Likewise.
19358 * INSTALL: Regenerated.
19359 * sysdeps/gnu/errlist.c: Regenerated.
19360
07037eeb
JM
19361 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19362 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19363 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19364 puts.
19365 * configure: Regenerated.
19366
d1d3431a
JM
193672012-03-07 Joseph Myers <joseph@codesourcery.com>
19368
af6a1e37
JM
19369 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19370 default includes instead of AC_HEADER_CHECK.
19371 * sysdeps/i386/configure: Regenerated.
19372
d1d3431a
JM
19373 [BZ #10716]
19374 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19375 * math/s_cacoshf.c (__cacoshf): Likewise.
19376 * math/s_cacoshl.c (__cacoshl): Likewise.
19377 * math/s_casinh.c (__casinh): Set signs of result from argument.
19378 * math/s_casinhf.c (__casinhf): Likewise.
19379 * math/s_casinhl.c (__casinhl): Likewise.
19380 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19381 (casinh_test): Add more tests.
19382 * sysdeps/i386/fpu/libm-test-ulps: Update.
19383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19384
482ff4da
UD
193852012-03-07 Ulrich Drepper <drepper@gmail.com>
19386
872fda05
UD
19387 * po/zh_TW.po: Update from translation team.
19388
a4300c7a
UD
19389 * login/Makefile (distribute): Remove variable.
19390 * catgets/Makefile: Likewise.
19391 * mach/Makefile: Likewise.
19392 * malloc/Makefile: Likewise.
19393 * misc/Makefile: Likewise.
19394 * iconv/Makefile: Likewise.
19395 * nscd/Makefile: Likewise.
19396 * hurd/Makefile: Likewise.
19397 * manual/Makefile: Likewise.
19398 * locale/Makefile: Likewise.
19399 * intl/Makefile: Likewise.
19400 * conform/Makefile: Likewise.
19401 * nss/Makefile: Likewise.
19402 * time/Makefile: Likewise.
19403 * soft-fp/Makefile: Likewise.
19404 * dirent/Makefile: Likewise.
19405 * gmon/Makefile: Likewise.
19406 * po/Makefile: Likewise.
19407 * rt/Makefile: Likewise.
19408 * socket/Makefile: Likewise.
19409 * math/Makefile: Likewise.
19410 * signal/Makefile: Likewise.
19411 * debug/Makefile: Likewise.
19412 * elf/Makefile: Likewise.
19413 * timezone/Makefile: Likewise.
19414 * stdlib/Makefile: Likewise.
19415 * iconvdata/Makefile: Likewise.
19416 * sunrpc/Makefile: Likewise.
19417 * io/Makefile: Likewise.
19418 * argp/Makefile: Likewise.
19419 * inet/Makefile: Likewise.
19420 * hesiod/Makefile: Likewise.
19421 * grp/Makefile: Likewise.
19422 * csu/Makefile: Likewise.
19423 * wctype/Makefile: Likewise.
19424 * crypt/Makefile: Likewise.
19425 * libio/Makefile: Likewise.
19426 * string/Makefile: Likewise.
19427 * nis/Makefile: Likewise.
19428 * resolv/Makefile: Likewise.
19429 * stdio-common/Makefile: Likewise.
19430 * wcsmbs/Makefile: Likewise.
19431 * dlfcn/Makefile: Likewise.
19432 * posix/Makefile: Likewise.
19433
3b7c4e74 19434 [BZ #6959]
482ff4da
UD
19435 * timezone/Makefile: Don't install timezone files, just the programs
19436 and scripts.
19437
f72ed77d
UD
194382012-03-06 Ulrich Drepper <drepper@gmail.com>
19439
a000466f
UD
19440 * nss/databases.def: Add missing gshadow entry.
19441
f72ed77d
UD
19442 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19443
a53b7a4e
MP
194442012-03-06 Marek Polacek <polacek@redhat.com>
19445
19446 [BZ #13726]
19447 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19448 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19449 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19450 * stdio-common/tst-long-dbl-fphex.c: New file.
19451
e9258400
DM
194522012-03-06 David S. Miller <davem@davemloft.net>
19453
19454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19455 (set_obp_int): New function.
19456 (get_obp_int): New function.
19457 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19458 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19459 Avoid unused variable warnings on 'val' and use builtin_expect.
19460 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19461 __builtin_expect.
e9258400
DM
19462 (INLINE_CLONE_SYSCALL): Likewise.
19463
3bd2c723
DM
194642012-03-05 David S. Miller <davem@davemloft.net>
19465
19466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19467
bbb78d03
AS
194682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19469
884c5db4
AS
19470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19471
bbb78d03
AS
19472 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19473 only for |x| >= 40.
19474 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19475
1c9f702a 194762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19477
19478 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19479 Replace gettimeofday with __vdso_gettimeofday.
19480
7be16f82
RM
19481 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19482 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19483 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19484
19485 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19486 time with __vdso_time.
19487
ed58a00f
JM
194882012-03-05 Joseph Myers <joseph@codesourcery.com>
19489
19490 * manual/lang.texi (size_t): Note types to which size_t may be
19491 equivalent with the GNU C Library, but do not describe when
19492 differences between them are significant.
19493
30ee4ced
AJ
194942012-03-05 Andreas Jaeger <aj@suse.de>
19495
19496 * sysdeps/i386/fpu/libm-test-ulps: Update.
19497
b7cd39e8
JM
194982012-03-05 Joseph Myers <joseph@codesourcery.com>
19499
19500 [BZ #3976]
19501 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19502 (__ieee754_pow): Save and restore rounding mode and use
19503 round-to-nearest for main computations.
19504 * math/libm-test.inc (pow_test_tonearest): New function.
19505 (pow_test_towardzero): Likewise.
19506 (pow_test_downward): Likewise.
19507 (pow_test_upward): Likewise.
19508 (main): Call the new functions.
19509 * sysdeps/i386/fpu/libm-test-ulps: Update.
19510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19511
19512 [BZ #3976]
19513 * math/libm-test.inc (cosh_test_tonearest): New function.
19514 (cosh_test_towardzero): Likewise.
19515 (cosh_test_downward): Likewise.
19516 (cosh_test_upward): Likewise.
19517 (sinh_test_tonearest): Likewise.
19518 (sinh_test_towardzero): Likewise.
19519 (sinh_test_downward): Likewise.
19520 (sinh_test_upward): Likewise.
19521 (main): Call the new functions.
19522 * sysdeps/i386/fpu/libm-test-ulps: Update.
19523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19524
6c6a98c9
TV
195252012-03-05 Tom de Vries <tom@codesourcery.com>
19526
19527 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19528 default stack guard is set in last bytes.
19529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19530
21bb2d2e 195312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19532
21bb2d2e 19533 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19534
21bb2d2e
AJ
19535 [BZ #13656]
19536 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19537 possibly allocate from heap instead of stack.
19538 * stdio-common/bug-vfprintf-nargs.c: New file.
19539 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19540
c6922934
AS
195412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19542
19543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19544
bc957d53
MP
195452012-03-03 Marek Polacek <polacek@redhat.com>
19546
19547 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19548 * math/math_private.h: Likewise.
19549 * stdlib/tst-strtod.c: Likewise.
19550 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19551 * sysdeps/x86_64/bits/atomic.h: Likewise.
19552
6358490d
DM
195532012-03-02 David S. Miller <davem@davemloft.net>
19554
19555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19559 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19560 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19561 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19562 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19563
01ae168d
RM
195642012-03-02 Roland McGrath <roland@hack.frob.com>
19565
d9a17c07
RM
19566 [BZ #13792]
19567 * manual/examples/README: New file, says the example source files
19568 can be used under GPL>=2.
19569 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19570 line containing just "*/".
19571 * manual/examples/add.c: Add copyright header (GPL>=2).
19572 * manual/examples/argp-ex1.c: Likewise.
19573 * manual/examples/argp-ex2.c: Likewise.
19574 * manual/examples/argp-ex3.c: Likewise.
19575 * manual/examples/argp-ex4.c: Likewise.
19576 * manual/examples/atexit.c: Likewise.
19577 * manual/examples/db.c: Likewise.
19578 * manual/examples/dir.c: Likewise.
19579 * manual/examples/dir2.c: Likewise.
19580 * manual/examples/execinfo.c: Likewise.
19581 * manual/examples/filecli.c: Likewise.
19582 * manual/examples/filesrv.c: Likewise.
19583 * manual/examples/fmtmsgexpl.c: Likewise.
19584 * manual/examples/genpass.c: Likewise.
19585 * manual/examples/inetcli.c: Likewise.
19586 * manual/examples/inetsrv.c: Likewise.
19587 * manual/examples/isockad.c: Likewise.
19588 * manual/examples/longopt.c: Likewise.
19589 * manual/examples/memopen.c: Likewise.
19590 * manual/examples/memstrm.c: Likewise.
19591 * manual/examples/mkfsock.c: Likewise.
19592 * manual/examples/mkisock.c: Likewise.
19593 * manual/examples/mygetpass.c: Likewise.
19594 * manual/examples/pipe.c: Likewise.
19595 * manual/examples/popen.c: Likewise.
19596 * manual/examples/rprintf.c: Likewise.
19597 * manual/examples/search.c: Likewise.
19598 * manual/examples/select.c: Likewise.
19599 * manual/examples/setjmp.c: Likewise.
19600 * manual/examples/sigh1.c: Likewise.
19601 * manual/examples/sigusr.c: Likewise.
19602 * manual/examples/stpcpy.c: Likewise.
19603 * manual/examples/strdupa.c: Likewise.
19604 * manual/examples/strftim.c: Likewise.
19605 * manual/examples/strncat.c: Likewise.
19606 * manual/examples/subopt.c: Likewise.
19607 * manual/examples/swapcontext.c: Likewise.
19608 * manual/examples/termios.c: Likewise.
19609 * manual/examples/testopt.c: Likewise.
19610 * manual/examples/testpass.c: Likewise.
19611 * manual/examples/timeval_subtract.c: Likewise.
19612
01ae168d
RM
19613 [BZ #13792]
19614 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19615 function to ...
19616 * manual/timeval_subtract.c.texi: ... here, new file.
19617
49efa33d
DM
196182012-03-02 David S. Miller <davem@davemloft.net>
19619
19620 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19621
28afd92d
JM
196222012-03-02 Joseph Myers <joseph@codesourcery.com>
19623
804360ed
JM
19624 [BZ #3976]
19625 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19626 (__sin): Save and restore rounding mode and use round-to-nearest
19627 for all computations.
19628 (__cos): Save and restore rounding mode and use round-to-nearest
19629 for all computations.
19630 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19631 <fenv.h>.
19632 (tan): Save and restore rounding mode and use round-to-nearest for
19633 all computations.
19634 * math/libm-test.inc (cos_test_tonearest): New function.
19635 (cos_test_towardzero): Likewise.
19636 (cos_test_downward): Likewise.
19637 (cos_test_upward): Likewise.
19638 (sin_test_tonearest): Likewise.
19639 (sin_test_towardzero): Likewise.
19640 (sin_test_downward): Likewise.
19641 (sin_test_upward): Likewise.
19642 (tan_test_tonearest): Likewise.
19643 (tan_test_towardzero): Likewise.
19644 (tan_test_downward): Likewise.
19645 (tan_test_upward): Likewise.
19646 (main): Call the new functions.
19647 * sysdeps/i386/fpu/libm-test-ulps: Update.
19648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19649
a6d06d7b
JM
19650 [BZ #10135]
19651 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19652 small n, then large n, before computing and testing k+n.
19653 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19654 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19655 Likewise.
19656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19657 Likewise.
19658 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19659 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19660 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19661 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19662 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19663 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19664 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19665 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19666 * math/libm-test.inc (scalbn_test): Add more tests.
19667 (scalbln_test): Likewise.
19668
07e12bb3
JM
19669 * manual/filesys.texi (mode_t): Describe constraints on size and
19670 signedness, not exact equivalence to a particular type.
19671 (ino_t): Likewise.
19672 (ino64_t): Likewise.
19673 (dev_t): Likewise.
19674 (nlink_t): Likewise.
19675 (blkcnt_t): Likewise.
19676 (blkcnt64_t): Likewise.
19677 * manual/llio.texi (off_t): Likewise.
19678
28afd92d
JM
19679 [BZ #3976]
19680 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19681 (__ieee754_exp): Save and restore rounding mode and use
19682 round-to-nearest for all computations.
19683 * math/libm-test.inc (exp_test_tonearest): New function.
19684 (exp_test_towardzero): Likewise.
19685 (exp_test_downward): Likewise.
19686 (exp_test_upward): Likewise.
19687 (main): Call the new functions.
19688 * sysdeps/i386/fpu/libm-test-ulps: Update.
19689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19690
b1eeb65d
CD
196912012-03-01 Chris Demetriou <cgd@google.com>
19692
19693 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19694 have predictable order.
19695
53362a4b
DM
196962012-03-01 David S. Miller <davem@davemloft.net>
19697
3c969083
DM
19698 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19699
759707de
DM
19700 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19701 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19702 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19703 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19704
dfdb8ff2
DM
19705 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19706 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19707 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19709 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19710 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19711 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19712 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19713 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19714
ead89f96
DM
19715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19716
7f66bd07
DM
19717 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19718 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19719 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19720
53362a4b
DM
19721 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19722 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19723 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19724 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19725 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19726 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19727 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19728 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19729 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19730 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19731 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19732 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19734 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19735 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19737 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19738 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19739 * sysdeps/sparc/elf/configure: Regenerated.
19740
7b1902cb
JM
197412012-03-01 Joseph Myers <joseph@codesourcery.com>
19742
bec039bc
JM
19743 * configure.in (AS, LD): Require binutils 2.20 or later.
19744 * configure: Regenerated.
19745 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19746 as required minimum version.
19747 * INSTALL: Regenerated.
19748
7b1902cb
JM
19749 [BZ #2541]
19750 [BZ #4108]
19751 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19752 before squaring exponent.
19753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19754 bottom long double and 27 bits of top long double before squaring
19755 exponent.
19756 * math/libm-test.inc (erfc_test): Add more tests.
19757 * sysdeps/i386/fpu/libm-test-ulps: Update.
19758 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19760
f775c276
KT
197612012-03-01 Kai Tietz <ktietz@redhat.com>
19762
19763 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19764 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19765 containing bit-fields.
19766 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19767 * soft-fp/single.h (_FP_UNION_S): Likewise.
19768 * soft-fp/double.h (_FP_UNION_D): Likewise.
19769
5b8a4d4a
JM
197702012-02-29 Joseph Myers <joseph@codesourcery.com>
19771
0bab47b6
JM
19772 [BZ #13786]
19773 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19774 not include ../strcmp.S.
19775 [USE_AS_STRNCASECMP_L]: Likewise.
19776 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19777 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19778 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19779 (__strncasecmp_l_ia32): Define as alias to
19780 __strncasecmp_l_nonascii.
19781
0fcad3e2
JM
19782 [BZ #5794]
19783 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19784 * sysdeps/i386/fpu/libm-test-ulps: Update.
19785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19786
5b8a4d4a
JM
19787 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19789
8fdceb2e
JL
197902012-02-29 Jeff Law <law@redhat.com>
19791
19792 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19793 out of bounds read.
19794
1f393a11
MP
197952012-02-29 Marek Polacek <polacek@redhat.com>
19796
19797 [BZ #13706]
19798 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19799 * elf/Makefile: Add rules to run tst-unused-dep.out.
19800
8847f037
DM
198012012-02-28 David S. Miller <davem@davemloft.net>
19802
19803 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19804 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19805 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19806 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19807 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19808 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19809
169d7f11
JM
198102012-02-29 Joseph Myers <joseph@codesourcery.com>
19811
19812 * math/libm-test.inc (llround_test): Move one test from
19813 lround_test. Use TEST_f_L in moved test.
19814 (lround_test): Move misplaced test to llround_test. Add testcase
19815 from bug 2561.
19816
39adf059
UD
198172012-02-28 Ulrich Drepper <drepper@gmail.com>
19818
19819 * sysdeps/x86_64/fpu/e_expf.S: New file.
19820 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19821
71b5d1c5
SB
198222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19823
19824 [BZ #13637]
19825 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19826 of remain_len that may cause incomplete multi-byte character and
19827 false match.
19828 * posix/bug-regex33.c: New file.
19829 * posix/Makefile (tests): Add bug-regex33.
19830
1f77f049
JM
198312012-02-28 Joseph Myers <joseph@codesourcery.com>
19832
19833 * manual/macros.texi: New file.
19834 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19835 * manual/libc.texinfo: Include macros.texi.
19836 * manual/creatute.texi: Likewise.
19837 * manual/install.texi: Likewise.
19838 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19839 @glibcadj{} in references to the GNU C Library.
19840 * manual/charset.texi: Likewise.
19841 * manual/conf.texi: Likewise.
19842 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19843 when not using those macros.
19844 * manual/creature.texi: Likewise.
19845 * manual/crypt.texi: Likewise.
19846 * manual/errno.texi: Likewise.
19847 * manual/filesys.texi: Likewise.
19848 * manual/header.texi: Likewise.
19849 * manual/install.texi: Likewise.
19850 * manual/intro.texi: Likewise.
19851 * manual/io.texi: Likewise.
19852 * manual/job.texi: Likewise.
19853 * manual/lang.texi: Likewise.
19854 * manual/libc.texiinfo: Likewise.
19855 * manual/llio.texi: Likewise.
19856 * manual/locale.texi: Likewise.
19857 * manual/maint.texi: Likewise.
19858 * manual/math.texi: Likewise.
19859 * manual/memory.texi: Likewise.
19860 * manual/message.texi: Likewise.
19861 * manual/nss.texi: Likewise.
19862 * manual/pattern.texi: Likewise.
19863 * manual/process.texi: Likewise.
19864 * manual/resource.texi: Likewise.
19865 * manual/search.texi: Likewise.
19866 * manual/setjmp.texi: Likewise.
19867 * manual/signal.texi: Likewise.
19868 * manual/socket.texi: Likewise.
19869 * manual/startup.texi: Likewise.
19870 * manual/stdio.texi: Likewise.
19871 * manual/string.texi: Likewise.
19872 * manual/sysinfo.texi: Likewise.
19873 * manual/syslog.texi: Likewise.
19874 * manual/terminal.texi: Likewise.
19875 * manual/time.texi: Likewise.
19876 * manual/users.texi: Likewise.
19877 * INSTALL: Regenerated.
19878 * NOTES: Regenerated.
d40c5d54 19879 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19880
450bf206
AS
198812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19882
19883 * include/dirent.h: Include <dirstream.h> before
19884 <dirent/dirent.h>.
19885
741a235b
DM
198862012-02-28 David S. Miller <davem@davemloft.net>
19887
19888 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19889 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19890 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19891 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19892
d6b5aa58
DM
198932012-02-27 David S. Miller <davem@davemloft.net>
19894
1aff59a3
DM
19895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19897 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19898 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19899
d6b5aa58
DM
19900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19901 frame pointer instead of stack pointer relative arg slot.
19902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19903 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19904 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19905
433f48bf
CD
199062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19907
19908 [BZ #3992]
19909 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19910
d674b76d
DM
199112012-02-27 David S. Miller <davem@davemloft.net>
19912
19913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19917 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19918 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19919 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19920 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19921
0e7727f7
JM
199222012-02-27 Joseph Myers <joseph@codesourcery.com>
19923
19924 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19925 later. Allow versions 5-9.
43be4ca2 19926 * configure: Regenerated.
0e7727f7
JM
19927 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19928 required minimum version and 4.6 as recommended version. Do not
19929 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19930 * INSTALL: Regenerated.
0e7727f7 19931
a78bc654
DM
199322012-02-27 David S. Miller <davem@davemloft.net>
19933
428d5830
DM
19934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19938 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19939 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19940 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19941 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19942
a78bc654
DM
19943 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19944 manipulate bits before adding and subtracting TWO112[sx].
19945 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19946
4579f81c
RM
199472012-02-27 Roland McGrath <roland@hack.frob.com>
19948
36c8acb4
RM
19949 [BZ #13775]
19950 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19951 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19952 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19953 being in POSIX, because they are in 1003.1-2008.
19954
84ad622b
RM
19955 * rt/tst-aio.c: Include <fcntl.h>.
19956 * rt/tst-aio7.c: Likewise.
19957 * rt/tst-aio64.c: Likewise.
19958
4579f81c
RM
19959 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19960
abd923db
JM
199612012-02-27 Joseph Myers <joseph@codesourcery.com>
19962
19963 * manual/install.texi (--with-headers): Describe headers as
19964 interface headers, not private headers.
19965 (Specific advice for GNU/Linux systems): Describe use of headers
19966 from "make headers_install", not private headers from older
19967 kernels.
43be4ca2 19968 * INSTALL: Regenerated.
abd923db
JM
19969 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19970 Change to 2.6.19.
19971 * sysdeps/unix/sysv/linux/configure: Regenerated.
19972
6664049b
JM
19973 * manual/llio.texi (fclean): Remove documentation.
19974
bb8b6697
JM
19975 * manual/Makefile (libc-texi-generated): New variable. Include
19976 version.texi.
19977 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19978 $(libc-texi-generated), not duplicated list of files.
19979 (version.texi, stamp-version): New rules.
19980 (realclean): Remove $(libc-texi-generated), not individual files
19981 from that list. Do not remove dir-add.texinfo.
19982 * manual/libc.texinfo: Comment out uses of edition numbers and
19983 references to printed manual. Remove last-updated dates.
19984 (EDITION): Comment out.
19985 (ISBN): Likewise.
19986 (VERSION, UPDATED): Remove.
19987 (version.texi): Include.
19988
12e5c3b9
AS
199892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19990
19991 * sysdeps/posix/spawni.c: Include <signal.h>.
19992 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19993 * sysdeps/pthread/aio_fsync.c: Likewise.
19994
4efeffc1 199952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19996
ba63ba08
UD
19997 * conform/Makefile (tests): Run only when not cross-compiling and
19998 when fast-check is not defined.
19999
d94a4670
UD
20000 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20001 * conform/data/limits.h-data: Fixes for POSIX2008.
20002 * conform/run-conformtest.sh: Run all tests.
20003 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20004 headers.
20005 * include/bits/dlfcn.h: Likewise.
20006 * include/langinfo.h: Likewise.
20007 * include/monetary.h: Likewise.
20008 * include/sys/poll.h: Likewise.
20009
20010 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20011 for __USE_GNU.
20012 * posix/spawn.h: Define __need_sigset_t.
20013 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20014 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20015 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20016 to get sigevent_t only.
20017 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20018 only for __USE_GNU.
20019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20020 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20021 process_vm_writev only for __USE_GNU.
20022 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20023
20024 * conform/Makefile: For now ignore errors from run-conformtest.
20025 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20026 POSIX to avoid namespace pollution. Don't prepend headers.
20027 * conform/data/aio.h-data: Fixes for POSIX testing.
20028 * conform/data/fcntl.h-data: Likewise.
20029 * conform/data/glob.h-data: Likewise.
20030 * conform/data/grp.h-data: Likewise.
20031 * conform/data/pthread.h-data: Likewise.
20032 * conform/data/pwd.h-data: Likewise.
20033 * conform/data/signal.h-data: Likewise.
20034 * conform/data/spawn.h-data: Likewise.
20035 * conform/data/stdio.h-data: Likewise.
20036 * conform/data/stdlib.h-data: Likewise.
20037 * conform/data/stropts.h-data: Likewise.
20038 * conform/data/sys/mman.h-data: Likewise.
20039 * conform/data/sys/stat.h-data: Likewise.
20040 * conform/data/sys/types.h-data: Likewise.
20041 * conform/data/sys/wait.h-data: Likewise.
20042 * conform/data/time.h-data: Likewise.
20043 * conform/data/unistd.h-data: Likewise.
20044 * conform/data/utime.h-data: Likewise.
20045
20046 * io/sys/stat.h: fchmod was always in POSIX.
20047 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20048 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20049 * rt/aio.h: Define __need_timespec before including <time.h>.
20050 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20051 struct. Add forward declaration of pthread_attr_t and use it in
20052 sigevent.
20053 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20054 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20055 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20056 always remove CLK_TCK definition.
20057
c20105c3
AS
200582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20059
20060 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20061
7a270350
UD
200622012-02-25 Ulrich Drepper <drepper@gmail.com>
20063
31341567
UD
20064 * conform/run-conformtest.sh: New file.
20065 * conform/Makefile: Run run-conformtest for tests.
20066 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20067 support.
20068
20069 * conform/data/uchar.h-data: New file.
20070 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20071 * conform/data/arpa/inet.h-data: Likewise.
20072 * conform/data/assert.h-data: Likewise.
20073 * conform/data/complex.h-data: Likewise.
20074 * conform/data/cpio.h-data: Likewise.
20075 * conform/data/ctype.h-data: Likewise.
20076 * conform/data/dirent.h-data: Likewise.
20077 * conform/data/dlfcn.h-data: Likewise.
20078 * conform/data/errno.h-data: Likewise.
20079 * conform/data/fcntl.h-data: Likewise.
20080 * conform/data/float.h-data: Likewise.
20081 * conform/data/fmtmsg.h-data: Likewise.
20082 * conform/data/fnmatch.h-data: Likewise.
20083 * conform/data/ftw.h-data: Likewise.
20084 * conform/data/glob.h-data: Likewise.
20085 * conform/data/grp.h-data: Likewise.
20086 * conform/data/iconv.h-data: Likewise.
20087 * conform/data/inttypes.h-data: Likewise.
20088 * conform/data/langinfo.h-data: Likewise.
20089 * conform/data/libgen.h-data: Likewise.
20090 * conform/data/limits.h-data: Likewise.
20091 * conform/data/locale.h-data: Likewise.
20092 * conform/data/math.h-data: Likewise.
20093 * conform/data/monetary.h-data: Likewise.
20094 * conform/data/mqueue.h-data: Likewise.
20095 * conform/data/ndbm.h-data: Likewise.
20096 * conform/data/net/if.h-data: Likewise.
20097 * conform/data/netdb.h-data: Likewise.
20098 * conform/data/netinet/in.h-data: Likewise.
20099 * conform/data/nl_types.h-data: Likewise.
20100 * conform/data/poll.h-data: Likewise.
20101 * conform/data/pthread.h-data: Likewise.
20102 * conform/data/pwd.h-data: Likewise.
20103 * conform/data/regex.h-data: Likewise.
20104 * conform/data/sched.h-data: Likewise.
20105 * conform/data/search.h-data: Likewise.
20106 * conform/data/semaphore.h-data: Likewise.
20107 * conform/data/setjmp.h-data: Likewise.
20108 * conform/data/signal.h-data: Likewise.
20109 * conform/data/spawn.h-data: Likewise.
20110 * conform/data/stdarg.h-data: Likewise.
20111 * conform/data/stdio.h-data: Likewise.
20112 * conform/data/stdlib.h-data: Likewise.
20113 * conform/data/string.h-data: Likewise.
20114 * conform/data/strings.h-data: Likewise.
20115 * conform/data/stropts.h-data: Likewise.
20116 * conform/data/sys/ipc.h-data: Likewise.
20117 * conform/data/sys/mman.h-data: Likewise.
20118 * conform/data/sys/msg.h-data: Likewise.
20119 * conform/data/sys/resource.h-data: Likewise.
20120 * conform/data/sys/select.h-data: Likewise.
20121 * conform/data/sys/sem.h-data: Likewise.
20122 * conform/data/sys/shm.h-data: Likewise.
20123 * conform/data/sys/socket.h-data: Likewise.
20124 * conform/data/sys/stat.h-data: Likewise.
20125 * conform/data/sys/statvfs.h-data: Likewise.
20126 * conform/data/sys/time.h-data: Likewise.
20127 * conform/data/sys/timeb.h-data: Likewise.
20128 * conform/data/sys/times.h-data: Likewise.
20129 * conform/data/sys/types.h-data: Likewise.
20130 * conform/data/sys/uio.h-data: Likewise.
20131 * conform/data/sys/un.h-data: Likewise.
20132 * conform/data/sys/utsname.h-data: Likewise.
20133 * conform/data/sys/wait.h-data: Likewise.
20134 * conform/data/syslog.h-data: Likewise.
20135 * conform/data/tar.h-data: Likewise.
20136 * conform/data/termios.h-data: Likewise.
20137 * conform/data/utime.h-data: Likewise.
20138 * conform/data/utmpx.h-data: Likewise.
20139 * conform/data/varargs.h-data: Likewise.
20140 * conform/data/wchar.h-data: Likewise.
20141 * conform/data/wctype.h-data: Likewise.
20142 * conform/data/wordexp.h-data: Likewise.
20143
20144 * include/stropts.h: New file.
20145 * include/uchar.h: New file.
20146 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20147 * include/assert.h: Likewise.
20148 * include/ctype.h: Likewise.
20149 * include/dirent.h: Likewise.
20150 * include/dlfcn.h: Likewise.
20151 * include/fcntl.h: Likewise.
20152 * include/fnmatch.h: Likewise.
20153 * include/glob.h: Likewise.
20154 * include/grp.h: Likewise.
20155 * include/libio.h: Likewise.
20156 * include/locale.h: Likewise.
20157 * include/math.h: Likewise.
20158 * include/net/if.h: Likewise.
20159 * include/netdb.h: Likewise.
20160 * include/netinet/in.h: Likewise.
20161 * include/pthread.h: Likewise.
20162 * include/pwd.h: Likewise.
20163 * include/regex.h: Likewise.
20164 * include/sched.h: Likewise.
20165 * include/search.h: Likewise.
20166 * include/setjmp.h: Likewise.
20167 * include/signal.h: Likewise.
20168 * include/stdio.h: Likewise.
20169 * include/stdlib.h: Likewise.
20170 * include/string.h: Likewise.
20171 * include/sys/cdefs.h: Likewise.
20172 * include/sys/mman.h: Likewise.
20173 * include/sys/msg.h: Likewise.
20174 * include/sys/resource.h: Likewise.
20175 * include/sys/select.h: Likewise.
20176 * include/sys/socket.h: Likewise.
20177 * include/sys/stat.h: Likewise.
20178 * include/sys/statvfs.h: Likewise.
20179 * include/sys/time.h: Likewise.
20180 * include/sys/times.h: Likewise.
20181 * include/sys/uio.h: Likewise.
20182 * include/sys/utsname.h: Likewise.
20183 * include/sys/wait.h: Likewise.
20184 * include/termios.h: Likewise.
20185 * include/time.h: Likewise.
20186 * include/ulimit.h: Likewise.
20187 * include/unistd.h: Likewise.
20188 * include/utime.h: Likewise.
20189 * include/wchar.h: Likewise.
20190 * include/wctype.h: Likewise.
20191 * include/wordexp.h: Likewise.
20192
20193 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20194
7a270350
UD
20195 * time/time.h: TIME_UTC must be a macro.
20196 Make timespec_get available for ISO C11 only as well.
20197
7724defc
UD
201982012-02-24 Ulrich Drepper <drepper@gmail.com>
20199
20200 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20201 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20202
6b1d1d46
JM
202032012-02-24 Joseph Myers <joseph@codesourcery.com>
20204
20205 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20206
0f8bbd69
JM
202072012-02-24 Joseph Myers <joseph@codesourcery.com>
20208
20209 * manual/texinfo.tex: Update to version 2012-01-19.16.
20210
66ab80bc
JM
202112012-02-24 Joseph Myers <joseph@codesourcery.com>
20212
20213 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20214
74981cc5
RM
202152012-02-24 Roland McGrath <roland@hack.frob.com>
20216
ee968201
RM
20217 [BZ #13738]
20218 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20219 * manual/fdl-1.3.texi: New file.
20220 * manual/fdl-1.1.texi: File removed.
20221
74981cc5
RM
20222 [BZ #13738]
20223 * manual/libc.texinfo (FDL_VERSION): New @set.
20224 Use it for mention of FDL in cover text.
20225 (Documentation License): Use it in @include file name.
20226
7bb764bc
JM
202272012-02-22 Joseph Myers <joseph@codesourcery.com>
20228 Roland McGrath <roland@hack.frob.com>
20229
20230 [BZ #5461]
20231 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20232 not LONG_LONG_MAX and LONG_LONG_MIN.
20233 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20234 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20235 name.
20236 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20237
6cbeae47
JM
202382012-02-22 Joseph Myers <joseph@codesourcery.com>
20239
20240 [BZ #2547]
20241 [BZ #11365]
20242 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20243 manipulate bits before adding and subtracting TWO23[sx].
20244 * math/libm-test.inc (nearbyint_test): Add more tests.
20245
fe45ce09
JM
202462012-02-22 Joseph Myers <joseph@codesourcery.com>
20247
20248 [BZ #2548]
20249 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20250 bits before adding and subtracting TWO23[sx].
20251 * math/libm-test.inc (rint_test): Add more tests.
20252 (rint_test_tonearest): Likewise.
20253 (rint_test_towardzero): Likewise.
20254 (rint_test_downward): Likewise.
20255 (rint_test_upward: Likewise.
20256
ff3b3d82
JM
202572012-02-22 Joseph Myers <joseph@codesourcery.com>
20258
20259 [BZ #10110]
20260 * include/stdc-predef.h: New file. Extracted from features.h.
20261 * include/features.h: Include stdc-predef.h.
20262 * Makefile (headers): Add stdc-predef.h.
20263 * CONFORMANCE (Compiler limitations): Update.
20264
ef0aab35
JM
202652012-02-22 Joseph Myers <joseph@codesourcery.com>
20266
20267 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20268
58639409
DM
202692012-02-21 David S. Miller <davem@davemloft.net>
20270
20271 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20272 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20273
c0e70b25
DM
202742012-02-20 David S. Miller <davem@davemloft.net>
20275
20276 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20277 using a normal save/restore sequence, rather than allocating a
20278 dummy stack frame just to store a frame pointer and restore.
20279 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20280
fb06851d
JM
202812012-02-21 Joseph Myers <joseph@codesourcery.com>
20282
20283 * manual/install.texi: Fix stray word in line-wrapped comment.
20284
7a8b71c3
DM
202852012-02-20 David S. Miller <davem@davemloft.net>
20286
d510c123
DM
20287 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20288 both binutils and gcc support GOTDATA.
20289
0722d7c2
DM
20290 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20291 "rd %pc" in the PIC register setup sequences.
20292
3d2b3019
DM
20293 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20294 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20295 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20296 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20297 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20299 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20300 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20301 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20302 (SYSCALL_ERROR_HANDLER): Likewise.
20303 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20304 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20305 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20306 (SYSCALL_ERROR_HANDLER): Likewise.
20307
c80098a9
DM
20308 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20309 (HAVE_GCC_GOTDATA): New.
20310 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20311 relocation support in both binutils and gcc.
20312 * sysdeps/sparc/elf/configure: Regenerate.
20313
3a2545a0
DM
20314 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20315 * sysdeps/sparc/sparc32/elf/configure: Delete.
20316 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20317 * sysdeps/sparc/sparc64/elf/configure: Delete.
20318 * sysdeps/sparc/elf/configure.in: New file.
20319 * sysdeps/sparc/elf/configure: Generate.
20320
7a8b71c3
DM
20321 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20322 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20323 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20324 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20325 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20326
f1e86fca
JM
203272012-02-21 Joseph Myers <joseph@codesourcery.com>
20328
20329 * manual/install.texi: Do not mention specific glibc version
20330 numbers.
20331 * manual/libc.texinfo (VERSION, UPDATED): Update.
20332 (@copying): Use @copyright{} and range of years.
20333
0e7dfaef
JM
203342012-02-21 Joseph Myers <joseph@codesourcery.com>
20335
20336 [BZ #13695]
20337 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20338 [crti.S not in sysdirs] (generated): Do not append.
20339 [crti.S not in sysdirs] (omit-deps): Likewise.
20340 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20341 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20342 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20343 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20344 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20345 Likewise.
20346 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20347 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20348 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20349 * csu/defs.awk: Remove file.
20350 * sysdeps/generic/initfini.c: Likewise.
20351 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20352 variable.
20353 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20354 Likewise.
20355
599af3ca
JM
203562012-02-20 Joseph Myers <joseph@codesourcery.com>
20357
20358 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20359 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20360 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20361 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20362 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20363 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20364 <bits/epoll.h>.
20365 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20366 (__EPOLL_PACKED): Define to empty if not defined by
20367 <bits/epoll.h>.
20368 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20370 bits/epoll.h.
20371
0e499750
JM
203722012-02-20 Joseph Myers <joseph@codesourcery.com>
20373
20374 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20375 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20376 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20377 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20378 <bits/timerfd.h>.
20379 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20381 bits/timerfd.h.
20382
5ad91f6e
JM
203832012-02-20 Joseph Myers <joseph@codesourcery.com>
20384
20385 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20386 in C locale.
20387 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20388 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20389 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20391
06b99b02
AJ
203922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20393
20394 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20395 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20396
7638c0fd
AS
203972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20398
20399 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20400 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20401 defined.
20402 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20403 Likewise.
20404 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20405 entry for 2.16.
20406
92221550
AJ
204072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20408
20409 * math/w_acos.c: Use non-signaling floating-point comparisons.
20410 * math/w_acosf.c: Likewise.
20411 * math/w_acosh.c: Likewise.
20412 * math/w_acoshf.c: Likewise.
20413 * math/w_acoshl.c: Likewise.
20414 * math/w_acosl.c: Likewise.
20415 * math/w_asin.c: Likewise.
20416 * math/w_asinf.c: Likewise.
20417 * math/w_asinl.c: Likewise.
20418 * math/w_atanh.c: Likewise.
20419 * math/w_atanhf.c: Likewise.
20420 * math/w_atanhl.c: Likewise.
20421 * math/w_exp2.c: Likewise.
20422 * math/w_exp2f.c: Likewise.
20423 * math/w_exp2l.c: Likewise.
20424 * math/w_j0.c: Likewise.
20425 * math/w_j0f.c: Likewise.
20426 * math/w_j0l.c: Likewise.
20427 * math/w_j1.c: Likewise.
20428 * math/w_j1f.c: Likewise.
20429 * math/w_j1l.c: Likewise.
20430 * math/w_jn.c: Likewise.
20431 * math/w_jnf.c: Likewise.
20432 * math/w_log.c: Likewise.
20433 * math/w_log10.c: Likewise.
20434 * math/w_log10f.c: Likewise.
20435 * math/w_log10l.c: Likewise.
20436 * math/w_log2.c: Likewise.
20437 * math/w_log2f.c: Likewise.
20438 * math/w_log2l.c: Likewise.
20439 * math/w_logf.c: Likewise.
20440 * math/w_logl.c: Likewise.
20441 * math/w_sqrt.c: Likewise.
20442 * math/w_sqrtf.c: Likewise.
20443 * math/w_sqrtl.c: Likewise.
20444 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20445 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20446 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20447 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20448 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20449
ebaf36eb
JM
204502012-02-19 Joseph Myers <joseph@codesourcery.com>
20451
20452 [BZ #9739]
20453 * manual/string.texi (strnlen): Use correct parameter name in
20454 equivalent expression.
20455
71c254a6
JM
204562012-02-19 Joseph Myers <joseph@codesourcery.com>
20457
20458 [BZ #11174]
20459 * manual/users.texi (seteuid): Consistently use neweuid for
20460 argument name.
20461
16d2c631
JM
204622012-02-19 Joseph Myers <joseph@codesourcery.com>
20463
20464 [BZ #13704]
20465 * manual/nss.texi (Services in the NSS configuration): Correct
20466 list of services in example configuration file.
20467
cd837b09
NB
204682012-02-19 Nick Bowler <nbowler@draconx.ca>
20469
20470 [BZ #11322]
20471 * manual/arith.texi: Remove statements about negative zero
20472 behaving identically to zero.
20473
02c4bbad
JM
204742012-02-18 Joseph Myers <joseph@codesourcery.com>
20475
20476 [BZ #5993]
20477 * manual/install.texi: Do not document upgrading from libc5.
20478
366842e7
JM
204792012-02-18 Joseph Myers <joseph@codesourcery.com>
20480
20481 [BZ #4596]
20482 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20483
dd54084d
DM
204842012-02-18 David S. Miller <davem@davemloft.net>
20485
20486 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20487 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20488 %o7 across the call.
20489 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20490 instead.
20491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20492 SETUP_PIC_REG_LEAF.
20493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20494 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20495 * sysdeps/sparc/crtn.S: Likewise.
20496
2bcc53a3
UD
204972012-02-17 Ulrich Drepper <drepper@gmail.com>
20498
20499 * aout/Makefile: Remove.
20500
09c093b5
RK
205012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20502
20503 [BZ #13058]
20504 * manual/examples/argp-ex1.c (main): Format definition in GNU
20505 style.
20506 * manual/examples/argp-ex2.c (main): Likewise.
20507 * manual/examples/argp-ex3.c (main): Likewise.
20508 * manual/examples/argp-ex4.c (main): Likewise.
20509 * manual/examples/longopt.c (main): Use new-style prototype
20510 definition.
20511 * manual/examples/strncat.c (main): Specify return type and use
20512 (void) for arguments.
20513 * manual/examples/subopt.c (main): Use char **argv argument.
20514
2ee633a2
JM
205152012-02-17 Joseph Myers <joseph@codesourcery.com>
20516
20517 [BZ #5077]
20518 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20519 rounding modes.
20520
0520adde
FB
205212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20522
20523 [BZ #6907]
20524 * manual/string.texi (strchr): Change when strchrnul is
20525 recommended.
20526
3f4081cd
DGM
205272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20528
20529 [BZ #174]
20530 * manual/locale.texi (setlocale): Document LOCPATH.
20531
d1b10e78
JM
205322012-02-17 Joseph Myers <joseph@codesourcery.com>
20533
20534 [BZ #10210]
20535 * manual/process.texi (execle): Move @dots{} before last argument.
20536
79c6869c
PB
205372012-02-17 Paul Bolle <pebolle@tiscali.nl>
20538
20539 [BZ #12047]
20540 * manual/charset.texi (Generic Charset Conversion): Fix typo
20541 (LC_TYPE -> LC_CTYPE).
20542
cc6e48bc
NB
205432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20544
20545 [BZ #5805]
20546 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20547 (scalbnf): Likewise.
20548 (scalbnl): Likewise.
20549 (scalbln): Likewise.
20550 (scalblnf): Likewise.
20551 (scalblnl): Likewise.
20552 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20553 (vwarnx): Likewise.
20554 (verr): Likewise.
20555 (verrx): Likewise.
20556 * manual/filesys.texi (telldir): Use braces around return type.
20557 * manual/llio.texi (mmap): Add space after comma.
20558 (mmap64): Likewise.
20559 * manual/math.texi (jn): Use @var{} on parameter names.
20560 (jnf): Likewise.
20561 (jnl): Likewise.
20562 (yn): Likewise.
20563 (ynf): Likewise.
20564 (ynl): Likewise.
20565 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20566 line.
20567 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20568 "...".
20569 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20570 (sched_get_priority_max): Likewise.
20571 * manual/signal.texi (sigvec): Add space after comma.
20572 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20573 names.
20574 (if_indextoname): Likewise.
20575 (if_freenameindex): Likewise.
20576 (sendto): Use ',' instead of '.' in prototype.
20577 * manual/startup.texi (syscall): Use @dots{} instead of literal
20578 "...".
20579 * manual/stdio.texi (__fpending): Separate initial words of
20580 paragraph from @deftypefun line.
20581 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20582 "...".
20583 (vsyslog): Use @var{} on parameter names.
20584 * manual/terminal.texi (stty): Use @var{} on parameter names.
20585 * manual/users.texi (getutmp): Use @var{} on parameter names.
20586 (getutmpx): Likewise.
20587
5b23062f
JM
205882012-02-17 Joseph Myers <joseph@codesourcery.com>
20589
20590 [BZ #6884]
20591 * manual/stdio.texi (fopen): Fix typos in description of
20592 ",ccs=STRING".
20593
8dee4833
AJ
205942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20595
20596 [BZ #4026]
20597 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20598 get clock_id definition.
20599
9078ce93
TS
206002012-02-17 Thomas Schwinge <thomas@schwinge.name>
20601
20602 [BZ #4822]
20603 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20604 (madvise): Cast every argument to void on its own.
20605
3835c55f
JM
206062012-02-17 Joseph Myers <joseph@codesourcery.com>
20607
20608 [BZ #9902]
20609 * manual/startup.texi (Exit Status): Fix typo.
20610
35c47e37
JM
206112012-02-17 Joseph Myers <joseph@codesourcery.com>
20612
20613 [BZ #10140]
20614 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20615 * manual/examples/argp-ex2.c: Likewise.
20616 * manual/examples/argp-ex3.c: Likewise.
20617
e3b69ca7
RH
206182012-02-16 Richard Henderson <rth@redhat.com>
20619
20620 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20621 * sysdeps/s390/s390-32/initfini.c: Remove.
20622 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20623 * sysdeps/s390/s390-64/initfini.c: Remove.
20624
df83af67
KK
206252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20626
20627 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20628 compiler output for sysdeps/generic/initfini.c.
20629 * sysdeps/sh/elf/initfini.c: Remove file.
20630
f63f3380
DM
206312012-02-16 David S. Miller <davem@davemloft.net>
20632
fb59b3a4
DM
20633 [BZ #11494]
20634 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20635
f63f3380
DM
20636 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20637 * sysdeps/sparc/crti.S: New file.
20638 * sysdeps/sparc/crtn.S: New file.
20639 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20640 * sysdeps/sparc/sparc64/Makefile: Likewise.
20641
df6a4a4a
MF
206422012-02-15 Mike Frysinger <vapier@gentoo.org>
20643
6dd8f3dc 20644 [BZ #3335]
df6a4a4a
MF
20645 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20646
1cac7236
RM
206472012-02-15 Roland McGrath <roland@hack.frob.com>
20648
d2c736f8
RM
20649 [BZ #4822]
20650 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20651
1cac7236
RM
20652 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20653 (write, read, close): Likewise.
20654 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20655
8e475601
JM
206562012-02-15 Joseph Myers <joseph@codesourcery.com>
20657
20658 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20659 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20660 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20661 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20662 <bits/signalfd.h>.
20663 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20665 bits/signalfd.h.
20666
ed656b40
MP
206672012-02-14 Marek Polacek <polacek@redhat.com>
20668
20669 * sysdeps/x86_64/crti.S: New file.
20670 * sysdeps/x86_64/crtn.S: New file.
20671 * sysdeps/x86_64/elf/initfini.c: Remove file.
20672
2a979d3a
JM
206732012-02-13 Joseph Myers <joseph@codesourcery.com>
20674
20675 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20676 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20677 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20678 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20679 <bits/inotify.h>.
20680 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20682 bits/inotify.h.
20683
2a418ac3
JM
206842012-02-13 Joseph Myers <joseph@codesourcery.com>
20685
20686 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20687 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20688 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20689 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20690 <bits/eventfd.h>.
20691 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20693 bits/eventfd.h.
20694
fb779be7
TS
206952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20696
e19e83c5
RM
20697 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20698 __feraiseexcept instead of feraiseexcept.
7c35ffed 20699
fb779be7
TS
20700 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20701 nanosleep invocations.
20702 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20703 strings, and add error checking for a nanosleep invocations.
20704
59ba27a6
PE
207052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20706
20707 Replace FSF snail mail address with URLs, as per GNU coding standards.
20708 Most of the snail mail addresses were wrong anyway, and omitting
20709 them makes the source code easier to maintain. Almost all of the
20710 changes are to license notices and to locale LC_IDENTIFICATION
20711 addresses, except for this one:
20712 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20713 not its snail mail address.
20714
57b957eb
RH
207152012-02-09 Richard Henderson <rth@twiddle.net>
20716
af850b1c
RH
20717 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20718 of kernel-features.h.
20719
57b957eb
RH
20720 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20721
6b73181a
MP
207222012-02-08 Marek Polacek <polacek@redhat.com>
20723
20724 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20725 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20726 * sysdeps/gnu/_G_config.h: Likewise.
20727 * sysdeps/generic/_G_config.h: Likewise.
20728
26ecc33a
AS
207292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20730
6c6dbc63
AS
20731 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20732 tests.
20733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20734
e216c012
AS
20735 * sysdeps/powerpc/powerpc32/crti.S: New file.
20736 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20737 * sysdeps/powerpc/powerpc64/crti.S: New file.
20738 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20739
26ecc33a
AS
20740 * Makeconfig (have-initfini): Don't set.
20741 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20742 * configure.in (nopic_initfini): Don't substitute.
20743 * config.h.in (HAVE_INITFINI): Don't #undef.
20744 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20745 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20746
3add8e13
JM
207472012-02-08 Joseph Myers <joseph@codesourcery.com>
20748
20749 Support crti.S and crtn.S provided directly by architectures.
20750 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20751 [crti.S in sysdirs] (omit-deps): Likewise.
20752 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20753 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20754 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20755 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20756 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20757 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20758 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20759 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20760 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20761 compiler output for sysdeps/generic/initfini.c.
20762 * sysdeps/i386/elf/Makefile: Remove file.
20763 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20764
a22f12b4
MP
207652012-02-07 Marek Polacek <polacek@redhat.com>
20766
20767 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20768 * sysdeps/gnu/_G_config.h: Likewise.
20769 * sysdeps/mach/hurd/_G_config.h: Likewise.
20770
148cf100
MP
207712012-02-07 Marek Polacek <polacek@redhat.com>
20772
20773 * math/Makefile (tests): Add tst-CMPLX2.
20774 * math/tst-CMPLX2.c: New file.
20775
cfdc0dd7
AS
207762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20777
84ba42c4
AS
20778 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20779
cfdc0dd7
AS
20780 * math/libm-test.inc (jn_test): Add missing L suffix.
20781
622c86f4
MP
207822012-02-06 Marek Polacek <polacek@redhat.com>
20783
20784 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20785 * sysdeps/i386/fpu/e_powf.S: Likewise.
20786 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20787 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20788 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20789 * sysdeps/i386/fpu/e_pow.S: Likewise.
20790 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20791 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20792 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20793 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20794 * sysdeps/i386/fpu/e_log2.S: Likewise.
20795 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20796 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20797 * sysdeps/i386/fpu/e_powl.S: Likewise.
20798 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20799 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20800 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20801 * sysdeps/i386/fpu/e_logl.S: Likewise.
20802 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20803 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20804 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20805 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20806 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20807 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20808 * sysdeps/i386/fpu/e_log.S: Likewise.
20809 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20810 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20811 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20812 * sysdeps/i386/fpu/e_logf.S: Likewise.
20813 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20814 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20815 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20816 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20817 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20818 * sysdeps/i386/fpu/e_log10.S: Likewise.
20819 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20820 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20821 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20822 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20823 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20824 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20825 * sysdeps/i386/asm-syntax.h: Likewise.
20826 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20827 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20828 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20829 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20830 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20831 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20832 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20833 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20834 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20835 * sysdeps/powerpc/sysdep.h: Likewise.
20836 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20837 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20838
d4a54ac6
JM
208392012-02-06 Joseph Myers <joseph@codesourcery.com>
20840
20841 [BZ #411]
20842 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20843
314054ea
JM
208442012-02-06 Joseph Myers <joseph@codesourcery.com>
20845
20846 * sysdeps/i386/sysdep.h: Include <features.h>.
20847 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20848 version.
20849
d8e0ca50
JM
208502012-02-05 Joseph Myers <joseph@codesourcery.com>
20851
20852 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20853 Define.
20854 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20855 LOAD_PIC_REG_STR.
20856
b1da7dd9
JM
208572012-02-03 Joseph Myers <joseph@codesourcery.com>
20858
20859 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20860 (SETUP_PIC_REG): Use GET_PC_THUNK.
20861 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20862 macro.
20863
9a1d9254
JM
208642012-02-03 Joseph Myers <joseph@codesourcery.com>
20865
20866 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20867 for non-PIC compilation.
20868 (SETUP_PIC_REG): Add .p2align directive.
20869 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20870 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20871 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20872 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20873 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20874 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20875 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20876 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20877 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20878 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20879 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20880 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20881 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20882 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20883 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20884 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20885 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20886 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20887 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20888 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20889 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20890 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20891 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20892 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20894 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20895 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20896 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20897 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20898 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20899 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20900 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20901 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20902 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20903 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20904 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20905 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20906 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20907 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20908 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20909 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20910
65dc3b75
JM
209112012-02-03 Joseph Myers <joseph@codesourcery.com>
20912
20913 * math/tst-CMPLX.c: Include <stdio.h>.
20914
d55bf177
JM
209152012-01-31 Joseph Myers <joseph@codesourcery.com>
20916
20917 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20918 float.
20919 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20920 * sysdeps/sparc/bits/mathdef.h: Likewise.
20921
69db4f8f
MP
209222012-01-31 Marek Polacek <polacek@redhat.com>
20923
20924 * libio/libio.h: Don't define _PARAMS.
20925 * locale/programs/config.h: Don't define PARAMS.
20926 * stdlib/strtol_l.c: Likewise.
20927 (__strtol_l): Remove PARAMS from the prototype.
20928
41b81892
UD
209292012-01-31 Ulrich Drepper <drepper@gmail.com>
20930
3b49edc0
UD
20931 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20932 names. Just use the correct names. Remove unnecessary wrapper
20933 functions.
20934 * malloc/arena.c: Likewise.
20935 * malloc/hooks.c: Likewise.
20936
41b81892
UD
20937 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20938 ARENA_TEST says not to. Simplify test for creation of a new arena.
20939 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20940
27a25b6e
UD
209412012-01-30 Ulrich Drepper <drepper@gmail.com>
20942
20943 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20944 into tail calls.
20945 (update_get_addr): New function.
20946 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20947 GET_ADDR_MODULE parameter.
20948
c8a89e7d
JM
209492012-01-30 Joseph Myers <joseph@codesourcery.com>
20950
20951 * crypt/cert.c: Remove __STDC__ conditionals.
20952 * crypt/crypt-entry.c: Likewise.
20953 * crypt/crypt_util.c: Likewise.
20954 * libio/filedoalloc.c: Likewise.
20955 * libio/fileops.c: Likewise.
20956 * libio/genops.c: Likewise.
20957 * libio/iofclose.c: Likewise.
20958 * libio/iofdopen.c: Likewise.
20959 * libio/iofopen.c: Likewise.
20960 * libio/iofopen64.c: Likewise.
20961 * libio/iogetdelim.c: Likewise.
20962 * libio/iopopen.c: Likewise.
20963 * libio/obprintf.c: Likewise.
20964 * libio/oldfileops.c: Likewise.
20965 * libio/oldiofclose.c: Likewise.
20966 * libio/oldiofdopen.c: Likewise.
20967 * libio/oldiofopen.c: Likewise.
20968 * libio/oldiopopen.c: Likewise.
20969 * libio/wfiledoalloc.c: Likewise.
20970 * libio/wgenops.c: Likewise.
20971 * locale/programs/xmalloc.c: Likewise.
20972 * misc/syslog.c: Likewise.
20973 * stdio-common/xbug.c: Likewise.
20974 * string/memchr.c: Likewise.
20975 * string/memcmp.c: Likewise.
20976 * string/memrchr.c: Likewise.
20977 * string/rawmemchr.c: Likewise.
20978 * sysdeps/posix/getcwd.c: Likewise.
20979 * time/strftime_l.c: Likewise.
20980
3b100462
JM
209812012-01-30 Joseph Myers <joseph@codesourcery.com>
20982
20983 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20984 * config.make.in (config-cflags-sse2avx): Define.
20985 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20986 Fix typo.
20987
607998af
CM
209882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20989
20990 * scripts/config.guess: Update from upstream config git repository.
20991 * scripts/config.sub: Likewise.
20992
3601428f
CM
209932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20994
3ac8b282
CM
20995 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20996 (EM_NUM): Update.
20997 (R_TILEPRO_*, R_TILEGX_*): New macros.
20998
e034841e
CM
20999 * scripts/firstversions.awk: Fix bug in version range handling.
21000
540d7568
CM
21001 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21002
3601428f
CM
21003 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21004
463de862
CM
21005 * include/sys/epoll.h: New file.
21006 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21007 libc_hidden_def.
21008
73139a76
UD
210092012-01-28 Ulrich Drepper <drepper@gmail.com>
21010
96bc5b45
UD
21011 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21012 Avoid unnecessary __WORDSIZE == 64 test.
21013 (fmaxf): Use VEX format if possible.
21014 (fmax): Likewise.
21015 (fminf): Likewise.
21016 (fmin): Likewise.
21017
56f6f6a2
UD
21018 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21019 * math/math_private.h: Remove libc_fegetround* and
21020 libc_fesetround*.
21021 * sysdeps/i386/configure.in: Check for -msse2avx.
21022 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21023 also if SSE2AVX is defined.
21024 Remove libc_fegetround* and libc_fesetround*.
21025 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21026 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21027 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21028 of HAS_YMM_USABLE.
21029 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21030 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21031 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21032 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21033 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21034
73139a76
UD
21035 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21036
d73f93a4
AZ
210372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21038
21039 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21040 size is not set.
21041 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21042
6ee65ed6
UD
210432012-01-27 Ulrich Drepper <drepper@gmail.com>
21044
21045 [BZ #13618]
21046 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21047 relocation.
21048 * Makeconfig (libm): Define.
21049 * elf/Makefile: Add rules to build and run tst-relsort1.
21050 * elf/tst-relsort1.c: New file.
21051 * elf/tst-relsort1mod1.c: New file.
21052 * elf/tst-relsort1mod2.c: New file.
21053
8db21882
JM
210542012-01-27 Joseph Myers <joseph@codesourcery.com>
21055
21056 * math/s_ldexp.c: Remove __STDC__ conditionals.
21057 * math/s_ldexpf.c: Likewise.
21058 * math/s_ldexpl.c: Likewise.
21059 * math/s_nextafter.c: Likewise.
21060 * math/s_nexttowardf.c: Likewise.
21061 * math/s_significand.c: Likewise.
21062 * math/s_significandf.c: Likewise.
21063 * math/s_significandl.c: Likewise.
21064 * math/w_jnl.c: Likewise.
21065 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21066 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21067 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21068 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21069 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21070 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21071 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21072 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21073 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21074 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21075 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21076 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21077 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21078 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21079 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21080 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21081 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21082 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21084 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21085 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21086 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21087 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21088 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21089 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21090 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21091 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21092 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21093 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21094 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21095 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21096 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21097 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21098 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21099 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21100 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21101 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21102 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21103 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21104 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21105 * sysdeps/ieee754/k_standard.c: Likewise.
21106 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21107 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21108 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21109 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21110 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21111 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21112 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21113 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21114 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21115 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21116 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21124 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21125 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21128 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21129 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21130 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21131 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21132 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21133 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21136 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21137 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21138 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21140 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21141 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21142 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21143 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21144 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21145 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21146 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21147 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21148 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21149 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21151 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21153 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21154 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21155 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21156 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21157 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21158 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21159 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21160 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21161 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21167 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21170 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21171 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21172 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21174 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21176 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21177 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21180 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21181 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21182 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21185 * sysdeps/ieee754/s_matherr.c: Likewise.
21186 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21187 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21188 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21189 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21190
965a54a4
JM
211912012-01-26 Joseph Myers <joseph@codesourcery.com>
21192
21193 * crypt/md5.h: Remove __STDC__ conditionals.
21194 * libio/libioP.h: Likewise.
21195 * locale/programs/config.h: Likewise.
21196 * sysdeps/generic/sysdep.h: Likewise.
21197 * sysdeps/i386/asm-syntax.h: Likewise.
21198 * sysdeps/s390/asm-syntax.h: Likewise.
21199 * sysdeps/unix/sysdep.h: Likewise.
21200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21202
7071ad79
JM
212032012-01-26 Joseph Myers <joseph@codesourcery.com>
21204
21205 * libio/libio.h: Remove __STDC__ conditionals.
21206 * malloc/obstack.h: Likewise.
21207 * math/complex.h: Likewise.
21208 * math/math.h: Likewise.
21209 * sysdeps/generic/_G_config.h: Likewise.
21210 * sysdeps/gnu/_G_config.h: Likewise.
21211 * sysdeps/mach/hurd/_G_config.h: Likewise.
21212 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21213 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21214 * sysdeps/sparc/bits/mathdef.h: Likewise.
21215
afc5ed09
UD
212162012-01-26 Ulrich Drepper <drepper@gmail.com>
21217
21218 [BZ #13583]
21219 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21220 Clean up HAS_* macros.
afc5ed09 21221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21222 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21223 possible.
21224 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21225 HAS_AVX.
21226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21227 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21228 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21231
bdb6de1d
JM
212322012-01-25 Joseph Myers <joseph@codesourcery.com>
21233
21234 * elf/tst-unique3.cc (gets): Remove declaration.
21235 * elf/tst-unique3lib.cc (gets): Likewise.
21236 * elf/tst-unique3lib2.cc (gets): Likewise.
21237 * elf/tst-unique4.cc (gets): Likewise.
21238
b15549e6
UD
212392012-01-24 Ulrich Drepper <drepper@gmail.com>
21240
21241 * include/stdio.h: Add C++ protection. Add gets declarations and
21242 definitions.
21243 * debug/tst-chk1.c: Don't declare gets here.
21244 * stdio-common/tst-gets.c: Likewise.
21245
a037381f
JM
212462012-01-24 Joseph Myers <joseph@codesourcery.com>
21247
21248 * posix/glob: Remove directory.
21249
f1d4aa75
JM
212502012-01-24 Joseph Myers <joseph@codesourcery.com>
21251
21252 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21253
81c0c964
PT
212542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21255
21256 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21257 of the non-standard EPFNOSUPPORT.
21258
0ea698ae
ST
212592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21260
21261 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21262 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21263 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21264
d220b117
UD
212652012-01-21 Ulrich Drepper <drepper@gmail.com>
21266
21267 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21268
3e1aa84e
UD
212692012-01-20 Ulrich Drepper <drepper@gmail.com>
21270
21271 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21272 transient errors.
21273 * nscd/grpcache.c (cache_addgr): Likewise.
21274 * nscd/hstcache.c (cache_addhst): Likewise.
21275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21276 * nscd/pwdcache.c (cache_addpw): Likewise.
21277 * nscd/servicescache.c (cache_addserv): Likewise.
21278
400aa020
UD
212792012-01-16 Ulrich Drepper <drepper@gmail.com>
21280
d77e7869
UD
21281 * malloc/malloc.c: Various cleanups.
21282 * malloc/hooks.c: Likewise.
21283
400aa020
UD
21284 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21285 * stdlib/bug-fmtmsg1.c: New file.
21286
21287 * stdlib/fmtmsg.c (init): Add missing unlock.
21288 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21289
e0a309cf
MP
212902012-01-12 Marek Polacek <polacek@redhat.com>
21291
21292 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21293 and _GNU_SOURCE.
21294
929d11c7
WS
212952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21296
21297 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21298 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21299 macro to ensure uniqueness of label name.
21300 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21301 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21302
41d0e869
UD
213032012-01-11 Ulrich Drepper <drepper@gmail.com>
21304
0cc5ed3b
UD
21305 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21306
41d0e869
UD
21307 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21308 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21309 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21310 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21311
a47a831a
UD
213122012-01-10 Ulrich Drepper <drepper@gmail.com>
21313
daa891c0
UD
21314 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21315
21316 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21317 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21318 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21319
e58ef0f2
UD
21320 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21321
a47a831a 21322 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21323 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21324 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21325 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21326
21327 * math/bits/math-finite.h: Add ldexp support.
21328
a0bfc9c7
MP
213292012-01-10 Marek Polacek <polacek@redhat.com>
21330
21331 * locale/programs/localedef.h (show_archive_content): Add noreturn
21332 attribute.
21333
d6e97a1d
UD
213342012-01-09 Ulrich Drepper <drepper@gmail.com>
21335
21336 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21337
d5835c26
UD
213382012-01-08 Ulrich Drepper <drepper@gmail.com>
21339
e5f484c6
UD
21340 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21341
d5835c26
UD
21342 * io/Makefile (headers): Add bits/poll2.h.
21343
d1f741e9
WS
213442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21345
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21347 typo #include statement.
21348
ec09c1c4
UD
213492012-01-08 Ulrich Drepper <drepper@gmail.com>
21350
21351 * include/sys/cdefs.h: Define __attribute_alloc_size.
21352 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21353 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21354 * elf/pldd.c: Likewise.
21355 * iconv/iconv_charmap.c: Likewise.
21356 * iconv/iconvconfig.c: Likewise.
21357 * iconv/strtab.c: Likewise.
21358 * locale/programs/locale.c: Likewise.
21359 * locale/programs/localedef.h: Likewise.
21360 * locale/programs/simple-hash.c: Likewise.
21361 * nscd/nscd.h: Likewise.
21362 * nss/makedb.c: Likewise.
21363 * sysdeps/generic/ldconfig.h: Likewise.
21364 * locale/programs/localedef.c: Remove xmalloc prototype.
21365 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21366
20b38e03
PP
213672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21368
21369 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21370 appropriate.
21371
a0da5fe1
UD
213722012-01-08 Ulrich Drepper <drepper@gmail.com>
21373
1d5a644a 21374 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21375 * math/tst-CMPLX.c: New file.
1d5a644a 21376
8784a6db
UD
21377 * math/complex.h (CMPLXL): Fix typo.
21378
d9a216c0
UD
21379 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21380 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21381 GLIBC_2.16.
21382 * debug/tst-chk1.c: Add poll and ppoll tests.
21383 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21384 * include/sys/poll.h: Add hidden proto for ppoll.
21385 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21386 * sysdeps/mach/hurd/ppoll.c: Likewise.
21387 * io/ppoll.c: Likewise.
21388 * debug/poll_chk.c: New file.
21389 * debug/ppoll_chk.c: New file.
21390 * include/bits/poll2.h: New file.
21391 * io/bits/poll2.h: New file.
21392
ac097f5c
UD
21393 [BZ #1350]
21394 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21395
2119dcfa
UD
21396 * configure.in: static is always set to yes. Remove.
21397 * config.make.in: Don't set build-static.
21398 * Makeconfig: Remove use of build-static.
21399 * dlfcn/Makefile: Likewise.
21400 * elf/Makefile: Likewise.
21401 * math/Makefile: Likewise.
21402 * misc/Makefile: Likewise.
21403 * nptl/Makefile: Likewise.
21404 * sysdeps/mach/hurd/Makefile: Likewise.
21405
121766a9
UD
21406 * configure.in: PWD_P is not used anymore.
21407 * config.make.in: Remove PWD_P entry.
21408
51a1d39c 21409 * configure.in: Remove last remnants of RANLIB.
8720d066 21410 No need to check for signed size_t anymore.
215f4bdc
UD
21411 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21412 and IA-64.
3857022a 21413 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21414 * aclocal.m4: Likewise.
21415
d3ed7225
UD
21416 * wcsmbs/mbrtoc16.c: Implement using towc function.
21417 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21418 * wcsmbs/wcsmbsload.c: Likewise.
21419 * iconv/gconv_simple.c: Likewise.
21420 * iconv/gconv_int.h: Likewise.
21421 * iconv/gconv_builtin.h: Likewise.
21422 * iconv/iconv_prog.c: Remove CHAR16 handling.
21423
21424 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21425
21426 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21427
a0da5fe1
UD
21428 * configure.in: Remove --with-elf and --enable-bounded options.
21429 Dont set base_machine for ia64. More non-ELF conditions removed.
21430 Remove testing and setting of leading underscore information.
21431 * config.make.in (build-bounded): Set to no.
21432 * config.h.in: Remove NO_UNDERSCORES entry.
21433 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21434 them.
21435 * csu/start.c: Remove !NO_UNDERSCORE code.
21436 * locale/localeinfo.h: Likewise.
21437 * sysdeps/generic/machine-gmon.h: Likewise.
21438 * sysdeps/generic/sysdep.h: Likewise.
21439 * sysdeps/i386/sysdep.h: Likewise.
21440 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21441 * sysdeps/mach/sysdep.h: Likewise.
21442 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21443 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21444 * sysdeps/sh/sysdep.h: Likewise.
21445 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21446 * sysdeps/unix/i386/sysdep.S: Likewise.
21447 * sysdeps/unix/sparc/start.c: Likewise.
21448 * sysdeps/unix/sparc/sysdep.S: Likewise.
21449 * sysdeps/unix/sparc/sysdep.h: Likewise.
21450 * sysdeps/unix/start.c: Likewise.
21451 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21452 * sysdeps/x86_64/sysdep.h: Likewise.
21453
df78418a
UD
214542012-01-07 Ulrich Drepper <drepper@gmail.com>
21455
a784e502
UD
21456 [BZ #13553]
21457 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21458 for non-gcc.
21459 * argp/argp-fmtstream.h: Use const instead __const.
21460 * argp/argp.h: Likewise.
21461 * assert/assert.h: Likewise.
21462 * bits/fenv.h: Likewise.
21463 * bits/sched.h: Likewise.
21464 * bits/sigset.h: Likewise.
21465 * bits/sigthread.h: Likewise.
21466 * catgets/nl_types.h: Likewise.
21467 * conform/data/pthread.h-data: Likewise.
21468 * crypt/crypt-private.h: Likewise.
21469 * crypt/crypt.h: Likewise.
21470 * crypt/crypt_util.c: Likewise.
21471 * ctype/ctype.h: Likewise.
21472 * debug/execinfo.h: Likewise.
21473 * debug/mbsnrtowcs_chk.c: Likewise.
21474 * debug/mbsrtowcs_chk.c: Likewise.
21475 * debug/wcsnrtombs_chk.c: Likewise.
21476 * debug/wcsrtombs_chk.c: Likewise.
21477 * debug/wcstombs_chk.c: Likewise.
21478 * dirent/dirent.h: Likewise.
21479 * dlfcn/dlfcn.h: Likewise.
21480 * elf/neededtest4.c: Likewise.
21481 * grp/grp.h: Likewise.
21482 * gshadow/gshadow.h: Likewise.
21483 * iconv/gconv.h: Likewise.
21484 * iconv/gconv_int.h: Likewise.
21485 * iconv/gconv_simple.c: Likewise.
21486 * iconv/iconv.h: Likewise.
21487 * iconv/loop.c: Likewise.
21488 * iconv/skeleton.c: Likewise.
21489 * include/aio.h: Likewise.
21490 * include/aliases.h: Likewise.
21491 * include/argz.h: Likewise.
21492 * include/arpa/inet.h: Likewise.
21493 * include/assert.h: Likewise.
21494 * include/dirent.h: Likewise.
21495 * include/dlfcn.h: Likewise.
21496 * include/execinfo.h: Likewise.
21497 * include/fcntl.h: Likewise.
21498 * include/fenv.h: Likewise.
21499 * include/glob.h: Likewise.
21500 * include/grp.h: Likewise.
21501 * include/libintl.h: Likewise.
21502 * include/mntent.h: Likewise.
21503 * include/netdb.h: Likewise.
21504 * include/pwd.h: Likewise.
21505 * include/rpc/netdb.h: Likewise.
21506 * include/sched.h: Likewise.
21507 * include/search.h: Likewise.
21508 * include/shadow.h: Likewise.
21509 * include/signal.h: Likewise.
21510 * include/stdio.h: Likewise.
21511 * include/stdlib.h: Likewise.
21512 * include/string.h: Likewise.
21513 * include/sys/socket.h: Likewise.
21514 * include/sys/stat.h: Likewise.
21515 * include/sys/statfs.h: Likewise.
21516 * include/sys/statvfs.h: Likewise.
21517 * include/sys/syslog.h: Likewise.
21518 * include/sys/time.h: Likewise.
21519 * include/sys/uio.h: Likewise.
21520 * include/time.h: Likewise.
21521 * include/unistd.h: Likewise.
21522 * include/utmp.h: Likewise.
21523 * include/wchar.h: Likewise.
21524 * include/wctype.h: Likewise.
21525 * inet/aliases.h: Likewise.
21526 * inet/arpa/inet.h: Likewise.
21527 * inet/netinet/ether.h: Likewise.
21528 * inet/netinet/in.h: Likewise.
21529 * intl/libintl.h: Likewise.
21530 * io/bits/fcntl2.h: Likewise.
21531 * io/fcntl.h: Likewise.
21532 * io/ftw.h: Likewise.
21533 * io/sys/poll.h: Likewise.
21534 * io/sys/stat.h: Likewise.
21535 * io/sys/statfs.h: Likewise.
21536 * io/sys/statvfs.h: Likewise.
21537 * io/utime.h: Likewise.
21538 * libio/bits/stdio.h: Likewise.
21539 * libio/bits/stdio2.h: Likewise.
21540 * libio/libio.h: Likewise.
21541 * libio/libioP.h: Likewise.
21542 * libio/stdio.h: Likewise.
21543 * locale/lc-ctype.c: Likewise.
21544 * locale/locale.h: Likewise.
21545 * login/utmp.h: Likewise.
21546 * malloc/arena.c: Likewise.
21547 * malloc/malloc.c: Likewise.
21548 * malloc/malloc.h: Likewise.
21549 * malloc/mcheck.c: Likewise.
21550 * malloc/mtrace.c: Likewise.
21551 * math/bits/mathcalls.h: Likewise.
21552 * math/fenv.h: Likewise.
21553 * math/math_private.h: Likewise.
21554 * misc/bits/error.h: Likewise.
21555 * misc/bits/syslog.h: Likewise.
21556 * misc/err.h: Likewise.
21557 * misc/error.h: Likewise.
21558 * misc/fstab.h: Likewise.
21559 * misc/mntent.h: Likewise.
21560 * misc/regexp.h: Likewise.
21561 * misc/search.h: Likewise.
21562 * misc/sgtty.h: Likewise.
21563 * misc/sys/mman.h: Likewise.
21564 * misc/sys/syslog.h: Likewise.
21565 * misc/sys/uio.h: Likewise.
21566 * misc/sys/xattr.h: Likewise.
21567 * misc/ttyent.h: Likewise.
21568 * nis/rpcsvc/ypclnt.h: Likewise.
21569 * nss/nss.h: Likewise.
21570 * posix/bits/unistd.h: Likewise.
21571 * posix/fnmatch.h: Likewise.
21572 * posix/glob.h: Likewise.
21573 * posix/sched.h: Likewise.
21574 * posix/spawn.h: Likewise.
21575 * posix/sys/wait.h: Likewise.
21576 * posix/unistd.h: Likewise.
21577 * posix/wordexp.h: Likewise.
21578 * pwd/pwd.h: Likewise.
21579 * resolv/netdb.h: Likewise.
21580 * resource/sys/resource.h: Likewise.
21581 * rt/aio.h: Likewise.
21582 * rt/bits/mqueue2.h: Likewise.
21583 * rt/mqueue.h: Likewise.
21584 * shadow/shadow.h: Likewise.
21585 * signal/signal.h: Likewise.
21586 * socket/send.c: Likewise.
21587 * socket/sendto.c: Likewise.
21588 * socket/sys/socket.h: Likewise.
21589 * stdio-common/printf.h: Likewise.
21590 * stdlib/bits/stdlib.h: Likewise.
21591 * stdlib/fmtmsg.h: Likewise.
21592 * stdlib/monetary.h: Likewise.
21593 * stdlib/stdlib.h: Likewise.
21594 * stdlib/ucontext.h: Likewise.
21595 * streams/stropts.h: Likewise.
21596 * string/argz.h: Likewise.
21597 * string/bits/string2.h: Likewise.
21598 * string/string.h: Likewise.
21599 * string/strings.h: Likewise.
21600 * sunrpc/rpc/auth.h: Likewise.
21601 * sunrpc/rpc/auth_des.h: Likewise.
21602 * sunrpc/rpc/clnt.h: Likewise.
21603 * sunrpc/rpc/netdb.h: Likewise.
21604 * sunrpc/rpc/pmap_clnt.h: Likewise.
21605 * sunrpc/rpc/xdr.h: Likewise.
21606 * sysdeps/generic/inttypes.h: Likewise.
21607 * sysdeps/generic/net/if.h: Likewise.
21608 * sysdeps/generic/sys/swap.h: Likewise.
21609 * sysdeps/gnu/net/if.h: Likewise.
21610 * sysdeps/gnu/utmpx.h: Likewise.
21611 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21612 * sysdeps/i386/i486/bits/string.h: Likewise.
21613 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21614 * sysdeps/s390/bits/string.h: Likewise.
21615 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21616 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21617 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21618 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21619 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21620 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21621 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21622 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21623 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21624 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21625 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21626 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21627 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21628 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21629 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21630 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21631 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21633 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21634 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21635 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21636 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21637 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21638 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21639 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21640 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21641 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21642 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21643 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21644 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21645 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21646 * sysvipc/sys/ipc.h: Likewise.
21647 * sysvipc/sys/msg.h: Likewise.
21648 * sysvipc/sys/sem.h: Likewise.
21649 * sysvipc/sys/shm.h: Likewise.
21650 * termios/termios.h: Likewise.
21651 * time/sys/time.h: Likewise.
21652 * time/time.h: Likewise.
21653 * wcsmbs/bits/wchar2.h: Likewise.
21654 * wcsmbs/uchar.h: Likewise.
21655 * wcsmbs/wchar.h: Likewise.
21656 * wctype/wctype.h: Likewise.
21657
0269750c
UD
21658 [BZ #13551]
21659 * Makeconfig: Remove all but ELF support including AIX support.
21660 * Makerules: Likewise.
21661 * config.h.in: Likewise.
21662 * config.make.in: Likewise.
21663 * configure: Likewise.
21664 * configure.in: Likewise.
21665 * csu/Makefile: Likewise.
21666 * csu/version.c: Likewise.
21667 * debug/Makefile: Likewise.
21668 * dlfcn/Makefile: Likewise.
21669 * elf/Makefile: Likewise.
21670 * extra-lib.mk: Likewise.
21671 * iconv/Makefile: Likewise.
21672 * include/libc-symbols.h: Likewise.
21673 * include/shlib-compat.h: Likewise.
21674 * resolv/Makefile: Likewise.
21675 * resolv/res_libc.c: Likewise.
21676 * rt/Makefile: Likewise.
21677 * sysdeps/i386/asm-syntax.h: Likewise.
21678 * sysdeps/i386/sysdep.h: Likewise.
21679 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21680 * sysdeps/mach/sysdep.h: Likewise.
21681 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21682 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21683 * sysdeps/s390/asm-syntax.h: Likewise.
21684 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21685 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21686 * sysdeps/sh/sysdep.h: Likewise.
21687 * sysdeps/unix/sparc/sysdep.h: Likewise.
21688 * sysdeps/wordsize-32/divdi3.c: Likewise.
21689 * sysdeps/x86_64/sysdep.h: Likewise.
21690
00bbd29b
UD
21691 * argp/Versions: Remove _argp_unlock_xxx.
21692
21693 [BZ #13559]
21694 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21695 * abilist/libBrokenLocale.abilist: Likewise.
21696 * abilist/libanl.abilist: Likewise.
21697 * abilist/libc.abilist: Likewise.
21698 * abilist/libcrypt.abilist: Likewise.
21699 * abilist/libdl.abilist: Likewise.
21700 * abilist/libm.abilist: Likewise.
21701 * abilist/libnsl.abilist: Likewise.
21702 * abilist/libpthread.abilist: Likewise.
21703 * abilist/libresolv.abilist: Likewise.
21704 * abilist/librt.abilist: Likewise.
21705 * abilist/libthread_db.abilist: Likewise.
21706 * abilist/libutil.abilist: Likewise.
21707 * abilist/libnss_db.abilist: New file.
21708
21709 * scripts/abilist.awk: Add support for indirect functions.
21710
a2693a0e
UD
21711 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21712
3f05895f
UD
21713 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21714
ecb6fb48
UD
21715 * shlib-versions: Remove entries for ports architectures.
21716
664f8cb9
UD
21717 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21718 files in ports.
21719 * elf/stackguard-macros.h: Remove support for IA-64.
21720 * elf/tst-auditmod1.c: Likewise.
21721 * sysdeps/generic/ldsodefs.h: Likewise.
21722
7ae81d88
UD
21723 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21724 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21725 configure files.
21726
bdeba135
UD
21727 [BZ #13552]
21728 * configure.in: Remove --enable-omitfp support.
21729 * FAQ.in: Adjust.
21730 * config.make.in: Likewise.
21731 * Makeconfig: Likewise.
21732 * manual/install.texi: Likewise.
21733
d75a0a62
UD
21734 In case anyone cares, the IA-64 architecture could move to ports.
21735 * sysdeps/ia64/*: Removed.
21736 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21737 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21738
dcc9756b
UD
21739 [BZ #13555]
21740 * configure.in: Remove entries for unsupported architectures.
21741
d3761ebc 21742 [BZ #13533]
9954432e
UD
21743 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21744 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21745 routines.
21746 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21747 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21748 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21749 fall back to using wcrtomb.
21750 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21751 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21752 renaming.
21753 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21754 * wcsmbs/tst-c16c32-1.c: New file.
21755
21756 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21757 local variable.
21758
c3a87236
UD
21759 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21760
28926a1b
UD
21761 * elf/tst-unique3.cc: Add explicit declaration of gets.
21762 * elf/tst-unique3lib.cc: Likewise.
21763 * elf/tst-unique3lib2.cc: Likewise.
21764 * elf/tst-unique4.cc: Likewise.
21765
df78418a
UD
21766 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21767
8ecd6b2a
JM
217682012-01-06 Joseph Myers <joseph@codesourcery.com>
21769
21770 [BZ #13566]
21771 * assert/assert.h (static_assert): Don't define for C++.
21772 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21773 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21774
9f115170
UD
217752012-01-03 Ulrich Drepper <drepper@gmail.com>
21776
5e0d0300
UD
21777 * iconv/loop.c (single loop): Fix assertion in storing of
21778 remaining bytes.
21779
9f115170
UD
21780 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21781
81fb02b0
UD
217822012-01-01 Ulrich Drepper <drepper@gmail.com>
21783
21784 * posix/getconf.c: Update copyright year.
21785 * nss/getent.c: Likewise.
a316c1f6 21786 * nss/makedb.c: Likewise.
81fb02b0
UD
21787 * iconv/iconvconfig.c: Likewise.
21788 * iconv/iconv_prog.c: Likewise.
21789 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21790 * elf/pldd.c: Likewise.
21791 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21792 * catgets/gencat.c: Likewise.
21793 * csu/version.c: Likewise.
21794 * elf/ldd.bash.in: Likewise.
21795 * elf/sprof.c (print_version): Likewise.
21796 * locale/programs/locale.c: Likewise.
21797 * locale/programs/localedef.c: Likewise.
a316c1f6 21798 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21799 * nscd/nscd.c (print_version): Likewise.
21800 * debug/xtrace.sh: Likewise.
21801 * malloc/memusage.sh: Likewise.
21802 * malloc/mtrace.pl: Likewise.
21803 * debug/catchsegv.sh: Likewise.
21804
2ba92745
JJ
218052011-12-30 Jakub Jelinek <jakub@redhat.com>
21806
21807 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21808 pure attribute.
21809
dadebdae
UD
218102011-12-24 Ulrich Drepper <drepper@gmail.com>
21811
d3761ebc 21812 [BZ #13533]
db6af3eb
UD
21813 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21814 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21815 transformations.
21816 * iconv/gconv_int.h: Likewise.
21817 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21818 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21819 from libc for GLIBC_2.16.
21820 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21821 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21822 * wcsmbs/uchar.h: Really define mbstate_t.
21823 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21824 * wcsmbs/c16rtomb.c: New file.
21825 * wcsmbs/mbrtoc16.c: New file.
21826 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21827 for C/POSIX locale.
21828 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21829 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21830
dadebdae
UD
21831 * wcsmbs/wchar.h: Add missing __restrict.
21832
67371b56
UD
218332011-12-23 Ulrich Drepper <drepper@gmail.com>
21834
74033a25
UD
21835 [BZ #13532]
21836 * time/Makefile (routines): Add timespec_get.
21837 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21838 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21839 timespec for ISO C11.
21840 * time/timespec_get.c: New file.
21841 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21842 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21843
380d7e87
UD
21844 [BZ #13531]
21845 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21846 * stdlib/stdlib.h: Declare aligned_alloc.
21847 * Versions.def: Add GLIBC_2.16 for libc.
21848 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21849
4e9e7a35
UD
21850 [BZ 13527]
21851 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21852 ISO C11.
21853
380d7e87 21854 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21855 code.
21856
03a71829
UD
21857 [BZ #13528]
21858 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21859
839e283e
UD
21860 [BZ #13529]
21861 * assert/assert.h (static_assert): Define.
21862
ce5294e2 21863 * version.h: Update for 2.16 development version.
90fa7312 21864
8d44e150 21865 [BZ #13526]
d7809905
UD
21866 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21867 _ISOC11_SOURCE.
21868
c0da14cd
UD
21869 * version.h (RELEASE): Bump for 2.15 release.
21870 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21871
530a3249
MP
21872 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21873 Patch by Marek Polacek <mpolacek@redhat.com>.
21874
67371b56
UD
21875 * bits/byteswap.h: Protect long long constants with __extension__.
21876 * sysdeps/i386/bits/byteswap.h: Likewise.
21877 * sysdeps/ia64/bits/byteswap.h: Likewise.
21878 * sysdeps/s390/bits/byteswap.h: Likewise.
21879 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21880
15db4de1
LD
218812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21882
21883 [BZ #13540]
bbe315ea
LD
21884 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21885 destination buffer.
15db4de1
LD
21886 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21887
2b2596b1
MP
218882011-12-23 Marek Polacek <polacek@redhat.com>
21889
21890 * elf/dl-addr.c (determine_info): Add inline keyword.
21891 * elf/tst-auditmod4b.c (check_avx): Likewise.
21892 * elf/tst-auditmod6b.c (check_avx): Likewise.
21893 * elf/tst-auditmod6c.c (check_avx): Likewise.
21894 * elf/tst-auditmod7b.c (check_avx): Likewise.
21895
70c6c246
UD
218962011-12-23 Ulrich Drepper <drepper@gmail.com>
21897
21898 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21899 !__SSE_MATH__.
21900
c044cf14
LD
219012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21902
15db4de1 21903 [BZ #13540]
c044cf14
LD
21904 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21905 processing for last bytes.
21906
6b13d9d9
BH
219072011-08-06 Bruno Haible <bruno@clisp.org>
21908
d455f537
BH
21909 [BZ #13061]
21910 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21911 U+0385, not to U+1FEE.
21912
6b13d9d9
BH
21913 [BZ #13062]
21914 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21915 entry for U+00A5 U+0301.
21916
db910efd
UD
219172011-12-22 Ulrich Drepper <drepper@gmail.com>
21918
27deeafc
UD
21919 [BZ #13166]
21920 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21921 buffer for the output is too small.
21922
aed9d171
UD
21923 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21924 optimization.
21925
db910efd
UD
21926 [BZ #13185]
21927 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21928 SSE flags if possible.
21929
2bd779ae
LD
219302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21931
e7f9dac3 21932 [BZ #13540]
2bd779ae
LD
21933 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21934 processing for last bytes.
21935
154bfc16
JM
219362011-12-22 Joseph Myers <joseph@codesourcery.com>
21937
21938 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21939 (syscall-list-default-options, syscall-list-default-condition)
21940 (syscall-list-includes): Define.
21941 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21942 list of ABIs and options and #if conditions for each ABI. Do not
21943 handle common syscalls between ABIs specially.
21944 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21945 Remove.
21946 (syscall-list-variants, syscall-list-32bit-options)
21947 (syscall-list-32bit-condition, syscall-list-64bit-options)
21948 (syscall-list-64bit-condition): Define.
21949 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21950 (syscall-list-variants, syscall-list-32bit-options)
21951 (syscall-list-32bit-condition, syscall-list-64bit-options)
21952 (syscall-list-64bit-condition): Define.
21953 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21954 Remove.
21955 (syscall-list-variants, syscall-list-32bit-options)
21956 (syscall-list-32bit-condition, syscall-list-64bit-options)
21957 (syscall-list-64bit-condition): Define.
21958 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21959 Remove.
21960 (syscall-list-variants, syscall-list-32bit-options)
21961 (syscall-list-32bit-condition, syscall-list-64bit-options)
21962 (syscall-list-64bit-condition): Define.
21963
21eaf3a5
UD
219642011-12-22 Ulrich Drepper <drepper@gmail.com>
21965
16c6f992
UD
21966 * locale/iso-639.def: Add brx entry.
21967
41043168
UD
21968 [BZ #13328]
21969 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21970 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21971
21eaf3a5
UD
21972 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21973 __feraiseexcept_renamed.
21974
e3a851a2
UD
219752011-12-21 Ulrich Drepper <drepper@gmail.com>
21976
4920765e
UD
21977 [BZ #13538]
21978 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21979 EPOLLET with unsigned values.
21980 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21981 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21982
e3a851a2
UD
21983 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21984 to large cancellation.
21985 * math/s_cacoshf.c: Likewise.
21986 * math/s_cacoshl.c: Likewise.
21987
b27e24b8
RK
219882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21989
21990 [BZ #13305]
aebefeee 21991 [BZ #12786]
b27e24b8
RK
21992 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21993 * math/s_cacoshf.c: Likewise.
21994 * math/s_cacoshl.c: Likewise.
21995
ee190f67
UD
219962011-12-21 Ulrich Drepper <drepper@gmail.com>
21997
21998 [BZ #13439]
21999 * iconv/gconv.h: Define __GCONV_SWAP.
22000 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22001 * iconvdata/utf-16.c: Likewise.
22002 * iconvdata/utf-32.c: Likewise.
22003
707f25df
AS
220042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22005
22006 [BZ #13524]
22007 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22008 numerator after shifting it by one limb.
22009
d2daaa1e
RÁE
220102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22011
22012 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22013 under [__USE_EXTERN_INLINES].
22014
a4647e72
UD
220152011-12-17 Ulrich Drepper <drepper@gmail.com>
22016
22017 [BZ #13446]
22018 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22019
f0b264f1
AZ
220202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22021
22022 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22023 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22024 optimized code.
22025 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22026 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22027 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22028 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22029 for strncasecmp/strncasecmp_l compilation.
22030 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22031 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22032
8ef4f244
MP
220332011-12-08 Marek Polacek <mpolacek@redhat.com>
22034
22035 [BZ #13484]
22036 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22037 of __asm__.
22038
97ac2654
UD
220392011-12-17 Ulrich Drepper <drepper@gmail.com>
22040
22041 [BZ #13506]
22042 * time/tzfile.c (__tzfile_read): Check values from file header.
22043
91d2a845
WS
220442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22045
22046 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22047 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22048 * powerpc/powerpc32/dl-start.S: Likewise.
22049 * powerpc/powerpc32/elf/start.S: Likewise.
22050 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22051 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22052 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22053 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22054 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22055 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22056 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22057 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22058 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22059 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22060 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22061 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22062 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22063 * powerpc/powerpc32/memset.S: Likewise.
22064 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22065 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22066 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22067 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22068 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22069 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22070 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22071 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22072 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22073 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22074 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22075 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22076 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22077
a1267ba1
AZ
220782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22079
22080 * math/libm-test.inc: Added more nearbyint tests.
22081 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22082 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22083 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22084 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22085
ad8ac1bd
RL
220862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22087
22088 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22089 FD_CLOEXEC.
22090
1d3e4b61
UD
220912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22092
22093 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22094 Add wcscpy-ssse3 wcscpy-c.
22095 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22096 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22097 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22098 * sysdeps/x86_64/wcschr.S: New file.
22099 * sysdeps/x86_64/wcsrchr.S: New file.
22100 * string/test-strcmp.c: Remove checking of wcscmp function for
22101 wrong alignments.
22102 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22103 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22104 wcsrchr-sse2 wcsrchr-c.
22105 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22106 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22107 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22108 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22109 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22110 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22111 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22112 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22113 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22114 * wcsmbc/wcschr.c (WCSCHR): New macro.
22115
5b330a2d
UD
221162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22117
22118 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22119 * wcsmbs/test-wcsrchr.c: New file.
22120 * string/test-strrchr.c: Add wcsrchr support.
22121 (WIDE): New macro.
22122 * wcsmbs/test-wcscpy.c: New file.
22123 * string/test-strcpy.c: Add wcscpy support.
22124 (WIDE): New macro.
26428b7c 22125
f039c043
UD
221262011-12-10 Ulrich Drepper <drepper@gmail.com>
22127
22128 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22129 the inner loop.
22130
850fb039
AS
221312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22132
22133 [BZ #13472]
22134 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22135
4efbd5cb
UD
221362011-12-04 Ulrich Drepper <drepper@gmail.com>
22137
52ff5dd0 22138 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22139 Minor optimizations.
52ff5dd0 22140
4efbd5cb
UD
22141 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22142 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22143 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22144
8a426e12
UD
221452011-12-03 Ulrich Drepper <drepper@gmail.com>
22146
aff2453d
UD
22147 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22148 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22149 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22150 for gcc to avoid warnings.
22151 * inet/Makefile (tests): Add tst-checks.
22152 * inet/tst-checks.c: New file.
22153
22154 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22155 warning.
22156
22157 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22158 __wmemcmp_sse2.
22159
22160 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22161 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22162
8a426e12
UD
22163 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22164
9bea3473
UD
221652011-12-02 Ulrich Drepper <drepper@gmail.com>
22166
3a965496
UD
22167 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22168 problem.
22169
9bea3473
UD
22170 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22171
f101631b
UD
221722011-11-29 Joseph Myers <joseph@codesourcery.com>
22173
22174 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22175 conditional on GCC version.
22176 (__arch_compare_and_exchange_val_8_acq)
22177 (__arch_compare_and_exchange_val_16_acq)
22178 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22179 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22180 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22181
a98275aa
UD
221822011-12-02 Joseph Myers <joseph@codesourcery.com>
22183
22184 * sysdeps/sh/backtrace.c: New file.
22185
d4cc29a2
AS
221862011-12-02 Andreas Schwab <schwab@redhat.com>
22187
22188 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22189 parenthesis.
22190
6257af2d
AS
221912011-12-01 Andreas Schwab <schwab@redhat.com>
22192
22193 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22194 falling back to utime.
22195
b5f44c1a
AS
221962011-11-30 Andreas Schwab <schwab@redhat.com>
22197
22198 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22199 expectations for float.
22200
f3a6cc0a
AS
222012011-11-29 Andreas Schwab <schwab@redhat.com>
22202
22203 * locale/weight.h (findidx): Add parameter len.
22204 * locale/weightwc.h (findidx): Likewise.
22205 * posix/fnmatch_loop.c (FCT): Adjust caller.
22206 * posix/regcomp.c (build_equiv_class): Likewise.
22207 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22208 * posix/regexec.c (check_node_accept_bytes): Likewise.
22209 * string/strcoll_l.c (STRCOLL): Likewise.
22210 * string/strxfrm_l.c (STRXFRM): Likewise.
22211
9d65ea3a
UD
222122011-11-17 Ulrich Drepper <drepper@gmail.com>
22213
22214 * Makefile.in: Remove CVSOPT handling.
22215 * configure.in: Remove use of AC_REVISION.
22216 * iconvdata/Makefile (distribute): No need to filter out CVS.
22217 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22218 handling.
22219
5583a086
AS
222202011-11-16 Andreas Schwab <schwab@redhat.com>
22221
22222 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22223 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22224 [USE_AS_STRNCASECMP_L]: Likewise.
22225 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22226 NO_TLS_DIRECT_SEG_REFS.
22227 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22228 Fix argument offsets for non-PIC.
22229 [USE_AS_STRNCASECMP_L]: Likewise.
22230 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22231 NO_TLS_DIRECT_SEG_REFS.
22232
d62a8200
UD
222332011-11-15 Ulrich Drepper <drepper@gmail.com>
22234
9d65ea3a 22235 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22236 O_CLOEXEC.
22237 * locale/loadlocale.c (_nl_load_locale): Likewise.
22238
09f93bd3
AS
222392011-11-15 Andreas Schwab <schwab@redhat.com>
22240
446514f9
AS
22241 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22242 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22243 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22244 (SYSCALL_GETTIME): Set errno on error.
22245
09f93bd3
AS
22246 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22247 count references to noai6ai_cached.
22248
312be3f9
UD
222492011-11-15 Ulrich Drepper <drepper@gmail.com>
22250
22251 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22252
22253 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22254 FD_CLOEXEC for /proc/self/maps.
22255
22256 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22257 FD_CLOEXEC for /proc/meminfo.
22258
22259 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22260 gai.conf.
22261
22262 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22263 FD_CLOEXEC for given file.
22264
22265 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22266
22267 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22268 FD_CLOEXEC for /etc/hosts.
22269 (_gethtent): Likewise.
22270
22271 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22272
22273 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22274 cancellation and set FD_CLOEXEC for /etc/netgroup.
22275
22276 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22277 reading /etc/publickey.
22278
22279 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22280 allow cancellation when reading /etc/group.
22281
22282 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22283 cancellation.
22284 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22285
22286 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22287 when using data file.
22288
22289 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22290
22291 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22292 (write_nis_obj): Use "c" and "e" in fopen.
22293
22294 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22295
22296 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22297
22298 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22299
22300 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22301
22302 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22303 locale.alias.
22304
22305 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22306
22307 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22308
22309 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22310
22311 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22312 file parsing and set FD_CLOEXEC.
22313
82af0fa8
UD
223142011-11-14 Ulrich Drepper <drepper@gmail.com>
22315
22316 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22317
a5fb313c
AS
223182011-11-14 Andreas Schwab <schwab@redhat.com>
22319
22320 * malloc/arena.c (arena_get2): Don't call reused_arena when
22321 _int_new_arena failed.
22322
6abf3465
UD
223232011-11-14 Ulrich Drepper <drepper@gmail.com>
22324
22325 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22326 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22327 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22328 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22329 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22330 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22331 to compile strcasecmp and strncasecmp.
22332 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22333 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22334
22335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22336
76e3966e
UD
223372011-11-13 Ulrich Drepper <drepper@gmail.com>
22338
22339 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22340 locale-defines.sym to gen-as-const-headers.
22341 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22342 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22343 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22344 to compile strcasecmp and strncasecmp.
22345 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22346 strcasecmp_l and strncasecmp_l.
22347 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22348 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22349 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22350 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22351 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22352 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22353 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22354 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22355 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22356 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22357 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22358
ab26144e
UD
223592011-11-12 Ulrich Drepper <drepper@gmail.com>
22360
7edb22ef
UD
22361 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22362 result of SYSDEP_GETTIME_CPU to retval.
22363 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22364 parameter list to macro. Remove trailing semicolon. Adjust users.
22365
9694fc44
UD
22366 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22367 variable.
22368
8ad89ef8
UD
22369 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22370 mantissa words.
22371 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22372
0c822ef9
UD
22373 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22374 from unused variable.
22375
874e0564
UD
22376 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22377 DWARF definitions.
22378 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22379 for assembling.
22380
3a2edc79
UD
22381 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22382 over namespaces.
22383
f3c2577f
UD
22384 * sunrpc/rpc_prot.c (rejected): Fix case value.
22385
294ce126
UD
22386 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22387 unsigned long long int to avoid warnings in shift.
22388
5e2b63c6
UD
22389 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22390 of use of trans.
22391 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22392 variable tmp.
22393
e7f4b08e
UD
22394 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22395 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22396 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22397
ab26144e
UD
22398 * nis/nis_table.c (nis_list): Use variable of correct type for
22399 result of __follow_path call.
22400
8a6d5255
AZ
224012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22402
22403 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22404 of math functions ceil, trunc, floor, round, and sqrt, when
22405 avaliable on the platform.
22406 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22407 name clash.
22408 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22409 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22410 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22411
aaddc98c
MP
224122011-10-30 Marek Polacek <mpolacek@redhat.com>
22413
22414 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22415 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22416
95b7042b
RM
224172011-11-11 Roland McGrath <roland@hack.frob.com>
22418
22419 * include/unistd.h: Fix __readlink return type.
22420 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22421
57769839
UD
224222011-11-11 Ulrich Drepper <drepper@gmail.com>
22423
22424 * stdlib/ucontext.h: Undo last change for makecontext.
22425
edc5984d
AS
224262011-11-11 Andreas Schwab <schwab@redhat.com>
22427
98591e58
AS
22428 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22429
edc5984d
AS
22430 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22431 * setjmp/setjmp.h: Mark functions as non-leaf.
22432 * setjmp/bits/setjmp2.h: Likewise.
22433 * stdlib/ucontext.h: Likewise.
22434
77cdc054
AS
224352011-11-10 Andreas Schwab <schwab@redhat.com>
22436
22437 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22438 (reused_arena): Don't check arena limit.
22439 (arena_get2): Atomically check arena limit.
22440
fe72eebd
UD
224412011-11-08 Ulrich Drepper <drepper@gmail.com>
22442
5f078c32
UD
22443 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22444 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22445
fe72eebd
UD
22446 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22447 instructions.
22448
ae1bc2fa
AS
224492011-11-07 Andreas Schwab <schwab@redhat.com>
22450
7583a88d
AS
22451 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22452 handler when locking.
22453
ae1bc2fa
AS
22454 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22455 Fix size of allocated buffer.
22456
10fb0bfa
AS
224572011-11-04 Andreas Schwab <schwab@redhat.com>
22458
998832a4
AS
22459 [BZ #10103]
22460 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22461 declarations for long double functions.
22462 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22463
10fb0bfa
AS
22464 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22465
3d7ba52b
AS
224662011-11-03 Andreas Schwab <schwab@redhat.com>
22467
a9ae54a1
AS
22468 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22469 installed.
22470
3d7ba52b
AS
22471 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22472 is disabled.
22473
bc8db248
ST
224742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22475
22476 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22477
45b96dd6
AS
224782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22479
647776f6
AS
22480 * include/alloca.h (stackinfo_alloca_round): Define.
22481 (extend_alloca): Use it.
22482 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22483 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22484 here.
22485
d91a8b93
AS
22486 * scripts/check-local-headers.sh: Ignore libaudit.h.
22487
45b96dd6
AS
22488 * nscd/Makefile (extra-objs): Make recursively expanded.
22489
432d41ce
UD
224902011-11-01 Ulrich Drepper <drepper@gmail.com>
22491
34372fc6
UD
22492 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22493 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22494
fadb59f8
UD
22495 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22496 * posix/tst-rfc3484-2.c: Likewise.
22497 * posix/tst-rfc3484-3.c: Likewise.
22498
78239589
UD
22499 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22500 process_vm_writev.
22501 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22502 process_vm_writev.
22503 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22504 process_vm_writev from libc using GLIBC_2.15 version.
22505
432d41ce
UD
22506 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22507
02f9c6cf
PP
225082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22509
22510 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22511 stack usage.
22512
3a2c0242
UD
225132011-10-31 Ulrich Drepper <drepper@gmail.com>
22514
f4ec4833
UD
22515 [BZ #13367]
22516 * nss/getent.c (initgroups_keys): Show error message in case no group
22517 names are given.
22518
3a2c0242
UD
22519 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22520 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22521 __bump_nl_timestamp.
22522 * nscd/connections (nscd_init): When host database is served open
22523 netlink socket and request notification about configuration changes.
22524 (main_loop_poll): Track netlink file descriptor and bump timestamp
22525 in case data becomes available.
22526 (main_loop_epoll): Likewise.
22527 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22528 (database_pers_head): Add extra_data fileds.
22529 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22530 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22531 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22532 Adjust caller.
22533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22534 in6ai data, call __free_in6ai.
22535 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22536 Add -DHAVE_NETLINK.
22537 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22538 interface information. Reuse previous data if netlink timestamp
22539 is not changed.
22540 (__bump_nl_timestamp): New function.
22541 (__free_in6ai): New function.
22542
636064eb
UD
225432011-10-30 Ulrich Drepper <drepper@gmail.com>
22544
22545 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22546 close_not_cancel_no_status here.
22547 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22548
9beb2334
UD
225492011-10-29 Ulrich Drepper <drepper@gmail.com>
22550
6ef76f3b
UD
22551 [BZ #13276]
22552 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22553 return value.
22554
0ffc4f3e 22555 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22556 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22557 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22558
cb95113e
UD
225592011-07-03 Andreas Jaeger <aj@suse.de>
22560
22561 [BZ #10709]
22562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22563 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22564 * math/libm-test.inc (sin_test): Add test case.
22565
a1b560ff
UD
225662011-10-29 Ulrich Drepper <drepper@gmail.com>
22567
c9aaface
UD
22568 [BZ #13337]
22569 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22570 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22571
d272e7f1
UD
22572 * elf/chroot_canon.c (chroot_canon): Cleanups.
22573
1bc33071
UD
22574 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22575
1760874d
TJ
22576 [BZ #13335]
22577 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22578 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22579
51d91b18
UD
22580 * string/test-strchr.c: Make usable for strchrnul testing.
22581 * string/test-strchrnul.c: New file.
22582 * string/Makefile (strop-tests): Add strchrnul.
22583
a1b560ff 22584 * po/it.po: Update from translation team.
b611fb81 22585 * po/es.po: Likewise.
a1b560ff 22586
a5b81e1f
UD
225872011-10-28 Ulrich Drepper <drepper@gmail.com>
22588
fd52bc6d
UD
22589 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22590 the three constants needed as parameters. Drop the others.
22591 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22592 __m128i_strloadu_tolower.
52e4b9eb
UD
22593 Create and initialize variable zero and use it in all the places
22594 where _mm_setzero_si128 was used.
fd52bc6d 22595
a5b81e1f
UD
22596 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22597 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22598 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22599 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22600 anymore.
22601 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22602 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22603 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22604 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22605 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22606 __mpranred, __mptan.
22607 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22608 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22609 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22610 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22611 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22612 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22613 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22614 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22615 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22616
b4343346
AS
226172011-10-28 Andreas Schwab <schwab@redhat.com>
22618
0c92d8a8
AS
22619 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22620 redefine if SHARED.
22621 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22622
b4343346
AS
22623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22624 wide char related routines to wcsmbs subdir.
22625
3871f58f
AS
226262011-10-27 Andreas Schwab <schwab@redhat.com>
22627
22628 [BZ #13344]
22629 * misc/sys/cdefs.h (__THROWNL): Define.
22630 * posix/unistd.h: Use __THREADNL instead of __THREAD
22631 for memory synchronization functions.
22632
94d44d9f
RM
226332011-10-26 Roland McGrath <roland@hack.frob.com>
22634
21b64b15 22635 [BZ #13349]
94d44d9f
RM
22636 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22637 doesn't exist.
22638 * manual/stdio.texi (Obstack Streams): Node removed.
22639
f6ce9294
AS
226402011-10-26 Andreas Schwab <schwab@redhat.com>
22641
80479147
AS
22642 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22643 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22645
f6ce9294
AS
22646 * math/math_private.h (math_force_eval): Allow non-addressable
22647 arguments.
22648 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22649
618280a1
UD
226502011-10-25 Ulrich Drepper <drepper@gmail.com>
22651
e0016b11
UD
22652 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22653 file is not needed.
22654
22655 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22656 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22657 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22658 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22659 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22660 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22661 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22662 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22663 Add AVX variants.
22664 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22665 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22666 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22667 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22668 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22669 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22670 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22671 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22672 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22673 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22674 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22675 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22676 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22677 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22678 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22679 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22680 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22681 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22682 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22683
22684 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22685 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22686
618280a1
UD
22687 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22688 place. Use VEX encoding when compiling for AVX.
22689
37822576
AS
226902011-10-25 Andreas Schwab <schwab@redhat.com>
22691
1f1e1947
AS
22692 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22693 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22694
37822576
AS
22695 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22696
31ea014d
UD
226972011-10-25 Ulrich Drepper <drepper@gmail.com>
22698
d7826aa1 22699 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22700 useless if() expression.
d7826aa1
UD
22701 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22710 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22711 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22712 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22713 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22714 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22715 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22716 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22717 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22718 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22719 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22720
31ea014d
UD
22721 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22722
16437fec
AS
227232011-10-25 Andreas Schwab <schwab@redhat.com>
22724
22725 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22726 condition.
22727 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22728
31d3cc00
UD
227292011-10-25 Ulrich Drepper <drepper@gmail.com>
22730
22731 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22732 .text section. Avoid duplicate constants.
22733 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22742 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22743 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22744 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22745 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22746 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22747 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22748 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22749 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22750 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22756 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22757 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22758 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22759 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22760 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22761 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22762 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22763 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22764 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22765 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22766 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22767 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22768 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22769 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22770 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22771 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22772 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22773 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22774 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22775 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22776 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22777 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22778
58985aa9
UD
227792011-10-24 Ulrich Drepper <drepper@gmail.com>
22780
202c9deb
UD
22781 * sysdeps/x86_64/dla.h: Move to ...
22782 * sysdeps/x86_64/fpu/dla.h: ...here.
22783 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22784 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22785
af968f62
UD
22786 * config.make.in: Add have-mfma4 entry.
22787 * configure.in: Substitute libc_cv_cc_fma4.
22788 * math/Makefile (dbl-only-routines): Add sincostab.
22789 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22790 Use __sincostab not sincos.
22791 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22792 name is a macro.
22793 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22794 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22795 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22797 using __copysign.
22798 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22799 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22800 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22801 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22802 and __inv.
22803 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22804 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22805 __copysign.
22806 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22807 define aliases when function name is a macro.
22808 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22809 sysdeps/ieee754/dbl-64/sincos.tbl.
22810 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22811 fma4-enabled routines.
22812 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22813 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22814 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22815 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22816 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22817 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22818 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22819 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22820 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22821 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22822 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22823 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22824 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22825 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22826 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22827 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22828 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22829 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22830 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22831 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22832 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22833 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22834 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22835 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22836 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22837 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22838 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22839 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22840 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22841 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22842
58985aa9
UD
22843 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22844 rename.
22845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22849 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22853
a201fbcf
AS
228542011-10-24 Andreas Schwab <schwab@redhat.com>
22855
22856 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22857
fc2ee42a
LD
228582011-10-23 Ulrich Drepper <drepper@gmail.com>
22859
bb3129bd
UD
22860 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22861
0275fff8
UD
22862 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22863 prediction.
22864 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22865
2fa2ae85
UD
22866 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22867 Remove unused variable magic_bits.
22868 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22869
fc2ee42a
LD
22870 * string/strnlen.c: Define and use STRNLEN macro.
22871 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22872 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22873 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22874 * wcsmbs/wcslen.c: Define and use WCSLEN.
22875 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22876 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22877 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22878 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22879 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22880 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22881 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22882
ce7dd29f
LD
228832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22884
22885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22886 strnlen-sse2-no-bsf.
22887 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22888 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22889 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22890 Add strnlen support.
22891 (USE_AS_STRNLEN): New macro.
22892 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22893 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22894 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22895 * sysdeps/x86_64/wcslen.S: New file.
22896
979c70a3
MZ
228972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22898
22899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22900 XMM-moves are used for copying on small sizes.
22901
2d09f82f
LD
229022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22903
22904 * wcsmbs/Makefile (strop-tests): Add wcschr.
22905 * wcsmbs/test-wcschr.c: New file.
22906 * string/test-strchr.c: Update.
22907 Add wcschr support.
22908 (WIDE): New macro.
22909
619fccca
LD
229102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22911
2d09f82f 22912 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22913 * wcsmbs/test-wcslen.c: New file.
22914 * string/test-strlen.c: Update.
22915 Add wcslen support.
22916 (WIDE): New macro.
22917
09f699ea
UD
229182011-10-23 Ulrich Drepper <drepper@gmail.com>
22919
22920 * po/it.po: Update from translation team.
22921
95584d3b
LD
229222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22923
22924 * sysdeps/x86_64/wcscmp.S: Update.
22925 Fix wrong comparison semantics.
22926 wcscmp shall use signed comparison not unsigned.
22927 Don't use substraction to avoid overflow bug.
22928 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22929 * wcsmbc/wcscmp.c: Likewise.
22930 * string/test-strcmp.c: Likewise.
22931 Add new tests to check cases with negative values.
22932
c8b3296b
UD
229332011-10-23 Ulrich Drepper <drepper@gmail.com>
22934
22935 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22936 * sysdeps/x86_64/dla.h: ...here. New file.
22937 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22939 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22942 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22943 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22944 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22946
246ad57a
AS
229472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22948
22949 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22950 __ynl_finite aliases.
22951
a1a87169
UD
229522011-10-22 Ulrich Drepper <drepper@gmail.com>
22953
0d355eb7
UD
22954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22955
a1a87169
UD
22956 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22957 define DLA_FMA.
22958 [DLA_FMA] (EMULV): Use DLA_FMA.
22959 [DLA_FMA] (MUL12): Use EMULV.
22960 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22961 that are not needed.
22962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22969
ee2aafe0
AS
229702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22971
22972 * math/s_nan.c: Undef __nan.
22973 * math/s_nanf.c: Undef __nanf.
22974 * math/s_nanl.c: Undef __nanl.
22975 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22976 "math_private.h".
22977
bc62c2fb
UD
229782011-10-22 Ulrich Drepper <drepper@gmail.com>
22979
77425c63
UD
22980 * math/s_catan.c: Add branch predictions.
22981 * math/s_catanf.c: Likewise.
22982 * math/s_catanh.c: Likewise.
22983 * math/s_catanhf.c: Likewise.
22984 * math/s_catanhl.c: Likewise.
22985 * math/s_catanl.c: Likewise.
22986 * math/s_cexp.c: Likewise.
22987 * math/s_cexpf.c: Likewise.
22988 * math/s_cexpl.c: Likewise.
22989 * math/s_clog.c: Likewise.
22990 * math/s_clog10.c: Likewise.
22991 * math/s_clog10f.c: Likewise.
22992 * math/s_clog10l.c: Likewise.
22993 * math/s_clogf.c: Likewise.
22994 * math/s_clogl.c: Likewise.
22995 * math/s_csqrt.c: Likewise.
22996 * math/s_csqrtf.c: Likewise.
22997 * math/s_csqrtl.c: Likewise.
22998 * math/s_ctanf.c: Likewise.
22999 * math/s_ctanh.c: Likewise.
23000 * math/s_ctanhf.c: Likewise.
23001 * math/s_ctanhl.c: Likewise.
23002 * math/s_ctanl.c: Likewise.
23003
bc62c2fb
UD
23004 * math/math_private.h: Define __nan, __nanf, __nanl.
23005 * math/s_cacosh.c: Include <math_private.h>.
23006 * math/s_cacoshl.c: Likewise.
23007 * math/s_casinh.c: Likewise.
23008 * math/s_casinhf.c: Likewise.
23009 * math/s_casinhl.c: Likewise.
23010 * math/s_ccos.c: Rely entire on ccosh.
23011 * math/s_ccosf.c: Rely entire on ccoshf.
23012 * math/s_ccosl.c: Rely entirely on ccoshl.
23013 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23014 Remove tests for FE_INVALID.
23015 * math/s_ccoshf.c: Likewise.
23016 * math/s_ccoshl.c: Likewise.
23017 * math/s_csin.c: Likewise.
23018 * math/s_csinf.c: Likewise.
23019 * math/s_csinh.c Likewise.
23020 * math/s_csinhf.c: Likewise.
23021 * math/s_csinhl.c: Likewise.
23022 * math/s_csinl.c: Likewise.
23023 * math/s_ctan.c: Likewise.
23024 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23025 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23026 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23027
8ec250a4
UD
230282011-10-21 Ulrich Drepper <drepper@gmail.com>
23029
c196fed8
UD
23030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23031 compilation problems.
23032
8ec250a4
UD
23033 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23034 __builtin_expect.
23035
8d4f46c6
UD
230362011-10-20 Ulrich Drepper <drepper@gmail.com>
23037
ed72b654
UD
23038 * sysdeps/i386/configure.in: Test for -mfma4 option.
23039 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23040 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23041 COMMON_CPUID_INDEX_80000001.
23042 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23043 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23044 use it if FMA3 is not supported.
23045 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23046
8d4f46c6
UD
23047 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23048 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23049
d45c60c2
AS
230502011-10-20 Andreas Schwab <schwab@redhat.com>
23051
23052 [BZ #12892]
23053 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23054 it would create a cycle with a link time dependency.
23055
d9a4d2ab
UD
230562011-10-19 Ulrich Drepper <drepper@gmail.com>
23057
855d1560
UD
23058 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23059 instruction.
23060 * string/Makefile (strop-tests): Add rawmemchr.
23061 * string/test-rawmemchr.c: New file.
23062
d9a4d2ab
UD
23063 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23064 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23065 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23066 when compiling str{,n}casecmp and when AVX is available. Hook up
23067 new optimized code in initializers.
23068
8f3b1ffe
AS
230692011-10-19 Andreas Schwab <schwab@redhat.com>
23070
23071 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23072 __feraiseexcept instead of feraiseexcept.
23073
d38f1dba
UD
230742011-10-18 Ulrich Drepper <drepper@gmail.com>
23075
d9a8d0ab
UD
23076 * math/math_private.h: Define defaults for libc_fetestexcept and
23077 libc_feupdateenv.
23078 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23079 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23080 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23081 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23082 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23083 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23084 libc_fetestexcept and libc_feupdateenv.
23085
4855e3dd
UD
23086 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23087 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23088 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23089 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23090 libc_feholdexcept_setround.
23091
581d30e3
UD
23092 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23093 Add s_nearbyint-c and s_nearbyintf-c.
23094 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23095 nearbyintf inlines.
23096 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23097 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23098 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23099 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23100
d38f1dba
UD
23101 * math/math_private.h: Define defaults for libc_fegetround,
23102 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23103 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23104 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23105 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23106 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23107 standard functions.
23108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23109 Remove comments and hacks for old compiler versions.
23110 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23111 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23112 libc_feholdexceptl.
23113
caa6c9d8
AS
231142011-10-18 Andreas Schwab <schwab@redhat.com>
23115
23116 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23117 (__feraiseexcept_renamed): Add __NTH.
23118 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23119 namespace violations.
23120
97c066e6
UD
231212011-10-17 Ulrich Drepper <drepper@gmail.com>
23122
99ce7b04
UD
23123 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23124
1004d182
UD
23125 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23126
228a984d
UD
23127 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23128 recently added interfaces.
23129 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23130
c8553a6a
UD
23131 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23132 about macro parameter expansion.
23133
ed22dcf6
UD
23134 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23135 __NO_MATH_INLINES is defined. Cleanups.
23136
23137 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23138 and __floorf is target has SSE4.1.
23139 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23140 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23141 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23142 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23143
b171c137
UD
23144 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23145 name.
23146 (floorf): Likewise.
23147
97c066e6
UD
23148 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23149
629f62ef
AS
231502011-10-17 Andreas Schwab <schwab@redhat.com>
23151
49a43d80
AS
23152 * misc/sys/cdefs.h: Fix last change.
23153
629f62ef
AS
23154 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23155 database lookup.
23156
e453f6cd
UD
231572011-10-16 Ulrich Drepper <drepper@gmail.com>
23158
aa78043a
UD
23159 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23160
ad0f5cad
UD
23161 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23162 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23167 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23168 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23169 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23170 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23171 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23172 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23173 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23174 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23175 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23176 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23177 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23178 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23179 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23180 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23181 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23182 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23183
23184 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23185 ceil, ceilf, floor, floorf.
23186
23187 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23188 Perform IRELATIVE relocations last.
23189
e453f6cd
UD
23190 * elf/do-rel.h: Add another parameter nrelative, replacing the
23191 local variable with the same name. Change name of the function
23192 to end in Rel or Rela (uppercase).
23193 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23194 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23195 elf_dynamic_do_##reloc function.
23196
fd5bdc09
UD
231972011-10-15 Ulrich Drepper <drepper@gmail.com>
23198
79b195b5
UD
23199 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23200 is sufficient, at least on modern CPUs.
23201
d4a28569
UD
23202 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23203
b61099b5
UD
23204 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23205 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23206
bcf01e6d
UD
23207 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23208 __expl_finite.
23209 * math/bits/math-finite.h: Add entries for exp.
23210 * math/e_expl.c: Add __*_finite alias.
23211 * sysdeps/i386/fpu/e_exp.S: Likewise.
23212 * sysdeps/i386/fpu/e_expf.S: Likewise.
23213 * sysdeps/i386/fpu/e_expl.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23215 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23216 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23217 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23219 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23220 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23221
ba1a0d59
UD
23222 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23223 is sufficient, at least on modern CPUs.
23224
fd5bdc09
UD
23225 * ctype/ctype-info.c (__ctype_init): Define.
23226 * include/ctype.h (__ctype_init): Declare.
23227 (__ctype_b_loc): The variable is always initialized.
23228 (__ctype_toupper_loc): Likewise.
23229 (__ctype_tolower_loc): Likewise.
23230 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23231 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23232
7872cfb0
AS
232332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23234
b468825a
AS
23235 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23236
7872cfb0
AS
23237 * configure.in: Also look in $cxxmachine/include for C++ system
23238 headers.
23239
be13f7bf
LD
232402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23241
23242 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23243 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23244 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23245 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23246 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23247 (USE_AS_WMEMCMP): New macro.
23248 Fixing indents.
23249 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23250 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23251 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23252 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23253 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23254 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23255 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23256 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23257 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23258 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23259 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23260 (USE_AS_WMEMCMP): New macro.
23261 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23262 * sysdeps/string/test-memcmp.c: Update.
23263 Fix simple_wmemcmp.
23264 Add new tests.
23265 * wcsmbs/wmemcmp.c: Update.
23266 (WMEMCMP): New macro.
23267 Fix overflow bug.
23268
556a2007
AJ
232692011-10-12 Andreas Jaeger <aj@suse.de>
23270
23271 [BZ #13268]
23272 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23273
538faaa7
UD
232742011-10-15 Ulrich Drepper <drepper@gmail.com>
23275
ab6737ff
UD
23276 * libio/iofwide.c (do_length): Avoid warning.
23277
538faaa7
UD
23278 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23279
396a21b1
UD
232802011-10-14 Ulrich Drepper <drepper@gmail.com>
23281
cdf2901f
UD
23282 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23283
38ad40ce
UD
23284 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23285 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23286 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23287 * sysdeps/i386/i686/fpu/e_log.S: New file.
23288 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23289 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23290
396a21b1
UD
23291 * ctype/ctype.h: Add support for inlined isXXX functions when
23292 compiling C++ code.
23293
6b1f68c9
AS
232942011-10-14 Andreas Schwab <schwab@redhat.com>
23295
349290c0
AS
23296 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23297
6b1f68c9
AS
23298 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23299
f2282d42
RM
233002011-10-13 Roland McGrath <roland@hack.frob.com>
23301
23302 [BZ #13291]
23303 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23304
5298ffa8
AS
233052011-10-13 Andreas Schwab <schwab@redhat.com>
23306
714fad23
AS
23307 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23308 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23309 feraiseexcept.
23310
81dcc7fb
AS
23311 * sysdeps/x86_64/memrchr.S: Check for zero size.
23312
5298ffa8
AS
23313 * string/stratcliff.c: Add memrchr tests.
23314
951fbcec
LD
233152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23316
23317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23318 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23319 rawmemchr-sse2 rawmemchr-sse2-bsf.
23320 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23321 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23322 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23323 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23324 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23325 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23326 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23327 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23328 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23329 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23330 * string/memrchr.c (MEMRCHR): New macro.
23331
0ac5ae23
UD
233322011-10-12 Ulrich Drepper <drepper@gmail.com>
23333
23334 Add integration with gcc's -ffinite-math-only and optimize wrapper
23335 functions in libm.
23336 * Versions.def: Define GLIBC_2.15 version for libm.
23337 * math/Makefile (headers): Add bits/math-finite.h.
23338 * math/bits/math-finite.h: New file.
23339 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23340 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23341 * math/e_acoshl.c: Add __*_finite alias.
23342 * math/e_acosl.c: Likewise.
23343 * math/e_asinl.c: Likewise.
23344 * math/e_atan2l.c: Likewise.
23345 * math/e_atanhl.c: Likewise.
23346 * math/e_coshl.c: Likewise.
23347 * math/e_exp10.c: Likewise.
23348 * math/e_exp10f.c: Likewise.
23349 * math/e_exp10l.c: Likewise.
23350 * math/e_exp2l.c: Likewise.
23351 * math/e_fmodl.c: Likewise.
23352 * math/e_gammal_r.c: Likewise.
23353 * math/e_hypotl.c: Likewise.
23354 * math/e_j0l.c: Likewise.
23355 * math/e_j1l.c: Likewise.
23356 * math/e_jnl.c: Likewise.
23357 * math/e_lgammal_r.c: Likewise.
23358 * math/e_log10l.c: Likewise.
23359 * math/e_log2l.c: Likewise.
23360 * math/e_logl.c: Likewise.
23361 * math/e_powl.c: Likewise.
23362 * math/e_sinhl.c: Likewise.
23363 * math/e_sqrtl.c: Likewise.
23364 * math/e_scalb.c: Completely rewritten and optimized.
23365 * math/e_scalbf.c: Likewise.
23366 * math/e_scalbl.c: Likewise.
23367 * math/w_acos.c: Likewise.
23368 * math/w_acosf.c: Likewise.
23369 * math/w_acosl.c: Likewise.
23370 * math/w_acosh.c: Likewise.
23371 * math/w_acoshf.c: Likewise.
23372 * math/w_acoshl.c: Likewise.
23373 * math/w_asin.c: Likewise.
23374 * math/w_asinf.c: Likewise.
23375 * math/w_asinl.c: Likewise.
23376 * math/w_atan2.c: Likewise.
23377 * math/w_atan2f.c: Likewise.
23378 * math/w_atan2l.c: Likewise.
23379 * math/w_atanh.c: Likewise.
23380 * math/w_atanhf.c: Likewise.
23381 * math/w_atanhl.c: Likewise.
23382 * math/w_exp10.c: Likewise.
23383 * math/w_exp10f.c: Likewise.
23384 * math/w_exp10l.c: Likewise.
23385 * math/w_fmod.c: Likewise.
23386 * math/w_fmodf.c: Likewise.
23387 * math/w_fmodl.c: Likewise.
23388 * math/w_j0.c: Likewise.
23389 * math/w_j0f.c: Likewise.
23390 * math/w_j0l.c: Likewise.
23391 * math/w_j1.c: Likewise.
23392 * math/w_j1f.c: Likewise.
23393 * math/w_j1l.c: Likewise.
23394 * math/w_jn.c: Likewise.
23395 * math/w_jnf.c: Likewise.
23396 * math/w_log.c: Likewise.
23397 * math/w_logf.c: Likewise.
23398 * math/w_logl.c: Likewise.
23399 * math/w_log10.c: Likewise.
23400 * math/w_log10f.c: Likewise.
23401 * math/w_log10l.c: Likewise.
23402 * math/w_log2.c: Likewise.
23403 * math/w_log2f.c: Likewise.
23404 * math/w_log2l.c: Likewise.
23405 * math/w_pow.c: Likewise.
23406 * math/w_powf.c: Likewise.
23407 * math/w_powl.c: Likewise.
23408 * math/w_remainder.c: Likewise.
23409 * math/w_remainderf.c: Likewise.
23410 * math/w_remainderl.c: Likewise.
23411 * math/w_scalb.c: Likewise.
23412 * math/w_scalbf.c: Likewise.
23413 * math/w_scalbl.c: Likewise.
23414 * math/w_sqrt.c: Likewise.
23415 * math/w_sqrtf.c: Likewise.
23416 * math/w_sqrtl.c: Likewise.
23417 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23418 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23419 used.
23420 * math/math_private.h: Declare __kernel_standard_f.
23421 * math/w_cosh.c: Remove cruft and optimize a bit.
23422 * math/w_coshf.c: Likewise.
23423 * math/w_coshl.c: Likewise.
23424 * math/w_exp2.c: Likewise.
23425 * math/w_exp2f.c: Likewise.
23426 * math/w_exp2l.c: Likewise.
23427 * math/w_hypot.c: Likewise.
23428 * math/w_hypotf.c: Likewise.
23429 * math/w_hypotl.c: Likewise.
23430 * math/w_lgamma.c: Likewise.
23431 * math/w_lgamma_r.c: Likewise.
23432 * math/w_lgammaf.c: Likewise.
23433 * math/w_lgammaf_r.c: Likewise.
23434 * math/w_lgammal.c: Likewise.
23435 * math/w_lgammal_r.c: Likewise.
23436 * math/w_sinh.c: Likewise.
23437 * math/w_sinhf.c: Likewise.
23438 * math/w_sinhl.c: Likewise.
23439 * math/w_tgamma.c: Likewise.
23440 * math/w_tgammaf.c: Likewise.
23441 * math/w_tgammal.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23443 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23444 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23445 Minor optimizations. Pretty printing. Remove cruft.
23446 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23447 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23448 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23449 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23450 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23451 * sysdeps/i386/fpu/e_asin.S: Likewise.
23452 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23453 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23454 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23455 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23456 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23457 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23458 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23459 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23460 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23461 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23462 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23463 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23464 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23465 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23466 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23467 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23468 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23469 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23470 * sysdeps/i386/fpu/e_log.S: Likewise.
23471 * sysdeps/i386/fpu/e_log10.S: Likewise.
23472 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23473 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23474 * sysdeps/i386/fpu/e_log2.S: Likewise.
23475 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23476 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23477 * sysdeps/i386/fpu/e_logf.S: Likewise.
23478 * sysdeps/i386/fpu/e_logl.S: Likewise.
23479 * sysdeps/i386/fpu/e_pow.S: Likewise.
23480 * sysdeps/i386/fpu/e_powf.S: Likewise.
23481 * sysdeps/i386/fpu/e_powl.S: Likewise.
23482 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23483 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23484 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23485 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23486 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23487 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23488 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23489 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23490 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23491 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23492 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23494 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23495 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23496 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23497 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23498 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23499 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23500 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23501 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23502 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23504 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23505 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23507 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23508 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23509 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23510 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23511 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23512 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23513 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23514 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23515 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23516 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23517 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23518 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23519 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23520 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23521 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23522 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23523 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23524 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23525 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23526 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23527 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23528 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23529 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23530 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23531 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23532 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23560 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23563 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23571 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23574 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23576 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23577 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23579 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23582 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23583 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23584 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23585 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23586 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23587 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23588 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23589 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23590 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23591 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23592 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23593 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23594 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23595 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23596 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23597 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23598 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23599 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23600 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23601 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23602 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23603 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23604 (__isnanf): Likewise.
23605 (__isinf_ns): Likewise.
23606 (__isinf_nsf): Likewise.
23607 (__finite): Likewise.
23608 (__finitef): Likewise.
23609 (__ieee754_sqrt): Define as macro.
23610 (__ieee754_sqrtf): Define as macro.
23611 (__ieee754_sqrtl): Define as macro.
23612 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23613 inlined copy.
23614 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23615 __FINITE_MATH_ONLY__ consistent.
23616 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23617
12cc2fcd
AS
236182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23619
a843a204
AS
23620 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23621 of rawmemchr.
23622
12cc2fcd
AS
23623 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23624
c853acd5
UD
236252011-10-09 Ulrich Drepper <drepper@gmail.com>
23626
23627 * po/ja.po: Update from translation team.
23628
c658d255
RM
236292011-10-08 Roland McGrath <roland@hack.frob.com>
23630
110946e4
RM
23631 * locale/programs/locarchive.c (prepare_address_space): New function.
23632 (create_archive, enlarge_archive, open_archive): Use it.
23633
50604220
RM
23634 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23635 inside [SHARED], where it is used.
23636
c658d255
RM
23637 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23638
23639 * nss/getent.c (netgroup_keys): Remove unused variable.
23640 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23641
6a621eb7
UD
236422011-10-08 Ulrich Drepper <drepper@gmail.com>
23643
7edb55ce
UD
23644 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23645 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23647 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23648 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23649 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23650 * math/Makefile (libm-calls): Add s_isinf_ns.
23651 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23652 * math/multc3.c: Likewise.
23653 * math/s_casin.c: Likewise.
23654 * math/s_casinf.c: Likewise.
23655 * math/s_casinl.c: Likewise.
23656 * math/s_ccos.c: Likewise.
23657 * math/s_ccosf.c: Likewise.
23658 * math/s_ccosl.c: Likewise.
23659 * math/s_ctan.c: Likewise.
23660 * math/s_ctanf.c: Likewise.
23661 * math/s_ctanh.c: Likewise.
23662 * math/s_ctanhf.c: Likewise.
23663 * math/s_ctanhl.c: Likewise.
23664 * math/s_ctanl.c: Likewise.
23665 * math/w_fmod.c: Likewise.
23666 * math/w_fmodf.c: Likewise.
23667 * math/w_fmodl.c: Likewise.
23668 * math/w_remainder.c: Likewise.
23669 * math/w_remainderf.c: Likewise.
23670 * math/w_remainderl.c: Likewise.
23671 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23672 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23673 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23674 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23675 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23676 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23677 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23678 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23679
187da0ae
UD
23680 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23681 of the number.
23682 * stdio-common/printf_fphex.c: Likewise.
23683 * stdio-common/printf_size.c: Likewise.
23684
9277c064
UD
23685 * math/e_exp10.c: Include math_private.h using <...> not "...".
23686 * math/e_exp10f.c: Likewise.
23687 * math/e_exp10l.c: Likewise.
23688 * math/e_exp2l.c: Likewise.
23689 * math/e_j0l.c: Likewise.
23690 * math/e_j1l.c: Likewise.
23691 * math/e_jnl.c: Likewise.
23692 * math/e_lgammal_r.c: Likewise.
23693 * math/e_rem_pio2l.c: Likewise.
23694 * math/e_scalb.c: Likewise.
23695 * math/e_scalbf.c: Likewise.
23696 * math/e_scalbl.c: Likewise.
23697 * math/k_cosl.c: Likewise.
23698 * math/k_sinl.c: Likewise.
23699 * math/k_tanl.c: Likewise.
23700 * math/s_cacoshf.c: Likewise.
23701 * math/s_catan.c: Likewise.
23702 * math/s_catanf.c: Likewise.
23703 * math/s_catanh.c: Likewise.
23704 * math/s_catanhf.c: Likewise.
23705 * math/s_catanhl.c: Likewise.
23706 * math/s_catanl.c: Likewise.
23707 * math/s_ccosh.c: Likewise.
23708 * math/s_ccoshf.c: Likewise.
23709 * math/s_ccoshl.c: Likewise.
23710 * math/s_cexp.c: Likewise.
23711 * math/s_cexpf.c: Likewise.
23712 * math/s_cexpl.c: Likewise.
23713 * math/s_clog.c: Likewise.
23714 * math/s_clog10.c: Likewise.
23715 * math/s_clog10f.c: Likewise.
23716 * math/s_clog10l.c: Likewise.
23717 * math/s_clogf.c: Likewise.
23718 * math/s_clogl.c: Likewise.
23719 * math/s_csin.c: Likewise.
23720 * math/s_csinf.c: Likewise.
23721 * math/s_csinh.c: Likewise.
23722 * math/s_csinhf.c: Likewise.
23723 * math/s_csinhl.c: Likewise.
23724 * math/s_csinl.c: Likewise.
23725 * math/s_csqrt.c: Likewise.
23726 * math/s_csqrtf.c: Likewise.
23727 * math/s_csqrtl.c: Likewise.
23728 * math/s_ctan.c: Likewise.
23729 * math/s_ctanf.c: Likewise.
23730 * math/s_ctanh.c: Likewise.
23731 * math/s_ctanhf.c: Likewise.
23732 * math/s_ctanhl.c: Likewise.
23733 * math/s_ctanl.c: Likewise.
23734 * math/s_ldexp.c: Likewise.
23735 * math/s_ldexpf.c: Likewise.
23736 * math/s_ldexpl.c: Likewise.
23737 * math/s_significand.c: Likewise.
23738 * math/s_significandf.c: Likewise.
23739 * math/s_significandl.c: Likewise.
23740 * math/w_acos.c: Likewise.
23741 * math/w_acosf.c: Likewise.
23742 * math/w_acosh.c: Likewise.
23743 * math/w_acoshf.c: Likewise.
23744 * math/w_acoshl.c: Likewise.
23745 * math/w_acosl.c: Likewise.
23746 * math/w_asin.c: Likewise.
23747 * math/w_asinf.c: Likewise.
23748 * math/w_asinl.c: Likewise.
23749 * math/w_atan2.c: Likewise.
23750 * math/w_atan2f.c: Likewise.
23751 * math/w_atan2l.c: Likewise.
23752 * math/w_atanh.c: Likewise.
23753 * math/w_atanhf.c: Likewise.
23754 * math/w_atanhl.c: Likewise.
23755 * math/w_cosh.c: Likewise.
23756 * math/w_coshf.c: Likewise.
23757 * math/w_coshl.c: Likewise.
23758 * math/w_dremf.c: Likewise.
23759 * math/w_exp10.c: Likewise.
23760 * math/w_exp10f.c: Likewise.
23761 * math/w_exp10l.c: Likewise.
23762 * math/w_exp2.c: Likewise.
23763 * math/w_exp2f.c: Likewise.
23764 * math/w_fmod.c: Likewise.
23765 * math/w_fmodf.c: Likewise.
23766 * math/w_fmodl.c: Likewise.
23767 * math/w_hypot.c: Likewise.
23768 * math/w_hypotf.c: Likewise.
23769 * math/w_hypotl.c: Likewise.
23770 * math/w_j0.c: Likewise.
23771 * math/w_j0f.c: Likewise.
23772 * math/w_j0l.c: Likewise.
23773 * math/w_j1.c: Likewise.
23774 * math/w_j1f.c: Likewise.
23775 * math/w_j1l.c: Likewise.
23776 * math/w_jn.c: Likewise.
23777 * math/w_jnf.c: Likewise.
23778 * math/w_jnl.c: Likewise.
23779 * math/w_lgamma.c: Likewise.
23780 * math/w_lgamma_r.c: Likewise.
23781 * math/w_lgammaf.c: Likewise.
23782 * math/w_lgammaf_r.c: Likewise.
23783 * math/w_lgammal.c: Likewise.
23784 * math/w_lgammal_r.c: Likewise.
23785 * math/w_log.c: Likewise.
23786 * math/w_log10.c: Likewise.
23787 * math/w_log10f.c: Likewise.
23788 * math/w_log10l.c: Likewise.
23789 * math/w_log2.c: Likewise.
23790 * math/w_log2f.c: Likewise.
23791 * math/w_log2l.c: Likewise.
23792 * math/w_logf.c: Likewise.
23793 * math/w_logl.c: Likewise.
23794 * math/w_pow.c: Likewise.
23795 * math/w_powf.c: Likewise.
23796 * math/w_powl.c: Likewise.
23797 * math/w_remainder.c: Likewise.
23798 * math/w_remainderf.c: Likewise.
23799 * math/w_remainderl.c: Likewise.
23800 * math/w_scalb.c: Likewise.
23801 * math/w_scalbf.c: Likewise.
23802 * math/w_scalbl.c: Likewise.
23803 * math/w_sinh.c: Likewise.
23804 * math/w_sinhf.c: Likewise.
23805 * math/w_sinhl.c: Likewise.
23806 * math/w_sqrt.c: Likewise.
23807 * math/w_sqrtf.c: Likewise.
23808 * math/w_sqrtl.c: Likewise.
23809 * math/w_tgamma.c: Likewise.
23810 * math/w_tgammaf.c: Likewise.
23811 * math/w_tgammal.c: Likewise.
23812
6a621eb7
UD
23813 * po/ja.po: Update from translation team.
23814
bf582445
AJ
238152011-09-29 Andreas Jaeger <aj@suse.de>
23816
f9efbf3a
AJ
23817 [BZ #13179]
23818 * sunrpc/netname.c (netname2host): Fix logic.
23819
bf582445
AJ
23820 [BZ #6779]
23821 [BZ #6783]
23822 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23823 correctly.
23824 * math/w_remainder.c (__remainder): Likewise.
23825 * math/w_remainderf.c (__remainderf): Likewise.
23826 * math/libm-test.inc (remainder_test): Add test cases.
23827
48693bea
AK
238282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23829
23830 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23831 sdiv_qrnnd.
23832
42622229
LD
238332011-10-07 Ulrich Drepper <drepper@gmail.com>
23834
23835 * string/test-memcmp.c: Avoid unncessary #defines.
23836 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23837
093ecf92
LD
238382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23839
23840 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23841 Use new sse2 version for core i3 - i7 as it's faster
23842 than sse42 version.
23843 (bit_Prefer_PMINUB_for_stringop): New.
23844 * sysdeps/x86_64/rawmemchr.S: Update.
23845 Replace with faster SSE2 version.
23846 * sysdeps/x86_64/memrchr.S: New file.
23847 * sysdeps/x86_64/memchr.S: Update.
23848 Replace with faster SSE2 version.
23849
fde56e5c
MP
238502011-09-12 Marek Polacek <mpolacek@redhat.com>
23851
23852 * elf/dl-load.c (lose): Add cast to avoid warning.
23853
21fd49a9
UD
238542011-10-07 Ulrich Drepper <drepper@gmail.com>
23855
5a06e643
UD
23856 * po/ca.po: Update from translation team.
23857
684ae515
UD
23858 * inet/getnetgrent_r.c: Hook up nscd.
23859 * nscd/Makefile (routines): Add nscd_netgroup.
23860 (nscd-modules): Add netgroupcache.
23861 (CFLAGS-netgroupcache.c): Define.
23862 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23863 (cache_search): Add const to second parameter.
23864 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23865 INNETGR.
23866 (dbs): Add netgrdb entry.
23867 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23868 (verify_persistent_db): Handle netgrdb.
23869 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23870 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23871 GETFDNETGR.
23872 (netgroup_response_header): Define.
23873 (innetgroup_response_header): Define.
23874 (datahead): Add netgroup_response_header and innetgroup_response_header
23875 elements.
23876 * nscd/nscd.conf: Add entries for netgroup cache.
23877 * nscd/nscd.h (dbtype): Add netgrdb.
23878 (_PATH_NSCD_NETGROUP_DB): Define.
23879 (netgroup_iov_disabled): Declare.
23880 (xmalloc, xcalloc, xrealloc): Move declarations here.
23881 (cache_search): Adjust prototype.
23882 Add netgroup-related prototypes.
23883 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23884 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23885 (__nscd_innetgr): Declare.
23886 * nscd/selinux.c (perms): Use access_vector_t as element type and
23887 add netgroup-related initializers.
23888 * nscd/netgroupcache.c: New file.
23889 * nscd/nscd_netgroup.c: New file.
23890 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23891 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23892 For four parameters use innetgr.
23893 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23894 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23895 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23896 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23897
21fd49a9
UD
23898 * nscd/connections.c (register_traced_file): Don't register file
23899 for disabled databases.
23900
054c0457
UD
239012011-10-06 Ulrich Drepper <drepper@gmail.com>
23902
32b63198
UD
23903 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23904
054c0457
UD
23905 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23906 from tree and freeing node.
23907
64031225
JO
239082011-09-25 Jiri Olsa <jolsa@redhat.com>
23909
23910 * nss/nsswitch.c (__nss_database_lookup): Handle
23911 nss_parse_service_list out of memory case.
23912
0490345c
JO
239132011-09-15 Jiri Olsa <jolsa@redhat.com>
23914
23915 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23916 out of memory case.
23917
3a62d00d
AS
239182011-10-04 Andreas Schwab <schwab@redhat.com>
23919
23920 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23921 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23922 pass it down.
23923 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23924 elf_machine_rela, elf_machine_lazy_rel.
23925 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23926 (ELF_DYNAMIC_DO_REL): Likewise.
23927 (ELF_DYNAMIC_DO_RELA): Likewise.
23928 (ELF_DYNAMIC_RELOCATE): Likewise.
23929 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23930 to ELF_DYNAMIC_DO_REL.
23931 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23932 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23933 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23934 elf_machine_rela.
23935 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23936 skip_ifunc, don't call ifunc function if non-zero.
23937 (elf_machine_rela): Likewise.
23938 (elf_machine_lazy_rel): Likewise.
23939 (elf_machine_lazy_rela): Likewise.
23940 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23941 (elf_machine_lazy_rel): Likewise.
23942 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23943 Likewise.
23944 (elf_machine_lazy_rel): Likewise.
23945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23946 Likewise.
23947 (elf_machine_lazy_rel): Likewise.
23948 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23949 (elf_machine_lazy_rel): Likewise.
23950 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23951 (elf_machine_lazy_rel): Likewise.
23952 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23953 (elf_machine_lazy_rel): Likewise.
23954 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23955 (elf_machine_lazy_rel): Likewise.
23956 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23957 (elf_machine_lazy_rel): Likewise.
23958 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23959 (elf_machine_lazy_rel): Likewise.
23960
68577918
UD
239612011-09-28 Ulrich Drepper <drepper@gmail.com>
23962
23963 * nss/nss_files/files-init.c (_nss_files_init): Use static
23964 initialization for all the *_traced_file variables.
23965
68822d74
AS
239662011-09-28 Andreas Schwab <schwab@redhat.com>
23967
23968 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23969
2056100b
RM
239702011-09-27 Roland McGrath <roland@hack.frob.com>
23971
23972 [BZ #13226]
23973 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23974
32c76b63
AS
239752011-09-27 Andreas Schwab <schwab@redhat.com>
23976
23977 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23978 Reread the line before reparsing it.
23979
bf972c9d
AS
239802011-09-26 Andreas Schwab <schwab@redhat.com>
23981
23982 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23983
e057a1b5
JM
239842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23985 Maxim Kuvyrkov <maxim@codesourcery.com>
23986 Joseph Myers <joseph@codesourcery.com>
23987
23988 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23989 if needed for __stack_chk_guard.
23990
bc7e1c36
RM
239912011-09-19 Roland McGrath <roland@hack.frob.com>
23992
ecb1482f
RM
23993 * sysdeps/posix/spawni.c (script_execute): Always define it.
23994 It will be optimized away if unused.
23995 (maybe_script_execute): New function.
23996 (__spawni): Call it.
23997
bc7e1c36
RM
23998 * Makerules: Don't include tls.make.
23999 (config-tls): Always set to thread.
24000 * tls.make.c: File removed.
24001
1c3b002b
MF
240022011-09-19 Mike Frysinger <vapier@gentoo.org>
24003
24004 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24005 * config.make.in (CPPFLAGS-config): New substituted variable.
24006
2840865d
UD
240072011-09-15 Ulrich Drepper <drepper@gmail.com>
24008
88738eb6
UD
24009 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24010
cbf645a6 24011 [BZ #13192]
2840865d
UD
24012 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24013 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24014
b402e91a
RM
240152011-09-15 Roland McGrath <roland@hack.frob.com>
24016
24017 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24018 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24019 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24020 (CALL_FAIL): Likewise.
24021 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24022 (CALL_FAIL): Macro removed.
24023 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24024
4c1a1f71
UD
240252011-09-15 Ulrich Drepper <drepper@gmail.com>
24026
24027 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24028 for __FINITE_MATH_ONLY__ == 1.
24029
edc121be
AS
240302011-09-15 Andreas Schwab <schwab@redhat.com>
24031
24032 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24033 __ieee754_sqrt instead of sqrt.
24034 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24035 __ieee754_sqrtf instead of sqrtf.
24036 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24037 __floorf instead of floorf.
24038 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24039 __floorf, __truncf instead of floorf, truncf.
24040
cd205654
UD
240412011-09-14 Ulrich Drepper <drepper@gmail.com>
24042
ee4d0315
UD
24043 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24044
cd205654
UD
24045 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24046 __extern_always_inline.
24047 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24048 32-bit.
24049
48b67d71
AS
240502011-09-14 Andreas Schwab <schwab@redhat.com>
24051
24052 * elf/rtld.c (dl_main): Also relocate in dependency order when
24053 doing symbol dependency testing.
24054
1ae12c75
AS
240552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24056
24057 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24058 Always define `refsym'.
24059
995a80df
AS
240602011-09-13 Andreas Schwab <schwab@redhat.com>
24061
e529793b
AS
24062 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24063 (__FD_ELT): Renamed from __FDELT.
24064 * misc/bits/select2.h (__FD_ELT): Likewise.
24065 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24066 __FD_MASK instead of __FDELT, __FDMASK.
24067 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24068 Likewise.
24069 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24070 Likewise.
24071
52d4fef8
AS
24072 * elf/Makefile (gen-ldd): Fix pattern.
24073
995a80df
AS
24074 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24075 (init_tls): Likewise.
24076
8682f8b0
UD
240772011-09-12 Ulrich Drepper <drepper@gmail.com>
24078
24079 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24080
de82006d
AS
240812011-09-12 Andreas Schwab <schwab@redhat.com>
24082
a7c8e6a1
AS
24083 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24084 `struct cmsghdr *' instead of `void *'.
24085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24086 Likewise.
24087
0f31fe77
AS
240882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24089
24090 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24091 if non-absolute.
24092 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24093 ldd_rewrite_script.
0f31fe77 24094
32b4c839
UD
240952011-09-11 Ulrich Drepper <drepper@gmail.com>
24096
83cd1420
UD
24097 * configure.in: Remove --with-tls option.
24098 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24099 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24100 out in case it is missing.
24101 * sysdeps/ia64/elf/configure.in: Likewise.
24102 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24103 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24104 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24105 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24106 * sysdeps/sh/elf/configure.in: Likewise.
24107 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24108 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24109 * sysdeps/x86_64/elf/configure.in: Likewise.
24110 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24111 * sysdeps/mach/hurd/tls.h: Likewise.
24112
633f745d
UD
24113 [BZ #13067]
24114 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24115
f318beb8
UD
24116 [BZ #13090]
24117 * configure.in: Fix use of AC_INIT.
24118
32b4c839
UD
24119 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24120
3ce1f295
UD
241212011-09-10 Ulrich Drepper <drepper@gmail.com>
24122
bb016596
UD
24123 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24124 __set_errno.
8e58439c
UD
24125 * malloc/hooks.c: Likewise.
24126
aebae053 24127 [BZ #11929]
02d46fc4
UD
24128 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24129 variables statically.
24130 (narenas): Initialize.
24131 (list_lock): Initialize.
bb016596
UD
24132 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24133 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24134 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24135 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24136 Add initializers to main_arena and mp_.
24137 (malloc_state): Remove pagesize member. Change all users to use
24138 GLRO(dl_pagesize).
24139
24140 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24141 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24142 is always initialized.
24143
22a89187
UD
24144 * malloc/malloc.c: Removed unused configurations and dead code.
24145 * malloc/arena.c: Likewise.
24146 * malloc/hooks.c: Likewise.
02d46fc4 24147 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24148
d063d164
UD
24149 * include/tls.h: Removed. USE___THREAD must always be defined.
24150 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24151 * elf/dl-libc.c: Likewise.
24152 * elf/dl-tsd.c: Likewise.
24153 * include/errno.h: Likewise.
24154 * include/netdb.h: Likewise.
24155 * include/resolv.h: Likewise.
24156 * inet/herrno-loc.c: Likewise.
24157 * inet/herrno.c: Likewise.
24158 * malloc/arena.c: Likewise.
24159 * malloc/hooks.c: Likewise.
24160 * malloc/malloc.c: Likewise.
24161 * resolv/res-state.c: Likewise.
24162 * resolv/res_libc.c: Likewise.
24163 * sysdeps/i386/dl-machine.h: Likewise.
24164 * sysdeps/ia64/dl-machine.h: Likewise.
24165 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24166 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24167 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24168 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24169 * sysdeps/sh/dl-machine.h: Likewise.
24170 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24171 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24172 * sysdeps/unix/i386/sysdep.S: Likewise.
24173 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24174 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24175 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24176 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24177 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24178 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24179 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24181 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24183 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24184 * sysdeps/x86_64/dl-machine.h: Likewise.
24185 * tls.make.c: Likewise.
24186
3ce1f295
UD
24187 * configure.in: Remove --with-__thread option. Make tests for
24188 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24189 tls_model attribute fail if no support is available. Remove
24190 USE_IN_LIBIO.
24191 * Makeconfig: Adjust for dropped configure option. All features are
24192 now mandatory.
24193 * Makerules: Likewise.
24194 * Versions.def: Likewise.
24195 * argp/argp-fmtstream.c: Likewise.
24196 * argp/argp-fmtstream.h: Likewise.
24197 * argp/argp-help.c: Likewise.
24198 * assert/assert.c: Likewise.
24199 * config.h.in: Likewise.
24200 * config.make.in: Likewise.
24201 * configure: Likewise.
24202 * configure.in: Likewise.
24203 * csu/Versions: Likewise.
24204 * csu/init.c: Likewise.
24205 * elf/tst-audit2.c: Likewise.
24206 * elf/tst-tls10.c: Likewise.
24207 * elf/tst-tls10.h: Likewise.
24208 * elf/tst-tls11.c: Likewise.
24209 * elf/tst-tls12.c: Likewise.
24210 * elf/tst-tls14.c: Likewise.
24211 * elf/tst-tlsmod11.c: Likewise.
24212 * elf/tst-tlsmod12.c: Likewise.
24213 * elf/tst-tlsmod13.c: Likewise.
24214 * elf/tst-tlsmod13a.c: Likewise.
24215 * elf/tst-tlsmod14a.c: Likewise.
24216 * elf/tst-tlsmod15b.c: Likewise.
24217 * elf/tst-tlsmod16a.c: Likewise.
24218 * elf/tst-tlsmod16b.c: Likewise.
24219 * elf/tst-tlsmod7.c: Likewise.
24220 * elf/tst-tlsmod8.c: Likewise.
24221 * elf/tst-tlsmod9.c: Likewise.
24222 * gmon/gmon.c: Likewise.
24223 * grp/fgetgrent_r.c: Likewise.
24224 * grp/putgrent.c: Likewise.
24225 * hurd/fopenport.c: Likewise.
24226 * include/libc-symbols.h: Likewise.
24227 * include/tls.h: Likewise.
24228 * intl/gettextP.h: Likewise.
24229 * intl/loadinfo.h: Likewise.
24230 * locale/global-locale.c: Likewise.
24231 * locale/localeinfo.h: Likewise.
24232 * mach/devstream.c: Likewise.
24233 * malloc/arena.c: Likewise.
24234 * malloc/set-freeres.c: Likewise.
24235 * misc/err.c: Likewise.
24236 * misc/getttyent.c: Likewise.
24237 * misc/mntent_r.c: Likewise.
24238 * posix/getopt.c: Likewise.
24239 * posix/wordexp.c: Likewise.
24240 * pwd/fgetpwent_r.c: Likewise.
24241 * resolv/Versions: Likewise.
24242 * resolv/res_hconf.c: Likewise.
24243 * shadow/fgetspent_r.c: Likewise.
24244 * shadow/putspent.c: Likewise.
24245 * stdio-common/printf_fphex.c: Likewise.
24246 * stdio-common/tmpfile.c: Likewise.
24247 * stdlib/abort.c: Likewise.
24248 * stdlib/fmtmsg.c: Likewise.
24249 * sunrpc/auth_unix.c: Likewise.
24250 * sunrpc/clnt_perr.c: Likewise.
24251 * sunrpc/clnt_tcp.c: Likewise.
24252 * sunrpc/clnt_udp.c: Likewise.
24253 * sunrpc/clnt_unix.c: Likewise.
24254 * sunrpc/openchild.c: Likewise.
24255 * sunrpc/svc_simple.c: Likewise.
24256 * sunrpc/svc_tcp.c: Likewise.
24257 * sunrpc/svc_udp.c: Likewise.
24258 * sunrpc/svc_unix.c: Likewise.
24259 * sunrpc/xdr.c: Likewise.
24260 * sunrpc/xdr_array.c: Likewise.
24261 * sunrpc/xdr_rec.c: Likewise.
24262 * sunrpc/xdr_ref.c: Likewise.
24263 * sunrpc/xdr_stdio.c: Likewise.
24264
1248c1c4
PB
242652011-09-09 Ulrich Drepper <drepper@gmail.com>
24266
24267 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24268
242692011-07-03 Andreas Jaeger <aj@suse.de>
24270
24271 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24272 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24273 regenerate with gen-libm-tests.pl.
24274
242752010-05-12 Petr Baudis <pasky@suse.cz>
24276
24277 [BZ #11589]
24278 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24279 around j0() zero points by switching to j1().
24280 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24281 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24284
f22e1074
UD
242852011-09-09 Ulrich Drepper <drepper@gmail.com>
24286
f19009c1
UD
24287 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24288 instead of 0.
24289 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24290 instead of 0.
f19009c1
UD
24291 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24292 Patch in part by Pavel Roskin <proski@gnu.org>.
24293
3f8cc204
UD
24294 [BZ #13138]
24295 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24296 realloc.
24297 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24298 Free memory block if necessary.
24299
f22e1074
UD
24300 [BZ #12847]
24301 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24302 be NULL. Don't lock in this case.
24303
0a2349f9
RM
243042011-09-09 Roland McGrath <roland@hack.frob.com>
24305
24306 * elf/elf.h (ELFOSABI_GNU): New macro.
24307 (ELFOSABI_LINUX): Define to that.
24308
f3cdd467
DZ
243092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24310
24311 * string/strncat.c (strncat): Undef the symbol in case it has been
24312 defined in bits/string.h.
24313
74718d13
UD
243142011-09-09 Ulrich Drepper <drepper@gmail.com>
24315
633e9e0f
UD
24316 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24317
0a2349f9 24318 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24319 link map.
24320
f9924780
AJ
243212011-08-17 Andreas Jaeger <aj@suse.de>
24322
24323 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24324
7f5517aa
PP
243252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24326 Ian Lance Taylor <iant@google.com>
24327
24328 * math/libm-test.inc (lround_test): New testcase.
24329 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24330
762011fe
UD
243312011-09-08 Ulrich Drepper <drepper@gmail.com>
24332
92963737
UD
24333 * Makefile: Remove support for automatic cvs check-ins.
24334 * Makerules: Likewise.
24335 * config.make.in: Likewise.
24336 * configure.in: Likewise.
24337 * intl/Makefile: Likewise.
24338 * locale/Makefile: Likewise.
24339 * po/Makefile: Likewise.
24340 * posix/Makefile: Likewise.
24341 * sysdeps/gnu/Makefile: Likewise.
24342 * sysdeps/mach/hurd/Makefile: Likewise.
24343 * sysdeps/sparc/sparc32/Makefile: Likewise.
24344
b0727fd8
JS
24345 [BZ #13118]
24346 * posix/Makefile (bug-regex32-ENV): Define.
24347 Patch by John Stanley <jpsinthemix@verizon.net>.
24348
a0f33f99
UD
24349 * misc/Makefile (headers): Add bits/select2.h.
24350 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24351 * misc/bits/select2.h: New file.
24352 * include/bits/select2.h: New file.
24353 * debug/Makefile (routines): Add fdelt_chk.
24354 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24355 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24356 FD_ISSET.
24357 * debug/fdelt_chk.c: New file.
24358
762011fe
UD
24359 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24360 * wcsmbs/test-wmemcmp.c: Likewise.
24361 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24362 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24363
243642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24365
24366 * string/Makefile (strop-tests): Add memcmp.
24367 * string/test-wmemcmp.c: New file.
24368 * string/test-memcmp.c: Add wmemcmp support.
24369
7f513ec8
RM
243702011-09-08 Roland McGrath <roland@hack.frob.com>
24371
0442afb4
RM
24372 [BZ #13153]
24373 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24374 2011-07-19 change.
24375
7f513ec8
RM
24376 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24377 garbage value in a __mach_port_mod_refs call in the cases of the
24378 task-self and thread-self ports.
24379
a12b2239
ST
243802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24381
24382 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24383
610f9ab4
AS
243842011-09-08 Andreas Schwab <schwab@redhat.com>
24385
7f513ec8 24386 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24387
48882a1a
LD
243882011-09-07 Ulrich Drepper <drepper@gmail.com>
24389
b49865be
UD
24390 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24391
fdc86bc9
UD
24392 * elf/dl-libc.c (dlerror_run): Pass back error code from
24393 dl_catch_error.
24394
c966526a
UD
24395 [BZ #13123]
24396 * elf/dl-load.c (lose): Free l_origin if it is valid.
24397
48882a1a
LD
24398 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24399 names.
24400 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24401 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24402 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24403 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24404 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24405 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24406
77a2a8b4
AZ
244072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24408
24409 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24410 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24411 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24412 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24413 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24414 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24415 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24416 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24417 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24418 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24419
24f579d8
AM
244202011-08-15 Alan Modra <amodra@gmail.com>
24421
24422 [BZ #13092]
24423 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24424 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24425 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24426 ppc_mcount to static-only-routines.
24427 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24428 __mcount_internal.
24429 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24430 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24431
3d4837df
UD
244322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24433
24434 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24435 for finite and infinity parameters.
24436
22700377
WS
244372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24438
24439 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24440 and add nop instructions for throughput optimization.
24441 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24442
5025581e
WS
244432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24444
24445 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24446 aligned copy for power7 with vector-scalar instructions.
24447 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24448
08a300c9
L
244492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24450
24451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24452 AVX check.
24453
59178ef9
AS
244542011-09-07 Andreas Schwab <schwab@redhat.com>
24455
24456 [BZ #13144]
24457 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24458 last change.
24459
e38ba7ab
UD
244602011-09-07 Ulrich Drepper <drepper@gmail.com>
24461
24462 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24463 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24464 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24465 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24466 clock_gettime.
24467
d53a73ac
UD
244682011-09-06 Ulrich Drepper <drepper@gmail.com>
24469
fc8bffcc
UD
24470 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24471 Forgot to demangle the pointer.
24472
ceaa0c5d
UD
24473 * sysdeps/i386/sysdep.h: Define atom_text_section.
24474 * sysdeps/x86_64/sysdep.h: Likewise.
24475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24476 section with atom_text_section.
24477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24478 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24479 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24480 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24481 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24482
a77d3c17
UD
24483 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24484 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24485 already be defined. Change to take two parameters and don't assign
24486 result to variable. Adjust all users.
24487 Define INTERNAL_GETTIME if not already defined.
24488 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24489 call.
24490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24491 HAVE_CLOCK_GETTIME_VSYSCALL.
24492 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24493
d53a73ac
UD
24494 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24495 gettimeofday vsyscall, just use time.
24496
a8f84144
AS
244972011-09-06 Andreas Schwab <schwab@redhat.com>
24498
24499 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24500 <errno.h>.
24501
ef606249
UD
245022011-09-06 Ulrich Drepper <drepper@gmail.com>
24503
24504 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24505 syscall on x86-64.
24506 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24507 syscall.
24508 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24509 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24510 syscall if possible.
24511
6585cb60
UD
245122011-09-05 Ulrich Drepper <drepper@gmail.com>
24513
24514 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24515 e_ident. Don't pass to find_mapsXX.
24516 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24517
a5f524e4
LD
245182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24519
24520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24521 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24522 * sysdeps/x86_64/multiarch/strchr.S: Update.
24523 Check bit_slow_BSF bit.
24524 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24525 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24526 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24527
554881ef
UD
245282011-09-05 Ulrich Drepper <drepper@gmail.com>
24529
d96de963
UD
24530 [BZ #13134]
24531 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24532 before glibc 2.15.
24533 (tryshell): Define.
24534 (__spawni): Change last parameter to be flag. Test
24535 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24536 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24537 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24538 * posix/spawni.c: Likewise.
24539 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24540 * posix/spawnp.c: Likewise. Change normal version to use
24541 SPAWN_XFLAGS_USE_PATH.
24542 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24543 SPAWN_XFLAGS_TRY_SHELL.
24544
d48e5868
UD
24545 [BZ #13150]
24546 * posix/glob.h: Remove gcc 1.x support.
24547
554881ef
UD
24548 [BZ #13068]
24549 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24550
693fb948
LD
245512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24552
24553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24554 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24555 strrchr-sse2-bsf
24556 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24557 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24558 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24559 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24560 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24561 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24562
1b48c537
UD
245632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24564
49d42c37
UD
24565 * sysdeps/x86_64/wcscmp.S: New file.
24566
1b48c537
UD
24567 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24568 wcscmp-c wcscmp-sse2
24569 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24570 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24571 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24572 * wcsmbs/wcscmp.c: Allow renaming.
24573
15c95c5d
DM
245742011-09-05 David S. Miller <davem@davemloft.net>
24575
24576 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24577 stack slot, rather than the struct return pointer slot.
24578 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24579 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24581 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24582
2f0ad8f3
UD
245832011-09-05 Ulrich Drepper <drepper@gmail.com>
24584
d88ae418
UD
24585 * po/ja.po: Update from translation team.
24586
2f0ad8f3
UD
24587 [BZ #13144]
24588 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24589 kernel in 64-bit binaries.
24590
5f4318d1
DM
245912011-09-01 David S. Miller <davem@davemloft.net>
24592
24593 * elf/elf.h (HWCAP_SPARC_*): Move to..
24594 * sysdeps/sparc/sysdep.h: this new file and add new values.
24595 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24596 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24597 _DL_HWCAP_COUNT to 24.
24598 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24599 entries.
24600 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24601 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24602 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24604 instead of magic constants.
24605 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24606
3ba57516
DM
246072011-08-31 David S. Miller <davem@davemloft.net>
24608
24609 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24610 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24611 Reimplement to do errno handling inline.
24612 (SYSCALL_ERROR_HANDLER): New macro.
24613 (__SYSCALL_STRING): Do not do errno handling in asm.
24614 (__CLONE_SYSCALL_STRING): Delete.
24615 (__INTERNAL_SYSCALL_STRING): Delete.
24616 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24617 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24618 (PSEUDO): Reimplement to do errno handling inline.
24619 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24620 (SYSCALL_ERROR_HANDLER): New macro.
24621 (__SYSCALL_STRING): Do not do errno handling in asm.
24622 (__CLONE_SYSCALL_STRING): Delete.
24623 (__INTERNAL_SYSCALL_STRING): Delete.
24624 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24625 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24626 i386.
24627 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24628 (inline_syscall*): Add 'err' argument.
24629 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24630 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24631 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24632 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24633
24634 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24635 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24636
2bc17433
AS
246372011-08-30 Andreas Schwab <schwab@redhat.com>
24638
24639 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24640
fbeb5f4d
JO
246412011-08-29 Jiri Olsa <jolsa@redhat.com>
24642
24643 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24644 directive.
24645
ad69cc26
DM
246462011-08-24 David S. Miller <davem@davemloft.net>
24647
24648 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24649
39dd69df
AS
246502011-08-24 Andreas Schwab <schwab@redhat.com>
24651
24652 * elf/Makefile: Add rules to build and run unload8 test.
24653 * elf/unload8.c: New file.
24654 * elf/unload8mod1.c: New file.
24655 * elf/unload8mod1x.c: New file.
24656 * elf/unload8mod2.c: New file.
24657 * elf/unload8mod3.c: New file.
24658
24659 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24660 it wasn't used.
24661
2c0b250a
DM
246622011-08-23 David S. Miller <davem@davemloft.net>
24663
24664 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24665 subtract stack bias.
24666 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24667 %sp not %fp in calculations.
24668 (_JMPBUF_UNWINDS_ADJ): Likewise.
24669
22044b48
DM
24670 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24671 (aio_suspend): Call it to force an exception region around the
24672 AIO_MISC_WAIT() invocation.
24673
2cae4995
AS
246742011-08-23 Andreas Schwab <schwab@redhat.com>
24675
24676 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24677 backslash.
24678
873a772e
AJ
246792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24680
24681 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24682 protection macro.
24683 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24684 and <dl-machine.h>.
24685 (Elf64_FuncDesc): Remove.
24686
25ad0df1
DM
246872011-08-22 David S. Miller <davem@davemloft.net>
24688
24689 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24690 sigaltstack check, add missing cfi directives.
24691 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24692 missing cfi directives, and sigaltstack handling.
24693
e888bcbe
AS
246942011-08-16 Andreas Schwab <schwab@redhat.com>
24695
24696 [BZ #11724]
24697 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24698 object is seen twice.
24699 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24700
24701 * elf/Makefile (distribute): Add tst-initorder2.c.
24702 (tests): Add tst-initorder2.
24703 (modules-names): Add tst-initorder2a tst-initorder2b
24704 tst-initorder2c tst-initorder2d. Add rules to build them.
24705 ($(objpfx)tst-initorder2.out): New rule.
24706 * elf/tst-initorder2.c: New file.
24707 * elf/tst-initorder2.exp: New file.
24708
87162f46
AS
247092011-08-22 Andreas Schwab <schwab@redhat.com>
24710
70538b7f
AS
24711 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24712
f55ffe58
AS
24713 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24714 dependencies back to end of function.
24715
87162f46
AS
24716 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24717 $(elfobjdir)/ld.so.
24718
91b392a4
UD
247192011-08-21 Ulrich Drepper <drepper@gmail.com>
24720
24721 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24722 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24724 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24725 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24726 of __vdso_gettimeofday.
24727 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24728 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24729 attribute_hidden.
24730 (_libc_vdso_platform_setup): Remove initialization of
24731 __vdso_gettimeofday and __vdso_time.
24732
5c43483f
UD
247332011-08-20 Ulrich Drepper <drepper@gmail.com>
24734
775a77e7
UD
24735 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24736 and fgetc_unlocked.
24737 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24738 getc_unlocked.
89f447ed 24739
49c74ba9
UD
24740 * elf/dl-open.c (add_to_global): Report additions to the global scope
24741 for LD_DEBUG=scopes.
24742 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24743 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24744
5c43483f
UD
24745 [BZ #13114]
24746 * stdio-common/Makefile (tests): Add bug24.
24747 * stdio-common/bug24.c: New file.
24748
a101b025
AJ
247492011-08-19 Andreas Jaeger <aj@suse.de>
24750
24751 [BZ #13114]
24752 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24753 non-existant file when using close-on-exec mode.
24754
c88f1766
UD
247552011-08-20 Ulrich Drepper <drepper@gmail.com>
24756
0276a718
UD
24757 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24758 the very first instruction.
24759
c88f1766
UD
24760 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24761 the CFI state in the end.
24762 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24763 inclusion of dl-trampoline.h.
24764 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24765
51ccffa0
AS
247662011-08-19 Andreas Schwab <schwab@redhat.com>
24767
94d7165f
AS
24768 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24769 expectations for long double.
24770
51ccffa0
AS
24771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24772 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24773
fd708658 247742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24775
24776 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24777 artificual limit depends upon the system page size.
24778
44f0a71e
UD
247792011-08-17 Ulrich Drepper <drepper@gmail.com>
24780
24781 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24782 * resolv/Makefile: Define CFLAGS-libresolv.
24783
8de79a24
AS
247842011-08-17 Andreas Schwab <schwab@redhat.com>
24785
24786 * nss/makedb.c (compute_tables): Make variables used in nested
24787 function static.
24788
27724598
UD
247892011-08-17 Ulrich Drepper <drepper@gmail.com>
24790
c5305d88
UD
24791 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24792 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24793 if buffer was too small.
24794
27724598
UD
24795 * elf/pldd.c (main): Attach to all threads in the process.
24796 Rewrite /proc handling to use *at functions.
24797
076fe015
UD
247982011-08-16 Ulrich Drepper <drepper@gmail.com>
24799
174baab3
UD
24800 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24801 specifies first scope to show.
24802 (dl_open_worker): Update callers. Move printing scope of new
24803 object to before the relocation.
44f0a71e 24804 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24805 * sysdeps/generic/ldsodefs.h: Update declaration.
24806
076fe015
UD
24807 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24808 string for the scope number.
24809
a60df2c3
UD
248102011-08-14 Ulrich Drepper <drepper@gmail.com>
24811
24812 * nscd/servicescache.c (cache_addserv): Make sure written is always
24813 initialized.
24814
5e4287d1
RM
248152011-08-14 Roland McGrath <roland@hack.frob.com>
24816
85ae0589
RM
24817 * sysdeps/i386/i486/bits/atomic.h
24818 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24819 statement expression, so as to suppress "set but not used" warning.
24820 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24821
69f63097
RM
24822 * string/strncat.c (STRNCAT): Use prototype definition.
24823
675456ef
RM
24824 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24825 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24826 -Iprograms here.
24827 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24828 (localedef-modules): Add localedef.
24829 (locale-modules): Add locale.
24830
5e4287d1
RM
24831 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24832 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24833 to avoid a warning.
24834
9c96ff23
DM
248352011-08-14 David S. Miller <davem@davemloft.net>
24836
24837 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24838 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24839
f9ddf089
UD
248402011-08-13 Ulrich Drepper <drepper@gmail.com>
24841
44f0a71e 24842 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24843 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24844 * elf/rtld.c (dl_main): Set l_name of vDSO.
24845 Call _dl_show_scope when DL_DEBUG_SCOPES.
24846 (process_dl_debug): Recognize scopes flag and also set it for all.
24847 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24848 Declare _dl_show_scope.
24849
1dc27704
UD
24850 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24851 (do_dlopen): Pass caller_dlopen to dl_open.
24852 (__libc_dlopen_mode): Initialize caller_dlopen.
24853
f9ddf089
UD
24854 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24855 of libc. Make tolower call locale-independent. Optimize a bit by
24856 using isdigit instead of isalnum.
24857 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24858
9ac533d3
UD
248592011-08-12 Ulrich Drepper <drepper@gmail.com>
24860
24861 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24862 was a dependency or dynamically loaded.
24863
89edf2e9
UD
248642011-08-11 Ulrich Drepper <drepper@gmail.com>
24865
8e999d29
UD
24866 * intl/l10nflist.c: Allow architecture-specific pop function.
24867 * sysdeps/x86_64/l10nflist.c: New file.
24868
89edf2e9
UD
24869 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24870 classification.
24871
14d96785
AS
248722011-08-10 Andreas Schwab <schwab@redhat.com>
24873
24874 * include/dirent.h: Add libc_hidden_proto for scandirat and
24875 scandirat64. Don't declare __scandirat64.
24876 * dirent/scandirat.c: Add libc_hidden_def.
24877 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24878 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24879
6761ac04
DM
248802011-08-10 David S. Miller <davem@davemloft.net>
24881
24882 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24883 enum.
24884 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24885 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24886 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24887
c55fbd1e
UD
248882011-08-09 Ulrich Drepper <drepper@gmail.com>
24889
24890 * Versions.def [libc]: Add GLIBC_2.15.
24891 * dirent/Makefile (routines): Add scandirat and scandirat64.
24892 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24893 GLIBC_2.15.
24894 * dirent/dirent.h: Declare scandirat and scandirat64.
24895 * dirent/scandirat.c: New file.
24896 * dirent/scandirat64.c: New file.
24897 * sysdeps/wordsize-64/scandirat.c: New file.
24898 * sysdeps/wordsize-64/scandirat64.c: New file.
24899 * dirent/opendir.c: Define opendirat.
24900 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24901 using scandirat.
24902 * dirent/scandir64.c: Adjust for scandir.c change.
24903 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24904 __scandirat64, and __scandir_cancel_handler.
24905 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24906 additional parameter and use openat instead of open (outside of ld.so).
24907 Add new __opendir as wrapper around __opendirat.
24908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24909 here without requiring old scandirat implementation.
24910
879165f2
UD
249112011-08-08 Ulrich Drepper <drepper@gmail.com>
24912
24913 * dirent/scandir.c (cancel_handler): Renamed to
24914 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24915 defined. Adjust users.
24916 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24917 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24918
cb7e923b
UD
249192011-08-04 Ulrich Drepper <drepper@gmail.com>
24920
16292edd
UD
24921 * string/test-string.h (IMPL): Use __STRING to expand name and then
24922 stringify it.
24923
cb7e923b
UD
24924 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24925 of cleanups.
24926
cff82933
LD
249272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24928
24929 * string/Makefile: Update.
24930 (strop-tests): Append strncat.
24931 * string/test-wcscmp.c: New file.
24932 New comprehensive test for wcscmp.
24933 * string/test-strcmp.c: Update.
24934 (WIDE): New define.
24935
9be9bfcc
AS
249362011-07-22 Andreas Schwab <schwab@redhat.com>
24937
24938 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24939 line.
24940
2e96f1c7
AS
249412011-07-26 Andreas Schwab <schwab@redhat.com>
24942
24943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24944 encoding to ACE if AI_IDN.
24945
85188888
JJ
249462011-08-01 Jakub Jelinek <jakub@redhat.com>
24947
24948 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24949 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24950
5fa16e9b
LD
249512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24952
24953 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24954 Fix overflow bug in strncat.
24955 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24956
24957 * string/test-strncat.c: Update.
24958 Add new tests for checking overflow bugs.
24959
249602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24961
24962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24963 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24964 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24965 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24966 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24967 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24968 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24969 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24970 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24971
24972 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24973 (USE_AS_STRCAT): Define.
24974 Add strcat and strncat support.
24975 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24976
8c1a459f
AS
249772011-07-25 Andreas Schwab <schwab@redhat.com>
24978
24979 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24980 __n bigger than INT_MAX+1.
24981 (__strncmp_g): Likewise.
24982
bba33c28
UD
249832011-07-23 Ulrich Drepper <drepper@gmail.com>
24984
798be72d
UD
24985 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24986 * libio/stido.h: Likewise.
24987
8accd4dc
UD
24988 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24989 (AF_NFC): Define.
24990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24991 (AF_NFC): Define.
24992
cbff0d96
UD
24993 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24995 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24996 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24997 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24998
9191c04a
UD
24999 [BZ #13021]
25000 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25001 installed.
25002
bba33c28
UD
25003 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25004 typo.
25005 (_dl_x86_64_save_sse): Likewise.
25006
90f139dd
UD
250072011-07-22 Ulrich Drepper <drepper@gmail.com>
25008
1aae088a
UD
25009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25010 OSXSAVE.
25011 (_dl_x86_64_save_sse): Likewise.
25012
8e2045f5
UD
25013 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25014
90f139dd
UD
25015 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25016
1d002f25
AS
250172011-07-21 Andreas Schwab <schwab@redhat.com>
25018
25019 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25020 change.
25021 (_dl_x86_64_save_sse): Use correct AVX check.
25022
21137f89
UD
250232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25024
25025 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25026 bug in strncpy/strncat.
25027 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25028
a65c0b7a
UD
250292011-07-21 Ulrich Drepper <drepper@gmail.com>
25030
25031 * string/tester.c (test_strcat): Add tests for different alignments
25032 of source and destination.
25033 (test_strncat): Likewise.
25034
6986b98a
UD
250352011-07-20 Ulrich Drepper <drepper@gmail.com>
25036
90bb2039
UD
25037 [BZ #12852]
25038 * posix/glob.c (glob): Check passed in values before using them in
25039 expressions to avoid some overflows.
25040 (glob_in_dir): Likewise.
25041
5644ef54
UD
25042 [BZ #13007]
25043 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25044 check for AVX enablement so that we don't crash with old kernels and
25045 new hardware.
25046 * elf/tst-audit4.c: Add same checks here.
25047 * elf/tst-audit6.c: Likewise.
25048
25049 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25050
bfc9dc9b
AS
250512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25052
25053 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25054
702e64bb
UD
250552011-07-20 Ulrich Drepper <drepper@gmail.com>
25056
25057 * po/cs.po: Update from translation team.
25058 * po/bg.po: Likewise.
25059
295e904f
MP
250602011-07-12 Marek Polacek <mpolacek@redhat.com>
25061
25062 * misc/sys/cdefs.h: Add support for const attribute.
25063 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25064 to gnu_dev_{major,minor,makedev} functions.
25065
3ff94596
MP
250662011-07-20 Marek Polacek <mpolacek@redhat.com>
25067
25068 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25069
28b59fca
AS
250702011-07-20 Andreas Schwab <schwab@redhat.com>
25071
25072 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25073 strlen results.
25074
19df733e
AK
250752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25076
25077 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25078 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25079 register in order to avoid conflicts with the soft frame pointer
25080 being held in r11 when necessary.
25081 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25082 (INTERNAL_VSYSCALL_NCS): Likewise.
25083
c8835729
MP
250842011-07-14 Marek Polacek <mpolacek@redhat.com>
25085
25086 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25087 * elf/dl-fini.c (_dl_fini): Adjust caller.
25088 * elf/dl-close.c (_dl_close_worker): Likewise.
25089 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25090
b902330c
MP
250912011-07-15 Marek Polacek <mpolacek@redhat.com>
25092
8991e135
MP
25093 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25094 "aux_cache->nlibs < 0".
25095
b902330c
MP
25096 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25097 in the reload-count case.
25098
99710781
LD
250992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25100
25101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25102 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25103 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25104 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25105 * sysdeps/x86_64/multiarch/strcat.S: New file.
25106 * sysdeps/x86_64/multiarch/strncat.S: New file.
25107 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25108 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25109 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25110 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25111 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25112 (USE_AS_STRCAT): Define.
25113 Add strcat and strncat support.
25114 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25115 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25116 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25117 * string/strncat.c: Update.
25118 (USE_AS_STRNCAT): Define.
25119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25120 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25121 and i7.
25122 * sysdeps/x86_64/multiarch/init-arch.h
25123 (bit_Prefer_PMINUB_for_stringop): New.
25124 (index_Prefer_PMINUB_for_stringop): Likewise.
25125 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25126 bit_Prefer_PMINUB_for_stringop.
25127
7dc6bd90
UD
251282011-07-19 Ulrich Drepper <drepper@gmail.com>
25129
25130 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25131 buffer64.
25132 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25133 of casting of buffer.
25134 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25135 buffer32 and buffer64.
25136 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25137 writes instead of casting of buffer.
25138 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25139 buffer32.
25140 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25141 casting of buffer.
25142
e0e72284
AS
251432011-07-19 Andreas Schwab <schwab@redhat.com>
25144
25145 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25146
feb1eb0b
UD
251472011-07-19 Ulrich Drepper <drepper@gmail.com>
25148
25149 * nscd/nscd.c (termination_handler): Don't do anything for a database
25150 if it has not yet been initialized.
25151
298711ff
UD
251522011-07-18 Ulrich Drepper <drepper@gmail.com>
25153
25154 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25155
251562011-07-15 Marek Polacek <mpolacek@redhat.com>
25157
25158 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25159
f9d68389
UD
251602011-07-18 Ulrich Drepper <drepper@gmail.com>
25161
25162 * po/nl.po: Update from translation team.
25163 * po/sv.po: Likewise.
25164
db290cf5
RM
251652011-07-16 Roland McGrath <roland@hack.frob.com>
25166
25167 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25168 now disallowed by GCC.
5c550700 25169
fd5e21c7
RM
25170 * configure.in (use-default-link): Default to yes if a test -shared
25171 link meets our qualifications.
25172 * configure: Regenerated.
25173
5c550700
RM
25174 * config.make.in (output-format): New variable.
25175 * configure.in: Check for ld --print-output-format support.
25176 * configure: Regenerated.
25177 * Makerules ($(common-objpfx)format.lds)
25178 [$(output-format) != unknown]: Just use $(output-format),
25179 instead of the linker-script munging.
25180
9fa2c032
RM
251812011-07-14 Roland McGrath <roland@hack.frob.com>
25182
a6928d51
RM
25183 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25184 of $(common-objpfx)shlib.lds.
25185 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25186
661607b3
RM
25187 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25188 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25189
9fa2c032
RM
25190 * configure.in (-z relro check): Adjust test code to add a large
25191 writable data section after it.
25192 * configure: Regenerated.
25193
defe9061
RM
251942011-07-11 Roland McGrath <roland@hack.frob.com>
25195
25196 * configure.in (-z relro check): Fix test code to make the variable
25197 truly const.
25198 * configure: Regenerated.
25199
319b9ad4
UD
252002011-07-11 Ulrich Drepper <drepper@gmail.com>
25201
25202 * nscd/nscd.h (struct traced_file): Define.
25203 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25204 elements. Add traced_files.
25205 (inotify_fd): Declare.
25206 (register_traced_file): Declare.
25207 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25208 (inotify_fd): Export.
25209 (resolv_conf_descr): Remove.
25210 (nscd_init): Move inotify descriptor creation to main.
25211 Don't register files for notification here.
25212 (register_traced_file): New function.
25213 (invalidate_cache): Don't use reset_res to determine whether to call
25214 res_init, go through the list of registered files.
25215 (main_loop_poll): The inotify descriptors are now stored in the
25216 structures for the traced files.
25217 (main_loop_epoll): Likewise
25218 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25219 to __nss_disable_nscd.
25220 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25221 for a database anymore. Check the records for all the registered
25222 files instead.
25223 * nss/Makefile (libnss_files-routines): Add files-init.
25224 (libnss_db-routines): Add db-init.
25225 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25226 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25227 * nss/nss_db/db-init.c: New file.
25228 * nss/nss_files/files-init.c: New file.
25229 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25230 __nss_lookup_function.
25231 (__nss_lookup_function): Call nss_load_library.
25232 (nss_load_all_libraries): New function.
25233 (__nss_disable_nscd): Take parameter with callback function for files
25234 to register. Set is_nscd. Load all the DSOs for the NSS modules
25235 used for the cached services.
25236 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25237 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25238 options for features to all the files in nscd.
25239
25240 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25241
23bee3e8
RM
252422011-07-10 Roland McGrath <roland@hack.frob.com>
25243
25244 * csu/elf-init.c (__libc_csu_init): Comment typo.
25245
46a5b7f0
UD
252462011-07-09 Ulrich Drepper <drepper@gmail.com>
25247
25248 * po/pl.po: Update from translation team.
25249 * po/ja.po: Likewise.
25250 * po/ru.po: Likewise.
25251 * po/ko.po: Likewise.
25252 * po/fr.po: Likewise.
25253
d30cf5bb
RM
252542011-07-09 Roland McGrath <roland@hack.frob.com>
25255
113ddea4
RM
25256 * configure.in (.ctors/.dtors header and trailer check):
25257 Use an empirical test on a built program.
25258 * configure: Regenerated.
25259
574920b4
RM
25260 * configure.in (-z relro check): Use an empirical test on a built DSO.
25261 Detect, but do not require, on ia64.
25262 * configure: Regenerated.
25263
d30cf5bb
RM
25264 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25265 Update tests that use readelf to use $READELF instead.
25266 * configure: Regenerated.
25267
8538fdb3
UD
252682011-07-08 Ulrich Drepper <drepper@gmail.com>
25269
25270 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25271 if the result is not used.
25272
04d08991
AJ
252732011-07-05 Andreas Jaeger <aj@suse.de>
25274
25275 [BZ#9696]
25276 * stdlib/tst-strtod.c: Add testcase.
25277
de283087
AD
252782011-07-07 Ulrich Drepper <drepper@gmail.com>
25279
4e5f31c8 25280 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25281 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25282 The latter has a higher limit. Take additional parameter to pass to
25283 the new function.
25284 (__pathconf): Pass file to __statfs_link_max.
25285 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25286 __statfs_link_max.
25287 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25288 __statfs_link_max.
25289
de283087
AD
25290 [BZ #12868]
25291 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25292 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25293 Handle Lustre.
25294 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25295 (__statfs_filesize_max): Likewise.
25296 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25297
c75fa153
AJ
252982011-07-05 Andreas Jaeger <aj@suse.de>
25299
25300 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25301
1a544854
UD
253022011-07-06 Marek Polacek <mpolacek@redhat.com>
25303
25304 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25305 `status' variable.
25306 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25307 Likewise.
25308
6f0eec67
UD
253092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25310
25311 * Makefile (strop-tests): Add strncat.
25312 * string/test-strncat.c: New file.
25313
aae30307
UD
253142011-06-30 Marek Polacek <mpolacek@redhat.com>
25315
25316 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25317
c0cfb5eb
UD
253182011-06-21 Andreas Jaeger <aj@suse.de>
25319
25320 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25321 Copy rule from iconvdata/Makefile.
25322
01636b21
UD
253232011-07-06 Ulrich Drepper <drepper@gmail.com>
25324
25325 [BZ #12922]
25326 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25327 but no long options are defined, just return 'W'.
25328
9895c8bc
UD
253292011-06-22 Marek Polacek <mpolacek@redhat.com>
25330
25331 [BZ #9696]
25332 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25333
5d4cf042
UD
253342011-07-06 Ulrich Drepper <drepper@gmail.com>
25335
25336 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25337 netgroups to read.
960e5535 25338 (innetgr): Likewise.
5d4cf042 25339
751eb97e
RM
253402011-07-05 Roland McGrath <roland@hack.frob.com>
25341
25342 * config.make.in (install_root): Default to $(DESTDIR).
25343
f15f1e45
UD
253442011-07-05 Ulrich Drepper <drepper@gmail.com>
25345
25346 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25347
4e34ac6a
RM
253482011-07-02 Roland McGrath <roland@hack.frob.com>
25349
5e9b6af4
RM
25350 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25351
84f9ea0f
RM
25352 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25353 containing directory rather than embedding absolute directory names.
25354
ea5ee9f7
RM
25355 * scripts/check-local-headers.sh: Rewritten using awk.
25356 Match by word, not by line. Print error messages for matches.
25357 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25358
1b74661a
RM
25359 * Makerules [shlib-lds-flags empty]:
25360 ($(common-objpfx)libc_pic.opts): New target.
25361 ($(common-objpfx)libc_pic.os.clean): New target.
25362 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25363
25364 * config.make.in (OBJCOPY): New variable.
25365 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25366 * configure: Regenerated.
25367
f781ef40
RM
25368 * config.make.in (use-default-link): New variable.
25369 * configure.in (use_default_link): Grok --with-default-link to set it.
25370 * configure: Regenerated.
25371 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25372 (shlib-lds, shlib-lds-flags): Define to empty.
25373
2d4fa81e
RM
25374 * Makerules (shlib-lds): New variable.
25375 (shlib-lds-flags): New variable.
25376 (build-shlib, build-moduile, build-module-asneeded): Use it.
25377 ($(common-objpfx)libc.so): Use $(shlib-lds).
25378 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25379 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25380
31fffa6b
RM
25381 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25382 DT_FLAGS/DT_FLAGS_1 with zero flags.
25383
4e34ac6a
RM
25384 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25385 linker script munging.
25386
fcfc776b
UD
253872011-07-02 Ulrich Drepper <drepper@gmail.com>
25388
25389 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25390 as 128-bit value.
25391 * crypt/sha512.c (sha512_process_block): Perform total addition using
25392 128-bit if possible.
25393 (__sha512_finish_ctx): Likewise.
25394 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25395 as 64-bit value.
25396 * crypt/sha256.c (SWAP64): Define.
25397 (sha256_process_block): Perform total addition using 64-bit if
25398 possible.
25399 (__sha256_finish_ctx): Likewise.
25400
99231d9a
UD
254012011-07-01 Ulrich Drepper <drepper@gmail.com>
25402
25403 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25404 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25405 * nscd/hstcache.c (cache_addhst): Likewise.
25406 * nscd/grpcache.c (cache_addgr): Likewise.
25407 * nscd/aicache.c (addhstaiX): Likewise
25408 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25409
445b4a53
TK
254102011-07-01 Thorsten Kukuk <kukuk@suse.de>
25411
25412 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25413 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25414 * nscd/hstcache.c (cache_addhst): Likewise.
25415 * nscd/grpcache.c (cache_addgr): Likewise.
25416 * nscd/aicache.c (addhstaiX): Likewise
25417
6d4d8e8e
AS
254182011-07-01 Andreas Schwab <schwab@redhat.com>
25419
25420 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25421 domain only when needed.
25422
89f654c5
AS
254232011-06-30 Andreas Schwab <schwab@redhat.com>
25424
25425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25426 is always restored.
25427
cf3b23ff
UD
254282011-06-29 Ulrich Drepper <drepper@gmail.com>
25429
25430 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25431 are re-adding the entry.
25432 * nscd/servicescache.c (cache_addserv): Likewise.
25433
751626f9
AJ
254342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25435
25436 * sysdeps/generic/dl-irel.h: fix protection against multiple
25437 inclusions.
25438 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25439
9113ea1f
UD
254402011-06-28 Ulrich Drepper <drepper@gmail.com>
25441
5c0b8d90
UD
25442 [BZ #12935]
25443 * malloc/memusage.sh: Fix quoting in message.
25444 * debug/xtrace.sh: Likewise.
25445
9113ea1f
UD
25446 * configure.in: Remove support for --experimental-malloc option, make
25447 it the default.
25448 * config.make.in: Likewise.
25449 * malloc/Makefile: Likewise.
25450
a4172181
AS
254512011-06-27 Andreas Schwab <schwab@redhat.com>
25452
25453 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25454 two-byte characters.
25455
78a7eee7
RM
254562011-06-27 Roland McGrath <roland@hack.frob.com>
25457
62bede13
RM
25458 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25459 AC_CACHE_CHECK invocation.
25460 * configure: Regenerated.
25461
78a7eee7
RM
25462 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25463
5ce33a62
UD
254642011-06-27 Ulrich Drepper <drepper@gmail.com>
25465
034807a9
UD
25466 [BZ #12350]
25467 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25468 bit from old_res_options.
25469
4902da17
UD
25470 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25471
5ce33a62
UD
25472 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25473 value type for setfct.
25474
c2344f56
L
254752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25476
25477 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25478 __gettimeofday instead of gettimeofday.
25479
68468076
UD
254802011-06-26 Ulrich Drepper <drepper@gmail.com>
25481
25482 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25483
acb0d739
L
254842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25485
25486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25487
25488 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25489 info.
25490
8912479f
L
254912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25492
25493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25494 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25495 strcpy-sse2-unaligned strncpy-sse2-unaligned
25496 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25497 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25498 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25499 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25500 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25501 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25502 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25503 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25504 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25505 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25506 (STRCPY): Support SSE2 and SSSE3 versions.
25507
d5495a11
UD
255082011-06-24 Ulrich Drepper <drepper@gmail.com>
25509
25510 [BZ #12874]
25511 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25512 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25513 kernels which artificially limit size of requests.
25514
0b1cbaae
L
255152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25516
25517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25518 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25519 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25520 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25521 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25522 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25523 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25524 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25525 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25526 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25527 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25528 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25529 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25530 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25531 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25533 Enable unaligned load optimization for Intel Core i3, i5 and i7
25534 processors.
25535 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25536 Define.
25537 (index_Fast_Unaligned_Load): Define.
25538 (HAS_FAST_UNALIGNED_LOAD): Define.
25539
07f494a0
MP
255402011-06-23 Marek Polacek <mpolacek@redhat.com>
25541
25542 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25543
fa3fc0fe
UD
255442011-06-22 Ulrich Drepper <drepper@gmail.com>
25545
25546 [BZ #12907]
25547 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25548 until it is clear that the information is realy needed.
25549 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25550
e12df166
AS
255512011-06-22 Andreas Schwab <schwab@redhat.com>
25552
25553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25554
852eb34d
UD
255552011-06-22 Ulrich Drepper <drepper@gmail.com>
25556
84e2a551
UD
25557 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25558 /sys/devices/system/cpu/online if it is usable.
25559
852eb34d
UD
25560 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25561 reading the information from the /proc filesystem to once a second.
25562
6e502e19
UD
255632011-06-21 Andreas Jaeger <aj@suse.de>
25564
25565 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25566 NULL after inclusion of kernel headers.
25567
75d39ff2
UD
255682011-06-21 Ulrich Drepper <drepper@gmail.com>
25569
51f9aa6a
UD
25570 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25571 calls to internal_setent.
25572
c0244a9d
UD
25573 [BZ #12885]
25574 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25575 addresses using gethostbyname4_r ignore IPv4 addresses.
25576
c5e3c2ae
UD
25577 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25578 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25579
75d39ff2
UD
25580 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25581
42675c6f
DM
255822011-06-20 David S. Miller <davem@davemloft.net>
25583
25584 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25585 inclusions.
25586 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25587
25588 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25589 (elf_irel): Use it.
25590 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25591 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25592 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25593 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25594 * sysdeps/x86_64/dl-irel.h: Likewise.
25595
25596 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25597 * elf/dl-sym.c: Likewise.
25598
57912a71
UD
255992011-06-15 Ulrich Drepper <drepper@gmail.com>
25600
25601 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25602 need to dereference resplen2.
25603
ee22793d
AS
256042011-06-14 Andreas Schwab <schwab@redhat.com>
25605
25606 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25607
a9e836b0
UD
256082011-06-15 Ulrich Drepper <drepper@gmail.com>
25609
77fb9117
UD
25610 * Makeconfig: Define vardbdir and inst_vardbdir.
25611 * nss/Makefile: Add rules to install db-Makefile.
25612
40c1b22c
UD
25613 * nss/nss_db/db-XXX.c: Cleanup.
25614
9f2da732
UD
25615 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25616 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25617 GLIBC_PRIVATE.
25618 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25619 * nss/makedb.c: Implement -g option to specify that value strings
25620 are generated and should not be added to table iterated over for
25621 get*ent calls.
25622 * nss/nss_db/db-initgroups.c: New file.
25623
82e9a1f7
UD
25624 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25625 interface.
25626
c41af17e
UD
25627 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25628 (internal_getgrouplist): Adjust to name change.
25629 Update use_initgroups_entry if this is not the first call.
25630 * nss/databases.def: Add initgroups entry.
25631
a9e836b0
UD
25632 * nss/makedb.c (compute_tables): Check result of multiple hash table
25633 sizes to minimize maximum chain length.
25634
2666d441
UD
256352011-06-14 Ulrich Drepper <drepper@gmail.com>
25636
25637 * Versions.def: Add entry for libnss_db.
25638 * shlib-versions: Likewise.
25639 * nss/Makefile: Add rules to build libnss_db.
25640 * nss/Versions: Add libnss_db information. Organize libnss_files
25641 entries better.
25642 * nss/db-Makefile: Add gshadow support. Change rules for the new
25643 makedb progra. Some minor improvements to generate smaller files.
25644 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25645 here from...
25646 * nss/makedb.c: ...here.
25647 Improve database format to be smaller and require less memory at
25648 runtime.
25649 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25650 db anymore.
25651 * nss/nss_db/db-netgrp.c: Likewise.
25652 * nss/nss_db/db-open.c: Likewise.
25653 * nss/nss_files/flies-XXX.x: Adjust comments.
25654 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25655 * nss/nss_files/files-grp.c: Likewise.
25656 * nss/nss_files/files-hosts.c: Likewise.
25657 * nss/nss_files/files-network.c: Likewise.
25658 * nss/nss_files/files-proto.c: Likewise.
25659 * nss/nss_files/files-pwd.c: Likewise.
25660 * nss/nss_files/files-rpc.c: Likewise.
25661 * nss/nss_files/files-service.c: Likewise.
25662 * nss/nss_files/files-sgrp.c: Likewise.
25663 * nss/nss_files/files-spwd.c: Likewise.
25664 * nss/nss_db/db-alias.c: Removed.
25665 * nss/nss_db/dummy-db.h: Removed.
25666
9ee76b5a
UD
256672011-06-02 Ulrich Drepper <drepper@gmail.com>
25668
25669 * nss/makedb.c: Rewritten to not use database library.
25670 * nss/Makefile: Update to build new makedb program.
25671
c71ca1f8
AJ
256722011-06-14 Andreas Jaeger <aj@suse.de>
25673
25674 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25675 memset declaration.
25676
3154bfb8
UD
256772011-06-10 Andreas Schwab <schwab@redhat.com>
25678
25679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25680 tmpbuf.
25681
b350afab
RM
256822011-06-10 Roland McGrath <roland@hack.frob.com>
25683
decd4e50
RM
25684 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25685 * elf/Makefile ($(objpfx)ld.so): Likewise.
25686
5615eaf2
RM
25687 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25688 Don't list ld.so twice in dependencies.
25689
25690 * posix/bug-regex31.c: Include <stdlib.h>.
25691
25692 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25693
25694 * nis/nss_compat/compat-spwd.c
25695 (getspent_next_nss_netgr): Remove unused variable.
25696 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25697
25698 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25699 nonmembers" output to use the right array.
25700
25701 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25702
25703 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25704
25705 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25706 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25707 * catgets/gencat.c (read_input_file): Likewise.
25708 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25709
25710 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25711 variable definition inside #if's controlling its use.
25712
25713 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25714
25715 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25716
25717 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25718
25719 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25720 unreachable code.
25721
25722 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25723
b68e08db
RM
25724 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25725 * configure: Regenerated.
25726
b350afab
RM
25727 * Makerules: Revert last change.
25728 * elf/Makefile: Likewise.
25729
28368601
RM
257302011-06-09 Roland McGrath <roland@hack.frob.com>
25731
25732 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25733 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25734 (reloc-link): Likewise.
25735
11988f8f
UD
257362011-06-09 Ulrich Drepper <drepper@gmail.com>
25737
25738 * elf/Makefile: Add rules to build pldd.
25739 * elf/pldd.c: New file.
25740 * elf/pldd-xx.c: New file.
25741
e80fab37
UD
257422011-06-07 Ulrich Drepper <drepper@gmail.com>
25743
25744 * version.h: Update for 2.15 development version.
25745
9b849836
DM
257462011-06-07 David S. Miller <davem@davemloft.net>
25747
25748 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25749 ifuncs.
25750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25751 elf_machine_lazy_rel): Likewise.
25752 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25753 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25754 elf_machine_lazy_rel): Likewise.
25755 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25756 dl_hwcap via passed in argument.
25757 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25758 Likewise.
25759
5a31b283
AK
257602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25761
25762 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25763
069e52f8
RM
257642011-06-06 Roland McGrath <roland@hack.frob.com>
25765
25766 [BZ #12849]
25767 * manual/fdl-1.1.texi: New file, verbatim from:
25768 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25769 * manual/lgpl-2.1.texi: New file, verbatim from:
25770 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25771 * manual/Makefile (licenses): New variable, list those new file names.
25772 (texis): Use it.
25773 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25774
25775 * manual/fdl.texi: File removed.
25776 * manual/lesser.texi: File removed.
25777 * manual/libc.texinfo (Copying, Documentation License):
25778 Use new @include file names, put @appendix directive before @include.
25779
f16846a5
JJ
257802011-06-04 Jakub Jelinek <jakub@redhat.com>
25781
25782 [BZ #12841]
25783 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25784 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25785 (mq_open): Add __NTH.
25786
3d29045b
L
257872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25788
25789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25790 Assume Intel Core i3/i5/i7 processor if AVX is available.
25791
8c297311
UD
257922011-05-31 Ulrich Drepper <drepper@gmail.com>
25793
25794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25795 typo.
25796
c8fc0c91
UD
257972011-05-31 Andreas Schwab <schwab@redhat.com>
25798
25799 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25800 memory. Use alloca_account. Fix memory leak when retrying.
25801
5b27a807
UD
258022011-05-31 Ulrich Drepper <drepper@gmail.com>
25803
356f8bc6
UD
25804 * version.h (RELEASE): Bump for 2.14 release.
25805 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25806
5b27a807
UD
25807 * config.make.in (RANLIB): Remove entry.
25808
01f16ab0
UD
258092011-05-30 Ulrich Drepper <drepper@gmail.com>
25810
41fce8bd
UD
25811 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25812 (libc.pot): Work around missing support for .ksh extension in xgettext.
25813
4769ae77
UD
25814 [BZ #12684]
25815 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25816 if both request failed.
25817 (send_dg): In case of server errors clear resplen or *resplen2.
25818
6b1e7d19
UD
25819 [BZ #12454]
25820 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25821 when there are multiple maps.
25822 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25823 (_dl_fini): Remove test here.
25824
01f16ab0
UD
25825 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25826
b1ebd700
UD
258272011-05-29 Ulrich Drepper <drepper@gmail.com>
25828
7ae22829
UD
25829 [BZ #12350]
25830 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25831 bit from old_res_options.
25832 (gaih_inet): Likewise.
25833
553149f6 25834 [BZ #11099]
18a84741 25835 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25836 as signed.
25837
652ffab1
UD
25838 * resolv/res_init.c (res_setoptions): Make the code more compact.
25839
16985fd0
UD
25840 [BZ #11558]
25841 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25842 set RES_USEVC.
25843
0464f746
UD
25844 [BZ #11634]
25845 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25846
7d17596c
UD
25847 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25848
cf6bbbd7
UD
25849 [BZ #11781]
25850 * malloc/malloc.h: Declare malloc hook variables as volatile.
25851
13f1ab36
UD
25852 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25853 in last patch.
25854
b1ebd700
UD
25855 [BZ #11799]
25856 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25857 raise in the comment.
80e2212d
UD
25858 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25859 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25860 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25861
ce67228d
UD
258622011-05-28 Ulrich Drepper <drepper@gmail.com>
25863
8887a920
UD
25864 [BZ #12811]
25865 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25866 grow the buffers more if it already has to be sufficient.
25867 (build_wcs_upper_buffer): Likewise.
25868 * posix/regexec.c (check_matching): Likewise.
25869 (clean_state_log_if_needed): Likewise.
25870 (extend_buffers): Don't enlarge buffers beyond size of the input
25871 buffer.
25872 Patches mostly by Emil Wojak <emil@wojak.eu>.
25873 * posix/bug-regex32.c: New file.
25874 * posix/Makefile (tests): Add bug-regex32.
25875
4f031072
UD
25876 * locale/findlocale.c (_nl_find_locale): Return right away if
25877 _nl_explode_name failed.
25878 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25879
d0478f0c
UD
25880 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25881
de81b246
UD
25882 * debug/xtrace.sh: Unify messages.
25883 * malloc/memusage.sh: Likewise.
25884
c738465a
UD
25885 [BZ #12813]
25886 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25887 time symbol from vDSO. Substitute with vsyscall if not available.
25888 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25889 __vdso_time.
25890
f1f929d7
UD
25891 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25892 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25893 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25894 Add sendmmsg and internal_sendmmsg.
25895 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25896 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25897 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25898
ce67228d
UD
25899 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25900 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25901 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25902
e57420c6
UD
259032011-05-27 Ulrich Drepper <drepper@gmail.com>
25904
a8509ca5
UD
25905 [BZ #12813]
25906 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25907 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25908 available.
25909 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25910 __vdso_getcpu.
25911
e57420c6
UD
25912 [BZ #12814]
25913 * iconvdata/Makefile (tests): Add bug-iconv9.
25914 * iconvdata/bug-iconv9.c: New file.
25915
4d07db15
AS
259162011-05-27 Andreas Schwab <schwab@redhat.com>
25917
25918 [BZ #12814]
25919 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25920
ea486f69
JJ
259212011-05-25 Jakub Jelinek <jakub@redhat.com>
25922
25923 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25924 (struct user_regs_struct): Change intcs field back to cs.
25925
6f038433
UD
259262011-05-25 Ulrich Drepper <drepper@gmail.com>
25927
25928 * po/ja.po: Update from translation team.
25929
67f86a25
UD
259302011-05-23 Ulrich Drepper <drepper@gmail.com>
25931
25932 [BZ #12795]
25933 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25934 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25935
def7fbd6
AS
259362011-05-20 Andreas Schwab <schwab@redhat.com>
25937
25938 * stdlib/longlong.h: Update from GCC.
25939
f50ef8f1
AS
259402011-05-23 Andreas Schwab <schwab@redhat.com>
25941
25942 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25943 parameter name.
25944 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25945 Add parameter name.
25946 (__sysconf): Pass it down.
25947
de7ce8f1
UD
259482011-05-22 Ulrich Drepper <drepper@gmail.com>
25949
f2962a71
UD
25950 [BZ #12671]
25951 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25952 some situations.
25953 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25954 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25955 add in in __libc_use_alloca calls. Adjust callers.
25956 (glob): Use malloc in some situations.
25957
de7ce8f1
UD
25958 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25959 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25960 pltexit.
25961
aec84f53
UD
259622011-05-21 Ulrich Drepper <drepper@gmail.com>
25963
05bb4a68
UD
25964 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25965 and CLOCK_BOOTTIME_ALARM.
25966
7ea72f99
UD
25967 [BZ #12782]
25968 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25969 is returned.
25970
7e4afad5
UD
25971 * string/_strerror.c (__strerror_r): Print negative errors as signed
25972 numbers.
25973
8e211fec
UD
25974 [BZ #12777]
25975 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25976 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25977 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25978
f7d82dc9
UD
25979 * configure.in: Fix typo in redirection and correct removal of test
25980 files in two cases.
25981
cc9e536d
UD
25982 [BZ #12788]
25983 * locale/setlocale.c (new_composite_name): Fix test to check for
25984 identical name of all categories.
25985
aec84f53
UD
25986 [BZ #12792]
25987 * libio/filedoalloc.c (local_isatty): New function.
25988 (_IO_file_doallocate): Use local_isatty.
25989 * stdio-common/perror.c (perror): In case a new stream is used
25990 forward the stream error.
25991 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25992 error flag.
25993
78e64fdc
RT
259942011-05-20 Ulrich Drepper <drepper@gmail.com>
25995
34a9094f
UD
25996 [BZ #11869]
25997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25998 alloca.
25999 * include/alloca.h (extend_alloca_account): Define.
26000
78e64fdc
RT
26001 [BZ #11857]
26002 * posix/regex.h: Fix comments with documentation of user-accessible
26003 fields after compilation and describe correct free'ing of pattern
26004 after re_compile_pattern.
26005 Patch by Reuben Thomas <rrt@sc3d.org>.
26006
457bddfc
RA
260072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26008
26009 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26010 and -mno-altivec to prevent the compiler from using Altivec and/or
26011 VSX instructions when the corresponding registers are not available.
26012
a4527b51
AS
260132011-05-19 Andreas Schwab <schwab@redhat.com>
26014
26015 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26016
ed690b2f
UD
260172011-05-19 Ulrich Drepper <drepper@gmail.com>
26018
26019 * libio/freopen.c (freopen): Use __dup2, not dup2.
26020 * libio/freopen64.c (freopen64): Likewise.
26021
8db73634
L
260222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26023
26024 [BZ #12775]
26025 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26026 * math/Makefile (tests): Add test-powl.
26027 (CFLAGS-test-powl.c): Define.
26028 * math/test-powl.c: New file.
26029
0a197a9d
L
260302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26031
26032 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26033
ee30c380
UD
260342011-05-17 Ulrich Drepper <drepper@gmail.com>
26035
26036 [BZ #11837]
26037 * iconvdata/gb18030.c: Update to GB18020-2005.
26038
6ce75379
UD
260392011-05-16 Ulrich Drepper <drepper@gmail.com>
26040
a4b89fd8
AR
26041 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26042 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26043 Patch by Aharon Robbins <arnold@skeeve.com>.
26044
ea389b12
UD
26045 [BZ #11892]
26046 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26047 on the stack.
26048
68a3f91f
UD
26049 [BZ #11895]
26050 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26051 through underflows.
26052
15cc7dd1
UD
26053 [BZ #12766]
26054 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26055 point to strings before performing equality test for error_one_per_line
26056 mode.
26057
f3799213
UD
26058 [BZ #11697]
26059 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26060
d79a9c94
UD
26061 [BZ #11820]
26062 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26063 (struct user_fpregs_struct): Avoid __uint*_t types.
26064
56e5eb46
UD
26065 [BZ #6420]
26066 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26067 symbol info. Use it instead of calling _dl_addr locally.
26068 (lock_and_info): New function.
26069 (tr_freehook): Call lock_and_info and pass symbol info as additional
26070 parameter to tr_where.
26071 (tr_mallochook): Likewise.
26072 (tr_reallochook): Likewise.
26073 (tr_memalignhook): Likewise.
26074
6ce75379
UD
26075 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26076 used and couldn't be at all thread-safe.
26077
f8a3b5bf
UD
260782011-05-15 Ulrich Drepper <drepper@gmail.com>
26079
94b7cc37
UD
26080 * libio/freopen.c (freopen): Don't close old file descriptor
26081 before the new one is opened. Instead dup the new file descriptor
26082 to the old one after the new stream is created.
26083 * libio/freopen64.c (freopen64): Likewise.
26084 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26085 * libio/fileops.c (_IO_new_file_close_it): Handle new
26086 _IO_FLAGS2_NOCLOSE flag.
26087 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26088 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26089 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26090 _IO_FLAGS2_NOCLOSE flag.
26091 * include/unistd.h: Add hidden_proto for dup3.
26092 Define __have_dup3.
26093 * io/dup3.c: Define hidden symbol.
26094 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26095
bd25564e
UD
26096 [BZ #7101]
26097 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26098 when an incomplete long option is used.
26099 * posix/tst-getopt_long1.c: New file.
26100 * posix/Makefile (tests): Add tst-getopt_long1.
26101
c84cfef4
UD
26102 [BZ #10138]
26103 * scripts/config.guess: Update from autoconf-2.68.
26104 * scripts/config.sub: Likewise.
26105
3b85df27
UD
26106 [BZ #10157]
26107 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26108 tests into ...
26109 (has_cpuclock): ...this. New function.
26110 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26111 macro here based on has_cpuclock code.
26112
15a856b1
UD
26113 [BZ #10149]
26114 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26115 First byte (not low byte) is now always NUL.
26116 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26117
05f399e6
UD
26118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26119 Use non-cancelable interfaces.
26120
10a52685 26121 [BZ #9809]
94ecc67d
UD
26122 * locale/iso-639.def: Add entry for Sorani.
26123
f8a3b5bf
UD
26124 [BZ #11901]
26125 * include/stdlib.h: Move include protection to the right place.
26126 Define abort_msg_s. Declare __abort_msg with it.
26127 * stdlib/abort.c (__abort_msg): Adjust type.
26128 * assert/assert.c (__assert_fail_base): New function. Majority
26129 of code from __assert_fail. Allocate memory for __abort_msg with
26130 mmap.
26131 (__assert_fail): Now call __assert_fail_base.
26132 * assert/assert-perr.c: Remove bulk of implementation. Use
26133 __assert_fail_base.
26134 * include/assert.hL Declare __assert_fail_base.
26135 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26136 mmap.
26137 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26138
1af4e298
UD
261392011-05-14 Ulrich Drepper <drepper@gmail.com>
26140
f8a3b5bf 26141 [BZ #11952]
d26dfc60
MG
26142 [BZ #12453]
26143 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26144 until all modules are registered in the DTV.
26145 * elf/Makefile: Add rules to build and run tst-tls19.
26146 * elf/tst-tls19.c: New file.
26147 * elf/tst-tls19mod1.c: New file.
26148 * elf/tst-tls19mod2.c: New file.
26149 * elf/tst-tls19mod3.c: New file.
26150 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26151
2fc54d6f
UD
26152 [BZ #12083]
26153 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26154 correctly.
26155
98d76b46
UD
26156 [BZ #12601]
26157 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26158 two-byte sequence errors.
26159 * iconvdata/Makefile (tests): Add bug-iconv8.
26160 * iconvdata/bug-iconv8.c: New file.
26161
da3c19ef
UD
26162 [BZ #12626]
26163 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26164 buf2 definition.
26165
ca408c15
UD
26166 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26167
d6f67f7d
UD
26168 [BZ #12432]
26169 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26170 (dummy_getcfa): New function.
26171 (init): Get _Unwind_GetCFA address, use dummy if not found.
26172 (backtrace_helper): In recursion check, also check whether CFA changes.
26173 (__backtrace): Completely initialize arg.
26174
1af4e298 26175 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26176 storing incomplete byte sequence in state object. Avoid testing for
26177 guaranteed too small input if we know there is enough data available.
1af4e298 26178
da62f81b
AS
261792011-05-11 Andreas Schwab <schwab@redhat.com>
26180
26181 * Makeconfig (+link-pie): Indent.
26182 * Rules (binaries-pie): Define if $(have-fpie) and
26183 $(build-shared).
26184 (binaries-shared): Also filter out $(binaries-pie).
26185 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26186 * nscd/Makefile (others-pie): Add nscd.
26187 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26188 ($(objpfx)nscd): Remove command override.
26189 * login/Makefile (others-pie): Add pt_chown.
26190 ($(objpfx)pt_chown): Remove command override.
26191 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26192 remove command overrides.
26193
fcabc0f8
UD
261942011-05-13 Ulrich Drepper <drepper@gmail.com>
26195
20030ae6
UD
26196 * libio/tst_putwc.c: Fix error messages.
26197
fcabc0f8
UD
26198 [BZ #12724]
26199 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26200 currently writing and seek to current position when not.
26201 * libio/Makefile (tests): Add bug-fclose1.
26202 * libio/bug-fclose1.c: New file.
26203
320a5dc0
PB
262042011-05-12 Ulrich Drepper <drepper@gmail.com>
26205
26206 [BZ #12511]
26207 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26208 don't set DF_1_NODELETE here.
26209 (do_lookup_x): When entering new entry test for copy relocation
26210 and if necessary set DF_1_NODELETE flag.
26211 * elf/tst-unique4.cc: New file.
26212 * elf/tst-unique4.h: New file.
26213 * elf/tst-unique4lib.cc: New file.
26214 * elf/Makefile: Add rules to build and run tst-unique4.
26215 Patch by Piotr Bury <pbury@goahead.com>.
26216
22836f52
UD
262172011-05-11 Ulrich Drepper <drepper@gmail.com>
26218
f574184a
UD
26219 [BZ #12052]
26220 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26221
e1fb097f
UD
26222 [BZ #12625]
26223 * misc/mntent_r.c (addmntent): Flush the stream after the output
26224
22836f52
UD
26225 [BZ #12393]
26226 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26227 (is_trusted_path_normalize): Skip initial colon. Append slash
26228 to empty buffer. Duplicate is_trusted_path code but allow
26229 constructed patch to be prefix.
26230 (is_dst): Allow $ORIGIN followed by /.
26231 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26232 Correct testing of result of is_trusted_path_normalize
26233 (decompose_rpath): Fix warning.
26234
7b3b0b2a
UD
262352011-05-10 Ulrich Drepper <drepper@gmail.com>
26236
26237 [BZ #11257]
26238 * grp/initgroups.c (internal_getgrouplist): When we found the service
26239 list through the initgroups entry in nsswitch.conf do not always
26240 continue on a successful lookup. Don't always use the
eac80ce2 26241 __nss_group_database value if it is set.
7b3b0b2a
UD
26242 * nss/nsswitch.conf (initgroups): Change action for successful db
26243 lookup to continue for compatibility.
26244
2a81eaa5
UD
262452011-05-09 Ulrich Drepper <drepper@gmail.com>
26246
be97a69e
UD
26247 [BZ #11532]
26248 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26249 and CP774 modules.
26250 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26251 and CP774 modules.
26252 * iconvdata/tst-tables.sh: Likewise.
26253 * iconvdata/cp770.c: New file.
26254 * iconvdata/cp771.c: New file.
26255 * iconvdata/cp772.c: New file.
26256 * iconvdata/cp773.c: New file.
26257 * iconvdata/cp774.c: New file.
26258 * iconvdata/testdata/CP770: New file.
26259 * iconvdata/testdata/CP770..UTF8: New file.
26260 * iconvdata/testdata/CP771: New file.
26261 * iconvdata/testdata/CP771..UTF8: New file.
26262 * iconvdata/testdata/CP772: New file.
26263 * iconvdata/testdata/CP772..UTF8: New file.
26264 * iconvdata/testdata/CP773: New file.
26265 * iconvdata/testdata/CP773..UTF8: New file.
26266 * iconvdata/testdata/CP774: New file.
26267 * iconvdata/testdata/CP774..UTF8: New file.
26268
26269 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26270 END CHARMAP line.
26271 * iconvdata/gen-8bit-gap.sh: Likewise.
26272 * iconvdata/gen-8bit.sh: Likewise.
26273
c1e9e399
UD
26274 * locale/iso-639.def: Add ary entry.
26275
24c55fb3 26276 [BZ #11258]
96b4b1b0
UD
26277 * locale/C-translit.h.in: Add U20A1 transliteration.
26278
bdc2f971
KB
26279 [BZ #12178]
26280 * locale/iso-639.def: Add wae entry.
26281 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26282
2952b117
UD
26283 [BZ #12545]
26284 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26285 for n.
26286
2a81eaa5
UD
26287 [BZ #12711]
26288 * locale/C-translit.h.in: Add entry for U20B9.
26289 Patch by pravin.d.s@gmail.com.
26290
28377d1b
UD
262912011-05-08 Ulrich Drepper <drepper@gmail.com>
26292
7fb90fb8
UD
26293 [BZ #12713]
26294 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26295 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26296 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26297 in rtld. Use *stat64.
7fb90fb8 26298 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26299 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26300 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26301 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26302 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26303 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26304 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26305 __fstatat64 macros.
7fb90fb8
UD
26306 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26307 * dirent/rewinddir.c: Add libc_hidden_def.
26308 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26309 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26310
28377d1b
UD
26311 * include/dirent.h (__alloc_dir): Add flags parameter.
26312 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26313 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26314 __alloc_dir.
26315 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26316 from fdopendir if O_CLOEXEC is already set.
26317
66bdbaa4
AM
263182011-03-15 Alan Modra <amodra@gmail.com>
26319
26320 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26321 l_tls_firstbyte_offset non-zero. Save padding offset in
26322 l_tls_firstbyte_offset for later use.
26323 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26324 freeing static tls block.
26325
95721191
JN
263262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26327
26328 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26329 where #ifdef was intended. The intent is to prevent ARG_MAX from
26330 being defined by the kernel headers.
26331
f87dfb1f
UD
263322011-05-07 Ulrich Drepper <drepper@gmail.com>
26333
26334 [BZ #12734]
26335 * resolv/resolv.h: Define RES_NOTLDQUERY.
26336 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26337 no-tld-query and set RES_NOTLDQUERY.
26338 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26339 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26340 modern BIND to search name as TLD unless forbidden.
26341
47c3cd7a
UD
263422011-05-07 Petr Baudis <pasky@suse.cz>
26343 Ulrich Drepper <drepper@gmail.com>
26344
26345 [BZ #12393]
26346 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26347 (is_trusted_path): ...to here.
c1e9ea35 26348 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26349 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26350 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26351
8a35c912
PP
263522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26353
26354 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26355 __BEGIN/__END_DECLS.
26356
acd41f47
UD
263572011-05-06 Ulrich Drepper <drepper@gmail.com>
26358
26359 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26360 NSS_STATUS_NOTFOUND if no record was found.
26361
597df647
AS
263622011-05-05 Andreas Schwab <schwab@redhat.com>
26363
26364 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26365 (headers-not-in-tirpc): Remove rpc/netdb.h
26366 * resolv/netdb.h: Revert last change.
26367
b9af1301
PP
263682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26369
26370 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26371 circular dependency between libgcc.a and libc.a.
26372
4e34d5f5
AS
263732011-05-05 Andreas Schwab <schwab@redhat.com>
26374
26375 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26376 * nis/Makefile: Don't install rpcsvc/*.
26377 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26378 instead of <rpc/types.h>.
26379 (MAXHOSTNAMELEN): Define.
26380
00ee369c
AS
263812011-05-03 Andreas Schwab <schwab@redhat.com>
26382
26383 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26384
0b592a30
MB
263852011-04-28 Maciej Babinski <mbabinski@google.com>
26386
26387 [BZ #12714]
26388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26389 gethostbyname4_r when IPv6 results are possible.
26390
6e04cbbe
UD
263912011-05-02 Ulrich Drepper <drepper@gmail.com>
26392
26393 [BZ #12723]
26394 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26395 _PC_PIPE_BUF handling.
26396
e4ecafe0
BH
263972011-04-30 Bruno Haible <bruno@clisp.org>
26398
26399 [BZ #12717]
26400 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26401 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26402 to 'int'.
26403 * inet/getnameinfo.c (getnameinfo): Likewise.
26404
125ee683
UD
264052011-04-29 Ulrich Drepper <drepper@gmail.com>
26406
26407 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26408 to groups setting in database lookup.
26409 * nss/nsswitch.conf: Add initgroups entry.
26410
b722481a
EB
264112011-04-22 Ulrich Drepper <drepper@gmail.com>
26412
26413 [BZ #12685]
26414 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26415 mode string.
26416 Patch by Eric Blake <eblake@redhat.com>.
26417
4df46dbd
L
264182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26419
26420 * sunrpc/Makefile (need-export-routines): Add svc_run.
26421 (routines): Remove svc_run.
26422 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26423 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26424 * sunrpc/svc_run.c (svc_run): Likewise.
26425 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26426
e84142d2
UD
264272011-04-21 Ulrich Drepper <drepper@gmail.com>
26428
26429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26430 problem in reallocation in last patch.
26431
877175d8
UD
264322011-04-20 Ulrich Drepper <drepper@gmail.com>
26433
26434 * sunrpc/Makefile: Move inclusion of Rules.
26435
ab8eed78
UD
264362011-04-19 Ulrich Drepper <drepper@gmail.com>
26437
26438 * nss/nss_files/files-initgroups.c: New file.
26439 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26440 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26441 _nss_files_initgroups_dyn.
26442
e3d8f584
RS
264432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26444
26445 * elf/elf.h (R_ARM_IRELATIVE): Define.
26446
af190f45
UD
264472011-04-19 Ulrich Drepper <drepper@gmail.com>
26448
26449 * po/ru.po: Update from translation team.
26450
53cf59ef
UD
264512011-04-17 Ulrich Drepper <drepper@gmail.com>
26452
26453 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26454 dependencies.
26455
4c559bcd
MF
264562011-02-06 Mike Frysinger <vapier@gentoo.org>
26457
26458 [BZ #12653]
26459 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26460 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26461 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26462 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26463 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26464
4420675c
AS
264652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26466
26467 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26468 differing bytes.
26469 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26470 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26471 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26472
75ea32ab
UD
264732011-04-17 Ulrich Drepper <drepper@gmail.com>
26474
26475 [BZ #12420]
26476 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26477 storing it.
26478 * stdlib/bug-getcontext.c: New file.
26479 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26480
27390476
AK
264812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26482
26483 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26484 instructions into .machine "z9-109".
26485 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26486 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26487
10442705
AK
264882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26489
26490 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26491 between environment variables and auxiliary vector.
26492
7b57bfe5
UD
264932011-04-16 Ulrich Drepper <drepper@gmail.com>
26494
26495 * Makefile: Add rules to build linkobj/libc.so.
26496 * include/libc-symbols.h: Define libc_hidden_nolink.
26497 * include/rpc/auth.h: Mark functions which are to be hidden.
26498 * include/rpc/auth_des.h: Likewise.
26499 * include/rpc/auth_unix.h: Likewise.
26500 * include/rpc/clnt.h: Likewise.
26501 * include/rpc/des_crypt.h: Likewise.
26502 * include/rpc/key_prot.h: Likewise.
26503 * include/rpc/pmap_clnt.h: Likewise.
26504 * include/rpc/pmap_prot.h: Likewise.
26505 * include/rpc/pmap_rmt.h: Likewise.
26506 * include/rpc/rpc_msg.h: Likewise.
26507 * include/rpc/svc.h: Likewise.
26508 * include/rpc/svc_auth.h: Likewise.
26509 * include/rpc/xdr.h: Likewise.
26510 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26511 * nss/Makefile: Likewise.
26512 * sunrpc/Makefile: Don't install headers. Build library with normal
26513 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26514 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26515 for the compat linking library. Remove use of INTDEF/INTUSE.
26516 * sunrpc/auth_none.c: Likewise.
26517 * sunrpc/auth_unix.c: Likewise.
26518 * sunrpc/authdes_prot.c: Likewise.
26519 * sunrpc/authuxprot.c: Likewise.
26520 * sunrpc/clnt_gen.c: Likewise.
26521 * sunrpc/clnt_perr.c: Likewise.
26522 * sunrpc/clnt_raw.c: Likewise.
26523 * sunrpc/clnt_simp.c: Likewise.
26524 * sunrpc/clnt_tcp.c: Likewise.
26525 * sunrpc/clnt_udp.c: Likewise.
26526 * sunrpc/clnt_unix.c: Likewise.
26527 * sunrpc/des_crypt.c: Likewise.
26528 * sunrpc/des_soft.c: Likewise.
26529 * sunrpc/get_myaddr.c: Likewise.
26530 * sunrpc/key_call.c: Likewise.
26531 * sunrpc/key_prot.c: Likewise.
26532 * sunrpc/netname.c: Likewise.
26533 * sunrpc/pm_getmaps.c: Likewise.
26534 * sunrpc/pm_getport.c: Likewise.
26535 * sunrpc/pmap_clnt.c: Likewise.
26536 * sunrpc/pmap_prot.c: Likewise.
26537 * sunrpc/pmap_prot2.c: Likewise.
26538 * sunrpc/pmap_rmt.c: Likewise.
26539 * sunrpc/publickey.c: Likewise.
26540 * sunrpc/rpc_cmsg.c: Likewise.
26541 * sunrpc/rpc_common.c: Likewise.
26542 * sunrpc/rpc_dtable.c: Likewise.
26543 * sunrpc/rpc_prot.c: Likewise.
26544 * sunrpc/rpc_thread.c: Likewise.
26545 * sunrpc/rtime.c: Likewise.
26546 * sunrpc/svc.c: Likewise.
26547 * sunrpc/svc_auth.c: Likewise.
26548 * sunrpc/svc_authux.c: Likewise.
26549 * sunrpc/svc_raw.c: Likewise.
26550 * sunrpc/svc_run.c: Likewise.
26551 * sunrpc/svc_simple.c: Likewise.
26552 * sunrpc/svc_tcp.c: Likewise.
26553 * sunrpc/svc_udp.c: Likewise.
26554 * sunrpc/svc_unix.c: Likewise.
26555 * sunrpc/svcauth_des.c: Likewise.
26556 * sunrpc/xcrypt.c: Likewise.
26557 * sunrpc/xdr.c: Likewise.
26558 * sunrpc/xdr_array.c: Likewise.
26559 * sunrpc/xdr_float.c: Likewise.
26560 * sunrpc/xdr_intXX_t.c: Likewise.
26561 * sunrpc/xdr_mem.c: Likewise.
26562 * sunrpc/xdr_rec.c: Likewise.
26563 * sunrpc/xdr_ref.c: Likewise.
26564 * sunrpc/xdr_sizeof.c: Likewise.
26565 * sunrpc/xdr_stdio.c: Likewise.
26566
e6c61494
UD
265672011-04-10 Ulrich Drepper <drepper@gmail.com>
26568
26569 [BZ #12650]
26570 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26571 * sysdeps/ia64/dl-tls.h: Likewise.
26572 * sysdeps/powerpc/dl-tls.h: Likewise.
26573 * sysdeps/s390/dl-tls.h: Likewise.
26574 * sysdeps/sh/dl-tls.h: Likewise.
26575 * sysdeps/sparc/dl-tls.h: Likewise.
26576 * sysdeps/x86_64/dl-tls.h: Likewise.
26577 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26578
34fe483e
AS
265792011-03-14 Andreas Schwab <schwab@redhat.com>
26580
26581 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26582 rpath element also skip the following colon.
26583 (expand_dynamic_string_token): Add is_path parameter and pass
26584 down to DL_DST_REQUIRED and _dl_dst_substitute.
26585 (decompose_rpath): Call expand_dynamic_string_token with
26586 non-zero is_path. Ignore empty rpaths.
26587 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26588 with zero is_path.
26589
f12a32e6
AS
265902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26591
26592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26593 Make cancelable.
26594
38a7d692
UD
265952011-04-09 Ulrich Drepper <drepper@gmail.com>
26596
26597 [BZ #12655]
26598 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26599 Patch by Filipe David Manana <fdmanana@apache.org>.
26600
e451d22b
AS
266012011-04-07 Andreas Schwab <schwab@redhat.com>
26602
26603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26604 Maintain aligned stack.
26605 (CHECK_RSP): Remove unused macro.
26606
dedc7c7b
UD
266072011-04-03 Ulrich Drepper <drepper@gmail.com>
26608
26609 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26610 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26611
94521213
UD
266122011-04-02 Ulrich Drepper <drepper@gmail.com>
26613
26614 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26615
8cb700c0 26616 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26617
0354e355
L
266182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26619
26620 [BZ #12518]
26621 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26622 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26623 * sysdeps/x86_64/memmove.c: New file.
26624 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26625 (memcpy): Renamed to ...
26626 (__new_memcpy): This.
26627 (memcpy): Provide GLIBC_2_14 memcpy.
26628 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26629 (memcpy): Provide GLIBC_2_2_5 memcpy.
26630
8593482f
UD
266312011-04-01 Ulrich Drepper <drepper@gmail.com>
26632
26633 [BZ #12631]
26634 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26635
81a5726b
AS
266362011-03-30 Andreas Schwab <schwab@redhat.com>
26637
26638 * misc/syncfs.c: New file.
26639 * misc/Makefile (routines): Add syncfs.
26640 * posix/unistd.h: Declare syncfs.
26641 * sysdeps/unix/syscalls.list: Add syncfs.
26642
00e5419f
AS
266432011-04-01 Andreas Schwab <schwab@redhat.com>
26644
26645 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26646 open_by_handle_at.
26647 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26648 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26649 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26650 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26651 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26652 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26653 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26654
748876bf
UD
266552011-04-01 Ulrich Drepper <drepper@gmail.com>
26656
658e451d
UD
26657 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26658 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26659 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26661 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26663 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26664
748876bf
UD
26665 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26666 sync_file_range.c with -fexceptions.
26667 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26668 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26669 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26670 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26671 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26672 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26674 sync_file_range as cancellation point
26675 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26676 now a wrapper around __call_sync_file_range with cancellation handling.
26677 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26678 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26679 function name to __call_sync_file_range.
26680 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26681 Add call_sync_file_range.
748876bf 26682
6e63d5e1
AS
266832011-04-01 Andreas Schwab <schwab@redhat.com>
26684
26685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26686 bits/timex.h.
6e63d5e1 26687
46998f74
UD
266882011-04-01 Ulrich Drepper <drepper@gmail.com>
26689
4c1423ed
UD
26690 * iconv/iconv.h: Fix typo in comment.
26691 * io/fcntl.h: Likewise.
26692 * libio/stdio.h: Likewise.
26693 * posix/spawn.h: Likewise.
26694 * posix/unistd.h: Likewise.
26695 * stdlib/stdlib.h: Likewise.
26696 * time/time.h: Likewise.
26697 * wcsmbs/wchar.h: Likewise.
26698
158648c0
UD
26699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26700 open_by_handle): Add.
26701 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26702 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26703 Augment a few comments.
26704 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26709 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26710 open_by_handle.
26711
46998f74
UD
26712 * io/fcntl.h (AT_EMPTY_PATH): Define.
26713
83fe108b
UD
267142011-03-30 Ulrich Drepper <drepper@gmail.com>
26715
26716 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26717 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26718 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26719 to...
26720 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26721 * Versions.def: Add GLIBC_2.14.
26722 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26723 Export.
83fe108b 26724
bb242059
UD
267252011-03-22 Ulrich Drepper <drepper@gmail.com>
26726
26727 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26728 round counter.
26729 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26730
c97a1282
L
267312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26732
26733 [BZ #12597]
26734 * string/test-strncmp.c (do_page_test): New function.
26735 (check2): Likewise.
26736 (test_main): Call check2.
26737 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26738
2a115601
UD
267392011-03-20 Ulrich Drepper <drepper@gmail.com>
26740
26741 [BZ #12587]
26742 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26743 Handle cache information in CPU leaf 4.
26744 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26745
8126d904
UD
267462011-03-18 Ulrich Drepper <drepper@gmail.com>
26747
042c49c6 26748 [BZ #12583]
8126d904
UD
26749 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26750 character representation.
26751 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26752
ccfe366e
RA
267532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26754
26755 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26756 END(__isnan) to END(__isnanf) to match function entry point/label
26757 EALIGN(__isnanf,...).
26758
c6e13027
JJ
267592011-03-10 Jakub Jelinek <jakub@redhat.com>
26760
26761 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26762
33f85a3f
UD
267632011-03-10 Ulrich Drepper <drepper@gmail.com>
26764
028478fa
UD
26765 [BZ #12510]
26766 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26767 copy from the symbol referenced in the relocation to initialize the
26768 used variable.
26769 Patch by Piotr Bury <pbury@goahead.com>.
26770 * elf/Makefile: Add rules to build and tst-unique3.
26771 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26772 * elf/tst-unique3.cc: New file.
26773 * elf/tst-unique3.h: New file.
26774 * elf/tst-unique3lib.cc: New file.
26775 * elf/tst-unique3lib2.cc: New file.
26776
33f85a3f
UD
26777 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26778
03592fc7
MF
267792011-03-10 Mike Frysinger <vapier@gentoo.org>
26780
26781 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26782 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26783 to _start.
03592fc7 26784
6a5ee102
UD
267852011-03-06 Ulrich Drepper <drepper@gmail.com>
26786
26787 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26788 to-be-loaded object along a path to loader is ld.so.
26789
7e4ba49c
HJ
267902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26791 Ulrich Drepper <drepper@gmail.com>
26792
26793 * sysdeps/x86_64/memset.S: After aligning destination, code
26794 branches to different locations depending on the value of
26795 misalignment, when multiarch is enabled. Fix this.
26796
267972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26798
26799 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26800 Set _x86_64_preferred_memory_instruction for AMD processsors.
26801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26802 Set bit_Prefer_SSE_for_memop for AMD processors.
26803
13a804de
UD
268042011-03-04 Ulrich Drepper <drepper@gmail.com>
26805
26806 * libio/fmemopen.c (fmemopen): Optimize a bit.
26807
9d25c392
AS
268082011-03-03 Andreas Schwab <schwab@redhat.com>
26809
26810 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26811
a5543c6a
RM
268122011-03-03 Roland McGrath <roland@redhat.com>
26813
26814 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26815
012d35f7
DM
268162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26817
7e4ba49c 26818 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26819 __bzero_ultra1 instead of __memset_ultra1.
26820
4bff6e01
AS
268212011-02-23 Andreas Schwab <schwab@redhat.com>
26822 Ulrich Drepper <drepper@gmail.com>
26823
26824 [BZ #12509]
26825 * include/link.h (struct link_map): Add l_orig_initfini.
26826 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26827 returning unsuccessfully.
26828 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26829 close of a file loaded at startup, restore the original l_initfini
26830 list.
26831 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26832 list, store the pointer.
26833 * elf/Makefile ($(objpfx)noload-mem): New rule.
26834 (noload-ENV): Define.
26835 (tests): Add $(objpfx)noload-mem.
26836 * elf/noload.c: Include <memcheck.h>.
26837 (main): Call mtrace. Close all opened handles.
26838
f2092faf
AS
268392011-02-17 Andreas Schwab <schwab@redhat.com>
26840
26841 [BZ #12454]
26842 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26843 dependencies are missing.
26844
6c8a2e88
ST
268452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26846
f2092faf 26847 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26848 Hurd needs munmap.
26849 * sysdeps/mach/hurd/ifreq.h: New file.
26850
84a42118
PB
268512011-01-27 Petr Baudis <pasky@suse.cz>
26852 Ulrich Drepper <drepper@gmail.com>
26853
071f805e 26854 [BZ 12445]#
84a42118
PB
26855 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26856 to extend_alloca().
26857 * stdio-common/bug23.c: New file.
26858 * stdio-common/Makefile (tests): Add bug23.
26859
e23fe25b
AS
268602010-09-28 Andreas Schwab <schwab@redhat.com>
26861 Ulrich Drepper <drepper@gmail.com>
26862
26863 [BZ #12489]
26864 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26865 before performing relro protection. At old place add assertion
26866 to make sure nothing changed.
26867
d3f02e10
NS
268682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26869 Glauber de Oliveira Costa <glommer@gmail.com>
26870
26871 * elf/elf.h: Add new ARM TLS relocs.
26872
d55fd7a5
RA
268732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26874
26875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26876 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26877 cast from r3.
26878 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26879 'tests' variable.
26880 * sysdeps/wordsize-64/tst-writev.c: New file.
26881
2206397e
RA
268822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26883
26884 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26885 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26886 insns in _dl_start to prevent a TOC reference before relocs are
26887 resolved.
26888
e9433893
UD
268892011-02-15 Ulrich Drepper <drepper@gmail.com>
26890
26891 [BZ #12469]
26892 * Makeconfig: Remove RANLIB definition.
26893 * Makerules: Don't use RANLIB.
26894 * aclocal.m4: Remove ranlib test.
26895 * configure.in: No need to check for ranlib.
26896 * elf/rtld-Rules: Don't use RANLIB.
26897
f75286c6
ST
268982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26899
8e31c82d
ST
26900 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26901 protection macro.
26902 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26903 inclusion protection macro.
26904
f75286c6
ST
26905 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26906 SIGRTMIN and SIGRTMAX and print information in that case only when
26907 SIGRTMIN is defined.
26908
c1d0e639
JJ
269092011-02-11 Jakub Jelinek <jakub@redhat.com>
26910
26911 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26912 arginfo fn returning -1.
26913
26914 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26915 and thousands string is zero terminated.
26916
edf9294e
AS
269172011-02-03 Andreas Schwab <schwab@redhat.com>
26918
26919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26920 sysdeps/unix/sysv/linux/bits/socket.h.
26921
2b7e92df
ST
269222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26923
edf9294e
AS
26924 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26925 (__CPU_COUNT): Remove old macros.
26926 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26927 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26928 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26929 (__sched_cpualloc, __sched_cpufree): Add declarations.
26930
a4c7ea7b
UD
269312011-02-05 Ulrich Drepper <drepper@gmail.com>
26932
26933 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26934 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26935 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26936 (readdhstai): Return value of addhstaiX call.
26937 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26938 (addgrbyX): Return value returned by cache_addgr.
26939 (readdgrbyname): Return value returned by addgrbyX.
26940 (readdgrbygid): Likewise.
26941 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26942 (addpwbyX): Return value returned by cache_addpw.
26943 (readdpwbyname): Return value returned by addhstbyX.
26944 (readdpwbyuid): Likewise.
26945 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26946 (addservbyX): Return value returned by cache_addserv.
26947 (readdservbyname): Return value returned by addservbyX:
26948 (readdservbyport): Likewise.
26949 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26950 (addhstbyX): Return value returned by cache_addhst.
26951 (readdhstbyname): Return value returned by addhstbyX.
26952 (readdhstbyaddr): Likewise.
26953 (readdhstbynamev6): Likewise.
26954 (readdhstbyaddrv6): Likewise.
26955 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26956 (readdinitgroups): Return value returned by addinitgroupsX.
26957 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26958 (prune_cache): Keep track of timeout value of re-added entries.
26959 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26960 * nscd/nscd.h: Adjust prototypes of readd* functions.
26961
a0bf67cc
RM
269622011-02-04 Roland McGrath <roland@redhat.com>
26963
26964 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26965 (nis_stats): Likewise.
26966 * nis/nis_modify.c (nis_modify): Likewise.
26967 * nis/nis_remove.c (nis_remove): Likewise.
26968 * nis/nis_add.c (nis_add): Likewise.
26969
26970 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26971
26972 * posix/fnmatch_loop.c: Add some consts.
26973
26974 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26975
435b95eb
L
269762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26977
26978 [BZ #12460]
26979 * config.make.in (config-cflags-novzeroupper): Define.
26980 * configure.in: Substitute libc_cv_cc_novzeroupper.
26981 * elf/Makefile (AVX-CFLAGS): Define.
26982 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26983 (CFLAGS-tst-auditmod4a.c): Likewise.
26984 (CFLAGS-tst-auditmod4b.c): Likewise.
26985 (CFLAGS-tst-auditmod6b.c): Likewise.
26986 (CFLAGS-tst-auditmod6c.c): Likewise.
26987 (CFLAGS-tst-auditmod7b.c): Likewise.
26988 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26989
8517b15e
UD
269902011-02-02 Ulrich Drepper <drepper@gmail.com>
26991
26992 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26993 function to the callback.
26994 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26995
10a656fe
AS
269962011-02-02 Andreas Schwab <schwab@redhat.com>
26997
26998 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26999 of errno.
27000
968dad0a
UD
270012011-01-19 Ulrich Drepper <drepper@gmail.com>
27002
9f94d2ea 27003 [BZ #11724]
968dad0a
UD
27004 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27005 of constructors.
27006 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27007 of destructors.
27008 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27009
27010 [BZ #11724]
27011 * elf/Makefile: Add rules to build and run new test.
27012 * elf/tst-initorder.c: New file.
27013 * elf/tst-initorder.exp: New file.
27014 * elf/tst-initordera1.c: New file.
27015 * elf/tst-initordera2.c: New file.
27016 * elf/tst-initordera3.c: New file.
27017 * elf/tst-initordera4.c: New file.
27018 * elf/tst-initorderb1.c: New file.
27019 * elf/tst-initorderb2.c: New file.
27020 * elf/tst-order-a1.c: New file.
27021 * elf/tst-order-a2.c: New file.
27022 * elf/tst-order-a3.c: New file.
27023 * elf/tst-order-a4.c: New file.
27024 * elf/tst-order-b1.c: New file.
27025 * elf/tst-order-b2.c: New file.
27026 * elf/tst-order-main.c: New file.
27027 New test case by George Gensure <werkt0@gmail.com>.
27028
86e92359
UD
270292010-10-01 Andreas Schwab <schwab@redhat.com>
27030
27031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27032 decoding ACE if AI_CANONIDN.
27033
5d5732b0
UD
270342011-01-18 Ulrich Drepper <drepper@gmail.com>
27035
27036 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27037
a77e8cbc
UD
270382011-01-17 Ulrich Drepper <drepper@gmail.com>
27039
6392473f
UD
27040 * version.h (RELEASE): Bump for 2.13 release.
27041 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27042
620a0529
UD
27043 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27044
18ba70a5
UD
27045 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27046 MADV_NOHUGEPAGE.
32465c3e
UD
27047 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27048 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27049 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27050 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27051 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27052 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27053
c0dafcf1
UD
27054 * posix/getconf.c: Update copyright year.
27055 * catgets/gencat.c: Likewise.
27056 * csu/version.c: Likewise.
27057 * debug/catchsegv.sh: Likewise.
27058 * debug/xtrace.sh: Likewise.
27059 * elf/ldconfig.c: Likewise.
27060 * elf/ldd.bash.in: Likewise.
27061 * elf/sprof.c (print_version): Likewise.
27062 * iconv/iconv_prog.c: Likewise.
27063 * iconv/iconvconfig.c: Likewise.
27064 * locale/programs/locale.c: Likewise.
27065 * locale/programs/localedef.c: Likewise.
27066 * malloc/memusage.sh: Likewise.
27067 * malloc/mtrace.pl: Likewise.
27068 * nscd/nscd.c (print_version): Likewise.
27069 * nss/getent.c: Likewise.
27070
a77e8cbc
UD
27071 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27072 PF_CAIF, and PF_ALG.
27073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27074
77e8bddf
AS
270752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27076
1f20b93a
AS
27077 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27078 (modules-names): Use them.
27079 (ifunc-test-modules, ifunc-pie-tests): Define.
27080 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27081 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27082 (test-extras): Likewise.
27083 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27084 $(compile-command.c).
27085 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27086 (all-built-dso): Define.
27087 (check-textrel.out, check-execstack.out): Depend on it.
27088
77e8bddf
AS
27089 * configure.in: Don't override --enable-multi-arch.
27090
bc425b33
UD
270912011-01-15 Ulrich Drepper <drepper@gmail.com>
27092
27093 [BZ #6812]
27094 * nscd/hstcache.c (tryagain): Define.
27095 (cache_addhst): Return tryagain not notfound for temporary errors.
27096 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27097 failed.
27098
794c3ad3
UD
270992011-01-14 Ulrich Drepper <drepper@gmail.com>
27100
70181fdd
UD
27101 [BZ #10563]
27102 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27103 to make the syscall.
27104 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27105
794c3ad3
UD
27106 [BZ #12378]
27107 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27108 and fall back to matching as normal character if the string ends before
27109 the matching ']' is found. This is what POSIX requires.
27110 * posix/testfnm.c: Adjust test result.
27111 * posix/globtest.sh: Adjust test result. Add new test.
27112 * posix/tst-fnmatch.input: Likewise.
27113 * posix/tst-fnmatch2.c: Add new test.
27114
68dc9497
AS
271152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27116
27117 * elf/Makefile (check-execstack): Revert last change. Depend on
27118 check-execstack.h.
27119 (check-execstack.h): New target.
27120 (generated): Add check-execstack.h.
27121 * elf/check-execstack.c: Include "check-execstack.h".
27122 (main): Revert last change.
27123 (handle_file): Return zero if GNU_STACK is absent and
27124 DEFAULT_STACK_PERMS doesn't include PF_X.
27125
451f001b
UD
271262011-01-13 Ulrich Drepper <drepper@gmail.com>
27127
cfa28e56
UD
27128 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27129 in child fails because the descriptor is already closed.
8cf8ce17
UD
27130 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27131 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27132 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27133
1086d70d
UD
27134 [BZ #12397]
27135 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27136 syscall.
27137
451f001b
UD
27138 [BZ #10484]
27139 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27140 temporary buffer used to handle multi lookups locally.
a85b5cb4 27141 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27142
08769175
UD
271432011-01-12 Ulrich Drepper <drepper@gmail.com>
27144
27145 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27146 loader is ld.so.
27147
5e49c52e
UD
271482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27149
27150 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27151 alignment for SSE2.
27152
60522a5f
UD
271532011-01-12 Ulrich Drepper <drepper@gmail.com>
27154
27155 [BZ #12394]
27156 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27157 characters. When rounding increased number of integer digits recompute
27158 number of groups.
27159 * stdio-common/tst-grouping.c: New file.
27160 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27161
f257bbd7
UD
271622011-01-09 Ulrich Drepper <drepper@gmail.com>
27163
27164 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27165 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27166
27167 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27168 void.
27169 * bits/select.h: Likewise.
27170
fa9c15cb
UD
271712011-01-08 Ulrich Drepper <drepper@gmail.com>
27172
27173 * po/ja.po: Update from translation team.
27174
16c2895f
DM
271752011-01-04 David S. Miller <davem@sunset.davemloft.net>
27176
27177 [BZ #11155]
27178 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27179 implementation just like for lxstat, fxstatat, et al.
27180
2543fef2
JM
271812010-12-27 Jim Meyering <meyering@redhat.com>
27182
27183 [BZ #12348]
27184 * posix/regexec.c (build_trtable): Return failure indication upon
27185 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27186
98727dbe
UD
271872010-12-25 Ulrich Drepper <drepper@gmail.com>
27188
5bd6dc5c
UD
27189 [BZ #12201]
27190 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27191 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27192 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27193 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27194
97983464
UD
27195 [BZ #12207]
27196 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27197
98727dbe
UD
27198 [BZ #12204]
27199 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27200 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27201
4a531bb0
L
272022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27203
27204 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27205 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27206 script has SORT_BY_INIT_PRIORITY.
27207 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27208 NO_CTORS_DTORS_SECTIONS is defined.
27209 * elf/soinit.c: Likewise.
27210 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27211 NO_CTORS_DTORS_SECTIONS is defined.
27212 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27213 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27214 * sysdeps/sh/init-first.c: Likewise.
27215 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27216
07eb4b71
UD
272172010-12-24 Ulrich Drepper <drepper@gmail.com>
27218
27219 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27220 always use the slow path.
27221
30950a5f
RA
272222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27223
27224 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27225 similar rule which adds the sysdep directories to the header search in
27226 order to pick up the correct platform stackinfo.h.
27227 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27228 perform test if it is, otherwise return successfully without testing.
27229 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27230 DEFAULT_STACK_PERMS define in stackinfo.h.
27231 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27232 defined in stackinfo.h.
27233 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27234 DEFAULT_STACK_PERMS defined in stackinfo.h.
27235 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27236 * sysdeps/ia64/stackinfo.h: Likewise.
27237 * sysdeps/s390/stackinfo.h: Likewise.
27238 * sysdeps/sh/stackinfo.h: Likewise.
27239 * sysdeps/sparc/stackinfo.h: Likewise.
27240 * sysdeps/x86_64/stackinfo.h: Likewise.
27241 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27242 PF_X for powerpc64. Retain PF_X for powerpc32.
27243
db753e2c
UD
272442010-12-19 Ulrich Drepper <drepper@gmail.com>
27245
14b697f7
UD
27246 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27247 accurately.
db753e2c
UD
27248 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27249 GETDENTS_64BIT_ALIGNED.
27250
28300719
UD
272512010-12-14 Ulrich Drepper <dreper@gmail.com>
27252
14b697f7 27253 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27254
4f197237
AS
272552010-12-10 Andreas Schwab <schwab@redhat.com>
27256
dbb0472f
AS
27257 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27258 _GNU_SOURCE.
27259
4f197237
AS
27260 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27261 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27262 Remove __restrict.
27263 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27264 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27265
fb88ac72
UD
272662010-12-09 Ulrich Drepper <drepper@gmail.com>
27267
27268 [BZ #11655]
27269 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27270 are initialized.
27271
42acbb92
JJ
272722010-12-09 Jakub Jelinek <jakub@redhat.com>
27273
27274 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27275
c038d98d
UD
272762010-12-03 Ulrich Drepper <drepper@gmail.com>
27277
27278 * po/it.po: Update from translation team.
27279
3a4a2499
L
272802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27281
27282 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27283 unused codes.
27284
1e24cf6e
UD
272852010-11-30 Ulrich Drepper <drepper@gmail.com>
27286
27287 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27288
a7690819
AS
272892010-11-24 Andreas Schwab <schwab@redhat.com>
27290
27291 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27292 specially.
27293 (gaih_getanswer_slice): Likewise.
27294
3bf8d1b1
JJ
272952010-10-20 Jakub Jelinek <jakub@redhat.com>
27296
27297 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27298
6db52fbb
PB
272992010-05-31 Petr Baudis <pasky@suse.cz>
27300
27301 [BZ #11149]
27302 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27303 silently even in the chroot mode.
27304
eaca7569
UD
273052010-11-22 Ulrich Drepper <drepper@gmail.com>
27306
27307 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27308 last patch a bit. Pretty printing
27309
3056dcdb
UD
273102010-05-31 Petr Baudis <pasky@suse.cz>
27311
27312 [BZ #10085]
27313 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27314 initialization of skip_initgroups_dyn.
27315
cf7c9078
UD
273162010-11-19 Ulrich Drepper <drepper@gmail.com>
27317
27318 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27319 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27320
a1fb5e3e
UD
273212010-11-16 Ulrich Drepper <drepper@gmail.com>
27322
27323 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27324
3540d66b
AS
273252010-11-11 Andreas Schwab <schwab@redhat.com>
27326
27327 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27328 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27329 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27330 ($(objpfx)tst-fnmatch-mem): New rule.
27331 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27332 * posix/tst-fnmatch.c (main): Call mtrace.
27333
13b69574
L
273342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27335
27336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27337 Support Intel processor model 6 and model 0x2c.
27338
da93d214
LM
273392010-11-10 Luis Machado <luisgpm@br.ibm.com>
27340
27341 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27342 signed comparison.
27343
8ca52c6e
L
273442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27345
27346 [BZ #12205]
27347 * string/test-strncasecmp.c (check_result): New function.
27348 (do_one_test): Use it.
27349 (check1): New function.
27350 (test_main): Use it.
27351 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27352 Support strcasecmp and strncasecmp.
27353
69da074d
UD
273542010-11-08 Ulrich Drepper <drepper@gmail.com>
27355
27356 [BZ #12194]
27357 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27358 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27359
ff02d528
L
273602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27361
27362 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27363 IFUNC support.
27364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27365 memset-x86-64.
27366 * sysdeps/x86_64/multiarch/bzero.S: New file.
27367 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27368 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27369 * sysdeps/x86_64/multiarch/memset.S: New file.
27370 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27372 Set bit_Prefer_SSE_for_memop for Intel processors.
27373 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27374 Define.
27375 (index_Prefer_SSE_for_memop): Define.
27376 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27377
344d0b54
LM
273782010-11-04 Luis Machado <luisgpm@br.ibm.com>
27379
27380 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27381 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27382
c0dde15b
UD
273832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27384
27385 [BZ #12191]
27386 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27387 (__x86_64_raw_data_cache_size_half): Likewise.
27388 (__x86_64_raw_shared_cache_size): Likewise.
27389 (__x86_64_raw_shared_cache_size_half): Likewise.
27390
27391 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27392 (__x86_64_raw_data_cache_size_half): Likewise.
27393 (__x86_64_raw_shared_cache_size): Likewise.
27394 (__x86_64_raw_shared_cache_size_half): Likewise.
27395 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27396 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27397 and __x86_64_raw_shared_cache_size_half. Round
27398 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27399 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27400 to multiple of 256 bytes.
27401
0e516e0e
MS
274022010-11-03 Ulrich Drepper <drepper@gmail.com>
27403
27404 [BZ #12167]
27405 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27406 of inacessible symlinks. Verify result of symlink before returning it.
27407 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27408 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27409
0e012e87
ER
274102010-10-28 Erich Ritz <erichritz@gmail.com>
27411
27412 * math/math.h (isinf): Fix typo in comment.
27413
de0ff7bc
UD
274142010-11-01 Ulrich Drepper <drepper@gmail.com>
27415
27416 * po/da.po: Update from translation team.
27417
fa41c84d
UD
274182010-10-26 Ulrich Drepper <drepper@gmail.com>
27419
27420 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27421 is added to the list.
27422
f0967738
AK
274232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27424 Ulrich Drepper <drepper@gmail.com>
27425
27426 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27427 the global list here. Move code to...
27428 (_dl_add_to_namespace_list): ...here. New function.
27429 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27430 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27431 * elf/dl-load.c (lose): Don't remove the element from the list.
27432 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27433 (_dl_map_object): Likewise.
27434
274352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27436
27437 [BZ #12159]
27438 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27439 into all bytes of SSE register.
27440 Patch by Richard Li <richardpku@gmail.com>.
27441
f0967738 274422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27443
27444 [BZ #12140]
27445 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27446 perturbing.
27447
d0b9e94f
MB
274482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27449
27450 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27451 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27452 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27453 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27455 submachine.
27456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27457
8e9f92e9
AS
274582010-10-22 Andreas Schwab <schwab@redhat.com>
27459
27460 * include/dlfcn.h (__RTLD_SECURE): Define.
27461 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27462 mode & __RTLD_SECURE instead.
27463 (open_path): Rename preloaded parameter to secure.
27464 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27465 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27466 * elf/dl-deps.c (openaux): Likewise.
27467 * elf/rtld.c (struct map_args): Remove is_preloaded.
27468 (map_doit): Don't use it.
27469 (dl_main): Likewise.
27470 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27471 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27472
bc96fbda
AS
274732010-09-09 Andreas Schwab <schwab@redhat.com>
27474
27475 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27476 (sysd-rules-targets): Remove duplicates.
27477 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27478 rtld-%.$o dependency.
27479
22cd1c9b
AS
274802010-10-18 Andreas Schwab <schwab@redhat.com>
27481
27482 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27483 _dl_map_object do it.
27484
18edac48
UD
274852010-10-19 Ulrich Drepper <drepper@gmail.com>
27486
27487 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27488 fast fma builtins, define the macros in the C99 standard.
27489 (FP_FAST_FMAF): Likewise.
27490 (FP_FAST_FMAL): Likewise.
27491 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27492
27493 * bits/mathdef.h: Update copyright year.
27494 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27495
d2050124
MM
274962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27497
27498 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27499 builtins, define the macros in the C99 standard.
27500 (FP_FAST_FMAF): Likewise.
27501 (FP_FAST_FMAL): Likewise.
27502 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27503 multiply/add.
27504 (FP_FAST_FMAF): Likewise.
27505
475facd1
JJ
275062010-10-15 Jakub Jelinek <jakub@redhat.com>
27507
27508 [BZ #3268]
27509 * math/libm-test.inc (fma_test): Some new testcases.
27510 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27511 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27512 y and infinite z. Do multiplication by C already in long double.
27513 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27515 y and infinite z. Do bitwise or of inexact bit into u.d.
27516 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27517 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27518 * sysdeps/i386/fpu/s_fma.S: Removed.
27519 * sysdeps/i386/fpu/s_fmal.S: Removed.
27520
7c08a05c
JJ
275212010-10-16 Jakub Jelinek <jakub@redhat.com>
27522
27523 [BZ #3268]
27524 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27525 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27526 computation is not scheduled after fetestexcept. Fix value
27527 of minimum denormal long double.
27528
f3f7372d
JJ
275292010-10-14 Jakub Jelinek <jakub@redhat.com>
27530
27531 [BZ #3268]
27532 * math/libm-test.inc (fma_test): Add some more tests.
27533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27534 correctly.
27535
14d43591
AS
275362010-10-15 Andreas Schwab <schwab@redhat.com>
27537
27538 * scripts/data/localplt-s390-linux-gnu.data: New file.
27539 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27540
5e908464
JJ
275412010-10-13 Jakub Jelinek <jakub@redhat.com>
27542
27543 [BZ #3268]
27544 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27545 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27546 instead of dbl-64.
27547 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27548 inlines.
27549 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27551 if one of x and y is very large and the other is subnormal.
27552 * sysdeps/s390/fpu/s_fmaf.c: New file.
27553 * sysdeps/s390/fpu/s_fma.c: New file.
27554 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27555 * sysdeps/powerpc/fpu/s_fma.S: New file.
27556 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27557 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27558 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27559
275602010-10-12 Jakub Jelinek <jakub@redhat.com>
27561
27562 [BZ #3268]
27563 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27564 fma tests.
27565 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27566 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27567 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27568 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27569 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27570 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27571 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27572
b833d51f
UD
275732010-10-12 Ulrich Drepper <drepper@redhat.com>
27574
27575 [BZ #12078]
27576 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27577 * posix/bug-regex31.input: Add test case.
27578
1751705d
UD
275792010-10-11 Ulrich Drepper <drepper@gmail.com>
27580
e9b9cbf5
UD
27581 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27582 * posix/bug-regex31.input: New file.
27583
27584 [BZ #12078]
27585 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27586 (parse_sub_exp): Fix last change, use postorder.
27587
ef06edbe
UD
27588 * posix/bug-regex31.c: New file.
27589 * posix/Makefile: Add rules to build and run bug-regex31.
27590
a129c80d
UD
27591 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27592
27593 [BZ #12078]
27594 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27595
b76b818e
UD
27596 [BZ #12108]
27597 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27598 to have entries in sys_siglist.
27599
1751705d
UD
27600 [BZ #12093]
27601 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27602 be NULL.
27603
9ff8d36f
JJ
276042010-10-07 Jakub Jelinek <jakub@redhat.com>
27605
27606 [BZ #3268]
27607 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27608 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27609 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27610 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27611 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27612 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27613 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27614 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27615 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27616 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27617 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27618 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27619 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27620 * math/ftestexcept.c (fetestexcept): Likewise.
27621 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27622 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27623 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27624 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27625 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27626 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27627 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27628
af325969
UD
276292010-10-11 Ulrich Drepper <drepper@gmail.com>
27630
c579b202 27631 [BZ #12107]
af325969
UD
27632 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27633 newline.
27634
67a67b95
UD
276352010-10-06 Ulrich Drepper <drepper@gmail.com>
27636
27637 * string/bug-strstr1.c: New file.
27638 * string/Makefile: Add rules to build and run bug-strstr1.
27639
5fb308bc
EB
276402010-10-05 Eric Blake <eblake@redhat.com>
27641
27642 [BZ #12092]
27643 * string/str-two-way.h (two_way_long_needle): Always clear memory
27644 when skipping input due to the shift table.
27645
45db99c7
UD
276462010-10-03 Ulrich Drepper <drepper@gmail.com>
27647
3b111893
UD
27648 [BZ #12005]
27649 * malloc/mcheck.c: Handle large requests.
27650
45db99c7
UD
27651 [BZ #12077]
27652 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27653 for strncmp and strncasecmp.
27654 * string/stratcliff.c: Add tests for strcmp and strncmp.
27655 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27656
cf7a1eb8
NI
276572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27658
27659 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27660 __set_fpscr.
27661
6484ba5e
AJ
276622010-09-30 Andreas Jaeger <aj@suse.de>
27663
27664 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27665 (CGROUP_SUPER_MAGIC): Define.
27666 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27667 Handle btrfs and cgroup file systems.
27668 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27669 Likewise.
27670
91c42559
LM
276712010-09-27 Luis Machado <luisgpm@br.ibm.com>
27672
27673 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27674 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27675
87a97932
AK
276762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27677
27678 [BZ #12067]
27679 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27680 trying to locate the ELF header.
27681
c21cc9bc
AS
276822010-09-27 Andreas Schwab <schwab@redhat.com>
27683
27684 [BZ #11611]
27685 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27686 Mask out sign-bit copies when constructing f_fsid.
27687
315970f6
PB
276882010-09-24 Petr Baudis <pasky@suse.cz>
27689
27690 * debug/stack_chk_fail_local.c: Add missing licence exception.
27691 * debug/warning-nop.c: Likewise.
27692
1ac7a2c7
JM
276932010-09-15 Joseph Myers <joseph@codesourcery.com>
27694
27695 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27696 implementing getdents64 using getdents syscall, set d_type if
27697 __ASSUME_GETDENTS32_D_TYPE.
27698
56801c50
AS
276992010-09-16 Andreas Schwab <schwab@redhat.com>
27700
27701 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27702 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27703
dda51327
UD
277042010-09-21 Ulrich Drepper <drepper@redhat.com>
27705
27706 [BZ #12037]
27707 * posix/unistd.h: Undo change of feature selection for ftruncate from
27708 2010-01-11.
27709
8ffcee4a
UD
277102010-09-20 Ulrich Drepper <drepper@redhat.com>
27711
a545ecd9 27712 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27713 detection.
27714
e24f0a8b
AS
277152010-09-20 Andreas Schwab <schwab@redhat.com>
27716
27717 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27718 fanotify_mark.
27719 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27720
7291c56f
AS
277212010-09-14 Andreas Schwab <schwab@redhat.com>
27722
27723 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27724 variables after CHECK_SP call.
27725 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27726
bc5fb037
AS
277272010-09-13 Andreas Schwab <schwab@redhat.com>
27728 Ulrich Drepper <drepper@redhat.com>
27729
27730 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27731 re-relocationg ld.so.
27732 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27733 _dl_init_paths call.
27734 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27735 here anymore.
27736
e66e7419
UD
277372010-09-14 Ulrich Drepper <drepper@redhat.com>
27738
27739 * resolv/res_init.c (__res_vinit): Count the default server we added.
27740
c044aa75
CLT
277412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27742 Ulrich Drepper <drepper@redhat.com>
27743
27744 [BZ #11968]
27745 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27746 (____longjmp_chk): Use %ebx for saving value across system call.
27747 Add unwind info.
27748
32cf4069
AS
277492010-09-06 Andreas Schwab <schwab@redhat.com>
27750
27751 * manual/Makefile: Don't mix pattern rules with normal rules.
27752
817328ee
AS
277532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27754
27755 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27756 operation.
27757 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27758 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27759 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27760 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27761 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27762 Likewise.
27763
29fddf61
UD
277642010-09-04 Ulrich Drepper <drepper@redhat.com>
27765
27766 [BZ #11979]
27767 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27768 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27769
0959ffc9
UD
277702010-09-02 Ulrich Drepper <drepper@redhat.com>
27771
27772 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27773 * sysdeps/x86_64/addmul_1.S: Likewise.
27774 * sysdeps/x86_64/lshift.S: Likewise.
27775 * sysdeps/x86_64/mul_1.S: Likewise.
27776 * sysdeps/x86_64/rshift.S: Likewise.
27777 * sysdeps/x86_64/sub_n.S: Likewise.
27778 * sysdeps/x86_64/submul_1.S: Likewise.
27779
ece29840
ST
277802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27781
0959ffc9
UD
27782 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27783 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27784 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27785 * bits/sched.h [__need_schedparam]
ece29840 27786 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27787 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27788 (__defined_schedparam): Define to 1.
ece29840
ST
27789 (__sched_param): New structure, identical to sched_param.
27790 (__need_schedparam): Undefine.
27791
e53a31fe
MF
277922010-08-31 Mike Frysinger <vapier@gentoo.org>
27793
fdc0c10d
MF
27794 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27795 (epoll_create1): Declare.
27796
e53a31fe
MF
27797 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27798
a726d796
AS
277992010-08-31 Andreas Schwab <schwab@redhat.com>
27800
27801 [BZ #7066]
27802 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27803 shifting retval into place.
27804
2f3e3dc7
UD
278052010-09-01 Ulrich Drepper <drepper@redhat.com>
27806
f2933da9
UD
27807 * nis/rpcsvc/nis.h: Update copyright notice.
27808 * nis/rpcsvc/nis.x: Likewise.
27809 * nis/rpcsvc/nis_callback.h: Likewise.
27810 * nis/rpcsvc/nis_callback.x: Likewise.
27811 * nis/rpcsvc/nis_object.x: Likewise.
27812 * nis/rpcsvc/nis_tags.h: Likewise.
27813 * nis/rpcsvc/yp.h: Likewise.
27814 * nis/rpcsvc/yp.x: Likewise.
27815 * nis/rpcsvc/ypupd.h: Likewise.
27816 * nis/yp_xdr.c: Likewise.
27817 * nis/ypupdate_xdr.c: Likewise.
27818
2f3e3dc7
UD
27819 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27820 mainly the body of pmap_getport. Add parameters to specify timeouts.
27821 (pmap_getport): Use __libc_rpc_getport.
27822 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27823 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27824 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27825
f3dcc2f9
AS
278262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27827
27828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27829 fanotify_mark.
27830
6d34eb5b
RM
278312010-08-27 Roland McGrath <roland@redhat.com>
27832
27833 * sysdeps/i386/i686/multiarch/Makefile
27834 (CFLAGS-varshift.c): New variable.
27835
9ea3de11
UD
278362010-08-27 Ulrich Drepper <drepper@redhat.com>
27837
c96d23fc
UD
27838 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27839 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27840
9ea3de11
UD
27841 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27842
27843 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27844
623aac7f
L
278452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27846
27847 * sysdeps/x86_64/strlen.S: Unroll the loop.
27848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27849 strlen-sse2 strlen-sse2-bsf.
27850 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27851 __strlen_no_bsf if bit_Slow_BSF is set.
27852 (__strlen_sse42): Removed.
27853 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27854 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27855
8b2b7715
RM
278562010-08-25 Roland McGrath <roland@redhat.com>
27857
27858 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27859 * sysdeps/x86_64/multiarch/varshift.c: New file.
27860 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27861 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27862 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27863 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27864
e73015f2
L
278652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27866
27867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27868 strlen-sse2 strlen-sse2-bsf.
27869 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27870 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27871 (__strlen_sse2): Removed.
27872 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27873 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27875 bit_Slow_BSF for Atom.
27876 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27877 (index_Slow_BSF): Define.
27878 (HAS_SLOW_BSF): Define.
27879
df24a73e
UD
278802010-08-25 Ulrich Drepper <drepper@redhat.com>
27881
27882 [BZ #10851]
27883 * resolv/res_init.c (__res_vinit): When no server address at all
27884 is given default to loopback.
27885
f2ac4868
RM
278862010-08-24 Roland McGrath <roland@redhat.com>
27887
09055553
RM
27888 * configure.in: Remove config-name.h generation.
27889 * configure: Regenerated.
27890 * config-name.in: File removed.
27891 * scripts/config-uname.sh: New file.
27892 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27893 ($(objdir)config-name.h): New target.
27894
f2ac4868
RM
27895 * sunrpc/rpc_parse.h: Avoid nested comment.
27896
73f27d5e
RH
278972010-08-24 Richard Henderson <rth@redhat.com>
27898 Ulrich Drepper <drepper@redhat.com>
27899 H.J. Lu <hongjiu.lu@intel.com>
27900
27901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27903 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27904 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27905 _mm_alignr_epi8 with _mm_loadu_si128.
27906 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27907 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27908 (__m128i_shift_right): Removed.
27909 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27910 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27911 * sysdeps/x86_64/multiarch/varshift.h: New file.
27912 * sysdeps/x86_64/multiarch/varshift.S: New file.
27913
84b9230c
MF
279142010-08-21 Mike Frysinger <vapier@gentoo.org>
27915
27916 * configure.in: Move assembler checks to before sysdep dir checking.
27917
9bbd0ddc
PB
279182010-08-20 Petr Baudis <pasky@suse.cz>
27919
27920 * LICENSES: Sync the sunrpc license.
27921
9da4bb31
UD
279222010-08-19 Ulrich Drepper <drepper@redhat.com>
27923
a7ab6ec8
UD
27924 * sunrpc/auth_des.c: Update copyright notice once again.
27925 * sunrpc/auth_none.c: Likewise.
27926 * sunrpc/auth_unix.c: Likewise.
27927 * sunrpc/authdes_prot.c: Likewise.
27928 * sunrpc/authuxprot.c: Likewise.
27929 * sunrpc/bindrsvprt.c: Likewise.
27930 * sunrpc/clnt_gen.c: Likewise.
27931 * sunrpc/clnt_perr.c: Likewise.
27932 * sunrpc/clnt_raw.c: Likewise.
27933 * sunrpc/clnt_simp.c: Likewise.
27934 * sunrpc/clnt_tcp.c: Likewise.
27935 * sunrpc/clnt_udp.c: Likewise.
27936 * sunrpc/clnt_unix.c: Likewise.
27937 * sunrpc/des_crypt.c: Likewise.
27938 * sunrpc/des_soft.c: Likewise.
27939 * sunrpc/get_myaddr.c: Likewise.
27940 * sunrpc/getrpcport.c: Likewise.
27941 * sunrpc/key_call.c: Likewise.
27942 * sunrpc/key_prot.c: Likewise.
27943 * sunrpc/openchild.c: Likewise.
27944 * sunrpc/pm_getmaps.c: Likewise.
27945 * sunrpc/pm_getport.c: Likewise.
27946 * sunrpc/pmap_clnt.c: Likewise.
27947 * sunrpc/pmap_prot.c: Likewise.
27948 * sunrpc/pmap_prot2.c: Likewise.
27949 * sunrpc/pmap_rmt.c: Likewise.
27950 * sunrpc/rpc/auth.h: Likewise.
27951 * sunrpc/rpc/auth_unix.h: Likewise.
27952 * sunrpc/rpc/clnt.h: Likewise.
27953 * sunrpc/rpc/des_crypt.h: Likewise.
27954 * sunrpc/rpc/key_prot.h: Likewise.
27955 * sunrpc/rpc/netdb.h: Likewise.
27956 * sunrpc/rpc/pmap_clnt.h: Likewise.
27957 * sunrpc/rpc/pmap_prot.h: Likewise.
27958 * sunrpc/rpc/pmap_rmt.h: Likewise.
27959 * sunrpc/rpc/rpc.h: Likewise.
27960 * sunrpc/rpc/rpc_des.h: Likewise.
27961 * sunrpc/rpc/rpc_msg.h: Likewise.
27962 * sunrpc/rpc/svc.h: Likewise.
27963 * sunrpc/rpc/svc_auth.h: Likewise.
27964 * sunrpc/rpc/types.h: Likewise.
27965 * sunrpc/rpc/xdr.h: Likewise.
27966 * sunrpc/rpc_clntout.c: Likewise.
27967 * sunrpc/rpc_cmsg.c: Likewise.
27968 * sunrpc/rpc_common.c: Likewise.
27969 * sunrpc/rpc_cout.c: Likewise.
27970 * sunrpc/rpc_dtable.c: Likewise.
27971 * sunrpc/rpc_hout.c: Likewise.
27972 * sunrpc/rpc_main.c: Likewise.
27973 * sunrpc/rpc_parse.c: Likewise.
27974 * sunrpc/rpc_parse.h: Likewise.
27975 * sunrpc/rpc_prot.c: Likewise.
27976 * sunrpc/rpc_sample.c: Likewise.
27977 * sunrpc/rpc_scan.c: Likewise.
27978 * sunrpc/rpc_scan.h: Likewise.
27979 * sunrpc/rpc_svcout.c: Likewise.
27980 * sunrpc/rpc_tblout.c: Likewise.
27981 * sunrpc/rpc_util.c: Likewise.
27982 * sunrpc/rpc_util.h: Likewise.
27983 * sunrpc/rpcinfo.c: Likewise.
27984 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27985 * sunrpc/rpcsvc/key_prot.x: Likewise.
27986 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27987 * sunrpc/rpcsvc/mount.x: Likewise.
27988 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27989 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27990 * sunrpc/rpcsvc/rex.x: Likewise.
27991 * sunrpc/rpcsvc/rstat.x: Likewise.
27992 * sunrpc/rpcsvc/rusers.x: Likewise.
27993 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27994 * sunrpc/rpcsvc/spray.x: Likewise.
27995 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27996 * sunrpc/rtime.c: Likewise.
27997 * sunrpc/svc.c: Likewise.
27998 * sunrpc/svc_auth.c: Likewise.
27999 * sunrpc/svc_authux.c: Likewise.
28000 * sunrpc/svc_raw.c: Likewise.
28001 * sunrpc/svc_run.c: Likewise.
28002 * sunrpc/svc_simple.c: Likewise.
28003 * sunrpc/svc_tcp.c: Likewise.
28004 * sunrpc/svc_udp.c: Likewise.
28005 * sunrpc/svc_unix.c: Likewise.
28006 * sunrpc/svcauth_des.c: Likewise.
28007 * sunrpc/xcrypt.c: Likewise.
28008 * sunrpc/xdr.c: Likewise.
28009 * sunrpc/xdr_array.c: Likewise.
28010 * sunrpc/xdr_float.c: Likewise.
28011 * sunrpc/xdr_mem.c: Likewise.
28012 * sunrpc/xdr_rec.c: Likewise.
28013 * sunrpc/xdr_ref.c: Likewise.
28014 * sunrpc/xdr_sizeof.c: Likewise.
28015 * sunrpc/xdr_stdio.c: Likewise.
28016
9da4bb31
UD
28017 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28018 handling.
28019
bdaa77bc
AS
280202010-08-19 Andreas Schwab <schwab@redhat.com>
28021
28022 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28023
fe2f79db
LM
280242010-08-19 Luis Machado <luisgpm@br.ibm.com>
28025
28026 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28027 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28028 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28029 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28030 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28031 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28032 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28033 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28034 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28035 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28036 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28037 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28038 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28039 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28040
b9b42ee0
AB
280412010-07-26 Anton Blanchard <anton@samba.org>
28042
28043 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28044 * malloc/arena.c (heap_trim): Likewise.
28045
1c06ba31
UD
280462010-08-16 Ulrich Drepper <drepper@redhat.com>
28047
28048 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28049 here. Not...
28050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28051 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28052
f8392f40
L
280532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28054
28055 * sysdeps/i386/elf/Makefile: New file.
28056
3162f12e
AS
280572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28058
28059 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28060 from fanotify_init.
28061 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28062 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28063
28c90b2c
UD
280642010-08-15 Ulrich Drepper <drepper@redhat.com>
28065
28066 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28067 of strncasecmp_l.
1feccb6c 28068 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28069
ca6bb004
UD
280702010-08-14 Ulrich Drepper <drepper@redhat.com>
28071
e9f82e0d
UD
28072 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28073 strncase_l-nonascii.
28074 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28075 Add strncase_l-ssse3.
28076 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28077 * sysdeps/x86_64/strcmp.S: Likewise.
28078 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28079 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28080 * sysdeps/x86_64/strncase.S: New file.
28081 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28082 * sysdeps/x86_64/strncase_l.S: New file.
28083 * string/Makefile (strop-tests): Add strncasecmp.
28084 * string/test-strncasecmp.c: New file.
28085
28086 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28087 warning.
28088
ca6bb004
UD
28089 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28090 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28091
052fa7b3
AS
280922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28093
28094 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28095
962dba78
UD
280962010-08-12 Ulrich Drepper <drepper@redhat.com>
28097
28098 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28099 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28100 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28101
bebff237
AM
281022010-05-01 Alan Modra <amodra@gmail.com>
28103
28104 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28105 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28106 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28107 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28108 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28109 tidying. Don't tail-call __sigjmp_save for static lib.
28110 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28111 save location.
28112 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28113 (CALL_MCOUNT): Add eh info, and nop after bl.
28114 (TAIL_CALL_SYSCALL_ERROR): New macro.
28115 (PSEUDO_RET): Use it.
28116 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28117 Correct save location of integer regs and cr.
28118 (_dl_profile_resolve): Correct cr save location. Delete nops
28119 after bl when SHARED. Reduce cfi size a little by better
28120 placement of cfi directives.
28121 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28122 make a stack frame. Instead use parm save area as a temp.
28123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28124 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28126 Don't make a stack frame for parent, use parm save area.
28127 Increase child stack frame to 112 bytes. Don't save unused reg,
28128 and adjust reg usage. Set up cfi on error recovery and
28129 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28131 (__makecontext): Add dummy nop after jump to exit.
28132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28133 Use correct parm save area and cr save, reduce stack frame.
28134 Correct cfi for possible PSEUDO_RET frame setup.
28135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28136 Branch to local label emitted by PSEUDO_RET rather than
28137 __syscall_error.
28138
02637374
AS
281392010-08-12 Andreas Schwab <schwab@redhat.com>
28140
28141 [BZ #11904]
28142 * locale/programs/locale.c (print_assignment): New function.
28143 (show_locale_vars): Use it.
28144
c3e2f19b
UD
281452010-08-11 Ulrich Drepper <drepper@redhat.com>
28146
3cdaa6ad
UD
28147 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28148 field.
28149 (struct statfs64): Likewise.
28150 (_STATFS_F_FLAGS): Define.
28151 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28152 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28153 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28154 (ST_VALID): Define locally.
28155 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28156 __statvfs_getflags, use the provided value.
28157 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28158 __ASSUME_STATFS_F_FLAGS.
28159
754f7da3
UD
28160 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28161
10b3bedc
UD
28162 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28163 Add sys/fanotify.h.
28164 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28165 fanotify_mask for GLIBC_2.13.
28166 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28167 fanotify_init and fanotify_mark.
28168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28169 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28170
c08fb0d7
UD
28171 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28172 Add prlimit.
28173 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28174 prlimit64 for GLIBC_2.13.
28175 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28176 prlimit64.
28177 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28178 syscall.
28179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28180 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28181 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28182 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28183 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28184 add prlimit alias.
28185 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28186
15bac72b
UD
28187 [BZ #11903]
28188 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28189 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28190
c3e2f19b
UD
28191 * nss/Makefile: Add rules to build and run tst-nss-test1.
28192 * shlib-versions: Add entry for libnss_test1.
28193 * nss/nss_test1.c: New file.
28194 * nss/tst-nss-test1.c: New file.
28195
28196 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28197 (__nss_configure_lookup): Set appropriate entry in
28198 __nss_configure_lookup to true.
28199 * nss/nsswitch.h: Define enum with indeces of databases in
28200 databases and __nss_database_custom arrays. Declare
28201 __nss_database_custom.
28202 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28203 to avoid using nscd when custom rules are installed.
28204 * nss/getXXbyYY_r.c: Likewise.
28205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28206
28207 * nss/nss_files/files-parse.c: Whitespace fixes.
28208
f15ce4d8
UD
282092010-08-09 Ulrich Drepper <drepper@redhat.com>
28210
28211 [BZ #11883]
28212 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28213 * posix/fnmatch_loop.c: Likewise.
28214
d22e4cc9
AK
282152010-07-17 Andi Kleen <ak@linux.intel.com>
28216
28217 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28218 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28219 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28220 * Versions.def [GLIBC_2.13]: Add.
28221
805bc17d
UD
282222010-08-06 Ulrich Drepper <drepper@redhat.com>
28223
28224 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28225 Also fail if tpwd after pwuid call is NULL.
28226
5a42321d
ST
282272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28228
28229 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28230 when converting to ms.
28231
fd3ebeda
ST
282322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28233
28234 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28235 EOPNOTSUPP errors with ENOTTY.
28236 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28237 EOPNOTSUPP errors with ENOTTY.
28238
73507d3a
UD
282392010-07-31 Ulrich Drepper <drepper@redhat.com>
28240
28241 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28242 Add strcasecmp_l-ssse3.
28243 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28244 strcasecmp.
28245 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28246 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28247 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28248
fe36dd02
UD
282492010-07-30 Ulrich Drepper <drepper@redhat.com>
28250
66f6765a
UD
28251 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28252
42e08a54
UD
28253 * string/Makefile (strop-tests): Add strcasecmp.
28254 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28255 strcasecmp_l-nonascii.
28256 (gen-as-const-headers): Add locale-defines.sym.
28257 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28258 * sysdeps/x86_64/strcasecmp.S: New file.
28259 * sysdeps/x86_64/strcasecmp_l.S: New file.
28260 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28261 * sysdeps/x86_64/locale-defines.sym: New file.
28262 * string/test-strcasecmp.c: New file.
28263
fe36dd02
UD
28264 * string/test-strcasestr.c: Test both ends of the range of characters.
28265 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28266
48cbc0d6
RM
282672010-07-29 Roland McGrath <roland@redhat.com>
28268
76e6d6bc 28269 [BZ #11856]
48cbc0d6
RM
28270 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28271
880113d9
UD
282722010-07-27 Ulrich Drepper <drepper@redhat.com>
28273
28274 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28275 for ld.so.
28276
deb9cabb
AS
282772010-07-27 Andreas Schwab <schwab@redhat.com>
28278
28279 * manual/memory.texi (Malloc Tunable Parameters): Document
28280 M_PERTURB.
28281
1c7570ff
RM
282822010-07-26 Roland McGrath <roland@redhat.com>
28283
28284 [BZ #11840]
28285 * configure.in (-fgnu89-inline check): Set and substitute
28286 gnu89_inline, not libc_cv_gnu89_inline.
28287 * configure: Regenerated.
28288 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28289
24fb0f88
UD
282902010-07-26 Ulrich Drepper <drepper@redhat.com>
28291
28292 * string/test-strnlen.c: New file.
28293 * string/Makefile (strop-tests): Add strnlen.
28294 * string/tester.c (test_strnlen): Add a few more test cases.
28295 * string/tst-strlen.c: Better error reporting.
28296
28297 * sysdeps/x86_64/strnlen.S: New file.
28298
8e96b93a
UD
282992010-07-24 Ulrich Drepper <drepper@redhat.com>
28300
28301 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28302 lower-latency instructions.
28303
dbc676d4
UD
283042010-07-23 Ulrich Drepper <drepper@redhat.com>
28305
28306 * string/test-strcasestr.c: New file.
28307 * string/test-strstr.c: New file.
28308 * string/Makefile (strop-tests): Add strstr and strcasestr.
28309 * string/str-two-way.h: Don't undefine MAX.
28310 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28311
f6a31e0e
AS
283122010-07-21 Andreas Schwab <schwab@redhat.com>
28313
28314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28315 strcasestr-nonascii.
28316 (CFLAGS-strcasestr-nonascii.c): Define.
28317 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28318 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28319 Remove unused attribute.
28320
5dbc3b6c
RM
283212010-07-20 Roland McGrath <roland@redhat.com>
28322
28323 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28324 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28325 ld.so.cache was broken. With it, there is no way to disable dsocaps
28326 like LD_HWCAP_MASK can disable hwcaps.
28327
23d101d8
EPM
283282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28329
28330 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28331
cc9f2e47
UD
283322010-07-16 Ulrich Drepper <drepper@redhat.com>
28333
28334 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28335 call in strcasestr.
28336 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28337 __strcasestr_sse42_nonascii.
28338 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28339 strcasestr-nonascii.c.
28340 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28341
77c1b069
LM
283422010-06-15 Luis Machado <luisgpm@br.ibm.com>
28343
28344 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28345 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28346 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28347 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28348
440566c3
UD
283492010-07-09 Ulrich Drepper <drepper@redhat.com>
28350
28351 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28352 fcntl.
28353
5be9d05d
AS
283542010-07-06 Andreas Schwab <schwab@redhat.com>
28355
c30b7ee2 28356 [BZ #11577]
5be9d05d
AS
28357 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28358 dl_signal_cerror.
28359
8a492a67
UD
283602010-07-06 Ulrich Drepper <drepper@redhat.com>
28361
28362 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28363 _PC_PIPE_BUF using F_GETPIPE_SZ.
28364
713df3d5
RM
283652010-07-05 Roland McGrath <roland@redhat.com>
28366
28367 * manual/arith.texi (Rounding Functions): Fix rint description
28368 implicit in round description.
28369
702e8f14
UD
283702010-07-02 Ulrich Drepper <drepper@redhat.com>
28371
28372 * elf/Makefile: Fix linking for a few tests to make recent linker
28373 happy.
28374
52ed8be9
AS
283752010-06-30 Andreas Schwab <schwab@redhat.com>
28376
28377 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28378 $(common-objpfx)libc_nonshared.a.
28379
f47c9a11
LM
283802010-06-21 Luis Machado <luisgpm@br.ibm.com>
28381
28382 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28383 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28384 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28385 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28386 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28387 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28388 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28389 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28404 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28405 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28406 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28407 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28408 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28409 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28410 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28411 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28412 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28413 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28414 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28415 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28430
6fb8cbcb
L
284312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28432
28433 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28434 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28435 * string/memmove.c (memmove): Renamed to ...
28436 (MEMMOVE): ...this. Default to memmove.
28437 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28438 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28439 (END_CHK): Define.
28440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28441 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28442 mempcpy-ssse3-back memmove-ssse3-back.
28443 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28444 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28445 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28446 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28447 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28448 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28449 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28450 * sysdeps/x86_64/multiarch/memmove.c: New file.
28451 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28452 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28453 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28454 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28455 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28456 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28457 Define.
28458 (index_Fast_Copy_Backward): Define.
28459 (HAS_ARCH_FEATURE): Define.
28460 (HAS_FAST_REP_STRING): Define.
28461 (HAS_FAST_COPY_BACKWARD): Define.
28462
4e733bac 284632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28464
28465 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28466 Restore proper fallback handling.
28467
63c4ed22
UD
284682010-06-19 Ulrich Drepper <drepper@redhat.com>
28469
ac2b484c
UD
28470 [BZ #11701]
28471 * posix/group_member.c (__group_member): Correct checking loop.
28472
63c4ed22
UD
28473 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28474 OOM in getpwuid_r correctly. Return error number when the caller
28475 should return, otherwise -1.
28476 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28477 call returning > 0 value.
28478 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28479
765ade4b
AS
284802010-06-07 Andreas Schwab <schwab@redhat.com>
28481
28482 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28483 libc_nonshared.a from targets in modules-names.
28484
80da2e09
KS
284852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28486
28487 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28488 requires it.
28489
158db122
LM
284902010-06-10 Luis Machado <luisgpm@br.ibm.com>
28491
28492 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28493 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28494 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28495 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28496
caa78cf8
AS
284972010-06-02 Andreas Schwab <schwab@redhat.com>
28498
28499 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28500
b2ef2c01
UD
285012010-06-14 Ulrich Drepper <drepper@redhat.com>
28502
28503 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28504 and F_GETPIPE_SZ.
28505 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28506 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28509 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28510 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28511
fbd643b6
RM
285122010-06-14 Roland McGrath <roland@redhat.com>
28513
28514 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28515
f32f2869
JJ
285162010-06-07 Jakub Jelinek <jakub@redhat.com>
28517
28518 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28519 __REDIRECT followed by __THROW.
28520 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28521 * posix/getopt.h (getopt): Likewise.
28522
2a50c078
EPM
285232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28524
28525 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28526 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28527 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28528 in AT_FLAGS.
28529 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28530 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28531
eb5ad2eb
LM
285322010-05-28 Luis Machado <luisgpm@br.ibm.com>
28533
28534 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28535
3c88fe1e
L
285362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28537
28538 [BZ #11640]
28539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28540 Properly check family and model.
28541
d2f73151
TY
285422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28543
28544 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28545
ebd2e13d
LM
285462010-05-24 Luis Machado <luisgpm@br.ibm.com>
28547
28548 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28549
b32b8b45
UD
285502010-05-21 Ulrich Drepper <drepper@redhat.com>
28551
28552 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28553 symbol reference.
28554
9acbe24d
AS
285552010-05-19 Andreas Schwab <schwab@redhat.com>
28556
28557 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28558 symbol reference.
28559
f0ccf6ea
AS
285602010-05-21 Andreas Schwab <schwab@redhat.com>
28561
3d04ff3a
AS
28562 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28563 and internal_recvmmsg.
28564 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28565 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28566 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28567 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28568
f0ccf6ea
AS
28569 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28570 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28571 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28572
5b08ac57
AS
285732010-05-20 Andreas Schwab <schwab@redhat.com>
28574
28575 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28576
4828935d
LM
285772010-05-17 Luis Machado <luisgpm@br.ibm.com>
28578
28579 POWER7 optimizations.
28580 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28581 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28582
373d545e
UD
285832010-05-19 Ulrich Drepper <drepper@redhat.com>
28584
28585 * version.h: Update for 2.13 development version.
28586
21a2b1ae
AS
285872010-05-12 Andrew Stubbs <ams@codesourcery.com>
28588
28589 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28590 exceptions. Return 0.
28591
3f7dcb2b
RM
285922010-05-07 Roland McGrath <roland@redhat.com>
28593
28594 * elf/ldconfig.c (main): Add a const.
28595
5f24d53a 285962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28597
a160f8d8
UD
28598 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28599 (args_options): Add no-idn option.
28600 (ahosts_keys_int): Add idn_flags to ai_flags.
28601 (parse_option): Handle 'i' option to clear idn_flags.
28602
5f24d53a
UD
28603 * malloc/malloc.c (_int_free): Possible race in the most recently
28604 added check. Only act on the data if no current modification
28605 happened.
265bb1ce
UD
28606
28607See ChangeLog.17 for earlier changes.