]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ARM: Add Cortex-A15 optimized NEON and VFP memcpy routines, with IFUNC.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d8cd06db
JM
12013-05-08 Joseph Myers <joseph@codesourcery.com>
2
f44bf14a
JM
3 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4 (RUN_TEST_2_f): Likewise.
5 (RUN_TEST_ff_f): Likewise.
6 (RUN_TEST_fi_f): Likewise.
7 (RUN_TEST_fl_f): Likewise.
8 (RUN_TEST_fff_f): Likewise.
9 (RUN_TEST_c_f): Likewise.
10 (RUN_TEST_f_f1): Likewise.
11 (RUN_TEST_fF_f1): Likewise.
12 (RUN_TEST_fI_f1): Likewise.
13 (RUN_TEST_ffI_f1): Likewise.
14 (RUN_TEST_c_c): Likewise.
15 (RUN_TEST_cc_c): Likewise.
16 (RUN_TEST_f_i): Likewise.
17 (RUN_TEST_f_i_tg): Likewise.
18 (RUN_TEST_ff_i_tg): Likewise.
19 (RUN_TEST_f_b): Likewise.
20 (RUN_TEST_f_b_tg): Likewise.
21 (RUN_TEST_f_l): Likewise.
22 (RUN_TEST_f_L): Likewise.
23 (RUN_TEST_sincos): Likewise.
24 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25 whether to show exceptions. Do not include ");\n" in return
26 value.
27 (special_functions): Output call to RUN_TEST_sincos instead of
28 check_float calls. Update calls to new_test.
29 (parse_args): Output call to single RUN_TEST_* macro instead of
30 check_* calls and other assignments. Update calls to new_test.
31
d8cd06db
JM
32 [BZ #2546]
33 [BZ #2560]
34 [BZ #5159]
35 [BZ #15426]
36 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
37 input to result for tgamma overflow.
38 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
39 (gamma_coeff): New variable.
40 (NCOEFF): New macro.
41 (gamma_positive): New function.
42 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43 underflow here. Use gamma_positive instead of exp (lgamma) for
44 other arguments.
45 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
46 (gamma_coeff): New variable.
47 (NCOEFF): New macro.
48 (gammaf_positive): New function.
49 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50 underflow here. Use gamma_positive instead of exp (lgamma) for
51 other arguments.
52 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
53 (gamma_coeff): New variable.
54 (NCOEFF): New macro.
55 (gammal_positive): New function.
56 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57 underflow here. Use gamma_positive instead of exp (lgamma) for
58 other arguments.
59 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60 (gamma_coeff): New variable.
61 (NCOEFF): New macro.
62 (gammal_positive): New function.
63 (__ieee754_gammal_r): Handle positive infinity, overflow and
64 underflow here. Handle NaN the same as positive infinity. Remove
65 check x < 0xffffffff for negative integers. Use gamma_positive
66 instead of exp (lgamma) for other arguments.
67 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68 (gamma_coeff): New variable.
69 (NCOEFF): New macro.
70 (gammal_positive): New function.
71 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
72 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
73 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
74 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
75 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
76 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
77 * sysdeps/generic/math_private.h (__gamma_productf): New
78 prototype.
79 (__gamma_product): Likewise.
80 (__gamma_productl): Likewise.
81 * math/Makefile (libm-calls): Add gamma_product.
82 * math/libm-test.inc (tgamma_test): Add more tests.
83 * sysdeps/i386/fpu/libm-test-ulps: Update.
84 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85
bb7cf681
OB
862013-05-08 Ondřej Bílka <neleai@seznam.cz>
87
88 * benchtests/bench-skeleton.c (main): Preheat CPU.
89
ba853947
AJ
902013-05-07 Aurelien Jarno <aurelien@aurel32.net>
91
92 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
93
8347c74c
RM
942013-05-07 Roland McGrath <roland@hack.frob.com>
95
96 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
97 and _dl_skip_args_internal.
98
e8dd4791
CD
992013-05-07 Carlos O'Donell <carlos@redhat.com>
100
101 * manual/message.texi (Message Translation): Talk about users.
102 Message to key mapping impacts design.
103
c7405830
RM
1042013-05-06 Roland McGrath <roland@hack.frob.com>
105
a9173057
RM
106 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
107
976e2f03
RM
108 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
109
9723ffc5
RM
110 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
111 * sysdeps/wordsize-64/glob64.c: ... here.
112
962e6658
RM
113 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
114 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
115 New macros.
116
ee586a6d
RM
117 * debug/getlogin_r_chk.c: Moved to ...
118 * login/getlogin_r_chk.c: ... here.
119 * debug/Makefile (routines): Move getlogin_r_chk to ...
120 * login/Makefile (routines): ... here.
121 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
122 * login/Versions (libc: GLIBC_2.4): ... here.
123
355f9165
RM
124 * io/poll.c (__poll): Renamed from poll.
125 Add libc_hidden_def.
126 (poll): Define as weak alias.
127
bd9ffde6
RM
128 * debug/ptsname_r_chk.c: Moved to ...
129 * login/ptsname_r_chk.c: ... here.
130 * debug/Makefile (routines): Move ptsname_r_chk to ...
131 * login/Makefile (routines): ... here.
132 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
133 * login/Versions (libc: GLIBC_2.4): ... here.
134
8fb16a04
RM
135 * posix/getlogin.c: Moved to ...
136 * login/getlogin.c: ... here.
137 * posix/getlogin_r.c: Moved to ...
138 * login/getlogin_r.c: ... here.
139 * posix/getlogin_r.c: Moved to ...
140 * login/getlogin_r.c: ... here.
141 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
142 * login/Makefile (routines): ... here.
143 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
144 * login/Versions (libc: GLIBC_2.0): ... here.
145
b99b892f
RM
146 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
147 (setrlimit): Define as weak alias.
148
c7405830
RM
149 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
150 Call __ names for open, ftruncate, and close.
151 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
152 (truncate): Define as weak alias.
153
5bf96de5
JM
1542013-05-06 Joseph Myers <joseph@codesourcery.com>
155
9ea3513c
JM
156 * math/gen-libm-test.pl (parse_args): Initialize x before each
157 test of frexp, modf and remquo.
158
5bf96de5
JM
159 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
160 test signgam value.
161
16e616a7
AZ
1622013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163
164 [BZ #15418]
165 [BZ #15419]
166 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
167 internal tests.
168 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
169
d5e82754
RM
1702013-05-06 Roland McGrath <roland@hack.frob.com>
171
172 * elf/dl-writev.h: New file.
173 * elf/dl-misc.c: Include it.
174 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
175 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
176
a7548d41
JM
1772013-05-04 Joseph Myers <joseph@codesourcery.com>
178
b7dab1e4
JM
179 * math/libm-test.inc (noXFails): Remove variable.
180 (noXPasses): Likewise.
181 (BUILD_COMPLEX_INT): Remove macro.
182 (print_screen): Remove xfail argument.
183 (print_screen_max_error): Likewise.
184 (update_stats): Likewise.
185 (print_max_error): Likewise. Update calls to other affected
186 functions.
187 (print_complex_max_error): Likewise.
188 (test_single_exception): Update calls to print_screen.
189 (test_single_errno): Likewise.
190 (check_float_internal): Remove xfail argument. Update calls to
191 other affected functions.
192 (check_float): Likewise.
193 (check_complex): Likewise.
194 (check_int): Likewise.
195 (check_long): Likewise.
196 (check_bool): Likewise.
197 (check_longlong): Likewise.
198 (main): Don't print noXFails and noXPasses.
199 * math/gen-libm-test.pl (top level): Don't mention expected
200 failure handling in comment.
201 (new_test): Don't handle expected failures.
202 (parse_args): Don't mention expected failure handling in comment.
203 (generate_testfile): Don't handle expected failures.
204 (parse_ulps): Likewise.
205 (print_ulps_file): Likewise.
206 (get_failure): Remove function.
207 (output_test): Don't handle expected failures.
208 * make/README.libm-test: Don't mention expected failure handling.
209
a7548d41
JM
210 * math/libm-test.inc (plus_zero): Make const. Add initializer.
211 (minus_zero): Likewise.
212 (plus_infty): Likewise.
213 (minus_infty): Likewise.
214 (qnan_value): Likewise.
215 (max_value): Likewise.
216 (min_value): Likewise.
217 (min_subnorm_value): Likewise.
218 (initialize): Do not initialize those variables dynamically.
219
60bfd54c
RM
2202013-05-03 Roland McGrath <roland@hack.frob.com>
221
cc0e6ed8
RM
222 * io/open.c (__open_2): Moved to ...
223 * io/open_2.c: ... this new file.
224 * io/open64.c (__open64_2): Moved to ...
225 * io/open64_2.c: ... this new file.
226 * io/openat.c (__openat_2): Moved to ...
227 * io/openat_2.c: ... this new file.
228 * io/openat64.c (__openat64_2): Moved to ...
229 * io/openat64_2.c: ... this new file.
230 * io/Makefile (routines): Add them.
231 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
232 * sysdeps/unix/sysv/linux/open_2.c: File removed.
233 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
234 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
235 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
236 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
237 (__openat64): Add hidden_ver.
238 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
239 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
240
60bfd54c
RM
241 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
242 Separately conditionalize setting of GLRO(dl_sysinfo) so
243 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
244 as well, but the actual setting is only under [NEED_DL_SYSINFO].
245
83e7640f
AZ
2462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
247
248 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
249 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
250 definition.
251 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
252 * sysdeps/unix/sysv/linux/powerpc/init-first.c
253 (_libc_vdso_platform_setup): Add __vdso_time initialization.
254 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
255 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
256
d5dc2af3
JM
2572013-05-03 Joseph Myers <joseph@codesourcery.com>
258
c31a5b1e
JM
259 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
260 test signgam value.
261
d5dc2af3
JM
262 * math/libm-test.inc (hypot_test): Do not use
263 IGNORE_ZERO_INF_SIGN.
264
164fd39d
AJ
2652013-05-03 Andreas Jaeger <aj@suse.de>
266
267 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
268 Linux 3.9.
269 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
270 (PF_MAX): Adjust for VSOCK change.
271
8237f48c
AZ
2722013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
273
274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
275
9df02941
CD
2762013-05-02 Carlos O'Donell <carlos@redhat.com>
277
278 [BZ #15264]
279 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
280 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
281 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
282
d422395e
DM
2832013-05-02 David S. Miller <davem@davemloft.net>
284
285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
286
a07c5731
OB
2872013-05-01 Ondřej Bílka <neleai@seznam.cz>
288
289 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
290
1324e37f
RM
2912013-05-01 Roland McGrath <roland@hack.frob.com>
292
293 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
294
0695940b
RS
2952013-05-01 Richard Smith <richard@metafoo.co.uk>
296
bb5f27ad 297 [BZ #14952]
0695940b
RS
298 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
299 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
300 Use __attribute__ ((__gnu_inline__)).
301 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
302 Don't use __attribute__ ((__gnu_inline__)).
303
10de07f5
JM
3042013-05-01 Joseph Myers <joseph@codesourcery.com>
305
306 [BZ #15423]
307 * math/s_catan.c (__catan): Handle small real or imaginary part of
308 input specially to avoid spurious underflow.
309 * math/s_catanf.c (__catanf): Likewise.
310 * math/s_catanh.c (__catanh): Likewise.
311 * math/s_catanhf.c (__catanhf): Likewise.
312 * math/s_catanhl.c (__catanhl): Likewise.
313 * math/s_catanl.c (__catanl): Likewise.
314 * math/libm-test.inc (catan_test): Add more tests.
315 (catanh_test): Likewise.
316 * sysdeps/i386/fpu/libm-test-ulps: Update.
317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
318
cb4d5414
AZ
3192013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
320
321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
322
caf84319
JM
3232013-04-30 Joseph Myers <joseph@codesourcery.com>
324
325 [BZ #15416]
326 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
327 accurately for denominator in atan2.
328 * math/s_catanf.c (__catanf): Likewise.
329 * math/s_catanh.c (__catanh): Likewise.
330 * math/s_catanhf.c (__catanhf): Likewise.
331 * math/s_catanhl.c (__catanhl): Likewise.
332 * math/s_catanl.c (__catanl): Likewise.
333 * math/libm-test.inc (catan_test): Add more tests.
334 (catanh_test): Likewise.
335 * sysdeps/i386/fpu/libm-test-ulps: Update.
336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
337
d569c6ee
SP
3382013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
339
6dbe713d
SP
340 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
341
f0ee064b
SP
342 * benchtests/Makefile (bench): Remove slow benchmarks.
343 * benchtests/atan-inputs: Add slow benchmark inputs.
344 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
345 (BENCH_FUNC): Accept variant offset.
346 (VARIANT): Define.
347 * benchtests/bench-skeleton.c (main): Run benchmark for each
348 variant.
349 * benchtests/cos-inputs: Add slow benchmark inputs.
350 * benchtests/exp-inputs: Likewise.
351 * benchtests/pow-inputs: Likewise.
352 * benchtests/sin-inputs: Likewise.
353 * benchtests/slowatan-inputs: Remove.
354 * benchtests/slowatan.c: Remove.
355 * benchtests/slowcos-inputs: Remove.
356 * benchtests/slowcos.c: Remove.
357 * benchtests/slowexp-inputs: Remove.
358 * benchtests/slowexp.c: Remove.
359 * benchtests/slowpow-inputs: Remove.
360 * benchtests/slowpow.c: Remove.
361 * benchtests/slowsin-inputs: Remove.
362 * benchtests/slowsin.c: Remove.
363 * benchtests/slowtan-inputs: Remove.
364 * benchtests/slowtan.c: Remove.
365 * benchtests/tan-inputs: Add slow benchmark inputs.
366 * scripts/bench.pl: Parse comments and directives.
367
d569c6ee
SP
368 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
369 in CPPFLAGS.
370 ($(objpfx)bench-%.c): Remove *-ITER.
371 * benchtests/bench-modf.c: Remove definition of ITER.
372 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
373 (main): Loop for DURATION seconds instead of fixed number of
374 iterations.
375 * scripts/bench.pl: Don't expect iterations in parameters.
376
a6a242fe
RM
3772013-04-29 Roland McGrath <roland@hack.frob.com>
378
379 * io/fchdir.c (__fchdir): Renamed from fchdir.
380 (fchdir): Define as weak alias.
381
f2da7793
JM
3822013-04-29 Joseph Myers <joseph@codesourcery.com>
383
384 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
385 (ERRNO_EDOM): Likewise.
386 (ERRNO_ERANGE): Likewise.
387 (noErrnoTests): New variable.
388 (init_max_error): Set errno to 0.
389 (test_single_errno): New function.
390 (test_errno): Likewise.
391 (check_float_internal): Call test_errno. Set errno to 0.
392 (check_complex): Refer to errno tests in comment.
393 (check_int): Call test_errno. Set errno to 0.
394 (check_long): Likewise.
395 (check_bool): Likewise.
396 (check_longlong): Likewise.
397 (cos_test): Use ERRNO_* flags for errno tests instead of
398 check_int.
399 (expm1_test): Likewise.
400 (fmod_test): Likewise.
401 (ilogb_test): Likewise.
402 (lgamma_test): Likewise.
403 (pow_test): Likewise.
404 (remainder_test): Likewise.
405 (sin_test): Likewise.
406 (tan_test): Likewise.
407 (yn_test): Likewise.
408 (initialize): Set errno to 0.
409 (main): Print number of errno tests.
410 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
411
b1a36ceb
AJ
4122013-04-29 Andreas Jaeger <aj@suse.de>
413
c3ed8088
AJ
414 [BZ #15084]
415 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
416 and RES_USEVC.
417
f1a24198
AJ
418 [BZ #15085]
419 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
420 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
421 unimplemented.
422
9ce3b2cb
AJ
423 [BZ #15380]
424 * stdlib/random.c (__initstate): Return NULL if
425 __initstate fails.
426
f1a24198 427 [BZ #15086]
b1a36ceb
AJ
428 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
429 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
430 RES_SNGLKUPREOP.
431
7e7b6f36
AZ
4322013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
433
434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
435
4d14f449
JM
4362013-04-29 Joseph Myers <joseph@codesourcery.com>
437
438 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
439 of individual tests.
440 (casin_test): Likewise.
441 (casinh_test): Likewise.
442
5b4217d7
JM
4432013-04-27 Joseph Myers <joseph@codesourcery.com>
444
445 [BZ #15409]
446 * math/s_catan.c (__catan): Handle arguments with large real or
447 imaginary part separately without squaring.
448 * math/s_catanf.c (__catanf): Likewise.
449 * math/s_catanh.c (__catanh): Likewise.
450 * math/s_catanhf.c (__catanhf): Likewise.
451 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
452 and redefine.
453 (__catanhl): Handle arguments with large real or imaginary part
454 separately without squaring.
455 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
456 and redefine.
457 (__catanl): Handle arguments with large real or imaginary part
458 separately without squaring.
459 * math/libm-test.inc (catan_test): Add more tests.
460 (catanh_test): Likewise.
461 * sysdeps/i386/fpu/libm-test-ulps: Update.
462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
463
4220c3ef
AJ
4642013-04-27 Andreas Jaeger <aj@suse.de>
465
466 [BZ #15007]
467 * stdlib/stdlib.h: Update guards for qecvt.
468 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
469 <stdlib.h>.
470
4721b2d1
AM
4712013-04-27 Allan McRae <allan@archlinux.org>
472
473 * sysdeps/i386/fpu/libm-test-ulps: Update.
474
f0302940
JM
4752013-04-26 Joseph Myers <joseph@codesourcery.com>
476
9457fd95
JM
477 [BZ #15406]
478 * math/s_catan.c: Include <float.h>.
479 (__catan): Ensure underflow exception occurs for underflowed
480 result.
481 * math/s_catanf.c: Include <float.h>.
482 (__catanf): Ensure underflow exception occurs for underflowed
483 result.
484 * math/s_catanh.c: Include <float.h>.
485 (__catanh): Ensure underflow exception occurs for underflowed
486 result.
487 * math/s_catanhf.c: Include <float.h>.
488 (__catanhf): Ensure underflow exception occurs for underflowed
489 result.
490 * math/s_catanhl.c: Include <float.h>.
491 (__catanhl): Ensure underflow exception occurs for underflowed
492 result.
493 * math/s_catanl.c: Include <float.h>.
494 (__catanl): Ensure underflow exception occurs for underflowed
495 result.
496 * math/libm-test.inc (catan_test): Add more tests.
497 (catanh_test): Likewise.
498
f0302940
JM
499 [BZ #15405]
500 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
501 underflowed result.
502 * math/s_ccoshf.c (__ccoshf): Likewise.
503 * math/s_ccoshl.c (__ccoshl): Likewise.
504 * math/s_csin.c (__csin): Likewise.
505 * math/s_csinf.c (__csinf): Likewise.
506 * math/s_csinh.c (__csinh): Likewise.
507 * math/s_csinhf.c (__csinhf): Likewise.
508 * math/s_csinhl.c (__csinhl): Likewise.
509 * math/s_csinl.c (__csinl): Likewise.
510 * math/libm-test.inc (ccos_test): Add more tests.
511 (ccosh_test): Likewise.
512 (csin_test): Likewise.
513 (csinh_test): Likewise.
514
aa630f59
AZ
5152013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
516
517 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
518 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
519 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
520 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
521 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
522 powerpc/power5+/fpu folders.
523 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
524
525
1b835983
MT
5262013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
527
528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
529
73709b26
JM
5302013-04-25 Joseph Myers <joseph@codesourcery.com>
531
532 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
533 additions to variable.
534 [$(config-machine) = x86_64] (modules-names): Likewise.
535 ($(objpfx)tst-audit3): Remove dependency.
536 ($(objpfx)tst-audit3.out): Likewise.
537 ($(objpfx)tst-audit4): Likewise.
538 ($(objpfx)tst-audit4.out): Likewise.
539 ($(objpfx)tst-audit5): Likewise.
540 ($(objpfx)tst-audit5.out): Likewise.
541 ($(objpfx)tst-audit6): Likewise.
542 ($(objpfx)tst-audit6.out): Likewise.
543 ($(objpfx)tst-audit7): Likewise.
544 ($(objpfx)tst-audit7.out): Likewise.
545 (tst-audit3-ENV): Remove variable.
546 (tst-audit4-ENV): Likewise.
547 (tst-audit5-ENV): Likewise.
548 (tst-audit6-ENV): Likewise.
549 (tst-audit7-ENV): Likewise.
550 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
551 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
552 addition to variable.
553 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
554 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
555 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
556 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
557 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
558 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
559 tst-audit3, tst-audit4 and tst-audit5.
560 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
561 tst-audit6 and tst-audit7.
562 [$(subdir) = elf] (modules-names): Add audit modules for those
563 tests.
564 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
565 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
566 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
567 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
568 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
569 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
570 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
571 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
572 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
573 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
574 [$(subdir) = elf] (tst-audit3-ENV): New variable.
575 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
576 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
577 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
578 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
579 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
580 Likewise.
581 [$(subdir) = elf && $(config-cflags-avx) = yes]
582 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
583 [$(subdir) = elf && $(config-cflags-avx) = yes]
584 (CFLAGS-tst-auditmod4a.c): Likewise.
585 [$(subdir) = elf && $(config-cflags-avx) = yes]
586 (CFLAGS-tst-auditmod4b.c): Likewise.
587 [$(subdir) = elf && $(config-cflags-avx) = yes]
588 (CFLAGS-tst-auditmod6b.c): Likewise.
589 [$(subdir) = elf && $(config-cflags-avx) = yes]
590 (CFLAGS-tst-auditmod6c.c): Likewise.
591 [$(subdir) = elf && $(config-cflags-avx) = yes]
592 (CFLAGS-tst-auditmod7b.c): Likewise.
593 * elf/tst-audit3.c: Move to ...
594 * sysdeps/x86_64/tst-audit3.c: ... here.
595 * elf/tst-audit4.c: Move to ...
596 * sysdeps/x86_64/tst-audit4.c: ... here.
597 * elf/tst-audit5.c: Move to ...
598 * sysdeps/x86_64/tst-audit5.c: ... here.
599 * elf/tst-audit6.c: Move to ...
600 * sysdeps/x86_64/tst-audit6.c: ... here.
601 * elf/tst-audit7.c: Move to ...
602 * sysdeps/x86_64/tst-audit7.c: ... here.
603 * elf/tst-auditmod3a.c: Move to ...
604 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
605 * elf/tst-auditmod3b.c: Move to ...
606 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
607 * elf/tst-auditmod4a.c: Move to ...
608 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
609 * elf/tst-auditmod4b.c: Move to ...
610 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
611 * elf/tst-auditmod5a.c: Move to ...
612 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
613 * elf/tst-auditmod5b.c: Move to ...
614 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
615 * elf/tst-auditmod6a.c: Move to ...
616 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
617 * elf/tst-auditmod6b.c: Move to ...
618 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
619 * elf/tst-auditmod6c.c: Move to ...
620 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
621 * elf/tst-auditmod7a.c: Move to ...
622 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
623 * elf/tst-auditmod7b.c: Move to ...
624 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
625
1ef74943
PP
6262013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
627
628 [BZ #15366]
629 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
630 define unconditionally.
631 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
632 define unconditionally.
633 (INT8_C, INT16_C, etc.): Likewise.
634
93fd48c5
MR
6352013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
636
ae9552cf
MR
637 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
638 __ehdr_start with hidden visibility.
639
93fd48c5
MR
640 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
641
418601aa
CD
6422013-04-24 Carlos O'Donell <carlos@redhat.com>
643
644 * math/libm-test.inc (cos_test): Use accurate hex constants.
645 (sincost_test): Likewise.
646
2f38fbfe
JM
6472013-04-24 Joseph Myers <joseph@codesourcery.com>
648
5e221800
JM
649 * math/libm-test.inc (catan_test): Add more tests.
650 (catanh_test): Likewise.
651
77f143fd
JM
652 * math/s_catanf.c (__catanf): Use suffixed floating-point
653 constants.
654 * math/s_catanhf.c (__catanhf): Likewise.
655 * math/s_catanhl.c (__catanhl): Likewise.
656 * math/s_catanl.c (__catanl): Likewise.
657
2f38fbfe
JM
658 [BZ #15394]
659 * math/s_catan.c (__catan): Calculate imaginary part of result
660 with log1p not log unless computing log of number close to 0.
661 * math/s_catanf.c (__catanf): Likewise.
662 * math/s_catanl.c (__catanl): Likewise.
663 * math/s_catanh.c (__catanh): Calculate real part of result with
664 log1p not log unless computing log of number close to 0.
665 * math/s_catanhf.c (__catanhf): Likewise.
666 * math/s_catanhl.c (__catanhl): Likewise.
667 * math/libm-test.inc (catan_test): Add more tests.
668 (catanh_test): Likewise.
669 * sysdeps/i386/fpu/libm-test-ulps: Update.
670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
671
45d69176
SP
6722013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
673
674 * benchtests/Makefile: Mention files in which fast and slow
675 paths of math functions are implemented.
676
87f51853
RM
6772013-04-23 Roland McGrath <roland@hack.frob.com>
678
679 * sysdeps/posix/timespec_get.c: New file.
680
3c026539
AZ
6812013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
682
683 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
684 POWER.
685 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
686 for POWER.
687 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
688 powerpc/power5/fpu folders.
689 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
690 * benchtests/Makefile: Add modf testcase.
691 * benchtests/bench-modf.c: New file: Benchmark test for mo
692
ff491d14
SP
6932013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
694
695 [BZ #14888]
696 * time/Makefile (tests): Add tst-strptime-whitespace.
697 * time/strptime_l.c (get_number): Use ISSPACE.
698 (__strptime_internal): Likewise.
699 * time/tst-strptime-whitespace.c: New test case.
700
7ed3f4e8
AS
7012013-04-23 Andreas Schwab <schwab@linux-m68k.org>
702
703 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
704 member.
705 (_nss_files_init): Set it here.
706
5c95f7b6
HC
7072013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
708
709 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
710 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
711 unsigned.
712
d34c9158
JBG
7132013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
714
715 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
716
2169712d
SP
7172013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
718
719 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
720 size just once.
721
29c5de99
DM
7222013-04-21 David S. Miller <davem@davemloft.net>
723
724 * po/ru.po: Update Russion translation from translation project.
725
ccdad15d
AC
7262013-04-17 Adam Conrad <adconrad@0c3.net>
727
728 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
729 and setfsgid.
730
0f122b8d
CD
7312013-04-17 Carlos O'Donell <carlos@redhat.com>
732
5c5b07da 733 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 734 * configure: Regenerate.
5c5b07da 735 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
736 Add example to error message.
737 * sysdeps/i386/configure: Regenerate.
738
037714dd
SP
7392013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
740
741 * benchtests/Makefile (bench): Add cos, tan, slowcos and
742 slowtan.
743 * benchtests/cos-inputs: New file.
744 * benchtests/slowcos-inputs: New file.
745 * benchtests/slowcos.c: New file.
746 * benchtests/slowtan-inputs: New file.
747 * benchtests/slowtan.c: New file.
748 * benchtests/tan-inputs: New file.
749
e913141d
RM
7502013-04-16 Roland McGrath <roland@hack.frob.com>
751
752 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
753 considered kosher.
754
a2964074
SP
7552013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
756
4856bcd2
SP
757 * benchtests/Makefile: Include cppflags-iterator.mk to add
758 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
759
a2964074
SP
760 * Makefile.in (bench-clean): New target.
761 * benchtests/Makefile (bench-clean): Likewise.
762
9fbf9aca
DH
7632013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
764
765 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
766
207d1e2a
TS
7672013-04-15 Thomas Schwinge <thomas@codesourcery.com>
768
769 * stdio-common/tstdiomisc.c: Fix coding-style violation.
770
306dfba9
AS
7712013-04-15 Andreas Schwab <schwab@suse.de>
772
773 * nscd/grpcache.c (cache_addgr): Properly check for short write.
774 * nscd/initgrcache.c (addinitgroupsX): Likewise.
775 * nscd/pwdcache.c (cache_addpw): Likewise.
776 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
777 more than recsize.
778
206a6699
SP
7792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
780
781 * benchtests/Makefile (bench): Write all output to
782 bench-out.tmp together.
783
0582f6b3
AS
7842013-04-15 Andreas Schwab <schwab@suse.de>
785
786 * nscd/nscd.c (main): Don't fork again after closing files.
787
acb4325f
SP
7882013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
789
5cb26d0a
SP
790 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
791
acb4325f
SP
792 * benchtests/Rules (bench-deps): Collect dependencies into a
793 single variable. Add Makefile to dependencies.
794 ($(objpfx)bench-%.c): Depend on bench-deps.
795
47792506
RM
7962013-04-12 Roland McGrath <roland@hack.frob.com>
797 Xavier Roche <roche+kml2@exalead.com>
798
799 [BZ #15361]
800 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
801 just that it's a file descriptor.
802 * manual/llio.texi (Synchronizing AIO Operations): Update description
803 for EBADF error from aio_fsync.
804
8fc1bee5
SP
8052013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
806
807 * Rules (bench): Move target definition...
808 * benchtests/Makefile: ... here.
809
aba5e333
CD
8102013-04-11 Carlos O'Donell <carlos@redhat.com>
811
812 * math/libm-test.inc (cos_test): Fix PI/2 test.
813 (sincos_test): Likewise.
814 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
815 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
816
273cdee8
AS
8172013-04-11 Andreas Schwab <schwab@suse.de>
818
6ecec3b6
AS
819 [BZ #13988]
820 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
821 accept exponent character only when digits were seen.
822 * stdio-common/Makefile (tests): Add bug26.
823 * stdio-common/bug26.c: New file.
824
273cdee8
AS
825 [BZ #14293]
826 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
827 non-freeable.
828
8da491f5
SP
8292013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
830
01dc6df9
SP
831 * Makeconfig (rtld-prefix): Define built linker prefix.
832 * Rules (run-bench): Use it.
833 * math/Makefile (run-regen-ulps): Likewise.
834
8da491f5
SP
835 * Rules (bench): Remove eval.
836
abe7f530
SP
8372013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
838 Roland McGrath <roland@hack.frob.com>
839 Ondrej Bilka <neleai@seznam.cz>
840
841 [BZ #15346]
842 * time/getdate.c: Include ctype.h and alloca.h.
843 (__getdate_r): Trim leading and trailing spaces of input.
844 * time/tst-getdate.c (tests): Add tests with leading and
845 trailing spaces.
846
61c23e62
RM
8472013-04-08 Roland McGrath <roland@hack.frob.com>
848
849 [BZ #14280]
850 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
851 when computing value.
852
7208a313
CD
8532013-04-06 Carlos O'Donell <carlos@redhat.com>
854
085b2d41
CD
855 * math/README.libm-test (How can I generate "libm-test-ulps"?):
856 Use testrun.sh to run libm tests.
857
7208a313
CD
858 [BZ #15309]
859 * elf/dl-open.c (dl_open_worker): memset all of seen array.
860
872c0acd
MM
8612013-04-06 Marko Myllynen <myllynen@redhat.com>
862
863 [BZ #15264]
864 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
865
26510bdd
CD
8662013-04-06 Carlos O'Donell <carlos@redhat.com>
867
868 * Makefile.in (regen-ulps): New target.
869 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
870 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
871 [ifneq (no,$(PERL)] (regen-ulps): New target.
872 [ifeq (no,$(PERL)] (regen-ulps): New target.
873 * math/libm-test.inc (ulps_file_name): Define.
874 (output_dir): New variable.
875 (options): Add "output-dir" option.
876 (parse_opt): Handle 'o' case.
877 (main): If output_dir is non-NULL use it as a prefix
878 otherwise use "".
879 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
880
a01f19c8
CD
8812013-04-06 Carlos O'Donell <carlos@redhat.com>
882
883 [BZ #10060, #10062]
884 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
885 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
886 fail configure if __sync_val_compare_and_swap is not inlined.
887 * sysdeps/i386/configure: Regenerate.
888 * configure.in: Build for i686 when configured for i386.
889 * configure: Regenerate.
890 * README: Remove i386 reference.
891
b7a329a5
CD
8922013-04-06 Carlos O'Donell <carlos@redhat.com>
893
894 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
895 * sysdeps/s390/s390-64/sysdep.h: Likewise.
896
bf0f50df
TS
8972013-04-05 Thomas Schwinge <thomas@codesourcery.com>
898
ee091edf
TS
899 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
900 (lmsnanval): New variables.
901 (F): Add conversion tests.
902 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
903 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
904
a8b792d6
TS
905 * stdio-common/tstdiomisc.c (F): Properly collect individual
906 tests' results.
907
a1cbf437
TS
908 [BZ #14686, #15336]
909 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
910 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
911 Instead, use input NaN values or generate a qNaN by arithmetic
912 operation. Also fix bugs to comply with the standard.
913 * math/libm-test.inc (remainder_test): Add more tests.
914
8b43a0c9
TS
915 [BZ #15335, #15342]
916 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
917 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
918 input NaN values or generate a qNaN by arithmetic operation.
919
d91da4ce
TS
920 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
921 unreachable code.
922
bf0f50df
TS
923 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
924 definitions.
925
05e166c8
JM
9262013-04-03 Joseph Myers <joseph@codesourcery.com>
927
928 [BZ #14478]
929 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
930 underflowed result.
931 * math/s_cexpf.c (__cexpf): Likewise.
932 * math/s_cexpl.c (__cexpl): Likewise.
933 * math/libm-test.inc (cexp_test): Add more tests.
934
1cef1b19
AS
9352013-04-03 Andreas Schwab <schwab@suse.de>
936
937 [BZ #15330]
938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
939 order arrays from heap if bigger than alloca cutoff.
940
74d87055
TS
9412013-04-03 Thomas Schwinge <thomas@codesourcery.com>
942
943 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
944 (SNAN_TESTS_double): Refer to GCC PR56831.
945 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
946 GCC PR56828.
947
d755bba4
SP
9482013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
949
90d5d5bb
SP
950 * Rules (bench): Move bench.out after the run is complete.
951
73e0cd5d
SP
952 * Rules (bench): Echo currently running benchmark.
953
64aabd4b
SP
954 * benchtests/Makefile (bench): Add atan and slowatan.
955 * benchtests/atan-inputs: New file.
956 * benchtests/slowatan-inputs: New file.
957 * benchtests/slowatan.c: New file.
958
c871eccd
SP
959 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
960 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
961 its value.
962
d755bba4
SP
963 [BZ #15305]
964 * sysdeps/unix/sysv/linux/kernel-features.h
965 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
966 __ASSUME_XFS_RESTRICTED_CHOWN.
967 * sysdeps/unix/sysv/linux/pathconf.c
968 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
969 Save and restore errno.
970
52ce4860
JM
9712013-04-02 Joseph Myers <joseph@codesourcery.com>
972
973 [BZ #15327]
974 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
975 arguments using __kernel_casinh.
976 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
977 arguments using __kernel_casinhf.
978 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
979 arguments using __kernel_casinhl.
980 * math/libm-test.inc (cacosh_test): Add more tests.
981 * sysdeps/i386/fpu/libm-test-ulps: Update.
982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
983
81f311c2
SP
9842013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
985
e7906a47
SP
986 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
988
92e3664b
SP
989 * bench/Makefile (bench): Add sin and slowsin.
990 * benchtests/sin-inputs: New file.
991 * benchtests/slowsin-inputs: New file.
992 * benchtests/slowsin.c: New file.
993
81f311c2
SP
994 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
995 (bench): Add slowexp and slowpow.
996 (exp-ITER): Increase iterations.
997 (pow-ITER): Likewise.
998 * benchtests/exp-inputs: Change input.
999 * benchtests/pow-inputs: Likewise.
1000 * benchtests/slowexp-inputs: New file.
1001 * benchtests/slowexp.c: New file.
1002 * benchtests/slowpow-inputs: New file.
1003 * benchtests/slowpow.c: New file.
1004
ab0f1aa9
AZ
10052013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1006
1007 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1008 instructions.
1009 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1010 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1011 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1012 * benchtests/Makefile: Add rint benchtest.
1013 * benchtests/rint-inputs: Input for rint benchtest.
1014
57267616
TS
10152013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1016
1017 * Versions.def (libm): Add GLIBC_2.18.
1018 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1019 hidden libm prototypes.
1020 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1021 * math/Makefile (libm-calls): Add s_issignaling.
1022 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1023 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1024 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1025 declaration.
1026 * math/math.h [__USE_GNU] (issignaling): New macro.
1027 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1028 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1029 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1030 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1031 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1032 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1033 * manual/arith.texi (issignaling): New section.
1034 * manual/libm-err-tab.pl (@all_functions): Update comment.
1035 * math/gen-libm-test.pl (parse_args): Apply special handling for
1036 issignaling.
1037 * math/libm-test.inc (print_float, issignaling_test): New
1038 functions.
1039 (check_float_internal): Add issignaling checks.
1040 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1041 default definition.
1042 * sysdeps/powerpc/math-tests.h: New file.
1043 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1044 tests.
1045 * math/test-snan.c (TEST_FUNC): Likewise.
1046
6142896d
DM
10472013-03-30 David S. Miller <davem@davemloft.net>
1048
1049 * po/de.po: Update from translation team.
1050
ccc8cadf
JM
10512013-03-30 Joseph Myers <joseph@codesourcery.com>
1052
1053 [BZ #10357]
1054 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1055 imaginary part less than 1.0 and real part less than 0.5
1056 specially.
1057 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1058 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1059 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1060 (cacos_test): Add more tests.
1061 (casin_test): Likewise.
1062 (casinh_test): Likewise.
1063 * sysdeps/i386/fpu/libm-test-ulps: Update.
1064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1065
0f6a8d4b
SP
10662013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1067
0d1029de
SP
1068 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1069 ONE with its value.
1070
c2d94018
SP
1071 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1072 (__pow_mp): Replace ONE and MONE with their values.
1073 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1074 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1075 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1076 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1077 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1078 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1079
27ec37f1
SP
1080 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1081
a64d7e0e
SP
1082 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1083 (__pow_mp): Replace ZERO and MZERO with their values.
1084 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1085 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1086 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1088 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1089 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1090 (__sqr): Likewise.
1091
d26dd3eb
SP
1092 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1093
0f6a8d4b
SP
1094 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1095
e57b0c61
RM
10962013-03-28 Roland McGrath <roland@hack.frob.com>
1097
1098 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1099 Declare with __attribute__ ((weak)).
1100 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1101 Call __call_tls_dtors only if it's not NULL.
1102
356b3480
RM
11032013-03-28 Roland McGrath <roland@hack.frob.com>
1104
288f7d79
RM
1105 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1106 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1107 magic __ehdr_start linker symbol if it's defined.
1108 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1109 them up here if it was already done.
1110
dc0a0263
RM
1111 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1112 (_dl_aux_init): Use const in cast when setting it.
1113 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1114 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1115 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1116
3d3436ae
RM
1117 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1118 Declare them here.
1119 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1120 * csu/libc-tls.c: Nor here.
1121 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1122
356b3480
RM
1123 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1124 (__libc_message): Never call vsyslog.
1125
b0f1246a
AM
11262013-03-28 Alan Modra <amodra@gmail.com>
1127
1128 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1129 Define as empty.
1130 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1131 Likewise.
1132
fbbe2b9a
AZ
11332013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1134
1135 [BZ #15214]
1136 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1137 underflow.
1138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1139
1728ab37
SP
11402013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1141
7a86be6e
SP
1142 [BZ #15304]
1143 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1144 Don't add gid passed as argument.
1145
1728ab37
SP
1146 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1147
3a7182a1
JM
11482013-03-27 Joseph Myers <joseph@codesourcery.com>
1149
1150 [BZ #15307]
1151 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1152 imaginary part between 1.0 and 1.5 and real part less than 0.5
1153 specially.
1154 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1155 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1156 * math/libm-test.inc (cacos_test): Add more tests.
1157 (casin_test): Likewise.
1158 (casinh_test): Likewise.
1159 * sysdeps/i386/fpu/libm-test-ulps: Update.
1160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1161
6f2e90e7
SP
11622013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1163
5739f705
SP
1164 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1165 constants.
1166 (norm): Likewise.
1167 (denorm): Likewise.
1168 (__dbl_mp): Likewise.
1169 (add_magnitudes): Likewise.
1170 (sub_magnitudes): Likewise.
1171 (__add): Likewise.
1172 (__sub): Likewise.
1173 (__mul): Likewise.
1174 (__sqr): Likewise.
1175 (__inv): Likewise.
1176 (__dvd): Likewise.
1177
e375e83d
SP
1178 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1179 commented code.
1180 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1181 (__dubcos): Likewise.
1182 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1183 (__ieee754_acos): Likewise.
1184 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1185 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1186 (__exp1): Likewise.
1187 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1189 (log1): Likewise.
1190 (my_log2): Likewise.
1191 (checkint): Likewise.
1192 * sysdeps/ieee754/dbl-64/e_remainder.c
1193 (__ieee754_remainder): Likewise.
1194 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1196 (bsloww): Likewise.
1197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1198
6f2e90e7
SP
1199 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1200 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1201 MANTISSA_STORE_T to store computations on mantissa. Use
1202 macros for rounding and division.
1203 (denorm): Likewise.
1204 (__dbl_mp): Likewise.
1205 (add_magnitudes): Likewise.
1206 (sub_magnitudes): Likewise.
1207 (__mul): Likewise.
1208 (__sqr): Likewise.
1209 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1210 powers of two in terms of TWOPOW macro.
1211 (mp_no): Make type of mantissa as MANTISSA_T.
1212 [!RADIXI]: Define RADIXI.
1213 [!TWO52]: Define TWO52.
1214 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1215
fce14d4e
AZ
12162013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217
1218 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1219 llroundl symbol when building for PPC32.
1220
9ad027fb
MW
12212013-03-24 Mark H Weaver <mhw@netris.org>
1222
1223 * manual/arith.texi (Normalization Functions): Fix prototypes for
1224 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1225
e42a38dd
AZ
12262013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1227
1228 [BZ #13889]
1229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1230 high value to check if expl overflow.
1231 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1232 to check for underflow and overflow.
1233 * math/libm-test.inc: Add exp test.
1234
2e0fb521
DL
12352013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1236
1237 [BZ #11120]
1238 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1239 with NOT_IN_libc.
1240
b5784d95
AZ
12412013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1242
1243 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1244 symbol.
1245
5aa4a1a1
TS
12462013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1247
bdef0be7
TS
1248 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1249 wrap blocks consisting of several statements.
1250
5aa4a1a1
TS
1251 * sysdeps/generic/math-tests.h: New file.
1252 * sysdeps/i386/fpu/math-tests.h: Likewise.
1253 * math/test-snan.c: Include it.
1254 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1255
98c48fe5
JM
12562013-03-21 Joseph Myers <joseph@codesourcery.com>
1257
1258 [BZ #15285]
1259 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1260 (__ieee754_j0l): Do not improve calculations using cos of twice
1261 input for inputs above LDBL_MAX / 2.0L.
1262 (__ieee754_y0l): Likewise.
1263 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1264 (__ieee754_j1l): Do not improve calculations using cos of twice
1265 input for inputs above LDBL_MAX / 2.0L.
1266 (__ieee754_y1l): Likewise.
1267 * math/libm-test.inc (j0_test): Add another test.
1268 (j1_test): Likewise.
1269 (y0_test): Likewise.
1270 (y1_test): Likewise.
1271 * sysdeps/i386/fpu/libm-test-ulps: Update.
1272
3775a8bc
SP
12732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1274
1275 * Rules ($(objpfx)bench-%.c): Include code from a C source
1276 file.
1277
0a1b2ae6
JM
12782013-03-21 Joseph Myers <joseph@codesourcery.com>
1279
1280 [BZ #15287]
1281 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1282 imaginary part 1.0 and real part less than 0.5 specially.
1283 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1284 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1285 * math/libm-test.inc (cacos_test): Add more tests.
1286 (casin_test): Likewise.
1287 (casinh_test): Likewise.
1288 * sysdeps/i386/fpu/libm-test-ulps: Update.
1289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1290
b33d4ce4
SP
12912013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1292
1293 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1294 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1295
bef0b507
JM
12962013-03-20 Joseph Myers <joseph@codesourcery.com>
1297
1298 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1299 * config.make.in (config-cflags-sse4): Remove variable.
1300 (config-cflags-avx): Likewise.
1301 (config-cflags-sse2avx): Likewise.
1302 (config-cflags-novzeroupper): Likewise.
1303 (config-asflags-i686): Likewise.
1304 (have-mfma4): Likewise.
1305 (have-as-vis3): Likewise.
1306 (MIG): Likewise.
1307 * configure.in (MIG): Do not AC_SUBST.
1308 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1309 (libc_cv_cc_sse4): Do not AC_SUBST.
1310 (libc_cv_cc_avx): Likewise.
1311 (libc_cv_cc_sse2avx): Likewise.
1312 (libc_cv_cc_novzeroupper): Likewise.
1313 (libc_cv_cc_fma4): Likewise.
1314 (libc_cv_as_i686): Likewise.
1315 (libc_cv_sparc_as_vis3): Likewise.
1316 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1317 LIBC_CONFIG_VAR.
1318 (config-asflags-i686): Likewise.
1319 (config-cflags-avx): Likewise.
1320 (config-cflags-sse2avx): Likewise.
1321 (have-mfma4): Likewise.
1322 (config-cflags-novzeroupper): Likewise.
1323 * sysdeps/mach/configure.in (MIG): Likewise.
1324 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1325 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1326 LIBC_CONFIG_VAR.
1327 (config-cflags-avx): Likewise.
1328 (config-cflags-sse2avx): Likewise.
1329 (have-mfma4): Likewise.
1330 (config-cflags-novzeroupper): Likewise.
1331 * configure: Regenerated.
1332 * sysdeps/i386/configure: Likewise.
1333 * sysdeps/mach/configure: Likewise.
1334 * sysdeps/sparc/configure: Likewise.
1335 * sysdeps/x86_64/configure: Likewise.
1336
912cc4b3
RM
13372013-03-20 Roland McGrath <roland@hack.frob.com>
1338
1339 [BZ #14812]
1340 * locale/programs/localedef.c (options): Put N_ translation marker
1341 on argument names, not just descriptions.
1342
04eed2b0
MS
13432013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1344
1345 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1346
a065ceff
OB
13472013-03-20 Ondřej Bílka <neleai@seznam.cz>
1348
9bb2a810 1349 [BZ #14176]
a065ceff
OB
1350 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1351
a600e5ce
RM
13522013-03-19 Roland McGrath <roland@hack.frob.com>
1353
1354 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1355 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1356 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1357 [!BEFORE_ABORT] (before_abort): New function.
1358 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1359 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1360 (writev_for_fatal): New function.
1361 (WRITEV_FOR_FATAL): New macro; call that.
1362 (backtrace_and_maps): New function.
1363 (BEFORE_ABORT): New macro; call that.
1364 (struct str_list): Type removed.
1365 (__libc_message, __libc_fatal): Functions removed.
1366 Include <sysdeps/posix/libc_fatal.c> instead.
1367
6b18bea6
JM
13682013-03-19 Joseph Myers <joseph@codesourcery.com>
1369
1370 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1371 constants.
1372 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1373 double constants.
1374
aaa8cb4b
AS
13752013-03-19 Andreas Schwab <schwab@suse.de>
1376
44673770
AS
1377 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1378 * sysdeps/gnu/configure: Regenerate.
1379
aaa8cb4b
AS
1380 * configure.in: Substitute libc_cv_rtlddir.
1381 * configure: Regenerate.
1382 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1383 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1384 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1385 * elf/Makefile (install-others, CFLAGS-interp.c)
1386 (ldso_install, common-ldd-rewrite): Likewise.
1387 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1388 $(inst_slibdir)/$(rtld-installed-name).
1389 * scripts/rellns-sh: Add -p option.
1390 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1391 for source.
1392
d3cfc668
SP
13932013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1394
1395 * manual/nptl.texi: Renamed to ...
1396 * manual/threads.texi: ... this.
1397 * manual/Makefile (chapters): Update.
1398
0e2b9cdd
RM
13992013-03-18 Roland McGrath <roland@hack.frob.com>
1400
1401 [BZ #14812]
1402 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1403 on argument names, not just descriptions.
0e2b9cdd
RM
1404 * malloc/memusagestat.c (options): Likewise.
1405 * nss/getent.c (options): Likewise.
63270c24
RM
1406
14072013-03-18 Benno Schulenberg <bensberg@justemail.net>
1408
1409 [BZ #14812]
1410 * iconv/iconv_prog.c (options): Put N_ translation marker
1411 on argument names, not just descriptions.
1412 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1413
b2e1393c
OB
14142013-03-18 Ondrej Bilka <neleai@seznam.cz>
1415
1416 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1417 implementation which is faster on all x86_64 architectures.
1418 Tested on AMD, Intel Nehalem, SNB, IVB.
1419 * sysdeps/x86_64/strnlen.S: Likewise.
1420
1421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1422 Remove all multiarch strlen and strnlen versions.
1423 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1424 Remove strlen and strnlen related parts.
1425
1426 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1427 Inline strlen part.
1428 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1429
1430 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1431 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1432 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1433 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1434 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1435 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1436
ec4ff04d
CD
14372013-03-17 Carlos O'Donell <carlos@redhat.com>
1438
1439 * manual/memory.texi (Malloc Tunable Parameters):
1440 Sort parameters alphabetically. Add comments for missing entries.
1441
cd18e90a
DM
14422013-03-17 David S. Miller <davem@davemloft.net>
1443
1444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1445
2a185d32
JM
14462013-03-16 Joseph Myers <joseph@codesourcery.com>
1447
d2f9799e
JM
1448 [BZ #15283]
1449 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1450 for arguments at most half maximum finite value.
1451 * math/libm-test.inc (j0_test): Add more tests.
1452 (j1_test): Likewise.
1453 (y0_test): Likewise.
1454 (y1_test): Likewise.
1455 * sysdeps/i386/fpu/libm-test-ulps: Update.
1456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1457
2a185d32
JM
1458 [BZ #14155]
1459 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1460 1 / x and functions P and Q for arguments above 0x1p256L.
1461 (__ieee754_y0l): Likewise.
1462 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1463 (__ieee754_y1l): Likewise.
1464 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1465 (j1_test): Likewise.
1466 (y0_test): Likewise.
1467 (y1_test): Likewise.
1468
6cbec759
TS
14692013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1470
1471 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1472 variable.
1473
bc16e260
RM
14742013-03-15 Roland McGrath <roland@hack.frob.com>
1475
aefc9b8c
RM
1476 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1477 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1478 zero since it's initialized to EXEC_PAGESIZE.
1479
bc16e260
RM
1480 * sysdeps/unix/sysv/linux/ldsodefs.h
1481 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1482 * sysdeps/generic/ldsodefs.h: ... here.
1483
a57da955
TS
14842013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1485
af00a34d
TS
1486 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1487
495ded2c
TS
1488 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1489 math/test-snan.c.
1490 * math/test-snan.c: Renamed from
1491 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1492 * math/Makefile (tests): Add test-snan.
1493 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1494 test-powerpc-snan.
1495
777b0332
TS
1496 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1497 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1498 functions.
1499 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1500 __builtin_nan family of functions.
1501 * math/libm-test.inc (initialize): Initialize qnan_value with
1502 __builtin_nan family of functions.
1503 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1504 Remove variables.
1505 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1506 Remove functions.
1507 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1508 storage class. Initialize qNaN_var and sNaN_var with
1509 __builtin_nan and __builtin_nans families of functions,
1510 respectively.
1511
64d063b8
TS
1512 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1513 (sqrt_test): Remove duplicate test with qNaN input.
1514 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1515 (round_test, signbit_test, significand_test): Note missing +/-Inf
1516 as well as qNaN tests.
1517
67e971f1
TS
1518 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1519 qNaN_var. Fix a few strings, too.
1520 * math/libm-test.inc (nan_value): Rename to qnan_value.
1521 * math/gen-libm-test.pl (%beautify): Adjust to that.
1522 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1523 * math/test-misc.c (main): Likewise.
1524 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1525 to __qnan_bytes, and __qnan_union, respectively.
1526 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1527 Likewise.
1528 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1529 and lqnanval, respectively.
1530 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1531 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1532 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1533 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1534
64487e12
TS
1535 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1536 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1537 doubles.
1538
e015e27b
TS
1539 * math/test-misc.c (main): Fix copy'n'pastos.
1540 * misc/tst-efgcvt.c (special): Likewise.
1541
a57da955
TS
1542 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1543 Remove declarations.
1544
1e380345
SP
15452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1546
1547 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1548 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1549 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1550 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1551
ef26eece
AZ
15522013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1555 macro to return vdso values correctly in IFUNC implementations.
1556 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1557 Optimization by using IFUNC.
1558
8cfdb7e0
SP
15592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1560 Richard Henderson <rth@redhat.com>
1561 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1562
1563 * Makefile.in (bench): New target.
1564 * NEWS: Mention the benchmark framework.
1565 * Rules (bench): Likewise.
1566 (binaries-bench): Generate binaries for functions to
1567 benchmark.
1568 * benchtests/Makefile: New makefile for benchmark tests.
1569 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1570 programs.
1571 * benchtests/exp-inputs: New input file for EXP function.
1572 * benchtests/pow-inputs: New input file for POW function.
1573 * scripts/bench.pl: New script to generate source files for
1574 benchmark programs.
1575
bcda9880
SP
15762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1577
d22ca8cd
SP
1578 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1579 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1580 computations on mantissa. Use macros for rounding and
1581 division.
1582 (denorm): Likewise.
1583 (__dbl_mp): Likewise.
1584 (add_magnitudes): Likewise.
1585 (sub_magnitudes): Likewise.
1586 (__mul): Likewise.
1587 (__sqr): Likewise.
1588 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1589 powers of two in terms of TWOPOW macro.
1590 (mp_no): Make type of mantissa as MANTISSA_T.
1591 [!RADIXI]: Define RADIXI.
1592 [!TWO52]: Define TWO52.
1593 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1594
bcda9880
SP
1595 * manual/nptl.texi (cindex): Modify threads to pthreads.
1596
06d5adfb
JM
15972013-03-15 Joseph Myers <joseph@codesourcery.com>
1598
1599 * sysdeps/x86_64/preconfigure: Regenerated.
1600
41c7328e
JM
16012013-03-14 Joseph Myers <joseph@codesourcery.com>
1602
1603 [BZ #14155]
1604 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1605 0x1p28 and above.
1606 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1607 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1608 0x1p28 and above.
1609 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1610 * math/libm-test.inc (j0_test): Do not allow one spurious
1611 underflow exception.
1612 (y1_test): Likewise.
1613
e25cfa60
SP
16142013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1615
0409959c
SP
1616 * manual/Makefile (chapters): Add nptl.
1617 * manual/debug.texi (Debugging Support): Add link to Threads
1618 chapter.
1619 * manual/nptl.texi: New file.
1620
e25cfa60
SP
1621 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1622
58a1335e
PB
16232013-03-14 Petr Baudis <pasky@ucw.cz>
1624
1625 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1626 for non-NULL pointer before the memory validity test. Pointed
1627 out by Holger Brunck <holger.brunck@keymile.com>.
1628
9dc7c64f
AS
16292013-03-13 Andreas Schwab <schwab@suse.de>
1630
1631 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1632 instead of .os.
1633
54206aa6
JM
16342013-03-13 Joseph Myers <joseph@codesourcery.com>
1635
1636 * timezone/zic.c: Update from tzcode 2013b.
1637
e98cdb38
CD
16382013-03-12 Carlos O'Donell <carlos@redhat.com>
1639
1640 * manual/install.texi (Configuring and compiling):
1641 Mention i686 and i586.
1642 * INSTALL: Regenerate.
1643
9967e003
RM
16442013-03-12 Roland McGrath <roland@hack.frob.com>
1645
1646 * sysdeps/init_array/elf-init.c: New file.
1647 * csu/elf-init.c
1648 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1649 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1650
1651 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1652 __gmon_start__ as global, but as static with a .preinit_array pointer.
1653 * sysdeps/init_array/gmon-start.c: New file. Use that.
1654 * sysdeps/init_array/crti.S: New file, empty except for comments.
1655 * sysdeps/init_array/crtn.S: Likewise.
1656
e6b5a293 16572013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1658
1659 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1660 definining bcopy.
80f844c9
OB
1661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1662 Remove Prefer_SSE_for_memop.
1663 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1664 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1665 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1667 memset-x86-64.
80f844c9 1668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1669 Remove bzero, memset ifunc support.
80f844c9
OB
1670 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1671 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1672 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1673 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1674
fb6b0fcb
AS
16752013-03-11 Andreas Schwab <schwab@suse.de>
1676
1677 [BZ #15234]
1678 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1679 by SHLIB_COMPAT.
1680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1681 (GLIBC_2.16): Remove pthread_atfork.
1682
3e6bd4b1
PP
16832013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1684
1685 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1686 (ptestcases.h): Likewise.
1687
222d7f00
RM
16882013-03-08 Roland McGrath <roland@hack.frob.com>
1689
1690 * Makeconfig ($(common-objpfx)config.status): Depend on
1691 sysdeps/*/preconfigure{,.in} too.
1692
1ba4f030
JM
16932013-03-08 Joseph Myers <joseph@codesourcery.com>
1694
a222d91a
JM
1695 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1696 (__free_hook): Use void * instead of __malloc_ptr_t.
1697 (__malloc_hook): Likewise.
1698 (__realloc_hook): Likewise.
1699 (__memalign_hook): Likewise.
1700 (__after_morecore_hook): Likewise.
1701 * malloc/arena.c (save_malloc_hook): Likewise.
1702 (save_free_hook): Likewise.
1703 * malloc/hooks.c (malloc_hook_ini): Likewise.
1704 (realloc_hook_ini): Likewise.
1705 (memalign_hook_ini): Likewise.
1706 * malloc/malloc.c (malloc_hook_ini): Likewise.
1707 (realloc_hook_ini): Likewise.
1708 (memalign_hook_ini): Likewise.
1709 (__free_hook): Likewise.
1710 (__malloc_hook): Likewise.
1711 (__realloc_hook): Likewise.
1712 (__memalign_hook): Likewise.
1713 (__libc_malloc): Likewise.
1714 (__libc_free): Likewise.
1715 (__libc_realloc): Likewise.
1716 (__libc_memalign): Likewise.
1717 (__libc_valloc): Likewise.
1718 (__libc_pvalloc): Likewise.
1719 (__libc_calloc): Likewise.
1720 (__posix_memalign): Likewise.
1721 * malloc/morecore.c (__sbrk): Likewise.
1722 (__default_morecore): Likewise.
1723
5cc45e10
JM
1724 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1725
dd54b864
JM
1726 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1727 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1728 __malloc_ptrdiff_t.
1729
1ba4f030
JM
1730 * malloc/malloc.h (__malloc_size_t): Remove macro.
1731 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1732 __malloc_size_t.
1733 (old_memalign_hook): Likewise.
1734 (old_realloc_hook): Likewise.
1735 (struct hdr): Likewise.
1736 (flood): Likewise.
1737 (mallochook): Likewise.
1738 (memalignhook): Likewise.
1739 (reallochook): Likewise.
1740 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1741 (tr_old_realloc_hook): Likewise.
1742 (tr_old_memalign_hook): Likewise.
1743 (tr_mallochook): Likewise.
1744 (tr_reallochook): Likewise.
1745 (tr_memalignhook): Likewise.
1746
edf66e57
AZ
17472013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1748
1749 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1750 default_ldbl_pack and using as default implementation.
1751 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1752 implementation.
1753 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1754 redundant definition.
1755 (ldbl_insert_mantissa): Likewise.
1756 (ldbl_canonicalize): Likewise.
1757 (ldbl_nearbyint): Likewise.
1758 (ldbl_pack): Rename to ldbl_pack_ppc.
1759 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1760 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1761 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1762
6d9145d8
SP
17632013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1764
1765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1766 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1767 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1768 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1770 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1771 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1772 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1773
4dd4e157
AJ
17742013-03-07 Andreas Jaeger <aj@suse.de>
1775
1776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1777 bits/mman-linux.h.
1778
adbb8027
SP
17792013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1780
ce544b5b
SP
1781 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1782 Include mpa.h and declare __MPEXP.
1783 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1785 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1786 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1787 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1788 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1789 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1790
4cc149fd
SP
1791 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1792 (__slowpow): Use long double EXPL and LOGL functions to
1793 compute POW.
1794 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1795 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1796 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1797 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1798 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1799 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1800
e6ebd4a7
SP
1801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1802 intermediate variable to calculate exponent.
1803 (__sqr): Likewise.
1804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1805 Likewise.
1806 (__sqr): Likewise.
1807
82a9811d
SP
1808 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1809 [!NO__SQR]: Define __sqr.
1810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1811 and NO__SQR. Remove all code except __mul and __sqr. Include
1812 sysdeps/ieee754/dbl-64/mpa.c.
1813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1814
adbb8027
SP
1815 [BZ #12723]
1816 * posix/Makefile (tests): Add tst-pathconf.
1817 * posix/tst-pathconf.c: New test case.
1818 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1819 _PC_PIPE_BUF.
1820 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1821
39120df9
PF
18222013-03-06 Patsy Franklin <pfrankli@redhat.com>
1823
1824 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1825
67525cb8
AJ
18262013-03-06 Andreas Jaeger <aj@suse.de>
1827
664a9ce4
AJ
1828 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1829 definition via __MAP_ANONYMOUS.
1830
8e39047d
AJ
1831 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1832 it's not part of Linux headers.
1833
67525cb8
AJ
1834 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1835 (MAP_HUGE_MASK): Define.
1836
1837 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1838 Define.
1839 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1840 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1841 Define.
1842 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1843 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1844 Define.
1845 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1846 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1847 Define.
1848 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1849
1850 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1851 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1852 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1853 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1854 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1855 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1856
1857 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1858 Handle f2fs.
1859
1860 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1861 Handle f2fs and efivarfs.
1862
1863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1864 f2fs.
1865
1866 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1867 (EFIVARFS_MAGIC): Add.
1868 (F2FS_LINK_MAX): Add.
1869
e1b42695
PP
18702013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1871
1872 * stdio-common/vfprintf.c: Replace __builtin_expect with
1873 __glibc_unlikely.
1874
2d67d91a
JM
18752013-03-06 Joseph Myers <joseph@codesourcery.com>
1876
1877 [BZ #13550]
1878 * sysdeps/generic/bp-sym.h: Remove file.
1879 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1880 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1881 <bp-sym.h> and <bp-asm.h>.
1882 (__longjmp): Don't use BP_SYM.
1883 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1884 and <bp-asm.h>.
1885 (memcpy): Don't use BP_SYM.
1886 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1887 <bp-sym.h> and <bp-asm.h>.
1888 (memcpy): Don't use BP_SYM.
1889 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1890 <bp-asm.h>.
1891 (memcpy): Don't use BP_SYM.
1892 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1893 <bp-asm.h>.
1894 (memset): Don't use BP_SYM.
1895 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1896 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1897 (__bzero): Don't use BP_SYM.
1898 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1899 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1900 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1901 <bp-sym.h> and <bp-asm.h>.
1902 (memcmp): Don't use BP_SYM. Remove comment about bounded
1903 pointers.
1904 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1905 <bp-sym.h> and <bp-asm.h>.
1906 (memcpy): Don't use BP_SYM.
1907 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1908 <bp-sym.h> and <bp-asm.h>.
1909 (memset): Don't use BP_SYM.
1910 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1911 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1912 (__bzero): Don't use BP_SYM.
1913 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1914 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1915 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1916 <bp-sym.h> and <bp-asm.h>.
1917 (strncmp): Don't use BP_SYM. Remove comment about bounded
1918 pointers.
1919 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1920 <bp-sym.h> and <bp-asm.h>.
1921 (memcpy): Don't use BP_SYM.
1922 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1923 <bp-sym.h> and <bp-asm.h>.
1924 (memset): Don't use BP_SYM.
1925 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1926 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1927 (__bzero): Don't use BP_SYM.
1928 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1929 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1930 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1931 <bp-sym.h> and <bp-asm.h>.
1932 (__memchr): Don't use BP_SYM.
1933 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1934 <bp-sym.h> and <bp-asm.h>.
1935 (memcmp): Don't use BP_SYM. Remove comment about bounded
1936 pointers.
1937 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1938 <bp-sym.h> and <bp-asm.h>.
1939 (memcpy): Don't use BP_SYM.
1940 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1941 <bp-sym.h> and <bp-asm.h>.
1942 (__mempcpy): Don't use BP_SYM.
1943 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1944 <bp-sym.h> and <bp-asm.h>.
1945 (__memrchr): Don't use BP_SYM.
1946 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1947 <bp-sym.h> and <bp-asm.h>.
1948 (memset): Don't use BP_SYM.
1949 (__bzero): Likewise.
1950 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1951 <bp-sym.h> and <bp-asm.h>.
1952 (__rawmemchr): Don't use BP_SYM.
1953 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1954 <bp-sym.h> and <bp-asm.h>.
1955 (__STRCMP): Don't use BP_SYM.
1956 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1957 <bp-sym.h> and <bp-asm.h>.
1958 (strchr): Don't use BP_SYM.
1959 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1960 <bp-sym.h> and <bp-asm.h>.
1961 (__strchrnul): Don't use BP_SYM.
1962 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1963 <bp-sym.h> and <bp-asm.h>.
1964 (strlen): Don't use BP_SYM.
1965 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1966 <bp-sym.h> and <bp-asm.h>.
1967 (strncmp): Don't use BP_SYM. Remove comment about bounded
1968 pointers.
1969 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1970 <bp-sym.h> and <bp-asm.h>.
1971 (__strnlen): Don't use BP_SYM.
1972 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1973 <bp-sym.h> and <bp-asm.h>.
1974 (__GI__setjmp): Don't use BP_SYM.
1975 (_setjmp): Likewise.
1976 (__sigsetjmp): Likewise.
1977 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1978 (L(start_addresses)): Don't use BP_SYM.
1979 (_start): Likewise.
1980 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1981 <bp-asm.h>.
1982 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1983 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1984 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1985 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1986 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1987 <bp-asm.h>.
1988 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1989 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1990 about bounded pointers.
1991 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1992 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1993 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1994 <bp-asm.h>.
1995 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1996 about bounded pointers. Remove GKM FIXME comments.
1997 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1998 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1999 <bp-asm.h>.
2000 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2001 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2002 Remove GKM FIXME comments.
2003 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2004 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2005 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2006 <bp-asm.h>.
2007 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2008 about bounded pointers. Remove GKM FIXME comment.
2009 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2010 and <bp-asm.h>.
2011 (strncmp): Don't use BP_SYM. Remove comment about bounded
2012 pointers.
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2014 <bp-sym.h> and <bp-asm.h>.
2015 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2017 <bp-sym.h> and <bp-asm.h>.
2018 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2019 comment.
2020
cdcf361f
PP
20212013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2022
2023 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2024 call free(NULL).
2025
3c4a2b15
DM
20262013-03-05 David S. Miller <davem@davemloft.net>
2027
2028 * po/es.po: Update from translation team.
2029
cdcf361f 20302013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2031
2032 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2033 <bits/mman-linux.h>.
2034 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2035 is fine.
2036 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2037 <bits/mman-linux.h> to end of file.
2038 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2039 is fine.
2040 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2041 <bits/mman-linux.h> to end of file.
2042 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2043 is fine.
2044 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2045 <bits/mman-linux.h> to end of file.
2046
2047 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2048 (MCL_CURRENT, MCL_FUTURE): Define here.
2049
5f67c04f
AK
20502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2051
8a4473cc 2052 [BZ #15232]
5f67c04f
AK
2053 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2054 attribute_hidden.
2055 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2056
c3e94a95
AK
20572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2058
2059 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2060 fourth parameter needed for rt_sigprocmask syscall.
2061 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2062 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2063 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2064 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2065 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2066 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2067
cfb6382a
JM
20682013-03-04 Joseph Myers <joseph@codesourcery.com>
2069
2070 [BZ #13550]
2071 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2072 comment about bounded pointers.
2073 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2074 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2075
539d8e01
AJ
20762013-03-04 Andreas Jaeger <aj@suse.de>
2077
2078 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2079 common definitions.
2080
2081 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2082 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2083 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2084 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2085 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2086 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2087
2e167a70 20882013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2089
2090 [BZ #15055]
2091 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2092 __ieee754_sqrl instead of __sqrl.
2093
68508633
JM
20942013-03-01 Joseph Myers <joseph@codesourcery.com>
2095
2096 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2097 * sysdeps/powerpc/fpu_control.h: ... here.
2098 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2099 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2100 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2101 * sysdeps/powerpc/bits/mathinline.h: ... here.
2102
7775448e
RM
21032013-03-01 Roland McGrath <roland@hack.frob.com>
2104
2105 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2106 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2107 to just [NEED_DL_SYSINFO_DSO].
2108 * elf/dl-support.c: Likewise.
2109 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2110 * elf/rtld.c (dl_main): Likewise.
2111 * elf/setup-vdso.h (setup_vdso): Likewise.
2112 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2113 * sysdeps/unix/sysv/linux/dl-sysdep.c
2114 (_dl_discover_osversion): Likewise.
2115
4e9b5995
CD
21162013-03-01 Carlos O'Donell <carlos@redhat.com>
2117
2118 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2119 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2120
e23872c8
SP
21212013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2122
e5c74c63
SP
2123 * NEWS: Mention libm performance improvements and non-x86 PI
2124 futex support.
2125
e23872c8
SP
2126 * csu/libc-start.c (__pthread_initialize_minimal): Change
2127 function arguments.
2128 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2129
b5510883
JM
21302013-02-28 Joseph Myers <joseph@codesourcery.com>
2131
2132 [BZ #13550]
2133 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2134 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2135 <bp-sym.h> and <bp-asm.h>.
2136 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2137 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2138 and <bp-asm.h>.
2139 (memcpy): Don't use BP_SYM.
2140 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2141 <bp-asm.h>.
2142 (__mpn_add_n): Don't use BP_SYM.
2143 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2144 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2145 and <bp-asm.h>.
2146 (__mpn_addmul_1): Don't use BP_SYM.
2147 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2148 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2149 <bp-sym.h>.
2150 (_setjmp): Don't use BP_SYM.
2151 (__novmx_setjmp): Likewise.
2152 (__GI__setjmp): Likewise.
2153 (__vmx_setjmp): Likewise.
2154 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2155 <bp-sym.h>.
2156 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2157 (__bzero): Don't use BP_SYM.
2158 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2159 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2160 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2161 <bp-sym.h> and <bp-asm.h>.
2162 (memcpy): Don't use BP_SYM.
2163 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2164 <bp-sym.h> and <bp-asm.h>.
2165 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2166 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2167 <bp-sym.h> and <bp-asm.h>.
2168 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2169 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2170 <bp-asm.h>.
2171 (__mpn_lshift): Don't use BP_SYM.
2172 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2173 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2174 <bp-asm.h>.
2175 (memset): Don't use BP_SYM.
2176 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2177 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2178 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2179 <bp-asm.h>.
2180 (__mpn_mul_1): Don't use BP_SYM.
2181 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2182 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2183 <bp-sym.h> and <bp-asm.h>.
2184 (memcmp): Don't use BP_SYM.
2185 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2186 <bp-sym.h> and <bp-asm.h>.
2187 (memcpy): Don't use BP_SYM.
2188 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2189 <bp-sym.h> and <bp-asm.h>.
2190 (memset): Don't use BP_SYM.
2191 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2192 <bp-sym.h> and <bp-asm.h>.
2193 (strncmp): Don't use BP_SYM.
2194 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2195 <bp-sym.h> and <bp-asm.h>.
2196 (memcpy): Don't use BP_SYM.
2197 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2198 <bp-sym.h> and <bp-asm.h>.
2199 (memset): Don't use BP_SYM.
2200 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2201 <bp-sym.h> and <bp-asm.h>.
2202 (__memchr): Don't use BP_SYM.
2203 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2204 <bp-sym.h> and <bp-asm.h>.
2205 (memcmp): Don't use BP_SYM.
2206 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2207 <bp-sym.h> and <bp-asm.h>.
2208 (memcpy): Don't use BP_SYM.
2209 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2210 <bp-sym.h> and <bp-asm.h>.
2211 (__mempcpy): Don't use BP_SYM.
2212 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2213 <bp-sym.h> and <bp-asm.h>.
2214 (__memrchr): Don't use BP_SYM.
2215 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2216 <bp-sym.h> and <bp-asm.h>.
2217 (memset): Don't use BP_SYM.
2218 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2219 <bp-sym.h> and <bp-asm.h>.
2220 (__rawmemchr): Don't use BP_SYM.
2221 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2222 <bp-sym.h> and <bp-asm.h>.
2223 (__STRCMP): Don't use BP_SYM.
2224 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2225 <bp-sym.h> and <bp-asm.h>.
2226 (strchr): Don't use BP_SYM.
2227 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2228 <bp-sym.h> and <bp-asm.h>.
2229 (__strchrnul): Don't use BP_SYM.
2230 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2231 <bp-sym.h> and <bp-asm.h>.
2232 (strlen): Don't use BP_SYM.
2233 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2234 <bp-sym.h> and <bp-asm.h>.
2235 (strncmp): Don't use BP_SYM.
2236 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2237 <bp-sym.h> and <bp-asm.h>.
2238 (__strnlen): Don't use BP_SYM.
2239 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2240 <bp-asm.h>.
2241 (__mpn_rshift): Don't use BP_SYM.
2242 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2243 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2244 <bp-sym.h> and <bp-asm.h>.
2245 (__sigsetjmp): Don't use BP_SYM.
2246 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2247 (L(start_addresses)): Don't use BP_SYM.
2248 (_start): Likewise.
2249 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2250 <bp-asm.h>.
2251 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2252 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2253 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2254 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2255 <bp-asm.h>.
2256 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2257 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2258 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2259 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2260 <bp-asm.h>.
2261 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2262 comments.
2263 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2264 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2265 <bp-asm.h>.
2266 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2267 FIXME comments.
2268 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2269 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2270 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2271 <bp-asm.h>.
2272 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2273 comment.
2274 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2275 and <bp-asm.h>.
2276 (strncmp): Don't use BP_SYM,
2277 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2278 <bp-asm.h>.
2279 (__mpn_sub_n): Don't use BP_SYM.
2280 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2281 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2282 and <bp-asm.h>.
2283 (__mpn_submul_1): Don't use BP_SYM.
2284 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2286 <bp-sym.h> and <bp-asm.h>.
2287 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2289 <bp-sym.h> and <bp-asm.h>.
2290 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2291 comment.
2292
8d19fe64
SP
22932013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2294
2295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2296 Use ZK to minimize writes to Z.
2297 (sub_magnitudes): Simplify code a bit.
2298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2299 Use ZK to minimize writes to Z.
2300 (sub_magnitudes): Simplify code a bit.
2301
85bd816a
RM
23022013-02-27 Roland McGrath <roland@hack.frob.com>
2303
2304 * csu/gmon-start.c: Add special exception to license text.
2305
b5977bf2
RH
23062013-02-27 Richard Henderson <rth@redhat.com>
2307
2308 * scripts/config.guess: Update from config.git.
2309 * scripts/config.sub: Likewise.
2310
11d6e2f2
SP
23112013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2312
09c14ed2
SP
2313 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2314
a688864e
SP
2315 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2316
6295157a
SP
2317 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2318
b8de2202
SP
2319 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2320
11d6e2f2
SP
2321 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2322
7e80ddb8
RM
23232013-02-26 Roland McGrath <roland@hack.frob.com>
2324
2325 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2326 [$(build-shared = yes].
7e80ddb8 2327
7da6d9ed
SP
23282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2329
45f05884
SP
2330 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2331 (__mul): Reduce iterations for calculating mantissa.
2332
2236d359
SP
2333 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2334 MPTWO.
2335 (__mpranred): Likewise.
2336
7da6d9ed
SP
2337 [BZ #15160]
2338 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2339 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2340
b7688c42
PE
23412013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2342
2343 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2344 Define __attribute__.
2345
53a5c423
SP
23462013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2347
2348 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2349 unused.
2350 * posix/regex_internal.h (__attribute): Remove.
2351 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2352 (re_string_context_at): Likewise.
2353 (bitset_not): Use __attribute__ and mark function as possibly
2354 unused.
2355 (bitset_merge): Likewise.
2356 (bitset_mask): Likewise.
2357 (re_string_char_size_at): Likewise.
2358 (re_string_wchar_at): Likewise.
2359 (re_string_elem_size_at): Likewise.
2360
60f5a8b5
SP
23612013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2362
2a983a2e
SP
2363 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2364 code.
2365 (cc32): Likewise.
2366
e69804d1
SP
2367 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2368 (__acr): Likewise.
2369 (__cpy): Likewise.
2370 (norm): Likewise.
2371 (denorm): Likewise.
2372 (__dbl_mp): Likewise.
2373 (add_magnitudes): Likewise.
2374 (sub_magnitudes): Likewise.
2375 (__mul): Likewise.
2376 (__inv): Likewise.
2377
2f22a1e8
SP
2378 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2379 style.
2380
8930ddc7
SP
2381 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2382 style.
2383
dc60cb11
SP
2384 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2385 code.
2386
60f5a8b5
SP
2387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2388 up changes with default code.
2389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2390 Likewise.
2391
b4d1fd33
AM
23922013-02-24 Allan McRae <allan@archlinux.org>
2393
faf6f8bc
AM
2394 * manual/socket.texi (The Internet Namespace): Order menu items
2395 to match that in the file.
2396
b4d1fd33
AM
2397 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2398 node listing of the info page menu.
2399
2366713d
JM
24002013-02-21 Joseph Myers <joseph@codesourcery.com>
2401
2402 [BZ #13550]
2403 * sysdeps/i386/bp-asm.h: Remove file.
2404 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2405 (PARMS): Do not use macros from bp-asm.h.
2406 (S1): Likewise.
2407 (S2): Likewise.
2408 (SIZE): Likewise.
2409 (__mpn_add_n): Do not use BP_SYM
2410 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2411 "bp-asm.h".
2412 (PARMS): Do not use macros from bp-asm.h.
2413 (S1): Likewise.
2414 (SIZE): Likewise.
2415 (__mpn_addmul_1): Do not use BP_SYM
2416 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2417 "bp-asm.h".
2418 (PARMS): Do not use macros from bp-asm.h.
2419 (SIGMSK): Likewise.
2420 (_setjmp): Likewise. Do not use BP_SYM.
2421 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2422 "bp-asm.h".
2423 (PARMS): Do not use macros from bp-asm.h.
2424 (SIGMSK): Likewise.
2425 (setjmp): Likewise. Do not use BP_SYM.
2426 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2427 "bp-asm.h".
2428 (PARMS): Do not use macros from bp-asm.h.
2429 (__frexp): Do not use BP_SYM.
2430 (frexp): Likewise.
2431 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2432 "bp-asm.h".
2433 (PARMS): Do not use macros from bp-asm.h.
2434 (__frexpf): Do not use BP_SYM.
2435 (frexpf): Likewise.
2436 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2437 "bp-asm.h".
2438 (PARMS): Do not use macros from bp-asm.h.
2439 (__frexpl): Do not use BP_SYM.
2440 (frexpl): Likewise.
2441 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2442 "bp-asm.h".
2443 (PARMS): Do not use macros from bp-asm.h.
2444 (__remquo): Do not use BP_SYM.
2445 (remquo): Likewise.
2446 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2447 "bp-asm.h".
2448 (PARMS): Do not use macros from bp-asm.h.
2449 (__remquof): Do not use BP_SYM.
2450 (remquof): Likewise.
2451 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2452 "bp-asm.h".
2453 (PARMS): Do not use macros from bp-asm.h.
2454 (__remquol): Do not use BP_SYM.
2455 (remquol): Likewise.
2456 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2457 "bp-asm.h".
2458 (PARMS): Do not use macros from bp-asm.h.
2459 (DEST): Likewise.
2460 (SRC): Likewise.
2461 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2462 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2463 "bp-asm.h".
2464 (PARMS): Do not use macros from bp-asm.h.
2465 (strlen): Do not use BP_SYM.
2466 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2467 "bp-asm.h".
2468 (PARMS): Do not use macros from bp-asm.h.
2469 (S1): Likewise.
2470 (S2): Likewise.
2471 (SIZE): Likewise.
2472 (__mpn_add_n): Do not use BP_SYM.
2473 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2474 "bp-asm.h".
2475 (PARMS): Do not use macros from bp-asm.h.
2476 (S1): Likewise.
2477 (SIZE): Likewise.
2478 (__mpn_addmul_1): Do not use BP_SYM.
2479 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2480 weak_alias.
2481 (bzero): Likewise.
2482 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2483 "bp-asm.h".
2484 (PARMS): Do not use macros from bp-asm.h.
2485 (S): Likewise.
2486 (SIZE): Likewise.
2487 (__mpn_lshift): Do not use BP_SYM.
2488 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2489 "bp-asm.h".
2490 (PARMS): Do not use macros from bp-asm.h.
2491 (DEST): Likewise.
2492 (SRC): Likewise.
2493 (LEN): Likewise.
2494 (memcpy): Likewise. Do not use BP_SYM.
2495 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2496 libc_hidden_def and weak_alias.
2497 (mempcpy): Do not use BP_SYM in weak_alias.
2498 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2499 "bp-asm.h".
2500 (PARMS): Do not use macros from bp-asm.h.
2501 (DEST): Likewise.
2502 (LEN): Likewise.
2503 [!BZERO_P] (CHR): Likewise.
2504 (memset): Likewise. Do not use BP_SYM.
2505 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2506 "bp-asm.h".
2507 (PARMS): Do not use macros from bp-asm.h.
2508 (S1): Likewise.
2509 (SIZE): Likewise.
2510 (__mpn_mul_1): Do not use BP_SYM.
2511 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2512 "bp-asm.h".
2513 (PARMS): Do not use macros from bp-asm.h.
2514 (S): Likewise.
2515 (SIZE): Likewise.
2516 (__mpn_rshift): Do not use BP_SYM.
2517 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2518 "bp-asm.h".
2519 (PARMS): Do not use macros from bp-asm.h.
2520 (STR): Likewise.
2521 (CHR): Likewise.
2522 (strchr): Likewise. Do not use BP_SYM.
2523 (index): Do not use BP_SYM in weak_alias.
2524 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2525 "bp-asm.h".
2526 (PARMS): Do not use macros from bp-asm.h.
2527 (DEST): Likewise.
2528 (SRC): Likewise.
2529 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2530 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2531 "bp-asm.h".
2532 (PARMS): Do not use macros from bp-asm.h.
2533 (strlen): Do not use BP_SYM.
2534 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2535 "bp-asm.h".
2536 (PARMS): Do not use macros from bp-asm.h.
2537 (S1): Likewise.
2538 (S2): Likewise.
2539 (SIZE): Likewise.
2540 (__mpn_sub_n): Do not use BP_SYM.
2541 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2542 "bp-asm.h".
2543 (PARMS): Do not use macros from bp-asm.h.
2544 (S1): Likewise.
2545 (SIZE): Likewise.
2546 (__mpn_submul_1): Do not use BP_SYM.
2547 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2548 "bp-asm.h".
2549 (PARMS): Do not use macros from bp-asm.h.
2550 (S1): Likewise.
2551 (S2): Likewise.
2552 (SIZE): Likewise.
2553 (__mpn_add_n): Do not use BP_SYM.
2554 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2555 weak_alias.
2556 (bzero): Likewise.
2557 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2558 "bp-asm.h".
2559 (PARMS): Do not use macros from bp-asm.h.
2560 (BLK2): Likewise.
2561 (LEN): Likewise.
2562 (memcmp): Do not use BP_SYM.
2563 (bcmp): Do not use BP_SYM in weak_alias.
2564 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2565 "bp-asm.h".
2566 (PARMS): Do not use macros from bp-asm.h.
2567 (DEST): Likewise.
2568 (SRC): Likewise.
2569 (LEN): Likewise.
2570 (memcpy): Likewise. Do not use BP_SYM.
2571 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2572 "bp-asm.h".
2573 (PARMS): Do not use macros from bp-asm.h.
2574 (DEST): Likewise.
2575 (SRC): Likewise.
2576 (LEN): Likewise.
2577 (memmove): Likewise. Do not use BP_SYM.
2578 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2579 "bp-asm.h".
2580 (PARMS): Do not use macros from bp-asm.h.
2581 (DEST): Likewise.
2582 (SRC): Likewise.
2583 (LEN): Likewise.
2584 (__mempcpy): Likewise. Do not use BP_SYM.
2585 (mempcpy): Do not use BP_SYM in weak_alias.
2586 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
2591 [!BZERO_P] (CHR): Likewise.
2592 (memset): Likewise. Do not use BP_SYM.
2593 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2594 "bp-asm.h".
2595 (PARMS): Do not use macros from bp-asm.h.
2596 (STR2): Likewise.
2597 (strcmp): Do not use BP_SYM.
2598 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2599 "bp-asm.h".
2600 (PARMS): Do not use macros from bp-asm.h.
2601 (STR): Likewise.
2602 (DELIM): Likewise.
2603 [USE_AS_STRTOK_R] (SAVE): Likewise.
2604 (FUNCTION): Likewise. Do not use BP_SYM.
2605 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2606 aliases.
2607 (strtok_r): Likewise.
2608 (__GI___strtok_r): Likewise.
2609 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2610 (PARMS): Do not use macros from bp-asm.h.
2611 (S): Likewise.
2612 (SIZE): Likewise.
2613 (__mpn_lshift): Do not use BP_SYM.
2614 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2615 (PARMS): Do not use macros from bp-asm.h.
2616 (STR): Likewise.
2617 (CHR): Likewise.
2618 (__memchr): Do not use BP_SYM.
2619 (memchr): Do not use BP_SYM in weak_alias.
2620 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2621 (PARMS): Do not use macros from bp-asm.h.
2622 (BLK2): Likewise.
2623 (LEN): Likewise.
2624 (memcmp): Do not use BP_SYM.
2625 (bcmp): Do not use BP_SYM in weak_alias.
2626 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2627 (PARMS): Do not use macros from bp-asm.h.
2628 (S1): Likewise.
2629 (SIZE): Likewise.
2630 (__mpn_mul_1): Do not use BP_SYM.
2631 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2632 "bp-asm.h".
2633 (PARMS): Do not use macros from bp-asm.h.
2634 (STR): Likewise.
2635 (CHR): Likewise.
2636 (__rawmemchr): Do not use BP_SYM.
2637 (rawmemchr): Do not use BP_SYM in weak_alias.
2638 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2639 (PARMS): Do not use macros from bp-asm.h.
2640 (S): Likewise.
2641 (SIZE): Likewise.
2642 (__mpn_rshift): Do not use BP_SYM.
2643 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2644 (PARMS): Do not use macros from bp-asm.h.
2645 (SIGMSK): Likewise.
2646 (__sigsetjmp): Likewise. Do not use BP_SYM.
2647 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2648 (_start): Do not use BP_SYM.
2649 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2650 (PARMS): Do not use macros from bp-asm.h.
2651 (DEST): Likewise.
2652 (SRC): Likewise.
2653 (__stpcpy): Likewise. Do not use BP_SYM.
2654 (stpcpy): Do not use BP_SYM in weak_alias.
2655 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2656 "bp-asm.h".
2657 (PARMS): Do not use macros from bp-asm.h.
2658 (DEST): Likewise.
2659 (SRC): Likewise.
2660 (LEN): Likewise.
2661 (__stpncpy): Likewise. Do not use BP_SYM.
2662 (stpncpy): Do not use BP_SYM in weak_alias.
2663 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2664 (PARMS): Do not use macros from bp-asm.h.
2665 (STR): Likewise.
2666 (CHR): Likewise.
2667 (strchr): Likewise. Do not use BP_SYM.
2668 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2669 "bp-asm.h".
2670 (PARMS): Do not use macros from bp-asm.h.
2671 (STR): Likewise.
2672 (CHR): Likewise.
2673 (__strchrnul): Likewise. Do not use BP_SYM.
2674 (strchrnul): Do not use BP_SYM in weak_alias.
2675 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2676 "bp-asm.h".
2677 (PARMS): Do not use macros from bp-asm.h.
2678 (STOP): Likewise.
2679 (strcspn): Do not use BP_SYM.
2680 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2681 "bp-asm.h".
2682 (PARMS): Do not use macros from bp-asm.h.
2683 (STR): Likewise.
2684 (STOP): Likewise.
2685 (strpbrk): Likewise. Do not use BP_SYM.
2686 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2687 "bp-asm.h".
2688 (PARMS): Do not use macros from bp-asm.h.
2689 (STR): Likewise.
2690 (CHR): Likewise.
2691 (strrchr): Likewise. Do not use BP_SYM.
2692 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2693 (PARMS): Do not use macros from bp-asm.h.
2694 (SKIP): Likewise.
2695 (strspn): Do not use BP_SYM.
2696 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2697 (PARMS): Do not use macros from bp-asm.h.
2698 (STR): Likewise.
2699 (DELIM): Likewise.
2700 (SAVE): Likewise.
2701 (FUNCTION): Likewise. Do not use BP_SYM.
2702 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2703 aliases.
2704 (strtok_r): Likewise.
2705 (__GI___strtok_r): Likewise.
2706 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2707 (PARMS): Do not use macros from bp-asm.h.
2708 (S1): Likewise.
2709 (S2): Likewise.
2710 (SIZE): Likewise.
2711 (__mpn_sub_n): Do not use BP_SYM.
2712 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2713 "bp-asm.h".
2714 (PARMS): Do not use macros from bp-asm.h.
2715 (S1): Likewise.
2716 (SIZE): Likewise.
2717 (__mpn_submul_1): Do not use BP_SYM.
2718 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2719 <bp-sym.h>.
2720 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2721 and <bp-asm.h>.
2722 (PARMS): Do not use macros from bp-asm.h.
2723 (FLAGS): Likewise.
2724 (PTID): Likewise.
2725 (TLS): Likewise.
2726 (CTID): Likewise.
2727 (__clone): Do not use BP_SYM.
2728 (clone): Do not use BP_SYM in weak_alias.
2729 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2730 and <bp-asm.h>.
2731 (PARMS): Do not use macros from bp-asm.h.
2732 (LEN): Likewise.
2733 (__mmap64): Do not use BP_SYM.
2734 (mmap64): Do not use BP_SYM in weak_alias.
2735 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2736 <bp-sym.h> and <bp-asm.h>.
2737 (PARMS): Do not use macros from bp-asm.h.
2738 (__posix_fadvise64_l64): Do not use BP_SYM.
2739 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2740 (PARMS): Do not use macros from bp-asm.h.
2741 (NSOPS): Likewise.
2742 (semtimedop): Do not use BP_SYM.
2743 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2744 and <bp-asm.h>.
2745
582a3cff
AM
27462013-02-21 Allan McRae <allan@archlinux.org>
2747
2748 * manual/message.texi (Charset conversion in gettext):
2749 Move @end statement to beginning of line.
2750
bab8a695
SP
27512013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2752
80945231
SP
2753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2754 static.
2755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2756 Likewise.
2757
bab8a695
SP
2758 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2759 (denorm): Likewise.
2760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2762
e21d7aa7
AK
27632013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2764
2765 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2766 tail-call to the resolved function if pltexit isn't needed.
2767
4c7a4263
SP
27682013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2769
2770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2771 or Y being zero as being unlikely.
2772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2773 Likewise.
2774
41f49342
CD
27752013-02-20 Carlos O'Donell <carlos@redhat.com>
2776
2777 * manual/nss.texi (System Databases and Name Service Switch):
2778 Remove frobnicate @pxref.
2779
50022a93
TS
27802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2781
2782 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2783 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2784
08cbd996
PM
27852013-02-20 Petr Machata <pmachata@redhat.com>
2786
2787 * elf/elf.h (R_ARM_TARGET1): New macro.
2788 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2789 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2790 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2791 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2792 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2793 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2794 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2795 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2796 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2797 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2798 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2799 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2800 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2801 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2802 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2803 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2804 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2805 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2806 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2807 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2808 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2809 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2810 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2811 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2812 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2813 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2814 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2815 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2816 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2817 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2818 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2819 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2820 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2821 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2822 (R_ARM_THM_GOT_BREL12): Likewise.
2823 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2824 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2825 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2826 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2827 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2828 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2829 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2830 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2831 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2832
c7b275d6
TS
28332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2834
2835 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2836 __attribute_used__ to __attribute__ ((unused)).
2837
20cd7fb3
SP
28382013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2839
2840 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2841 powerpc mpa.c.
2842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2843 comment formatting.
2844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2845
92945b52
JM
28462013-02-19 Joseph Myers <joseph@codesourcery.com>
2847
2848 [BZ #13550]
2849 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2850 Remove macro.
2851 (ENTER): Remove both macro definitions.
2852 (LEAVE): Likewise.
2853 (CHECK_BOUNDS_LOW): Likewise.
2854 (CHECK_BOUNDS_HIGH): Likewise.
2855 (CHECK_BOUNDS_BOTH): Likewise.
2856 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2857 (RETURN_BOUNDED_POINTER): Likewise.
2858 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2859 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2860 (POP_ERRNO_LOCATION_RETURN): Likewise.
2861 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2862 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2863 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2864 macros.
2865 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2866 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2867 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2868 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2869 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2870 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2871 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2872 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2873 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2874 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2875 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2876 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2877 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2878 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2879 removed macros.
2880 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2881 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2882 macros.
2883 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2884 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2885 * sysdeps/i386/i586/memset.S (memset): Likewise.
2886 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2887 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2888 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2889 macros.
2890 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2891 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2892 Change uses of L(2) to L(out).
2893 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2894 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2895 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2896 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2897 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2898 removed macros.
2899 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2900 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2901 macros.
2902 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2903 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2904 (RETURN): Do not use macro LEAVE.
2905 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2906 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2907 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2908 * sysdeps/i386/i686/memset.S (memset): Likewise.
2909 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2910 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2911 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2912 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2913 Likewise.
2914 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2915 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2916 L(1_2) and L(1_3) into L(1).
2917 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2918 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2919 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2920 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2921 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2922 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2923 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2924 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2925 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2926 macros.
2927 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2928 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2929 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2930 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2931 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2932 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2933 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2934 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2935 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2936 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2937 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2938 * sysdeps/i386/strspn.S (strspn): Likewise.
2939 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2940 conditional code.
2941 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2942 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2943 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2944 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2945 L(1_3) into L(1_1).
2946 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2947 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2948 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2949 macros.
2950 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2951
2389741a
JJ
29522013-02-19 Jakub Jelinek <jakub@redhat.com>
2953
2954 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2955 macro.
2956
2016b3cd
SP
29572013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2958
e4f22324
SP
2959 * math/atest-exp.c (exp_mpn): Remove ROUND.
2960 * math/atest-exp2.c (exp_mpn): Likewise.
2961 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2962
2016b3cd
SP
2963 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2964 * stdlib/tst-tls-atexit-lib.c: Likewise.
2965 * stdlib/tst-tls-atexit.c: Likewise.
2966
4be9b544
MF
29672013-02-18 Mike Frysinger <vapier@gentoo.org>
2968
2969 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2970 and __attribute_alloc_size__.
2971
2f62b9ee
MF
29722013-02-18 Mike Frysinger <vapier@gentoo.org>
2973
2974 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2975 __attribute_alloc_size__.
2976 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2977 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2978
6ff444c4
MF
29792013-02-18 Mike Frysinger <vapier@gentoo.org>
2980
2981 * include/programs/xmalloc.h: New file.
2982 * catgets/gencat.c: Include it.
2983 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2984 * elf/pldd.c: Likewise.
2985 * iconv/iconv_charmap.c: Likewise.
2986 * iconv/iconvconfig.c: Likewise.
2987 * iconv/strtab.c: Likewise.
2988 * locale/programs/locale.c: Likewise.
2989 * locale/programs/localedef.h: Likewise.
2990 * locale/programs/simple-hash.c: Likewise.
2991 * nscd/nscd.h: Likewise.
2992 * nss/makedb.c: Likewise.
2993 * sysdeps/generic/ldconfig.h: Likewise.
2994
be179c8a
SP
29952013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2996
ba384f6e
SP
2997 * Versions.def: Add GLIBC_2.18.
2998 * include/link.h (struct link_map): New member l_tls_dtor_count.
2999 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3000 (__call_tls_dtors): Likewise.
3001 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3002 __cxa_thread_atexit_impl.
3003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3004 Likewise.
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3006 Likewise.
3007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3008 Likewise.
3009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3010 Likewise.
3011 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3013 Likewise.
3014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3015 Likewise.
3016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3018 Likewise.
3019 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3020 (tests): Add test case tst-tls-atexit.
3021 (modules-names): Add shared library for tst-tls-atexit.
3022 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3023 (GLIBC_PRIVATE): Add __call_tls_dtors.
3024 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3025 for libstdc++.
3026 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3027 * stdlib/tst-tls-atexit.c: New test case.
3028 * stdlib/tst-tls-atexit-lib.c: New test case.
3029
ffaa74cf 3030 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3031
be179c8a
SP
3032 * elf/Versions (ld): Add _dl_find_dso_for_object.
3033 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3034 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3035 (dl_open_worker): Use _dl_find_dso_for_object.
3036 * elf/dl-sym.c (do_sym): Likewise.
3037 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3038
f78b5caa
AK
30392013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3040
3041 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3042 Syntactic changes only.
3043 (_dl_runtime_profile): Do a tail-call to the resolved function.
3044
29691210
JM
30452013-02-17 Joseph Myers <joseph@codesourcery.com>
3046
3047 [BZ #13550]
3048 * sysdeps/x86_64/bp-asm.h: Remove file.
3049 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3050 <bp-sym.h> and <bp-asm.h>.
3051 (__clone): Do not use BP_SYM.
3052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3053 <bp-sym.h> and <bp-asm.h>.
3054 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3055 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3056 "bp-asm.h".
3057 (_setjmp): Do not use BP_SYM.
3058 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3059 "bp-asm.h".
3060 (setjmp): Do not use BP_SYM.
3061 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3062 libc_hidden_def.
3063 (mempcpy): Do not use BP_SYM in weak_alias.
3064 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3065 "bp-asm.h".
3066 (strchr): Do not use BP_SYM.
3067 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3068 "bp-asm.h".
3069 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3070 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3071 (_start): Do not use BP_SYM.
3072 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3073 "bp-asm.h".
3074 (strcat): Do not use BP_SYM.
3075 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3076 "bp-asm.h".
3077 (STRCMP): Do not use BP_SYM.
3078 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3079 "bp-asm.h".
3080 (STRCPY): Do not use BP_SYM.
3081 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3082 "bp-asm.h".
3083 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3084 "bp-asm.h".
3085 (FUNCTION): Do not use BP_SYM.
3086 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3087 weak_alias.
3088 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3089
f238fd19
AJ
30902013-02-17 Andreas Jaeger <aj@suse.de>
3091
3092 * time/Versions: Sort entries.
3093 * string/Versions: Likewise.
3094 * resolv/Versions: Likewise.
3095 * posix/Versions: Likewise.
3096 * iconv/Versions: Likewise.
3097 * elf/Versions: Likewise.
3098 * wcsmbs/Versions: Likewise.
3099
bd07f23c 31002013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3101
22af19f9
SP
3102 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3103 loop termination condition.
3104
4709fe76
SP
3105 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3106 variable to calculate EZ.
3107 (__sqr): Likewise.
2d0e0f29
SP
3108
3109 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3110 the lower precision input.
3111
daaa7713
JM
31122013-02-15 Joseph Myers <joseph@codesourcery.com>
3113
3114 [BZ #13550]
3115 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3116 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3117 (run-via-rtld-prefix): Do not handle %-bp tests.
3118 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3119 (all-object-suffixes): Remove .ob.
3120 (bppfx): Remove variable.
3121 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3122 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3123 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3124 [$(build-bounded) = yes] (libtype.ob): Likewise.
3125 * Makerules (elide-routines.ob): Remove variable.
3126 (do-tests-clean): Do not handle *-bp.out.
3127 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3128 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3129 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3130 (tests): Do not include $(tests-bp.out).
3131 (xtests): Do not include $(xtests-bp.out).
3132 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3133 [$(build-bounded) = yes] ($(addprefix
3134 $(objpfx),$(binaries-bounded))): Remove rule.
3135 ($(objpfx)%-bp.out): Remove rule.
3136 * config.make.in (build-bounded): Remove variable.
3137 * crypt/Makefile [$(build-bounded) = yes]
3138 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3139 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3140 append to variable.
3141 [$(build-bounded) = yes] (install-lib): Likewise.
3142 [$(build-bounded) = yes] (generated): Likewise.
3143 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3144 Remove rule.
3145 * intl/Makefile [$(build-bounded) = yes]
3146 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3147 * math/Makefile [$(build-bounded) = yes]
3148 ($(tests:%=$(objpfx)%-bp): Likewise.
3149 * misc/Makefile [$(build-bounded) = yes]
3150 ($(objpfx)tst-tsearch-bp): Likewise.
3151 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3152 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3153 Remove dependency.
3154 * string/Makefile (o-objects.ob): Remove variable.
3155 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3156 (CFLAGS-.ob): Remove variable.
3157 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3158 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3159 both definitions of variable.
3160 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3161 (ASFLAGS-.ob): Remove variable.
3162
e97ed6dd
JM
31632013-02-14 Joseph Myers <joseph@codesourcery.com>
3164
2bdd4ca6
JM
3165 [BZ #13550]
3166 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3167 Remove __BOUNDED_POINTERS__ from condition.
3168 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3169 * string/bits/string2.h [!__NO_STRING_INLINES &&
3170 !__BOUNDED_POINTERS__]: Likewise.
3171 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3172 Likewise.
3173 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3174 Remove conditional code.
3175 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3176 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3177 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3178 condition.
3179
e97ed6dd
JM
3180 [BZ #13550]
3181 * csu/libc-start.c: Do not include <bp-sym.h>.
3182 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3183 * elf/dl-open.c: Do not include <bp-sym.h>.
3184 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3185 * math/fegetenv.c: Do not include <bp-sym.h>.
3186 (fegetenv): Do not use BP_SYM in versioned symbols.
3187 * nptl/sysdeps/pthread/bits/libc-lockP.h
3188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3189 <bp-sym.h>.
3190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3191 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3193 (__pthread_mutex_destroy): Likewise.
3194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3195 (__pthread_mutex_lock): Likewise.
3196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3197 (__pthread_mutex_trylock): Likewise.
3198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3199 (__pthread_mutex_unlock): Likewise.
3200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3201 (__pthread_mutexattr_init): Likewise.
3202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3203 (__pthread_mutexattr_destroy): Likewise.
3204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3205 (__pthread_mutexattr_settype): Likewise.
3206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3207 (__pthread_rwlock_init): Likewise.
3208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3209 (__pthread_rwlock_destroy): Likewise.
3210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3211 (__pthread_rwlock_rdlock): Likewise.
3212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3213 (__pthread_rwlock_tryrdlock): Likewise.
3214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3215 (__pthread_rwlock_wrlock): Likewise.
3216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3217 (__pthread_rwlock_trywrlock): Likewise.
3218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3219 (__pthread_rwlock_unlock): Likewise.
3220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3221 (__pthread_key_create): Likewise.
3222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3223 (__pthread_setspecific): Likewise.
3224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3225 (__pthread_getspecific): Likewise.
3226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3227 Likewise.
3228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3229 (_pthread_cleanup_push_defer): Likewise.
3230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3231 (_pthread_cleanup_pop_restore): Likewise.
3232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3233 (pthread_setcancelstate): Likewise.
3234 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3235 <bp-sym.h>.
3236 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3237 (memchr): Do not use BP_SYM in weak_alias.
3238 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3239 (fegetenv): Do not use BP_SYM in versioned symbols.
3240 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3241 (fesetenv): Do not use BP_SYM in versioned symbols.
3242 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3243 (feupdateenv): Do not use BP_SYM in versioned symbols.
3244 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3245 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3246 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3247 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3248 (open64): Do not use BP_SYM in weak_alias.
3249 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3250 (fegetenv): Do not use BP_SYM in versioned symbols.
3251 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3252 (fesetenv): Do not use BP_SYM in versioned symbols.
3253 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3254 (feupdateenv): Do not use BP_SYM in versioned symbols.
3255 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3256 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3257 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3258 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3259 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3260 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3261 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3262 <bp-sym.h>.
3263 (__libc_start_main): Do not use BP_SYM.
3264
d6752ccd
SP
32652013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3266
cb57ce60
SP
3267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3268 redundant return line.
3269 (norm): Likewise.
3270 (denorm): Likewise.
3271 (dbl_mp): Likewise.
3272 (sub_magnitudes): Likewise.
3273 (__add): Likewise.
3274 (__sub): Likewise.
3275 (__mul): Likewise.
3276 (__inv): Likewise.
3277 (__dvd): Likewise.
3278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3279 (norm): Likewise.
3280 (denorm): Likewise.
3281 (dbl_mp): Likewise.
3282 (sub_magnitudes): Likewise.
3283 (__add): Likewise.
3284 (__sub): Likewise.
3285 (__mul): Likewise.
3286 (__inv): Likewise.
3287 (__dvd): Likewise.
3288
f414520d
SP
3289 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3290 instead of __mul.
3291 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3292 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3293 (cc32): Likewise.
3294
d6752ccd
SP
3295 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3296 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3298 of __mul for squares.
3299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3300 function
3301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3302 Likewise.
3303 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3304 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3305
70d9946a
JM
33062013-02-13 Joseph Myers <joseph@codesourcery.com>
3307
3308 [BZ #13550]
3309 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3310 code.
3311 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3312 prototype or function definition. Rename ubp_* variables and
3313 parameters. Remove argv definitions conditional on
3314 [__BOUNDED_POINTERS__].
3315 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3316 * elf/dl-runtime.c (_dl_fixup): Likewise.
3317 * include/set-hooks.h (RUN_HOOK): Likewise.
3318 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3319 definition.
3320 * string/strcpy.c (strcpy): Do not use __unbounded.
3321 * sysdeps/generic/frame.h (struct layout): Likewise.
3322 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3323 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3324 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3325 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3326 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3327 (__backtrace): Likewise.
3328 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3329 use __ptrvalue.
3330 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3331 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3332 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3333 Likewise.
3334 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3335 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3336 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3337 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3338 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3339 Do not use __unbounded.
3340 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3341 Rename __unboundedrlimits parameter to rlimits in prototype.
3342 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3343 Do not use __unbounded.
3344 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3345 not use __ptrvalue.
3346 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3347 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3348 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3349 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3350 __ptrvalue or __unbounded.
3351 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3352 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3353 use __unbounded.
3354 (__new_msgctl): Do not use __ptrvalue.
3355 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3356 __unbounded.
3357 (__libc_msgrcv): Do not use __ptrvalue.
3358 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3359 startup_info): Do not use __unbounded.
3360 (__libc_start_main): Likewise. Rename ubp_* variables and
3361 parameters. Remove argv definitions conditional on
3362 [__BOUNDED_POINTERS__].
3363 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3364 __ptrvalue.
3365 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3366 use __unbounded.
3367 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3368 or __ptrvalue.
3369 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3370 use __unbounded.
3371 (__new_shmctl): Do not use __ptrvalue.
3372 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3373 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3374 Likewise.
3375 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3376 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3377 (__libc_sigaction): Likewise.
3378 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3379 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3380 Likewise.
3381 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3382
cc7834d6
OB
33832013-02-13 Ondřej Bílka <neleai@seznam.cz>
3384
ffb1ec7b 3385 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3386
3387 * string/mempcpy.c: Implement by calling memcpy.
3388
bdf02814
SP
33892013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3390
c2af38aa
SP
3391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3392
4e92d59e
SP
3393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3394 evaluation.
3395
909279a5
SP
3396 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3397 values in the mantissa.
3398
bdf02814
SP
3399 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3400 minimize writes to Z.
3401 (sub_magnitudes): Simplify code a bit.
3402
cd525923
RM
34032013-02-12 Roland McGrath <roland@hack.frob.com>
3404
3405 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3406 from the message. The linker prefixes all warnings with that already.
3407
7e2f0d2d
AS
34082013-02-12 Andreas Schwab <schwab@suse.de>
3409
a445af0b
AS
3410 [BZ #15078]
3411 * posix/regexec.c (extend_buffers): Add parameter min_len.
3412 (check_matching): Pass minimum needed length.
3413 (clean_state_log_if_needed): Likewise.
3414 (get_subexp): Likewise.
3415 * posix/Makefile (tests): Add bug-regex34.
3416 (bug-regex34-ENV): Define.
3417 * posix/bug-regex34.c: New file.
3418
7e2f0d2d
AS
3419 [BZ #11561]
3420 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3421 elements compare against the byte sequence of it, not its name.
3422 * posix/Makefile (tests): Add bug-regex35.
3423 (bug-regex35-ENV): Define.
3424 * posix/bug-regex35.c: New file.
3425
a175b684
TV
34262013-02-11 Tom de Vries <tom@codesourcery.com>
3427
3428 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3429 comment.
3430 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3431 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3432 (CHECK_EOL): Add undef.
3433
310998fe 34342013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3435
3436 * bits/stdlib-bsearch.h: New file.
3437 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3438 * stdlib/stdlib.h: Likewise.
41eda41d 3439
8ded91fb
RM
34402013-02-11 Roland McGrath <roland@hack.frob.com>
3441
3442 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3443 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3444 declaration.
3445 * manual/search.texi (Array Search Function): Add missing const in
3446 lfind prototype.
3447 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3448 declaration to use rlim_t.
3449 (Basic Scheduling Functions): Remove erroneous const from
3450 sched_getparam prototype. Remove erroneous * from
3451 sched_get_priority_max and sched_get_priority_min prototypes.
3452 (Resource Usage): Fix summary @comment on vtimes to refer to
3453 sys/vtimes.h rather than vtimes.h.
3454 Add missing *s in vtimes prototype.
3455 (Limits on Resources): Fix ulimit prototype to return long int.
3456 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3457 prototypes to use long int rather than double.
3458 (BSD Random): Fix initstate and setstate to use char *, not void *.
3459 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3460 prototype to make second argument 'struct aiocb64 *const[]'.
3461 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3462 (Status of AIO Operations): Remove erroneous const in aio_return and
3463 aio_return64 prototypes.
3464 (Synchronizing I/O): Fix sync prototype to return void.
3465 * manual/startup.texi (Suboptions): Remove an erroneous const in
3466 getsubopt prototype.
3467 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3468 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3469 use size_t rather than int.
3470 (Scanning All Users): Likewise for getpwent_r.
3471 (Setting Groups): Add missing const to setgroups prototype.
3472 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3473 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3474 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3475 'const void *' rather than 'const char *'.
3476 (Host Address Functions): Likewise for inet_ntop.
3477 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3478 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3479 ssize_t for return value.
3480 (Sending Data): Likewise for send, sendto, sendmsg.
3481 (Socket Option Functions): Add a missing const in setsockopt prototype.
3482 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3483 use wchar_t for the argument.
3484 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3485 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3486 take no arguments.
3487 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3488 double/float/long double for second argument.
3489 Fix return types of significand, significandf, significandl.
3490 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3491 argument in fchmod prototype.
3492 (File Owner): Use uid_t and gid_t in fchown prototype.
3493 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3494 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3495 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3496 use 'const struct dirent **' as argument types to CMP function pointer
3497 argument.
3498 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3499 (File Times): Fix summary magic @comment for struct utimbuf and utime
3500 to refer to utime.h, not time.h.
3501 * manual/string.texi (Argz Functions): Add missing const in
3502 argz_extract and argz_next prototypes.
3503 (Finding Tokens in a String): Likewise for basename.
3504 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3505 (Copying and Concatenation): Fix typo in wmemmove prototype.
3506 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3507 (Signal Stack): Remove erroneous const in sigstack prototype.
3508 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3509 prototype.
3510 (Simple Calendar Time): Likewise for stime.
3511 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3512 prototype.
3513 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3514 say sys/sysctl.h instead.
3515 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3516 and vsyslog prototypes.
3517
fe77fe6d
TV
35182013-02-11 Tom de Vries <tom@codesourcery.com>
3519
3520 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3521 Remove.
3522
3a09b620
RM
35232013-02-11 Roland McGrath <roland@hack.frob.com>
3524
3525 * misc/sys/mman.h: Fix typo in mremap comment.
3526
550a0b89
RM
35272013-02-08 Roland McGrath <roland@hack.frob.com>
3528
3529 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3530 the '\0' terminator.
3531
a2da1673
JM
35322013-02-08 Joseph Myers <joseph@codesourcery.com>
3533
3534 [BZ #13550]
3535 * debug/segfault.c: Don't include <bp-checks.h>.
3536 * sysdeps/generic/bp-checks.h: Remove file.
3537 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3538 (__GETDENTS): Don't use CHECK_N.
3539 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3540 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3541 (__getgroups): Don't use CHECK_N.
3542 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3543 (setgroups): Don't use CHECK_N.
3544 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3545 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3546 (__libc_msgrcv): Don't use CHECK_N.
3547 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3548 (__libc_msgsnd): Don't use CHECK_N.
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3550 <bp-checks.h>.
3551 (__libc_pread): Don't use CHECK_N.
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3553 include <bp-checks.h>.
3554 (__libc_pread64): Don't use CHECK_N.
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3556 include <bp-checks.h>.
3557 (__libc_pwrite): Don't use CHECK_N.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3559 include <bp-checks.h>.
3560 (__libc_pwrite64): Don't use CHECK_N.
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3562 <bp-checks.h>.
3563 (__libc_pread): Don't use CHECK_N.
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3565 include <bp-checks.h>.
3566 (__libc_pread64): Don't use CHECK_N.
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3568 include <bp-checks.h>.
3569 (__libc_pwrite): Don't use CHECK_N.
3570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3571 include <bp-checks.h>.
3572 (__libc_pwrite64): Don't use CHECK_N.
3573 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3574 (do_pread): Don't use CHECK_N.
3575 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3576 (do_pread64): Don't use CHECK_N.
3577 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3578 (do_pwrite): Don't use CHECK_N.
3579 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3580 (do_pwrite64): Don't use CHECK_N.
3581 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3582 (__libc_readv): Don't use CHECK_N.
3583 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3584 (semop): Don't use CHECK_N.
3585 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3586 <bp-checks.h>.
3587 (semtimedop): Don't use CHECK_N.
3588 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3589 (__libc_pread): Don't use CHECK_N.
3590 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3591 <bp-checks.h>.
3592 (__libc_pread64): Don't use CHECK_N.
3593 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3594 <bp-checks.h>.
3595 (__libc_pwrite): Don't use CHECK_N.
3596 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3597 <bp-checks.h>.
3598 (__libc_pwrite64): Don't use CHECK_N.
3599 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3600 <bp-checks.h>.
3601 (__libc_msgrcv): Don't use CHECK_N.
3602 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3603 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3604 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3605 (__libc_writev): Don't use CHECK_N.
3606
b84660a8
RM
36072013-02-08 Roland McGrath <roland@hack.frob.com>
3608
7f3e75f8
RM
3609 * string/strcpy.c: Removed unused variable.
3610
b84660a8
RM
3611 * Makeconfig (+sysdep-includes): Define with := rather than =.
3612 Use an existing include/ subdir of each sysdeps dir before it.
3613
471514d3
CD
36142013-02-08 Carlos O'Donell <carlos@redhat.com>
3615
3616 * nscd/connection.c (register_traced_file): Comment function.
3617 [HAVE_INOTIFY] (union __inev): Define.
3618 [HAVE_INOTIFY] (inotify_check_files): New function.
3619 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3620 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3621 clear_db_cache.
3622 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3623
b2d3c3be
CD
36242013-02-08 Carlos O'Donell <carlos@redhat.com>
3625
3626 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3627 loaded if not already and that a failure is permanent.
3628
b39949d2
CD
36292013-02-08 Carlos O'Donell <carlos@redhat.com>
3630
ddacd1db 3631 [BZ #15006]
b39949d2
CD
3632 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3633 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3634
b2c9eff4
JM
36352013-02-08 Joseph Myers <joseph@codesourcery.com>
3636
f3aae3f3
JM
3637 [BZ #13550]
3638 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3639 (CHECK_1_NULL_OK): Likewise.
3640 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3641 (__fxstat): Do not use CHECK_1.
3642 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3643 <bp-checks.h>.
3644 (___fxstat64): Do not use CHECK_1.
3645 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3646 <bp-checks.h>.
3647 (__fxstatat): Do not use CHECK_1.
3648 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3649 <bp-checks.h>.
3650 (__fxstatat64): Do not use CHECK_1.
3651 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3652 <bp-checks.h>.
3653 (__fxstat): Do not use CHECK_1.
3654 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3655 <bp-checks.h>.
3656 (__fxstatat): Do not use CHECK_1.
3657 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3658 <bp-checks.h>.
3659 (__getresgid): Do not use CHECK_1.
3660 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3661 <bp-checks.h>.
3662 (__getresuid): Do not use CHECK_1.
3663 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3664 <bp-checks.h>.
3665 (__lxstat): Do not use CHECK_1.
3666 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3667 <bp-checks.h>.
3668 (__old_msgctl): Do not use CHECK_1.
3669 (__new_msgctl): Likewise.
3670 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3671 <bp-checks.h>.
3672 (__new_setrlimit): Do not use CHECK_1.
3673 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3674 <bp-checks.h>.
3675 (__old_shmctl): Do not use CHECK_1.
3676 (__new_shmctl): Likewise.
3677 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3678 <bp-checks.h>.
3679 (__xstat): Do not use CHECK_1.
3680 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3681 (__lxstat): Do not use CHECK_1.
3682 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3683 <bp-checks.h>.
3684 (___lxstat64): Do not use CHECK_1.
3685 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3686 (__old_msgctl): Do not use CHECK_1.
3687 (__new_msgctl): Likewise.
3688 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3689 <bp-checks.h>.
3690 (__gettimeofday): Do not use CHECK_1.
3691 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3692 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3693 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3694 <bp-checks.h>.
3695 (__gettimeofday): Do not use CHECK_1.
3696 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3697 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3698 (__new_shmctl): Do not use CHECK_1.
3699 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3700 <bp-checks.h>.
3701 (do_sigtimedwait): Do not use CHECK_1.
3702 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3703 <bp-checks.h>.
3704 (do_sigwaitinfo): Do not use CHECK_1.
3705 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3706 <bp-checks.h>.
3707 (msgctl): Do not use CHECK_1.
3708 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3709 <bp-checks.h>.
3710 (shmctl): Do not use CHECK_1.
3711 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3712 (ustat): Do not use CHECK_1.
3713 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3714 <bp-checks.h>.
3715 (__fxstat): Do not use CHECK_1.
3716 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3717 <bp-checks.h>.
3718 (__fxstatat): Do not use CHECK_1.
3719 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3720 <bp-checks.h>.
3721 (__lxstat): Do not use CHECK_1.
3722 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3723 <bp-checks.h>.
3724 (__xstat): Do not use CHECK_1.
3725 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3726 (__xstat): Do not use CHECK_1.
3727 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3728 (___xstat64): Do not use CHECK_1.
3729
b2c9eff4
JM
3730 [BZ #13550]
3731 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3732 definitions.
3733 (CHECK_BOUNDS_HIGH): Likewise.
3734 * string/strcpy.c: Do not include <bp-checks.h>.
3735 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3736
f1d70dad
RM
37372013-02-07 Roland McGrath <roland@hack.frob.com>
3738
3739 * nscd/nscd-client.h (__nscd_drop_map_ref):
3740 Add __attribute__ ((unused)).
3741 * nis/nss-nisplus.h (niserr2nss): Likewise.
3742
3743 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3744 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3745
3746 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3747 Remove inline keyword.
3748 * include/rounding-mode.h (round_away): Likewise.
3749 * libio/wfileops.c (adjust_wide_data): Likewise.
3750 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3751 (__m128i_strloadu_tolower): Likewise.
3752 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3753 (__m128i_strloadu_tolower): Likewise.
3754 * time/mktime.c (ydhms_diff): Likewise.
3755 * locale/elem-hash.h (elem_hash): Likewise.
3756 * locale/setlocale.c (setdata): Likewise.
3757 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3758 (re_string_wchar_at): Likewise.
3759 (bitset_not, bitset_merge, bitset_mask): Likewise.
3760 [!(__GNUC__ > 3)] (inline): Remove macro.
3761 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3762 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3763 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3764 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3765 * string/memcmp.c (memcmp_bytes): Likewise.
3766 * locale/programs/locarchive.c (compute_hashval): Likewise.
3767 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3768 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3769 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3770 * nss/getent.c (print_rpc, print_protocols): Likewise.
3771 (print_passwd, print_group, print_aliases): Likewise.
3772 * nis/nss-nisplus.h (niserr2nss): Likewise.
3773 * nscd/connections.c (restart_p): Likewise.
3774 Change return type to bool.
3775
eab55bfb
RM
37762013-02-05 Roland McGrath <roland@hack.frob.com>
3777
7bd642f5
RM
3778 * Makeconfig (all-Depend-files): Add existing
3779 $(sorted-subdirs:=/Depend) files.
3780 (all-subdirs): Remove nss.
3781 * sysdeps/unix/inet/Subdirs: Add it here instead.
3782 * hesiod/Depend: New file.
3783
573c29b2
RM
3784 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3785 instead of calling alloca.
3786
b2e25af0
RM
3787 * io/lseek.c (__lseek): Rename to __libc_lseek.
3788 Define __lseek as an alias.
3789
eab55bfb
RM
3790 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3791
9a0d1941
CD
37922013-02-04 Carlos O'Donell <carlos@redhat.com>
3793
3794 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3795 else clause and remove check for non-standard endianness.
3796
b83bbec4
DM
37972013-02-04 David S. Miller <davem@davemloft.net>
3798
3799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3800
6277fdab
JM
38012013-02-04 Joseph Myers <joseph@codesourcery.com>
3802
3803 [BZ #13550]
3804 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3805 (__ubp_memchr): Remove prototype.
3806 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3807 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3808 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3809 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3810 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3811 Remove alias.
3812 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3813 (__ubp_memchr): Likewise.
3814 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3815 (__ubp_memchr): Likewise.
3816 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3817 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3818 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3819 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3820 CHECK_STRING.
3821 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3822 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3823 (__getcwd): Do not use CHECK_STRING.
3824 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3825 <bp-checks.h>.
3826 (__real_chown): Do not use CHECK_STRING.
3827 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3828 <bp-checks.h>.
3829 (fchownat): Do not use CHECK_STRING.
3830 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3831 CHECK_STRING.
3832 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3833 <bp-checks.h>.
3834 (__lchown): Do not use CHECK_STRING.
3835 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3836 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3837 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3838 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3840 include <bp-checks.h>.
3841 (truncate64): Do not use CHECK_STRING.
3842 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3843 <bp-checks.h>.
3844 (__real_chown): Do not use CHECK_STRING.
3845 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3846 <bp-checks.h>.
3847 (__lchown): Do not use CHECK_STRING.
3848 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3849 <bp-checks.h>.
3850 (__chown): Do not use CHECK_STRING.
3851 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3852 <bp-checks.h>.
3853 (truncate64): Do not use CHECK_STRING.
3854 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3855 Likewise.
3856 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3857 (__xmknod): Do not use CHECK_STRING.
3858 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3859 <bp-checks.h>.
3860 (__xmknodat): Do not use CHECK_STRING.
3861 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3862 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3863
903ae060
AS
38642013-02-04 Andreas Schwab <schwab@suse.de>
3865
3866 [BZ #14142]
3867 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3868 * include/netdb.h: Likewise for h_errno.
3869 * elf/tst-stackguard1.c: Include <tls.h>.
3870
542f9466
JK
38712013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3872
3873 * elf/link.h (struct link_map): Extend the l_addr comment.
3874 * include/link.h (struct link_map): Likewise.
3875
e782a927
JM
38762013-02-01 Joseph Myers <joseph@codesourcery.com>
3877
3878 [BZ #13550]
3879 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3880 (BOUNDED_1): Remove macro.
3881 * debug/backtrace.c: Don't include <bp-checks.h>.
3882 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3883 (__backtrace): Likewise.
3884 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3885 <bp-checks.h>.
3886 (__backtrace): Don't use BOUNDED_1.
3887 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3888 <bp-checks.h>.
3889 (__backtrace): Don't use BOUNDED_1.
3890 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3891 (__backtrace): Don't use BOUNDED_1.
3892 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3893 (shmat): Don't use BOUNDED_N.
3894
8cf28c5e
JM
38952013-01-31 Joseph Myers <joseph@codesourcery.com>
3896
3a7ac8a0
JM
3897 [BZ #13550]
3898 * sysdeps/generic/bp-start.h: Remove file.
3899 * csu/libc-start.c: Don't include <bp-start.h>.
3900 (LIBC_START_MAIN): Set up __environ directly instead of using
3901 INIT_ARGV_and_ENVIRON.
3902 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3903 <bp-start.h>.
3904
f3499f95
JM
3905 [BZ #13550]
3906 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3907 definitions.
3908 (CHECK_FCNTL): Likewise.
3909 (CHECK_N_PAGES): Likewise.
3910
32a45bea
JM
3911 [BZ #13550]
3912 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3913 definitions.
3914 (CHECK_SIGSET_NULL_OK): Likewise.
3915 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3916 <bp-checks.h>.
3917 (sigpending): Don't use CHECK_SIGSET.
3918 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3919 <bp-checks.h>.
3920 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3921 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3922 <bp-checks.h>.
3923 (do_sigsuspend): Don't use CHECK_SIGSET.
3924 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3925 use CHECK_SIGSET.
3926 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3927 (do_sigwait): Don't use CHECK_SIGSET.
3928 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3929 use CHECK_SIGSET.
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3931 include <bp-checks.h>.
3932 (sigpending): Don't use CHECK_SIGSET.
3933 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3934 include <bp-checks.h>.
3935 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3936 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3937 <bp-checks.h>.
3938 (sigpending): Don't use CHECK_SIGSET.
3939 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3940 <bp-checks.h>.
3941 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3942
2e8a5c8c
JM
3943 [BZ #13550]
3944 * sysdeps/generic/bp-semctl.h: Remove file.
3945 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3946 <bp-checks.h> and <bp-semctl.h>.
3947 (__old_semctl): Don't use CHECK_SEMCTL.
3948 (__new_semctl): Likewise.
3949 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3950 and <bp-semctl.h>.
3951 (__old_semctl): Don't use CHECK_SEMCTL.
3952 (__new_semctl): Likewise.
3953 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3954 <bp-checks.h> and <bp-semctl.h>.
3955 (__old_semctl): Don't use CHECK_SEMCTL.
3956 (__new_semctl): Likewise.
3957 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3958 <bp-checks.h> and <bp-semctl.h>.
3959 (semctl): Don't use CHECK_SEMCTL.
3960
c2d54929
JM
3961 [BZ #13550]
3962 * Makerules (elide-bp-thunks): Remove variable.
3963 (elide-routines.oS): Don't use $(elide-bp-thunks).
3964 (elide-routines.os): Likewise.
3965 (elide-routines.o): Likewise.
3966 (elide-routines.op): Likewise.
3967 (elide-routines.og): Likewise.
3968 (objects): Don't use $(bp-thunks).
3969 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3970 include.
3971 (common-generated): Do not add s-proto-bp.d.
3972 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3973 (int): Likewise.
3974 (typ): Likewise.
3975 Do not generate makefile rules for bounded-pointer thunks.
3976 * sysdeps/generic/bp-thunks.h: Remove file.
3977 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3978 * sysdeps/unix/s-proto-bp.S: Likewise.
3979
8cf28c5e
JM
3980 [BZ #15062]
3981 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3982 parts of result separately when argument is not close to line from
3983 -i to i and one part of argument is small.
3984 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3985 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3986 * math/libm-test.inc (cacos_test): Add more tests.
3987 (casin_test): Likewise.
3988 (casinh_test): Likewise.
3989 * sysdeps/i386/fpu/libm-test-ulps: Update.
3990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3991
c4e33b8d
DM
39922013-01-31 David S. Miller <davem@davemloft.net>
3993
3994 * po/de.po: Update from translation team.
3995
3b60b421
MK
39962013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3997
3998 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3999
bb931195
TS
40002013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4001
b5a5da23
TS
4002 * configure.in (_AC_PROG_CC_C89): New definition.
4003 * configure: Regenerate.
4004
bb931195
TS
4005 * configure.in (AC_PROG_CPP): New definition.
4006 * configure: Regenerate.
4007
8c53a12c
JM
40082013-01-23 Joseph Myers <joseph@codesourcery.com>
4009
4010 * debug/tst-backtrace.h: New file.
4011 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4012 (ret): Remove variable.
4013 (x): Likewise.
4014 (FAIL): Remove macro.
4015 (NO_INLINE): Likewise.
4016 (fn1): Use match function instead of strstr.
4017 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4018 (ret): Remove variable.
4019 (x): Likewise.
4020 (FAIL): Remove macro.
4021 (NO_INLINE): Likewise.
4022 (fn): Use match function instead of strstr.
4023 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4024 (ret): Remove variable.
4025 (x): Likewise.
4026 (FAIL): Remove macro.
4027 (NO_INLINE): Likewise.
4028 (handle_signal): Use match function instead of strstr.
4029 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4030 (ret): Remove variable.
4031 (x): Likewise.
4032 (FAIL): Remove macro.
4033 (NO_INLINE): Likewise.
4034 (handle_signal): Use match function instead of strstr.
4035
4858fa2a
RM
40362013-01-23 Roland McGrath <roland@hack.frob.com>
4037
4038 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4039
bae8e7f5
DM
40402013-01-23 David S. Miller <davem@davemloft.net>
4041
4042 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4043 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4044 argument of CAS if possible.
4045 * sysdeps/sparc/sparc64/bits/atomic.h
4046 (__arch_compare_and_exchange_val_32_acq): Likewise.
4047 (__arch_compare_and_exchange_val_64_acq): Likewise.
4048
9cbbc4ae
PT
40492013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4050
4051 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4052 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4053 Include <limits.h>.
67b3f58c 4054 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4055
5655a0b5
AC
40562013-01-23 Adam Conrad <adconrad@0c3.net>
4057
4058 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4059 (LDFLAGS-tst-array5): Likewise.
4060
052aff95
JM
40612013-01-23 Joseph Myers <joseph@codesourcery.com>
4062
4063 [BZ #15036]
4064 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4065 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4066 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4067 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4068
7c1e01aa
DM
40692013-01-21 David S. Miller <davem@davemloft.net>
4070
4071 * sysdeps/sparc/backtrace.c: New file.
4072 * sysdeps/sparc/sparc32/backtrace.h: New file.
4073 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4074 * sysdeps/sparc/sparc64/backtrace.h: New file.
4075 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4076 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4077 -funwind-tables.
4078
ab087e0a
AS
40792013-01-21 Andreas Schwab <schwab@suse.de>
4080
4081 [BZ #15020]
4082 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4083 closed its stdout.
4084
ed689c2f
AS
40852013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4086
4087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4088 "mpa2.h".
4089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4090
31d470ac
JM
40912013-01-18 Joseph Myers <joseph@codesourcery.com>
4092 Mark Mitchell <mark@codesourcery.com>
4093 Tom de Vries <tom@codesourcery.com>
4094 Paul Pluzhnikov <ppluzhnikov@google.com>
4095
4096 * debug/tst-backtrace2.c: New file.
4097 * debug/tst-backtrace3.c: Likewise.
4098 * debug/tst-backtrace4.c: Likewise.
4099 * debug/tst-backtrace5.c: Likewise.
4100 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4101 (CFLAGS-tst-backtrace3.c): Likewise.
4102 (CFLAGS-tst-backtrace4.c): Likewise.
4103 (CFLAGS-tst-backtrace5.c): Likewise.
4104 (LDFLAGS-tst-backtrace2): Likewise.
4105 (LDFLAGS-tst-backtrace3): Likewise.
4106 (LDFLAGS-tst-backtrace4): Likewise.
4107 (LDFLAGS-tst-backtrace5): Likewise.
4108 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4109 tst-backtrace4 and tst-backtrace5.
4110
90567f30 41112013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4112 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4113
4114 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4115 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4116 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4117 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4119 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4120 "+r" and remove output regs list as redundant. Add explicit inline
4121 asm to specify register of return val to work around compiler codegen
4122 bug. Remove (int) cast on return value. Add return type parameter to
4123 use in macro so that this macro does not truncate return value for
4124 64-bit values.
4125 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4126 pass to INTERNAL_VSYSCALL_NCS.
4127 (INLINE_VSYSCALL): Add 'long int' as return type to
4128 INTERNAL_VSYSCALL_NCS macro invocation.
4129 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4130 INTERNAL_VSYSCALL_NCS macro invocation.
4131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4132
d3b9ea61
SP
41332013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4134
0b57daeb
SP
4135 [BZ #14496]
4136 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4137 Fix application of SIMD FP exception mask.
4138
caa99d06
SP
4139 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4140 mp_no from a power of two.
4141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4142 __mpexp_twomm1. Use __pow_mp.
4143
d3b9ea61
SP
4144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4145 multiplication.
4146
1dbaee3c
DM
41472013-01-17 David S. Miller <davem@davemloft.net>
4148
4149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4150
728d7b43
JM
41512013-01-17 Joseph Myers <joseph@codesourcery.com>
4152
4153 [BZ #15023]
4154 * include/complex.h: Condition contents on [!_COMPLEX_H].
4155 (__kernel_casinhf): New prototype.
4156 (__kernel_casinh): Likewise.
4157 (__kernel_casinhl): Likewise.
4158 * math/Makefile (libm_calls): Add k_casinh.
4159 * math/k_casinh.c: New file.
4160 * math/k_casinhf.c: Likewise.
4161 * math/k_casinhl.c: Likewise.
4162 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4163 finite nonzero arguments.
4164 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4165 finite nonzero arguments.
4166 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4167 finite nonzero arguments.
4168 * math/s_casinh.c: Do not include <float.h>.
4169 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4170 * math/s_casinhf.c: Do not include <float.h>.
4171 (__casinhf): Move code for finite nonzero arguments to
4172 k_casinhf.c.
4173 * math/s_casinhl.c: Do not include <float.h>.
4174 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4175 redefine.
4176 (__casinhl): Move code for finite nonzero arguments to
4177 k_casinhl.c.
4178 * math/libm-test.inc (cacos_test): Add more tests.
4179 * sysdeps/i386/fpu/libm-test-ulps: Update.
4180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4181
2a26ef3a
PT
41822013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4183
4184 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4185 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4186 [!HAVE_MREMAP]: Remove [defined linux] case.
4187 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4188
a897655d
SP
41892013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4190
4191 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4192
881ebe89 41932013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4194
4195 * elf/elf.h (R_386_SIZE32): New relocation.
4196 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4197 R_386_SIZE32.
4198 (elf_machine_rela): Likewise.
4199 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4200 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4201
59981e9b
JM
42022013-01-17 Joseph Myers <joseph@codesourcery.com>
4203
4204 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4205 (FP_FAST_FMA): Do not define.
4206 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4207 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4208 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4209 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4210 !_SOFT_FLOAT]: Likewise.
4211 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4212 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4213 value.
4214 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4215 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4216 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4217 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4218 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4219 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4220 file.
4221
cfa8054f
AS
42222013-01-16 Andreas Schwab <schwab@suse.de>
4223
4224 [BZ #14327]
4225 * include/stdlib.h (__mktemp): Add declaration.
4226 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4227 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4228
dd930cc5
SP
42292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4230
881ebe89
SP
4231 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4232 definitions.
4233 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4234 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4235 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4236 definitions here.
4237 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4238 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4239 definitions.
4240 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4241 and ONE.
4242 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4243 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4244 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4245 definitions.
4246 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4247 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4248 definitions.
4249 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4250
dd930cc5
SP
4251 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4252
c19a9f89
DM
42532013-01-15 David S. Miller <davem@davemloft.net>
4254
1aa61767
DM
4255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4256 trunc{,f} to libm-sysdep_routes.
4257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4259 file.
4260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4262 file.
4263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4264 file.
4265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4267 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4268 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4269 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4270 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4271 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4272 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4273
c42d5e98
DM
4274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4275 nearbyint{,f} to libm-sysdep_routes.
4276 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4278 New file.
4279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4280 file.
4281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4282 New file.
4283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4284 file.
4285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4287 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4288 file.
4289 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4290 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4291 file.
4292 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4293 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4294 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4295
c19a9f89
DM
4296 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4297 libc_feholdexcept and libc_fesetenv.
4298
357679d2
MF
42992013-01-15 Mike Frysinger <vapier@gentoo.org>
4300
4301 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4302
65a82e3d
DM
43032013-01-14 David S. Miller <davem@davemloft.net>
4304
8b954ab9
DM
4305 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4306 (SPARC_ASM_VIS2_IFUNC): Likewise.
4307 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4309 use of 'siam' instruction.
4310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4311 Likewise.
4312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4313 Likewise.
4314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4315 Likewise.
4316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4321 file.
4322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4323 file.
4324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4325 file.
4326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4327 file.
4328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4333 new VIS2 routines.
4334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4337 Likewise.
4338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4343 routines to libm-sysdep_routines.
4344 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4345
65a82e3d
DM
4346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4347 fdim/fdimf to libm-sysdep_routines.
4348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4349 file.
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4352 file.
4353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4356 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4357 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4358 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4359 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4360
e34ab705
SP
43612013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4362
2a91b573
SP
4363 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4364 to optimize copies.
4365
1066a534
SP
4366 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4369
e34ab705
SP
4370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4371 local variable MPTWO.
4372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4373 Likewise.
4374
aba5e596
MF
43752013-01-13 Mike Frysinger <vapier@gentoo.org>
4376
4377 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4378 GLOB_NOESCAPE.
4379
e557e9e5
MF
43802013-01-13 Mike Frysinger <vapier@gentoo.org>
4381
4382 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4383
0428cec9
MF
43842013-01-13 Mike Frysinger <vapier@gentoo.org>
4385
4386 * manual/pattern.texi (glob_t): Document gl_flags.
4387 (glob64_t): Likewise.
4388
8794a964
DM
43892013-01-11 David S. Miller <davem@davemloft.net>
4390
66438c3f
RM
4391 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4392 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4393 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4394 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4395 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4396 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4397 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4398 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4399 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4400 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4401 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4402 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4403 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4404
4ae4244d
DM
4405 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4406 sparc V9 rather than using V8 code.
4407 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4408 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4409
8794a964
DM
4410 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4411 Move to...
4412 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4413 Here.
4414
6270516e
RM
44152013-01-11 Roland McGrath <roland@hack.frob.com>
4416
4417 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4418 not in the main loop.
4419 * configure: Regenerated.
4420
6a57d931
JM
44212013-01-11 Joseph Myers <joseph@codesourcery.com>
4422
4423 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4424 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4425 to just #else.
4426 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4427 [!__GLIBC_HAVE_LONG_LONG] case.
4428 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4429 condition to just #else.
4430 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4431 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4432 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4433 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4434 unconditional.
4435 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4436 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4437 #elif condition to just #else.
4438 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4439 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4440 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4441 #elif condition to just #else.
4442
0e8529e9
SE
44432013-01-11 Steve Ellcey <sellcey@mips.com>
4444
4445 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4446 (EF_MIPS_ARCH_64): Fix value.
4447 (EF_MIPS_ARCH_32R2): New.
4448 (EF_MIPS_ARCH_64R2): New.
4449
740b3dbe
L
44502013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4451
4452 * Makeconfig (+link-pie-before-libc): New.
4453 (+link-pie-after-libc): Likewise.
4454 (+link-pie-tests): Likewise.
4455 (+link-pie): Rewritten.
4456 (link-before-libc): Remove $(config-LDFLAGS).
4457 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4458 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4459 (config-LDFLAGS): Renamed to ...
4460 (rtld-LDFLAGS): This.
4461 (rtld-tests-LDFLAGS): New macro.
4462 (link-libc-rpath-link): Likewise.
4463 (link-libc-tests-rpath-link): Likewise.
4464 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4465 (link-libc): Prepand $(link-libc-rpath-link).
4466 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4467 (test-program-prefix): New macro.
4468 (test-via-rtld-prefix): Likewise.
4469 (test-program-cmd): Likewise.
4470 (host-test-program-cmd): Likewise.
4471 * Makefile ($(common-objpfx)testrun.sh): Replace
4472 $(run-program-prefix) with $(test-program-prefix).
4473 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4474 $(rtld-LDFLAGS).
4475 ($(common-objpfx)shlib.lds): Likewise.
4476 (build-module-helper): Likewise.
4477 ($(common-objpfx)format.lds): Likewise.
4478 * Rules (binaries-pie-tests): New.
4479 (binaries-pie-notests): Likewise.
4480 (binaries-pie): Rewritten.
4481 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4482 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4483 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4484 (make-test-out): Replace $(host-built-program-cmd) with
4485 $(host-test-program-cmd).
4486 * config.make.in (build-hardcoded-path-in-tests): New variable.
4487 * configure.in (--enable-hardcoded-path-in-tests): New configure
4488 option.
4489 (hardcoded_path_in_tests): New AC_SUBST.
4490 * configure: Regenerated.
4491 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4492 $(built-program-cmd) with $(test-program-cmd).
4493 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4494 (test_program_cmd): This.
4495 * elf/Makefile ($(objpfx)order.out): Run test with
4496 $(test-program-prefix).
4497 ($(objpfx)order2.out): Likewise.
4498 ($(objpfx)tst-initorder.out): Likewise.
4499 ($(objpfx)tst-initorder2.out): Likewise.
4500 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4501 $(test-program-cmd).
4502 ($(objpfx)tst-array1-static.out): Likewise.
4503 ($(objpfx)tst-array2.out): Likewise.
4504 ($(objpfx)tst-array3.out): Likewise.
4505 ($(objpfx)tst-array4.out): Likewise.
4506 ($(objpfx)tst-array5.out): Likewise.
4507 ($(objpfx)tst-array5-static.out): Likewise.
4508 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4509 $(test-program-cmd).
4510 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4511 $(run-program-prefix) with $(test-program-prefix).
4512 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4513 (test_program_prefix): This.
4514 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4515 $(run-program-prefix) with $(test-program-prefix).
4516 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4517 (test_program_prefix): This.
4518 * iconvdata/tst-tables.sh: Likewise.
4519 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4520 $(run-program-prefix) with $(test-program-prefix).
4521 ($(objpfx)tst-translit.out): Likewise.
4522 ($(objpfx)tst-gettext2.out): Likewise.
4523 ($(objpfx)tst-gettext4.out): Likewise.
4524 ($(objpfx)tst-gettext6.out): Likewise.
4525 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4526 (test_program_prefix): This.
4527 * intl/tst-gettext2.sh: Likewise.
4528 * intl/tst-gettext4.sh Likewise.
4529 * intl/tst-gettext6.sh: Likewise.
4530 * intl/tst-translit.sh: Likewise.
4531 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4532 with $(test-program-cmd).
4533 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4534 $(run-program-prefix) with $(test-program-prefix).
4535 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4536 (test_program_prefix): This.
4537 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4538 $(run-program-prefix) with $(test-program-prefix).
4539 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4540 (test_program_prefix): This.
4541 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4542 * posix/Makefile ($(objpfx)globtest.out): Replace
4543 $(run-via-rtld-prefix) and $(test-wrapper) with
4544 $(test-program-prefix) and $(test-via-rtld-prefix).
4545 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4546 $(test-program-prefix).
4547 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4548 $(host-test-program-cmd).
4549 (tst-spawn-ARGS): Likewise.
4550 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4551 $(test-program-prefix).
4552 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4553 (test_via_rtld_prefix): This.
4554 (test_wrapper): Renamed to ...
4555 (test_program_prefix): This.
4556 (run_program_prefix): Replaced by test_program_prefix.
4557 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4558 (test_program_prefix): This.
4559 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4560 with $(host-test-program-cmd).
4561 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4562 $(run-program-prefix) with $(test-program-prefix).
4563 ($(objpfx)tst-printf.out): Likewise.
4564 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4565 $(test-program-cmd).
4566 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4567 (test_program_prefix): This.
4568 * stdio-common/tst-unbputc.sh: Likewise.
4569 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4570 $(run-program-prefix) with $(test-program-prefix).
4571 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4572 (test_program_prefix): This.
4573 * string/Makefile ($(objpfx)tst-svc.out): Replace
4574 $(built-program-cmd) with $(test-program-cmd).
4575
c6fe55cf
AJ
45762013-01-11 Andreas Jaeger <aj@suse.de>
4577
4578 [BZ #15003]
4579 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4580 value. Sync with Linux 3.7.
4581
9e6919c8
DM
45822013-01-10 David S. Miller <davem@davemloft.net>
4583
4584 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4585 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4586 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4587
1c9f1a02
RM
45882013-01-10 Roland McGrath <roland@hack.frob.com>
4589
4590 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4591 never set.
4592 * configure: Regenerated.
4593
b9de2dde
DM
45942013-01-10 David S. Miller <davem@davemloft.net>
4595
4596 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4597 sparc V9 rather than using V8 code.
4598 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4599 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4600
e7f68ef4
RM
46012013-01-10 Roland McGrath <roland@hack.frob.com>
4602
4603 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4604 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4605 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4606 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4607 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4608 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4609 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4610 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4611 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4612 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4613 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4614 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4615 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4616 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4617 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4618 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4619 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4620 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4621 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4622 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4623 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4624 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4625 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4626 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4627 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4628 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4629 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4630
5a47cc9c
DM
46312013-01-10 David S. Miller <davem@davemloft.net>
4632
4633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4634
4cf8f209
L
46352013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4636
4637 * posix/Makefile (tests-static): New variable.
4638 (tests): Add $(tests-static).
4639 (tst-exec-static-ARGS): New variable.
4640 (tst-spawn-static-ARGS): Likewise.
4641 * posix/tst-exec-static.c: New file.
4642 * posix/tst-spawn-static.c: Likewise.
4643 * posix/tst-exec.c: Support run directly.
4644 * posix/tst-spawn.c: Likewise.
4645
fed0faa1
JM
46462013-01-10 Joseph Myers <joseph@codesourcery.com>
4647
828beb13
JM
4648 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4649 long.
4650 * math/bits/mathcalls.h (llrint): Likewise.
4651 (llround): Likewise.
4652 * stdlib/stdlib.h (struct drand48_data): Likewise.
4653 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4654 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4655 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4656 Likewise.
4657 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4658 Likewise.
4659 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4660 (elf_greg_t): Likewise.
4661 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4662 (__jmp_buf): Likewise.
4663 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4664 definitions.
4665 (llrint): Likewise, for all definitions.
4666 (llrintl): Likewise.
4667
fed0faa1
JM
4668 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4669 Remove [__GNUC__] condition.
4670 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4671 condition to just [__USE_ISOC99].
4672 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4673
1a20cb20
L
46742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4675
4676 [BZ #14200]
4677 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4678 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4679 defined.
4680 (_POSIX_V6_ILP32_OFF32): Likewise.
4681 (_XBS5_ILP32_OFF32): Likewise.
4682 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4683 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4684
751b85f7
SP
46852013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4686
7490eb81
SP
4687 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4688
751b85f7
SP
4689 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4690 doubles __mpexp_twomm1. Adjust usage.
4691 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4692 Remove.
4693
988197f0
AS
46942013-01-10 Andreas Schwab <schwab@suse.de>
4695
4696 [BZ #14964]
4697 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4698 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4699
e83d7298
DM
47002013-01-09 David S. Miller <davem@davemloft.net>
4701
034ed64b 4702 [BZ #15003]
e83d7298
DM
4703 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4704 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4705 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4706 TCP_FASTOPEN): Define.
4707 (tcp_repair_opt): New structure.
4708 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4709 enum values.
4710 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4711 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4712 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4713 (tcp_cookie_transactions): New structure.
4714
d5e0b9bd
AB
47152013-01-09 Anton Blanchard <anton@samba.org>
4716
4717 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4718 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4719 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4720 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4721
0c07e3ea
JM
47222013-01-09 Joseph Myers <joseph@codesourcery.com>
4723
4724 * include/features.h (__USE_ANSI): Remove.
4725
232f7002
RM
47262013-01-09 Roland McGrath <roland@hack.frob.com>
4727
ad98e30c
RM
4728 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4729
232f7002
RM
4730 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4731
950c99ca
SP
47322013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4733
b5792741
SP
4734 * sysdeps/s390/fpu/libm-test-ulps: Update.
4735
47cf2278
SP
4736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4737
950c99ca
SP
4738 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4739 (__acr): Likewise.
4740 (__cpy): Likewise.
4741 (norm): Likewise.
4742 (denorm): Likewise.
4743 (__mp_dbl): Likewise.
4744 (__dbl_mp): Likewise.
4745 (add_magnitudes): Likewise.
4746 (sub_magnitudes): Likewise.
4747 (__add): Likewise.
4748 (__sub): Likewise.
4749 (__mul): Likewise.
4750 (__inv): Likewise.
4751 (__dvd): Likewise.
4752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4753 (__acr): Likewise.
4754 (__cpy): Likewise.
4755 (norm): Likewise.
4756 (denorm): Likewise.
4757 (__mp_dbl): Likewise.
4758 (__dbl_mp): Likewise.
4759 (add_magnitudes): Likewise.
4760 (sub_magnitudes): Likewise.
4761 (__add): Likewise.
4762 (__sub): Likewise.
4763 (__mul): Likewise.
4764 (__inv): Likewise.
4765 (__dvd): Likewise.
4766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4767 (__acr): Likewise.
4768 (__cpy): Likewise.
4769 (norm): Likewise.
4770 (denorm): Likewise.
4771 (__mp_dbl): Likewise.
4772 (__dbl_mp): Likewise.
4773 (add_magnitudes): Likewise.
4774 (sub_magnitudes): Likewise.
4775 (__add): Likewise.
4776 (__sub): Likewise.
4777 (__mul): Likewise.
4778 (__inv): Likewise.
4779 (__dvd): Likewise.
4780
eede9df9
JM
47812013-01-08 Joseph Myers <joseph@codesourcery.com>
4782
4783 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4784 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4785 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4786 2 && __USE_EXTERN_INLINES]: Likewise.
4787
c40ea3d9
AJ
47882013-01-08 Andreas Jaeger <aj@suse.de>
4789
4790 [BZ# 14985]
4791 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4792 Remove.
4793 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4794 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4795
2ccdea26
AB
47962013-01-07 Anton Blanchard <anton@samba.org>
4797
4798 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4799 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4800 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4801 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4802 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4803 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4804 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4805 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4807 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4808 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4809 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4810 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4811 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4812 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4813 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4814 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4815 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4816 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4817 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4818 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4819 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4820 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4821 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4822 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4823 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4824 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4825 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4826 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4827 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4828 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4830 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4831 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4832 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4833 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4834 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4835 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4836 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4837 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4838 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4840 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4841
a9708fed
JM
48422013-01-07 Joseph Myers <joseph@codesourcery.com>
4843
375607b9
JM
4844 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4845 (__MALLOC_PMT): Likewise.
4846 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4847 [__GNUC__], only on [_LIBC].
4848 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4849 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4850 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4851 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4852 forward declaration.
4853 (realloc_hook_ini): Likewise.
4854 (memalign_hook_ini): Likewise.
4855 (__libc_memalign): Do not use __MALLOC_PMT in variable
4856 declaration.
4857 (__libc_valloc): Likewise.
4858 (__libc_pvalloc): Likewise.
4859 (__libc_calloc): Likewise.
4860 (__posix_memalign): Likewise.
4861
a9708fed
JM
4862 [BZ #14996]
4863 * math/s_casinh.c: Include <float.h>.
4864 (__casinh): Do not do computation with squaring and square root
4865 for large arguments.
4866 * math/s_casinhf.c: Include <float.h>.
4867 (__casinhf): Do not do computation with squaring and square root
4868 for large arguments.
4869 * math/s_casinhl.c: Include <float.h>.
4870 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4871 (__casinhl): Do not do computation with squaring and square root
4872 for large arguments.
4873 * math/libm-test.inc (casin_test): Add more tests.
4874 (casinh_test): Likewise.
4875 * sysdeps/i386/fpu/libm-test-ulps: Update.
4876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877
afec409a
L
48782013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4879
4880 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4881 (__x86_64_raw_data_cache_size): Likewise.
4882 (__x86_64_data_cache_size_half): Likewise.
4883 (__x86_64_raw_data_cache_size_half): Likewise.
4884 (__x86_64_shared_cache_size): Likewise.
4885 (__x86_64_raw_shared_cache_size): Likewise.
4886 (__x86_64_shared_cache_size_half): Likewise.
4887 (__x86_64_raw_shared_cache_size_half): Likewise.
4888 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4889 to ...
4890 (__x86_data_cache_size): This.
4891 (__x86_64_raw_data_cache_size): Renamed to ...
4892 (__x86_raw_data_cache_size): This.
4893 (__x86_64_data_cache_size_half): Renamed to ...
4894 (__x86_data_cache_size_half): This.
4895 (__x86_64_raw_data_cache_size_half): Renamed to ...
4896 (__x86_raw_data_cache_size_half): This.
4897 (__x86_64_shared_cache_size): Renamed to ...
4898 (__x86_shared_cache_size): This.
4899 (__x86_64_raw_shared_cache_size): Renamed to ...
4900 (__x86_raw_shared_cache_size): This.
4901 (__x86_64_shared_cache_size_half): Renamed to ...
4902 (__x86_shared_cache_size_half): This.
4903 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4904 (__x86_raw_shared_cache_size_half): This.
4905 * sysdeps/x86_64/memcpy.S: Updated.
4906 * sysdeps/x86_64/memset.S: Likewise.
4907 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4908 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4909 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4910
0b3986d0
DM
49112013-01-04 David S. Miller <davem@davemloft.net>
4912
4913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4914
e47686e9
AS
49152013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4916
d643bac1
AS
4917 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4918 1 to avoid redefinition warning.
4919 (__USE_GNU): Don't define.
4920 (init_signaling_nan): Protoize.
4921
e47686e9
AS
4922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4923
b18decba
SP
49242013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4925
fffb407f
SP
4926 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4928 (__cpymn): Likewise.
4929 (norm): Remove commented code.
4930 (denorm): Likewise.
4931 (__mp_dbl): Likewise.
4932 (__inv): Likewise.
4933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4934 (__cpymn): Likewise.
4935 (norm): Remove commented code.
4936 (denorm): Likewise.
4937 (__mp_dbl): Likewise.
4938 (__inv): Likewise.
4939
b18decba
SP
4940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4941 mp_no value for 1.0 and 2.0.
4942 (norm): Use RADIXI instead of radixi.d.
4943 (denorm): Likewise.
4944 (__mul): Use 0.0 instead of zero.d.
4945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4946 mp_no value for 1.0 and 2.0.
4947 (norm): Use RADIXI instead of radixi.d.
4948 (denorm): Likewise.
4949 (__mul): Use 0.0 instead of zero.d.
4950
cdc1c96f
JM
49512013-01-04 Joseph Myers <joseph@codesourcery.com>
4952
4953 [BZ #14994]
4954 * math/s_casinh.c (__casinh): Reduce finite argument to first
4955 quadrant then set signs of results at the end.
4956 * math/s_casinhf.c (__casinhf): Likewise.
4957 * math/s_casinhl.c (__casinhl): Likewise.
4958 * math/libm-test.inc (casin_test): Add more tests.
4959 (casinh_test): Likewise.
4960 * sysdeps/i386/fpu/libm-test-ulps: Update.
4961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4962
302913e1
SP
49632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4964
6420d207
SP
4965 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4966
a9e48ab4
SP
4967 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4968
b7837264
SP
4969 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4970 declarations.
4971 (denorm): Likewise.
4972 (__mp_dbl): Likewise.
4973 (__inv): Likewise.
4974
f8af25d2
SP
4975 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4976 and adjust the header comment.
4977
302913e1
SP
4978 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4979 variable name from declaration.
4980
5d7dd1ca
L
49812013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4982
4983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4984 Initialize COMMON_CPUID_INDEX_7 element.
4985 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4986 (CPUID_RTM): Likewise.
4987 (HAS_RTM): Likewise.
4988 (COMMON_CPUID_INDEX_7): New enum.
4989
2f5f40f4
AS
49902013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4991
4992 [BZ #14981]
4993 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4994 size is zero, record memory as freed.
4995
4056f4a0
AJ
49962013-01-03 Andreas Jaeger <aj@suse.de>
4997
4998 * po/ia.po: Add new Interlingua translation.
4999
ab15736f 50002012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5001
5002 * locale/programs/localedef.c: Fix description of '--posix' flag.
5003
568035b7
JM
50042013-01-02 Joseph Myers <joseph@codesourcery.com>
5005
e6898b8d
JM
5006 * NEWS: Update dates in second copyright notice.
5007 * README: Update copyright dates in example.
5008 * manual/libc.texinfo: Update copyright dates.
5009 * scripts/test-installation.pl: Update copyright date in --version
5010 output.
5011
0e2f9562
JM
5012 * hurd/ctty-input.c: Fix copyright notice formatting.
5013 * hurd/ctty-output.c: Likewise.
5014 * hurd/dtable.c: Likewise.
5015 * hurd/hurd-raise.c: Likewise.
5016 * hurd/hurdprio.c: Likewise.
5017 * hurd/msgportdemux.c: Likewise.
5018 * misc/sys/file.h: Likewise.
5019 * misc/sys/ioctl.h: Likewise.
5020 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5021 * sysdeps/mach/hurd/chdir.c: Likewise.
5022 * sysdeps/mach/hurd/fchdir.c: Likewise.
5023 * sysdeps/mach/hurd/rename.c: Likewise.
5024 * sysdeps/mach/hurd/rmdir.c: Likewise.
5025 * sysdeps/mach/hurd/seekdir.c: Likewise.
5026 * sysdeps/mach/hurd/setsid.c: Likewise.
5027 * sysdeps/posix/wait3.c: Likewise.
5028
568035b7
JM
5029 * All files with FSF copyright notices: Update copyright dates
5030 using scripts/update-copyrights.
5031 * intl/plural.c: Regenerated.
5032 * locale/programs/charmap-kw.h: Likewise.
5033 * locale/programs/locfile-kw.h: Likewise.
5034
da08f647
SP
50352013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5036
0f5477af
SP
5037 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5038 four values.
5039
44e0d4c2
SP
5040 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5041 calculation loop and add branch prediction.
5042
4d55b4e5
SP
5043 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5044 check access beyond bounds of m1np.
5045
da08f647
SP
5046 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5047 MPTWO.
5048 (__inv): Remove local variable MPTWO to use the global
5049 constant.
5050 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5051 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5052 variable MPTWO.
5053 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5054 MP3HALFS static const.
5055
8e051029
DM
50562013-01-01 David S. Miller <davem@davemloft.net>
5057
5058 * po/ca.po: Update from translation team.
5059
f4cf5f2d
JM
50602013-01-01 Joseph Myers <joseph@codesourcery.com>
5061
5062 * scripts/update-copyrights: New file.
5063 * Makeconfig: Reformat copyright notice.
5064 * ctype/ctype.h: Likewise.
5065 * debug/swprintf_chk.c: Likewise.
5066 * elf/dl-cache.c: Likewise.
5067 * elf/dl-debug.c: Likewise.
5068 * elf/dl-object.c: Likewise.
5069 * grp/initgroups.c: Likewise.
5070 * hurd/Makefile: Likewise.
5071 * hurd/hurd/signal.h: Likewise.
5072 * hurd/hurdfault.c: Likewise.
5073 * hurd/hurdioctl.c: Likewise.
5074 * hurd/hurdlookup.c: Likewise.
5075 * hurd/intr-msg.c: Likewise.
5076 * iconv/gconv_open.c: Likewise.
5077 * libio/swprintf.c: Likewise.
5078 * locale/lc-ctype.c: Likewise.
5079 * locale/nl_langinfo.c: Likewise.
5080 * mach/Machrules: Likewise.
5081 * mach/Makefile: Likewise.
5082 * malloc/obstack.h: Likewise.
5083 * manual/Makefile: Likewise.
5084 * manual/tsort.awk: Likewise.
5085 * misc/bits/stab.def: Likewise.
5086 * nis/nis_print_group_entry.c: Likewise.
5087 * nis/nis_table.c: Likewise.
5088 * nis/nss_compat/compat-pwd.c: Likewise.
5089 * nis/nss_compat/compat-spwd.c: Likewise.
5090 * po/Makefile: Likewise.
5091 * posix/fnmatch.c: Likewise.
5092 * posix/regex.h: Likewise.
5093 * resolv/Makefile: Likewise.
5094 * resolv/nss_dns/dns-network.c: Likewise.
5095 * resolv/res_hconf.c: Likewise.
5096 * scripts/gen-sorted.awk: Likewise.
5097 * soft-fp/soft-fp.h: Likewise.
5098 * stdio-common/printf.h: Likewise.
5099 * stdlib/monetary.h: Likewise.
5100 * stdlib/random.c: Likewise.
5101 * stdlib/random_r.c: Likewise.
5102 * sysdeps/generic/Makefile: Likewise.
5103 * sysdeps/gnu/Makefile: Likewise.
5104 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5105 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5106 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5108 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5110 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5112 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5114 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5115 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5116 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5117 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5118 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5126 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5128 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5129 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5130 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5131 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5132 * sysdeps/mach/hurd/errnos.awk: Likewise.
5133 * sysdeps/mach/hurd/fork.c: Likewise.
5134 * sysdeps/mach/hurd/getcwd.c: Likewise.
5135 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5136 * sysdeps/mach/hurd/mmap.c: Likewise.
5137 * sysdeps/mach/hurd/utimes.c: Likewise.
5138 * sysdeps/mach/hurd/xmknod.c: Likewise.
5139 * sysdeps/posix/profil.c: Likewise.
5140 * sysdeps/posix/readdir_r.c: Likewise.
5141 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5142 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5143 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5144 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5146 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5147 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5148 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5150 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5151 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5152 * sysdeps/pthread/lio_listio.c: Likewise.
5153 * sysdeps/sparc/dl-procinfo.h: Likewise.
5154 * sysdeps/unix/i386/sysdep.S: Likewise.
5155 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5156 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5157 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5158 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5160 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5161 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5162 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5163 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5164 * sysdeps/wordsize-32/divdi3.c: Likewise.
5165 * time/sys/time.h: Likewise.
5166 * wcsmbs/Makefile: Likewise.
5167
0549fbba
DM
51682013-01-01 David S. Miller <davem@davemloft.net>
5169
a141f1a7
DM
5170 * po/fr.po: Update from translation team.
5171
0549fbba
DM
5172 * catgets/gencat.c: Update copyright year.
5173 * csu/version.c: Likewise.
5174 * debug/catchsegv.sh: Likewise.
5175 * debug/pcprofiledump.c: Likewise.
5176 * debug/xtrace.sh: Likewise.
5177 * elf/ldconfig.c: Likewise.
5178 * elf/ldd.bash.in: Likewise.
5179 * elf/pldd.c: Likewise.
5180 * elf/sotruss.ksh: Likewise.
5181 * elf/sprof.c: Likewise.
5182 * iconv/iconv_prog.c: Likewise.
5183 * iconv/iconvconfig.c: Likewise.
5184 * locale/programs/locale.c: Likewise.
5185 * locale/programs/localedef.c: Likewise.
5186 * login/programs/pt_chown.c: Likewise.
5187 * malloc/memusage.sh: Likewise.
5188 * malloc/memusagestat.c: Likewise.
5189 * malloc/mtrace.pl: Likewise.
5190 * nscd/nscd.c: Likewise.
5191 * nss/getent.c: Likewise.
5192 * nss/makedb.c: Likewise.
5193 * posix/getconf.c: Likewise.
5194
18ea052c
SP
51952012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5196
5197 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5198 numbers.
5199
9c89fca6
MF
52002012-12-30 Mike Frysinger <vapier@gentoo.org>
5201
5202 * math/bits/mathcalls.h (modf): Use __nonnull.
5203
085ec079
SP
52042012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5205
5206 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5207 (split): Use macro CN instead of the bare value.
5208 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5209 could be used.
5210 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5211 instead of the bare value.
5212 (power1): Likewise.
5213
6d9f97e1
SP
52142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5215
d63f73be
SP
5216 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5217 __ATAN_TWOM.
5218 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5219
6d9f97e1
SP
5220 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5221 their values.
5222 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5223 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5224 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5225 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5226
4c4febf5
AJ
52272012-12-28 Andreas Jaeger <aj@suse.de>
5228
af5843ef
AJ
5229 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5230 values are from Linux 3.7.
5231
4c4febf5
AJ
5232 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5233 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5234
99136f82
SP
52352012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5236
2f216c3c 5237 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5238 TRUE case.
5239
99136f82
SP
5240 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5241 (norm): Likewise.
5242 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5243 variables with preprocessor constants.
5244 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5245 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5246 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5247
7fffbdff
BH
52482012-12-27 Bruno Haible <bruno@clisp.org>
5249
5250 [BZ #14317]
5251 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5252 only if needed.
5253
b76eb5f0
SP
52542012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5255
31a7fe5c
SP
5256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5257 and use variable directly.
5258 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5259
b76eb5f0
SP
5260 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5261 MPONE.
5262 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5263 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5264 variable MPONE.
5265 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5267 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5268 include directive. Remove local variable MPONE.
5269 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5270 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5271 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5272
2c8bfe7d
DM
52732012-12-25 David S. Miller <davem@davemloft.net>
5274
5275 * version.h (RELEASE): Set to "development".
5276 (VERSION): Set to "2.17.90".
5277 * NEWS: Add 2.18 section.
5278
147d03b0
DM
52792012-12-21 David S. Miller <davem@davemloft.net>
5280
5281 * po/hr.po: Update from translation team.
5282
a8ebb2b9
AK
52832012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5284
5285 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5286
95b4f1b6
SE
52872012-12-19 Steve Ellcey <sellcey@mips.com>
5288
b2d94007 5289 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5290
cedb2a90
MS
52912012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5292
5293 * manual/contrib.texi (Contributors): Spelling correction.
5294
bbf527d6
DM
52952012-12-15 David S. Miller <davem@davemloft.net>
5296
5297 * po/ru.po: Update from translation team.
5298
bc38c906
DM
52992012-12-13 David S. Miller <davem@davemloft.net>
5300
85429b1a
DM
5301 * NEWS: Mention IFUNC testsuite enhancements.
5302
d283e353
DM
5303 * po/pl.po: Update from translation team.
5304 * po/bg.po: Likewise.
5305
bc38c906
DM
5306 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5307 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5308
a181b0d7
DM
53092012-12-11 David S. Miller <davem@davemloft.net>
5310
4641d57e
DM
5311 * po/sv.po: Update from translation team.
5312
f7bc6495
DM
5313 * po/vi.po: Update from translation team.
5314
6fc9048f
DM
5315 * po/cs.po: Update from translation team.
5316
a181b0d7
DM
5317 * po/de.po: Update from translation team.
5318 * po/eo.po: Likewise.
5319 * po/nl.po: Likewise.
5320
f70bfe80
SP
53212012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5322
3c8b4190
SP
5323 [BZ #14246]
5324 * manual/argp.texi (Argp Helper Functions): Move node to follow
5325 Argp Parsing State.
5326
f70bfe80
SP
5327 [BZ #14872]
5328 * manual/conf.texi (Limits on File System Capacity): Mention if
5329 terminating null is included in the max size.
5330
188f0adf
AJ
53312012-12-10 Andreas Jaeger <aj@suse.de>
5332
5333 * po/cs.po: Update from translation team.
5334
56e7d3ad
SP
53352012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5336
5337 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5338 void pointer and cast to uintptr_t.
5339 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5340 path.
5341 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5342 * sysdeps/s390/s390-64/memset.S: Likewise.
5343
76f2d2ea 53442012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5345
5346 [BZ #14833]
5347 * menual/message.texi (Message Translation): Fix typos.
5348 (Helper programs for gettext): Likewise.
5349
67cbf9a2
AS
53502012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5351
5352 [BZ #14898]
5353 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5354 Change to -1.
5355
682d0e9a
DM
53562012-12-07 David S. Miller <davem@davemloft.net>
5357
5358 * po/libc.pot: Update.
5359
573cd484
RH
53602012-12-07 Richard Henderson <rth@redhat.com>
5361
7e9da188 5362 [BZ #10114]
573cd484
RH
5363 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5364 normal/normal case to before the switch.
5365 (_FP_DIV): Likewise.
5366
e933a943
MF
53672012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5368 Mike Frysinger <vapier@gentoo.org>
5369
5370 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5371 check for __NR_fadvise64_64.
5372
82123268
CM
53732012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5374
5375 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5376 0, not just to plain "0" as a statement.
5377 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5378 with cw.
5379
d9814526
JM
53802012-12-06 Joseph Myers <joseph@codesourcery.com>
5381
5382 * NEWS: Use sourceware.org in Bugzilla URL.
5383
7728c574
SP
53842012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5385
f16946dd
SP
5386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5387 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5388
5704bbcb
SP
5389 * stdio-common/tst-put-error.c (do_test): Add newline to the
5390 padded test to ensure flush.
5391
17aa0516
JL
53922012-12-05 Jeff Law <law@redhat.com>
5393
5394 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5395
363313b5
JM
53962012-12-05 Joseph Myers <joseph@codesourcery.com>
5397
effbd42a
JM
5398 * README: Don't refer to ports add-on as distributed separately.
5399 Mention AArch64 in list of systems supported in the ports add-on.
5400
87600365
JM
5401 * LICENSES: Add more non-FSF copyright and license notices.
5402
a0d7066a
JM
5403 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5404 ((unused)).
5405
66ca5a5b
JM
5406 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5407
363313b5
JM
5408 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5409 10000 as width of padded output.
5410
b37984ad
JM
54112012-12-04 Joseph Myers <joseph@codesourcery.com>
5412
9003570a
JM
5413 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5414
b37984ad
JM
5415 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5416 variable LX with __attribute__ ((unused)).
5417 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5418 Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5420 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5422 with __attribute__ ((unused)).
5423
c8df52ec
DM
54242012-12-04 David S. Miller <davem@abraco.davemloft.net>
5425
5426 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5427
b3b099af
JM
54282012-12-04 Joseph Myers <joseph@codesourcery.com>
5429
c33aa6e3
JM
5430 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5431 (CFLAGS-nldbl-acos.c): New variable.
5432 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5433 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5434 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5435 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5436 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5437 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5438 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5439 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5440 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5441 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5442 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5443 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5444 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5445 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5446 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5447 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5448 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5449 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5450 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5451 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5452 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5453 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5454 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5455 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5456 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5457 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5458 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5459 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5460 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5461 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5462 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5463 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5464 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5465 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5466 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5467 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5468 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5469 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5470 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5471 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5472 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5473 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5474 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5475 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5476 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5477 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5478 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5479 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5480 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5481 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5482 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5483 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5484 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5485 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5486 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5487 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5488 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5489 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5490 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5491 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5492 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5493 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5494 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5495 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5496 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5497 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5498 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5499 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5500 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5501 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5502 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5503 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5504 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5505 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5506 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5507 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5508 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5509 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5510 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5511 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5512 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5513 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5514 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5515 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5516 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5517 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5518 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5519 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5520 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5521 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5522 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5523 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5524 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5525 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5526 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5527 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5528 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5529
20f0018d
JM
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5531 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5532
b3b099af
JM
5533 [BZ #14914]
5534 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5535 whole low double instead of just low 47 bits when splitting values
5536 into two parts.
5537
029264d1
AM
55382012-12-03 Allan McRae <allan@archlinux.org>
5539
5540 * manual/stdio.texi (Predefined Printf Handlers): Remove
5541 @hsep and @vsep usage.
5542
c9d6789e
MF
55432012-12-03 Mike Frysinger <vapier@gentoo.org>
5544
5545 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5546 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5547
4b7634a5
JL
55482012-12-03 Jeff Law <law@redhat.com>
5549
5550 * time/sys/time.h (settimeofday): Do not mark TV argument
5551 as __nonnull.
5552
eb6cbd24
MF
55532012-12-01 Mike Frysinger <vapier@gentoo.org>
5554
5555 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5556 when currently writing and seek to current position when not.
5557 * libio/Makefile (tests): Remove bug-fclose1.
5558 * libio/bug-fclose1.c: Delete.
5559
f638872a
JM
55602012-12-01 Joseph Myers <joseph@codesourcery.com>
5561
5562 * manual/arith.texi (feenableexcept): Fix typo.
5563 (fedisableexcept): Likewise.
5564
48085d14
RM
55652012-11-30 Roland McGrath <roland@hack.frob.com>
5566
5567 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5568 second, differently-typed declaration, rather than a cast.
5569
1a538b9f
SP
55702012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5571
5572 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5573 * include/rpc/svc.h: ... here.
5574
d07f2ff1 55752012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5576
5577 [BZ #13013]
5578 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5579 depending n and resplen2 to catch cases where answer
5580 equals answerp2.
5581
c93ec1f0
CD
55822012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5583
5584 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5585 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5586
37db69de
MF
55872012-11-29 Mike Frysinger <vapier@gentoo.org>
5588
5589 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5590
e10c4e4f
RM
55912012-11-29 Roland McGrath <roland@hack.frob.com>
5592
5593 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5594
2af1b328
JL
55952012-11-28 Jeff Law <law@redhat.com>
5596
5597 [BZ #13761]
5598 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5599 dataset_temporary. Track alloca usage into alloca_used.
5600 If dataset is large allocate and release it via malloc/free.
5601
111db5b1
FW
56022012-06-04 Florian Weimer <fweimer@redhat.com>
5603
f06cc227 5604 [BZ #14197]
111db5b1
FW
5605 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5606
dd694abd
DM
56072012-11-28 David S. Miller <davem@davemloft.net>
5608
5609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5610
9984dd01
JM
56112012-11-28 Joseph Myers <joseph@codesourcery.com>
5612
5613 [BZ #14803]
5614 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5615 of pi/2 rounded to nearest to 64 bits.
5616 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5617 nearest to 64 bits.
5618 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5619 bits.
5620
14bc93a9
JL
56212012-11-28 Jeff Law <law@redhat.com>
5622 Martin Osvald <mosvald@redhat.com>
5623
5624 [BZ #14889]
5625 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5626 * sunrpc/svc.c: Include time.h.
5627 (__svc_accept_failed): New function.
5628 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5629 any reason other than EINTR, call __svc_accept_failed.
5630 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5631 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5632
e3c6aa3a
AS
56332012-11-28 Andreas Schwab <schwab@suse.de>
5634
5635 * scripts/abilist.awk: Also handle indirect functions in .opd
5636 section.
5637
1bead169
JM
56382012-11-28 Joseph Myers <joseph@codesourcery.com>
5639
5640 [BZ #13881]
5641 * sysdeps/x86/fpu/powl_helper.c: New file.
5642 * sysdeps/x86/fpu/Makefile: Likewise.
5643 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5644 (p3): New object.
5645 (__ieee754_powl): Use __powl_helper for finite arguments except
5646 integer exponents below 8.
5647 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5648 (p3): New object.
5649 (__ieee754_powl): Use __powl_helper for finite arguments except
5650 integer exponents below 8.
5651 * math/libm-test.inc (pow_test): Add more tests and enable some
5652 previously disabled tests.
5653 * sysdeps/i386/fpu/libm-test-ulps: Update.
5654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5655
0817d63d
SP
56562012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5657 Carlos O'Donell <carlos_odonell@mentor.com>
5658
5659 * nss/makedb.c (is_prime): Assert that input is odd and greater
5660 than 4. Note that fact in a comment too.
5661 (next_prime): Add 4 to input.
5662
de2fd463
SP
56632012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5664
5665 [BZ #11741]
5666 * libio/Makefile (tests): Add test case tst-fwrite-error.
5667 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5668 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5669 * libio/tst-fwrite-error.c: New test case.
5670
c515fb51
L
56712012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5672
5673 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5674 before casting to void *.
5675 * include/libc-internal.h (__pointer_type): New macro.
5676 (__integer_if_pointer_type_sub): Likewise.
5677 (__integer_if_pointer_type): Likewise.
5678 (cast_to_integer): Likewise.
5679 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5680 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5681 before casting to atomic64_t.
5682 (atomic_exchange_acq): Likewise.
5683 (__arch_exchange_and_add_body): Likewise.
5684 (__arch_add_body): Likewise.
5685 (atomic_add_negative): Likewise.
5686 (atomic_add_zero): Likewise.
5687
4cf77aa9
JM
56882012-11-26 Joseph Myers <joseph@codesourcery.com>
5689
5690 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5691 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5692 (add_fdes): Likewise.
5693 (linear_search_fdes): Likewise.
5694 (binary_search_unencoded_fdes): Likewise.
5695
d260b3b4
AS
56962012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5697
5698 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5699
67060746
AC
57002012-11-24 Adam Conrad <adconrad@0c3.net>
5701
5702 * configure.in: Autodetect C++ header directories.
5703 * configure: Regenerated.
5704
800938a1
MF
57052012-11-23 Mike Frysinger <vapier@gentoo.org>
5706
5707 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5708
4e6e34e6
AS
57092012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5710
5711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5712
7c7feb47
JM
57132012-11-22 Joseph Myers <joseph@codesourcery.com>
5714
7184dcdf
JM
5715 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5716 LDBL_MANT_DIG == 106]: Disable some tests.
5717 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5718 Likewise.
5719 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5720 Likewise.
5721
0a42601f
JM
5722 [BZ #14871]
5723 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5724 input for small inputs. Return +/- pi/2 for large inputs.
5725 * math/libm-test.inc (atan_test): Add more tests.
5726
79c9b9fe
JM
5727 * sysdeps/generic/unwind-dw2-fde-glibc.c
5728 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5729 __attribute__ ((unused)).
5730
c60d3bf2
JM
5731 [BZ #14645]
5732 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5733 x * y if x and y are nonzero and z is zero.
5734
ef1e0867
JM
5735 [BZ #14811]
5736 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5737 nonzero exponents with absolute value below 0x1p-117 to +/-
5738 0x1p-117.
5739
1468ded3
JM
5740 [BZ #14869]
5741 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5742 up arguments below 2**-450, not just those below 2**-500.
5743 * math/libm-test.inc (hypot_test): Add another test.
5744
8e27e3cc
JM
5745 [BZ #14868]
5746 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5747 Return a+b for ratio over 2**120, not 2**60.
5748 * math/libm-test.inc (hypot_test): Add another test.
5749
c9c0279b
JM
5750 * math/libm-test.inc (clog_test): Use
5751 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5752 (clog10_test): Likewise.
5753
7c7feb47
JM
5754 [BZ #6778]
5755 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5756
fff1530e
AS
57572012-11-22 Andreas Schwab <schwab@suse.de>
5758
5759 * sysdeps/i386/fpu/libm-test-ulps: Update.
5760
94558d30
PT
57612012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5762
5763 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5764 printf output with newline.
5765
7e1be741
L
57662012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5767
6bfea974
L
5768 [BZ #14865]
5769 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5770 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5771 -z nodlopen, -z initfirst and -z execstack support.
5772 * configure: Regenerated.
5773
7e1be741
L
5774 * elf/elf.h (DF_1_NODIRECT): New macro.
5775 (DF_1_IGNMULDEF): Likewise.
5776 (DF_1_NOKSYMS): Likewise.
5777 (DF_1_NOHDR): Likewise.
5778 (DF_1_EDITED): Likewise.
5779 (DF_1_NORELOC): Likewise.
5780 (DF_1_SYMINTPOSE): Likewise.
5781 (DF_1_GLOBAUDIT): Likewise.
5782 (DF_1_SINGLETON): Likewise.
5783 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5784 DT_1_SUPPORTED_MASK bits.
5785 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5786
105ce2ce
CD
57872012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5788
5789 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5790
123be9de
TS
57912012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5792
d072f3f7
TS
5793 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5794 macro.
5795
123be9de
TS
5796 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5797 (sendmmsg): Move declarations...
5798 * socket/sys/socket.h: ... here.
5799 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5800 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5801 include it from...
5802 * socket/recvmmsg.c: ... this new file.
5803 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5804 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5805 definition of __sendmmsg hidden.
5806 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5807 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5808 Move ENOSYS stub into and include it from...
5809 * socket/sendmmsg.c: ... this new file.
5810 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5811 (sysdep_routines): Move recvmmsg and sendmmsg...
5812 * socket/Makefile (routines): ... here.
5813 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5814 (GLIBC_PRIVATE): Add __sendmmsg.
5815 * include/sys/socket.h (__sendmmsg): Add declarations.
5816 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5817 sendmmsg.
5818
cf9a5d18
JM
58192012-11-20 Joseph Myers <joseph@codesourcery.com>
5820
5821 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5822 variable I1 with __attribute__ ((unused)).
5823 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5824
ecd4caf9
JM
58252012-11-19 Joseph Myers <joseph@codesourcery.com>
5826
be14d48f
JM
5827 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5828 DUMMY variables with __attribute__ ((unused)).
5829
ecd4caf9
JM
5830 * bits/byteswap.h: Include <bits/types.h>.
5831 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5832
986cab95
PT
58332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5834
5835 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5836 string_t. Do not manually set errno.
5837 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5838 length with __strnlen. Make sure to both set errno and return it on
5839 failure.
5840
6d33cc9d
DM
58412012-11-19 David S. Miller <davem@davemloft.net>
5842
5843 With help from Joseph Myers.
5844 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5845 very large arguments properly.
5846 * math/libm-test.inc (atan_test): New tests.
5847 (atan2_test): New tests.
5848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5850
ee663277
JM
58512012-11-19 Joseph Myers <joseph@codesourcery.com>
5852
877f2d8e
JM
5853 [BZ #14856]
5854 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5855 Define to 3.
5856
116fc08a
JM
5857 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5858 [POSIX] (EADDRNOTAVAIL): Likewise.
5859 [POSIX] (EAFNOSUPPORT): Likewise.
5860 [POSIX] (EALREADY): Likewise.
5861 [POSIX] (ECONNABORTED): Likewise.
5862 [POSIX] (ECONNREFUSED): Likewise.
5863 [POSIX] (ECONNRESET): Likewise.
5864 [POSIX] (EDESTADDRREQ): Likewise.
5865 [POSIX] (EDQUOT): Likewise.
5866 [POSIX] (EHOSTUNREACH): Likewise.
5867 [POSIX] (EIDRM): Likewise.
5868 [POSIX] (EISCONN): Likewise.
5869 [POSIX] (ELOOP): Likewise.
5870 [POSIX] (EMULTIHOP): Likewise.
5871 [POSIX] (ENETDOWN): Likewise.
5872 [POSIX] (ENETUNREACH): Likewise.
5873 [POSIX] (ENOBUFS): Likewise.
5874 [POSIX] (ENODATA): Likewise.
5875 [POSIX] (ENOLINK): Likewise.
5876 [POSIX] (ENOMSG): Likewise.
5877 [POSIX] (ENOPROTOOPT): Likewise.
5878 [POSIX] (ENOSR): Likewise.
5879 [POSIX] (ENOSTR): Likewise.
5880 [POSIX] (ENOTCONN): Likewise.
5881 [POSIX] (ENOTSOCK): Likewise.
5882 [POSIX] (EOPNOTSUPP): Likewise.
5883 [POSIX] (EOVERFLOW): Likewise.
5884 [POSIX] (EPROTO): Likewise.
5885 [POSIX] (EPROTONOSUPPORT): Likewise.
5886 [POSIX] (EPROTOTYPE): Likewise.
5887 [POSIX] (ESTALE): Likewise.
5888 [POSIX] (ETIME): Likewise.
5889 [POSIX] (ETXTBSY): Likewise.
5890 [POSIX] (EWOULDBLOCK): Likewise.
5891 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5892 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5893 [POSIX] (SEEK_CUR): Likewise.
5894 [POSIX] (SEEK_END): Likewise.
5895 [POSIX || UNIX98] (mode_t): Do not require.
5896 [POSIX] (off_t): Likewise.
5897 [POSIX] (pid_t): Likewise.
5898 [POSIX] (sys/stat.h): Do not allow header.
5899 [POSIX] (unistd.h): Likewise.
5900 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5901 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5902 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5903 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5904 require.
5905 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5906 sigevent): Specify elements.
5907 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5908 entry.
5909 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5910 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5911
a483863f
JM
5912 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5913 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5914 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5915 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5916 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5917 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5918 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5919 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5920 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5921 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5922 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5923 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5924 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5925 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5926 Likewise.
5927 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5928 Likewise.
5929 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5930 Likewise.
5931 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5932 Likewise.
5933 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5934 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5935 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5936 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5937 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5938 Specify lower bound on value.
5939 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5940 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5941 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5942 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5943 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5944 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5945 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5946 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5947 value.
5948 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5949 as optional.
5950 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5951 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5952 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5953 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5954 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5955 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5956 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5957 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5958 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5959 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5960 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5961 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5962 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5963 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5964 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5965 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5966 entry.
5967 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5968 optional.
5969 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5970 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5971 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5972 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5973 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5974 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5975 Likewise.
5976 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5977 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5978 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5979 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5980 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5981 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5982 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5983 as optional.
5984 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5985 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5986 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5987 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5988 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5989 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5990 specify as optional.
5991 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5992 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5993 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5994 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5995 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5996 [XPG3] (NL_LANGMAX): Likewise.
5997 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5998 [POSIX || XPG3] (NL_NMAX): Likewise.
5999 [POSIX || XPG3] (NL_SETMAX): Likewise.
6000 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6001 [XPG3] (NZERO): Likewise.
6002 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6003 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6004 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6005 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6006 (REG_ERANGE): Expect.
6007 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6008 optional-constant.
6009 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6010 Use (void) in prototype.
6011 [POSIX] (*_t): Allow.
6012 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6013 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6014 (WRDE_BADVAL): Expect.
6015
5ba924e3
JM
6016 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6017 expect.
6018 [XPG3 || XPG4] (O_RSYNC): Likewise.
6019 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6020 Likewise.
6021 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6022 [XPG3 || XPG4] (sigqueue): Likewise.
6023 [XPG3 || XPG4] (sigtimedwait): Likewise.
6024 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6025 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6026 [XPG3 || XPG4] (vsnprintf): Likewise.
6027 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6028 Likewise.
6029 [XPG3 || XPG4] (blksize_t): Likewise.
6030 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6031 Likewise.
6032 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6033 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6034 [XPG3 || XPG4] (struct itimerspec): Likewise.
6035 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6036 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6037 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6038 [XPG3 || XPG4] (clockid_t): Likewise.
6039 [XPG3 || XPG4] (timer_t): Likewise.
6040 [XPG3 || XPG4] (clock_getres): Likewise.
6041 [XPG3 || XPG4] (clock_gettime): Likewise.
6042 [XPG3 || XPG4] (clock_settime): Likewise.
6043 [XPG3 || XPG4] (nanosleep): Likewise.
6044 [XPG3 || XPG4] (timer_create): Likewise.
6045 [XPG3 || XPG4] (timer_delete): Likewise.
6046 [XPG3 || XPG4] (timer_gettime): Likewise.
6047 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6048 [XPG3 || XPG4] (timer_settime): Likewise.
6049 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6050 [XPG3 || XPG4] (getlogin_r): Likewise.
6051 [XPG3 || XPG4] (pread): Likewise.
6052 [XPG3 || XPG4] (pthread_atfork): Likewise.
6053 [XPG3 || XPG4] (pwrite): Likewise.
6054
ee663277
JM
6055 [BZ #14835]
6056 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6057 <bits/siginfo.h>.
6058
942caa16
PT
60592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6060
e19af380
PT
6061 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6062 finalizing MALLSTREAM.
6063
942caa16
PT
6064 * sysdeps/mach/hurd/syncfs.c: New file.
6065
cfde9b46
SP
60662012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6067
6068 [BZ #14719]
6069 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6070 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6071 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6072 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6073 (_nss_dns_gethostbyname4_r): Likewise.
6074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6075 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6076
f6da27e5
PH
60772012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6078
6079 [BZ #13763]
6080 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6081
6665d4a2
SM
60822012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6083
1f51ee92
SM
6084 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6085 * elf/cache.c (print_entry): Print ",AArch64" for
6086 FLAG_AARCH64_LIB64
6087
6665d4a2
SM
6088 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6089 * elf/cache.c (print_entry): Print ",hard-float" for
6090 FLAG_ARM_LIBHF.
6091
05b227bd
DM
60922012-11-18 David S. Miller <davem@davemloft.net>
6093
6094 With help from Joseph Myers.
6095 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6096 cutoff to 2**-13.
6097 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6098 cutoff to 2**-25.
6099 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6100 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6101 small.
6102 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6103 * math/libm-test.inc (y0_test): New tests.
6104 (y1_test): New tests.
6105 * sysdeps/i386/fpu/libm-test-ulps: Update.
6106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6108
786b0b67
AS
61092012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6110
6111 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6112 64-bit targets.
6113 * configure: Regenerated.
6114
8e18b86d
DM
61152012-11-17 David S. Miller <davem@davemloft.net>
6116
6117 [BZ #14811]
6118 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6119 nonzero exponents with absolute value below 0x1p-128 to +/-
6120 0x1p-128.
6121
531f1ae0
JM
61222012-11-17 Joseph Myers <joseph@codesourcery.com>
6123
12df29e2
JM
6124 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6125
150dc1a0
JM
6126 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6127
531f1ae0
JM
6128 * posix/getconf-speclist.c: New file.
6129 * posix/posix-envs.def: Likewise.
6130 * posix/confstr.c (START_ENV_GROUP): New macro.
6131 (END_ENV_GROUP): Likewise.
6132 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6133 (KNOWN_PRESENT_ENV_STRING): Likewise.
6134 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6135 (UNKNOWN_ENVIRONMENT): Likewise.
6136 (confstr): Include posix-envs.def instead of handling
6137 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6138 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6139 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6140 (END_ENV_GROUP): Likewise.
6141 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6142 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6143 (UNKNOWN_ENVIRONMENT): Likewise.
6144 (__sysconf): Include posix-envs.def instead of handling associated
6145 cases directly here.
6146 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6147 preprocessing getconf-speclist.c rather than running getconf or
6148 generating empty file.
6149
a93f9cbc
PT
61502012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6151
6152 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6153
d64d9f87
AL
61542012-11-16 Andrej Lajovic <natrij@gmail.com>
6155
6156 [BZ #14672]
6157 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6158
447885eb
DM
61592012-11-16 David S. Miller <davem@davemloft.net>
6160
6161 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6162 smaller than LDBL_EPSILON/2.0L, just return xm1.
6163
bcbf9830
L
61642012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6165
6166 * elf/tst-array1.c (init): Set constructor priority to 1000.
6167 (fini): Set destructor priority to 1000.
6168 * elf/tst-array2dep.c: Likewise.
6169
2b766585
SP
61702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6171
6172 [BZ #11741]
6173 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6174 (_IO_new_file_xsputn): Also return EOF if none of the input
6175 data was written when overflow failed.
6176 * libio/iopadn.c (_IO_padn): Likewise.
6177 * libio/iowpadn.c (_IO_wpadn): Likewise.
6178 * stdio-common/tst-put-error.c: Add copyright notice.
6179 (do_test): Add case for printing padded string.
6180 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6181 _IO_padn returned error.
6182 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6183 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6184 return EOF.
6185
b1848fde
SP
61862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6187
6188 * libio/libioP.h: Add comment note that the references to C++
6189 bits are now obsolete.
6190
2fd89785
MS
61912012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6192
6193 * math/libm-test.inc (check_complex): Use asprintf.
6194
e3ea5409
JM
61952012-11-14 Joseph Myers <joseph@codesourcery.com>
6196
6197 * debug/pcprofiledump.c (print_version): Update copyright year.
6198 * malloc/memusagestat.c (print_version): Likewise.
6199
2e64d265
L
62002012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6201
6202 [BZ #14831]
6203 * elf/Makefile (tests): Add tst-audit8.
6204 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6205 ($(objpfx)tst-audit8.out): New target.
6206 (tst-audit8-ENV): New variable.
6207 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6208 audit if l_reloc_result is NULL.
6209 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6210 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6211 * elf/tst-audit8.c: New file.
6212
c485e4d2
MS
62132012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6214
6215 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6216 * misc/Makefile (CFLAGS-select.c): Define.
6217 * posix/Makefile (CFLAGS-pause.c): Define.
6218
3a0d900a
DM
62192012-11-13 David S. Miller <davem@davemloft.net>
6220
6221 * crypt/Makefile: Move test targets after toplevel Rules
6222 inclusion. Grab any necessary sysdep routines when linking.
6223 * crypt/md5.c (md5_process_block): Remove define, we will always
6224 name it __md5_process_block.
6225 (md5_finish_ctx): Update md5_process_block call.
6226 (md5_stream): Likewise.
6227 (md5_process_bytes): Likewise.
6228 (md5_process_block): Rename to __md5_process_block and move to ...
6229 * crypt/md5-block.c: ... here.
6230 * crypt/sha256.c (sha256_process_block): Move to ...
6231 * crypt/sha256-block.c: ... here.
6232 * crypt/sha512.c (sha512_process_block): Move to ...
6233 * crypt/sha512-block.c: ... here.
6234 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6235 path.
6236 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6237 * sysdeps/sparc/sparc64/multiarch/Makefile
6238 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6239 crypt subdir.
6240 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6241 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6242 multiarch changes.
6243 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6244 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6245 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6246 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6247 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6248 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6249 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6250 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6251 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6252 file.
6253 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6254 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6255 file.
6256 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6257
8ca89318
JM
62582012-11-13 Joseph Myers <joseph@codesourcery.com>
6259
e27d476a
JM
6260 * timezone/tzselect.ksh: Update from tzcode git revision
6261 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6262 * timezone/zdump.c: Likewise.
6263 * timezone/zic.c: Likewise.
6264 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6265 in TZVERSION setting, not $(PKGVERSION).
6266 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6267 REPORT_BUGS_TO settings.
6268
8ca89318
JM
6269 [BZ #14838]
6270 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6271 macro.
6272
47594329
MS
62732012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6274
6275 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6276 detection to immediately after _FP_ROUND().
6277 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6278 bits are 0.
6279
640ac3f1
DM
62802012-11-11 David S. Miller <davem@davemloft.net>
6281
6282 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6283 inttypes.h
6284 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6285 __close rather than their public counterparts.
6286
3d2577bb
JM
62872012-11-10 Joseph Myers <joseph@codesourcery.com>
6288
6289 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6290 file.
6291 [UNIX98] (sem_timedwait): Do not expect.
6292 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6293 [XPG4 || UNIX98] (sockatmark): Do not expect.
6294 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6295 (clock_getcpuclockid): Do not expect.
6296 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6297 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6298 Do not expect.
6299 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6300 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6301 [UNIX98] (vwscanf): Likewise.
6302 [UNIX98] (vswscanf): Likewise.
6303
fb1ae1ee
JM
63042012-11-09 Joseph Myers <joseph@codesourcery.com>
6305
9ec6f8bd
JM
6306 * timezone/version.h: Remove file.
6307 * timezone/README: Do not refer to version.h.
6308 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6309 $(objpfx)version.h.
6310 ($(objpfx)zdump.o): Likewise.
c3f81911 6311 ($(objpfx)version.h): New target.
9ec6f8bd 6312
0aa8f8a1
JM
6313 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6314 2012i.
6315 * timezone/README: Don't mention modification to tzselect.ksh.
6316 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6317 work on unmodified tzselect.ksh. Substitute version numbers in
6318 tzselect.ksh.
6319
4e87147f
JM
6320 * Makefile (format-me): Remove.
6321 (INSTALL): Adjust indentation. Use commands directly instead of
6322 using $(format-me).
6323
8b748aed
JM
6324 * aclocal.m4 (ACX_PKGVERSION): New macro.
6325 (ACX_BUGURL): Likewise.
6326 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6327 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6328 (REPORT_BUGS_TO): Likewise.
6329 * configure: Regenerated.
6330 * config.h.in (PKGVERSION): New macro.
6331 (REPORT_BUGS_TO): Likewise.
6332 * config.make.in (PKGVERSION): New variable.
6333 (PKGVERSION_TEXI): Likewise.
6334 (REPORT_BUGS_TO): Likewise.
6335 (REPORT_BUGS_TEXI): Likewise.
6336 * Makefile (format-me): Use -I$(common-objpfx)manual.
6337 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6338 ($(common-objpfx)manual/%): New target.
6339 (manual/%): Remove target.
6340 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6341 (print_version): Use PKGVERSION.
6342 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6343 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6344 and REPORT_BUGS_TO.
6345 ($(objpfx)xtrace): Likewise.
6346 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6347 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6348 (print_version): Use PKGVERSION.
6349 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6350 (do_version): Use PKGVERSION.
6351 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6352 REPORT_BUGS_TO.
6353 (common-ldd-rewrite): Likewise.
6354 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6355 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6356 (print_version): Use PKGVERSION.
6357 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6358 * elf/pldd.c (argp_program_bug_address): Remove variable.
6359 (more_help): New function.
6360 (argp): Use more_help.
6361 (print_version): Use PKGVERSION.
6362 * elf/sln.c (main): Use PKGVERSION.
6363 (usage): Use REPORT_BUGS_TO.
6364 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6365 (top level): Use PKGVERSION.
6366 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6367 (print_version): Use PKGVERSION.
6368 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6369 (print_version): Use PKGVERSION.
6370 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6371 (print_version): Use PKGVERSION.
6372 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6373 (print_version): Use PKGVERSION.
6374 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6375 (print_version): Use PKGVERSION.
6376 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6377 (print_version): Use PKGVERSION.
6378 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6379 and BUGURL.
6380 ($(objpfx)memusage): Likewise.
6381 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6382 (do_version): Use PKGVERSION.
6383 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6384 (print_version): Use PKGVERSION.
6385 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6386 ($PKGVERSION): New variable.
6387 ($REPORT_BUGS_TO): Likewise.
6388 (usage): Use $REPORT_BUGS_TO.
6389 (top level): Use $PKGVERSION.
6390 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6391 ($(objpfx)pkgvers.texi): New rule.
6392 ($(objpfx)stamp-pkgvers): Likewise.
6393 * manual/install.texi: Include pkgvers.texi.
6394 (--with-pkgversion): Document new configure option.
6395 (--with-bugurl): Likewise.
6396 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6397 than necessarily for this particular distribution. Use
6398 REPORT_BUGS_TO for where to report bugs.
6399 * INSTALL: Regenerated.
6400 * manual/libc.texinfo: Include pkgvers.texi.
6401 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6402 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6403 (print_version): Use PKGVERSION.
6404 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6405 (print_version): Use PKGVERSION.
6406 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6407 (print_version): Use PKGVERSION.
6408 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6409 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6410 macro.
6411 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6412 (print_version): Use PKGVERSION.
6413 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6414 (print_version): Use PKGVERSION.
6415 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6416 and PKGVERSION.
6417
92e4b6a9
JM
6418 * timezone/checktab.awk: Update from tzcode 2012i.
6419 * timezone/ialloc.c: Likewise.
6420 * timezone/private.h: Likewise.
6421 * timezone/scheck.c: Likewise.
6422 * timezone/tzfile.h: Likewise.
6423 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6424 (TZVERSION): Hardcode tzcode version number.
6425 * timezone/zdump.c: Update from tzcode 2012i.
6426 * timezone/zic.c: Likewise.
6427 * timezone/version.h: New file.
6428 * timezone/README: Describe version.h. Update upstream location.
6429
9bde902c
JM
6430 [BZ #14824]
6431 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6432 (mktemp): Enable declaration.
6433 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6434 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6435 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6436 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6437 Likewise.
6438 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6439 Likewise.
6440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6441 Likewise.
6442 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6443 Likewise.
6444 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6445 Likewise.
6446 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6447 Likewise.
6448
fb1ae1ee
JM
6449 [BZ #14821]
6450 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6451 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6452 for copies of such integer values.
6453 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6454 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6455
2c1adbcb
AJ
64562012-11-09 Andreas Jaeger <aj@suse.de>
6457
6458 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6459 definitions and declarations that are provided by
6460 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6461
d0f8457e
AK
64622012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6463
3a235abb 6464 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6465 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6466 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6467 definition.
6468
57241e26
MS
64692012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6470
6471 * elf/elf.h: Update comment before AArch64 relocations.
6472
60e8270d
DM
64732012-11-07 David S. Miller <davem@davemloft.net>
6474
6475 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6476 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6477 (__start_context): Declare.
6478 (__makecontext_ret): Delete.
6479 (__makecontext): Hook up __start_context instead of
6480 __makecontext_ret.
6481 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6482 (sysdep_routines): Add __start_context when in stdlib.
6483
0fbb0fbc
JM
64842012-11-07 Joseph Myers <joseph@codesourcery.com>
6485
6486 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6487 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6488 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6489 hardcoded "nm".
6490 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6491 (READELF): New variable. Use it instead of hardcoded "readelf".
6492
eb48db7e
L
64932012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6494
6495 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6496 * sysdeps/x86/Makefile: Here.
6497 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6498 * sysdeps/x86/tst-xmmymm.sh: This.
6499
05bcf62a
JM
65002012-11-07 Joseph Myers <joseph@codesourcery.com>
6501
c4b6cf53
JM
6502 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6503 expectations.
6504 [UNIX98] (pthread_barrier_t): Do not expect.
6505 [UNIX98] (pthread_barrierattr_t): Likewise.
6506 [UNIX98] (pthread_spinlock_t): Likewise.
6507 [UNIX98] (pthread_barrier_destroy): Likewise.
6508 [UNIX98] (pthread_barrier_init): Likewise.
6509 [UNIX98] (pthread_barrier_wait): Likewise.
6510 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6511 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6512 [UNIX98] (pthread_barrierattr_init): Likewise.
6513 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6514 [UNIX98] (pthread_getcpuclockid): Likewise.
6515 [UNIX98] (pthread_mutex_timedlock): Likewise.
6516 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6517 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6518 [UNIX98] (pthread_sigmask): Likewise.
6519 [UNIX98] (pthread_spin_destroy): Likewise.
6520 [UNIX98] (pthread_spin_init): Likewise.
6521 [UNIX98] (pthread_spin_lock): Likewise.
6522 [UNIX98] (pthread_spin_trylock): Likewise.
6523 [UNIX98] (pthread_spin_unlock): Likewise.
6524 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6525 Do not expect.
6526 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6528 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6529 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6530 [XPG3 || XPG4] (pthread_key_t): Likewise.
6531 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6532 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6533 [XPG3 || XPG4] (pthread_once_t): Likewise.
6534 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6535 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6537 [XPG3 || XPG4] (pthread_t): Likewise.
6538
cbe6e120
JM
6539 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6540 not expect.
6541 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6542
1b126443
JM
6543 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6544 Change function return type to int.
6545
b961a573
JM
6546 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6547 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6548 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6549 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6550 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6551 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6552 [!POSIX] (posix_madvise): Likewise.
6553 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6554 && !UNIX98].
6555 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6556 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6557 (mode_t): Likewise.
6558 (posix_mem_offset): Likewise.
6559 (posix_typed_mem_get_info): Likewise.
6560 (posix_typed_mem_open): Likewise.
6561
9e188909
JM
6562 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6563 Change condition to [XOPEN2K8].
6564
05bcf62a
JM
6565 * conform/conformtest.pl: Preprocess allow-header data with -x c
6566 instead of from stdin.
6567 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6568 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6569 [C99-based standards] (cerfc): Likewise.
6570 [C99-based standards] (cexp2): Likewise.
6571 [C99-based standards] (cexpm1): Likewise.
6572 [C99-based standards] (clog10): Likewise.
6573 [C99-based standards] (clog1p): Likewise.
6574 [C99-based standards] (clog2): Likewise.
6575 [C99-based standards] (clgamma): Likewise.
6576 [C99-based standards] (ctgamma): Likewise.
6577 [C99-based standards] (cerff): Likewise.
6578 [C99-based standards] (cerfcf): Likewise.
6579 [C99-based standards] (cexp2f): Likewise.
6580 [C99-based standards] (cexpm1f): Likewise.
6581 [C99-based standards] (clog10f): Likewise.
6582 [C99-based standards] (clog1pf): Likewise.
6583 [C99-based standards] (clog2f): Likewise.
6584 [C99-based standards] (clgammaf): Likewise.
6585 [C99-based standards] (ctgammaf): Likewise.
6586 [C99-based standards] (cerfl): Likewise.
6587 [C99-based standards] (cerfcl): Likewise.
6588 [C99-based standards] (cexp2l): Likewise.
6589 [C99-based standards] (cexpm1l): Likewise.
6590 [C99-based standards] (clog10l): Likewise.
6591 [C99-based standards] (clog1pl): Likewise.
6592 [C99-based standards] (clog2l): Likewise.
6593 [C99-based standards] (clgammal): Likewise.
6594 [C99-based standards] (ctgammal): Likewise.
6595 * conform/data/inttypes.h-data [C99-based standards]: Include
6596 stdint.h-data. Remove all expectations for stdint.h contents.
6597 [C99-based standards] (PRI*): Do not allow.
6598 [C99-based standards] (SCN*): Likewise.
6599 [C99-based standards] (*_t): Likewise.
6600 [C99-based-standards] (PRId8): Expect macro.
6601 [C99-based-standards] (PRIi8): Likewise.
6602 [C99-based-standards] (PRIo8): Likewise.
6603 [C99-based-standards] (PRIu8): Likewise.
6604 [C99-based-standards] (PRIx8): Likewise.
6605 [C99-based-standards] (PRIX8): Likewise.
6606 [C99-based-standards] (SCNd8): Likewise.
6607 [C99-based-standards] (SCNi8): Likewise.
6608 [C99-based-standards] (SCNo8): Likewise.
6609 [C99-based-standards] (SCNu8): Likewise.
6610 [C99-based-standards] (SCNx8): Likewise.
6611 [C99-based-standards] (PRIdLEAST8): Likewise.
6612 [C99-based-standards] (PRIiLEAST8): Likewise.
6613 [C99-based-standards] (PRIoLEAST8): Likewise.
6614 [C99-based-standards] (PRIuLEAST8): Likewise.
6615 [C99-based-standards] (PRIxLEAST8): Likewise.
6616 [C99-based-standards] (PRIXLEAST8): Likewise.
6617 [C99-based-standards] (SCNdLEAST8): Likewise.
6618 [C99-based-standards] (SCNiLEAST8): Likewise.
6619 [C99-based-standards] (SCNoLEAST8): Likewise.
6620 [C99-based-standards] (SCNuLEAST8): Likewise.
6621 [C99-based-standards] (SCNxLEAST8): Likewise.
6622 [C99-based-standards] (PRIdFAST8): Likewise.
6623 [C99-based-standards] (PRIiFAST8): Likewise.
6624 [C99-based-standards] (PRIoFAST8): Likewise.
6625 [C99-based-standards] (PRIuFAST8): Likewise.
6626 [C99-based-standards] (PRIxFAST8): Likewise.
6627 [C99-based-standards] (PRIXFAST8): Likewise.
6628 [C99-based-standards] (SCNdFAST8): Likewise.
6629 [C99-based-standards] (SCNiFAST8): Likewise.
6630 [C99-based-standards] (SCNoFAST8): Likewise.
6631 [C99-based-standards] (SCNuFAST8): Likewise.
6632 [C99-based-standards] (SCNxFAST8): Likewise.
6633 [C99-based-standards] (PRId16): Likewise.
6634 [C99-based-standards] (PRIi16): Likewise.
6635 [C99-based-standards] (PRIo16): Likewise.
6636 [C99-based-standards] (PRIu16): Likewise.
6637 [C99-based-standards] (PRIx16): Likewise.
6638 [C99-based-standards] (PRIX16): Likewise.
6639 [C99-based-standards] (SCNd16): Likewise.
6640 [C99-based-standards] (SCNi16): Likewise.
6641 [C99-based-standards] (SCNo16): Likewise.
6642 [C99-based-standards] (SCNu16): Likewise.
6643 [C99-based-standards] (SCNx16): Likewise.
6644 [C99-based-standards] (PRIdLEAST16): Likewise.
6645 [C99-based-standards] (PRIiLEAST16): Likewise.
6646 [C99-based-standards] (PRIoLEAST16): Likewise.
6647 [C99-based-standards] (PRIuLEAST16): Likewise.
6648 [C99-based-standards] (PRIxLEAST16): Likewise.
6649 [C99-based-standards] (PRIXLEAST16): Likewise.
6650 [C99-based-standards] (SCNdLEAST16): Likewise.
6651 [C99-based-standards] (SCNiLEAST16): Likewise.
6652 [C99-based-standards] (SCNoLEAST16): Likewise.
6653 [C99-based-standards] (SCNuLEAST16): Likewise.
6654 [C99-based-standards] (SCNxLEAST16): Likewise.
6655 [C99-based-standards] (PRIdFAST16): Likewise.
6656 [C99-based-standards] (PRIiFAST16): Likewise.
6657 [C99-based-standards] (PRIoFAST16): Likewise.
6658 [C99-based-standards] (PRIuFAST16): Likewise.
6659 [C99-based-standards] (PRIxFAST16): Likewise.
6660 [C99-based-standards] (PRIXFAST16): Likewise.
6661 [C99-based-standards] (SCNdFAST16): Likewise.
6662 [C99-based-standards] (SCNiFAST16): Likewise.
6663 [C99-based-standards] (SCNoFAST16): Likewise.
6664 [C99-based-standards] (SCNuFAST16): Likewise.
6665 [C99-based-standards] (SCNxFAST16): Likewise.
6666 [C99-based-standards] (PRId32): Likewise.
6667 [C99-based-standards] (PRIi32): Likewise.
6668 [C99-based-standards] (PRIo32): Likewise.
6669 [C99-based-standards] (PRIu32): Likewise.
6670 [C99-based-standards] (PRIx32): Likewise.
6671 [C99-based-standards] (PRIX32): Likewise.
6672 [C99-based-standards] (SCNd32): Likewise.
6673 [C99-based-standards] (SCNi32): Likewise.
6674 [C99-based-standards] (SCNo32): Likewise.
6675 [C99-based-standards] (SCNu32): Likewise.
6676 [C99-based-standards] (SCNx32): Likewise.
6677 [C99-based-standards] (PRIdLEAST32): Likewise.
6678 [C99-based-standards] (PRIiLEAST32): Likewise.
6679 [C99-based-standards] (PRIoLEAST32): Likewise.
6680 [C99-based-standards] (PRIuLEAST32): Likewise.
6681 [C99-based-standards] (PRIxLEAST32): Likewise.
6682 [C99-based-standards] (PRIXLEAST32): Likewise.
6683 [C99-based-standards] (SCNdLEAST32): Likewise.
6684 [C99-based-standards] (SCNiLEAST32): Likewise.
6685 [C99-based-standards] (SCNoLEAST32): Likewise.
6686 [C99-based-standards] (SCNuLEAST32): Likewise.
6687 [C99-based-standards] (SCNxLEAST32): Likewise.
6688 [C99-based-standards] (PRIdFAST32): Likewise.
6689 [C99-based-standards] (PRIiFAST32): Likewise.
6690 [C99-based-standards] (PRIoFAST32): Likewise.
6691 [C99-based-standards] (PRIuFAST32): Likewise.
6692 [C99-based-standards] (PRIxFAST32): Likewise.
6693 [C99-based-standards] (PRIXFAST32): Likewise.
6694 [C99-based-standards] (SCNdFAST32): Likewise.
6695 [C99-based-standards] (SCNiFAST32): Likewise.
6696 [C99-based-standards] (SCNoFAST32): Likewise.
6697 [C99-based-standards] (SCNuFAST32): Likewise.
6698 [C99-based-standards] (SCNxFAST32): Likewise.
6699 [C99-based-standards] (PRId64): Likewise.
6700 [C99-based-standards] (PRIi64): Likewise.
6701 [C99-based-standards] (PRIo64): Likewise.
6702 [C99-based-standards] (PRIu64): Likewise.
6703 [C99-based-standards] (PRIx64): Likewise.
6704 [C99-based-standards] (PRIX64): Likewise.
6705 [C99-based-standards] (SCNd64): Likewise.
6706 [C99-based-standards] (SCNi64): Likewise.
6707 [C99-based-standards] (SCNo64): Likewise.
6708 [C99-based-standards] (SCNu64): Likewise.
6709 [C99-based-standards] (SCNx64): Likewise.
6710 [C99-based-standards] (PRIdLEAST64): Likewise.
6711 [C99-based-standards] (PRIiLEAST64): Likewise.
6712 [C99-based-standards] (PRIoLEAST64): Likewise.
6713 [C99-based-standards] (PRIuLEAST64): Likewise.
6714 [C99-based-standards] (PRIxLEAST64): Likewise.
6715 [C99-based-standards] (PRIXLEAST64): Likewise.
6716 [C99-based-standards] (SCNdLEAST64): Likewise.
6717 [C99-based-standards] (SCNiLEAST64): Likewise.
6718 [C99-based-standards] (SCNoLEAST64): Likewise.
6719 [C99-based-standards] (SCNuLEAST64): Likewise.
6720 [C99-based-standards] (SCNxLEAST64): Likewise.
6721 [C99-based-standards] (PRIdFAST64): Likewise.
6722 [C99-based-standards] (PRIiFAST64): Likewise.
6723 [C99-based-standards] (PRIoFAST64): Likewise.
6724 [C99-based-standards] (PRIuFAST64): Likewise.
6725 [C99-based-standards] (PRIxFAST64): Likewise.
6726 [C99-based-standards] (PRIXFAST64): Likewise.
6727 [C99-based-standards] (SCNdFAST64): Likewise.
6728 [C99-based-standards] (SCNiFAST64): Likewise.
6729 [C99-based-standards] (SCNoFAST64): Likewise.
6730 [C99-based-standards] (SCNuFAST64): Likewise.
6731 [C99-based-standards] (SCNxFAST64): Likewise.
6732 [C99-based-standards] (PRIdMAX): Likewise.
6733 [C99-based-standards] (PRIiMAX): Likewise.
6734 [C99-based-standards] (PRIoMAX): Likewise.
6735 [C99-based-standards] (PRIuMAX): Likewise.
6736 [C99-based-standards] (PRIxMAX): Likewise.
6737 [C99-based-standards] (PRIXMAX): Likewise.
6738 [C99-based-standards] (SCNdMAX): Likewise.
6739 [C99-based-standards] (SCNiMAX): Likewise.
6740 [C99-based-standards] (SCNoMAX): Likewise.
6741 [C99-based-standards] (SCNuMAX): Likewise.
6742 [C99-based-standards] (SCNxMAX): Likewise.
6743 [C99-based-standards] (PRIdPTR): Likewise.
6744 [C99-based-standards] (PRIiPTR): Likewise.
6745 [C99-based-standards] (PRIoPTR): Likewise.
6746 [C99-based-standards] (PRIuPTR): Likewise.
6747 [C99-based-standards] (PRIxPTR): Likewise.
6748 [C99-based-standards] (PRIXPTR): Likewise.
6749 [C99-based-standards] (SCNdPTR): Likewise.
6750 [C99-based-standards] (SCNiPTR): Likewise.
6751 [C99-based-standards] (SCNoPTR): Likewise.
6752 [C99-based-standards] (SCNuPTR): Likewise.
6753 [C99-based-standards] (SCNxPTR): Likewise.
6754 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6755 allow.
6756 * conform/data/stdint.h-data: Update comments to clarify
6757 requirements.
6758 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6759 type.
6760 [C99-based standards] (INT8_MAX): Likewise.
6761 [C99-based standards] (INT16_MIN): Likewise.
6762 [C99-based standards] (INT16_MAX): Likewise.
6763 [C99-based standards] (INT32_MIN): Likewise.
6764 [C99-based standards] (INT32_MAX): Likewise.
6765 [C99-based standards] (INT64_MIN): Likewise.
6766 [C99-based standards] (INT64_MAX): Likewise.
6767 [C99-based standards] (UINT8_MAX): Likewise.
6768 [C99-based standards] (UINT16_MAX): Likewise.
6769 [C99-based standards] (UINT32_MAX): Likewise.
6770 [C99-based standards] (UINT64_MAX): Likewise.
6771 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6772 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6773 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6774 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6775 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6776 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6777 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6778 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6779 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6780 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6781 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6782 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6783 [C99-based standards] (INT_FAST8_MIN): Likewise.
6784 [C99-based standards] (INT_FAST8_MAX): Likewise.
6785 [C99-based standards] (INT_FAST16_MIN): Likewise.
6786 [C99-based standards] (INT_FAST16_MAX): Likewise.
6787 [C99-based standards] (INT_FAST32_MIN): Likewise.
6788 [C99-based standards] (INT_FAST32_MAX): Likewise.
6789 [C99-based standards] (INT_FAST64_MIN): Likewise.
6790 [C99-based standards] (INT_FAST64_MAX): Likewise.
6791 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6792 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6793 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6794 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6795 [C99-based standards] (INTPTR_MIN): Likewise.
6796 [C99-based standards] (INTPTR_MAX): Likewise.
6797 [C99-based standards] (UINTPTR_MAX): Likewise.
6798 [C99-based standards] (INTMAX_MIN): Likewise.
6799 [C99-based standards] (INTMAX_MAX): Likewise.
6800 [C99-based standards] (UINTMAX_MAX): Likewise.
6801 [C99-based standards] (PTRDIFF_MIN): Likewise.
6802 [C99-based standards] (PTRDIFF_MAX): Likewise.
6803 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6804 [C99-based standards] (SIZE_MAX): Likewise.
6805 [C99-based standards] (WCHAR_MAX): Likewise.
6806 [C99-based standards] (WINT_MAX): Likewise.
6807 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6808 constraint on value.
6809 [C99-based standards] (WCHAR_MIN): Likewise.
6810 [C99-based standards] (WINT_MIN): Likewise.
6811 [C99-based standards] (*_t): Allow.
6812 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6813 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6814 Include math.h-data and complex.h-data. Remove all expectations
6815 of math.h and complex.h contents.
6816 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6817 at end of line.
6818 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6819 (struct tm): Expect tag.
6820 [C99-based-standards] (wcstof): Expect function.
6821 [C99-based-standards] (wcstold): Likewise.
6822 [C99-based-standards] (wcstoll): Likewise.
6823 [C99-based-standards] (wcstoull): Likewise.
6824 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6825 macro-int-constant. Specify type.
6826 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6827 constraint on value.
6828 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6829 Specify type.
6830 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6831 Specify value.
6832 [ISO C standards]: Do not allow headers.
6833 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6834 wcs[abcdefghijklmnopqrstuvwxyz]*.
6835 [ISO C standards] (*_t): Do not allow.
6836 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6837 Expect function.
6838 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6839 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6840 Specify type.
6841 [ISO C standards]: Do not allow headers.
6842 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6843 is[abcdefghijklmnopqrstuvwxyz]*.
6844 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6845 to[abcdefghijklmnopqrstuvwxyz]*.
6846 [ISO C standards] (*_t): Do not allow.
6847 * conform/data/stdalign.h-data: New file.
6848 * conform/data/stdbool.h-data: Likewise.
6849 * conform/data/stdnoreturn.h-data: Likewise.
6850
7514feb8
RM
68512012-11-07 Roland McGrath <roland@hack.frob.com>
6852
6853 [BZ #14815]
6854 * manual/filesys.texi (Directory Entries): Typo fix.
6855 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6856
19b2ecfc
MS
68572012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6858
6859 * elf/elf.h (EM_AARCH64): New macro.
6860 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6861 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6862 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6863 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6864 (R_AARCH64_TLSDESC): Likewise.
6865 (NT_ARM_TLS): Likewise.
6866 (NT_ARM_HW_BREAK): Likewise.
6867 (NT_ARM_HW_WATCH): Likewise.
6868
60e235ee
JM
68692012-11-07 Joseph Myers <joseph@codesourcery.com>
6870
6871 [BZ #14811]
6872 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6873 (__ieee754_powl): Saturate nonzero exponents with absolute value
6874 below 0x1p-79 to +/- 0x1p-79.
6875 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6876 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6877 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6878 nonzero exponents with absolute value below 0x1p-32 to +/-
6879 0x1p-32.
6880 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6881 (__ieee754_powl): Saturate nonzero exponents with absolute value
6882 below 0x1p-79 to +/- 0x1p-79.
6883 * math/libm-test.inc (pow_test): Add more tests.
6884
0ab234b7
AK
68852012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6886
6887 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6888 _dl_s390_cap_flags with kernel. Increase string length.
6889 (_dl_s390_platforms): Add z196 and zEC12.
6890
45832f74
JM
68912012-11-07 Joseph Myers <joseph@codesourcery.com>
6892
6893 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6894 Change XOPEN21K to XOPEN2K.
6895
19218757
MK
68962012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6897
6898 * string/memmove.c: Use memcpy when possible.
6899
c5f45721
AJ
69002012-11-06 Andreas Jaeger <aj@suse.de>
6901
6902 * po/eo.po: Update from translation team.
6903
82477c28
JM
69042012-11-06 Joseph Myers <joseph@codesourcery.com>
6905
6906 [BZ #14793]
6907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6908 exponent and small x and y exponents, scale x or y up. Increase
6909 by 2 the exponent used in scaling up.
6910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6911 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6912 * math/libm-test.inc (fma_test): Add more tests.
6913 (fma_test_towardzero): Likewise.
6914 (fma_test_downward): Likewise.
6915 (fma_test_upward): Likewise.
6916
99252c8c
JM
69172012-11-05 Joseph Myers <joseph@codesourcery.com>
6918
acfa885f
JM
6919 [BZ #14805]
6920 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6921 fenv_t *.
6922
99252c8c
JM
6923 [BZ #14801]
6924 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6925 namespace for names of struct fields.
6926 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6927 fenv_t fields.
6928 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6929 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6930
d6d98dea
ST
69312012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6932
6933 [BZ #3665]
6934 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6935
e10bb107
TS
69362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6937
6938 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6939 PTR_DEMANGLE.
6940
6941 [BZ #5246]
6942 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6943 PTR_DEMANGLE.
6944
a0c2940d
JM
69452012-11-04 Joseph Myers <joseph@codesourcery.com>
6946
6947 [BZ #14797]
6948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6949 definitely overflow as x * y not x * y + z.
6950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6952 * math/libm-test.inc (fma_test): Add more tests.
6953 (fma_test_towardzero): Likewise.
6954 (fma_test_downward): Likewise.
6955 (fma_test_upward): Likewise.
6956
b830319d
TS
69572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6958
6959 [BZ #157]
6960
6961 * include/stub-tag.h: Remove file.
6962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6963 '#include' of it.
6964 * manual/maint.texi (Porting): Don't reference it.
6965 * Makerules ($(objpfx)stubs): Likewise.
6966 * dirent/closedir.c: Don't include <stub-tag.h>.
6967 * dirent/dirfd.c: Likewise.
6968 * dirent/fdopendir.c: Likewise.
6969 * dirent/getdents.c: Likewise.
6970 * dirent/getdents64.c: Likewise.
6971 * dirent/opendir.c: Likewise.
6972 * dirent/readdir.c: Likewise.
6973 * dirent/readdir64.c: Likewise.
6974 * dirent/readdir64_r.c: Likewise.
6975 * dirent/readdir_r.c: Likewise.
6976 * dirent/rewinddir.c: Likewise.
6977 * dirent/seekdir.c: Likewise.
6978 * dirent/telldir.c: Likewise.
6979 * gmon/profil.c: Likewise.
6980 * grp/setgroups.c: Likewise.
6981 * inet/if_index.c: Likewise.
6982 * io/access.c: Likewise.
6983 * io/chdir.c: Likewise.
6984 * io/chmod.c: Likewise.
6985 * io/chown.c: Likewise.
6986 * io/close.c: Likewise.
6987 * io/dup.c: Likewise.
6988 * io/dup2.c: Likewise.
6989 * io/dup3.c: Likewise.
6990 * io/euidaccess.c: Likewise.
6991 * io/faccessat.c: Likewise.
6992 * io/fchdir.c: Likewise.
6993 * io/fchmod.c: Likewise.
6994 * io/fchmodat.c: Likewise.
6995 * io/fchown.c: Likewise.
6996 * io/fchownat.c: Likewise.
6997 * io/fcntl.c: Likewise.
6998 * io/flock.c: Likewise.
6999 * io/fstatfs.c: Likewise.
7000 * io/fstatfs64.c: Likewise.
7001 * io/fstatvfs.c: Likewise.
7002 * io/fstatvfs64.c: Likewise.
7003 * io/futimens.c: Likewise.
7004 * io/fxstat.c: Likewise.
7005 * io/fxstat64.c: Likewise.
7006 * io/fxstatat.c: Likewise.
7007 * io/fxstatat64.c: Likewise.
7008 * io/getcwd.c: Likewise.
7009 * io/isatty.c: Likewise.
7010 * io/lchmod.c: Likewise.
7011 * io/lchown.c: Likewise.
7012 * io/link.c: Likewise.
7013 * io/linkat.c: Likewise.
7014 * io/lseek.c: Likewise.
7015 * io/lseek64.c: Likewise.
7016 * io/lxstat64.c: Likewise.
7017 * io/mkdir.c: Likewise.
7018 * io/mkdirat.c: Likewise.
7019 * io/mkfifo.c: Likewise.
7020 * io/mkfifoat.c: Likewise.
7021 * io/open.c: Likewise.
7022 * io/open64.c: Likewise.
7023 * io/openat.c: Likewise.
7024 * io/openat64.c: Likewise.
7025 * io/pipe.c: Likewise.
7026 * io/pipe2.c: Likewise.
7027 * io/poll.c: Likewise.
7028 * io/posix_fadvise.c: Likewise.
7029 * io/posix_fadvise64.c: Likewise.
7030 * io/posix_fallocate.c: Likewise.
7031 * io/posix_fallocate64.c: Likewise.
7032 * io/read.c: Likewise.
7033 * io/readlink.c: Likewise.
7034 * io/readlinkat.c: Likewise.
7035 * io/rmdir.c: Likewise.
7036 * io/sendfile.c: Likewise.
7037 * io/sendfile64.c: Likewise.
7038 * io/statfs.c: Likewise.
7039 * io/statfs64.c: Likewise.
7040 * io/statvfs.c: Likewise.
7041 * io/statvfs64.c: Likewise.
7042 * io/symlink.c: Likewise.
7043 * io/symlinkat.c: Likewise.
7044 * io/ttyname.c: Likewise.
7045 * io/ttyname_r.c: Likewise.
7046 * io/umask.c: Likewise.
7047 * io/unlink.c: Likewise.
7048 * io/unlinkat.c: Likewise.
7049 * io/utime.c: Likewise.
7050 * io/utimensat.c: Likewise.
7051 * io/write.c: Likewise.
7052 * io/xmknod.c: Likewise.
7053 * io/xmknodat.c: Likewise.
7054 * io/xstat.c: Likewise.
7055 * io/xstat64.c: Likewise.
7056 * login/getpt.c: Likewise.
7057 * login/grantpt.c: Likewise.
7058 * login/unlockpt.c: Likewise.
7059 * math/e_acoshl.c: Likewise.
7060 * math/e_acosl.c: Likewise.
7061 * math/e_asinl.c: Likewise.
7062 * math/e_atan2l.c: Likewise.
7063 * math/e_atanhl.c: Likewise.
7064 * math/e_coshl.c: Likewise.
7065 * math/e_expl.c: Likewise.
7066 * math/e_fmodl.c: Likewise.
7067 * math/e_gammal_r.c: Likewise.
7068 * math/e_hypotl.c: Likewise.
7069 * math/e_j0l.c: Likewise.
7070 * math/e_j1l.c: Likewise.
7071 * math/e_jnl.c: Likewise.
7072 * math/e_lgammal_r.c: Likewise.
7073 * math/e_log10l.c: Likewise.
7074 * math/e_log2l.c: Likewise.
7075 * math/e_logl.c: Likewise.
7076 * math/e_powl.c: Likewise.
7077 * math/e_rem_pio2l.c: Likewise.
7078 * math/e_sinhl.c: Likewise.
7079 * math/e_sqrtl.c: Likewise.
7080 * math/fclrexcpt.c: Likewise.
7081 * math/fedisblxcpt.c: Likewise.
7082 * math/feenablxcpt.c: Likewise.
7083 * math/fegetenv.c: Likewise.
7084 * math/fegetexcept.c: Likewise.
7085 * math/fegetround.c: Likewise.
7086 * math/feholdexcpt.c: Likewise.
7087 * math/fesetenv.c: Likewise.
7088 * math/fesetround.c: Likewise.
7089 * math/feupdateenv.c: Likewise.
7090 * math/fgetexcptflg.c: Likewise.
7091 * math/fraiseexcpt.c: Likewise.
7092 * math/fsetexcptflg.c: Likewise.
7093 * math/ftestexcept.c: Likewise.
7094 * math/k_cosl.c: Likewise.
7095 * math/k_rem_pio2l.c: Likewise.
7096 * math/k_sinl.c: Likewise.
7097 * math/k_tanl.c: Likewise.
7098 * math/s_asinhl.c: Likewise.
7099 * math/s_atanl.c: Likewise.
7100 * math/s_cbrtl.c: Likewise.
7101 * math/s_erfl.c: Likewise.
7102 * math/s_expm1l.c: Likewise.
7103 * math/s_log1pl.c: Likewise.
7104 * math/s_tanhl.c: Likewise.
7105 * misc/acct.c: Likewise.
7106 * misc/brk.c: Likewise.
7107 * misc/chflags.c: Likewise.
7108 * misc/chroot.c: Likewise.
7109 * misc/fchflags.c: Likewise.
7110 * misc/fgetxattr.c: Likewise.
7111 * misc/flistxattr.c: Likewise.
7112 * misc/fremovexattr.c: Likewise.
7113 * misc/fsetxattr.c: Likewise.
7114 * misc/fsync.c: Likewise.
7115 * misc/ftruncate.c: Likewise.
7116 * misc/futimes.c: Likewise.
7117 * misc/futimesat.c: Likewise.
7118 * misc/getdomain.c: Likewise.
7119 * misc/getdtsz.c: Likewise.
7120 * misc/gethostid.c: Likewise.
7121 * misc/gethostname.c: Likewise.
7122 * misc/getloadavg.c: Likewise.
7123 * misc/getpagesize.c: Likewise.
7124 * misc/getsysstats.c: Likewise.
7125 * misc/getxattr.c: Likewise.
7126 * misc/gtty.c: Likewise.
7127 * misc/ioctl.c: Likewise.
7128 * misc/lgetxattr.c: Likewise.
7129 * misc/listxattr.c: Likewise.
7130 * misc/llistxattr.c: Likewise.
7131 * misc/lremovexattr.c: Likewise.
7132 * misc/lsetxattr.c: Likewise.
7133 * misc/lutimes.c: Likewise.
7134 * misc/madvise.c: Likewise.
7135 * misc/mincore.c: Likewise.
7136 * misc/mlock.c: Likewise.
7137 * misc/mlockall.c: Likewise.
7138 * misc/mmap.c: Likewise.
7139 * misc/mprotect.c: Likewise.
7140 * misc/msync.c: Likewise.
7141 * misc/munlock.c: Likewise.
7142 * misc/munlockall.c: Likewise.
7143 * misc/munmap.c: Likewise.
7144 * misc/preadv.c: Likewise.
7145 * misc/preadv64.c: Likewise.
7146 * misc/ptrace.c: Likewise.
7147 * misc/pwritev.c: Likewise.
7148 * misc/pwritev64.c: Likewise.
7149 * misc/readv.c: Likewise.
7150 * misc/reboot.c: Likewise.
7151 * misc/remap_file_pages.c: Likewise.
7152 * misc/removexattr.c: Likewise.
7153 * misc/revoke.c: Likewise.
7154 * misc/select.c: Likewise.
7155 * misc/setdomain.c: Likewise.
7156 * misc/setegid.c: Likewise.
7157 * misc/seteuid.c: Likewise.
7158 * misc/sethostid.c: Likewise.
7159 * misc/sethostname.c: Likewise.
7160 * misc/setregid.c: Likewise.
7161 * misc/setreuid.c: Likewise.
7162 * misc/setxattr.c: Likewise.
7163 * misc/sstk.c: Likewise.
7164 * misc/stty.c: Likewise.
7165 * misc/swapoff.c: Likewise.
7166 * misc/swapon.c: Likewise.
7167 * misc/sync.c: Likewise.
7168 * misc/syncfs.c: Likewise.
7169 * misc/syscall.c: Likewise.
7170 * misc/truncate.c: Likewise.
7171 * misc/ualarm.c: Likewise.
7172 * misc/usleep.c: Likewise.
7173 * misc/ustat.c: Likewise.
7174 * misc/utimes.c: Likewise.
7175 * misc/vhangup.c: Likewise.
7176 * misc/writev.c: Likewise.
7177 * posix/_exit.c: Likewise.
7178 * posix/alarm.c: Likewise.
7179 * posix/execve.c: Likewise.
7180 * posix/fexecve.c: Likewise.
7181 * posix/fork.c: Likewise.
7182 * posix/fpathconf.c: Likewise.
7183 * posix/getaddrinfo.c: Likewise.
7184 * posix/getegid.c: Likewise.
7185 * posix/geteuid.c: Likewise.
7186 * posix/getgid.c: Likewise.
7187 * posix/getgroups.c: Likewise.
7188 * posix/getlogin.c: Likewise.
7189 * posix/getlogin_r.c: Likewise.
7190 * posix/getpgid.c: Likewise.
7191 * posix/getpid.c: Likewise.
7192 * posix/getppid.c: Likewise.
7193 * posix/getresgid.c: Likewise.
7194 * posix/getresuid.c: Likewise.
7195 * posix/getsid.c: Likewise.
7196 * posix/getuid.c: Likewise.
7197 * posix/glob64.c: Likewise.
7198 * posix/nanosleep.c: Likewise.
7199 * posix/pathconf.c: Likewise.
7200 * posix/pause.c: Likewise.
7201 * posix/posix_madvise.c: Likewise.
7202 * posix/pread.c: Likewise.
7203 * posix/pread64.c: Likewise.
7204 * posix/pwrite.c: Likewise.
7205 * posix/pwrite64.c: Likewise.
7206 * posix/sched_getaffinity.c: Likewise.
7207 * posix/sched_getp.c: Likewise.
7208 * posix/sched_gets.c: Likewise.
7209 * posix/sched_primax.c: Likewise.
7210 * posix/sched_primin.c: Likewise.
7211 * posix/sched_rr_gi.c: Likewise.
7212 * posix/sched_setaffinity.c: Likewise.
7213 * posix/sched_setp.c: Likewise.
7214 * posix/sched_sets.c: Likewise.
7215 * posix/sched_yield.c: Likewise.
7216 * posix/setgid.c: Likewise.
7217 * posix/setlogin.c: Likewise.
7218 * posix/setpgid.c: Likewise.
7219 * posix/setresgid.c: Likewise.
7220 * posix/setresuid.c: Likewise.
7221 * posix/setsid.c: Likewise.
7222 * posix/setuid.c: Likewise.
7223 * posix/sleep.c: Likewise.
7224 * posix/spawni.c: Likewise.
7225 * posix/sysconf.c: Likewise.
7226 * posix/times.c: Likewise.
7227 * posix/wait.c: Likewise.
7228 * posix/wait3.c: Likewise.
7229 * posix/wait4.c: Likewise.
7230 * posix/waitpid.c: Likewise.
7231 * resolv/gai_sigqueue.c: Likewise.
7232 * resource/getpriority.c: Likewise.
7233 * resource/getrlimit.c: Likewise.
7234 * resource/getrusage.c: Likewise.
7235 * resource/nice.c: Likewise.
7236 * resource/setpriority.c: Likewise.
7237 * resource/setrlimit.c: Likewise.
7238 * resource/ulimit.c: Likewise.
7239 * rt/aio_cancel.c: Likewise.
7240 * rt/aio_fsync.c: Likewise.
7241 * rt/aio_read.c: Likewise.
7242 * rt/aio_sigqueue.c: Likewise.
7243 * rt/aio_suspend.c: Likewise.
7244 * rt/aio_write.c: Likewise.
7245 * rt/clock_getres.c: Likewise.
7246 * rt/clock_gettime.c: Likewise.
7247 * rt/clock_nanosleep.c: Likewise.
7248 * rt/clock_settime.c: Likewise.
7249 * rt/lio_listio.c: Likewise.
7250 * rt/mq_close.c: Likewise.
7251 * rt/mq_getattr.c: Likewise.
7252 * rt/mq_notify.c: Likewise.
7253 * rt/mq_open.c: Likewise.
7254 * rt/mq_receive.c: Likewise.
7255 * rt/mq_send.c: Likewise.
7256 * rt/mq_setattr.c: Likewise.
7257 * rt/mq_timedreceive.c: Likewise.
7258 * rt/mq_timedsend.c: Likewise.
7259 * rt/mq_unlink.c: Likewise.
7260 * rt/shm_open.c: Likewise.
7261 * rt/shm_unlink.c: Likewise.
7262 * rt/timer_create.c: Likewise.
7263 * rt/timer_delete.c: Likewise.
7264 * rt/timer_getoverr.c: Likewise.
7265 * rt/timer_gettime.c: Likewise.
7266 * rt/timer_settime.c: Likewise.
7267 * setjmp/__longjmp.c: Likewise.
7268 * setjmp/setjmp.c: Likewise.
7269 * signal/kill.c: Likewise.
7270 * signal/killpg.c: Likewise.
7271 * signal/raise.c: Likewise.
7272 * signal/sigaction.c: Likewise.
7273 * signal/sigaltstack.c: Likewise.
7274 * signal/sigblock.c: Likewise.
7275 * signal/sigignore.c: Likewise.
7276 * signal/sigintr.c: Likewise.
7277 * signal/signal.c: Likewise.
7278 * signal/sigpause.c: Likewise.
7279 * signal/sigpending.c: Likewise.
7280 * signal/sigqueue.c: Likewise.
7281 * signal/sigreturn.c: Likewise.
7282 * signal/sigset.c: Likewise.
7283 * signal/sigsetmask.c: Likewise.
7284 * signal/sigstack.c: Likewise.
7285 * signal/sigsuspend.c: Likewise.
7286 * signal/sigtimedwait.c: Likewise.
7287 * signal/sigvec.c: Likewise.
7288 * signal/sigwait.c: Likewise.
7289 * signal/sigwaitinfo.c: Likewise.
7290 * signal/sysv_signal.c: Likewise.
7291 * socket/accept.c: Likewise.
7292 * socket/accept4.c: Likewise.
7293 * socket/bind.c: Likewise.
7294 * socket/connect.c: Likewise.
7295 * socket/getpeername.c: Likewise.
7296 * socket/getsockname.c: Likewise.
7297 * socket/getsockopt.c: Likewise.
7298 * socket/isfdtype.c: Likewise.
7299 * socket/listen.c: Likewise.
7300 * socket/recv.c: Likewise.
7301 * socket/recvfrom.c: Likewise.
7302 * socket/recvmsg.c: Likewise.
7303 * socket/send.c: Likewise.
7304 * socket/sendmsg.c: Likewise.
7305 * socket/sendto.c: Likewise.
7306 * socket/setsockopt.c: Likewise.
7307 * socket/shutdown.c: Likewise.
7308 * socket/sockatmark.c: Likewise.
7309 * socket/socket.c: Likewise.
7310 * socket/socketpair.c: Likewise.
7311 * stdio-common/ctermid.c: Likewise.
7312 * stdio-common/cuserid.c: Likewise.
7313 * stdio-common/remove.c: Likewise.
7314 * stdio-common/rename.c: Likewise.
7315 * stdio-common/renameat.c: Likewise.
7316 * stdio-common/tempname.c: Likewise.
7317 * stdlib/getcontext.c: Likewise.
7318 * stdlib/makecontext.c: Likewise.
7319 * stdlib/setcontext.c: Likewise.
7320 * stdlib/swapcontext.c: Likewise.
7321 * stdlib/system.c: Likewise.
7322 * streams/fattach.c: Likewise.
7323 * streams/fdetach.c: Likewise.
7324 * streams/getmsg.c: Likewise.
7325 * streams/getpmsg.c: Likewise.
7326 * streams/putmsg.c: Likewise.
7327 * streams/putpmsg.c: Likewise.
7328 * sysdeps/unix/bsd/getpt.c: Likewise.
7329 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7330 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7331 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7333 Likewise.
7334 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7335 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7336 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7337 * sysvipc/msgctl.c: Likewise.
7338 * sysvipc/msgget.c: Likewise.
7339 * sysvipc/msgrcv.c: Likewise.
7340 * sysvipc/msgsnd.c: Likewise.
7341 * sysvipc/semctl.c: Likewise.
7342 * sysvipc/semget.c: Likewise.
7343 * sysvipc/semop.c: Likewise.
7344 * sysvipc/semtimedop.c: Likewise.
7345 * sysvipc/shmat.c: Likewise.
7346 * sysvipc/shmctl.c: Likewise.
7347 * sysvipc/shmdt.c: Likewise.
7348 * sysvipc/shmget.c: Likewise.
7349 * termios/tcdrain.c: Likewise.
7350 * termios/tcflow.c: Likewise.
7351 * termios/tcflush.c: Likewise.
7352 * termios/tcgetattr.c: Likewise.
7353 * termios/tcgetpgrp.c: Likewise.
7354 * termios/tcsendbrk.c: Likewise.
7355 * termios/tcsetattr.c: Likewise.
7356 * termios/tcsetpgrp.c: Likewise.
7357 * time/adjtime.c: Likewise.
7358 * time/clock.c: Likewise.
7359 * time/getitimer.c: Likewise.
7360 * time/gettimeofday.c: Likewise.
7361 * time/setitimer.c: Likewise.
7362 * time/settimeofday.c: Likewise.
7363 * time/stime.c: Likewise.
7364 * time/time.c: Likewise.
7365
73662012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7367
a20492cf
PT
7368 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7369 /usr/old/bin.
7370
72e182e3
PT
7371 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7372 instead of spaces.
7373 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7374
fbeafede
JM
73752012-11-03 Joseph Myers <joseph@codesourcery.com>
7376
5b5b04d6
JM
7377 [BZ #14796]
7378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7379 FE_TONEAREST before applying Dekker multiplication and Knuth
7380 addition. Clear inexact exceptions and check for exact zero
7381 results afterwards.
7382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7383 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7385 * math/libm-test.inc (fma_test): Add more tests.
7386 (fma_test_towardzero): Likewise.
7387 (fma_test_downward): Likewise.
7388 (fma_test_upward): Likewise.
7389 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7390 function.
7391 (libc_fesetround): New macro.
7392 (libc_fesetroundf): Likewise.
7393 (libc_fesetroundl): Likewise.
7394 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7395 function.
7396 (libc_fesetround_387): Likewise.
7397 (libc_fesetroundf): New macro.
7398 (libc_fesetround): Likewise.
7399 (libc_fesetroundl): Likewise.
7400 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7401 function.
7402 (libc_fesetroundf): New macro.
7403 (libc_fesetround): Likewise.
7404 (libc_fesetroundl): Likewise.
7405 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7406 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7407 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7408 libm_hidden_ver.
7409 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7410 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7411 libm_hidden_def.
7412 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7413 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7414 libm_hidden_ver.
7415 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7416 libm_hidden_def.
7417
fbeafede
JM
7418 [BZ #3439]
7419 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7420 integer constant usable in #if and use that to give value to enum
7421 constant.
7422 (FE_DIVBYZERO): Likewise.
7423 (FE_UNDERFLOW): Likewise.
7424 (FE_OVERFLOW): Likewise.
7425 (FE_INVALID): Likewise.
7426 (FE_INVALID_SNAN): Likewise.
7427 (FE_INVALID_ISI): Likewise.
7428 (FE_INVALID_IDI): Likewise.
7429 (FE_INVALID_ZDZ): Likewise.
7430 (FE_INVALID_IMZ): Likewise.
7431 (FE_INVALID_COMPARE): Likewise.
7432 (FE_INVALID_SOFTWARE): Likewise.
7433 (FE_INVALID_SQRT): Likewise.
7434 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7435 (FE_TONEAREST): Likewise.
7436 (FE_TOWARDZERO): Likewise.
7437 (FE_UPWARD): Likewise.
7438 (FE_DOWNWARD): Likewise.
7439 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7440 (FE_DIVBYZERO): Likewise.
7441 (FE_OVERFLOW): Likewise.
7442 (FE_UNDERFLOW): Likewise.
7443 (FE_INEXACT): Likewise.
7444 (FE_TONEAREST): Likewise.
7445 (FE_DOWNWARD): Likewise.
7446 (FE_UPWARD): Likewise.
7447 (FE_TOWARDZERO): Likewise.
7448 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7449 (FE_UNDERFLOW): Likewise.
7450 (FE_OVERFLOW): Likewise.
7451 (FE_DIVBYZERO): Likewise.
7452 (FE_INVALID): Likewise.
7453 (FE_TONEAREST): Likewise.
7454 (FE_TOWARDZERO): Likewise.
7455 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7456 (FE_OVERFLOW): Likewise.
7457 (FE_UNDERFLOW): Likewise.
7458 (FE_DIVBYZERO): Likewise.
7459 (FE_INEXACT): Likewise.
7460 (FE_TONEAREST): Likewise.
7461 (FE_TOWARDZERO): Likewise.
7462 (FE_UPWARD): Likewise.
7463 (FE_DOWNWARD): Likewise.
7464 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7465 (FE_DIVBYZERO): Likewise.
7466 (FE_OVERFLOW): Likewise.
7467 (FE_UNDERFLOW): Likewise.
7468 (FE_INEXACT): Likewise.
7469 (FE_TONEAREST): Likewise.
7470 (FE_DOWNWARD): Likewise.
7471 (FE_UPWARD): Likewise.
7472 (FE_TOWARDZERO): Likewise.
7473
105ca950
CM
74742012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7475
7476 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7477
a542b389
AS
74782012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7479
7480 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7481 commands. Quote $PWD.
7482 (blacklist_exports): Don't use remove_newlines. Replace "declare
7483 -x" by "export".
7484 (remove_newlines): Remove.
7485
f62c8abc
L
74862012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7487
7488 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7489 * stdlib/stdlib.h (atof): Moved to ...
7490 * include/bits/stdlib-float.h: Here. New file.
7491 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7492 * stdlib/bits/stdlib-float.h: New file.
7493 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7494 -mno-sse -mno-mmx.
7495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7496 <xmmintrin.h>.
7497
0155d5b2
JM
74982012-11-02 Joseph Myers <joseph@codesourcery.com>
7499
a68d0680
JM
7500 * conform/conformtest.pl (@headers): Add fenv.h.
7501 * conform/data/fenv.h-data: New file.
7502 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7503 include of <math/fenv.h>.
7504
caf7f573
JM
7505 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7506 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7507 && !UNIX98]. Enables tests for XOPEN2K8.
7508 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7509 POSIX2008]: Likewise.
7510
6c073ad6
JM
7511 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7512 (struct rusage): Do not expect type or its members.
7513
0155d5b2
JM
7514 [BZ #3439]
7515 * math/math.h (FP_NAN): Define macro to integer constant usable in
7516 #if and use that to give value to enum constant.
7517 (FP_INFINITE): Likewise.
7518 (FP_ZERO): Likewise.
7519 (FP_SUBNORMAL): Likewise.
7520 (FP_NORMAL): Likewise.
7521
b5dcacb4
AS
75222012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7523
7524 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7525 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7526 arguments.
7527
f7934be8
RM
75282012-11-02 Roland McGrath <roland@hack.frob.com>
7529
7530 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7531 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7532 autoconf-time if not.
7533 * configure.in: Remove AC_PREREQ.
7534
d7d08bde
TMQMF
75352012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7536
7537 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7538 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7539 of the internal implementation.
7540
dcdae19a
JM
75412012-11-02 Joseph Myers <joseph@codesourcery.com>
7542
7543 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7544 except include of <misc/sys/syslog.h>.
7545
d6cffd3e
AS
75462012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7547
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7549 function returns with a NULL context exit with zero.
7550
b3563932
TMQMF
75512012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7552
7553 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7554
b288a93d
L
75552012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7556
7557 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7558 (run_program_cmd): This.
7559 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7560 (tst_langinfo): New variable. Use it.
7561
a2421a68
SAS
75622012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7563
7564 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7565 floating point opcodes.
7566
6f796e1b
TS
75672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7568
7402596b
TS
7569 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7570 variable.
7571
d0d4f868
TS
7572 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7573
6f796e1b
TS
7574 * sysdeps/mach/hurd/powerpc: Remove directory.
7575 * sysdeps/mach/powerpc: Likewise.
7576
4da224a2
AS
75772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7578
7579 * scripts/check-local-headers.sh: Ignore c++ headers.
7580
341dd673
TS
75812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7582
7583 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7584 __libc_cleanup_region_start argument.
7585
473611b2
JM
75862012-11-01 Joseph Myers <joseph@codesourcery.com>
7587
7588 [BZ #14784]
7589 [BZ #14785]
7590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7591 x * y using scaling, not as x * y + z.
7592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7594 * math/libm-test.inc (fma_test): Add more tests.
7595 (fma_test_towardzero): Likewise.
7596 (fma_test_downward): Likewise.
7597 (fma_test_upward): Likewise.
7598
4078da3d
TS
75992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7600
7601 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7602
903252aa
JM
76032012-10-31 Joseph Myers <joseph@codesourcery.com>
7604
7605 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7606 New variable.
7607
cbc818d0
TS
76082012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7609
7610 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7611
5a03cb1e
AS
76122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7613
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7615 Fix sort order.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7617 Likewise.
7618
90aff2ff
TMQMF
76192012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7620
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7622 Fix the order of the list for glibc 2.17.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7624 Likewise.
7625
1818fcb7
AS
76262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7627
7628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7629
ef82f4da
JM
76302012-10-31 Joseph Myers <joseph@codesourcery.com>
7631
16a0e2ec
JM
7632 [BZ #14610]
7633 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7634 for low part of x being zero before using __atanl (y).
7635 * math/libm-test.inc (atan2_test): Add another test.
7636
0eb69512
JM
7637 * manual/install.texi (Configuring and compiling): Document
7638 general use of test-wrapper and test-wrapper-env.
7639 * INSTALL: Regenerated.
7640
ef82f4da
JM
7641 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7642 (__fma): Do not extract and scale down low bits on after-rounding
7643 systems when result rounded to normal precision would have normal
7644 exponent.
7645 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7646 (__fmal): Do not extract and scale down low bits on after-rounding
7647 systems when result rounded to normal precision would have normal
7648 exponent.
7649 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7650 (__fmal): Do not extract and scale down low bits on after-rounding
7651 systems when result rounded to normal precision would have normal
7652 exponent.
7653 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7654 macro.
7655 (fma_test): Add more tests.
7656 (fma_test_towardzero): Likewise.
7657 (fma_test_downward): Likewise.
7658 (fma_test_upward): Likewise.
7659
954ef0d9
L
76602012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7661
7662 * sysdeps/i386/tininess.h: Renamed to ...
7663 * sysdeps/x86/tininess.h: This.
7664 * sysdeps/x86_64/tininess.h: Removed.
7665
df61ffb2
JM
76662012-10-30 Joseph Myers <joseph@codesourcery.com>
7667
7668 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7669 input. Use $(build-program-cmd).
7670 ($(objpfx)tst-array1-static.out): Likewise.
7671 ($(objpfx)tst-array2.out): Likewise.
7672 ($(objpfx)tst-array3.out): Likewise.
7673 ($(objpfx)tst-array4.out): Likewise.
7674 ($(objpfx)tst-array5.out): Likewise.
7675 ($(objpfx)tst-array5-static.out): Likewise.
7676
01767843
CM
76772012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7678
47cc1490
CM
7679 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7680 if defined.
7681
01767843
CM
7682 * nss/nsswitch.h (nss_interface_function): Provide new
7683 macro for use with NSS functions.
7684 * grp/initgroups.c: Use new macro.
7685 * nss/getXXbyYY.c: Likewise.
7686 * nss/getXXbyYY_r.c: Likewise.
7687 * nss/getXXent.c: Likewise.
7688 * nss/getXXent_r.c: Likewise.
7689 * sysdeps/posix/getaddrinfo.c: Likewise.
7690
8321aa97
AJ
76912012-10-30 Andreas Jaeger <aj@suse.de>
7692
7693 * po/ru.po: Update Russion translation from translation project.
7694
2a27fd6d
JM
76952012-10-30 Joseph Myers <joseph@codesourcery.com>
7696
8627a232
JM
7697 [BZ #14152]
7698 [BZ #14783]
7699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7700 result and shift together with sticky bit instead of replicating
7701 round-to-nearest rounding.
7702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7703 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7704 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7705 missing underflow exceptions.
7706 (fma_test_towardzero): Add more tests.
7707 (fma_test_downward): Likewise.
7708 (fma_test_upward): Likewise.
7709
2a27fd6d
JM
7710 [BZ #14047]
7711 * sysdeps/generic/tininess.h: New file.
7712 * sysdeps/i386/tininess.h: Likewise.
7713 * sysdeps/sh/tininess.h: Likewise.
7714 * sysdeps/x86_64/tininess.h: Likewise.
7715 * stdlib/tst-strtod-underflow.c: Likewise.
7716 * stdlib/tst-tininess.c: Likewise.
7717 * stdlib/strtod_l.c: Include <tininess.h>.
7718 (round_and_return): Do not set errno for exact underflow cases.
7719 Force an underflow exception when setting errno for underflow.
7720 Determine underflow based on rounding to normal precision if
7721 TININESS_AFTER_ROUNDING.
7722 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7723 ERANGE for exact underflow cases.
7724 * stdlib/Makefile (tests): Add tst-tininess and
7725 tst-strtod-underflow.
7726 ($(objpfx)tst-tininess): Use $(link-libm).
7727 ($(objpfx)tst-strtod-underflow): Likewise.
7728
e7170363
AJ
77292012-10-30 Andreas Jaeger <aj@suse.de>
7730
e5088dc6
AJ
7731 [BZ#14767]
7732 * elf/Makefile (tests): Remove conditional for have-initfini-array
7733 since this is now always required and the variable does not exist
7734 anymore.
7735 (tests-static): Likewise.
7736 (modules-names): Likewise.
7737
e7170363 7738 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7739
7740 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7741 merged with constructor/destructor.
7742 (init_array): Likewise.
7743 * elf/tst-array2dep.c (fini_array): Likewise.
7744 (init_array): Likewise.
7745
60457d8a
MF
77462012-10-29 Mike Frysinger <vapier@gentoo.org>
7747
7748 * manual/message.texi: Delete @cartouche tags.
7749
8bece752
PT
77502012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7751
94ce799f
PT
7752 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7753 EOPNOTSUPP.
7754 * sysdeps/mach/hurd/fsync.c: Likewise.
7755
8bece752
PT
7756 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7757 [_POSIX_REALTIME_SIGNALS]: Change condition to
7758 [_POSIX_REALTIME_SIGNALS > 0].
7759
86ebe6b1
AJ
77602012-10-27 Andreas Jaeger <aj@suse.de>
7761
7762 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7763 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7765 [__WORDSIZE != 64]: Likewise.
7766
54399c08
L
77672012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7768
7769 * iconvdata/tst-table.sh: Remove ${SHELL}.
7770 * iconvdata/tst-tables.sh: Likewise.
7771
e2211bed
DM
77722012-10-25 David S. Miller <davem@davemloft.net>
7773
7774 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7775 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7776 of strtoull.
7777
f303f97c
DM
7778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7779 ifunc-impl-list.c
7780 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7781 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7782 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7783 file.
7784
1e9d84cd
RM
77852012-10-25 Roland McGrath <roland@hack.frob.com>
7786
7787 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7788 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7789 __getdirentries.
7790
df381762
JM
77912012-10-25 Joseph Myers <joseph@codesourcery.com>
7792 Jim Blandy <jimb@codesourcery.com>
7793
7794 * scripts/cross-test-ssh.sh: New file.
7795 * manual/install.texi (Configuring and compiling): Document use of
7796 cross-test-ssh.sh.
7797 * INSTALL: Regenerated.
7798
bff64913
PT
77992012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7800
7801 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7802 EOPNOTSUPP.
7803
25fe8932
JM
78042012-10-25 Joseph Myers <joseph@codesourcery.com>
7805
7806 * Makeconfig (run-program-prefix): Fix comment.
7807
cc1290d0
JM
78082012-10-24 Joseph Myers <joseph@codesourcery.com>
7809 Jim Blandy <jimb@codesourcery.com>
7810
7811 * Makeconfig (test-wrapper): New variable,
7812 (test-wrapper-env): Likewise.
7813 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7814 (run-built-tests): Define to yes.
7815 (run-program-prefix): Use $(test-wrapper).
7816 (built-program-cmd): Likewise.
7817 * Rules (make-test-out): Use $(test-wrapper-env) and
7818 $(host-built-program-cmd).
7819 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7820 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7821 tst-pathopt.sh.
7822 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7823 $(test-wrapper-env) to tst-rtld-load-self.sh.
7824 ($(objpfx)order2.out): Use $(test-wrapper).
7825 ($(objpfx)tst-initorder.out): Likewise.
7826 ($(objpfx)tst-initorder2.out): Likewise.
7827 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7828 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7829 (test_wrapper_env): New variable. Use it to run ld.so.
7830 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7831 Use it to run ld.so.
7832 (test_wrapper_env): Likewise.
7833 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7834 $(test-wrapper) to run-iconv-test.sh.
7835 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7836 (ICONV): Use $test_wrapper.
7837 * posix/Makefile ($(objpfx)globtest.out): Pass
7838 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7839 globtest.sh, not $(run-program-prefix).
7840 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7841 (test_wrapper): Likewise.
7842 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7843 set together with run_via_rtld_prefix.
7844 (run_program_prefix): Define in terms of test_wrapper and
7845 run_via_rtld_prefix.
7846
6e6249d0
RM
78472012-10-24 Roland McGrath <roland@hack.frob.com>
7848
7849 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7850 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7851 Targets removed.
7852
7853 [BZ #14743]
7854 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7855 Declare __clock_getres, __clock_gettime, __clock_settime,
7856 __clock_nanosleep, and __clock_getcpuclockid.
7857 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7858 Remove librt_hidden_def (clock_gettime).
7859 * sysdeps/unix/clock_gettime.c: Likewise.
7860 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7862 * rt/clock_getres.c: Define __clock_getres as an alias.
7863 * sysdeps/posix/clock_getres.c: Likewise.
7864 * rt/clock_settime.c: Define __clock_settime as an alias.
7865 * sysdeps/unix/clock_settime.c: Likewise.
7866 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7867 * sysdeps/unix/clock_nanosleep.c: Likewise.
7868 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7869 * rt/clock-compat.c: New file.
7870 * rt/Makefile (librt-routines): Add clock-compat and move
7871 $(clock-routines) to ...
7872 (routines): ... here, new variable.
7873 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7874 Don't add get_clockfreq here.
7875 * rt/Versions (libc: GLIBC_2.17): New version set.
7876 Add clock_* symbols here.
7877 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7878 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7879 (GLIBC_2.17): Add clock_* symbols.
7880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7884 Likewise.
7885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7886 Likewise.
7887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7891 * NEWS: Mention the move.
7892
7893 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7894 Use __open, __read, __close rather than their public counterparts.
7895 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7896 (__get_clockfreq_via_cpuinfo): Likewise.
7897 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7898 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7899
7900 * config.h.in (HAVE_IFUNC): New #undef.
7901 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7902 was successful.
7903 * configure: Regenerated.
7904
0cae3f4b
MF
79052012-10-24 Mike Frysinger <vapier@gentoo.org>
7906
7907 * configure.in: Move READELF check to start of file.
7908 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7909 libc_cv_asm_gnu_indirect_function in the process.
7910 * configure: Regenerated.
7911
8175a253
MF
79122012-10-24 Mike Frysinger <vapier@gentoo.org>
7913
7914 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7915 send the output to /dev/null.
7916 (libc_cv_cc_with_libunwind): Likewise.
7917 (libc_cv_as_noexecstack): Likewise.
7918 * configure: Regenerate.
7919
0708a7d1
JM
79202012-10-24 Joseph Myers <joseph@codesourcery.com>
7921
10b40d85
JM
7922 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7923
0708a7d1
JM
7924 * posix/globtest.sh (TMPDIR): Do not set.
7925 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7926 (testout): Likewise.
7927
9fddec1a
AJ
79282012-10-24 Andreas Jaeger <aj@suse.de>
7929
3a8db22f
AJ
7930 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7931 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7932 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7933 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7934 posix_fadvise64, posix_fallocate64.
7935
9fddec1a
AJ
7936 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7937 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7938 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7939 Likewise.
7940 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7941 Likewise.
7942 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7943
7944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7945 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7946 <bits/fcntl-linux.h>.
7947 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7948
7949 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7950 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7951 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7952 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7953 [__WORDSIZE != 64]: Likewise.
7954
ebfd1bbd
JM
79552012-10-23 Joseph Myers <joseph@codesourcery.com>
7956
03ac099f
JM
7957 * Makeconfig (run-built-tests): New variable.
7958 * Rules [$(cross-compiling) = yes]: Change condition to
7959 [$(run-built-tests) = no].
7960 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7961 to [$(run-built-tests) = yes].
7962 * elf/Makefile [$(cross-compiling) = no]: Likewise
7963 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7964 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7965 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7966 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7967 * io/Makefile [$(cross-compiling) = no]: Likewise.
7968 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7969 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7970 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7971 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7972 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7973 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7974 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7975 * string/Makefile [$(cross-compiling) = no]: Likewise.
7976
ebfd1bbd
JM
7977 * posix/Makefile ($(objpfx)globtest.out): Pass
7978 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7979 $(rtld-installed-name).
7980 * posix/globtest.sh (elf_objpfx): Remove variable.
7981 (rtld_installed_name): Likewise.
7982 (library_path): Likewise.
7983 (run_program_prefix): New variable. Use for running globtest
7984 binary.
7985
166bca24
JB
79862012-10-23 Jim Blandy <jimb@codesourcery.com>
7987 Joseph Myers <joseph@codesourcery.com>
7988
7989 * Makeconfig (host-built-program-cmd): New variable.
7990 * elf/Makefile (tst-stackguard1-ARGS): Use
7991 $(host-built-program-cmd).
7992 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7993 (tst-spawn-ARGS): Likewise.
7994 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7995
88866099
JM
79962012-10-23 Joseph Myers <joseph@codesourcery.com>
7997 Jim Blandy <jimb@codesourcery.com>
7998
7999 * Makeconfig (run-via-rtld-prefix): New variable.
8000 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8001 (built-program-cmd): Likewise.
8002
b4b4c296
AJ
80032012-10-22 Andreas Jaeger <aj@suse.de>
8004
8005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8006 __O_RSYNC if it exists, otherwise to O_SYNC.
8007
6fb54a22
JB
80082012-10-22 Jim Blandy <jimb@codesourcery.com>
8009 Joseph Myers <joseph@codesourcery.com>
8010
8011 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8012 /dev/null.
8013 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8014 from /dev/null
8015 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8016 /dev/null.
8017
481b90b9
AJ
80182012-10-22 Andreas Jaeger <aj@suse.de>
8019
2a0e2669
AJ
8020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8021 Define always.
8022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8023
76e38f9a
AJ
8024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8025 bits/fcntl-linux.h.
8026
7cd37b43
AJ
8027 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8028 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8029
481b90b9
AJ
8030 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8031 to __O_LARGEFILE.
8032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8033 to __O_LARGEFILE.
8034
aba75984
JB
80352012-10-21 Jim Blandy <jimb@codesourcery.com>
8036 Joseph Myers <joseph@codesourcery.com>
8037
8038 * config.make.in (NM): New variable.
8039
88d4247f
AJ
80402012-10-21 Andreas Jaeger <aj@suse.de>
8041
8042 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8043 definitions and declarations that are provided by
8044 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8045
f2eed205
L
80462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8047
8048 [BZ #14683]
8049 * elf/Makefile (tests-static): Add tst-leaks1-static.
8050 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8051 ($(objpfx)tst-leaks1-static): New rule.
8052 ($(objpfx)tst-leaks1-static-mem): Likewise.
8053 (tst-leaks1-static-ENV): New macro.
8054 * elf/dl-open.c (dl_open_worker): Check the main application
8055 only if SHARED is defined.
8056 * elf/tst-leaks1-static.c: New file.
8057
335e6931
AJ
80582012-10-20 Andreas Jaeger <aj@suse.de>
8059
8060 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8061 generic values for Linux.
8062 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8063 and declarations that are provided by <bits/fcntl-linux.h> and
8064 include <bits/fcntl-linux.h>.
8065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8067
ac5c94d3
RM
80682012-10-20 Roland McGrath <roland@hack.frob.com>
8069
8070 * io/fcntl.h: Move include of <bits/types.h> to the top and
8071 include it unconditionally.
8072
de54b33a
L
80732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8074
228cfb01
L
8075 * wcsmbs/Makefile (tests-ifunc): New variable.
8076 (tests): Add $(tests-ifunc).
8077 * wcsmbs/test-wcschr-ifunc.c: New file.
8078 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8079 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8080 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8081 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8082 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8083
69f07e5f
L
8084 * string/Makefile (tests-ifunc): New variable.
8085 (tests): Add $(tests-ifunc).
8086 * string/test-memccpy.c (TEST_NAME): New macro.
8087 * string/test-memchr.c (TEST_NAME): Likewise.
8088 * string/test-memcmp.c (TEST_NAME): Likewise.
8089 * string/test-memcpy.c (TEST_NAME): Likewise.
8090 * string/test-memmem.c (TEST_NAME): Likewise.
8091 * string/test-memmove.c (TEST_NAME): Likewise.
8092 * string/test-memset.c (TEST_NAME): Likewise.
8093 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8094 * string/test-stpcpy.c (TEST_NAME): Likewise.
8095 * string/test-stpncpy.c (TEST_NAME): Likewise.
8096 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8097 * string/test-strcasestr.c (TEST_NAME): Likewise.
8098 * string/test-strcat.c (TEST_NAME): Likewise.
8099 * string/test-strchr.c (TEST_NAME): Likewise.
8100 * string/test-strcmp.c(TEST_NAME): Likewise.
8101 * string/test-strcpy.c (TEST_NAME): Likewise.
8102 * string/test-strcspn.c (TEST_NAME): Likewise.
8103 * string/test-strlen.c (TEST_NAME): Likewise.
8104 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8105 * string/test-strncmp.c (TEST_NAME): Likewise.
8106 * string/test-strncpy.c (TEST_NAME): Likewise.
8107 * string/test-strnlen.c (TEST_NAME): Likewise.
8108 * string/test-strpbrk.c (TEST_NAME): Likewise.
8109 * string/test-strrchr.c (TEST_NAME): Likewise.
8110 * string/test-strspn.c (TEST_NAME): Likewise.
8111 * string/test-strstr.c (TEST_NAME): Likewise.
8112 * string/test-bcopy-ifunc.c: New file.
8113 * string/test-bzero-ifunc.c: Likewise.
8114 * string/test-memccpy-ifunc.c: Likewise.
8115 * string/test-memchr-ifunc.c: Likewise.
8116 * string/test-memcmp-ifunc.c: Likewise.
8117 * string/test-memcpy-ifunc.c: Likewise.
8118 * string/test-memmem-ifunc.c: Likewise.
8119 * string/test-memmove-ifunc.c: Likewise.
8120 * string/test-mempcpy-ifunc.c: Likewise.
8121 * string/test-memset-ifunc.c: Likewise.
8122 * string/test-rawmemchr-ifunc.c: Likewise.
8123 * string/test-stpcpy-ifunc.c: Likewise.
8124 * string/test-stpncpy-ifunc.c: Likewise.
8125 * string/test-strcasecmp-ifunc.c: Likewise.
8126 * string/test-strcasestr-ifunc.c: Likewise.
8127 * string/test-strcat-ifunc.c: Likewise.
8128 * string/test-strchr-ifunc.c: Likewise.
8129 * string/test-strchrnul-ifunc.c: Likewise.
8130 * string/test-strcmp-ifunc.c: Likewise.
8131 * string/test-strcpy-ifunc.c: Likewise.
8132 * string/test-strcspn-ifunc.c: Likewise.
8133 * string/test-strlen-ifunc.c: Likewise.
8134 * string/test-strncasecmp-ifunc.c: Likewise.
8135 * string/test-strncat-ifunc.c: Likewise.
8136 * string/test-strncmp-ifunc.c: Likewise.
8137 * string/test-strncpy-ifunc.c: Likewise.
8138 * string/test-strnlen-ifunc.c: Likewise.
8139 * string/test-strpbrk-ifunc.c: Likewise.
8140 * string/test-strrchr-ifunc.c: Likewise.
8141 * string/test-strspn-ifunc.c: Likewise.
8142 * string/test-strstr-ifunc.c: Likewise.
8143
de54b33a
L
8144 * debug/Makefile (tests-ifunc): New variable.
8145 (tests): Add $(tests-ifunc).
8146 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8147 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8148 * debug/test-stpcpy_chk-ifunc.c: New file.
8149 * debug/test-strcpy_chk-ifunc.c: Likewise.
8150
88481c16
SP
81512012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8152
8153 [BZ #13601]
8154 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8155 header is not read in.
8156
135948bd
JM
81572012-10-19 Joseph Myers <joseph@codesourcery.com>
8158
89f1c388
JM
8159 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8160 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8161 directly. Pass built executable to script as
8162 $(built-program-cmd).
8163 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8164 $testprogram without using LD_LIBRARY_PATH and $ldso.
8165
e40a0d21
JM
8166 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8167 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8168 $(rtld-installed-name).
8169 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8170 (rtld_installed_name): Likewise.
8171 (library_path): Likewise.
8172 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8173 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8174 $(run-program-prefix) to tst-tables.sh.
8175 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8176 it to run tst-table-from and tst-table-to.
8177 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8178 Pass it to tst-table.sh.
8179 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8180 $(run-program-prefix) to tst-gettext.sh.
8181 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8182 tst-translit.sh.
8183 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8184 tst-gettext2.sh.
8185 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8186 to run tst-gettext.
8187 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8188 to run tst-gettext2.
8189 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8190 to run tst-translit.
8191 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8192 $(run-program-prefix) to tst-mtrace.sh.
8193 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8194 to run tst-mtrace.
8195 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8196 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8197 $(rtld-installed-name).
8198 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8199 (rtld_installed_name): Likewise.
8200 (run_program_prefix): New variable. Use it to run wordexp-test.
8201
728e272a
JM
8202 * Makeconfig (ARCH): Remove all definitions.
8203 (machine): Likewise.
8204 [ARCH]: Remove conditional code.
8205 [!objdir]: Give error.
8206 [!objdir] (objpfx): Remove.
8207 [!objdir] (common-objpfx): Likewise.
8208 [!objdir] (common-objdir): Likewise.
8209 * configure.in (config_makefile): Remove. Hardcode Makefile in
8210 AC_CONFIG_FILES call.
8211 * configure: Regenerated.
8212
d528cdcf
JM
8213 [BZ #13888]
8214 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8215 or TMPDIR.
8216 (testout): Likewise.
8217
135948bd
JM
8218 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8219 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8220 $(rtld-installed-name).
8221 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8222 (rtld_installed_name): Likwise.
8223 (runit): Remove function.
8224 (run_getconf): New variable, Use it for running getconf binary.
8225
38c78296
L
82262012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8227
8228 [BZ #14716]
8229 * string/test-memmem.c (check_result): New function.
8230 (do_one_test): Use it.
8231 (check1): New function.
8232 (test_main): Use it.
8233
d077f65f
MT
82342012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8235
8236 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8237
ced52c71
JM
82382012-10-18 Joseph Myers <joseph@codesourcery.com>
8239
8240 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8241 (_G_LSEEK64): Likewise.
8242 (_G_MMAP64): Likewise.
8243 (_G_FSTAT64): Likewise.
8244 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8245 (_G_LSEEK64): Likewise.
8246 (_G_MMAP64): Likewise.
8247 (_G_FSTAT64): Likewise.
8248 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8249 unconditional. Call __mmap64 directly.
8250 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8251 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8252 __lseek64 directly.
8253 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8254 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8255 __mmap64 directly.
8256 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8257 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8258 __lseek64 directly.
8259 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8260 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8261 __lseek64 directly.
8262 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8263 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8264 __lseek64 directly.
8265 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8266 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8267 __fxstat64 directly.
8268 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8269 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8270 unconditional.
8271 (freopen64) [!_G_OPEN64]: Remove conditional code.
8272 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8273 unconditional.
8274 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8275 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8276 unconditional.
8277 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8278 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8279 unconditional.
8280 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8281 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8282 unconditional.
8283 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8284 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8285 unconditional.
8286 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8287 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8288 unconditional.
8289 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8290 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8291 unconditional.
8292 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8293
b741de23
SP
82942012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8295
8296 [BZ #12140]
8297 * manual/memory.texi (Malloc Tunable Parameters): Add note
8298 about free list pointers overwriting some perturb bytes.
8299 Wording suggested by Roland McGrath.
8300
f9b9d9c9
JM
83012012-10-17 Joseph Myers <joseph@codesourcery.com>
8302
8303 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8304 (lgamma_test): Likewise.
8305 (tgamma_test): Likewise.
8306
172a631a
FW
83072012-10-16 Florian Weimer <fweimer@redhat.com>
8308
8309 [BZ #14700]
8310 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8311 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8312
e9f37252
MK
83132012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8314
8315 * NEWS: Mention BZ #14716.
8316 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8317 when removing AVAILABLE1_USES_J macro.
8318
d394eb74
L
83192012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8320
8321 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8322 (__bswap_64): __uint64_t for unsigned 64-bit int.
8323
ca38dc17
AS
83242012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8325
8326 * include/string.h (memmem): Declare libc hidden alias.
8327 * string/memmem.c (memmem): Define libc hidden alias.
8328 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8329 __read, __close instead of open, read, close.
8330
9a387d1f
L
83312012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8332
ac49ecaf
L
8333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8334 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8335 global and hidden.
8336 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8337 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8338 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8339 Likewise.
8340 (__rawmemchr_sse2): Likewise.
8341 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8342 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8343 (__strchr_sse2): Likewise.
8344 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8345 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8346 (__strcasecmp_sse2): Likewise.
8347 (__strncasecmp_sse2): Likewise.
8348 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8349 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8350 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8351 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8352 (__strrchr_sse2): Likewise.
8353 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8354 ifunc-impl-list.c.
8355 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8356 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8357 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8358 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8359 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8360 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8361 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8362 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8363 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8364 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8365 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8366 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8367 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8368 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8369 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8370 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8371 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8372 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8373 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8374 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8375 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8376 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8377 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8378 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8379 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8380 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8381 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8382 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8383 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8384 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8385
b090e8ea
L
8386 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8387 global and hidden.
8388 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8389 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8390 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8391 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8392 Likewise.
8393 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8394 Likewise.
8395 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8396 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8397 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8398 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8399 ifunc-impl-list.c.
8400 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8401 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8402 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8403 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8404 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8405 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8406 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8407 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8408 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8409 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8410 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8411 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8412 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8413 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8414 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8415 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8416 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8417 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8418 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8419 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8420 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8421 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8422 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8423 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8424 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8425 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8426 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8427 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8429 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8430 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8431 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8432 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8433 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8434 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8435 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8436 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8437 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8438 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8439 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8440 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8441
11dd4af6
L
8442 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8443 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8444 * include/ifunc-impl-list.h: New file.
8445 * misc/ifunc-impl-list.c: Likewise.
8446 * misc/Makefile (routines): Add ifunc-impl-list.
8447 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8448 * string/test-string.h: Include <ifunc-impl-list.h>.
8449 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8450 impl_array): New variables.
8451 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8452 are defined.
8453 (test_init): Call __libc_ifunc_impl_list to initialize
8454 func_list if TEST_IFUNC and TEST_NAME are defined.
8455
9a387d1f
L
8456 * string/Makefile (strop-tests): Add bcopy and bzero.
8457 * string/test-bcopy.c: New file.
8458 * string/test-bzero.c: Likewise.
8459 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8460 defined.
8461 * string/test-memset.c: Support bzero test if TEST_BZERO is
8462 defined.
8463 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8464 __libc_memmove.
8465 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8466 __libc_memset.
8467 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8468 of memset.
8469
472371b9
JM
84702012-10-10 Joseph Myers <joseph@codesourcery.com>
8471
1e4a9536
JM
8472 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8473 * configure: Regenerated.
8474
d173d12e
JM
8475 * Makeconfig (+link-static-before-libc): Don't include
8476 $(link-static-libc).
8477
472371b9
JM
8478 * libio/libio.h (_IO_pos_t): Remove.
8479
89a3ad0b
AO
84802012-10-10 Alexandre Oliva <aoliva@redhat.com>
8481
8482 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8483 McGrath.
8484
e7451425
AO
84852012-10-10 Alexandre Oliva <aoliva@redhat.com>
8486
8487 * crypt/crypt-entry.c: Include fips-private.h.
8488 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8489 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8490 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8491 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8492
4ba74a35
AO
84932012-10-10 Alexandre Oliva <aoliva@redhat.com>
8494
8495 * crypt/crypt-private.h: Include stdbool.h.
8496 (_ufc_setup_salt_r): Return bool.
8497 * crypt/crypt-entry.c: Include errno.h.
8498 (__crypt_r): Return NULL with EINVAL for bad salt.
8499 * crypt/crypt_util.c (bad_for_salt): New.
8500 (_ufc_setup_salt_r): Check that salt is long enough and within
8501 the specified alphabet.
8502 * crypt/badsalttest.c: New file.
8503 * crypt/Makefile (tests): Add it.
8504 ($(objpfx)badsalttest): New.
8505
f96f1242
MK
85062012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8507
8508 * NEWS: Add entry for BZ #14602.
8509
0e8e0c1c
JM
85102012-10-09 Joseph Myers <joseph@codesourcery.com>
8511
8512 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8513 type-generic.
8514 * math/libm-test.inc: Update comment listing what functions and
8515 macros are tested.
8516 (isgreater_test): New function.
8517 (isgreaterequal_test): Likewise.
8518 (isless_test): Likewise.
8519 (islessequal_test): Likewise.
8520 (islessgreater_test): Likewise.
8521 (isunordered_test): Likewise.
8522 (main): Call the new functions.
8523
273edc5e
RM
85242012-10-09 Roland McGrath <roland@hack.frob.com>
8525
b8493de0
RM
8526 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8527 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8528 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8529 * sysdeps/i386/configure: Regenerated.
8530 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8531 * sysdeps/mach/configure: Regenerated.
8532 * sysdeps/mach/hurd/configure: Regenerated.
8533 * sysdeps/powerpc/configure: Regenerated.
8534 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8535 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8536 * sysdeps/s390/s390-32/configure: Regenerated.
8537 * sysdeps/s390/s390-64/configure: Regenerated.
8538 * sysdeps/sh/configure: Regenerated.
8539 * sysdeps/sparc/configure: Regenerated.
8540 * sysdeps/unix/sysv/linux/configure: Regenerated.
8541 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8542 * sysdeps/x86_64/configure: Regenerated.
8543
273edc5e
RM
8544 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8545 defined. Don't check if MAP is NULL.
8546
c8450f70
JM
85472012-10-09 Joseph Myers <joseph@codesourcery.com>
8548
8549 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8550 (_G_stat64): Likewise.
8551 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8552 (_G_stat64): Likewise.
8553 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8554 instead of struct _G_stat64.
8555 * libio/fileops.c (mmap_remap_check): Likewise.
8556 (decide_maybe_mmap): Likewise.
8557 (_IO_new_file_seekoff): Likewise.
8558 (_IO_file_stat): Likewise.
8559 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8560 _G_off64_t.
8561 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8562 instead of struct _G_stat64.
8563 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8564
57e605ba
MK
85652012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8566
8567 [BZ #14602]
8568 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8569 Replace with ...
8570 (CHECK_EOL): New macro.
8571 (two_way_short_needle): Check beginning of haystack for EOL. Use
8572 CHECK_EOL.
8573 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8574 Replace with CHECK_EOL.
8575 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8576 Replace with CHECK_EOL.
8577
ef1bb361
JM
85782012-10-08 Joseph Myers <joseph@codesourcery.com>
8579
8580 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8581 type-generic.
8582 * math/libm-test.inc: Update comment listing what functions and
8583 macros are tested.
8584 (finite_test): New function.
8585 (isinf_test): Likewise.
8586 (isnan_test): Likewise.
8587 (fpclassify_test): Test subnormal input.
8588 (isfinite_test): Likewise.
8589 (isnormal_test): Likewise.
8590 (main): Call the new functions.
8591
55f11534
JN
85922012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8593
8594 [BZ #14660]
8595 * Makerules (%.dynsym): Force C locale when running
8596 $(OBJDUMP) --dynamic-syms.
8597
1ab29350
AS
85982012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8599
8600 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8601 <stdint.h>.
8602
f1ecb7ef
DM
86032012-10-06 David S. Miller <davem@davemloft.net>
8604
8605 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8606 upper 32-bits of the length value in %o2 since we use branch-on-register
8607 tests which consider the entire 64-bit register.
8608
5d41d91a
L
86092012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8610
8611 * string/test-strstr.c (check2): Add a test for page boundary.
8612
3baddb72
DM
86132012-10-05 David S. Miller <davem@davemloft.net>
8614
8615 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8616 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8617 file.
8618 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8619 sysdep_routines.
8620 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8621 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8622 and bzero when HWCAP_SPARC_CRYPTO is present.
8623
9cee5585
L
86242012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8625
d7e0dab9
L
8626 [BZ #14602]
8627 * string/test-strstr.c (check2): New function.
8628 (test_main): Call check2.
8629
03759f47
L
8630 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8631 and bug-strchr1.
8632 * string/bug-strcasestr1.c (do_test): Moved to ...
8633 * string/test-strcasestr.c (check1): Here. New function.
8634 (do_one_test): Break out result checking code into ...
8635 (check_result): This. New function.
8636 (do_one_test): Call check_result.
8637 (test_main): Call check1.
8638 * string/bug-strchr1.c (do_test): Moved to ...
8639 * string/test-strchr.c (check1): Here. New function.
8640 (do_one_test): Break out result checking code into ...
8641 (check_result): This. New function.
8642 (do_one_test): Call check_result.
8643 (test_main): Call check1.
8644 * string/bug-strstr1.c (main): Moved to ...
046f153e 8645 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8646 (do_one_test): Break out result checking code into ...
8647 (check_result): This. New function.
8648 (do_one_test): Call check_result.
8649 (test_main): Call check1.
8650 * string/bug-strcasestr1.c: Removed.
8651 * string/bug-strchr1.c: Likewise.
8652 * string/bug-strstr1.c: Likewise.
8653
53cea63e
L
8654 * elf/Makefile (dl-routines): Add hwcaps.
8655 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8656 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8657 (_dl_important_hwcaps): Moved to ...
8658 * elf/dl-hwcaps.c: Here. New file.
8659 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8660
9cee5585 8661 [BZ #14557]
bb859b06
L
8662 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8663 if IS_IN_rtld isn't defined.
8664
9cee5585
L
8665 * elf/dl-support.c (_dl_sysinfo_map): New.
8666 Include "get-dynamic-info.h" and "setup-vdso.h".
8667 (_dl_non_dynamic_init): Call setup_vdso.
8668 * elf/dynamic-link.h: Don't include <assert.h>.
8669 (elf_get_dynamic_info): Moved to ...
8670 * elf/get-dynamic-info.h: Here. New file.
8671 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8672 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8673 * elf/setup-vdso.h: Here. New file.
8674 * elf/rtld.c: Include "setup-vdso.h".
8675 (dl_main): Call setup_vdso.
8676
23c31b76
JM
86772012-10-05 Joseph Myers <joseph@codesourcery.com>
8678
28234b07
JM
8679 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8680 creal in comment listing functions tested. List finite, isinf,
8681 isnan, isless, islessequal, isgreater, isgreaterequal,
8682 islessgreater, isunordered, lgamma_r and pow10 as functions and
8683 macros not tested. Mention which functions not tested are aliases
8684 for other functions. Fix typo. Note that signs of NaNs are not
8685 tested.
8686
23c31b76
JM
8687 * scripts/config.guess: Update from config.git.
8688 * scripts/config.sub: Likewise.
8689
9043e228
RM
86902012-10-04 Roland McGrath <roland@hack.frob.com>
8691
8692 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8693 * misc/madvise.c (madvise): Renamed to __madvise.
8694 Make madvise a weak alias.
8695 * include/sys/mman.h: Declare __madvise.
8696 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8697 * sysdeps/unix/syscalls.list
8698 (madvise): Make __madvise the strong name, and madvise a weak alias.
8699 * sysdeps/unix/sysv/linux/syscalls.list
8700 (madvise, mmap): Remove redundant entries.
8701 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8702 * malloc/malloc.c (mtrim): Likewise.
8703 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8704
f57f8055
RM
87052012-10-03 Roland McGrath <roland@hack.frob.com>
8706
8707 * sysdeps/mach/hurd/dl-cache.c: File removed.
8708 * config.h.in (USE_LDCONFIG): New #undef.
8709 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8710 * configure: Regenerated.
8711 * elf/Makefile (dl-routines): Add dl-cache only under
8712 [$(use-ldconfig) = yes].
8713 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8714 cache on [USE_LDCONFIG].
8715 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8716 [USE_LDCONFIG].
8717 * elf/rtld.c (dl_main): Likewise.
8718
5bb0c10a
PT
87192012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8720
8721 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8722 _SC_LEVEL4_CACHE_LINESIZE.
8723
010188c6
RM
87242012-10-03 Roland McGrath <roland@hack.frob.com>
8725
8726 * sysdeps/unix/bsd/confstr.h: File removed.
8727
b6c5ec07
AO
87282012-10-02 Alexandre Oliva <aoliva@redhat.com>
8729
8730 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8731 sys/sdt-config.h.
8732
408223d4
RM
87332012-10-02 Roland McGrath <roland@hack.frob.com>
8734
8735 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8736 Make 'mapoff' field ElfW(Off) rather than off_t.
8737
bb9510dc
DL
87382012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8739
fc997c6e
DL
8740 * nscd/Makefile: Remove nscd-cflags and all its users.
8741 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8742 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8743
bb9510dc
DL
8744 [BZ #10631]
8745 * malloc.c (malloc_printerr): Clarify error message.
8746
05699367
L
87472012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8748
8749 [BZ #14648]
8750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8751 Set bit_FMA_Usable if FMA is supported.
8752 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8753 macro.
8754 (bit_FMA4_Usable): Updated.
8755 (index_FMA_Usable): New macro.
8756 (CPUID_FMA): Likewise
8757 (HAS_FMA): Defined with bit_FMA_Usable.
8758
51367701
RM
87592012-10-01 Roland McGrath <roland@hack.frob.com>
8760
8761 * bits/types.h (__swblk_t): Type removed.
8762 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8763 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8765 (__SWBLK_T_TYPE): Likewise.
8766 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8767 (__SWBLK_T_TYPE): Likewise.
8768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8769 (__SWBLK_T_TYPE): Likewise.
8770 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8771 (__SWBLK_T_TYPE): Likewise.
8772
4d57bf63 87732012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8774 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8775
8776 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8777 (xdr_mapname): Use YPMAXMAP as maxsize.
8778 (xdr_peername): Use YPMAXPEER as maxsize.
8779 (xdr_keydat): Use YPAXRECORD as maxsize.
8780 (xdr_valdat): Use YPMAXRECORD as maxsize.
8781
93c65d43
RM
87822012-10-01 Roland McGrath <roland@hack.frob.com>
8783
497a03d6
RM
8784 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8785
93c65d43
RM
8786 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8787 * csu/init-first.c: ... here.
8788 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8789 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8790 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8791 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8792 * sysdeps/i386/init-first.c: File removed.
8793 * sysdeps/sh/init-first.c: File removed.
8794
bec749fd
JM
87952012-10-01 Joseph Myers <joseph@codesourcery.com>
8796
8797 [BZ #14645]
8798 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8799 if x * y might underflow to zero and z is zero.
8800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8801 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8802 * math/libm-test.inc (min_subnorm_value): New variable.
8803 (fma_test): Add more tests.
8804 (fma_test_towardzero): Likewise.
8805 (fma_test_downward): Likewise
8806 (fma_test_upward): Likewise.
8807 (initialize): Set min_subnorm_value.
8808
8ec5b013
JM
88092012-09-29 Joseph Myers <joseph@codesourcery.com>
8810
8811 [BZ #14638]
8812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8813 0 + 0.
8814 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8815 mode for addition resulting in exact zero.
8816 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8818 exact 0 + 0.
8819 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8820 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8821 * math/libm-test.inc (fma_test): Add more tests.
8822 (fma_test_towardzero): New function.
8823 (fma_test_downward): Likewise.
8824 (fma_test_upward): Likewise.
8825 (main): Call the new functions.
8826
b1fa802e
DM
88272012-09-28 David S. Miller <davem@davemloft.net>
8828
8829 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8830
d3b9fd9e
RM
88312012-09-28 Roland McGrath <roland@hack.frob.com>
8832
ea4d37b3
RM
8833 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8834 instead of SIGALRM.
8835
ac51c949
RM
8836 * sysdeps/gnu/_G_config.h: Moved to ...
8837 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8838 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8839 * sysdeps/generic/_G_config.h: ... here.
8840
28c195f7
RM
8841 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8842
848917f9
RM
8843 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8844
6bacf05b
RM
8845 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8846 Conditionalize target on [libnss_test1.so-version].
8847
91363dbb
RM
8848 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8849
cc87f7d8
RM
8850 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8851 (elfobjdir): Move out of conditionals.
8852
b1c608fe
RM
8853 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8854 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8855 (__nss_lookup_function): Conditionalize label remove_from_tree on
8856 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8857
1d9a6d96
DM
88582012-09-28 David S. Miller <davem@davemloft.net>
8859
8860 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8861 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8862 file.
8863 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8864 sysdep_routines.
8865 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8867 when HWCAP_SPARC_CRYPTO is present.
8868
72581615
PT
88692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8870
8871 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8872
715a900c
JL
88732012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8874
8875 [BZ #6530]
8876 * stdio-common/vfprintf.c (process_string_arg): Revert
8877 2000-07-22 change.
8878
88792011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8880
8881 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8882 for testcase.
8883 * stdio-common/tst-sprintf.c: Include <locale.h>
8884 (main): Test sprintf's handling of incomplete multibyte
8885 characters.
8886
9bac1d86
L
88872012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8888
8889 * elf/dl-runtime.c (VERSYMIDX): Removed.
8890 * elf/dl-version.c (VERSYMIDX): Likewise.
8891 * elf/do-rel.h (VERSYMIDX): Likewise.
8892 (VALIDX): Likewise.
8893 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8894 * elf/rtld.c (VALIDX): Likewise.
8895 (ADDRIDX): Likewise.
9bac1d86
L
8896 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8897 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8898 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8899 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8900 (VALIDX): Likewise.
8901 (ADDRIDX): Likewise.
9bac1d86 8902
b31606c0
PT
89032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8904
8905 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8906
11541177
JL
89072012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8908
8909 [BZ #11438]
8910 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8911 to global scope.
8912 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8913 addresses are in the same scope as 192.0.2/24.
8914 * posix/gai.conf: Document new scope table defaults.
8915
adb26fae
SP
89162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8917
8918 [BZ #5298]
8919 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8920 for ftell. Compute offsets from write pointers instead.
8921 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8922
4573c6b0
SP
89232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8924
8925 [BZ #14543]
8926 * libio/Makefile (tests): New test case tst-fseek.
8927 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8928 combination works in wide mode.
8929 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8930 state when the external buffer state changes.
8931
aa9bbfe6
DM
89322012-09-27 David S. Miller <davem@davemloft.net>
8933
8934 [BZ #14376]
8935 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8936 pass reloc->r_addend in as the 'high' argument to
8937 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8938
784421e7
DM
8939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8940
c39bc8b8
PT
89412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8942
8943 * rt/tst-aio2.c: Include <pthread.h>.
8944 * rt/tst-aio3.c: Likewise.
8945
1ccc2399
SE
89462012-09-27 Steve Ellcey <sellcey@mips.com>
8947
8948 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8949
31ed4153
L
89502012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8951
25f5f885
L
8952 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8953 contents on [SHARED].
31ed4153 8954
b7bfe116
MP
89552012-09-26 Marek Polacek <polacek@redhat.com>
8956
8957 [BZ #14530]
8958 [BZ #13741]
8959 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8960 for C++ and GCC <4.3 as well as for non GCC compilers.
8961
43c4edba
MT
89622012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8963
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8965
6a1bf82f
RM
89662012-09-25 Roland McGrath <roland@hack.frob.com>
8967
8968 * Makefile.in (all, install): Declare with .PHONY.
8969 Reported by Michael Hope <michael.hope@linaro.org>.
8970
8ad11b9a
TMQMF
89712012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8972
8973 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8974 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8975 system header.
8976 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8977 Likewise.
8978 (sydep_routines): Add the new and the internal functions.
8979 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8980 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8982 (GLIBC_2.17): Add the new function.
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8984 (GLIBC_2.17): Likewise.
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8986 (GLIBC_2.17): Likewise.
8987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8988 (GLIBC_2.17): Likewise.
8989 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8990
7e2fca8d
AM
89912012-09-25 Alan Modra <amodra@gmail.com>
8992
8993 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8994 Add release barrier before setting once_control to say
8995 initialisation is done. Add hints on lwarx. Use macro in
8996 place of isync.
8997 (clear_once_control): Add release barrier.
8998
b87c4b24
JM
89992012-09-25 Joseph Myers <joseph@codesourcery.com>
9000
d032e0d2
JM
9001 [BZ #13629]
9002 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9003 specially.
9004 * math/s_clog10.c (__clog10): Likewise.
9005 * math/s_clog10f.c (__clog10f): Likewise.
9006 * math/s_clog10l.c (__clog10l): Likewise.
9007 * math/s_clogf.c (__clogf): Likewise.
9008 * math/s_clogl.c (__clogl): Likewise.
9009 * math/Makefile (libm-calls): Add x2y2m1.
9010 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9011 (__x2y2m1): Likewise.
9012 (__x2y2m1l): Likewise.
9013 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9014 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9015 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9016 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9017 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9018 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9019 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9020 * sysdeps/i386/fpu/libm-test-ulps: Update.
9021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9022
b87c4b24
JM
9023 [BZ #14621]
9024 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9025 int as type of variable DEPTH.
9026 (glob): Use size_t instead of int as type of variables NEWCOUNT
9027 and OLD_PATHC.
9028
6d3bf199
LD
90292012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9030
22bf5c17
LD
9031 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9032 Add s_sincosf-sse2.
9033 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9034 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9035 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9036 macros for using routine as __sincosf_ia32.
9037 Use macro for function declaration and weak_alias.
9038 * sysdeps/i386/fpu/libm-test-ulps: Update.
9039
9040 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9042
9043 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9044 subnormal argument.
9045 * math/s_cexpf.c (__cexpf): Likewise.
9046 * math/s_csinf.c (__csinf): Likewise.
9047 * math/s_csinhf.c (__csinhf): Likewise.
9048 * math/s_ctanf.c (__ctanf): Likewise.
9049 * math/s_ctanhf.c (__ctanhf): Likewise.
9050 * math/s_ccosh.c (__ccoshf): Likewise.
9051 * math/s_cexp.c (__cexpl): Likewise.
9052 * math/s_csin.c (__csin): Likewise.
9053 * math/s_csinh.c (__csinh): Likewise.
9054 * math/s_ctan.c (__ctan): Likewise.
9055 * math/s_ctanh.c (ctanh): Likewise.
9056 * math/s_ccoshl.c (__ccoshl): Likewise.
9057 * math/s_cexpl.c (__cexpl): Likewise.
9058 * math/s_csinl.c (__csinl): Likewise.
9059 * math/s_csinhl.c (__csinhl): Likewise.
9060 * math/s_ctanl.c (__ctanl): Likewise.
9061 * math/s_ctanhl.c (__ctanhl): Likewise.
9062
203e5603
JM
90632012-09-25 Joseph Myers <joseph@codesourcery.com>
9064
9065 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9066 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9067 (_IO_off_t): Define to __off_t, not _G_off_t.
9068 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9069 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9070 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9071 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9072 type of __dummy and __dummy2 fields.
9073 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9074 (_G_ssize_t): Likewise.
9075 (_G_off_t): Likewise.
9076 (_G_pid_t): Likewise.
9077 (_G_uid_t): Likewise.
9078 (_G_wchar_t): Likewise.
9079 (_G_wint_t): Likewise.
9080 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9081 (_G_ssize_t): Likewise.
9082 (_G_off_t): Likewise.
9083 (_G_pid_t): Likewise.
9084 (_G_uid_t): Likewise.
9085 (_G_wchar_t): Likewise.
9086 (_G_wint_t): Likewise.
9087 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9088 (_G_ssize_t): Likewise.
9089 (_G_off_t): Likewise.
9090 (_G_pid_t): Likewise.
9091 (_G_uid_t): Likewise.
9092 (_G_wchar_t): Likewise.
9093 (_G_wint_t): Likewise.
9094
9fab36eb
SP
90952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9096
9097 * malloc/arena.c: Include malloc-sysdep.h.
9098 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9099 is sufficient to shrink the heap or an unmap is needed.
9100 * sysdeps/generic/malloc-sysdep.h: New file. Define
9101 new function check_may_shrink_heap.
9102 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9103 new function check_may_shrink_heap.
9104
2b4f00d1
SP
91052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9106
9107 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9108 comments.
9109
9a9028b1
DL
91102012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9111
57c69bef
DL
9112 * catgets/test-gencat.sh: Add "set -e".
9113 * elf/tst-pathopt.sh: Likewise.
9114 * grp/tst_fgetgrent.sh: Likewise.
9115 * iconvdata/run-iconv-test.sh: Likewise.
9116 * intl/tst-gettext.sh: Likewise.
9117 * intl/tst-gettext2.sh: Likewise.
9118 * intl/tst-gettext4.sh: Likewise.
9119 * intl/tst-gettext6.sh: Likewise.
9120 * intl/tst-translit.sh: Likewise.
9121 * io/ftwtest-sh: Likewise.
9122 * libio/test-freopen.sh: Likewise.
9123 * malloc/tst-mtrace.sh: Likewise.
9124 * posix/globtest.sh: Likewise.
9125 * posix/tst-getconf.sh: Likewise.
9126 * posix/wordexp-tst.sh: Likewise.
9127 * stdio-common/tst-printf.sh: Likewise.
9128 * stdio-common/tst-unbputc.sh: Likewise.
9129 * stdlib/tst-fmtmsg.sh: Likewise.
9130 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9131 * catgets/Makefile: Do not specify -e option when running
9132 testsuite shell scripts.
9133 * elf/Makefile: Likewise.
9134 * grp/Makefile: Likewise.
9135 * iconvdata/Makefile: Likewise.
9136 * intl/Makefile: Likewise.
9137 * io/Makefile: Likewise.
9138 * libio/Makefile: Likewise.
9139 * malloc/Makefile: Likewise.
9140 * posix/Makefile: Likewise.
9141 * stdio-common/Makefile: Likewise.
9142 * stdlib/Makefile: Likewise.
9143 * sysdeps/x86_64/Makefile: Likewise.
9144
9a9028b1
DL
9145 * io/ftwtest-sh: Add copyright header.
9146 * posix/globtest.sh: Likewise.
9147 * posix/tst-getconf.sh: Likewise.
9148 * posix/wordexp-tst.sh: Likewise.
9149 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9150
ced6f16e
L
91512012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9152
94b32c39
L
9153 [BZ #13679]
9154 * Makeconfig (+link): Defined as $(+link-static) if
9155 $(build-shared) isn't yes.
9156 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9157 isn't yes.
9158 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9159
189e935b
L
9160 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9161
ced6f16e
L
9162 [BZ #14562]
9163 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9164 new chunk size with MALLOC_ALIGN_MASK.
9165
a9f8e53a
JM
91662012-09-24 Joseph Myers <joseph@codesourcery.com>
9167
9168 [BZ #5044]
9169 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9170 <rounding-mode.h>.
9171 (__printf_fphex): Determine rounding using get_rounding_mode and
9172 round_away.
9173 * stdio-common/tst-printf-round.c (struct hex_test): New
9174 structure.
9175 (hex_tests): New variable.
9176 (test_hex_in_one_mode): New function.
9177 (do_test): Also run tests for hex float output.
9178
43153109
JM
91792012-09-21 Joseph Myers <joseph@codesourcery.com>
9180
9181 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9182 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9183 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9184 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9185 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9186 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9187 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9188 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9189
8a26625d
JM
91902012-09-20 Joseph Myers <joseph@codesourcery.com>
9191
9192 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9193 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9194 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9195 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9196
f3fd569c
DL
91972012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9198
9199 [BZ #14579]
9200 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9201 mode only.
9202 * elf/tst-rtld-load-self.sh: New test.
9203 * elf/Makefile: Run it.
9204
63bbedd4
JM
92052012-09-18 Joseph Myers <joseph@codesourcery.com>
9206
9207 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9208 (tst-writev-ENV): Remove.
9209 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9210
626f8b6a
CM
92112012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9212
9213 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9214
b7aaa4d6
JM
92152012-09-17 Joseph Myers <joseph@codesourcery.com>
9216
9217 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9218 unconditional.
9219 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9220 Likewise.
9221 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9222 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9223 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9224 Likewise.
9225
65513990
L
92262012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9227
9228 [BZ #14587]
9229 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9230 * config.make.in (have-cpp-asm-debuginfo): Removed.
9231 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9232 * configure: Regenerated.
9233
784761be
JM
92342012-09-14 Joseph Myers <joseph@codesourcery.com>
9235
9236 [BZ #5044]
9237 * stdio-common/printf_fp.c: Include <stdbool.h> and
9238 <rounding-mode.h>.
9239 (___printf_fp): Determine rounding using get_rounding_mode and
9240 round_away.
9241 * stdio-common/tst-printf-round.c: New file.
9242 * stdio-common/Makefile (tests): Add tst-printf-round.
9243 (link-libm): New variable.
9244 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9245
9503345f
L
92462012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9247
9248 [BZ #14576]
9249 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9250 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9251 Likewise.
9252 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9253 Likewise.
9254
ad35fc00
JM
92552012-09-13 Joseph Myers <joseph@codesourcery.com>
9256
9257 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9258 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9259 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9260 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9261
6c9b0f68
JM
92622012-09-12 Joseph Myers <joseph@codesourcery.com>
9263
9264 [BZ #14518]
9265 * include/rounding-mode.h: New file.
9266 * sysdeps/generic/get-rounding-mode.h: Likewise.
9267 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9268 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9269 (MAX_VALUE): New macro.
9270 (MIN_VALUE): Likewise.
9271 (overflow_value): New function.
9272 (underflow_value): Likewise.
9273 (round_and_return): Use overflow_value and underflow_value to
9274 determine return values in overflow and underflow cases. Use
9275 round_away to determine rounding depending on rounding mode.
9276 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9277 determine return values in overflow and underflow cases.
9278 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9279 (struct test_results): New structure.
9280 (struct test): Use struct test_results to store expected results
9281 for all rounding modes.
9282 (TEST): Include expected results for all rounding modes.
9283 (test_in_one_mode): New function.
9284 (do_test): Use test_in_one_mode to compute and check results.
9285 Check results for all rounding modes.
9286 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9287 $(link-libm).
9288
19fcedd5
AM
92892012-12-09 Allan McRae <allan@archlinux.org>
9290
1e9d84cd 9291 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9292
8bbfd2f1
JM
92932012-09-11 Joseph Myers <joseph@codesourcery.com>
9294
9295 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9296 (_G_int32_t): Likewise.
9297 (_G_uint16_t): Likewise.
9298 (_G_uint32_t): Likewise.
9299 (_G_HAVE_BOOL): Likewise.
9300 (_G_HAVE_ATEXIT): Likewise.
9301 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9302 (_G_HAVE_IO_FILE_OPEN): Likewise.
9303 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9304 (_G_int32_t): Likewise.
9305 (_G_uint16_t): Likewise.
9306 (_G_uint32_t): Likewise.
9307 (_G_HAVE_BOOL): Likewise.
9308 (_G_HAVE_ATEXIT): Likewise.
9309 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9310 (_G_HAVE_IO_FILE_OPEN): Likewise.
9311 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9312 (_G_int32_t): Likewise.
9313 (_G_uint16_t): Likewise.
9314 (_G_uint32_t): Likewise.
9315 (_G_HAVE_BOOL): Likewise.
9316 (_G_HAVE_ATEXIT): Likewise.
9317 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9318 (_G_HAVE_IO_FILE_OPEN): Likewise.
9319
b1dc5912
L
93202012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9321
9322 * csu/libc-tls.c: Update copyright years.
9323
0e886ef9
JM
93242012-09-10 Joseph Myers <joseph@codesourcery.com>
9325
28361c5e
JM
9326 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9327 [!_G_USING_THUNKS]: Remove conditional code.
9328 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9329 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9330
0e886ef9
JM
9331 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9332 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9333 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9334 (_G_VTABLE_LABEL_PREFIX): Likewise.
9335 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9336 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9337 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9338 (_G_VTABLE_LABEL_PREFIX): Likewise.
9339 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9340 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9341 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9342 (_G_VTABLE_LABEL_PREFIX): Likewise.
9343 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9344
bcba7aa2
L
93452012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9346
9347 * libio/Makefile: Include ../Makeconfig before tests.
9348 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9349 only if $(build-shared) is yes.
9350
06585ee8
L
9351 * iconv/gconv_db.c: Update copyright years.
9352
80ccd52c
LD
93532012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9354
9355 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9356 unwind info if defined PIC. Fix special cases description.
9357 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9358
9359 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9360 DP_HI_MASK entry.
9361 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9362
691bc9c1
L
93632012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9364
3d9b46b3
L
9365 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9366
de2139a9
L
9367 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9368 is NULL.
9369
5ca78dd0
L
9370 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9371 (LDLIBS-tst-chk4): This.
9372 (LDFLAGS-tst-chk5): Renamed to ...
9373 (LDLIBS-tst-chk5): This.
9374 (LDFLAGS-tst-chk6): Renamed to ...
9375 (LDLIBS-tst-chk6): This.
9376 (LDFLAGS-tst-lfschk4): Renamed to ...
9377 (LDLIBS-tst-lfschk4): This.
9378 (LDFLAGS-tst-lfschk5): Renamed to ...
9379 (LDLIBS-tst-lfschk5): This.
9380 (LDFLAGS-tst-lfschk6): Renamed to ...
9381 (LDLIBS-tst-lfschk6): This.
9382
691bc9c1
L
9383 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9384 on $(common-objpfx)soversions.mk.
9385
65cafb1c
JM
93862012-09-07 Joseph Myers <joseph@codesourcery.com>
9387
9388 [BZ #10014]
9389 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9390 example host name.
9391
c78ab094
SP
93922012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9393
9394 * malloc/arena.c (arena_get_retry): New function that gets
9395 another arena for the caller to try its request on.
9396 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9397 current arena cannot fulfill the request.
9398 (__libc_memalign): Likewise.
9399 (__libc_memalign): Likewise.
9400 (__libc_pvalloc): Likewise.
9401 (__libc_calloc): Likewise.
9402
01f49f59
JT
94032012-09-05 John Tobey <john.tobey@gmail.com>
9404
9405 [BZ #13542]
9406 * manual/arith.texi (Operations on Complex): Fix description
9407 of carg branch cut.
9408
4c23fed5
JM
94092012-09-06 Joseph Myers <joseph@codesourcery.com>
9410
1d3c8572
JM
9411 [BZ #10014]
9412 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9413 host name.
9414
4c23fed5
JM
9415 [BZ #10038]
9416 * manual/memory.texi (Memory): Make order of menu items match
9417 order of sections.
9418
04570aaa
L
94192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9420
9421 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9422 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9423 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9424
b80af2f4
L
94252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9426
9427 * csu/libc-tls.c (static_dtv): Renamed to ...
9428 (_dl_static_dtv): This. Make it global.
9429 (_dl_initial_dtv): Removed.
9430 (__libc_setup_tls): Updated.
9431 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9432 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9433 DL_INITIAL_DTV.
9434
2abe9f15
PM
94352012-09-06 Petr Machata <pmachata@redhat.com>
9436
9437 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9438 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9439 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9440 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9441
0948c3af
L
94422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9443
9444 [BZ #14545]
9445 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9446 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9447 freeing dtv[-1].
9448
a5055ad1
L
94492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9450
9451 [BZ #14544]
9452 * Makeconfig (link-static-before-libc): Replace $(+prector)
9453 with $(+prectorT).
9454 (link-static-after-libc): Replace $(+postctor) with
9455 $(+postctorT).
9456 (link-bounded): Replace $(+prector)/$(+postctor) with
9457 $(+prectorT)/$(+postctorT).
9458 (+prectorT): New macro.
9459 (+postctorT): Likewise.
9460
ed8c2ecd
JM
94612012-09-06 Joseph Myers <joseph@codesourcery.com>
9462
9463 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9464 (round_str): Handle values above the maximum for IBM long double
9465 as inexact.
9466 * stdlib/tst-strtod-round.c (tests): Regenerated.
9467
14c996c8
AK
94682012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9469
9470 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9471 assembler flag.
9472 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9473 zarch_nohighgprs around the zarch optimized routines.
9474 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9475 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9476 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9477 for zarch.
9478
430d6ce6
DM
94792012-09-05 David S. Miller <davem@davemloft.net>
9480
9481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9482
ff04dda4
DM
9483 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9484 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9485 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9486 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9487 entries.
9488
24d4e01b
AO
94892012-09-05 Alexandre Oliva <aoliva@redhat.com>
9490
9491 * malloc/arena.c: Fold copyright years.
9492 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9493
61d58174
AO
94942012-09-05 Alexandre Oliva <aoliva@redhat.com>
9495
9496 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9497
20196a5e
AO
94982012-09-05 Alexandre Oliva <aoliva@redhat.com>
9499
9500 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9501
5c447383
AO
95022012-09-05 Alexandre Oliva <aoliva@redhat.com>
9503
9504 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9505 change internal state upon failure.
9506
fad64255
AO
95072012-09-05 Alexandre Oliva <aoliva@redhat.com>
9508
9509 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9510 * malloc/memusage.c (mmap): Likewise.
9511 (mmap64, mremap): Likewise. Adjust name in comment.
9512
1ffb8c90
SP
95132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9514
9515 * libio/fileops.c: Fix typos in comments.
9516 * libio/oldfileops.c: Likewise.
9517 * libio/wfileops.c: Likewise.
9518
6ef9cc37
SP
95192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9520
9521 [BZ #1349]
9522 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9523 (tst-malloc-usable-ENV): Set environment for test case.
9524 * malloc/hooks.c (malloc_check_get_size): New function to get
9525 requested size.
9526 * malloc/malloc.c (musable): Use malloc_check_get_size.
9527 * malloc/tst-malloc-usable.c: New test case.
9528
4d038ae3
AS
95292012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9530
9531 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9532
c4e85184
AM
95332012-09-05 Allan McRae <allan@archlinux.org>
9534
b9dafc56 9535 [BZ #13966]
c4e85184
AM
9536 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9537 determine header location.
9538 * configure: Regenerated.
9539
e1343020
AS
95402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9541
9542 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9543 float format.
9544 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9545 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9546 format.
e1343020
AS
9547 (test): Regenerate.
9548
0a9f1987
DM
95492012-09-04 David S. Miller <davem@davemloft.net>
9550
9551 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9552 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9553 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9554
29237804
FW
95552012-09-04 Florian Weimer <fweimer@redhat.com>
9556
9557 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9558 failures.
9559
edb3cb88
FW
9560 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9561
60160d83
JM
95622012-09-04 Joseph Myers <joseph@codesourcery.com>
9563
9564 [BZ #9914]
9565 * libio/iogetdelim.c: Include <limits.h>.
9566 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9567 + len + 1 would overflow.
9568
bcd6c8dc
AJ
95692012-09-03 Andreas Jaeger <aj@suse.de>
9570
9571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9572 * sysdeps/i386/fpu/libm-test-ulps: Update.
9573
4ffffbd2
LD
95742012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9575
9576 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9577 Add s_sinf-sse2, s_conf-sse2.
9578
9579 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9580 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9581 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9582 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9583
9584 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9585 for using routine as __sinf_ia32.
9586 Use macro for function declaration and weak_alias.
9587 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9588 for using routine as __cosf_ia32.
9589 Use macro for function declaration and weak_alias.
9590
9591 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9592 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9593
9594 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9595 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9597
9598 * math/libm-test.inc (cos_test): Add more test cases.
9599 (sin_test): Likewise.
9600 (sincos_test): Likewise.
9601
511fa286
AK
96022012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9603
9604 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9605 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9606 hidden.
9607 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9608
5f30cfec
L
96092012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9610
9611 [BZ #14538]
9612 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9613 first element of the GOT.
9614 (elf_machine_load_address): Return the difference between
9615 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9616
0786794f
AM
96172012-09-01 Allan McRae <allan@archlinux.org>
9618
5f30cfec
L
9619 [BZ #13412]
9620 * configure.in (AWK): Require gawk version 3.0 or later.
9621 * configure: Regenerated.
0786794f 9622
26889eac
JM
96232012-09-01 Joseph Myers <joseph@codesourcery.com>
9624
9625 * sysdeps/unix/sysv/linux/kernel-features.h
9626 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9627 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9628 [__NR_clock_getres]: Make code unconditional.
9629 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9630 (clock_getcpuclockid): Remove code left unreachable by removal of
9631 conditionals.
9632 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9633 code unconditional.
9634 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9635 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9636 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9637 Make code unconditional.
9638 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9639 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9640 * sysdeps/unix/sysv/linux/clock_settime.c
9641 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9642 conditional code.
9643 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9644 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9645
d22e28b0
L
96462012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9647
9648 [BZ #14476]
9649 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9650 scripts/test-installation.pl.
9651
9652 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9653 and $ld_so_version if it is set.
9654
050af9c4
SP
96552012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9656
9657 [BZ #14516]
9658 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9659 failure if reading from procfs failed.
9660 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9661
ad845c0b
JM
96622012-08-27 Joseph Myers <joseph@codesourcery.com>
9663
9664 * sysdeps/unix/sysv/linux/kernel-features.h
9665 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9666 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9667 Remove conditional code.
9668 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9669 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9670 Remove conditional code.
9671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9672 * sysdeps/unix/sysv/linux/i386/fxstat.c
9673 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9675 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9676 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9678 * sysdeps/unix/sysv/linux/i386/lxstat.c
9679 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9681 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9682 Remove conditional code.
9683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9684 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9685 Remove conditional code.
9686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9687 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9688 <kernel-features.h>.
9689 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9690 Remove.
9691 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9692 Remove conditional code.
9693 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9694 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9695 Remove conditional.
9696
5dbf56af
MF
96972012-08-27 Mike Frysinger <vapier@gentoo.org>
9698
9699 [BZ #5400]
9700 * NEWS: Add fixed bug number.
9701
d6e70f43
JM
97022012-08-27 Joseph Myers <joseph@codesourcery.com>
9703
7efb4737
JM
9704 [BZ #14519]
9705 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9706 underflowing exponent in case of negative sign.
9707 * stdlib/tst-strtod-round-data: Add more tests.
9708 * stdlib/tst-strtod-round.c (tests): Regenerated.
9709
af92131a
JM
9710 [BZ #3479]
9711 * stdlib/strtod_l.c (NDIG): Remove.
9712 (HEXNDIG): Likewise.
9713 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9714 smallest representable value.
9715 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9716 lie within an exact representation of 1/2 ulp of the result.
9717 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9718 unconditionally.
9719 (TENS_P9_IDX): Define unconditionally.
9720 (TENS_P9_SIZE): Likewise.
9721 (TENS_P10_IDX): Likewise.
9722 (TENS_P10_SIZE): Likewise.
9723 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9724 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9725 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9726 entries for 10^2^13 and 10^2^14.
9727 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9728 (TENS_P13_IDX): Define.
9729 (TENS_P13_SIZE): Likewise.
9730 (TENS_P14_IDX): Likewise.
9731 (TENS_P14_SIZE): Likewise.
9732 (_fpioconst_pow10): Change array size to
9733 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9734 unconditional.
9735 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9736 1024]: Add entries for 10^2^13 and 10^2^14.
9737 [LAST_POW10 > _LAST_POW10]: Remove #error.
9738 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9739 (_fpioconst_pow10): Change array size to
9740 FPIOCONST_POW10_ARRAY_SIZE.
9741 * stdlib/gen-fpioconst.c: New file.
9742 * stdlib/gen-tst-strtod-round.c: Likewise.
9743 * stdlib/tst-strtod-round-data: Likewise.
9744 * stdlib/tst-strtod-round.c: Likewise.
9745 * stdlib/Makefile (tests): Add tst-strtod-round.
9746
d6e70f43
JM
9747 [BZ #14459]
9748 * stdlib/strtod_l.c: Include <stdint.h>.
9749 (NDEBUG): Do not define.
9750 (round_and_return): Change EXPONENT parameter to type intmax_t.
9751 Rearrange calculations to avoid internal overflow possibilities.
9752 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9753 Rearrange calculations to avoid internal overflow possibilities.
9754 Assert that number fits inside MPNSIZE limbs.
9755 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9756 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9757 calculations and add assertions to avoid internal overflow
9758 possibilities. Add casts to avoid signed/unsigned operations.
9759 * stdlib/tst-strtod-overflow.c: New file.
9760 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9761
1f529f7d
MP
97622012-08-25 Marek Polacek <polacek@redhat.com>
9763
9764 * time/time.h: Fix some typos in comments.
9765
59a629f1
RM
97662012-08-23 Roland McGrath <roland@hack.frob.com>
9767
9768 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9769 * posix/tst-rfc3484-2.c: Likewise.
9770 * posix/tst-rfc3484-3.c: Likewise.
9771
d3bafbc9
SM
97722012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9773
9774 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9775 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9776
4efcc022
JM
97772012-08-23 Joseph Myers <joseph@codesourcery.com>
9778
9779 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9780 #include of fxstatat64.c.
9781
3cc3ef96
RM
97822012-08-22 Roland McGrath <roland@hack.frob.com>
9783
f04e2132
RM
9784 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9785 * shadow/getspent_r.c: Likewise.
9786 * shadow/getspnam.c: Likewise.
9787 * shadow/getspnam_r.c: Likewise.
9788 * gshadow/getsgent.c: Likewise.
9789 * gshadow/getsgent_r.c: Likewise.
9790 * gshadow/getsgnam.c: Likewise.
9791 * gshadow/getsgnam_r.c: Likewise.
9792 * inet/getnetbyad.c: Likewise.
9793 * inet/getnetbyad_r.c: Likewise.
9794 * inet/getnetbynm.c: Likewise.
9795 * inet/getnetbynm_r.c: Likewise.
9796 * inet/getnetent.c: Likewise.
9797 * inet/getnetent_r.c: Likewise.
9798 * inet/getproto.c: Likewise.
9799 * inet/getproto_r.c: Likewise.
9800 * inet/getprtent.c: Likewise.
9801 * inet/getprtent_r.c: Likewise.
9802 * inet/getprtname.c: Likewise.
9803 * inet/getprtname_r.c: Likewise.
9804 * inet/getrpcbyname.c: Likewise.
9805 * inet/getrpcbyname_r.c: Likewise.
9806 * inet/getrpcbynumber.c: Likewise.
9807 * inet/getrpcbynumber_r.c: Likewise.
9808 * inet/getrpcent.c: Likewise.
9809 * inet/getrpcent_r.c: Likewise.
9810 * inet/getaliasent.c: Likewise.
9811 * inet/getaliasent_r.c: Likewise.
9812 * inet/getaliasname.c: Likewise.
9813 * inet/getaliasname_r.c: Likewise.
9814 * nscd/getgrgid_r.c: Likewise.
9815 * nscd/getgrnam_r.c: Likewise.
9816 * nscd/gethstbyad_r.c: Likewise.
9817 * nscd/gethstbynm3_r.c: Likewise.
9818 * nscd/getpwnam_r.c: Likewise.
9819 * nscd/getpwuid_r.c: Likewise.
9820 * nscd/getsrvbynm_r.c: Likewise.
9821 * nscd/getsrvbypt_r.c: Likewise.
9822 * nscd/gai.c: Likewise.
9823
c53d909c
RM
9824 * configure.in (build_nscd): New substituted variable, set
9825 by --disable-build-nscd and defaults to $use_nscd.
9826 * configure: Regenerated.
9827 * config.make.in (build-nscd): New substituted variable.
9828 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9829 Change conditional to require [$(build-nscd) = yes] as well.
9830 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9831
3cc3ef96
RM
9832 [BZ# 13696]
9833 * configure.in (use_nscd): New substituted variable, set by
9834 --disable-nscd. If enabled, define USE_NSCD.
9835 * configure: Regenerated.
9836 * config.h.in: Add USE_NSCD.
9837 * config.make.in (use-nscd): New substituted variable.
9838 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9839 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9840 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9841 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9842 (CFLAGS-getgrnam_r.c): Likewise.
9843 (CFLAGS-initgroups.c): Likewise.
9844 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9845 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9846 Variables removed.
9847 * inet/getnetgrent_r.c
9848 (nscd_setnetgrent): New function, broken out of ...
9849 (setnetgrent): ... here. Call it.
9850 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9851 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9852 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9853 * nscd/Makefile (routines, aux): Move definitions after include of
9854 Makeconfig. Conditionalize on [$(use-nscd) != no].
9855 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9856 Conditionalize on [USE_NSCD].
9857 (is_nscd, nscd_init_cb): Likewise.
9858 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9859 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9860 * nss/nss_db/db-init.c: Likewise.
9861 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9862 [USE_NSCD].
9863 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9864 (make_request): Use it.
9865 (cache_valid_p): New function.
9866 (__check_pf): Use it.
9867 * NEWS: Add item for --disable-nscd.
9868
07e51550
DL
98692012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9870
9871 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9872 to support sed >= 4.2.1-20-ga9bf076.
9873 * configure: Regenerated.
9874
35a5b08b
RM
98752012-08-22 Roland McGrath <roland@hack.frob.com>
9876
9877 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9878 Conditionalize whole body on [IREL].
9879
8479f23a
JL
98802012-08-22 Jeff Law <law@redhat.com>
9881
9882 [BZ #14505]
9883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9884 if the family is PF_UNSPEC.
9885
48da0b21
MF
98862012-08-22 Mike Frysinger <vapier@gentoo.org>
9887
9888 * Makerules (lib-version): Rename from V.
9889 (install-lib-nosubdir): Change V to lib-version.
9890
15d0da8c
WS
98912012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9892
9893 [BZ #14252]
9894 * powerpc32/power6/wcschr.c: New file.
9895 * powerpc32/power6/wcscpy.c: New file.
9896 * powerpc32/power6/wcsrchr.c: New file.
9897 * powerpc64/power6/wcschr.c: New file.
9898 * powerpc64/power6/wcscpy.c: New file.
9899 * powerpc64/power6/wcsrchr.c: New file.
9900
bcca0895
MK
99012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9902
9903 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9904 (two_way_short_needle): Use it.
5a4aaa33
RM
9905 * string/strstr.c (AVAILABLE1_USES_J): Define.
9906 * string/strcasestr.c: Likewise.
99677e57
MK
9907
9908 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9909 array references.
9910 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9911
400726de
MK
9912 [BZ #11607]
9913 * NEWS: Add an entry.
9914 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9915 define their defaults.
9916 (two_way_short_needle): Detect end-of-string on-the-fly.
9917 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9918 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9919 * string/bug-strcasestr1.c: New test.
9920 * string/Makefile: Run it.
9921
20a71f2c
MK
99222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9923
9924 [BZ #11607]
9925 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9926 the first character.
9927
21ad0558
RM
99282012-08-21 Roland McGrath <roland@hack.frob.com>
9929
9930 * csu/elf-init.c (__libc_csu_irel): Function removed.
9931 * csu/libc-start.c (apply_irel): New function.
9932 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9933
0e1d9911
JM
99342012-08-21 Joseph Myers <joseph@codesourcery.com>
9935
9936 * sysdeps/unix/sysv/linux/kernel-features.h
9937 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9938 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9939 <kernel-features.h>.
9940 [__NR_fadvise64_64]: Make code unconditional.
9941 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9942 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9943 !__NR_fadvise64_64)]: Likewise.
9944 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9945 !__NR_fadvise64_64))]: Likewise.
9946 [__NR_fadvise64]: Make code unconditional.
9947 [!__NR_fadvise64]: Remove conditional code.
9948 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9949 <kernel-features.h>.
9950 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9951 unconditional.
9952 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9953 conditional code.
9954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9955 not include <kernel-features.h>.
9956 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9957 unconditional.
9958 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9959 conditional code.
9960 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9961 include <kernel-features.h>.
9962 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9963 unconditional.
9964 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9965 conditional code.
9966
14a50c9d
WS
99672012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9968
9969 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9970 slight instruction rearrangements per scrollpipe analysis.
9971 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9972
c0f4faf0
RM
99732012-08-20 Roland McGrath <roland@hack.frob.com>
9974
696da859
RM
9975 * manual/syslog.texi (syslog; vsyslog, closelog):
9976 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9977 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9978
c0f4faf0
RM
9979 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9980 DSOCAPS to match condition on defining it.
9981
348363b2
JM
99822012-08-20 Joseph Myers <joseph@codesourcery.com>
9983
a35cbf28
JM
9984 * sysdeps/unix/sysv/linux/kernel-features.h
9985 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9987 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9988 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9990 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9991 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9993 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9994 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9995
445f7ecd
JM
9996 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9997 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9998
348363b2
JM
9999 * sysdeps/unix/sysv/linux/kernel-features.h
10000 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10001 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10002 unconditional.
10003 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10004 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10005 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10006 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10007 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10008 Make code unconditional.
10009 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10010 (__mmap64) [!__NR_mmap2]: Likewise.
10011 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10012 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10013 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10014 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10015 [__NR_mmap2]: Make code unconditional.
10016 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10017 (__mmap64) [!__NR_mmap2]: Likewise.
10018
bc5bc0e5
AK
100192012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10020
10021 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10022
88d506de
AJ
100232012-08-18 Andreas Jaeger <aj@suse.de>
10024
10025 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10026
493387d2
MF
100272012-08-18 Mike Frysinger <vapier@gentoo.org>
10028
10029 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10030 * include/unistd.h (__have_sock_cloexec): Likewise.
10031 (__have_pipe2): Likewise.
10032 (__have_dup3): Likewise.
10033
a277af22
MF
100342012-08-18 Mike Frysinger <vapier@gentoo.org>
10035
10036 [BZ #9685]
10037 * include/unistd.h (__have_pipe2): Change define into an extern int.
10038 (__have_dup3): Likewise.
10039 * socket/have_sock_cloexec.c: Include fcntl.h.
10040 (__have_pipe2): New variable.
10041 (__have_dup3): Likewise.
10042
fdab8fd3
MF
100432012-08-17 Mike Frysinger <vapier@gentoo.org>
10044
10045 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10046
31035e80
MP
100472012-08-17 Marek Polacek <polacek@redhat.com>
10048
10049 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10050 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10051
3bd9e993
RM
100522012-08-17 Roland McGrath <roland@hack.frob.com>
10053
c91c505f
RM
10054 * configure.in: Add AC_SUBST for sysheaders.
10055 * configure: Regenerated.
10056 * config.make.in (sysheaders): New substituted variable.
10057
7c6f9d53
RM
10058 * sysdeps/unix/mkfifo.c: Moved ...
10059 * sysdeps/posix/mkfifo.c: ... here.
10060 * sysdeps/unix/mkfifoat.c: Moved ...
10061 * sysdeps/posix/mkfifoat.c: ... here.
10062
10063 * sysdeps/unix/utime.c: Moved ...
10064 * sysdeps/posix/utime.c: ... here.
10065
10066 * sysdeps/unix/time.c: Moved ...
10067 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10068 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10069 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10070
10071 * sysdeps/unix/nice.c: Moved ...
10072 * sysdeps/posix/nice.c: ... here.
10073
10074 * sysdeps/unix/alarm.c: Moved ...
10075 * sysdeps/posix/alarm.c: ... here.
10076
3bd9e993
RM
10077 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10078
d1f09384
JL
100792012-08-17 Jeff Law <law@redhat.com>
10080
10081 * intl/Makefile (codeset_mo): New variable.
10082 ($(codeset_mo)): New target.
10083 (tst-codeset.out): Depend on that. Remove explicit rule.
10084 (tst-gettext3.out, tst-gettext5.out): Likewise.
10085 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10086 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10087 * intl/tst-codeset.sh: Remove.
10088 * intl/tst-gettext3.sh: Likewise.
10089 * intl/tst-gettext5.sh: Likewise.
10090
2ae1ae5c
RM
100912012-08-17 Roland McGrath <roland@hack.frob.com>
10092
c31fdb83
RM
10093 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10094 * sysdeps/unix/syscalls.list: ... here.
10095
a0844057
RM
10096 * sysdeps/posix/getaddrinfo.c
10097 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10098 (gaiconf_init, gaiconf_reload): Use them.
10099 [!_STATBUF_ST_NSEC]
10100 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10101 Define using time_t rather than struct timespec.
10102
750c1f2a
RM
10103 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10104 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10105 Macros removed.
10106 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10107 [!NO_THREADS].
10108 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10109 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10110 Likewise.
10111
2ae1ae5c
RM
10112 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10113 __libc_cleanup_push argument.
10114
e66a42f5
RM
10115 * bits/param.h: New file.
10116 * misc/sys/param.h: New file.
10117 * include/sys/param.h: New file.
10118 * misc/Makefile (headers): Add bits/param.h.
10119 * sysdeps/generic/sys/param.h: File removed.
10120 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10121 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10122 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10123 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10124
b7c08a66
RM
10125 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10126 last change.
10127
b2e1c562
RM
10128 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10129 [_IO_MTSAFE_IO].
10130 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10131 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10132 New macros.
10133
c75ccd4c
RM
10134 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10135 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10136 rather than -D_IO_MTSAFE_IO conditionally.
10137 * stdio-common/Makefile (CPPFLAGS): Likewise.
10138 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10139 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10140 Use $(libio-mtsafe).
10141 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10142 of -D_IO_MTSAFE_IO.
10143 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10144 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10145 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10146 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10147 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10148 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10149 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10150 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10151 (CFLAGS-fread_u_chk.c): Likewise.
10152 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10153 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10154 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10155 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10156 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10157 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10158 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10159 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10160 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10161
10162 * libio/Makefile: Test [$(libc-reentrant) = yes]
10163 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10164
10165 * Makeconfig
10166 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10167 * sysdeps/pthread/configure: File removed.
10168 * sysdeps/pthread/Makeconfig: New file.
10169 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10170 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10171
d9195db8
GB
101722012-08-16 Gary Benson <gbenson@redhat.com>
10173
10174 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10175 unmapping the first object in a namespace.
10176
86466cd9
RM
101772012-08-16 Roland McGrath <roland@hack.frob.com>
10178
10179 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10180 (__internal_setnetgrent): ... this. Add internal_function to
10181 definition. Add libc_hidden_def.
10182 (setnetgrent): Update caller.
10183 (internal_endnetgrent): Renamed to ...
10184 (__internal_endnetgrent): ... this. Add internal_function to
10185 definition. Add libc_hidden_def.
10186 (endnetgrent): Update caller.
10187 (internal_getnetgrent_r): Renamed to ...
10188 (__internal_getnetgrent_r): ... this. Add internal_function to
10189 definition. Add libc_hidden_def.
10190 (__getnetgrent_r): Update caller.
10191 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10192
c3c8283c
JM
101932012-08-16 Joseph Myers <joseph@codesourcery.com>
10194
10195 * stdlib/longlong.h: Update from GCC.
10196
db1ee0a8
RM
101972012-08-16 Roland McGrath <roland@hack.frob.com>
10198
10199 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10200 on _QL, which is set by umul_ppmm but never used.
10201 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10202 variables, which are set by GMP macros but never used.
10203 * stdio-common/_itowa.c (_itowa): Likewise.
10204 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10205 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10206
30f69637
CD
102072012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10208
10209 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10210 struct La_sh_regs is not constant.
10211 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10212 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10213 and struct La_sparc64_regs are not constant.
10214
93a78ac4
JM
102152012-08-16 Joseph Myers <joseph@codesourcery.com>
10216
10217 * sysdeps/unix/sysv/linux/kernel-features.h
10218 (__ASSUME_POSIX_TIMERS): Remove.
10219 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10220 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10221 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10222 Make code unconditional.
10223 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10224 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10225 Make code unconditional.
10226 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10227 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10228 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10229 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10230 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10231 Make code unconditional.
10232 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10233 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10234 (__libc_missing_posix_timers): Remove.
10235
dd924cd7
RM
102362012-08-15 Roland McGrath <roland@hack.frob.com>
10237
4b4f2771
RM
10238 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10239 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10240
601c888b
RM
10241 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10242
176790a7
RM
10243 * elf/dl-sym.c: Include <stdlib.h>.
10244
329bc018
RM
10245 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10246 constants, which avoids warnings in 32-bit builds.
10247
e04e272d
RM
10248 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10249 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10250
952bf94a
RM
10251 * misc/lseek.c: File moved to ...
10252 * io/lseek.c: ... here.
10253
7c99b50a
RM
10254 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10255
dd924cd7
RM
10256 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10257 shifting LEN more than 31 bits at once.
10258
b3f479a8
LD
102592012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10260
10261 [BZ #14195]
8c4ae0d4
RM
10262 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10263 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10264 * string/test-strncasecmp.c (check1): Renamed to...
10265 (bz12205): ...this.
10266 (bz14195): Add new testcase for two empty input strings and N > 0.
10267 (test_main): Call new testcase, adapt for renamed function.
10268
9c55864e
AJ
102692012-08-15 Andreas Jaeger <aj@suse.de>
10270
10271 [BZ #14090]
10272 * crypt/md5test2.c: New test, based on test supplied by Serge
10273 Belyshev <belyshev@depni.sinp.msu.ru>.
10274 * crypt/Makefile (xtests): Add md5test-giant..
10275 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10276
02dcb6c5
PE
102772012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10278
10279 [BZ #14090]
10280 * crypt/md5.c (md5_process_block): Don't assume the buffer
10281 length is less than 2**32.
10282 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10283 length is less than 2**64.
10284
a3f95dcc
RM
102852012-08-15 Roland McGrath <roland@hack.frob.com>
10286
be75d758
RM
10287 * string/str-two-way.h: Include <sys/param.h>.
10288 (MAX): Macro removed.
10289
7312ca90
RM
10290 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10291 Move #define and #undef of memmove to just before and after
10292 including <string.h>.
10293
9a0a5486
RM
10294 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10295 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10296 and after including <string.h>. Move declarations of
10297 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10298 to before #include "string/memmove.c".
10299
67cc348d
RM
10300 * include/dirent.h: Declare __getdirentries.
10301
a3f95dcc
RM
10302 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10303 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10304
ca98e171
MF
103052012-08-14 Mike Frysinger <vapier@gentoo.org>
10306
10307 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10308 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10309 * sysdeps/i386/configure: Regenerated.
10310 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10311 STABS_CURRENT_FILE, and STABS_FUN.
10312 (END): Remove call to STABS_FUN_END.
10313 (STABS_CURRENT_FILE1): Delete.
10314 (STABS_CURRENT_FILE): Likewise.
10315 (STABS_FUN): Likewise.
10316 (STABS_FUN_END): Likewise.
10317 (STABS_FUN2): Likewise.
10318 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10319 * sysdeps/x86_64/configure: Regenerated.
10320
5908bf46
RM
103212012-08-14 Roland McGrath <roland@hack.frob.com>
10322
10323 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10324 * elf/dl-lookup.c: Likewise.
5908bf46 10325
f2c05b9e
JM
103262012-08-14 Joseph Myers <joseph@codesourcery.com>
10327
10328 * sysdeps/unix/sysv/linux/kernel-features.h
10329 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10330 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10331 unconditionally.
10332 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10333 unconditionally.
10334 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10335 condition on __ASSUME_CLONE_THREAD_FLAGS.
10336
e11f5155
AJ
103372012-08-14 Andreas Jaeger <aj@suse.de>
10338
10339 * sysdeps/i386/fpu/libm-test-ulps: Update.
10340
51a9ba86
MK
103412012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10342
2fdd4f78
AJ
10343 * include/atomic.h (atomic_exchange_and_add): Split into ...
10344 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10345 New atomic macros.
51a9ba86 10346
ba6cba9e
MT
103472012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10348
10349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10350
42443a47
JL
103512012-08-13 Jeff Law <law@redhat.com>
10352
10353 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10354 null byte in the output string.
10355
121dce05
JM
103562012-08-10 Joseph Myers <joseph@codesourcery.com>
10357
10358 * sysdeps/unix/sysv/linux/kernel-features.h
10359 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10360 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10361 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10362 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10363 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10364 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10365 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10366
bf51f568
JL
103672012-08-09 Jeff Law <law@redhat.com>
10368
10369 [BZ #13939]
10370 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10371 When avoid_arena is set, don't retry in the that arena. Pick the
10372 next one, whatever it might be.
10373 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10374 (arena_lock): Pass in new parameter to arena_get2.
10375 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10376 arena_get2.
10377 (__libc_malloc): Unify retrying after main arena failure with
10378 __libc_memalign version.
10379 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10380
f85fa270
L
103812012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10382
10383 [BZ #14166]
10384 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10385 to __redirect_strstr.
10386 (__strstr_sse42): Use typeof __redirect_strstr.
10387 (__strstr_ia32): Likewise.
10388 (__libc_strstr): New prototype.
10389 (strstr): Renamed to ...
10390 (__libc_strstr): This.
10391 (strstr): New strong alias of __libc_strstr.
10392 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10393 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10394 __redirect_time.
10395 Include <time.h>.
10396 (__libc_time): New prototype.
10397 (time_ifunc): Replace time with __libc_time.
10398 (time): New strong alias and hidden definition of __libc_time.
10399 (__GI_time): Remove strong alias.
10400 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10401 Include <stddef.h>.
10402 (memmove): Redefined to __redirect_memmove.
10403 (__memmove_sse2): Use typeof __redirect_memmove.
10404 (__memmove_ssse3): Likewise.
10405 (__memmove_ssse3_back): Likewise.
10406 (__libc_memmove): New prototype.
10407 (memmove): Renamed to ...
10408 (__libc_memmove): This.
10409 (memmove): New strong alias of __libc_memmove.
10410
33b4a91e
MS
104112012-08-08 Mark Salter <msalter@redhat.com>
10412
10413 * elf/elf.h
10414 (R_MN10300_TLS_GD): Define.
10415 (R_MN10300_TLS_LD): Likewise.
10416 (R_MN10300_TLS_LDO): Likewise.
10417 (R_MN10300_TLS_GOTIE): Likewise.
10418 (R_MN10300_TLS_IE): Likewise.
10419 (R_MN10300_TLS_LE): Likewise.
10420 (R_MN10300_TLS_DTPMOD): Likewise.
10421 (R_MN10300_TLS_DTPOFF): Likewise.
10422 (R_MN10300_TLS_TPOFF): Likewise.
10423 (R_MN10300_SYM_DIFF): Likewise.
10424 (R_MN10300_ALIGN): Likewise.
10425 (R_MN10300_NUM): Update.
10426
b36137f1
JM
104272012-08-08 Joseph Myers <joseph@codesourcery.com>
10428
10429 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10430 Remove.
10431
cdd915fd
RM
104322012-08-08 Roland McGrath <roland@hack.frob.com>
10433
a2433aac
RM
10434 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10435
cdd915fd
RM
10436 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10437 sysdeps/unix -> sysdeps/posix move.
10438 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10439
bf9b740a
AM
104402012-08-07 Allan McRae <allan@archlinux.org>
10441
10442 [BZ #14303]
10443 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10444 (SUNOS_CPP): Likewise.
10445 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10446 not found.
10447 (open_input): Call CPP using execvp.
10448
93df14ee
JM
104492012-08-07 Joseph Myers <joseph@codesourcery.com>
10450
10451 * sysdeps/unix/sysv/linux/kernel-features.h
10452 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10453 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10454 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10455 (__ASSUME_WAITID_SYSCALL): Likewise.
10456 * sysdeps/unix/sysv/linux/dl-execstack.c
10457 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10458 code unconditional.
10459 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10460 conditional code.
10461 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10462 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10463 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10464 code.
10465 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10466 unconditional.
10467 [__ASSUME_WAITID_SYSCALL]: Likewise.
10468 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10469
d34689de
RM
104702012-08-07 Roland McGrath <roland@hack.frob.com>
10471
a281decc
RM
10472 * sysdeps/unix/closedir.c: Renamed to ...
10473 * sysdeps/posix/closedir.c: ... here.
10474 * sysdeps/unix/dirfd.c: Renamed to ...
10475 * sysdeps/posix/dirfd.c: ... here.
10476 * sysdeps/unix/dirstream.h: Renamed to ...
10477 * sysdeps/posix/dirstream.h: ... here.
10478 * sysdeps/unix/fdopendir.c: Renamed to ...
10479 * sysdeps/posix/fdopendir.c: ... here.
10480 * sysdeps/unix/opendir.c: Renamed to ...
10481 * sysdeps/posix/opendir.c: ... here.
10482 * sysdeps/unix/readdir.c: Renamed to ...
10483 * sysdeps/posix/readdir.c: ... here.
10484 * sysdeps/unix/readdir_r.c: Renamed to ...
10485 * sysdeps/posix/readdir_r.c: ... here.
10486 * sysdeps/unix/rewinddir.c: Renamed to ...
10487 * sysdeps/posix/rewinddir.c: ... here.
10488 * sysdeps/unix/seekdir.c: Renamed to ...
10489 * sysdeps/posix/seekdir.c: ... here.
10490 * sysdeps/unix/telldir.c: Renamed to ...
10491 * sysdeps/posix/telldir.c: ... here.
10492 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10493 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10494 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10495 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10496
22895b47
RM
10497 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10498 * bits/fcntl.h: ... here.
10499
707a53b6
RM
10500 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10501 not 0.
10502 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10503 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10504 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10505 (struct flock): Move l_start, l_len to the beginning.
10506 Use __pid_t for l_pid.
10507 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10508 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10509 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10510 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10511 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10512 [__USE_LARGEFILE64] (struct flock64): New type.
10513 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10514
f0bd3e25
RM
10515 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10516 * bits/dirent.h: ... here.
10517
d34689de
RM
10518 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10519 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10520
6dad2c06
JM
105212012-08-07 Joseph Myers <joseph@codesourcery.com>
10522
10523 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10524 Change from 2.6.0 to 2.6.16.
10525 * sysdeps/unix/sysv/linux/configure: Regenerated.
10526 * sysdeps/unix/sysv/linux/kernel-features.h
10527 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10528 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10529 version.
10530 (__ASSUME_UTIMES): Likewise.
10531 (__ASSUME_CLONE_STOPPED): Remove.
10532 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10533 architectures, not kernel version.
10534 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10535 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10536 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10537 (__ASSUME_WAITID_SYSCALL): Likewise.
10538 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10539 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10540 * README: State 2.6.16 as minimum Linux kernel version. Do not
10541 refer to older versions.
10542
03af9520
RM
105432012-08-06 Roland McGrath <roland@hack.frob.com>
10544
8e49df1d
RM
10545 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10546 Define alphasort64 as an alias.
10547 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10548 Define versionsort64 as an alias.
10549 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10550 Define scandir64 as an alias.
10551 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10552 Define scandirat64 as an alias.
10553 * dirent/alphasort64.c (alphasort64):
10554 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10555 * dirent/versionsort64.c: Likewise.
10556 * dirent/scandir64.c: Likewise.
10557 * dirent/scandirat64.c: Likewise.
10558 * sysdeps/wordsize-64/alphasort.c: File removed.
10559 * sysdeps/wordsize-64/alphasort64.c: File removed.
10560 * sysdeps/wordsize-64/scandir.c: File removed.
10561 * sysdeps/wordsize-64/scandir64.c: File removed.
10562 * sysdeps/wordsize-64/scandirat.c: File removed.
10563 * sysdeps/wordsize-64/scandirat64.c: File removed.
10564 * sysdeps/wordsize-64/versionsort.c: File removed.
10565 * sysdeps/wordsize-64/versionsort64.c: File removed.
10566 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10567 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10568 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10569 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10570 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10571 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10572 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10573 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10574
10575 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10577 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10578 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10579 [defined __arch64__ || defined __sparcv9]
10580 (__INO_T_MATCHES_INO64_T): New macro.
10581 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10582 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10583 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10584 * sysdeps/unix/sysv/linux/bits/dirent.h
10585 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10586 (_DIRENT_MATCHES_DIRENT64): New macro.
10587
03af9520
RM
10588 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10589 Define lockf64 as an alias.
10590 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10591 Define fseeko64 as an alias.
10592 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10593 Define ftello64 as an alias.
10594 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10595 Define _IO_fgetpos64 and fgetpos64 as aliases.
10596 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10597 Define _IO_fsetpos64 and fsetpos64 as aliases.
10598 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10599 Conditionalize body on this.
10600 * libio/fseeko64.c: Likewise.
10601 * libio/ftello64.c: Likewise.
10602 * libio/iofgetpos64.c: Likewise.
10603 * libio/iofsetpos64.c: Likewise.
10604 * sysdeps/wordsize-64/lockf.c: File removed.
10605 * sysdeps/wordsize-64/lockf64.c: File removed.
10606 * sysdeps/wordsize-64/fseeko.c: File removed.
10607 * sysdeps/wordsize-64/fseeko64.c: File removed.
10608 * sysdeps/wordsize-64/ftello.c: File removed.
10609 * sysdeps/wordsize-64/ftello64.c: File removed.
10610 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10611 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10612 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10613 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10614 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10615 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10616 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10617 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10618 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10619 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10620 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10621 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10622 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10623 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10624
10625 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10627 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10628 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10629 [defined __arch64__ || defined __sparcv9]
10630 (__OFF_T_MATCHES_OFF64_T): New macro.
10631 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10632 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10633 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10634 (__OFF_T_MATCHES_OFF64_T): New macro.
10635
c5757acd
L
106362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10637
10638 * stdlib/secure-getenv.c (__secure_getenv): Replace
10639 GLIBC_2_16 with GLIBC_2_17.
10640
3a31811e
L
106412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10642
10643 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10644 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10645
faa2bccb
DM
106462012-08-03 David S. Miller <davem@davemloft.net>
10647
10648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10649
85fe1997
JM
106502012-08-03 Joseph Myers <joseph@codesourcery.com>
10651
10652 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10653 Remove.
10654 (__ASSUME_CORRECT_SI_PID): Likewise.
10655 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10656 (__ASSUME_TMPFS_NAME): Likewise.
10657 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10658 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10659 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10660 (HAVE_AUX_SECURE): Make definition unconditional.
10661 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10662 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10663
4f75b7a0
RM
106642012-08-03 Roland McGrath <roland@hack.frob.com>
10665
10666 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10667 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10668 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10669 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10670 __eloop_threshold instead of SYMLOOP_MAX.
10671
10672 * sysdeps/generic/eloop-threshold.h: New file.
10673 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10674 of MAXSYMLINKS.
10675 * elf/chroot_canon.c (chroot_canon): Likewise.
10676
7aab07e4
JM
106772012-08-03 Joseph Myers <joseph@codesourcery.com>
10678
10679 [BZ #13717]
10680 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10681 Change to 2.6.0 everywhere.
10682 * sysdeps/unix/sysv/linux/configure: Regenerated.
10683 * sysdeps/unix/sysv/linux/kernel-features.h
10684 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10685 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10686 kernel versions.
10687 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10688 (__ASSUME_FUTEX_REQUEUE): Remove.
10689 (__ASSUME_STATFS64): Define unconditionally.
10690 (__ASSUME_AT_SECURE): Likewise.
10691 (__ASSUME_CORRECT_SI_PID): Likewise.
10692 (__ASSUME_TGKILL): Define without depending on kernel version for
10693 i386.
10694 (__ASSUME_UTIMES): Likewise.
10695 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10696 kernel version.
10697 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10698 (__ASSUME_TMPFS_NAME): Likewise.
10699 * README: Update reference to Linux kernel versions.
10700
b67e9372
MP
107012012-08-02 Marek Polacek <polacek@redhat.com>
10702
1f529f7d 10703 [BZ# 14150]
b67e9372
MP
10704 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10705 libc_cv_asm_type_prefix with %.
10706 * configure: Regenerated.
d2441631
RM
10707 * include/libc-symbols.h: Remove comment about
10708 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10709 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10710 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10711 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10712 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10713 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10714 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10715 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10716 * elf/tst-unique2mod1.c: Likewise.
10717 * elf/tst-unique1mod2.c: Likewise.
10718 * elf/tst-unique1mod1.c: Likewise.
10719 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10720 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10721 Replace ASM_TYPE_DIRECTIVE with .type.
10722 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10723 * sysdeps/i386/sysdep.h: Likewise.
10724 * sysdeps/x86_64/sysdep.h: Likewise.
10725 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10727 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10728 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10729 * sysdeps/powerpc/powerpc32/sysdep.h:
10730 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10731 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10732 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10733 * sysdeps/i386/fpu/e_powf.S: Likewise.
10734 * sysdeps/i386/fpu/e_expl.S: Likewise.
10735 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10736 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10737 * sysdeps/i386/fpu/e_pow.S: Likewise.
10738 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10739 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10740 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10741 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10742 * sysdeps/i386/fpu/e_log2.S: Likewise.
10743 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10744 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10745 * sysdeps/i386/fpu/e_powl.S: Likewise.
10746 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10747 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10748 * sysdeps/i386/fpu/e_logl.S: Likewise.
10749 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10750 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10751 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10752 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10753 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10754 * sysdeps/i386/fpu/e_log.S: Likewise.
10755 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10756 * sysdeps/i386/fpu/e_logf.S: Likewise.
10757 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10758 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10759 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10760 * sysdeps/i386/fpu/e_log10.S: Likewise.
10761 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10762 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10763 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10764 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10765 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10766 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10767 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10768 * sysdeps/i386/i686/strtok.S: Likewise.
10769 * sysdeps/i386/i386-mcount.S: Likewise.
10770 * sysdeps/i386/strtok.S: Likewise.
10771 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10772 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10773 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10774 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10775 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10776 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10777 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10778 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10779 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10780 * sysdeps/x86_64/_mcount.S: Likewise.
10781 * sysdeps/x86_64/strtok.S: Likewise.
10782 * sysdeps/sh/_mcount.S: Likewise.
10783
2747bf9a
RM
107842012-08-01 Roland McGrath <roland@hack.frob.com>
10785
10786 * libio/iofopen.c: Include <fcntl.h>.
10787 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10788 (_IO_fopen64, fopen64): Define as aliases.
10789 * libio/iofopen64.c: Include <fcntl.h>.
10790 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10791 Conditionalize body on this.
10792 * sysdeps/wordsize-64/iofopen.c: File removed.
10793 * sysdeps/wordsize-64/iofopen64.c: File removed.
10794
3fb791b8
MP
107952012-08-01 Marek Polacek <polacek@redhat.com>
10796
10797 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10798 Use dlfcn directly instead of a variable.
10799 (binfmt-subdir): Do not define.
10800 (dlfcn): Likewise.
10801
a9f1039f
JM
108022012-08-01 Joseph Myers <joseph@codesourcery.com>
10803
23bddc06
JM
10804 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10805 Remove all definitions.
10806 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10807 <kernel-features.h>.
10808 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10809 (miss_F_GETOWN_EX): Remove all definitions.
10810 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10811 macro definition.
10812 [!__ASSUME_FCNTL64]: Remove conditional code.
10813 [__ASSUME_FCNTL64]: Make code unconditional.
10814 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10815 <kernel-features.h>.
10816 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10817 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10818 (lockf64) [__NR_fcntl64]: Make code unconditional.
10819 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10820
a9f1039f
JM
10821 * sysdeps/unix/sysv/linux/kernel-features.h
10822 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10823 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10824 Make code unconditional.
10825 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10826 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10828 [__NR_vfork]: Make code unconditional.
10829 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10830 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10832 [__NR_vfork]: Make code unconditional.
10833 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10834 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10835
09c0ee5f
RM
108362012-08-01 Roland McGrath <roland@hack.frob.com>
10837
48aec5b9
RM
10838 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10839 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10840
cd97c966
RM
10841 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10842 Define mkstemp64 as an alias.
3f55550c
RM
10843 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10844 Define mkstemps64 as an alias.
cd97c966
RM
10845 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10846 Define mkostemp64 as an alias.
b8625cfc
RM
10847 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10848 Define mkostemps64 as an alias.
cd97c966
RM
10849 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10850 Conditionalize body on this.
10851 * misc/mkostemp64.c: Likewise.
b8625cfc 10852 * misc/mkostemps64.c: Likewise.
3f55550c 10853 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10854 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10855 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10856 * sysdeps/wordsize-64/mkostemp.c: File removed.
10857 * sysdeps/wordsize-64/mkstemp.c: File removed.
10858 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10859 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10860 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10861 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10862
09c0ee5f
RM
10863 [BZ #14138]
10864 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10865 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10866 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10867 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10868
10869 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10870 compat_symbol macros from <shlib-compat.h> rather than the underlying
10871 default_symbol_version and symbol_version macros, so that DEFAULT
10872 lines in shlib-versions are respected.
10873 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10874
7e66ee51
FW
108752012-08-01 Florian Weimer <fweimer@redhat.com>
10876
10877 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10878 Declare with warn_unused_result.
10879 (setgid, setregid, setegid, setresgid): Likewise.
10880 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10881 Likewise.
10882 * WUR-REPORT: Remove set*id functions.
10883
d2a54255
PT
108842012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10885
10886 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10887
7ecdb005
RM
108882012-07-31 Roland McGrath <roland@hack.frob.com>
10889
789bd351
RM
10890 * include/sys/socket.h (__libc_accept, __libc_accept4):
10891 Add attribute_hidden.
10892 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10893
40ce302d
RM
10894 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10895 use of PTR_MANGLE.
10896 * inet/getnetgrent_r.c (setup): Likewise.
10897
7ecdb005
RM
10898 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10899
e2eabb2c
DM
109002012-07-31 David S. Miller <davem@davemloft.net>
10901
10902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10903
d0419dbf
JM
109042012-07-31 Joseph Myers <joseph@codesourcery.com>
10905
10906 [BZ #13629]
10907 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10908 value between 1.0 and 2.0 and smaller part has absolute value less
10909 than 1.0.
10910 * math/s_clog10.c (__clog10): Likewise.
10911 * math/s_clog10f.c (__clog10f): Likewise.
10912 * math/s_clog10l.c (__clog10l): Likewise.
10913 * math/s_clogf.c (__clogf): Likewise.
10914 * math/s_clogl.c (__clogl): Likewise.
10915 * math/libm-test.inc (clog_test): Add more tests.
10916 (clog10_test): Likewise.
10917 * sysdeps/i386/fpu/libm-test-ulps: Update.
10918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10919
2bc13872
FW
109202012-07-31 Florian Weimer <fweimer@redhat.com>
10921
10922 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10923 Exit with zero in case no suitable GID is found, and write a
10924 message to standard error.
10925
bea9b193
RM
109262012-07-30 Roland McGrath <roland@hack.frob.com>
10927
10928 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10929 rather than to 1.
10930 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10931 (MAXPATHLEN): Removed.
10932 (NOGROUP, NODEV): New macros.
10933 (setbit, clrbit, isset, isclr): New macros.
10934 (howmany, roundup, powerof2): New macros.
10935 (DEV_BSIZE): New macro.
10936
10937 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10938 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10939
10940 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10941 definition on [!__NO_LONG_DOUBLE_MATH].
10942
10943 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10944 PTR_MANGLE and PTR_DEMANGLE.
10945
10946 * socket/accept4.c (accept4): Rename to __libc_accept4.
10947 Define accept4 as a weak alias.
10948
10949 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10950 on [_DIRENT_HAVE_D_TYPE].
10951 * io/ftw.c (ftw_dir): Likewise.
10952
10953 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10954
10955 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10956
10957 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10958 Use the BSD numbers rather than the arbitrary ones we had.
10959 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10960 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10961 (SIGXCPU, SIGXFSZ): New macros.
10962 (_NSIG): Now 32.
10963
10964 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10965 initializer on [_LIBC_REENTRANT].
10966
10967 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10968 definitions inside [_POSIX_MAPPED_FILES].
10969
10970 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10971
10972 * dirent/opendir.c: Include <fcntl.h>.
10973
10974 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10975 (__libc_getspecific): Likewise.
10976 (__libc_key_create): Likewise.
10977
10978 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10979 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10980 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10981 (tmpfile64): Define as alias.
10982 * sysdeps/wordsize-64/tmpfile.c: File removed.
10983 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10984 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10985 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10986
10987 * stdio-common/vfscanf.c: Include <stdbool.h>.
10988 * nss/makedb.c: Likewise.
10989 * stdio-common/_i18n_number.h: Likewise.
10990 * argp/argp-help.c: Likewise.
10991 * posix/wordexp.c: Likewise.
10992 * sysdeps/posix/spawni.c: Likewise.
10993 * nss/nss_files/files-initgroups.c: Likewise.
10994 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10995 * nss/nss_files/files-initgroups.c: Likewise.
10996 * nss/nss_db/db-netgrp.c: Likewise.
10997 * nss/nss_db/db-initgroups.c: Likewise.
10998 * io/fchmodat.c: Include <sys/stat.h>.
10999
11000 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11001 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11002
11003 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11004 [HAVE_MMAP].
11005
11006 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11007 Add multiple inclusion protection.
11008
e5abc686
DM
110092012-07-27 David S. Miller <davem@davemloft.net>
11010
11011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11012
815e6fa3
GB
110132012-07-27 Gary Benson <gbenson@redhat.com>
11014
11015 [BZ #14298]
11016 * elf/rtld.c: Include <stap-probe.h>.
11017 (dl_main): Added static probes "init_start" and "init_complete".
11018 * elf/dl-load.c: Include <stap-probe.h>.
11019 (lose): Take new parameter "nsid".
11020 Added static probe "map_failed".
11021 (_dl_map_object_from_fd): Pass namespace id to lose.
11022 Added static probe "map_start".
11023 (open_verify): Pass namespace id to lose.
11024 * elf/dl-open.c: Include <stap-probe.h>.
11025 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11026 and "reloc_complete".
11027 * elf/dl-close.c: Include <stap-probe.h>.
11028 (_dl_close_worker): Added static probes "unmap_start" and
11029 "unmap_complete".
11030 * elf/rtld-debugger-interface.txt: New file documenting the above.
11031
9f98c16c
RM
110322012-07-26 Roland McGrath <roland@hack.frob.com>
11033
11034 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11035 rather than a string variable.
11036 * sunrpc/rpc_main.c (h_output): Likewise.
11037 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11038
f3c22df3
PT
110392012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11040
11041 * inet/check_native.c: New file.
11042
3129cfc6
JM
110432012-07-26 Joseph Myers <joseph@codesourcery.com>
11044
da865e95
JM
11045 [BZ #13629]
11046 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11047 if larger part has absolute value 1.0.
11048 * math/s_clog10.c (__clog10): Likewise.
11049 * math/s_clog10f.c (__clog10f): Likewise.
11050 * math/s_clog10l.c (__clog10l): Likewise.
11051 * math/s_clogf.c (__clogf): Likewise.
11052 * math/s_clogl.c (__clogl): Likewise.
11053 * math/libm-test.inc (clog_test): Add more tests.
11054 (clog10_test): Likewise.
11055 * sysdeps/i386/fpu/libm-test-ulps: Update.
11056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11057
3129cfc6
JM
11058 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11059 (pltexit): Likewise.
11060 (La_regs): Likewise.
11061 (La_retval): Likewise.
11062 (int_retval): Likewise.
11063 Update #error for removed macros to refer only to definitions in
11064 tst-audit.h.
11065 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11066 macro.
11067 (pltexit): Likewise.
11068 (La_regs): Likewise.
11069 (La_retval): Likewise.
11070 (int_retval): Likewise.
11071 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11072 macro.
11073 (pltexit): Likewise.
11074 (La_regs): Likewise.
11075 (La_retval): Likewise.
11076 (int_retval): Likewise.
11077 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11078 macro.
11079 (pltexit): Likewise.
11080 (La_regs): Likewise.
11081 (La_retval): Likewise.
11082 (int_retval): Likewise.
11083 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11084 macro.
11085 (pltexit): Likewise.
11086 (La_regs): Likewise.
11087 (La_retval): Likewise.
11088 (int_retval): Likewise.
11089 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11090 macro.
11091 (pltexit): Likewise.
11092 (La_regs): Likewise.
11093 (La_retval): Likewise.
11094 (int_retval): Likewise.
11095 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11096 macro.
11097 (pltexit): Likewise.
11098 (La_regs): Likewise.
11099 (La_retval): Likewise.
11100 (int_retval): Likewise.
11101 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11102 macro definitions in tst-audit.h.
11103 * sysdeps/i386/tst-audit.h: New file.
11104 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11105 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11106 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11107 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11108 * sysdeps/sh/tst-audit.h: Likewise.
11109 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11110 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11111 * sysdeps/x86_64/tst-audit.h: Likewise.
11112
bfc07087
AJ
111132012-07-26 Andreas Jaeger <aj@suse.de>
11114
b1b2aaf8
AJ
11115 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11116 ptrace.
11117
11118 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11119 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11120 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11121 PTRACE_O_MASK.
11122 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11123 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11124 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11125
bfc07087
AJ
11126 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11127 value.
11128
11129 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11130 _sigsys.
11131 (si_call_addr, si_syscall, si_arch): Define new macro.
11132 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11133 _sigsys.
11134 (si_call_addr, si_syscall, si_arch): Define new marcro.
11135 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11136 _sigsys.
11137 (si_call_addr, si_syscall, si_arch): Define new macro.
11138 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11139 _sigsys.
11140 (si_call_addr, si_syscall, si_arch): Define new macro.
11141
89b4b02f
JM
111422012-07-25 Joseph Myers <joseph@codesourcery.com>
11143
11144 [BZ #13717]
11145 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11146 Change to 2.4.21 where previously 2.4.1.
11147 * sysdeps/unix/sysv/linux/configure: Regenerated.
11148 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11149 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11150 Linux kernel version.
11151 (__ASSUME_STD_AUXV): Remove.
11152 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11153 kernel version.
11154 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11155 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11156 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11157 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11158 (__ASSUME_NETLINK_SUPPORT): Likewise.
11159 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11160 (__no_netlink_support): Remove conditional definition.
11161 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11162 Remove.
11163 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11164 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11165 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11166 (if_nameindex_ioctl): Remove.
11167 (if_nameindex_netlink): Do not handle __no_netlink_support.
11168 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11169 code.
11170 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11171 Remove conditional code.
11172 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11173 code.
11174 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11175 unconditional.
11176 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11177 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11178 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11179 Remove.
11180 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11181 [!__ASSUME_STD_AUXV]: Remove conditional code.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11183 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11184 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11186 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11187 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11188 code.
11189 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11191 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11192 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11193 conditional code.
11194 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11196 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11197 code.
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11199 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11200 conditional code.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11202 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11203 code unconditional.
11204 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11205 conditional code.
11206 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11207 unconditional.
11208 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11209 conditional code.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11211 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11212 unconditional.
11213 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11214 conditional code.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11216 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11217 code unconditional.
11218 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11219 conditional code.
11220 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11221 unconditional.
11222 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11223 conditional code.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11225 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11226 code unconditional.
11227 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11228 conditional code.
11229 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11230 unconditional.
11231 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11232 conditional code.
11233
842a39cd
AS
112342012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11235
11236 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11237 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11238 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11239 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11240 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11241 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11242 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11243 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11244 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11245 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11246 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11247 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11248 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11249 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11250 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11251 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11252 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11253 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11254 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11256 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11257 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11258 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11259
84b3fd84
FW
112602012-07-25 Florian Weimer <fweimer@redhat.com>
11261
11262 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11263 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11264 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11265 Introduce __libc_secure_getenv.
0c7936d5
FW
11266 * stdlib/Versions (2.17): Add secure_getenv
11267 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11268 * stdlib/secure-getenv.c: Rename __secure_getenv to
11269 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11270 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11271 * stdlib/tst-secure-getenv.c: New.
11272 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11273 * manual/startup.texi (Environment Access): Document
11274 secure_getenv.
84b3fd84
FW
11275 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11276 __libc_secure_getenv.
11277 * inet/ruserpass.c (ruserpass): Likewise.
11278 * malloc/mtrace.c (mtrace): Likewise.
11279 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11280 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11281 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11282 * sysdeps/posix/tempname.c: Likewise. Evaluate
11283 HAVE_SECURE_GETENV.
11284 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11285 __secure_getenv to __libc_secure_getenv.
84b3fd84 11286 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11288 Likewise.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11290 Likewise.
11291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11298
56e49b71
JM
112992012-07-25 Joseph Myers <joseph@codesourcery.com>
11300
11301 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11302 (struct La_i86_retval): Likewise.
11303 (struct La_x86_64_regs): Likewise.
11304 (struct La_x86_64_retval): Likewise.
11305 (struct La_x32_regs): Likewise.
11306 (struct La_x32_retval): Likewise.
11307 (struct La_ppc32_regs): Likewise.
11308 (struct La_ppc32_retval): Likewise.
11309 (struct La_ppc64_regs): Likewise.
11310 (struct La_ppc64_retval): Likewise.
11311 (struct La_sh_regs): Likewise.
11312 (struct La_sh_retval): Likewise.
11313 (struct La_s390_32_regs): Likewise.
11314 (struct La_s390_32_retval): Likewise.
11315 (struct La_s390_64_regs): Likewise.
11316 (struct La_s390_64_retval): Likewise.
11317 (struct La_sparc32_regs): Likewise.
11318 (struct La_sparc32_retval): Likewise.
11319 (struct La_sparc64_regs): Likewise.
11320 (struct La_sparc64_retval): Likewise.
11321 (struct audit_ifaces): Remove architecture-specific pltenter and
11322 pltexit members.
11323 * sysdeps/i386/ldsodefs.h: New file.
11324 * sysdeps/powerpc/ldsodefs.h: Likewise.
11325 * sysdeps/s390/ldsodefs.h: Likewise.
11326 * sysdeps/sh/ldsodefs.h: Likewise.
11327 * sysdeps/sparc/ldsodefs.h: Likewise.
11328 * sysdeps/x86_64/ldsodefs.h: Likewise.
11329
354691b7
MP
113302012-07-25 Marek Polacek <polacek@redhat.com>
11331
11332 [BZ #6808]
11333 * math/libm-test.inc (yn_test): Add another test.
11334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11335 to ERANGE when the result is +-Inf.
11336 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11337 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11338 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11339 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11340
bf9e2071
JM
113412012-07-24 Joseph Myers <joseph@codesourcery.com>
11342
11343 * conform/data/time.h-data (NULL): Use macro-constant. Require
11344 equal to 0.
11345 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11346 clock_t.
11347 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11348
57633811
TS
113492012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11350
11351 * configure.in <sysdeps resolving>: Correct printing
11352 Implies_before.
11353 * configure: Regenerate.
11354
c23c33b0
TS
113552012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11356
11357 * math/w_ilogb.c: Include <limits.h>.
11358 * math/w_ilogbl.c: Likewise.
11359
b5982523
JM
113602012-07-20 Joseph Myers <joseph@codesourcery.com>
11361
11362 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11363 va_copy. Document allowing for unavailable va_copy only as
11364 pre-C99 compatibility.
11365 * manual/string.texi (Copying and Concatenation): Use va_copy
11366 instead of __va_copy in concat example.
11367
ac4ea442
PT
113682012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11369
11370 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11371 (__sendto): Use create_address_port. Initialize APORT and deallocate
11372 it if not null.
11373
f98eafbd
PT
11374 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11375 with O_NOLINK passed to __file_name_lookup.
11376
898c7aab
PT
11377 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11378 with O_NOLINK passed to __file_name_lookup.
11379
0ced335a
PT
11380 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11381 negative N or less than NGIDS.
11382
b3404dbd
PT
11383 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11384 type to string_t. Set ERANGE as errno and return it if NAME is not big
11385 enough. Use memcpy instead of strncpy.
11386
0f48659e
JM
113872012-07-20 Joseph Myers <joseph@codesourcery.com>
11388
11389 * elf/Makefile (check-data): Remove.
11390 (localplt.data): New vpath directive.
11391 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11392 instead of $(check-data).
11393 * scripts/data/localplt-generic.data: Move to ...
11394 * sysdeps/generic/localplt.data: ... here.
11395 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11396 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11397 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11399 ... here.
11400 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11402 ... here.
11403 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11405 ... here.
11406 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11408 ... here.
11409 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11411 ... here.
11412 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11414 ... here.
11415
d37cbdaa
AZ
114162012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11417
11418 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11419 PPC32 and PPC64 files.
11420 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11421 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11422
46f85fc2
AK
114232012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11424
11425 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11426 __makecontext_ret to ...
11427 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11428 ... here and call exit if uc_link is NULL. New file.
11429 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11430 __makecontext_ret.S.
11431 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11432 __makecontext_ret to ...
11433 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11434 ... here and call exit if uc_link is NULL. New file.
11435 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11436 __makecontext_ret.S.
11437
08f43f9b
AK
114382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11439
11440 * elf/elf.h (R_390_IRELATIVE): New definition.
11441 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11442 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11443 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11444 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11445 (elf_machine_lazy_rel): Likewise.
11446 * sysdeps/s390/dl-irel.h: New file.
11447 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11448 * sysdeps/s390/s390-64/memset.S: New asm code.
11449 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11450 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11451 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11452 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11453 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11454 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11455 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11456 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11457 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11458 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11459 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11460 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11461 * sysdeps/s390/s390-32/memset.S: New asm code.
11462 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11463
3b05db33
MP
114642012-07-17 Marek Polacek <polacek@redhat.com>
11465
11466 [BZ #14349]
11467 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11468 * sysdeps/s390/s390-64/configure.in: Likewise.
11469 * sysdeps/sparc/configure.in: Likewise.
11470 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11471 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11472 * sysdeps/i386/configure.in: Likewise.
11473 * sysdeps/x86_64/configure.in: Likewise.
11474 * sysdeps/sh/configure.in: Likewise.
11475 * sysdeps/s390/s390-32/configure: Regenerated.
11476 * sysdeps/s390/s390-64/configure: Likewise.
11477 * sysdeps/x86_64/configure: Likewise.
11478 * sysdeps/sh/configure: Likewise.
11479 * sysdeps/powerpc/powerpc64/configure: Likewise.
11480 * sysdeps/powerpc/powerpc32/configure: Likewise.
11481 * sysdeps/sparc/configure: Likwise.
11482 * sysdeps/i386/configure: Likewise.
11483
a66877c6
MP
11484 * elf/dl-open.c: Comment fixes.
11485
cfc82fd8
JM
114862012-07-17 Joseph Myers <joseph@codesourcery.com>
11487
bd29910a
JM
11488 * Makefile [CXX] (check-data): Remove.
11489 [CXX] (c++-types.data): New vpath directive.
11490 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11491 vpath. Do not allow for C++ type data being missing.
11492 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11493 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11494 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11495 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11496 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11497 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11498 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11500 ... here.
11501 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11503 ... here.
11504 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11506 ... here.
11507 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11509 ... here.
11510 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11512 ... here.
11513 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11515 ... here.
11516 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11518 ... here.
11519 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11521
cfc82fd8
JM
11522 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11523 definitions to architecture-specific files.
11524 (TLS_IE): Likewise.
11525 (TLS_LD): Likewise.
11526 (TLS_GD): Likewise.
11527 * sysdeps/i386/tls-macros.h: New file.
11528 * sysdeps/powerpc/tls-macros.h: Likewise.
11529 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11530 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11531 * sysdeps/sh/tls-macros.h: Likewise.
11532 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11533 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11534 * sysdeps/x86_64/tls-macros.h: Likewise.
11535
f7db3170
TS
115362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11537
07cbfc23
TS
11538 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11539 zero value for regular exit case.
11540
f7db3170
TS
11541 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11542 (__start_context): Preserve zero value for regular exit case.
11543
dc97c227
TS
115442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11545 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11546
11547 * manual/setjmp.texi (setcontext): Clarify normal process
11548 termination when uc_link is the null pointer.
11549 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11550 exit call.
11551
d0cd7d02
AS
115522012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11553
11554 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11555 preprocessor. Test for each exception mask separately.
11556
dd318934
AJ
115572012-07-16 Andreas Jaeger <aj@suse.de>
11558
11559 * po/ru.po: Update from translation team.
11560
8048311a
JM
115612012-07-15 Joseph Myers <joseph@codesourcery.com>
11562
11563 * conform/data/string.h-data (NULL): Use macro-constant. Require
11564 equal to 0.
11565 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11566 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11567 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11568 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11569 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11570
b637d46e
AJ
115712012-07-13 Andreas Jaeger <aj@suse.de>
11572
11573 * po/fr.po: Update from translation team.
11574
541428fe
MP
115752012-07-12 Marek Polacek <polacek@redhat.com>
11576
11577 [BZ #14173]
11578 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11579 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11580 loop condition.
11581
ec332e94
JM
115822012-07-12 Joseph Myers <joseph@codesourcery.com>
11583
11584 [BZ #13717]
11585 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11586 Change to 2.4.1 where previously 2.4.0.
11587 * sysdeps/unix/sysv/linux/configure: Regenerated.
11588 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11589 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11590 version.
11591 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11592 (__ASSUME_AT_CLKTCK): Remove.
11593 (__ASSUME_AT_PAGESIZE): Likewise.
11594 (__ASSUME_AT_XID): Likewise.
11595 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11596 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11597 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11598 unconditionally.
11599 (HAVE_AUX_PAGESIZE): Likewise.
11600 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11601 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11602 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11603
7b6e99be
JB
116042012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11605
11606 [BZ #14307]
11607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11608 the temporary buffer used to invoke __gethostbyname2_r,
11609 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11610 host_data / struct gaih_addrtuple.
11611 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11612 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11613 header file nss/nsswitch.h.
11614 * nss/nsswitch.h (global scope): Add definition of implementation
11615 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11616 resolv/nss_dns/dns-host.c).
11617
608404eb
AJ
116182012-07-11 Andreas Jaeger <aj@suse.de>
11619
11620 * po/fr.po: Update from translation team.
11621
71220aca
AJ
11622 * po/sv.po: Update from translation team
11623 * po/fr.po: Another update from translation team.
11624
28cfe843
AZ
116252012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11626
11627 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11628 for subnormals or multiply small sinh result by itself.
11629 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11631
6b90f981
DM
116322012-07-11 David S. Miller <davem@davemloft.net>
11633
11634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11635
c6825772
AS
116362012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11637
11638 [BZ #14347]
11639 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11640 (INTERNAL_MARK): Shift it here.
11641
7b8e0d49
MP
116422012-07-10 Marek Polacek <polacek@redhat.com>
11643
11644 [BZ #14151]
11645 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11646 libc_cv_asm_global_directive with .globl.
11647 * configure: Regenerated.
11648 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11649 with .globl.
11650 * sysdeps/i386/configure: Regenerated.
11651 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11652 with .globl.
11653 * sysdeps/x86_64/configure: Regenerated.
11654 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11655 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11656 * elf/tst-unique2mod2.c: Likewise.
11657 * elf/tst-unique2mod1.c: Likewise.
11658 * elf/tst-unique1mod2.c: Likewise.
11659 * elf/tst-unique1mod1.c: Likewise.
11660 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11661 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11662 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11663 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11664 * sysdeps/mach/sysdep.h: Likewise.
11665 * sysdeps/i386/sysdep.h: Likewise.
11666 * sysdeps/i386/i386-mcount.S: Likewise.
11667 * sysdeps/x86_64/_mcount.S: Likewise.
11668 * sysdeps/x86_64/sysdep.h: Likewise.
11669 * sysdeps/sh/_mcount.S: Likewise.
11670 * sysdeps/sh/sysdep.h: Likewise.
11671 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11672 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11673 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11674 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11675 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11676 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11677 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11678 * locale/localeinfo.h: Likewise.
11679 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11680 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11681
6c55cda3
RM
116822012-07-09 Roland McGrath <roland@hack.frob.com>
11683
11684 [BZ #14336]
11685 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11686 system".
11687 * manual/message.texi (The Uniforum approach): Likewise.
11688 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11689 (glibc iconv Implementation): Likewise.
11690
638a572e
JM
116912012-07-09 Joseph Myers <joseph@codesourcery.com>
11692
11693 [BZ #14337]
11694 * math/s_clog.c (__clog): Avoid scaling a value down where that
11695 could result in underflow.
11696 * math/s_clog10.c (__clog10): Likewise.
11697 * math/s_clog10f.c (__clog10f): Likewise.
11698 * math/s_clog10l.c (__clog10l): Likewise.
11699 * math/s_clogf.c (__clogf): Likewise.
11700 * math/s_clogl.c (__clogl): Likewise.
11701 * math/libm-test.inc (clog_test): Add more tests.
11702 (clog10_test): Likewise.
11703 * sysdeps/i386/fpu/libm-test-ulps: Update.
11704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11705
261f4859
AS
117062012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11707
0abaf3e4
AS
11708 [BZ #14283]
11709 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11710 by 7 not 8 to examine high bit of fractional part.
11711
261f4859
AS
11712 [BZ #14042]
11713 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11714 for call to __mcount_internal.
11715 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11716 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11717 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11718
f17ac40d
JM
117192012-07-06 Joseph Myers <joseph@codesourcery.com>
11720
9ad63c23
JM
11721 [BZ #14154]
11722 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11723 approximation for values within 0x1p-13f of an odd multiple of
11724 pi/4.
11725 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11726 exception. Add more tests.
11727 * sysdeps/i386/fpu/libm-test-ulps: Update.
11728
f17ac40d
JM
11729 [BZ #6778]
11730 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11731 inputs and return -1 for them. Do not check for +Inf in case not
11732 reachable for +Inf.
11733 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11734 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11735 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11736 and return -1 for them. Do not check for +Inf in case not
11737 reachable for +Inf.
11738 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11739 define.
11740 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11741 and return -1 for them. Do not check for +Inf in case not
11742 reachable for +Inf.
11743 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11744 spurious underflow.
11745 * sysdeps/i386/fpu/libm-test-ulps: Update.
11746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11747
fb21f89b
MF
117482012-07-06 Mike Frysinger <vapier@gentoo.org>
11749
11750 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11751
cdfe2c5e
JM
117522012-07-05 Joseph Myers <joseph@codesourcery.com>
11753
11754 [BZ #14157]
11755 [BZ #14331]
11756 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11757 could result in spurious underflow. Scale down values above
11758 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11759 * math/s_csqrtf.c (__csqrtf): Likewise.
11760 * math/s_csqrtl.c (__csqrtl): Likewise.
11761 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11762 spurious underflow.
11763 * sysdeps/i386/fpu/libm-test-ulps: Update.
11764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11765
70d35b67
AS
117662012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11767
704bc459
AS
11768 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11769 xopen-msg.sed.
11770 * catgets/xopen-msg.awk: New file.
11771 * catgets/xopen-msg.sed: Removed.
11772
70d35b67
AS
11773 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11774 po2text.sed.
11775 * intl/po2test.awk: New file.
11776 * intl/po2test.sed: Removed.
11777
ca61cf32
JM
117782012-07-04 Joseph Myers <joseph@codesourcery.com>
11779
11780 [BZ #14328]
11781 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11782 or multiply small sinh result by itself.
11783 * math/s_ctanf.c (__ctanf): Likewise.
11784 * math/s_ctanh.c (__ctanh): Likewise.
11785 * math/s_ctanhf.c (__ctanhf): Likewise.
11786 * math/s_ctanhl.c (__ctanhl): Likewise.
11787 * math/s_ctanl.c (__ctanl): Likewise.
11788 * math/libm-test.inc (ctan_test_tonearest): New function.
11789 (ctan_test_towardzero): Likewise.
11790 (ctan_test_downward): Likewise.
11791 (ctan_test_upward): Likewise.
11792 (ctanh_test_tonearest): Likewise.
11793 (ctanh_test_towardzero): Likewise.
11794 (ctanh_test_downward): Likewise.
11795 (ctanh_test_upward): Likewise.
11796 (main): Call these new functions.
11797 * sysdeps/i386/fpu/libm-test-ulps: Update.
11798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11799
ca48a46a
MF
118002012-07-03 Mike Frysinger <vapier@gentoo.org>
11801
11802 * .gitignore: Delete /ports entry.
11803
9d63d37d
AJ
118042012-07-03 Andreas Jaeger <aj@suse.de>
11805
11806 * po/bg.po: Update from translation team.
11807 * po/cs.po: Likewise.
11808 * po/de.po: Likewise.
11809 * po/hr.po: Likewise.
11810 * po/nl.pl: Likewise.
11811 * po/pl.po: Likewise.
11812 * po/vi.po: Likewise.
11813
370ca3d2
JM
118142012-07-03 Joseph Myers <joseph@codesourcery.com>
11815
95f5a9a8
JM
11816 * Makeconfig [!+link] (+link-before-libc): New variable.
11817 [!+link] (+link-after-libc): Likewise.
11818 [!+link] (+link-tests): Likewise.
11819 [!+link] (+link): Define in terms of $(+link-before-libc) and
11820 $(+link-after-libc).
11821 [!+link-static] (+link-static-before-libc): New variable.
11822 [!+link-static] (+link-static-after-libc): Likewise.
11823 [!+link-static] (+link-static-tests): Likewise.
11824 [!+link-static] (+link-static): Define in terms of
11825 $(+link-static-before-libc) and $(+link-static-after-libc).
11826 [build-shared] (link-libc-before-gnulib): New variable.
11827 [build-shared] (link-libc-tests): Likewise.
11828 [build-shared] (link-libc): Define in terms of
11829 $(link-libc-before-gnulib).
11830 [!build-shared] (link-libc-tests): New variable.
11831 (link-libc-static-tests): New variable.
11832 [!gnulib] (gnulib-arch): New variable.
11833 [!gnulib] (gnulib-tests): Likewise.
11834 [!gnulib] (static-gnulib-arch): Likewise.
11835 [!gnulib] (static-gnulib-tests): Likewise.
11836 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11837 Define with "=" instead of ":=".
11838 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11839 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11840 * Rules (binaries-all-notests): New variable.
11841 (binaries-all-tests): Likewise.
11842 (binaries-static-notests): Likewise.
11843 (binaries-static-tests): Likewise.
11844 (binaries-all): Define using $(binaries-all-notests) and
11845 $(binaries-all-tests).
11846 (binaries-static): Define using $(binaries-static-notests) and
11847 $(binaries-static-tests).
11848 (binaries-shared-tests): New variable.
11849 (binaries-shared-notests): Likewise.
11850 (binaries-shared): Remove variable.
11851 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11852 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11853 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11854 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11855 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11856 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11857 * elf/Makefile (sln-modules): New variable.
11858 (extra-objs): Add $(sln-modules:=.o).
11859 (ldconfig-modules): Add static-stubs.
11860 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11861 * elf/static-stubs.c: New file.
11862
7a845b2c
JM
11863 [BZ #14283]
11864 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11865 by 7 not 8 to examine high bit of fractional part. Use volatile
11866 variables when splitting into final array of floats if
11867 __FLT_EVAL_METHOD__ != 0.
11868 * math/libm-test.inc (cos_test): Add another test.
11869 (sin_test): Likewise.
11870 * sysdeps/i386/fpu/libm-test-ulps: Update.
11871
e2283f38
JM
11872 [BZ #14273]
11873 * math/libm-test.inc (cosh_test): Add more tests.
11874
370ca3d2
JM
11875 * version.h (RELEASE): Set to "development".
11876 (VERSION): Set to "2.16.90".
11877
ee9247c3
CD
118782012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11879
11880 * NEWS: Update copyright. Remove last-updated date.
11881 Mention math library bug fixes and timezone data changes.
11882 * README: Mention GNU/Hurd, x32, and HPPA support status.
11883
4648c381
TS
118842012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11885
11886 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11887
aac78a43
AJ
118882012-06-27 Andreas Jaeger <aj@suse.de>
11889
11890 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11891
ed3dbfad
AJ
118922012-06-25 Andreas Jaeger <aj@suse.de>
11893
11894 * sysdeps/s390/fpu/libm-test-ulps: Update.
11895
4d0ee855
AS
118962012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11897 Thomas Schwinge <thomas@codesourcery.com>
11898
11899 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11900 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11902 fanotify_mark.
11903
af1bce34
TS
119042012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11905
a9fa33ba
TS
11906 * sysdeps/mach/start.c: Remove file.
11907 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11908 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11909 * sysdeps/sh/init-first.c: Likewise.
11910
58f902b8
TS
11911 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11912 registers for frame unwinding purposes, add CFI directives.
11913 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11914 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11915 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11916 Likewise.
11917
1518f58b
TS
11918 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11919 __fortify_fail returning.
11920 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11921
db9b5059
TS
11922 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11923 sysdeps/sh/____longjmp_chk.S.
11924 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11925 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11926 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11927 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11928
967705fe
TS
11929 * sysdeps/sh/abort-instr.h: New file.
11930 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11931 process in case exit returns.
11932
a9def8c4
TS
11933 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11934 initialize the GOT register before use.
11935
2a649725
TS
11936 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11937 calculation of ARGC > 4.
11938
af1bce34
TS
11939 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11940 meaningful names to some local labels.
11941
d230f50a
KK
119422012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11943 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11944
11945 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11946 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11947 (__arch_compare_and_exchange_val_16_acq): Likewise.
11948 (__arch_compare_and_exchange_val_32_acq): Likewise.
11949 (atomic_exchange_and_add): Fix gUSA sequence.
11950 (atomic_add): Likewise.
11951 (atomic_add_negative): Likewise.
11952 (atomic_add_zero): Likewise.
11953 (atomic_bit_test_set): Likewise.
11954
0479b305
AS
119552012-06-22 Andreas Schwab <schwab@redhat.com>
11956
11957 [BZ #13579]
11958 * include/link.h (struct link_map): Add l_free_initfini.
11959 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11960 l_initfini.
11961 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11962 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11963 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11964 set.
11965
0e3933b9
CD
119662012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11967
11968 * configure.in: Use AC_LANG_SOURCE.
11969 * configure: Regenerate.
11970
4248b1b1
RM
119712012-06-22 Roland McGrath <roland@hack.frob.com>
11972
11973 * configure.in (libc_cv_localstatedir): New substituted variable.
11974 * configure: Regenerated.
11975 * config.make.in (localstatedir): New variable, substituted from
11976 libc_cv_localstatedir.
11977 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11978 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11979 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11980 * sysdeps/gnu/configure: Regenerated.
11981
006dd861
JL
119822012-06-21 Jeff Law <law@redhat.com>
11983
11984 [BZ #14277]
11985 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11986 free. Simplify list management for _LIBC case.
11987
79662d42
JM
119882012-06-21 Joseph Myers <joseph@codesourcery.com>
11989
b7abb4bf
JM
11990 [BZ #14273]
11991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11992 Clear sign bit of 64-bit integer value before comparing against
11993 overflow value.
11994
79662d42
JM
11995 * sysdeps/mach/configure: Regenerated.
11996
1f150908
L
119972012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 [BZ #14278]
12000 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12001
28363bbf
JL
120022012-06-21 Jeff Law <law@redhat.com>
12003
12004 [BZ #13882]
12005 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12006 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12007 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12008 * elf/dl-open.c (dl_open_worker): Likewise.
12009
09615db4
CD
120102012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12011
12012 * scripts/list-sources.sh: Scan PORTS for translations.
12013 * po/libc.pot: Regenerated.
12014
2174c6dd
AJ
120152012-06-21 Andreas Jaeger <aj@suse.de>
12016
12017 [BZ #12194]
12018 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12019 warning.
12020 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12021 * bits/byteswap-16.h (__bswap_16): Likewise.
12022 * bits/byteswap.h (__bswap_constant_16): Likewise.
12023
3ee947b1
L
120242012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12025
12026 [BZ #14117]
a2f34833
L
12027 * sysdeps/i386/fpu_control.h: Removed.
12028 * sysdeps/x86_64/fpu_control.h: Moved to ...
12029 * sysdeps/x86/fpu_control.h: Here.
12030
3ee947b1
L
12031 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12032 (_FPU_SETCW): Likewise.
12033
ed1825f8
L
120342012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12035
25f1282a
L
12036 [BZ #14117]
12037 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12038 * sysdeps/x86/fpu/bits/mathinline.h: This.
12039 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12040
ed1825f8
L
12041 [BZ #14050]
12042 [BZ #14117]
12043 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12044 functions if __x86_64__ is defined.
12045
36d54b74
CLT
120462012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12047
12048 * string/endian.h: Add !__ASSEMBLER__ condition for including
12049 conversion interfaces.
12050
10285c21
JM
120512012-06-15 Joseph Myers <joseph@codesourcery.com>
12052
12053 [BZ #14241]
12054 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12055 of ABS(x) in calculating zero to negative powers other than odd
12056 integers.
12057 * math/libm-test.inc (pow_test): Add more tests.
12058
06c5abbd
AJ
120592012-06-15 Andreas Jaeger <aj@suse.de>
12060
12061 * manual/contrib.texi (Contributors): Update entry of Liubov
12062 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12063 Machado Filho.
12064
a3aeac40
CH
120652012-06-15 Cyril Hrubis <metan@ucw.cz>
12066
12067 * string/string.h: Add __wur to GNU version of strerror_r.
12068
49bdf4c1
L
120692012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12070
12071 [BZ #14229]
12072 * string/Makefile (tests): Add tst-strtok_r.
12073 * string/tst-strtok_r.c: New file.
12074 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12075 RAX_LP/RDX_LP on SAVE_PTR.
12076
834f9b8d
RM
120772012-06-14 Roland McGrath <roland@hack.frob.com>
12078
12079 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12080
75fa1921
JM
120812012-06-14 Joseph Myers <joseph@codesourcery.com>
12082
12083 * libm_test.inc (csqrt_test): Allow more spurious underflow
12084 exceptions.
12085 (j0_test): Likewise.
12086 (j1_test): Likewise.
12087 (y0_test): Likewise.
12088 (y1_test): Likewise.
12089
771766df
CD
120902012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12091
12092 * po/Makefile (libc.pot): Use UTF-8 charset.
12093
ceb9e56b
PP
120942012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12095
12096 [BZ #14210]
12097 Suppress sign-conversion warning from FD_SET.
12098 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12099 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12100 not unsigned long int.
12101 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12102
ddb28975
L
121032012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12104
12105 [BZ #14050]
12106 [BZ #14117]
12107 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12108 __extern_always_inline instead of __extern_inline.
12109 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12110 (__signbit): Likewise.
12111 (__signbitl): Support C++ namespace.
12112 (lrintf): New inline function.
12113 (lrint): Likewise.
12114 (llrintf): Likewise.
12115 (llrint): Likewise.
12116 (fmaxf): Likewise.
12117 (fmax): Likewise.
12118 (fminf): Likewise.
12119 (fmin): Likewise.
12120 (rint): Likewise.
12121 (rintf): Likewise.
12122 (ceil): Likewise.
12123 (ceilf): Likewise.
12124 (floor): Likewise.
12125 (floorf): Likewise.
12126 (nearbyint): Likewise.
12127 (nearbyintf): Likewise.
12128
d7b4fb26
TS
121292012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12130
12131 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12132 non-default versions.
12133
eb55f5c2
RM
121342012-06-11 Roland McGrath <roland@hack.frob.com>
12135
12136 [BZ #14218]
12137 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12138
366af02c
TS
121392012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12140
99ff6e5c
TS
12141 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12142 (FE_UPWARD, FE_DOWNWARD): Don't define.
12143 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12144 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12145
366af02c
TS
12146 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12147 reading it.
12148 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12149 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12150
793ea851
KK
121512012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12152
12153 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12155 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12156 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12157
a728a38f
L
121582012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12159
12160 [BZ #14117]
c08010c7
L
12161 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12162 * sysdeps/i386/fpu/Implies: New file.
12163 * sysdeps/x86_64/fpu/Implies: Likewise.
12164 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12165 * sysdeps/x86/fpu/bits/fenv.h: This.
12166
a728a38f
L
12167 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12168 __SSE_MATH__.
12169
6e230d11
SP
121702012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12171
12172 [BZ #14134]
12173 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12174 character 0xffff that matches the last element of the
12175 conversion table.
12176
1b671feb
AZ
121772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12178
12179 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12180 fmodl commit.
12181
6043738b
AZ
121822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12183
12184 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12185 values higher than 25.6283.
12186
34ae0b32
AZ
121872012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12188
12189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12190 subnormal exponent extraction and add some __builtin_expect.
12191 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12192 Fix for subnormal mantissa calculation.
12193
1214ec8f
MF
121942012-06-04 Mike Frysinger <vapier@gentoo.org>
12195
12196 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12197 cpu2 is -1 and errno is not ENOSYS.
12198
f3d1f93c
L
121992012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12200
12201 [BZ #14117]
0e4a3cd7
L
12202 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12203 * sysdeps/x86/bits/string.h: This.
12204 * sysdeps/x86_64/bits/string.h: Removed.
12205
6704c645
L
12206 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12207 if not compiling for x86-64, but compiling for >= i486.
12208
48495318
L
12209 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12210 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12211
14adcbfc
L
12212 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12213 New macro from Linux kernel 3.4.0.
12214 (FP_XSTATE_MAGIC2): Likewise.
12215 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12216 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12217 (struct _fpx_sw_bytes): New struct.
12218 (struct _xsave_hdr): Likewise.
12219 (struct _ymmh_state): Likewise.
12220 (struct _xstate): Likewise.
12221
68e408ab
L
12222 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12223 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12224 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12225 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12226 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12227 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12228
f3d1f93c
L
12229 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12230 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12231 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12232 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12233 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12234 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12235
d9dc34cd
TMQMF
122362012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12237
12238 [BZ #13743]
12239 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12240 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12241 (sysdep_headers): Include sys/platform/ppc.h.
12242 * sysdeps/powerpc/test-gettimebase.c: Test for
12243 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12244 * manual/Makefile (appendices): Include platform.texi.
12245 * manual/contrib.texi (Contributors): Update @node pointers.
12246 * manual/maint.texi (Maintenance): Likewise.
12247 (Platform): New node.
12248 * manual/platform.texi: New file. Document the new features.
12249
4af3879c
SP
122502012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12251 Jakub Jelinek <jakub@redhat.com>
12252
12253 [BZ #14188]
12254 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12255 where __builtin_expect is unavailable.
12256
2fd6ff13
DM
122572012-06-03 David S. Miller <davem@davemloft.net>
12258
12259 * stdlib/longlong.h: Updated from GCC.
12260
173f7220
AS
122612012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12262
12263 [BZ #14042]
12264 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12265 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12266 __mcount_internal.
12267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12268 (GLIBC_2.16): Likewise.
12269
f34a1c6f
L
122702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12271
12272 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12273
88a4576f
JM
122742012-06-01 Joseph Myers <joseph@codesourcery.com>
12275
ea32bcdd
JM
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12277 (default-abi): New variable.
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12279 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12280 variable.
12281 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12282 Likewise.
12283 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12284 Likewise.
12285 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12286 Likewise.
12287
88a4576f
JM
12288 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12289 definition. Document in comment.
12290
402fe938
DM
122912012-06-01 David S. Miller <davem@davemloft.net>
12292
12293 * stdlib/longlong.h: Updated from GCC.
12294
3553723f
L
122952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12296
12297 [BZ #14117]
3bd872c4
L
12298 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12299 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12300 sys/debugreg.h sys/io.h here.
12301 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12302 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12303 sys/io.h.
12304 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12305 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12306 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12307 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12308 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12309 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12310
3553723f
L
12311 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12312 Define only if __x86_64__ is defined.
12313
4842e4fe
JM
123142012-06-01 Joseph Myers <joseph@codesourcery.com>
12315
c5bfe3d5
JM
12316 [BZ #14048]
12317 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12318 Use int64_t for variable i.
12319 * math/libm-test.inc (fmod_test): Add more tests.
12320
4842e4fe
JM
12321 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12322 z computation is not scheduled after fetestexcept.
12323 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12324 Use math_force_eval instead of asm to ensure calculation scheduled
12325 before exception test.
12326 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12327 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12328
efb73488
AJ
123292012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12330
12331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12332 computation is not scheduled after fetestexcept.
12333
29bcce7c
L
123342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12335
12336 [BZ #14117]
12337 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12338 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12339
73a68f94
AZ
123402012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12341
12342 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12343 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12344
67b6df78
L
123452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12346
edf2933a 12347 [BZ #14117]
ebc64a18
L
12348 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12349 <bits/wordsize.h>.
12350 (__WCHAR_MIN): Support __WORDSIZE == 64.
12351 (__WCHAR_MAX): Likewise.
12352
edf2933a
L
12353 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12354 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12355
57c6cf40
L
12356 [BZ #14183]
12357 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12358 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12359
67b6df78 12360 [BZ #14117]
8eb6281e
L
12361 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12362 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12363
aac639f4
L
12364 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12365 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12366
67b6df78
L
12367 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12368 Defined to 1 if __x86_64__ isn't defined.
12369 (_STAT_VER_LINUX_OLD): New.
12370 (st_atime): Remove duplicate.
12371 (st_mtime): Likewise.
12372 (st_ctime): Likewise.
12373
1c2cfe81
DM
123742012-05-31 David S. Miller <davem@davemloft.net>
12375
12376 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12377 entries.
12378
5be8418c
AS
123792012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12380
e7725326
AS
12381 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12382 gen-libm-test.pl.
12383
5be8418c
AS
12384 [BZ #14132]
12385 * elf/dl-reloc.c: Include <_itoa.h>.
12386 (_dl_reloc_bad_type): Remove use of INTUSE.
12387 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12388 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12389 * stdio-common/psiginfo.c (psiginfo): Likewise.
12390 * stdio-common/psignal.c (psignal): Likewise.
12391 * string/strsignal.c (strsignal): Likewise.
12392 * include/signal.h (_sys_siglist): Declare hidden proto.
12393 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12394 INTVARDEF with libc_hidden_data_def.
12395 * stdio-common/itoa-udigits.c: Likewise.
12396 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12397 (_itoa_lower_digits_internal): Remove declaration.
12398 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12399 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12400 (_sys_sigabbrev_internal): Remove aliases.
12401 (_sys_siglist): Define hidden alias.
12402
507352f1
MT
124032012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12404
12405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12406 bits/sysctl.h.
12407
42bbb1c3
L
124082012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12409
12410 [BZ #14117]
6bd784b6
L
12411 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12412 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12413
8bca20f0
L
12414 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12415 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12416 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12417 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12418 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12419 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12420
f9e890a9
L
12421 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12422 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12423 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12424
471101a1
L
12425 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12426 with __addr.
12427 (insw): Likewise.
12428 (insl): Likewise.
12429 (outsb): Likewise.
12430 (outsw): Likewise.
12431 (outsl): Likewise.
12432
6451c862
L
12433 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12434 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12435 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12436
a254b8c9
L
12437 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12438 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12439 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12440 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12441 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12442 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12443
b8dfdd92
L
12444 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12445 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12446
578cd270
L
12447 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12448 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12449
de662f5f
L
12450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12451 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12452 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12453
25653439
L
12454 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12455 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12456 to ...
12457 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12458
6bad24a0
L
12459 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12460 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12461 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12462
42bbb1c3
L
12463 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12464 for x86-64.
12465 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12466
2d10d547
JM
124672012-05-31 Joseph Myers <joseph@codesourcery.com>
12468
12469 * math/math.h (M_El): Use two more decimal places.
12470 (M_LOG2El): Likewise.
12471 (M_LOG10El): Likewise.
12472 (M_LN2l): Likewise.
12473 (M_LN10l): Likewise.
12474 (M_PIl): Likewise.
12475 (M_PI_2l): Likewise.
12476 (M_PI_4l): Likewise.
12477 (M_1_PIl): Likewise.
12478 (M_2_PIl): Likewise.
12479 (M_2_SQRTPIl): Likewise.
12480 (M_SQRT2l): Likewise.
12481 (M_SQRT1_2l): Likewise.
12482
f230c29b
DM
124832012-05-31 David S. Miller <davem@davemloft.net>
12484
12485 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12486 values between float registers.
12487 * sysdeps/sparc/sparc64/memset.S: Likewise.
12488 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12489
fed806c3
MF
124902012-05-31 Mike Frysinger <vapier@gentoo.org>
12491
12492 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12493 -D_FORTIFY_SOURCE=1.
12494 (CPPFLAGS-tst-longjmp_chk.c): Define.
12495 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12496 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12497 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12498 CFLAGS-tst-wchar-h.c.
12499
30917259
MP
125002012-05-31 Marek Polacek <polacek@redhat.com>
12501
12502 [BZ #14132]
12503 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12504 __endmntent_internal): Remove declaration.
12505 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12506 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12507 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12508
1c58d5dc
DM
125092012-05-30 David S. Miller <davem@davemloft.net>
12510
12511 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12512 (___Q_simulate_exceptions): Use real FP ops rather than writing
12513 into the %fsr.
12514 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12515 Likewise.
12516
7dc00e0d
L
125172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12518
12519 [BZ #14117]
0bd53985
L
12520 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12521 * sysdeps/x86/bits/xtitypes.h: This.
12522
3a257e66
L
12523 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12524 * sysdeps/x86/bits/wordsize.h: This.
12525
62f62904
L
12526 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12527 * sysdeps/x86/bits/huge_vall.h: This.
12528
404fe9d9
L
12529 * sysdeps/i386/bits/select.h: Removed.
12530 * sysdeps/x86_64/bits/select.h: Renamed to ...
12531 * sysdeps/x86/bits/select.h: This.
12532
d48d0446
L
12533 * sysdeps/i386/bits/setjmp.h: Removed.
12534 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12535 * sysdeps/x86/bits/setjmp.h: This.
12536
7dc00e0d
L
12537 * sysdeps/i386/bits/mathdef.h: Removed.
12538 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12539 * sysdeps/x86/bits/mathdef.h: This.
12540
03277f8f
AS
125412012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12542
12543 [BZ #14132]
12544 * include/sys/socket.h (__connect_internal)
12545 (__libc_sa_len_internal): Remove declaration.
12546 (__connect, __libc_sa_len): Declare hidden_proto.
12547 (SA_LEN): Remove use of INTUSE.
12548 * socket/connect.c: Add libc_hidden_def.
12549 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12550 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12551 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12552 alias.
12553 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12554 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12555 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12556 of adding _internal alias.
12557
13764867
L
125582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12559
12560 [BZ #14117]
6bd97696
L
12561 * sysdeps/i386/bits/link.h: Removed.
12562 * sysdeps/i386/bits/linkmap.h: Likewise.
12563 * sysdeps/x86_64/bits/link.h: Renamed to ...
12564 * sysdeps/x86/bits/link.h: This.
12565 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12566 * sysdeps/x86/bits/linkmap.h: This.
12567
f726f0bb
L
12568 * sysdeps/i386/bits/endian.h: Removed.
12569 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12570 * sysdeps/x86/bits/endian.h: This.
12571
13764867
L
12572 * sysdeps/i386/bits/byteswap.h: Removed.
12573 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12574 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12575 * sysdeps/x86/bits/byteswap.h: This.
12576 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12577 * sysdeps/x86/bits/byteswap-16.h: This.
12578 * sysdeps/i386/Implies: Add x86.
12579 * sysdeps/x86_64/Implies: Likewise.
12580
ae251b0b
DM
125812012-05-30 David S. Miller <davem@davemloft.net>
12582
12583 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12584 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12585 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12586 (FP_TRAPPING_EXCEPTIONS): Define.
12587 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12588 (FP_TRAPPING_EXCEPTIONS): Define.
12589 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12590 subnormals only when inexact has been signalled or underflow
12591 exceptions are enabled.
12592 (_FP_PACK_CANONICAL): Likewise.
12593
d5c90867
L
125942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12595
12596 [BZ #14183]
12597 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12598 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12599
63f1549e
RH
126002012-05-30 Richard Henderson <rth@twiddle.net>
12601
8d8f2279
RH
12602 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12603 with #ifndef NOT_IN_libc.
12604
63f1549e
RH
12605 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12606 marked to avoid plt entry.
12607
0ab0291b
L
126082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12609
12610 [BZ #14112]
12611 * Makeconfig (default-abi): New macro.
12612 (abi-includes): Likewise.
12613 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12614 $(abi-$(default-abi)-lib-soname) for soname if defined.
12615 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12616 abi-variants.
12617 * Makefile (installed-stubs): Likewise.
12618 * include/stubs-biarch.h: Removed.
12619 * scripts/lib-names.awk: Only handle one library at a time.
12620 * scripts/soversions.awk: Remove WORDSIZE support.
12621 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12622 entries.
12623 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12624 Removed.
12625 (syscall-list-default-condition): Likewise.
12626 (syscall-list-default-condition): Likewise.
12627 (syscall-list-includes): Likewise.
12628 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12629 syscall-list-* with abi-*. Handle undefined abi-variants.
12630 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12631 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12632 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12633 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12634 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12635 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12636 Removed.
12637 (syscall-list-32-options): Likewise.
12638 (syscall-list-32-condition): Likewise.
12639 (syscall-list-64-options): Likewise.
12640 (syscall-list-64-condition): Likewise.
12641 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12642 macro.
12643 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12644 Renamed to ...
12645 (abi-*): This.
12646 (abi-64-ld-soname): New macro.
12647 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12648 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12649 Renamed to ...
12650 (abi-*): This.
12651 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12652 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12653
4da0431d
JM
126542012-05-30 Joseph Myers <joseph@codesourcery.com>
12655
3a85279c
JM
12656 * sysdeps/unix/sysv/linux/kernel-features.h
12657 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12658 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12659 include <kernel-features.h>.
12660 [!__NR_ftruncate64]: Remove conditional code.
12661 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12662 [__NR_ftruncate64]: Make code unconditional.
12663 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12664 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12665 include <kernel-features.h>.
12666 [!__NR_ftruncate64]: Remove conditional code.
12667 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12668 [__NR_ftruncate64]: Make code unconditional.
12669 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12671 include <kernel-features.h>.
12672 [!__NR_ftruncate64]: Remove conditional code.
12673 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12674 [__NR_ftruncate64]: Make code unconditional.
12675 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12677 include <kernel-features.h>.
12678 [!__NR_ftruncate64]: Remove conditional code.
12679 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12680 [__NR_ftruncate64]: Make code unconditional.
12681 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12682
4da0431d
JM
12683 * configure.in (libc_cv_fpie): Weaken to a compile test using
12684 LIBC_TRY_CC_OPTION.
12685 * configure: Regenerated.
12686
11ef492c
AK
126872012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12688
12689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12693 Refreshed.
12694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12700 Refreshed.
12701
d66ef399
DM
127022012-05-27 David S. Miller <davem@davemloft.net>
12703
12704 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12705 (___Q_zero): New.
12706 (__Q_simulate_exceptions): Return void. Change to simulate
12707 exceptions by writing into the %fsr.
12708 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12709 (__Qp_handle_exceptions): Likewise.
12710 (numbers): Delete.
12711 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12712 __Qp_handle_exceptions.
12713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12714 __Qp_handle_exceptions.
12715 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12716 as unused and give dummy FP_RND_NEAREST initializer.
12717 (FP_INHIBIT_RESULTS): Define.
12718 (___Q_simulate_exceptions): Update declaration.
12719 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12720 formatting.
12721 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12722 as unused and give dummy FP_RND_NEAREST initializer.
12723 (__Qp_handle_exceptions): Update declaration.
12724 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12725 formatting.
12726
04fb54b5
TS
127272012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12728
12729 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12730 the temporary FPU control word.
12731 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12732 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12733 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12734 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12735 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12736 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12737 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12738 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12739 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12740 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12741 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12742
3f99608f
KK
127432012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12744
12745 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12746 fields.
12747
65a4de4e
CLT
127482012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12749
12750 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12751 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12752 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12753 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12754 Likewise.
12755 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12756 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12757 Likewise.
12758
15749d40
UD
127592012-05-27 Ulrich Drepper <drepper@gmail.com>
12760
12761 * po/h.po: Update from translation team.
12762
25dbcb27
AS
127632012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12764
3d3f8e55
AS
12765 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12766
25dbcb27
AS
12767 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12768 handling of denormals.
12769 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12770 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12771 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12772 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12773 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12775 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12776 Likewise.
12777
7ad47a80 127782012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12779
12780 [BZ #14152]
12781 * math/libm-test.inc (fma_test): Don't always expect underflow
12782 exception.
12783
9c6ea9fa
SP
127842012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12785
12786 [BZ #12416]
12787 * elf/tst-execstack.c: Include stackinfo.h.
12788 (do_test): Adjust test case to ensure that pthread_getattr_np
12789 behaviour remains the same after marking stack executable.
12790
a8239222
JM
127912012-05-25 Joseph Myers <joseph@codesourcery.com>
12792
12793 * sysdeps/unix/sysv/linux/kernel-features.h
12794 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12795 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12796 kernel-features.h.
12797 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12798 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12799 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12800 kernel-features.h.
12801 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12802 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12803
918b5606
L
128042012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12805
12806 * configure.in: Define the default includes to being none.
12807 * configure: Regenerated.
12808
3a097cc7
RM
128092012-05-25 Roland McGrath <roland@hack.frob.com>
12810
8422c9a5
RM
12811 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12812 * sysdeps/x86_64/setjmp.S: Likewise.
12813 * sysdeps/i386/bsd-setjmp.S: Likewise.
12814 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12815 * sysdeps/i386/setjmp.S: Likewise.
12816 * sysdeps/i386/__longjmp.S: Likewise.
12817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12818 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12819
3a097cc7
RM
12820 * include/stap-probe.h: New file.
12821 * configure.in: Handle --enable-systemtap.
12822 * configure: Regenerated.
12823 * config.h.in (USE_STAP_PROBE): New #undef.
12824 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12825 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12826 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12827
21708942
JM
128282012-05-25 Joseph Myers <joseph@codesourcery.com>
12829
12830 [BZ #13717]
12831 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12832 to 2.4.0 where earlier.
12833 * sysdeps/unix/sysv/linux/configure: Regenerated.
12834 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12835 <kernel-features.h>.
12836 [__ASSUME_32BITUIDS]: Make code unconditional.
12837 [!__ASSUME_32BITUIDS]: Remove conditional code.
12838 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12839 <kernel-features.h>.
12840 [__ASSUME_32BITUIDS]: Make code unconditional.
12841 [!__ASSUME_32BITUIDS]: Remove conditional code.
12842 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12843 [__ASSUME_32BITUIDS]: Make code unconditional.
12844 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12845 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12846 <kernel-features.h>.
12847 [__ASSUME_32BITUIDS]: Make code unconditional.
12848 [!__ASSUME_32BITUIDS]: Remove conditional code.
12849 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12850 <kernel-features.h>.
12851 [__ASSUME_32BITUIDS]: Make code unconditional.
12852 [!__ASSUME_32BITUIDS]: Remove conditional code.
12853 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12854 <kernel-features.h>.
12855 [__ASSUME_32BITUIDS]: Make code unconditional.
12856 [!__ASSUME_32BITUIDS]: Remove conditional code.
12857 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12858 <kernel-features.h>.
12859 [__ASSUME_32BITUIDS]: Make code unconditional.
12860 [!__ASSUME_32BITUIDS]: Remove conditional code.
12861 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12862 <kernel-features.h>.
12863 [__ASSUME_32BITUIDS]: Make code unconditional.
12864 [!__ASSUME_32BITUIDS]: Remove conditional code.
12865 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12866 <kernel-features.h>.
12867 [__ASSUME_32BITUIDS]: Make code unconditional.
12868 [!__ASSUME_32BITUIDS]: Remove conditional code.
12869 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12870 <kernel-features.h>.
12871 [__ASSUME_32BITUIDS]: Make code unconditional.
12872 [!__ASSUME_32BITUIDS]: Remove conditional code.
12873 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12874 <kernel-features.h>.
12875 [__ASSUME_32BITUIDS]: Make code unconditional.
12876 [!__ASSUME_32BITUIDS]: Remove conditional code.
12877 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12878 <kernel-features.h>.
12879 [__ASSUME_32BITUIDS]: Make code unconditional.
12880 [!__ASSUME_32BITUIDS]: Remove conditional code.
12881 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12882 <kernel-features.h>.
12883 [__ASSUME_32BITUIDS]: Make code unconditional.
12884 [!__ASSUME_32BITUIDS]: Remove conditional code.
12885 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12886 <kernel-features.h>.
12887 [__NR_setresgid] (__setresgid): Do not declare.
12888 [__ASSUME_32BITUIDS]: Make code unconditional.
12889 [!__ASSUME_32BITUIDS]: Remove conditional code.
12890 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12891 <kernel-features.h>.
12892 [__NR_setresuid] (__setresuid): Do not declare.
12893 [__ASSUME_32BITUIDS]: Make code unconditional.
12894 [!__ASSUME_32BITUIDS]: Remove conditional code.
12895 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
12908 <kernel-features.h>.
12909 [__ASSUME_32BITUIDS]: Make code unconditional.
12910 [!__ASSUME_32BITUIDS]: Remove conditional code.
12911 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12912 <kernel-features.h>.
12913 [__ASSUME_32BITUIDS]: Make code unconditional.
12914 [!__ASSUME_32BITUIDS]: Remove conditional code.
12915 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12916 <kernel-features.h>.
12917 [__ASSUME_32BITUIDS]: Make code unconditional.
12918 [!__ASSUME_32BITUIDS]: Remove conditional code.
12919 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12920 <kernel-features.h>.
12921 [__ASSUME_32BITUIDS]: Make code unconditional.
12922 [!__ASSUME_32BITUIDS]: Remove conditional code.
12923 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12924 <kernel-features.h>.
12925 [__ASSUME_32BITUIDS]: Make code unconditional.
12926 [!__ASSUME_32BITUIDS]: Remove conditional code.
12927 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12928 <kernel-features.h>.
12929 [__ASSUME_32BITUIDS]: Make code unconditional.
12930 [!__ASSUME_32BITUIDS]: Remove conditional code.
12931 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12932 <kernel-features.h>.
12933 [__ASSUME_32BITUIDS]: Make code unconditional.
12934 [!__ASSUME_32BITUIDS]: Remove conditional code.
12935 * sysdeps/unix/sysv/linux/kernel-features.h
12936 (__ASSUME_SETRESUID_SYSCALL): Remove.
12937 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12938 (__ASSUME_32BITUIDS): Likewise.
12939 (__ASSUME_LDT_WORKS): Likewise.
12940 (__ASSUME_O_DIRECTORY): Likewise.
12941 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12942 architecture but not kernel version.
12943 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12944 (__ASSUME_MMAP2_SYSCALL): Likewise.
12945 (__ASSUME_STAT64_SYSCALL): Likewise.
12946 (__ASSUME_IPC64): Likewise.
12947 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12948 <kernel-features.h>.
12949 [__ASSUME_32BITUIDS]: Make code unconditional.
12950 [!__ASSUME_32BITUIDS]: Remove conditional code.
12951 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12952 <kernel-features.h>.
12953 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12954 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12955 132096]: Remove conditional code.
12956 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12957 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12958 <kernel-features.h>.
12959 [__ASSUME_32BITUIDS]: Make code unconditional.
12960 [!__ASSUME_32BITUIDS]: Remove conditional code.
12961 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12962 <kernel-features.h>.
12963 [__ASSUME_32BITUIDS]: Make code unconditional.
12964 [!__ASSUME_32BITUIDS]: Remove conditional code.
12965 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12966 <kernel-features.h>.
12967 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12968 unconditional.
12969 (__setresgid): Do not declare.
12970 [__ASSUME_32BITUIDS]: Make code unconditional.
12971 [!__ASSUME_32BITUIDS]: Remove conditional code.
12972 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12973 <kernel-features.h>.
12974 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12975 unconditional.
12976 (__setresuid): Do not declare.
12977 [__ASSUME_32BITUIDS]: Make code unconditional.
12978 [!__ASSUME_32BITUIDS]: Remove conditional code.
12979 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/semctl.c: Do not include
12984 <kernel-features.h>.
12985 [__ASSUME_32BITUIDS]: Make code unconditional.
12986 [!__ASSUME_32BITUIDS]: Remove conditional code.
12987
a386f1cc
RH
129882012-05-25 Richard Henderson <rth@twiddle.net>
12989
12990 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12991 dl_hwcap to ifunc resolver.
12992 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12993 elf_ifunc_invoke.
12994 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12995 dl_hwcap to ifunc resolver.
12996 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12997
b6550497
JM
129982012-05-24 Joseph Myers <joseph@codesourcery.com>
12999
13000 [BZ #14153]
13001 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13002 for |x| <= 2**-26, not 2**-57.
13003 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13004 exception.
13005
b0bc23a1
JL
130062012-05-24 Jeff Law <law@redhat.com>
13007
13008 * stdio-common/Makefile (tests): Add bug25.
13009 * stdio-common/bug25.c: New test.
13010
347c92e9
L
130112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13012
13013 [BZ #13576]
13014 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13015 multiple of MALLOC_ALIGNMENT in size.
13016 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13017
6bcc8b3f
JM
130182012-05-24 Joseph Myers <joseph@codesourcery.com>
13019
13020 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13021 Require >= 256.
13022 (FILENAME_MAX): Use macro-int-constant.
13023 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13024 (_IOFBF): Use macro-int-constant.
13025 (_IOLBF): Likewise.
13026 (_IONBF): Likewise.
13027 (SEEK_CUR): Likewise.
13028 (SEEK_END): Likewise.
13029 (SEEK_SET): Likewise.
13030 (TMP_MAX): Likewise.
13031 (EOF): Use macro-int-constant. Require < 0.
13032 (NULL): Use macro-constant. Require == 0.
13033 (stdin): Require type to be FILE *.
13034 (stdout): Likewise.
13035 (stderr): Likewise.
13036 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13037 macro-int-constant.
13038 (EXIT_SUCCESS): Likewise.
13039 (NULL): Use macro-constant. Require == 0.
13040 (RAND_MAX): Use macro-int-constant.
13041 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13042 [C99-based standards] (strtof): Require function.
13043 [C99-based standards] (strtold): Likewise.
13044 [C99-based standards] (strtoll): Likewise.
13045 [C99-based standards] (strtoull): Likewise.
13046 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13047 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13048 [ISO || ISO99 || ISO11] (math.h): Likewise.
13049 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13050 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13051 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13052
d18ea0c5
AS
130532012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13054
13055 [BZ #14132]
56d25bb8
AS
13056 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13057 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13058 * intl/dgettext.c (DCGETTEXT): Likewise.
13059 * intl/gettext.c (DCGETTEXT): Likewise.
13060 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13061 * posix/regex_internal.h (gettext): Likewise.
13062 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13063 Remove declaration.
13064 * include/argz.h (__argz_count_internal)
13065 (__argz_stringify_internal): Remove declaration.
13066 (__argz_count, __argz_stringify): Declare hidden proto.
13067 * intl/dcgettext.c: Remove use of INTDEF.
13068 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13069 * string/argz-stringify.c: Likewise.
13070 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13071 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13072 Declare hidden proto.
d18ea0c5
AS
13073 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13074 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13075 Declare hidden proto.
13076 * include/stdio.h (__asprintf_internal): Don't declare.
13077 (__asprintf): Don't define as macro. Declare hidden proto.
13078 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13079 (__fsetlocking): Declare hidden proto.
13080 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13081 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13082 hidden proto.
13083 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13084 (_IO_setlinebuf): Remove use of INTUSE.
13085 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13086 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13087 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13088 Remove declaration.
13089 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13090 (_IO_do_flush): Remove use of INTUSE.
13091 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13092 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13093 (_IO_adjust_column, _IO_least_wmarker)
13094 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13095 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13096 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13097 (_IO_default_doallocate, _IO_wdefault_doallocate)
13098 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13099 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13100 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13101 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13102 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13103 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13104 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13105 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13106 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13107 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13108 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13109 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13110 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13111 proto.
13112 (_IO_flush_all_internal, _IO_adjust_column_internal)
13113 (_IO_default_uflow_internal, _IO_default_finish_internal)
13114 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13115 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13116 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13117 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13118 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13119 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13120 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13121 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13122 (_IO_file_close_internal, _IO_file_close_it_internal)
13123 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13124 (_IO_file_init_internal, _IO_file_attach_internal)
13125 (_IO_file_fopen_internal, _IO_file_read_internal)
13126 (_IO_file_sync_internal, _IO_file_seek_internal)
13127 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13128 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13129 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13130 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13131 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13132 (_IO_list_all_internal, _IO_link_in_internal)
13133 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13134 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13135 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13136 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13137 (_IO_do_write_internal, _IO_padn_internal)
13138 (_IO_getline_info_internal, _IO_getline_internal)
13139 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13140 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13141 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13142 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13143 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13144 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13145 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13146 with libc_hidden_ver, remove use of INTUSE.
13147 * libio/genops.c: Likewise.
13148 * libio/freopen.c: Likewise.
13149 * libio/freopen64.c: Likewise.
13150 * libio/iofclose.c: Likewise.
13151 * libio/iofdopen.c: Likewise.
13152 * libio/iofflush.c: Likewise.
13153 * libio/iofflush_u.c: Likewise.
13154 * libio/iofgets.c: Likewise.
13155 * libio/iofgets_u.c: Likewise.
13156 * libio/iofopen.c: Likewise.
13157 * libio/iofopncook.c: Likewise.
13158 * libio/iofread.c: Likewise.
13159 * libio/iofread_u.c: Likewise.
13160 * libio/ioftell.c: Likewise.
13161 * libio/iofwrite.c: Likewise.
13162 * libio/iogetline.c: Likewise.
13163 * libio/iogets.c: Likewise.
13164 * libio/iogetwline.c: Likewise.
13165 * libio/iopadn.c: Likewise.
13166 * libio/iopopen.c: Likewise.
13167 * libio/ioseekoff.c: Likewise.
13168 * libio/ioseekpos.c: Likewise.
13169 * libio/iosetbuffer.c: Likewise.
13170 * libio/iosetvbuf.c: Likewise.
13171 * libio/ioungetc.c: Likewise.
13172 * libio/ioungetwc.c: Likewise.
13173 * libio/iovdprintf.c: Likewise.
13174 * libio/iovsprintf.c: Likewise.
13175 * libio/iovsscanf.c: Likewise.
13176 * libio/memstream.c: Likewise.
13177 * libio/obprintf.c: Likewise.
13178 * libio/oldfileops.c: Likewise.
13179 * libio/oldiofclose.c: Likewise.
13180 * libio/oldiofdopen.c: Likewise.
13181 * libio/oldiofopen.c: Likewise.
13182 * libio/oldiopopen.c: Likewise.
13183 * libio/oldstdfiles.c: Likewise.
13184 * libio/putc.c: Likewise.
13185 * libio/setbuf.c: Likewise.
13186 * libio/setlinebuf.c: Likewise.
13187 * libio/stdfiles.c: Likewise.
13188 * libio/strops.c: Likewise.
13189 * libio/vasprintf.c: Likewise.
13190 * libio/vscanf.c: Likewise.
13191 * libio/vsnprintf.c: Likewise.
13192 * libio/vswprintf.c: Likewise.
13193 * libio/wfiledoalloc.c: Likewise.
13194 * libio/wfileops.c: Likewise.
13195 * libio/wgenops.c: Likewise.
13196 * libio/wmemstream.c: Likewise.
13197 * libio/wstrops.c: Likewise.
13198 * libio/__fpurge.c: Likewise.
13199 * libio/__fsetlocking.c: Likewise.
13200 * assert/assert.c: Likewise.
13201 * debug/fgets_chk.c: Likewise.
13202 * debug/fgets_u_chk.c: Likewise.
13203 * debug/fread_chk.c: Likewise.
13204 * debug/fread_u_chk.c: Likewise.
13205 * debug/gets_chk.c: Likewise.
13206 * debug/obprintf_chk.c: Likewise.
13207 * debug/vasprintf_chk.c: Likewise.
13208 * debug/vdprintf_chk.c: Likewise.
13209 * debug/vsnprintf_chk.c: Likewise.
13210 * debug/vsprintf_chk.c: Likewise.
13211 * malloc/mtrace.c: Likewise.
13212 * misc/error.c: Likewise.
13213 * misc/syslog.c: Likewise.
13214 * stdio-common/asprintf.c: Likewise.
13215 * stdio-common/fxprintf.c: Likewise.
13216 * stdio-common/getw.c: Likewise.
13217 * stdio-common/isoc99_fscanf.c: Likewise.
13218 * stdio-common/isoc99_scanf.c: Likewise.
13219 * stdio-common/isoc99_vfscanf.c: Likewise.
13220 * stdio-common/isoc99_vscanf.c: Likewise.
13221 * stdio-common/isoc99_vsscanf.c: Likewise.
13222 * stdio-common/printf-prs.c: Likewise.
13223 * stdio-common/printf_fp.c: Likewise.
13224 * stdio-common/printf_fphex.c: Likewise.
13225 * stdio-common/printf_size.c: Likewise.
13226 * stdio-common/putw.c: Likewise.
13227 * stdio-common/scanf.c: Likewise.
13228 * stdio-common/sprintf.c: Likewise.
13229 * stdio-common/tmpfile.c: Likewise.
13230 * stdio-common/vfprintf.c: Likewise.
13231 * stdio-common/vfscanf.c: Likewise.
13232 * stdlib/strfmon_l.c: Likewise.
13233 * sunrpc/openchild.c: Likewise.
13234 * sunrpc/xdr_stdio.c: Likewise.
13235 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13236 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13237
d6c33fda
RM
132382012-05-24 Roland McGrath <roland@hack.frob.com>
13239
c1487492
RM
13240 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13241
13242 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13243 in the third column, to generate for the shared library an IFUNC
13244 that uses _dl_vdso_vsym.
13245 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13246 * Makeconfig (object-suffixes-noshared): New variable.
13247
13248 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13249 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13250 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13251 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13252
d6c33fda
RM
13253 [BZ #14132]
13254 * include/sys/time.h (__gettimeofday): Remove macro.
13255 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13256 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13257 Remove INTDEF.
13258 (__gettimeofday): Add libc_hidden_def.
13259 (gettimeofday): Add libc_hidden_weak.
13260 * sysdeps/mach/gettimeofday.c: Likewise.
13261 * sysdeps/posix/gettimeofday.c: Likewise.
13262 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13263 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13264 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13265 (__gettimeofday_internal): Remove strong_alias.
13266 (__gettimeofday): Add libc_hidden_def.
13267 (gettimeofday): Add libc_hidden_weak.
13268 * sysdeps/unix/syscalls.list (gettimeofday):
13269 Remove __gettimeofday_internal alias.
13270
b5a2bbe6
L
132712012-05-24 Daniel Jacobowitz <drow@false.org>
13272 H.J. Lu <hongjiu.lu@intel.com>
13273
13274 [BZ #12495]
13275 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13276 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13277 (largebin_index_32_big): New.
13278 (largebin_index): Use it for 16-byte alignment.
13279 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13280 correction with front_misalign.
13281
cfba4fda
L
132822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13283
7f907421
L
13284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13286 Likewise.
13287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13288 Likewise.
13289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13290 Likewise.
13291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13292 Likewise.
13293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13294 Likewise.
13295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13296 Likewise.
13297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13298 Likewise.
13299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13300 Likewise.
13301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13302 Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13304 Likewise.
13305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13306 Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13308 Likewise.
13309
cfba4fda
L
13310 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13311 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13312
80bad0cc
JM
133132012-05-24 Joseph Myers <joseph@codesourcery.com>
13314
7a25eb06
JM
13315 [BZ #10846]
13316 [BZ #14036]
13317 * math/libm-test.inc (exp_test): Add test from bug 14036.
13318 (pow_test): Add test from bug 10846.
13319
795405f9
JM
13320 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13321 and other flags.
13322 (special_function): Do not include flags in test name.
13323 (parse_args): Likewise.
13324 * sysdeps/i386/fpu/libm-test-ulps: Update.
13325 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13326 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13327 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13329
80bad0cc
JM
13330 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13331 exceptions.
13332 * math/libm-test.inc ("Philosophy"): Update comment about
13333 exception testing.
13334 (UNDERFLOW_EXCEPTION): New macro.
13335 (UNDERFLOW_EXCEPTION_OK): Likewise.
13336 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13337 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13338 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13339 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13340 (INVALID_EXCEPTION_OK): Update value.
13341 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13342 (OVERFLOW_EXCEPTION_OK): Likewise.
13343 (IGNORE_ZERO_INF_SIGN): Likewise.
13344 (test_exceptions): Handle underflow exceptions.
13345 (acos_test): Update for underflow exception expectations.
13346 (cexp_test): Likewise.
13347 (clog_test): Likewise.
13348 (clog10_test): Likewise.
13349 (csqrt_test): Likewise.
13350 (ctan_test): Likewise.
13351 (ctanh_test): Likewise.
13352 (exp_test): Likewise.
13353 (exp10_test): Likewise.
13354 (exp2_test): Likewise.
13355 (expm1_test): Likewise.
13356 (fma_test): Likewise.
13357 (j0_test): Likewise.
13358 (jn_test): Likewise.
13359 (nexttoward_test): Likewise.
13360 (pow_test): Likewise.
13361 (scalbn_test): Likewise.
13362 (scalbln_test): Likewise.
13363 (tan_test): Likewise.
13364 (y1_test): Likewise.
13365 * sysdeps/i386/fpu/libm-test-ulps: Update.
13366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13367
9e0e3d0b
DM
133682012-05-23 David S. Miller <davem@davemloft.net>
13369
13370 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13371 (__libc_sigaction): Remove unused local variables.
13372
ccd0a08f
L
133732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13374
13375 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13376
62bdf9a6
PE
133772012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13378
f8591f80
PE
13379 mktime: avoid signed integer overflow
13380 * time/mktime.c (__mktime_internal): Do not mishandle the case
13381 where diff == INT_MIN.
13382
94c7d826
PE
13383 mktime: simplify computation of average
13384 * time/mktime.c (ranged_convert): Use new time_t_avg function
13385 instead of rolling our own (probably-slower) code.
13386
ce73d683
PE
13387 mktime: do not assume signed right shift propagates sign bit
13388 * time/mktime.c (isdst_differ): New static function.
13389 (__mktime_internal): No need to normalize tm_isdst now.
13390 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13391 tm_isdst values.
13392
72a22e59
PE
13393 mktime: merge another wrapv change from gnulib
13394 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13395 from some compilers.
13396
68605433
PE
13397 mktime: remove incorrect attempt at unusual arithmetics
13398 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13399 The code didn't really work on such machines anyway.
13400 (TYPE_MINIMUM): Assume two's complement.
13401 (twos_complement_arithmetic): Verify that long_int and time_t
13402 are two's complement (or unsigned, in the latter case).
13403
03cf7fe3
PE
13404 mktime: check signed shifts on long_int and time_t, too
13405 * time/mktime.c (SHR): Check that shifts work as desired
13406 on the types long_int and time_t too, as SHR is used on
13407 such types.
13408
f04dfbc2
PE
13409 mktime: do not assume 'long' is wide enough
13410 * time/mktime.c (verify): Move decl up.
13411 (long_int): New type.
13412 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13413 to remove assumption in the code that 'long' is wide enough to
13414 store year values. This assumption is not true on x32 and on
13415 some non-glibc platforms.
13416
62bdf9a6
PE
13417 mktime: merge wrapv change from gnulib
13418 * time/mktime.c (WRAPV): New macro.
13419 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13420 (guess_time_tm, __mktime_internal): Do not assume that signed
13421 integer overflow wraps around; modern compilers generate code
13422 where this assumption is no longer valid.
13423
5e292e4f
L
134242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13425
13426 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13427 Replace "jmp L(pseudo_end)" with "ret".
13428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13429 Likewise.
13430
8caf8c87
AJ
134312012-05-23 Andreas Jaeger <aj@suse.de>
13432
13433 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13434 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13435
1a09dc56
AJ
134362012-05-23 Andreas Jaeger <aj@suse.de>
13437 Maximilian Attems <max@stro.at>
13438
13439 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13440 New macros.
13441
1c87aba0
L
134422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13443
13444 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13445 code so that pseudo_end is just ret and the stack pointer is
13446 correct also for static library in error case.
13447
40e45bd5
JM
134482012-05-23 Joseph Myers <joseph@codesourcery.com>
13449
c2670533
JM
13450 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13451 move to syscalls.list.
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13456
40e45bd5
JM
13457 * manual/install.texi (Running make install): Do not mention Linux
13458 kernel version for which pt_chown is not needed.
13459 (Linux): Do not mention problems with nscd with 2.0 kernels.
13460 * INSTALL: Regenerated.
13461
be08eda5
AJ
134622012-05-23 Andreas Jaeger <aj@suse.de>
13463
13464 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13465 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13466 macro.
13467 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13468 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13469 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13470 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13471 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13472 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13473 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13474 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13475 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13476 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13477 * sysdeps/unix/sysv/linux/bits/in.h
13478 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13479
a6a056bb
RM
134802012-05-22 Roland McGrath <roland@hack.frob.com>
13481
13482 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13483 (PREPARE_VERSION): Just use assert instead, it will be elided
13484 under [NDEBUG] anyway.
13485
c9009328
L
134862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13487
13488 * sysdeps/unix/sysv/linux/Makefile: Include
13489 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13490 (sysdep_routines): Remove sysctl.
c9009328
L
13491 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13492 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13493 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13494 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13495 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13496
73338355
AJ
134972012-05-22 Andreas Jaeger <aj@suse.de>
13498
13499 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13500 that pseudo_end is just ret and the stack pointer is correct also
13501 for static library in error case.
13502
d44638b0
PP
135032012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13504
13505 [BZ #14122]
13506 * nss/nsswitch.c (defconfig_entries): New variable.
13507 (__nss_database_lookup): Don't leak defconfig entries.
13508 (nss_parse_service_list): Don't leak on error paths.
13509 (free_database_entries): New function.
13510 (free_defconfig): New function.
13511 (free_mem): Move common code to free_database_entries.
13512
31a39bd8
L
135132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13514
da0331a8
L
13515 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13516 Add arch_prctl.
13517 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13518
31a39bd8
L
13519 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13520 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13522 New macro.
13523 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13524 (INTERNAL_SYSCALL_TYPES): Likewise.
13525 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13526 (LOAD_REGS_TYPES_[1-6]): Likewise.
13527 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13528 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13529
45470df3
AZ
135302012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13531
13532 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13533 copysignl for GLIBC_2_0.
13534 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13535 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13537 logbl for GLIBC_2_0.
13538 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13539 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13540
98a61bcb
L
135412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13542
a4f6e481
L
13543 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13544 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13545
f63d5db6
L
13546 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13547 Use "neg %eax".
13548
98a61bcb
L
13549 * time/mktime.c: Update copyright years.
13550
95770f14
PE
135512012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13552
6226efbd
PE
13553 mktime: merge comment-quoting-style change from gnulib
13554 * time/mktime.c: Quote 'like this' in comments.
13555 The GNU coding standards suggest that we no longer quote `like this',
13556 as "`" and "'" are typically rendered asymmetrically nowadays.
13557 The typical gnulib style is to quote 'like this' when quoting
13558 code, and "like this" when quoting English.
13559
b99e4f78
PE
13560 * time/mktime.c (compile-command): Add "-I.".
13561
643e01e6
PE
13562 mktime: merge mktime-internal.h change from gnulib
13563 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13564
2554247d
PE
13565 mktime: merge time_r change from gnulib
13566 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13567
826dd0ab
PE
13568 mktime: merge DEBUG change from gnulib
13569 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13570 case system <time.h> has a #define.
13571
bd83aabe
PE
13572 mktime: merge <sys/types.h> change from gnulib
13573 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13574 since <time.t> is now guaranteed to define time_t.
13575
95770f14
PE
13576 mktime: merge HAVE_CONFIG_H change from gnulib
13577 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13578
5e1a27a9
L
135792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13580
0e44a77e
L
13581 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13582 Use "neg %eax".
13583
5e1a27a9
L
13584 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13585 __rlim_t cast.
13586 (struct rusage): Use anonymous union to pad each field to
13587 __syscall_slong_t.
13588
46259bec
DM
135892012-05-21 David S. Miller <davem@davemloft.net>
13590
13591 * Makefules (o-iterator): Remove .s cases.
13592 (compile-command.s): Delete.
13593 (COMPILE.s): Delete.
13594 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13595
59f0c22e
JM
135962012-05-21 Joseph Myers <joseph@codesourcery.com>
13597
13598 * configure.in (libc_cv_predef_stack_protector): Only consider
13599 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13600 * configure: Regenerated.
13601
20c07380
L
136022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13603
bbb3154b
L
13604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13605 New macro. Use R*LP on int and pointer.
13606 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13607 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13608 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13609 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13610
20c07380
L
13611 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13612 [__WORDSIZE_TIME64_COMPAT32] instead of
13613 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13614 (struct utmp): Likewise.
13615 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13616 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13617 Renamed to ...
13618 (__WORDSIZE_TIME64_COMPAT32): This.
13619 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13620 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13621 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13622 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13623 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13624 (__WORDSIZE_TIME64_COMPAT32): New macro.
13625
d8d1017e
AJ
136262012-05-21 Andreas Jaeger <aj@suse.de>
13627
13628 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13629 only if [SHARED]. Add prototype for __wcschr_ia32.
13630
6c7fb145
RM
136312012-05-21 Roland McGrath <roland@hack.frob.com>
13632
13633 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13634 of %rbp unmolested in the jmp_buf while mangling the low bits.
13635 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13636 unmolested high bits of %rbp while demangling the low bits.
13637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13638
66274218
AJ
136392012-05-21 Andreas Jaeger <aj@suse.de>
13640
07c58f8f
AJ
13641 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13642 * sunrpc/svc_simple.c: Use it for registerrpc.
13643 * sunrpc/xcrypt.c: Use it for passwd2des.
13644
66274218
AJ
13645 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13646
61f65140
L
136472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13648
13649 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13650 Don't define if [__SYSCALL_WORDSIZE != 32].
13651 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13652 New macro.
13653
5fefb436
AJ
136542012-05-21 Bruno Haible <bruno@clisp.org>
13655 Andreas Jaeger <aj@suse.de>
13656
13657 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13658 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13659 inptr and inend for must_buffer_ch.
13660 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13661 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13662 * stdio-common/Makefile (tests): Remove bug15.
13663 (bug15-ENV): Remove macro.
13664 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13665 anymore.
13666
d8e272ab
AJ
136672012-05-19 Andreas Jaeger <aj@suse.de>
13668 Roland McGrath <roland@hack.frob.com>
13669
13670 * manual/contrib.texi: Completely rewritten. It contains now an
13671 alphabetical list of contributors and their contributions.
13672
4a56a162
RH
136732012-05-21 Richard Henderson <rth@twiddle.net>
13674
13675 * misc/getauxval.c (__getauxval): Use unsigned long int.
13676 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13677 (getauxval): Use unsigned long int.
13678
d024d23c
L
136792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13680
13681 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13682
cbc00a03
RM
136832012-05-21 Roland McGrath <roland@hack.frob.com>
13684
13685 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13686 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13687 __alignof__ (long double).
13688
478143fa
AZ
136892012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13690
13691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13692
c7683a6d
RH
136932012-05-20 Richard Henderson <rth@twiddle.net>
13694
13695 * misc/getauxval.c: New file.
13696 * misc/sys/auxv.h: New file.
13697 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13698 (routines): Add getauxval.
13699 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13700 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13701 * elf/dl-sysdep.c (_dl_auxv): Remove.
13702 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13703 * elf/dl-support.c (_dl_auxv): New variable.
13704 (_dl_aux_init): Initialize it.
13705 * manual/startup.texi (Auxiliary Vector): New node.
13706 * sysdeps/generic/bits/hwcap.h: New file.
13707 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13708 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13709 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13710 * sysdeps/sparc/sysdep.h: ... here. Include it.
13711 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13712 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13714 Update.
c7683a6d
RH
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13718 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13723
a6f1845d
AZ
137242012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13725
13726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13727
cbcbe830
DM
137282012-05-19 David S. Miller <davem@davemloft.net>
13729
13730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13731
e0b16cc2
JM
137322012-05-19 Joseph Myers <joseph@codesourcery.com>
13733
13734 [BZ #14123]
13735 * math/s_ccosh.c: Include <float.h>
13736 (__ccosh): Avoid internal overflow calculating sinh and cosh
13737 values before multiplying by sin and cos values.
13738 * math/s_ccoshf.c: Likewise.
13739 * math/s_ccoshl.c: Likewise.
13740 * math/s_csin.c: Likewise.
13741 * math/s_csinf.c: Likewise.
13742 * math/s_csinl.c: Likewise.
13743 * math/s_csinh.c: Likewise.
13744 * math/s_csinhf.c: Likewise.
13745 * math/s_csinhl.c: Likewise.
13746 * math/libm-test.inc (ccos_test): Add more tests.
13747 (ccosh_test): Likewise.
13748 (csin_test): Likewise.
13749 (csinh_test): Likewise.
13750 * sysdeps/i386/fpu/libm-test-ulps: Update.
13751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13752
6ad13e08
L
137532012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13754
f66f0ce8
L
13755 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13756 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13757
6ad13e08
L
13758 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13759
b1d072a7
JM
137602012-05-19 Joseph Myers <joseph@codesourcery.com>
13761
13762 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13763 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13764 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13765 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13766 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13767 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13768 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13769 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13770 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13771 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13772 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13773 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13774 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13775 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13776 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13777 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13778 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13779 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13780 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13781 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13782 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13783 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13784 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13785 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13786 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13787 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13788 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13789 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13790 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13791 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13792 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13793
9eae47cb
AJ
137942012-05-18 Andreas Jaeger <aj@suse.de>
13795
13796 * csu/.gitignore: Delete.
13797
bb07f69f
L
137982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13799
13800 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13801 (timex): Use __syscall_slong_t.
13802
e6bdb741
AJ
138032012-05-18 Andreas Jaeger <aj@suse.de>
13804 Carlos O'Donell <carlos_odonell@mentor.com>
13805
13806 * manual/install.texi (Configuring and compiling): Update
13807 description about files modified in the source directory.
d6c33fda 13808 * INSTALL: Regenerated.
e6bdb741 13809
1b74487e
L
138102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13811
13812 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13813 value. Use "or" to set return value to -1.
13814 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13815 negate return value.
13816
a88b64b9
TMQMF
138172012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13818
13819 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13820 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13821 failure if the compiler has Graphite support disabled.
13822 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13823 Likewise.
13824 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13825 CFLAGS-memmove.c): Likewise.
13826 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13827 Likewise.
13828
3707636e
L
138292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13830
610b8622
L
13831 * sysdeps/x86_64/x32/_itoa.h: New file.
13832
7cd195df
L
13833 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13834 getdents system call only if kernel and user dirents have the
13835 same d_ino and d_off.
13836
94b07d20
L
13837 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13838 LLONG_MAX != LONG_MAX.
13839 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13840 (_fitoa_word): Likewise.
13841
18298070
L
13842 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13843 years.
13844 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13845 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13846 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13847
553c7ea4
L
13848 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13849 include <bits/wordsize.h>. Check __x86_64__ instead of
13850 __WORDSIZE.
13851 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13852 if __x86_64__ is defined. Use anonymous union on fpstate.
13853
3707636e
L
13854 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13855 anonymous union.
13856
b53ef01a
AS
138572012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13858
37fb1dc0
AS
13859 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13860 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13861 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13862 Refer to _rtld_local_ro instead of _rtld_global_ro.
13863 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13864 Likewise.
13865 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13866 Likewise.
13867 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13868 Likewise.
13869 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13870 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13871 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13872
b53ef01a
AS
13873 * sysdeps/powerpc/powerpc32/dl-machine.c
13874 (__elf_machine_runtime_setup) [PROF]: Don't reference
13875 _dl_prof_resolve.
13876
7a185db2
AJ
138772012-05-18 Andreas Jaeger <aj@suse.de>
13878
13879 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13880 function only available for GCCs before 3.4 since GCC 3.4
13881 introduced a builtin.
13882 (lrint): Likewise.
13883 (llrintf): Likewise.
13884 (llrint): Likewise.
13885 (fmaxf): Likewise.
13886 (fmax): Likewise.
13887 (fminf): Likewise.
13888 (fmin): Likewise.
13889 (rint): Likewise.
13890 (rintf): Likewise.
13891 (nearbyint): Likewise.
13892 (nearbyintf): Likewise.
13893 (ceil): Likewise.
13894 (ceilf): Likewise.
13895 (floor): Likewise.
13896 (floorf): Likewise.
13897
3e5aef87
L
138982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13899
428bd707
L
13900 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13901 on both fields and cast pointer to __syscall_ulong_t.
13902
3e5aef87
L
13903 * bits/types.h (__fsword_t): New type.
13904 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13905 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13906 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13907 (__FSWORD_T_TYPE): Likewise.
13908 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13909 (__FSWORD_T_TYPE): Likewise.
13910 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13911 (__FSWORD_T_TYPE): Likewise.
13912 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13913 (__FSWORD_T_TYPE): Likewise.
13914 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13915 __SWORD_TYPE with __fsword_t.
13916 (statfs64): Likewise.
13917
1ba7c3dc
DM
139182012-05-17 David S. Miller <davem@davemloft.net>
13919
13920 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13921
59910343
AJ
139222012-05-17 Andreas Jaeger <aj@suse.de>
13923
13924 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13925 warning.
13926
2e4c1e9e
L
139272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13928
13929 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13930
de7f5ce7
AJ
139312012-05-17 Andreas Jaeger <aj@suse.de>
13932
13933 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13934 when it is used.
13935
286abc3d
CM
139362012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13937
13938 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13939
477cc68e
L
139402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13941
13942 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13943 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13944
1a0994f5
CD
139452012-05-17 Andreas Jaeger <aj@suse.de>
13946 Carlos O'Donell <carlos_odonell@mentor.com>
13947
13948 [BZ #14059]
13949 * sysdeps/x86_64/multiarch/init-arch.h
13950 (bit_YMM_Usable): Rename to...
13951 (bit_AVX_Usable): ... this.
13952 (bit_FMA4_Usable): New macro.
13953 (bit_XMM_state): New macro.
13954 (bit_YMM_state): New macro.
13955 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13956 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13957 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13958 (CPUID_OSXSAVE): New macro.
13959 (CPUID_AVX): New macro.
13960 (CPUID_FMA4): New macro.
13961 (index_YMM_Usable): Rename to...
13962 (index_AVX_Usable): ... this.
13963 (HAS_AVX): Use HAS_ARCH_FEATURE.
13964 (HAS_FMA4): Likewise.
13965 (HAS_YMM_USABLE): Remove.
13966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13967 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13968 are present.
13969 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13970 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13971 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13972 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13973 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13974
0af797de
CM
139752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13976
13977 * math/libm-test.c: Support platforms without multiple rounding modes.
13978 * math/bug-nextafter.c: Support platforms without FP exceptions.
13979 * math/bug-nexttoward.c: Likewise.
13980 * math/test-fenv.c: Likewise.
13981 * math/test-misc.c: Likewise.
13982 * stdlib/bug-getcontext.c: Likewise.
13983
e39745ff
AJ
139842012-05-17 Andreas Jaeger <aj@suse.de>
13985
13986 * manual/examples/search.c (critter_cmp): Change signature to
13987 avoid warnings.
13988 * manual/string.texi (Collation Functions): Likewise.
13989
48970aba
L
139902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13991
13992 * bits/types.h: Fold copyright years.
13993 * bits/typesizes.h: Likewise.
13994 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13996 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13998 * time/time.h: Likewise.
13999
bedee953
PP
140002012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14001
14002 [BZ #208]
14003 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14004 in instead of returning them. Return void.
14005 (__libc_mallinfo): Accumulate over all arenas.
14006 (__malloc_stats): Adjust for change in int_mallinfo interface.
14007
61653dfb
RM
140082012-05-16 Roland McGrath <roland@hack.frob.com>
14009
30b99d79
RM
14010 [BZ #10375]
14011 * configure.in (NM): Add AC_CHECK_TOOL for it.
14012 (libc_extra_cflags): New substituted variable.
14013 Check for -fstack-protector being used implicitly.
14014 * configure: Regenerated.
14015 * config.make.in (config-extra-cflags): New variable,
14016 gets @libc_extra_cflags@.
14017 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14018
61653dfb
RM
14019 [BZ #10375]
14020 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14021 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14022 * configure: Regenerated.
14023 * config.make.in (CPPUNDEFS): New substituted variable.
14024 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14025 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14026 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14027
661768bb
L
140282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14029
14030 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14031 (mq_attr): Use __syscall_slong_t.
14032
d4261567
L
140332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14034
14035 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14036 Check __x86_64__ instead of __WORDSIZE.
14037 (_STAT_VER_LINUX): Likewise.
14038 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14039 __syscall_ulong_t and __syscall_slong_t.
14040 (stat64): Likewise.
14041
cf3ff365
L
140422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14043
14044 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14045
76cf3e4d
L
140462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14047
14048 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14049
a637753a
L
140502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14051
14052 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14053 __syscall_ulong_t.
14054
d5e05119
L
14055 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14056 include <bits/wordsize.h>. Check __x86_64__ instead of
14057 __WORDSIZE.
14058 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14059 defined.
14060 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14061
f62ee380
L
14062 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14063 include <bits/wordsize.h>. Check __x86_64__ instead of
14064 __WORDSIZE.
14065 (user_regs_struct): Use "__extension__ unsigned long long"
14066 instead of "unsigned long" if __x86_64__ is defined.
14067 (user): Likewise. Pad after pointer field if __ILP32__ is
14068 defined.
14069
4e124ced
JM
140702012-05-16 Joseph Myers <joseph@codesourcery.com>
14071
6a3951a0
JM
14072 * configure.in (makeinfo): Require version 4.5 or later. Allow
14073 versions 5 to 9.
14074 * configure: Regenerated.
14075 * manual/install.texi (texinfo): Increase version requirement to
14076 4.5 or later.
14077 * INSTALL: Regenerated.
14078
4e124ced
JM
14079 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14080
953ca31a
L
140812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14082
14083 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14084
617aca05
L
14085 * sysdeps/x86_64/x32/ffs.c: New file.
14086
5762f7ae
L
14087 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14088 __syscall_ulong_t.
14089 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14090 defined. Use __syscall_ulong_t.
14091 (shminfo): Use __syscall_ulong_t.
14092 (shm_info): Likewise.
14093
a26b6856
L
14094 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14095 __syscall_ulong_t.
14096
cb2b9ef7
L
14097 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14098 <bits/wordsize.h>.
14099 (msgqnum_t): Use __syscall_ulong_t.
14100 (msglen_t): Likewise.
14101 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14102 __syscall_ulong_t.
14103
34683bb0
L
14104 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14105 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14106
84a68786
L
14107 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14108
48baa5f1
L
14109 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14110 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14111
180be88b
L
14112 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14113 __syscall_slong_t.
14114
5e90c8ad
L
14115 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14116 include <bits/wordsize.h>. Check __x86_64__ instead of
14117 __WORDSIZE.
14118
23dfb58b
L
14119 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14120 "unsigned long long int" if __x86_64__ is defined.
14121 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14122
ce5d54b0
L
14123 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14124 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14125 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14126
13dc9eac
L
14127 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14128 <stdint.h>.
14129 (GET_PC): Cast to uintptr_t first.
14130 (GET_FRAME): Likewise.
14131 (GET_STACK): Likewise.
14132
a7895d15
L
14133 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14134 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14135 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14136 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14137 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14138 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14139 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14140 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14141 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14142 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14143 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14144 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14145 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14146 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14147 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14148 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14149 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14150 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14151 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14152 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14153 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14154 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14155 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14156 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14157 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14158 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14159 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14160 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14161 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14162
656416c9
AS
141632012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14164
5bd66283
AS
14165 * Makerules (+depfiles): Also collect depfiles from .oS in
14166 $(extra-objs).
14167 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14168 .oS, $(libnldbl-routines)).
14169
656416c9
AS
14170 * Makerules (native-compile-mkdep-flags): Define.
14171 * sunrpc/Makefile (extra-objs): Add $(addprefix
14172 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14173 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14174 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14175 calling $(make-target-directory).
14176
a46f2169
L
141772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14178
14179 * bits/types.h (__snseconds_t): Removed.
14180 * time/time.h (struct timespec): Replace __snseconds_t with
14181 __syscall_slong_t.
14182 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14183 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14184 Likewise.
14185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14186 (__SNSECONDS_T_TYPE): Likewise.
14187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14188 (__SNSECONDS_T_TYPE): Likewise.
14189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14190 (__SNSECONDS_T_TYPE): Likewise.
14191
6af6528b
L
141922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14193
14194 * sysdeps/mach/hurd/bits/typesizes.h
14195 (__SYSCALL_SLONG_TYPE): New macro.
14196 (__SYSCALL_ULONG_TYPE): Likewise.
14197
de986b56
L
141982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14199
14200 * bits/types.h (__syscall_slong_t): New type.
14201 (__syscall_ulong_t): Likewise.
14202
14203 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14204 (__SYSCALL_ULONG_TYPE): Likewise.
14205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14206 (__SYSCALL_SLONG_TYPE): Likewise.
14207 (__SYSCALL_ULONG_TYPE): Likewise.
14208 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14209 (__SYSCALL_SLONG_TYPE): Likewise.
14210 (__SYSCALL_ULONG_TYPE): Likewise.
14211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14212 (__SYSCALL_SLONG_TYPE): Likewise.
14213 (__SYSCALL_ULONG_TYPE): Likewise.
14214
85736dc7
L
142152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14216
14217 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14218 Add sigaltstack-offsets.sym.
14219 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14220 <sigaltstack-offsets.h>.
14221 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14222 longjmp_msg pointer.
14223 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14224 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14225 signal stack.
14226 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14227
cc03b296
JM
142282012-05-15 Joseph Myers <joseph@codesourcery.com>
14229
a9538892
JM
14230 * elf/stackguard-macros.h: Remove file.
14231 * sysdeps/generic/stackguard-macros.h: New file.
14232 * sysdeps/i386/stackguard-macros.h: Likewise.
14233 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14234 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14235 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14236 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14237 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14238 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14239 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14240 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14241 <elf/stackguard-macros.h>.
14242
cc03b296
JM
14243 [BZ #14109]
14244 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14245 __aligned__ in attribute.
14246 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14247 (gregset_t): Likewise.
14248
93171016
L
142492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14250
14251 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14252 * sysdeps/x86_64/64/Implies-after: Here. New file.
14253 * sysdeps/x86_64/x32/Implies-after: New file.
14254
d86813a0
L
142552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14256
14257 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14258 and access return value for _dl_profile_fixup. Use R10_LP to
14259 load frame size.
14260
2953ec75
L
142612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14262
14263 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14264
3b550e9e
L
142652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14266
14267 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14268 * sysdeps/x86_64/x32/sysdep.h: New file.
14269
eda41706
L
142702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14271
14272 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14273 * sysdeps/x86_64/setjmp.S: Likewise.
14274
9ea01d93
AZ
142752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14276
14277 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14278 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14279 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14280 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14281 remove unused global constant.
14282
02a91938
CM
142832012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14284
14285 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14286 include of <not-cancel.h>.
14287
6540185f
RM
142882012-05-15 Roland McGrath <roland@hack.frob.com>
14289
14290 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14291
509072a0
AJ
142922012-05-15 Jeff Law <law@redhat.com>
14293 Andreas Jaeger <aj@suse.de>
14294
14295 [BZ #13594]
14296 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14297 out from...
14298 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14299 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14300 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14301 code changing __hst_map_handle.map.
14302
ba75122d
RM
143032012-05-15 Roland McGrath <roland@hack.frob.com>
14304
14305 * configure.in (sysnames): Look for Implies-before and Implies-after
14306 files.
14307 * configure: Regenerated.
14308
890d8bd8
L
143092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14310
14311 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14312 8-byte data alignment with LP_SIZE alignment.
14313
f6ee6623
L
143142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14315
14316 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14317 into R10_LP.
14318
ea2626f6
L
143192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14320
14321 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14322
085f715e
L
143232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14324
14325 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14326 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14327 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14328 Likewise.
14329 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14330
be8498fc
L
143312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14332
14333 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14334 (stackinfo_sub_sp): Likewise.
14335
70bc83b9
L
143362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14337
14338 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14339 RAX_LP.
14340
9bc0b730
L
143412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14342
14343 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14344 into R*_LP.
14345
6d2850e7
L
143462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14347
14348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14349 sizes into R*_LP.
14350
3cb84561
L
143512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14352
14353 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14354
54e2ed81
L
143552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14356
14357 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14358 into R11_LP and load __x86_64_shared_cache_size_half into
14359 R8_LP.
14360
8a17f349
L
143612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14362
14363 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14364 R8_LP.
14365
777b1eea
AZ
143662012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14367
14368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14369 logb for POWER7.
14370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14371 logbf for POWER7.
14372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14373 logbl for POWER7.
14374 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14375 powerpc32/power7/fpu/s_logb.c via #include.
14376 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14377 powerpc32/power7/fpu/s_logbf.c via #include.
14378 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14379 powerpc32/power7/fpu/s_logbl.c via #include.
14380
d20d4ac2
JM
143812012-05-15 Joseph Myers <joseph@codesourcery.com>
14382
14383 * README.libm: Remove file.
14384
6cdef1ab
L
143852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14386
14387 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14388 count for x32. Use R*_LP and omit operand-size suffix.
14389
0b254d8f
L
143902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14391
14392 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14393 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14394 * sysdeps/x86_64/x32/shlib-versions: New file.
14395
ceb809dc
RM
143962012-05-14 Roland McGrath <roland@hack.frob.com>
14397
14398 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14399 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14400 Use _dl_fatal_printf instead.
14401
37f1abd4
JM
144022012-05-14 Joseph Myers <joseph@codesourcery.com>
14403
14404 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14405 set if not set by the user. Do not allow for being unset.
14406 * sysdeps/unix/sysv/linux/configure: Regenerated.
14407
11de3a33
L
144082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14409
14410 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14411 the `q' suffix from lea and replace .quad with ASM_ADDR.
14412
e02f153a
L
144132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14414
14415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14416 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14417 instead of $17.
14418 (PTR_DEMANGLE): Likewise.
14419
520ae0fd
L
144202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14421
14422 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14423 (LP_OP): Likewise.
14424 (ASM_ADDR): Likewise.
14425 (RAX_LP): Likewise.
14426 (RBP_LP): Likewise.
14427 (RBX_LP): Likewise.
14428 (RCX_LP): Likewise.
14429 (RDI_LP): Likewise.
14430 (RSI_LP): Likewise.
14431 (RSP_LP): Likewise.
14432 (R8_LP): Likewise.
14433 (R9_LP): Likewise.
14434 (R10_LP): Likewise.
14435 (R10_LP): Likewise.
14436 (R11_LP): Likewise.
14437 (R12_LP): Likewise.
14438 (R13_LP): Likewise.
14439 (R14_LP): Likewise.
14440 (R15_LP): Likewise.
14441
b985be81
L
144422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14443
14444 * sysdeps/x86_64/x32/dl-machine.h: New file.
14445
6a4888ff
AJ
144462012-05-14 Andreas Jaeger <aj@suse.de>
14447
14448 * manual/Makefile (subdir): Remove export of subdir.
14449 (all): Remove target.
14450 (.PHONY): Remove all from list.
14451 (mkinstalldirs): Remove.
14452 (.PHONY): Remove installdirs from list.
14453 ($(inst_infodir)/libc.info): Use make-target-directory.
14454 (installdirs): Remove.
14455 (subdir_%): Remove.
14456 (glibc-targets): Remove.
14457 (lib): Remove.
14458 (stubs): Remove.
14459 ($(objpfx)stubs ../po/manual.pot): Remove.
14460 ($(objpfx)stamp%): Remove.
14461 (make-target-directory): Remove.
14462 (subdir_install): Remove.
14463 (routines): Remove.
14464 (aux): Remove.
14465 (sources): Remove.
14466 (objects): Remove.
14467 (headers): Remove.
14468
14469 [BZ #13750]
14470 * manual/.gitignore: Remove, it's not needed anymore.
14471 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14472 all files in it.
14473 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14474 directory.
14475 (texis): Renamed to $(objpfx)texis.
14476 (texis-path): New, contains path to generated files.
14477 (chapters.%): Use texis-path for complete path, add extra argument
14478 libc-texinfo.sh.
14479 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14480 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14481 (summary,texi, stamp-summary): Use complete path of
14482 files. Generate files in build dir.
14483 (dir-add.texi): Build in build dir.
14484 (libm-err.texi,stamp-libm-err): Likewise.
14485 (version.texi, stamp-version): Likewise.
14486 (.%c.texi): Likewise.
14487 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14488 (mostlyclean): Remove target.
14489 (realclean): Remove target.
14490 (generated): Add new variable with contents from mostlyclean and
14491 realclean, remove entries duplicated in common-mostlyclean, add
14492 stamp-libm-err and stamp-version.
14493 (generated-dirs): Add libc directory.
14494 ($(inst_infodir)/libc.info): Install files from build dir.
14495
14496 * manual/install.texi (Configuring and compiling): Adjust since
14497 the info files are not part of the tar ball anymore.
14498
7ac77294
AJ
144992012-05-14 Andreas Jaeger <aj@suse.de>
14500
14501 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14502 variable.
14503
ffb7875d
JM
145042012-05-14 Joseph Myers <joseph@codesourcery.com>
14505
14506 [BZ #13717]
14507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14508 to 2.2.0 where earlier.
14509 * sysdeps/unix/sysv/linux/configure: Regenerated.
14510 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14511 Remove conditional code.
14512 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14513 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14514 Remove conditional code.
14515 [!__NR_lchown]: Likewise.
14516 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14517 [__NR_lchown]: Likewise.
14518 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14519 comment referencing __ASSUME_LCHOWN_SYSCALL.
14520 * sysdeps/unix/sysv/linux/i386/sigaction.c
14521 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14522 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14523 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14524 Remove conditional code.
14525 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14526 (__protocol_available): Remove #if 0 code.
14527 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14528 conditional code.
14529 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14530 * sysdeps/unix/sysv/linux/kernel-features.h
14531 (__ASSUME_GETCWD_SYSCALL): Don't define.
14532 (__ASSUME_REALTIME_SIGNALS): Likewise.
14533 (__ASSUME_PREAD_SYSCALL): Likewise.
14534 (__ASSUME_PWRITE_SYSCALL): Likewise.
14535 (__ASSUME_POLL_SYSCALL): Likewise.
14536 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14537 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14538 non-SPARC.
14539 (__ASSUME_SIOCGIFNAME): Don't define.
14540 (__ASSUME_MSG_NOSIGNAL): Likewise.
14541 (__ASSUME_SENDFILE): Define unconditionally.
14542 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14543 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14544 conditional code.
14545 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14546 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14547 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14548 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14549 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14550 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14551 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14553 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14556 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14559 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14562 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14563 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14565 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14568 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14569 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14571 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14574 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14576 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14577 Remove conditional code.
14578 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14579 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14580 Remove conditional code.
14581 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14582 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14583 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14584 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14585 Remove conditional code.
14586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14587 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14588 Remove conditional code.
14589 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14590 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14591 Remove conditional code.
14592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14593 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14594 Remove conditional code.
14595 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14596 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14597 Remove conditional code.
14598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14599 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14600 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14602 * sysdeps/unix/sysv/linux/sigaction.c
14603 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14604 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14605 * sysdeps/unix/sysv/linux/sigpending.c
14606 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14607 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14608 * sysdeps/unix/sysv/linux/sigprocmask.c
14609 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14610 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14611 * sysdeps/unix/sysv/linux/sigsuspend.c
14612 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14613 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14614 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14615 (__libc_missing_rt_sigs): Remove.
14616 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14617 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14618 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14619 Remove conditional code.
14620 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14621 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14622 return 1.
14623 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14624 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14625 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14626 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14627
1bfb7291
AJ
146282012-05-14 Andreas Jaeger <aj@suse.de>
14629
caae5a81
AJ
14630 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14631 it's not used in glibc.
14632 (__coshm1): Likewise.
14633 (__acosh1p): Likewise.
14634 (__sgn): Likewise.
14635
1bfb7291
AJ
14636 * manual/string.texi (Copying and Concatenation): Add missing
14637 variable in concat example.
14638 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14639
c044d724
L
146402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14641
144c5467 14642 [BZ #14103]
c044d724
L
14643 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14644 __builtin_clzl with __builtin_clzll.
14645
2523c62b
L
146462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14647
14648 [BZ #14104]
14649 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14650 libc_freeres_ptr.
14651
d7bb4c42
LD
146522012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14653
14654 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14655 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14656 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14657 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14658
9dc4e1fb
MF
146592012-05-14 Mike Frysinger <vapier@gentoo.org>
14660
14661 * NEWS: Update ia64 info.
14662
c7df0112
AS
146632012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14664
14665 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14666 used as bcopy.
14667
dc70356c
TS
146682012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14669
14670 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14671 * sysdeps/unix/syscalls.list (dup3): Likewise.
14672 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14673 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14674
9fb1a21f
L
146752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14676
14677 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14678 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14679
4822a2a5
L
146802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14681
14682 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14683 thread pointer.
14684 (TLS_IE): Use mov/add instead of movq/addq to load thread
14685 pointer.
14686 (TLS_GD_PREFIX): New.
14687 (TLS_GD): Use it.
14688
842b81d6
DM
146892012-05-11 David S. Miller <davem@davemloft.net>
14690
14691 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14692 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14693 (_FPU_SETCW): Likewise.
14694
1cf463cd
L
146952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14696
14697 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14698 is 32-byte aligned.
14699
60cc4a18
AS
147002012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14701
14702 [BZ #11837]
14703 * iconvdata/gb18030.c: Update tables.
14704 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14705 characters specially.
14706 (BODY for TO_LOOP): Add encoding of missing ranges.
14707
febb44a4
TS
147082012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14709
14710 [BZ #13673]
14711 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14712 * sysdeps/mach/hurd/dup3.c: Likewise.
14713 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14714 * sysdeps/powerpc/memmove.c:: Likewise.
14715
0a10fb9e
L
147162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14717
14718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14719 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14720
df8a552f
L
147212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14722
14723 * elf/elf.h (R_X86_64_RELATIVE64): New.
14724 (R_X86_64_NUM): Updated.
14725 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14726 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14727 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14728 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14729 tst-quad1pie tst-quad2pie
14730 (modules-names): Add tst-quadmod1 tst-quadmod2.
14731 ($(objpfx)tst-quad1): New dependency.
14732 ($(objpfx)tst-quad2): Likewise.
14733 ($(objpfx)tst-quad1pie): Likewise.
14734 ($(objpfx)tst-quad2pie): Likewise.
14735 * sysdeps/x86_64/tst-quad1.c: New file.
14736 * sysdeps/x86_64/tst-quad1pie.c: New file.
14737 * sysdeps/x86_64/tst-quad2.c: Likewise.
14738 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14739 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14740 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14741 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14742 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14743
f34d6f84
ST
147442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14745
f42d41d1
ST
14746 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14747 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14748 * streams/stropts.h (t_scalar_t): Define type.
14749
3c3571fc
ST
14750 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14751 (_PATH_PRESERVE): Set to "/var/lib".
14752 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14753
61f06bd3
ST
14754 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14755 instead of int.
14756
918d4d71
ST
14757 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14758 if __dir_mkfile succeeded.
14759
f34d6f84
ST
14760 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14761 checking for _hurd_dtablesize. Unlock it right after having
14762 finished _hurd_dtable allocation.
14763
10589b4a
TS
147642012-05-10 Thomas Schwinge <thomas@schwinge.name>
14765
674cdbc7
TS
14766 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14767 * sysdeps/mach/hurd/configure: Regenerated.
14768 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14769 special-casing to...
14770 * sysdeps/gnu/configure.in: ... this new file.
14771 * sysdeps/unix/sysv/linux/configure: Regenerated.
14772 * sysdeps/gnu/configure: New generated file.
14773
8e41b99f
TS
14774 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14775 for Linux: use nsec instead of usec, as well as:
14776 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14777 members of type struct timespec.
14778 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14779 New macros.
14780 (struct stat64): Likewise.
14781 (_STATBUF_ST_NSEC): New macro.
14782 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14783
10589b4a
TS
14784 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14785 __strtoul_internal rather than strtoul.
14786
63643c85
PT
147872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14788
14789 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14790 and reject them.
14791
3faebe6a
ST
147922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14793
14794 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14795 which preserves existing values.
14796 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14797
c6474b07
PT
147982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14799
14800 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14801 TIMEOUT values. Return EINVAL for NFDS values either negative or
14802 greater than FD_SETSIZE.
14803
1043890b
ST
148042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14805
14806 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14807 allocated, call __vm_protect to finish enabling the existing space, and
14808 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14809 allocate the remainder.
14810
37ed8b9b
PT
148112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14812
14813 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14814 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14815
db653660
ST
148162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14817
37ed8b9b
PT
14818 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14819 sysdeps/mach/hurd/readlink.c.
b29d4053 14820
db653660
ST
14821 * posix/tst-sysconf.c (posix_options): Only use
14822 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14823 _POSIX_SYNCHRONIZED_IO when they are defined
14824 * sysdeps/mach/hurd/bits/posix_opt.h:
14825 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14826 (_XOPEN_REALTIME): Undefine macro.
14827 (_XOPEN_REALTIME_THREADS): Undefine macro.
14828 (_XOPEN_SHM): Undefine macro.
14829 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14830 macro to -1.
14831 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14832 macro to -1.
14833 (_POSIX_ASYNC_IO): Undefine macro.
14834 (_POSIX_PRIORITIZED_IO): Undefine macro.
14835 (_POSIX_SPIN_LOCKS): Define macro to -1.
14836
ee16e894
ST
14837 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14838 SA_NODEFER, SA_RESETHAND.
14839 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14840 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14841 F_DUPFD_CLOEXEC.
14842
6103ae3b
TS
148432012-05-10 Thomas Schwinge <thomas@schwinge.name>
14844
14845 * elf/Makefile (pldd-modules): Define unconditionally.
14846
80b4e5f3
TS
148472012-05-10 Thomas Schwinge <thomas@schwinge.name>
14848
14849 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14850
edadcbd6
ST
148512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14852
14853 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14854 Return ENOENT when name is empty.
14855 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14856
80694780
TS
148572012-05-10 Thomas Schwinge <thomas@schwinge.name>
14858
1792c087
TS
14859 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14860
80694780
TS
14861 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14862
6b645f0d
ST
148632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14864
80694780
TS
14865 Fix mlock in all cases except non-readable pages.
14866 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14867 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14868
6b645f0d
ST
14869 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14870 (__mkdir): When path is `/', just fail with EEXIST.
14871 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14872
e468f8a3
TS
148732012-05-10 Thomas Schwinge <thomas@schwinge.name>
14874
14875 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14876 <sys/uio.h> (for writev).
14877 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14878 and <sys/param.h> (for MIN).
14879
a4186cff
PT
148802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14881
14882 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14883 REQUESTED_TIME. Properly set the remaining time and return EINTR
14884 if interrupted.
14885
510bbf14
TS
148862012-05-10 Thomas Schwinge <thomas@schwinge.name>
14887
14888 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14889 Depend on against $(link-rpcuserlibs).
14890
5d5722e8
ST
148912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14892
a4186cff
PT
14893 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14894 (__libc_stack_end): Do not use attribute_relro.
14895 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14896 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14897 to libthread-provided value.
a4186cff
PT
14898 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14899 attribute_relro.
5d5722e8 14900
37233df9
TS
149012012-05-10 Thomas Schwinge <thomas@schwinge.name>
14902
be971a2b
TS
14903 [BZ #3748]
14904 * bits/libc-lock.h (__libc_once_get): New macro.
14905 * sysdeps/mach/bits/libc-lock.h: Likewise.
14906 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14907 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14908 instead of using implementation details.
14909
37233df9
TS
14910 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14911 * libio/freopen.c: Likewise.
14912 * libio/freopen64.c: Likewise.
14913 * misc/syslog.c: Likewise.
14914 * nscd/connections.c: Likewise.
14915 * nscd/netgroupcache.c: Likewise.
14916 * sysdeps/posix/getcwd.c: Likewise.
14917
38de94a5
RM
149182012-05-10 Roland McGrath <roland@hack.frob.com>
14919
14920 * math/w_ilogbf.c: Add #include <limits.h>.
14921
67530489
ST
149222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14923
a4186cff 14924 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14925 path instead of returning without unlocking.
14926
67530489
ST
14927 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14928 immediate-write ioctls.
14929 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14930
5aa3a74a
TS
149312012-05-10 Thomas Schwinge <thomas@schwinge.name>
14932
18bad2ae
TS
14933 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14934 __builtin_frame_address instead of making assumptions about the
14935 location of the return address relative to DATA. Force early load of
14936 the return address.
14937 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14938 __builtin_frame_address.
14939
5aa3a74a
TS
14940 dup3 for GNU Hurd.
14941 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14942 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14943 implement dup3 and do some further code clean-ups.
14944 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14945 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14946
ecd0de9a
ST
149472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14948
cd9fa985
ST
14949 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14950
a4186cff
PT
14951 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14952 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14953 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14954 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14955 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14956 d->port.lock.
802ca5a5 14957
a4186cff
PT
14958 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14959 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14960 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14961
bcf55240
TS
149622012-05-10 Thomas Schwinge <thomas@schwinge.name>
14963
6960eb42
TS
14964 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14965 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14966 definitions.
14967
eb43375f
TS
14968 accept4 for GNU Hurd.
14969 * include/sys/socket.h (__libc_accept4): New prototype.
14970 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14971 to implement __libc_accept4.
14972 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14973 __libc_accept4.
14974 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14975
bcf55240
TS
14976 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14977 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14978 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14979 signal-defines.sym.
14980
6178c55b
ST
149812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14982
a4186cff 14983 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14984
6f080c2f
TS
149852012-05-10 Thomas Schwinge <thomas@schwinge.name>
14986
14987 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14988 assertion on O_CLOEXEC flag.
14989 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14990 * hurd/intern-fd.c: Likewise.
14991 * hurd/port2fd.c: Likewise.
14992
bcfe3a54
ST
149932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14994
14995 [BZ #3906]
14996 * bits/in.h (IPV6_PKTINFO): Define new macro.
14997 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14998
89c9aa49
AZ
149992012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15000
15001 [BZ #13954]
15002 [BZ #13955]
15003 [BZ #13956]
15004 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15005 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15006 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15007 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15009 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15010 * math/libm-test.inc (logb_test) : Additional logb tests.
15011
021db4be
AJ
150122012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15013 Andreas Jaeger <aj@suse.de>
15014
15015 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15016 * configure: Regenerated.
15017 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15018 * config.make.in (link-obsolete-rpc): New substituted variable.
15019 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15020 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15021 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15022 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15023 so that libc.a contains the symbols.
15024 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15025 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15026 * sunrpc/auth_none.c: Likewise.
15027 * sunrpc/auth_unix.c: Likewise.
15028 * sunrpc/authdes_prot.c: Likewise.
15029 * sunrpc/authuxprot.c: Likewise.
15030 * sunrpc/clnt_gen.c: Likewise.
15031 * sunrpc/clnt_perr.c: Likewise.
15032 * sunrpc/clnt_raw.c: Likewise.
15033 * sunrpc/clnt_simp.c: Likewise.
15034 * sunrpc/clnt_tcp.c: Likewise.
15035 * sunrpc/clnt_udp.c: Likewise.
15036 * sunrpc/clnt_unix.c: Likewise.
15037 * sunrpc/des_crypt.c: Likewise.
15038 * sunrpc/des_soft.c: Likewise.
15039 * sunrpc/get_myaddr.c: Likewise.
15040 * sunrpc/key_call.c: Likewise.
15041 * sunrpc/key_prot.c: Likewise.
15042 * sunrpc/netname.c: Likewise.
15043 * sunrpc/pm_getmaps.c: Likewise.
15044 * sunrpc/pm_getport.c: Likewise.
15045 * sunrpc/pmap_clnt.c: Likewise.
15046 * sunrpc/pmap_prot.c: Likewise.
15047 * sunrpc/pmap_prot2.c: Likewise.
15048 * sunrpc/pmap_rmt.c: Likewise.
15049 * sunrpc/publickey.c: Likewise.
15050 * sunrpc/rpc_cmsg.c: Likewise.
15051 * sunrpc/rpc_common.c: Likewise.
15052 * sunrpc/rpc_dtable.c: Likewise.
15053 * sunrpc/rpc_prot.c: Likewise.
15054 * sunrpc/rpc_thread.c: Likewise.
15055 * sunrpc/rtime.c: Likewise.
15056 * sunrpc/svc.c: Likewise.
15057 * sunrpc/svc_auth.c: Likewise.
15058 * sunrpc/svc_raw.c: Likewise.
15059 * sunrpc/svc_run.c: Likewise.
15060 * sunrpc/svc_tcp.c: Likewise.
15061 * sunrpc/svc_udp.c: Likewise.
15062 * sunrpc/svc_unix.c: Likewise.
15063 * sunrpc/svcauth_des.c: Likewise.
15064 * sunrpc/xcrypt.c: Likewise.
15065 * sunrpc/xdr.c: Likewise.
15066 * sunrpc/xdr_array.c: Likewise.
15067 * sunrpc/xdr_float.c: Likewise.
15068 * sunrpc/xdr_intXX_t.c: Likewise.
15069 * sunrpc/xdr_mem.c: Likewise.
15070 * sunrpc/xdr_rec.c: Likewise.
15071 * sunrpc/xdr_ref.c: Likewise.
15072 * sunrpc/xdr_sizeof.c: Likewise.
15073 * sunrpc/xdr_stdio.c: Likewise.
15074
b5c086a2
RM
150752012-05-10 Roland McGrath <roland@hack.frob.com>
15076
15077 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15078 change. Update copyright years.
15079
6d74dd09
JM
150802012-05-10 Joseph Myers <joseph@codesourcery.com>
15081
15082 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15083
28e72501
MK
150842012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15085 Joseph Myers <joseph@codesourcery.com>
15086 Paul Pluzhnikov <ppluzhnikov@google.com>
15087
15088 [BZ #14012]
15089 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15090 requiring rpcgen.
15091 [cross-compiling] (extra-libs): Likewise.
15092 [cross-compiling] (extra-libs-others): Likewise.
15093 [cross-compiling] (librpcsvc-routines): Likewise.
15094 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15095 [cross-compiling] (omit-deps): Likewise.
15096 (sunrpc-CPPFLAGS): New variable.
15097 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15098 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15099 (cross-rpcgen-objs): New variable.
15100 (extra-objs): Append $(cross-rpcgen-objs).
15101 ($(cross-rpcgen-objs)): New rule.
15102 ($(objpfx)cross-rpcgen): Likewise.
15103 (rpcgen-cmd): Define to use $(built-program-file). Expand
15104 comment.
15105 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15106 ($(objpfx)x%.stmp): Likewise.
15107 * sunrpc/proto.h [IS_IN_build] (_): Define.
15108 [IS_IN_build] (_libc_intl_domainname): Likewise.
15109
c8c59454
L
151102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15111
15112 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15113 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15114 and R_X86_64_TPOFF64.
15115
6f27cd16
JM
151162012-05-10 Joseph Myers <joseph@codesourcery.com>
15117
15118 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15119 sysdeps/unix/sysv/syscalls.list.
15120 (stime): Likewise.
15121 (utime): Likewise.
15122 * sysdeps/unix/sysv/syscalls.list: Remove file.
15123
02467e1c
PE
151242012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15125
15126 [BZ #3440]
15127 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15128 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15129 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15130 (__LC_IDENTIFICATION): Make these macros useful in #if
15131 expressions, as required by C99.
15132
da392631
AS
151332012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15134
15135 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15136 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15137 after this.
15138
8115f29b
L
151392012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15140
15141 * stdlib/longlong.h: Updated from GCC.
15142
bdd74070
AJ
151432012-05-09 Andreas Jaeger <aj@suse.de>
15144
edfe0dbe
AJ
15145 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15146 default is first entry.
15147 (run_mode): Set type.
15148 (main): Remove informal message about syslog.
15149 (options): Fix typo.
15150
bcfe3a54
ST
15151 [BZ #14053]
15152 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15153 to asm.
bcfe3a54
ST
15154 (lrint): Likewise.
15155 (llrintf): Likewise.
15156 (llrint): Likewise.
15157 (rint): Likewise.
15158 (rintf): Likewise.
15159 (nearbyint): Likewise.
15160 (nearbyintf): Likewise.
bdd74070 15161
91d8d69e
AJ
151622012-05-09 Andreas Jaeger <aj@suse.de>
15163 Pedro Alves <palves@redhat.com>
15164
15165 * nscd/nscd.c (run_mode): Use enum.
15166 (main): Cleanup coding style issue.
15167
bb90b80b
AJ
151682012-05-09 Alexandre Oliva <aoliva@redhat.com>
15169 Andreas Jaeger <aj@suse.de>
15170
bcfe3a54
ST
15171 * nscd/nscd.c (go_background): Replaced with...
15172 (run_mode): ... this.
bb90b80b 15173 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15174 (options): Add -F --foreground.
15175 (main): Implement it.
15176 (parse_opt): Parse it.
bb90b80b 15177
1a4b75a1
AJ
151782012-05-09 Andreas Jaeger <aj@suse.de>
15179
15180 [BZ #14083]
15181 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15182 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15183 -Wconversion warning.
15184 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15185 Likewise.
15186
b1cc2472
JM
151872012-05-09 Joseph Myers <joseph@codesourcery.com>
15188
15189 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15190 == 0.
15191 (LC_ALL): Use macro-int-constant.
15192 (LC_COLLATE): Likewise.
15193 (LC_CTYPE): Likewise.
15194 (LC_MESSAGES): Likewise.
15195 (LC_MONETARY): Likewise.
15196 (LC_NUMERIC): Likewise.
15197 (LC_TIME): Likewise.
15198 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15199 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15200 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15201 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15202 Specify type.
15203 [C99-based standards] (float_t): Expect type.
15204 [C99-based standards] (double_t): Expect type.
15205 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15206 type.
15207 [C99-based standards] (HUGE_VALL): Likewise.
15208 [C99-based standards] (INFINITY): Likewise.
15209 [C99-based standards] (NAN): Likewise.
15210 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15211 [C99-based standards] (FP_NAN): Likewise.
15212 [C99-based standards] (FP_NORMAL): Likewise.
15213 [C99-based standards] (FP_SUBNORMAL): Likewise.
15214 [C99-based standards] (FP_ZERO): Likewise.
15215 [C99-based standards] (FP_FAST_FMA): Use
15216 optional-macro-int-constant. Specify type. Require == 1.
15217 [C99-based standards] (FP_FAST_FMAF): Likewise.
15218 [C99-based standards] (FP_FAST_FMAL): Likewise.
15219 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15220 [C99-based standards] (FP_ILOGBNAN): Likewise.
15221 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15222 Specify type.
15223 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15224 [C99-based standards] (math_errhandling): Specify type.
15225 [ISO99 || ISO11] (signgam): Do not allow.
15226 [non-C99-based standards] (copysignf): Do not allow.
15227 [non-C99-based standards] (exp2f): Likewise.
15228 [non-C99-based standards] (log2f): Likewise.
15229 [non-C99-based standards] (modff): Allow.
15230 [non-C99-based standards] (erff): Do not allow.
15231 [non-C99-based standards] (erfcf): Likewise.
15232 [non-C99-based standards] (gammaf): Likewise.
15233 [non-C99-based standards] (hypotf): Likewise.
15234 [non-C99-based standards] (j0f): Likewise.
15235 [non-C99-based standards] (j1f): Likewise.
15236 [non-C99-based standards] (jnf): Likewise.
15237 [non-C99-based standards] (lgammaf): Likewise.
15238 [non-C99-based standards] (tgammaf): Likewise.
15239 [non-C99-based standards] (y0f): Likewise.
15240 [non-C99-based standards] (y1f): Likewise.
15241 [non-C99-based standards] (ynf): Likewise.
15242 [non-C99-based standards] (isnanf): Likewise.
15243 [non-C99-based standards] (acoshf): Likewise.
15244 [non-C99-based standards] (asinhf): Likewise.
15245 [non-C99-based standards] (atanhf): Likewise.
15246 [non-C99-based standards] (cbrtf): Likewise.
15247 [non-C99-based standards] (expm1f): Likewise.
15248 [non-C99-based standards] (ilogbf): Likewise.
15249 [non-C99-based standards] (log1pf): Likewise.
15250 [non-C99-based standards] (logbf): Likewise.
15251 [non-C99-based standards] (nextafterf): Likewise.
15252 [non-C99-based standards] (remainderf): Likewise.
15253 [non-C99-based standards] (rintf): Likewise.
15254 [non-C99-based standards] (scalbf): Likewise.
15255 [non-C99-based standards] (copysignl): Likewise.
15256 [non-C99-based standards] (exp2l): Likewise.
15257 [non-C99-based standards] (log2l): Likewise.
15258 [non-C99-based standards] (modfl): Allow.
15259 [non-C99-based standards] (erfl): Do not allow.
15260 [non-C99-based standards] (erfcl): Likewise.
15261 [non-C99-based standards] (gammal): Likewise.
15262 [non-C99-based standards] (hypotl): Likewise.
15263 [non-C99-based standards] (j0l): Likewise.
15264 [non-C99-based standards] (j1l): Likewise.
15265 [non-C99-based standards] (jnl): Likewise.
15266 [non-C99-based standards] (lgammal): Likewise.
15267 [non-C99-based standards] (tgammal): Likewise.
15268 [non-C99-based standards] (y0l): Likewise.
15269 [non-C99-based standards] (y1l): Likewise.
15270 [non-C99-based standards] (ynl): Likewise.
15271 [non-C99-based standards] (isnanl): Likewise.
15272 [non-C99-based standards] (acoshl): Likewise.
15273 [non-C99-based standards] (asinhl): Likewise.
15274 [non-C99-based standards] (atanhl): Likewise.
15275 [non-C99-based standards] (cbrtl): Likewise.
15276 [non-C99-based standards] (expm1l): Likewise.
15277 [non-C99-based standards] (ilogbl): Likewise.
15278 [non-C99-based standards] (log1pl): Likewise.
15279 [non-C99-based standards] (logbl): Likewise.
15280 [non-C99-based standards] (nextafterl): Likewise.
15281 [non-C99-based standards] (remainderl): Likewise.
15282 [non-C99-based standards] (rintl): Likewise.
15283 [non-C99-based standards] (scalbl): Likewise.
15284 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15285 [non-C99-based standards] (FP_*): Do not allow.
15286 [C99-based standards] (FP_*): Change to
15287 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15288 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15289 allow.
15290 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15291 (SIG_ERR): Likewise.
15292 [X/Open-based standards] (SIG_HOLD): Likewise.
15293 (SIG_IGN): Likewise.
15294 (SIGABRT): Use macro-int-constant. Specify type. Require
15295 positive value.
15296 (SIGFPE): Likewise.
15297 (SIGILL): Likewise.
15298 (SIGINT): Likewise.
15299 (SIGSEGV): Likewise.
15300 (SIGTER): Likewise.
15301 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15302 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15303 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15304 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15305 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15306 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15307 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15308 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15309 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15310 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15311 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15312 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15313 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15314 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15315 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15316 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15317 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15318 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15319 [X/Open-based standards] (SIGTRAP): Likewise.
15320 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15321 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15322 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15323 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15324 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15325 allow.
15326
b9f1922d
IW
153272012-05-08 Ian Wienand <ianw@vmware.com>
15328
15329 [BZ #14080]
15330 * time/tzset.c (__tzset_parse_tz): Update default rules for
15331 daylight time changes in the Energy Policy Act of 2005.
15332
1db86e88
AJ
153332012-05-09 Andreas Jaeger <aj@suse.de>
15334
15335 [BZ #13983]
15336 * elf/ldconfig.c (parse_conf): Change string to make clear that
15337 ldconfig only issued a warning if ld.so.conf does not exist.
15338
dee4a4e3
DM
153392012-05-08 David S. Miller <davem@davemloft.net>
15340
ee0db190
DM
15341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15342 movxtod instead of popping the value on the stack.
15343
dee4a4e3
DM
15344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15345
6a43ec98
CD
153462012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15347
15348 * config.h.in: Add HAVE_ARM_PCS_VFP.
15349
05c2c961
RMG
153502012-05-08 Roland Mc Grath <roland@hack.frob.com>
15351
bcfe3a54
ST
15352 [BZ #13979]
15353 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15354 checking but the checks are disabled for any reason.
05c2c961 15355
4b30f61a
L
153562012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15357
15358 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15359 and ELF64_R_TYPE with ELFW(R_TYPE).
15360
eee2bc67
JM
153612012-05-08 Joseph Myers <joseph@codesourcery.com>
15362
7ea5391a
JM
15363 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15364 (ulimit): Likewise.
15365
eee2bc67
JM
15366 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15367 (settimeofday): Likewise.
15368
abb66a67
MF
153692012-05-08 Mike Frysinger <vapier@gentoo.org>
15370
15371 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15372 a struct th_u2 inside the union, and move tu_block/tu_code into
15373 a new th_u3 union of tu_block/tu_code inside of that. Move
15374 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15375 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15376 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15377 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15378 (th_stuff): Change to th_u1.tu_stuff.
15379 (th_data): Define.
15380 (th_msg): Change to th_u1.th_u2.tu_data.
15381
7f18b530
DM
153822012-05-07 David S. Miller <davem@davemloft.net>
15383
05760585
DM
15384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15385
7f18b530
DM
15386 [BZ #14074]
15387 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15388 (SETUP_PIC_REG): Use it.
15389 (SETUP_PIC_REG_LEAF): Use it.
15390
495fd99f
JM
153912012-05-07 Joseph Myers <joseph@codesourcery.com>
15392
15393 [BZ #13885]
15394 [BZ #13923]
15395 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15396 USE_AS_EXPM1L.
15397 (EXPL_FINITE): Likewise.
15398 (FLDLOG): Likewise.
15399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15400 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15401 e_expl.S.
15402 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15403 USE_AS_EXPM1L.
15404 (EXPL_FINITE): Likewise.
15405 (FLDLOG): Likewise.
15406 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15407 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15408 e_expl.S.
15409 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15410 test of -max_value argument for long double.
15411 * sysdeps/i386/fpu/libm-test-ulps: Update.
15412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15413
6693d694
DM
154142012-05-06 David S. Miller <davem@davemloft.net>
15415
15416 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15417 quad soft-float symbols whose references which are compiler
15418 generated.
15419 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15420
6c23e11c
JM
154212012-05-06 Joseph Myers <joseph@codesourcery.com>
15422
d8b82cad
JM
15423 [BZ #13884]
15424 [BZ #13914]
15425 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15426 USE_AS_EXP10L.
15427 (EXPL_FINITE): Likewise.
15428 (FLDLOG): Likewise.
15429 (c0): Likewise.
15430 (c1): Likewise.
15431 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15432 Adjust comments for base varying.
15433 (__expl_finite): Change alias to EXPL_FINITE.
15434 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15435 e_expl.S.
15436 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15437 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15439 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15440 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15441 USE_AS_EXP10L.
15442 (EXPL_FINITE): Likewise.
15443 (FLDLOG): Likewise.
15444 (c0): Likewise.
15445 (c1): Likewise.
15446 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15447 Adjust comments for base varying.
15448 (__expl_finite): Change alias to EXPL_FINITE.
15449 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15450 tests for bugs.
15451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15452
6c23e11c
JM
15453 [BZ #14064]
15454 * math/libm-test.inc (check_float_internal): Correct ulp
15455 calculation for subnormal expected results.
15456
29ba805c
AJ
154572012-05-06 Andreas Jaeger <aj@suse.de>
15458
15459 * Makeconfig (+math-flags): New, set to -frounding-math.
15460 (+cflags): Add +math-flags so that all of glibc gets compiled with
15461 it.
15462
15463 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15464
7b17aeda
JM
154652012-05-05 Joseph Myers <joseph@codesourcery.com>
15466
5779f134
JM
15467 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15468 Disable one test.
15469
41498f4d
JM
15470 [BZ #13787]
15471 [BZ #13922]
15472 [BZ #14036]
15473 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15474 (__ieee754_expl): Allow for and saturate large arguments.
15475 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15476 (u_threshold): Likewise.
15477 (__exp): Call __ieee754_exp before checking for overflow and
15478 underflow.
15479 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15480 (u_threshold): Likewise.
15481 (__expf): Call __ieee754_expf before checking for overflow and
15482 underflow.
15483 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15484 (u_threshold): Likewise.
15485 (__expl): Call __ieee754_expl before checking for overflow and
15486 underflow.
15487 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15488 (__ieee754_expl): Allow for and saturate large arguments.
15489 * math/libm-test.inc (exp_test): Add another test. Do not allow
15490 missing overflow exception on overflow.
15491 (expm1_test): Do not allow missing overflow exception on overflow.
15492
6698b8bf
JM
15493 * sysdeps/i386/fpu/e_expl.c: Move to ...
15494 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15495 rather than using inline asm.
15496 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15497 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15498 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15499
7b17aeda
JM
15500 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15501 (nice): Likewise.
15502 (poll): Likewise.
15503 (signal): Likewise.
15504 (time): Likewise.
15505 (times): Likewise.
15506
f7c85819
JM
155072012-05-04 Joseph Myers <joseph@codesourcery.com>
15508
15509 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15510 sysdeps/unix/common/syscalls.list.
15511 (fchmod): Likewise.
15512 (fchown): Likewise.
15513 (ftruncate): Likewise.
15514 (getrusage): Likewise.
15515 (gettimeofday): Likewise.
15516 (setpgid): Likewise.
15517 (setregid): Likewise.
15518 (setreuid): Likewise.
15519 (sigaction): Likewise.
15520 (truncate): Likewise.
15521 (vhangup): Likewise.
15522 * sysdeps/unix/common/syscalls.list: Remove file.
15523 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15524 * sysdeps/unix/sysv/linux/Implies: Likewise.
15525
336270d0
L
155262012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15527
15528 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15530 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15531 Moved to ...
15532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15533 Here.
15534 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15535 to ...
15536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15537 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15538 to ...
15539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15540 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15541 to ...
15542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15543 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15544 to ...
15545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15546 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15547 to ...
15548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15549 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15550 to ...
15551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15552 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15553 to ...
15554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15555 Here.
15556 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15557 to ...
15558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15559 Here.
15560 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15561 to ...
15562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15563 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15564 Moved to ...
15565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15566 Here.
15567 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15568 to ...
15569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15570
d128e450
JM
155712012-05-04 Joseph Myers <joseph@codesourcery.com>
15572
fa8ee516
JM
15573 * sysdeps/unix/common/bits/dirent.h: Remove file.
15574 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15575
d128e450
JM
15576 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15577 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15578 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15579 * sysdeps/unix/bsd/isatty.c: Likewise.
15580 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15581 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15582 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15583
ff8faaf0 155842012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15585
62881be4 15586 [BZ #13563]
31dc8730
AZ
15587 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15588 long double comparison inaccuracies.
15589 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15591
6fef930c
AS
155922012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15593
15594 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15595 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15596
8f203e6c
JM
155972012-05-04 Joseph Myers <joseph@codesourcery.com>
15598
15599 [BZ #14049]
15600 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15601 nonzero digits before rounding a hex value.
15602 * stdlib/tst-strtod.c (tests): Add another test.
15603
5197d9c2
AK
156042012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15605
15606 * sysdeps/s390/fpu/libm-test-ulps: Update.
15607
f0c1dedf
AJ
156082012-05-03 Andreas Jaeger <aj@suse.de>
15609
15610 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15611 does not get optimized out.
15612 (malloc_opt_barrier): New.
15613
a65ef2ae 156142012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15615 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15616
2b942cb7 15617 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15618 intermediate file deletion.
2b942cb7 15619 (generated): Add .symlist files.
a65ef2ae 15620
54b71e02
JM
156212012-05-03 Joseph Myers <joseph@codesourcery.com>
15622
15623 [BZ #13775]
15624 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15625 Redirect under this condition.
15626 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15627 [__USE_GNU] (__dprintf_chk): Not under this condition.
15628 [__USE_GNU] (__vdprintf_chk): Likewise.
15629 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15630 under this condition.
15631 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15632 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15633 [__USE_XOPEN2K8] (vdprintf): Likewise.
15634 [__USE_GNU] (__dprintf_chk): Not under this condition.
15635 [__USE_GNU] (__vdprintf_chk): Likewise.
15636 [__USE_GNU] (dprintf): Likewise.
15637 [__USE_GNU] (vdprintf): Likewise.
15638
d3dfcc41
RM
156392012-05-03 Roland McGrath <roland@hack.frob.com>
15640
15641 * elf/Makefile (common-generated): Set this instead of generated for
15642 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15643 $(all-built-dso)-derived lists.
15644
7ac30cc5
AJ
156452012-05-03 Andreas Jaeger <aj@suse.de>
15646
0c51e550
AJ
15647 * sysdeps/i386/fpu/libm-test-ulps: Update.
15648
7ac30cc5
AJ
15649 * FAQ: Removed.
15650 * FAQ.in: Likewise.
15651 * scripts/gen-FAQ.pl: Likewise.
15652 * manual/install.texi (Installation): Point to online location of
15653 FAQ.
15654 * Makefile (files-for-dist): Remove FAQ.
15655 (FAQ): Remove.
15656
d4c2917f
AM
156572012-05-02 Allan McRae <allan@archlinux.org>
15658
15659 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15660 (LDFLAGS-reldepmod5.so): Likewise.
15661 (LDFLAGS-reldep6mod1.so): Likewise.
15662 (LDFLAGS-reldep6mod4.so): Likewise.
15663 (LDFLAGS-reldep8mod3.so): Likewise.
15664 (LDFLAGS-unload4mod1.so): Likewise.
15665 (LDFLAGS-unload4mod2.so): Likewise.
15666 (LDFLAGS-tst-initorder): Likewise.
15667 (LDFLAGS-tst-initordera2.so): Likewise.
15668 (LDFLAGS-tst-initordera3.so): Likewise.
15669 (LDFLAGS-tst-initordera4.so): Likewise.
15670 (LDFLAGS-tst-initorderb2.so): Likewise.
15671 (LDFLAGS-noload): Likewise.
15672 (LDFLAGS-next): Likewise.
15673 (LDFLAGS-order2mod1.so): Likewise.
15674 (LDFLAGS-order2mod2.so): Likewise.
15675 (LDFLAGS-tst-initorder2): Likewise.
15676 (LDFLAGS-tst-initorder2a.so): Likewise.
15677 (LDFLAGS-tst-initorder2b.so): Likewise.
15678 (LDFLAGS-tst-initorder2c.so): Likewise.
15679 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15680
d77f993f
DM
156812012-05-02 David S. Miller <davem@davemloft.net>
15682
15683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15684
171a70b4
PP
156852012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15686
15687 [BZ #14055]
15688 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15689
0be196ad
AJ
156902012-05-02 Andreas Jaeger <aj@suse.de>
15691
15692 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15693 since we manipulate rounding mode.
15694 (CPPFLAGS-test-idouble.c): Likewise.
15695 (CPPFLAGS-test-ifloat.c): Likewise.
15696 (CFLAGS-test-ldouble.c): Likewise.
15697 (CFLAGS-test-double.c): Likewise.
15698 (CFLAGS-test-float.c): Likewise.
15699 (CFLAGS-test-misc.c): Likewise.
15700 (CFLAGS-test-test-fenv.c): Likewise.
15701
4f9d04aa
AZ
157022012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15703
2b942cb7
RM
15704 [BZ #2550]
15705 [BZ #2570]
15706 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15707 comparisons to determine direction to adjust input.
4f9d04aa 15708
82a79e7d
RM
157092012-05-01 Roland McGrath <roland@hack.frob.com>
15710
f5a01ca9
RM
15711 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15712 output to the target.
15713
90fe4186
RM
15714 * scripts/localplt.awk: New file.
15715 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15716 (check-localplt-CFLAGS): Variable removed.
15717 ($(all-built-dso:=.jmprel)): New static pattern rule.
15718 (generated): Add those targets.
15719 (localplt-built-dso): New variable.
15720 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15721
15722 * elf/check-localplt.c: File removed.
15723
82397ed6
RM
15724 * scripts/check-execstack.awk: New file.
15725 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15726 (check-execstack-CFLAGS): Variable removed.
15727 ($(objpfx)check-execstack.h): Target removed.
15728 ($(objpfx)execstack-default): New target.
15729 (generated): Add that instead of check-execstack.h.
15730 ($(all-built-dso:=.phdr)): New static pattern rule.
15731 (generated): Add those targets.
15732 * elf/check-execstack.c: File removed.
15733
82a79e7d
RM
15734 * scripts/check-textrel.awk: New file.
15735 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15736 (check-textrel-CFLAGS): Variable removed.
15737 (all-built-dso): Use := to define.o
15738 ($(all-built-dso:=.dyn)): New static pattern rule.
15739 (generated): Add those targets.
15740 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15741 * config.make.in (READELF): New substituted variable.
15742 * elf/check-textrel.c: File removed.
15743
62fde54f 157442012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15745
615605c9
JM
15746 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15747 allow.
15748 * conform/data/ctype.h-data [C99-based standards] (isblank):
15749 Expect function.
15750 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15751 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15752 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15753 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15754 Specify type. Require positive value.
15755 (EILSEQ): Likewise.
15756 (ERANGE): Likewise.
15757 [ISO || POSIX] (EILSEQ): Do not expect.
15758 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15759 Specify type. Require positive value.
15760 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15761 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15762 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15763 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15764 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15765 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15766 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15767 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15768 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15769 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15770 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15771 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15772 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15773 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15774 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15775 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15776 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15777 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15778 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15779 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15780 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15781 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15782 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15783 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15784 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15785 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15786 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15787 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15788 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15789 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15790 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15791 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15792 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15793 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15794 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15795 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15796 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15798 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15799 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15800 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15803 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15804 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15805 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15806 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15808 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15809 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15810 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15811 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15812 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15813 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15814 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15815 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15816 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15817 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15818 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15819 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15820 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15821 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15822 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15823 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15824 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15825 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15826 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15827 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15828 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15829 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15830 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15831 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15832 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15833 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15834 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15835 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15836 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15837 Require >= 2.
15838 (FLT_ROUNDS): Expect as macro, not constant.
15839 (FLT_MANT_DIG): Use macro-int-constant.
15840 (DBL_MANT_DIG): Likewise.
15841 (LDBL_MANT_DIG): Likewise.
15842 (FLT_DIG): Likewise.
15843 (DBL_DIG): Likewise.
15844 (LDBL_DIG): Likewise.
15845 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15846 (DBL_MIN_EXP): Likewise.
15847 (LDBL_MIN_EXP): Likewise.
15848 (FLT_MAX_EXP): Use macro-int-constant.
15849 (DBL_MAX_EXP): Likewise.
15850 (LDBL_MAX_EXP): Likewise.
15851 (FLT_MAX_10_EXP): Likewise.
15852 (DBL_MAX_10_EXP): Likewise.
15853 (LDBL_MAX_10_EXP): Likewise.
15854 (FLT_MAX): Use macro-constant.
15855 (DBL_MAX): Likewise.
15856 (LDBL_MAX): Likewise.
15857 (FLT_EPSILON): Use macro-constant. Give upper bound.
15858 (DBL_EPSILON): Likewise.
15859 (LDBL_EPSILON): Likewise.
15860 (FLT_MIN): Likewise.
15861 (DBL_MIN): Likewise.
15862 (LDBL_MIN): Likewise.
15863 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15864 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15865 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15866 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15867 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15868 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15869 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15870 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15871 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15872 [ISO11] (FLT_TRUE_MIN): Likewise.
15873 [ISO11] (LDBL_TRUE_MIN): Likewise.
15874 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15875 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15876 (SCHAR_MIN): Use macro-int-constant. Specify type.
15877 (SCHAR_MAX): Likewise.
15878 (UCHAR_MAX): Likewise.
15879 (CHAR_MIN): Likewise.
15880 (CHAR_MAX): Likewise.
15881 (MB_LEN_MAX): Use macro-int-constant.
15882 (SHRT_MIN): Use macro-int-constant. Specify type.
15883 (SHRT_MAX): Likewise.
15884 (USHRT_MAX): Likewise.
15885 (INT_MAX): Likewise.
15886 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15887 bound negative.
15888 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15889 bound with "U".
15890 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15891 bound with "L".
15892 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15893 bound negative. Suffix upper bound with "L".
15894 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15895 bound with "UL".
15896 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15897 Specify type.
15898 [C99-based standards] (LLONG_MAX): Likewise.
15899 [C99-based standards] (ULLONG_MAX): Likewise.
15900 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15901 == 0.
15902 [ISO11] (max_align_t): Require type.
15903 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15904
c9140a62
JM
15905 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15906 from $CFLAGS, without defining away __attribute__ calls.
15907 (checknamespace): Use $CFLAGS_namespace.
15908
9af0bf29
JM
15909 * conform/conformtest.pl (@keywords): Only include C99 keywords
15910 for standards based on C99 or C11.
15911
343222a2
JM
15912 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15913 Disable tests.
15914 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15915 UNIX98]: Likewise.
15916
661f8cf0
JM
15917 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15918 usability of symbols in #if.
15919
ee74b9cb
JM
15920 * conform/conformtest.pl: If macro or constant types start
15921 "promoted:", expect the symbol to be of the following type
15922 promoted by the integer promotions.
62fde54f 15923
aafc49b3
JM
15924 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15925 in one place. Also handle "macro-constant".
15926
fefdf574
JM
15927 * conform/conformtest.pl: Only accept expected macro values with
15928 "==". Parse all "macro" lines in one place.
15929 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15930
f2d922fe
JM
15931 * conform/conformtest.pl: Handle braced types on "constant" lines
15932 instead of handling "typed-constant".
15933 * conform/data/signal.h-data: Use "constant" instead of
15934 "typed-constant".
15935
d22956c9
JM
15936 * conform/conformtest.pl: Handle "optional-" at start of lines in
15937 one place rather than duplicating several cases. Handle each
15938 format of "macro" line with initial "optional-".
15939
028e2e38
JM
15940 * conform/conformtest.pl: Only accept expected constant or
15941 optional-constant values with "==". Parse all "constant" lines in
15942 one place. Parse all "optional-constant" lines in one place.
15943 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15944 * conform/data/fmtmsg.h-data: Likewise.
15945 * conform/data/netinet/in.h-data: Likewise.
15946 * conform/data/tar.h-data: Likewise.
15947 * conform/data/limits.h-data: Use "==" form on "constant" and
15948 "optional-constant" lines.
15949
1b8f2850
JM
15950 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15951 Use -std=c99 for XOPEN2K.
15952 (@knownproblems): Remove.
15953 (newtoken): Don't check %isknown.
15954
a05a144b
JM
15955 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15956 Do not expect macro.
15957 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15958 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15959 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15960 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15961 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15962 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15963 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15964 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15965 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15966 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15969 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15970 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15976 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15977 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15978 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15979 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15980 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15987 [XPG3] (acosh): Likewise.
15988 [XPG3] (asinh): Likewise.
15989 [XPG3] (atanh): Likewise.
15990 [XPG3] (cbrt): Likewise.
15991 [XPG3] (expm1): Likewise.
15992 [XPG3] (ilogb): Likewise.
15993 [XPG3] (log1p): Likewise.
15994 [XPG3] (logb): Likewise.
15995 [XPG3] (nextafter): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15998 [XPG3] (remainder): Likewise.
15999 [XPG3] (rint): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16007 [UNIX98 || XOPEN2K] (scalb): Expect.
16008 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16009 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16010 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16013 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16015 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16016 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16017 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16020 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16021 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16024 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16025 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16026 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16027 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16028 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16029 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16030 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16031 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16032 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16033 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16034 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16035 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16036 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16037 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16038 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16039 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16040 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16041 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16042 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16043 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16044 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16045 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16046 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16047 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16048 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16049 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16050 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16051 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16052 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16054 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16055 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16056 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16057 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16058 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16059 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16060 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16061 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16062 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16063 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16064 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16065 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16066 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16067 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16068 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16069 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16070 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16071 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16072 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16075 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16076 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16077 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16078 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16079 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16080 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16081 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16082 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16083 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16084 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16085 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16086 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16087 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16088 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16089 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16090 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16091 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16092 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16093 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16094 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16095 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16096 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16097 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16098 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16099 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16100 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16101 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16102 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16103 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16104 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16105 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16106 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16107 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16108 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16109 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16110 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16111 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16112 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16113 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16115 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16116 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16117 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16118 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16119 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16120 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16121 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16122 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16123 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16124 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16125 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16126 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16127 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16128 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16129 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16130 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16131 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16132 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16133 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16134 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16135 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16136 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16137 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16138 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16139 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16140 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16141 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16142 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16143 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16144 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16145
73c5ebe3
JM
16146 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16147 _XOPEN_SOURCE_EXTENDED for XPG4.
16148
39c33b6c
JM
16149 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16150
62fde54f
JM
16151 * Makeconfig (localtime): Remove variable.
16152 (inst_localtime-file): Likewise.
16153
0741d64c
AS
161542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16155
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16157 Update.
16158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16159 Update.
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16161 Update.
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16163 Update.
16164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16165 Update.
16166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16167 Update.
16168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16169 Update.
16170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16171 Update.
16172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16173 Update.
16174
7cb029ee
JM
161752012-05-01 Joseph Myers <joseph@codesourcery.com>
16176
16177 [BZ #2550]
16178 [BZ #2570]
16179 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16180 comparisons to determine direction to adjust input.
16181 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16182 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16183 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16184 Likewise.
16185 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16186 Likewise.
16187 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16188 Likewise.
16189 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16190 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16191 Likewise.
16192 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16193 Likewise.
16194 * math/libm-test.inc (nexttoward_test): Add more tests.
16195
412bd966
AS
161962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16197
16198 [BZ #14040]
16199 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16200 in version GLIBC_2.1, not GLIBC_2.0.
16201 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16202 Likewise.
16203
9568c0c2
JM
162042012-04-30 Joseph Myers <joseph@codesourcery.com>
16205
adfbc8ac
JM
16206 [BZ #13942]
16207 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16208 (1 - x) * (1 + x).
16209 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16210 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16211 * math/libm-test.inc (acos_test): Add more tests.
16212 (asin_test): Likewise.
16213 * sysdeps/i386/fpu/libm-test-ulps: Update.
16214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16215
5ba3cc69
JM
16216 [BZ #14034]
16217 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16218 of square root.
16219 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16220 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16221 * math/libm-test.inc (acos_test_tonearest): New function.
16222 (acos_test_towardzero): Likewise.
16223 (acos_test_downward): Likewise.
16224 (acos_test_upward): Likewise.
16225 (asin_test_tonearest): Likewise.
16226 (asin_test_towardzero): Likewise.
16227 (asin_test_downward): Likewise.
16228 (asin_test_upward): Likewise.
16229 (main): Call the new functions.
16230 * sysdeps/i386/fpu/libm-test-ulps: Update.
16231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16232
9568c0c2
JM
16233 [BZ #13884]
16234 [BZ #13924]
16235 * math/e_exp10.c: Include <float.h>.
16236 (__ieee754_exp10): Handle underflow here rather than multiplying
16237 large negative argument by M_LN10.
16238 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16239 of __ieee754_expf.
16240 * math/e_exp10l.c: Include <float.h>.
16241 (__ieee754_exp10l): Handle underflow here rather than multiplying
16242 large negative argument by M_LN10l.
16243 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16244 spurious overflow exception on underflow.
16245
5ac3ea17
MP
162462012-04-29 Marek Polacek <polacek@redhat.com>
16247
16248 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16249 (__fortify_function): New macro.
16250 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16251 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16252 __extern_always_inline.
16253 * libio/bits/stdio2.h: Likewise.
16254 * libio/bits/stdio.h: Likewise.
16255 * string/string.h: Likewise.
16256 * string/bits/string3.h: Likewise.
16257 * include/stdio.h: Likewise.
16258 * stdlib/bits/stdlib.h: Likewise.
16259 * stdlib/stdlib.h: Likewise.
16260 * rt/bits/mqueue2.h: Likewise.
16261 * rt/mqueue.h: Likewise.
16262 * posix/bits/unistd.h: Likewise.
16263 * posix/unistd.h: Likewise.
16264 * io/bits/poll2.h: Likewise.
16265 * io/bits/fcntl2.h: Likewise.
16266 * io/fcntl.h: Likewise.
16267 * io/sys/poll.h: Likewise.
16268 * misc/bits/syslog.h: Likewise.
16269 * misc/bits/syslog-ldbl.h: Likewise.
16270 * misc/sys/syslog.h: Likewise.
16271 * socket/bits/socket2.h: Likewise.
16272 * socket/sys/socket.h: Likewise.
16273 * debug/tst-chk1.c: Likewise.
16274 * wcsmbs/bits/wchar2.h: Likewise.
16275 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16276 * wcsmbs/wchar.h: Likewise.
16277
ecf0ebfb
AJ
162782012-04-29 Andreas Jaeger <aj@suse.de>
16279
16280 * Makerules (tests): Remove enable-check-abi protection.
16281 (check-abi-warn): Remove.
16282 (check-abi-%): Remove check-abi-warn usage.
16283
16284 * configure.in: Remove check-abi configure option.
16285 * configure: Regenerated.
16286 * config.make.in (enable-check-abi): Remove.
16287
6d5c57fa
AS
162882012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16289
24c5d07e 16290 [BZ #14033]
ded5180a
AS
16291 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16292 double functions to double *_finite functions.
16293
7e0d315d
AS
16294 [BZ #13941]
16295 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16296 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16297 LDBL_MIN_EXP.
16298 * stdio-common/Makefile (tests): Add tst-sprintf3.
16299 * stdio-common/tst-sprintf3.c: New file.
16300
6d5c57fa
AS
16301 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16302 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16303
0749ff8b
JM
163042012-04-28 Joseph Myers <joseph@codesourcery.com>
16305
16306 * conform/conformtest.pl: Remove duplicate typed-constant
16307 handling.
16308
8dbd5d7b
DM
163092012-04-28 David S. Miller <davem@davemloft.net>
16310
16311 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16312 (check-abi-%): Remove AWK script prerequisite and explicit
16313 abilist directory.
16314 (check-abi): Rewrite to just diff the symlist with the abilist.
16315 (config-tls, config-abi-config): Delete, no longer used.
16316 (update-abi-%): Remove AWK script and explicit abilist directory.
16317 (update-abi): Rewrite to simply compare and conditionally copy the
16318 symlist and the sysdep abilist file. Remove update-abi-config
16319 checks.
16320 * abilist/ld.abilist: Remove.
16321 * abilist/libBrokenLocale.abilist: Remove.
16322 * abilist/libanl.abilist: Remove.
16323 * abilist/libcrypt.abilist: Remove.
16324 * abilist/libdl.abilist: Remove.
16325 * abilist/librt.abilist: Remove.
16326 * abilist/libthread_db.abilist: Remove.
16327 * abilist/libutil.abilist: Remove.
16328 * scripts/extract-abilist.awk: Remove.
16329 * scripts/merge-abilist.awk: Remove.
16330 * sysdeps/generic/libcidn.abilist: New file.
16331 * sysdeps/generic/libnss_compat.abilist: New file.
16332 * sysdeps/generic/libnss_db.abilist: New file.
16333 * sysdeps/generic/libnss_dns.abilist: New file.
16334 * sysdeps/generic/libnss_files.abilist: New file.
16335 * sysdeps/generic/libnss_hesiod.abilist: New file.
16336 * sysdeps/generic/libnss_nis.abilist: New file.
16337 * sysdeps/generic/libnss_nisplus.abilist: New file.
16338 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16339 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16340 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16341 file.
16342 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16343 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16344 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16345 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16346 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16347 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16348 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16349 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16350 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16351 file.
16352 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16353 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16354 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16355 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16356 file.
16357 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16358 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16359 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16360 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16361 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16362 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16363 file.
16364 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16365 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16366 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16367 file.
16368 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16370 New file.
16371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16372 New file.
16373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16374 New file.
16375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16376 New file.
16377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16378 New file.
16379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16380 New file.
16381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16382 New file.
16383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16384 New file.
16385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16386 New file.
16387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16388 New file.
16389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16390 New file.
16391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16392 New file.
16393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16394 New file.
16395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16396 file.
16397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16398 New file.
16399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16400 New file.
16401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16402 file.
16403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16404 New file.
16405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16406 New file.
16407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16408 file.
16409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16410 New file.
16411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16412 New file.
16413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16414 New file.
16415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16416 New file.
16417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16418 New file.
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16420 New file.
16421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16423 file.
16424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16425 New file.
16426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16427 file.
16428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16429 file.
16430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16431 file.
16432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16433 file.
16434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16435 file.
16436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16437 New file.
16438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16439 file.
16440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16441 file.
16442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16443 New file.
16444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16445 file.
16446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16448 file.
16449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16450 New file.
16451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16452 file.
16453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16454 file.
16455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16456 file.
16457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16458 file.
16459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16460 file.
16461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16462 New file.
16463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16464 file.
16465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16466 file.
16467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16468 New file.
16469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16470 file.
16471 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16472 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16473 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16474 file.
16475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16476 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16477 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16478 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16479 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16480 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16481 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16482 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16483 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16484 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16487 file.
16488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16489 New file.
16490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16491 file.
16492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16493 file.
16494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16495 file.
16496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16497 file.
16498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16499 file.
16500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16501 New file.
16502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16503 New file.
16504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16505 file.
16506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16507 New file.
16508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16509 file.
16510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16512 file.
16513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16514 New file.
16515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16516 file.
16517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16518 file.
16519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16520 file.
16521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16522 file.
16523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16524 file.
16525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16526 New file.
16527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16528 New file.
16529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16530 file.
16531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16532 New file.
16533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16534 file.
16535
41d73a1b
JM
165362012-04-28 Joseph Myers <joseph@codesourcery.com>
16537
16538 * conform/conformtest.pl: Fix typo in handling typed-constant from
16539 allow-header.
16540
28aeeda4
JM
165412012-04-27 Joseph Myers <joseph@codesourcery.com>
16542
adae8f5e
JM
16543 * README: Cut down references to pre-2.6 Linux kernels and
16544 Linuxthreads. Update lists of configurations in libc and ports
16545 and sort alphabetically. Say "or newer" with Linux kernel version
16546 requirements.
16547
28aeeda4
JM
16548 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16549
a462cb63
RA
165502012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16551
16552 [BZ #887]
16553 * math/libm-test.inc (logb_test_downward): New test to expose
16554 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16555 rounding mode.
16556
6ad3493e
JM
165572012-04-27 Joseph Myers <joseph@codesourcery.com>
16558
16559 [BZ #14027]
16560 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16561 to be done.
16562 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16563 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16564
2ce4f015
JM
165652012-04-26 Joseph Myers <joseph@codesourcery.com>
16566
5aeb141a
JM
16567 * sysdeps/unix/i386/brk.S: Remove file.
16568 * sysdeps/unix/i386/dl-brk.S: Likewise.
16569 * sysdeps/unix/i386/pipe.S: Likewise.
16570 * sysdeps/unix/i386/sigreturn.S: Likewise.
16571 * sysdeps/unix/i386/syscall.S: Likewise.
16572 * sysdeps/unix/i386/vfork.S: Likewise.
16573 * sysdeps/unix/i386/wait.S: Likewise.
16574
7143acae
JM
16575 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16576 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16577
2ce4f015
JM
16578 * configure.in (arm*-none*): Do not allow without
16579 --enable-hacker-mode.
16580 (netbsd*): Remove case setting base_os.
16581 (386bsd*): Likewise.
16582 (freebsd*): Likewise.
16583 (bsdi*): Likewise.
16584 (osf*): Likewise.
16585 (sunos*): Likewise.
16586 (ultrix*): Likewise.
16587 (newsos*): Likewise.
16588 (dynix*): Likewise.
16589 (*bsd*): Likewise.
16590 (sysv*): Likewise.
16591 (isc*): Likewise.
16592 (esix*): Likewise.
16593 (sco*): Likewise.
16594 (minix*): Likewise.
16595 (irix4*): Likewise.
16596 (irix6*): Likewise.
16597 (solaris[2-9]*): Likewise.
16598 (none): Likewise.
16599 * configure: Regenerated.
16600
0ac229c8
AZ
166012012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16602
16603 [BZ #11521]
16604 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16605 overflow or cancellation in calculating denominator.
16606 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16607 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16608 down expression to avoid unexpected rounding in newer GCCs.
16609 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16610
33f244f4
DM
166112012-04-26 David S. Miller <davem@davemloft.net>
16612
16613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16614 long-double compat symbols.
16615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16628
cfa1f3e8
DM
166292012-04-25 David S. Miller <davem@davemloft.net>
16630
16631 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16632 HWCAP_* values only after the memory barriers have been defined.
16633 (atomic_full_barrier): Define.
16634 (atomic_read_barrier): Define.
16635 (atomic_write_barrier): Define.
16636
6e236b92
SP
166372012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16638
16639 * shlib-versions: Add libgcc_s version information.
16640 * sysdeps/generic/libgcc_s.h: Remove.
16641 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16642 libgcc_s.h.
16643 * sysdeps/gnu/unwind-resume.c: Likewise.
16644 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16645
aab39a09
DM
166462012-04-25 David S. Miller <davem@davemloft.net>
16647
16648 * sysdeps/unix/sparc/brk.S: Delete.
16649 * sysdeps/unix/sparc/dl-brk.S: Delete.
16650 * sysdeps/unix/sparc/pipe.S: Delete.
16651 * sysdeps/unix/sparc/sysdep.S: Delete.
16652 * sysdeps/unix/sparc/sysdep.h: Delete.
16653 * sysdeps/unix/sparc/vfork.S: Delete.
16654 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16655 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16656 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16657 ret_ERRVAL, r0, r1, MOVE): Define.
16658 (JUMPTARGET): Remove.
16659 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16660 sysdeps/unix/sparc/sysdep.h
16661 (ENTRY, END): Remove.
16662 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16663
a3cc4f48
JM
166642012-04-25 Joseph Myers <joseph@codesourcery.com>
16665
2ed8cda2
JM
16666 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16667 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16668 -DIS_IN_build.
16669
35d76d59
JM
16670 * timezone/README: Update upstream location and email address for
16671 tzcode and tzdata.
16672 * timezone/zdump.c: Update from tzcode 2012b.
16673 * timezone/zic.c: Likewise.
16674
a3cc4f48
JM
16675 * configure.in (libc_cv_as_needed): Remove test.
16676 * configure: Regenerated.
16677 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16678 conditional definition.
16679 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16680 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16681 * config.make.in (have-as-needed): Remove variable.
16682
ceab42c3
SP
166832012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16684 Paul Pluzhnikov <ppluzhnikov@google.com>
16685
16686 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16687 strings correctly.
16688
3ce2865f
CLT
166892012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16690
16691 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16692 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16693 * sysdeps/sh/strlen.S: Likewise.
16694
f37e0d68
JM
166952012-04-24 Joseph Myers <joseph@codesourcery.com>
16696
ae186e9a
JM
16697 * sysdeps/unix/fork.S: Remove file.
16698 * sysdeps/unix/i386/fork.S: Likewise.
16699 * sysdeps/unix/sparc/fork.S: Likewise.
16700
b96914af
JM
16701 * sysdeps/unix/system.c: Remove file.
16702 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16703
f37e0d68
JM
16704 * sysdeps/unix/getegid.S: Remove file.
16705 * sysdeps/unix/geteuid.S: Likewise.
16706
87ef29ca
RM
167072012-04-24 Roland McGrath <roland@hack.frob.com>
16708
83bcd236
RM
16709 * scripts/check-localplt.awk: New file.
16710 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16711 of diff.
16712 * scripts/data/localplt-generic.data: Add a comment.
16713
87ef29ca
RM
16714 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16715 NODE when __dir_mkfile failed.
16716 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16717 Reported by Ludovic Courtès <ludo@gnu.org>.
16718
e5a6e567
AJ
167192012-04-24 Andreas Jaeger <aj@suse.de>
16720
16721 * Makerules (common-clean): Also remove gen-as-const-headers
16722 files.
16723
c1820385
JM
167242012-04-24 Joseph Myers <joseph@codesourcery.com>
16725
16726 * Makerules (native-compile): Do not change working directory for
16727 build. Use $(OUTPUT_OPTION) in command.
16728 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16729
94e02fc4
AZ
167302012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16731
16732 [BZ #13886]
16733 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16734 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16735 * math/libm-test.inc (floor_test): Add more tests.
16736 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16737
3a533ca3
JM
167382012-04-24 Joseph Myers <joseph@codesourcery.com>
16739
940ab4b3
JM
16740 * sysdeps/unix/getdents.c: Remove file.
16741 * sysdeps/unix/sysv/getdents.c: Likewise.
16742 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16743
90e037bd
JM
16744 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16745 sysdeps/unix/mman/syscalls.list.
16746 (mmap): Likewise.
16747 (mprotect): Likewise.
16748 (msync): Likewise.
16749 (munmap): Likewise.
16750 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16751 * sysdeps/unix/mman/syscalls.list: Remove.
16752 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16753
3a533ca3
JM
16754 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16755 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16756 * configure: Regenerated.
16757 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16758 $(libgcc_s_suffix).
16759 * config.make.in (libgcc_s_suffix): Remove variable.
16760
1ad743de
JM
167612012-04-23 Joseph Myers <joseph@codesourcery.com>
16762
4ad451e2
JM
16763 * sysdeps/unix/sysv/gethostname.c: Move to ...
16764 * sysdeps/posix/gethostname.c: ... here.
16765
5e37ce39
JM
16766 * sysdeps/unix/execve.S: Remove file.
16767
1ad743de
JM
16768 * sysdeps/unix/_exit.S: Remove file.
16769
4e681b5b
AJ
167702012-04-23 Andreas Jaeger <aj@suse.de>
16771
16772 [BZ #13739]
16773 * manual/Makefile: Remove make dist support, there's no
16774 need for a stand-alone documentation tar ball.
16775 (TEXI2DVI): Define always, it's not in Makeconfig.
16776 (dist): Removed.
16777 (tar-it): Removed.
16778 (edition): Removed.
16779 (glibc-doc-$(edition).tar): Removed
16780 (%.Z): Removed.
16781 (%.gz): Removed.
16782 (%.uu): Removed.
16783 (ETAGS): Remove, it's in Makeconfig.
16784 (move-if-change): Remove, it's in Makeconfig.
16785
38686a03 167862012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16787
16788 [BZ #13970]
16789 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16790 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16791 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16792 (strtod_l, strtof_l, strtold_l): Remove __wur.
16793 It is not necessarily an error to ignore strtol's return value.
16794 One can reliably look at the stored endptr to decide whether
16795 the number had valid syntax.
16796
7c0616fa
AJ
167972012-04-21 Andreas Jaeger <aj@suse.de>
16798
803cb6b7 16799 [BZ #13739]
7c0616fa
AJ
16800 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16801
b0fe253f
JM
168022012-04-21 Joseph Myers <joseph@codesourcery.com>
16803
16804 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16805 * sysdeps/unix/sysv/Versions: Remove file.
16806
8280f22d
MT
168072012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16808
16809 [BZ #13927]
16810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16811
75ce411f 168122012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16813
16814 [BZ #7064]
16815 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16816 version from __vm86.
16817
097d59fa
JM
168182012-04-20 Joseph Myers <joseph@codesourcery.com>
16819
a90f3bcb
JM
16820 * sysdeps/unix/common/lxstat.c: Remove file.
16821 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16822
edc7ea78
JM
16823 * sysdeps/unix/sysv/Makefile: Remove file.
16824
cb78c221
JM
16825 * sysdeps/unix/sysv/direct.h: Remove file.
16826
efa6a45f
JM
16827 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16828 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16829 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16830 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16831 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16832 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16833 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16834
9c9f2d0c
JM
16835 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16836
4541c83b
JM
16837 * sysdeps/unix/xmknod.c: Remove file.
16838 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16839
f5d153a0
JM
16840 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16841
aa746595
JM
16842 * sysdeps/unix/sysv/i386/time.S: Remove file.
16843
cce5905e
JM
16844 * sysdeps/unix/fxstat.c: Remove file.
16845 * sysdeps/unix/xstat.c: Likewise.
16846 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16847
37fa3841
JM
16848 * sysdeps/unix/sysv/sigaction.c: Remove file.
16849
ff1962a3
JM
16850 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16851 (sysdep_headers): Remove variable.
16852 [termio.h not in sysdep_headers] (generated): Likewise.
16853 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16854 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16855 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16856 * sysdeps/unix/sysv/tcflow.c: Likewise.
16857 * sysdeps/unix/sysv/tcflush.c: Likewise.
16858 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16859 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16860 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16861 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16862 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16863
e7740d31
JM
16864 * sysdeps/unix/siglist.c: Remove file.
16865
ee06f18b
JM
16866 * sysdeps/unix/getppid.S: Remove file.
16867
097d59fa
JM
16868 * sysdeps/unix/mkdir.c: Remove file.
16869 * sysdeps/unix/rmdir.c: Likewise.
16870
ff3d51ec
AS
168712012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16872
16873 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16874 ERR_MAX value.
16875 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16876 errlist-compat value.
16877
50f81fd7
DM
168782012-04-18 David S. Miller <davem@davemloft.net>
16879
16880 * sysdeps/generic/memcopy.h (reg_char): Delete.
16881 * debug/strcat_chk.c: Use char, not reg_char.
16882 * debug/strcpy_chk.c: Likewise.
16883 * debug/strncat_chk.c: Likewise.
16884 * debug/strncpy_chk.c: Likewise.
16885 * string/memchr.c: Likewise.
16886 * string/memrchr.c: Likewise.
16887 * string/rawmemchr.c: Likewise.
16888 * string/strcat.c: Likewise.
16889 * string/strchr.c: Likewise.
16890 * string/strchrnul.c: Likewise.
16891 * string/strcmp.c: Likewise.
16892 * string/strcpy.c: Likewise.
16893 * string/strncat.c: Likewise.
16894 * string/strncmp.c: Likewise.
16895 * string/strncpy.c: Likewise.
16896
8ff41c46
WS
168972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16898
16899 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16900 __builtin_memcopy is called when src and dest ranges are known to not
16901 overlap.
16902
6b652f46
WS
169032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16904
16905 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16906 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16907 fwd_align_merge macro call.
16908 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16909 bwd_align_merge macro call.
16910 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16911
b282631e
WS
169122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16913
16914 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16915 bwd_align_merge macros.
16916 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16917 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16918 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16919
95aa737c
DM
169202012-04-18 David S. Miller <davem@davemloft.net>
16921
16922 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16923
7a99a614
AJ
169242012-04-18 Andreas Jaeger <aj@suse.de>
16925
16926 [BZ# 6794]
16927 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16928 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16929 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16930
16931 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16932 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16933 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16934
16935 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16936 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16937 Adjust for changed ldbl-128 files.
16938
16939 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16940 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16941 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16942
e5270c23
DM
169432012-04-17 David S. Miller <davem@davemloft.net>
16944
16945 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16946
fb5e92c9
AS
169472012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16948
16949 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16950 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16951 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16952 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16953 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16954 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16955
76da7265
AZ
169562012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16957
16958 [BZ #6794]
16959 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16960 * math/libm-test.inc: Add ilogb errno and exception tests.
16961 * math/w_ilogb.c: New file: ilogb wrapper.
16962 * math/w_ilogbf.c: New file: ilogbf wrapper.
16963 * math/w_ilogbl.c: New file: ilogbl wrapper.
16964 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16965 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16966 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16967 exception being thrown with 0.0 as argument.
16968 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16969 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16970 exception being thrown with 0.0 as argument.
16971 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16972 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16973 exception being thrown with 0.0 as argument.
16974 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16975 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16976 exception being thrown with 0.0 as argument.
16977 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16978 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16979 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16980 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16981 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16982 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16983 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16984 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16985 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16986
0396e69d
PB
169872012-04-17 Petr Baudis <pasky@ucw.cz>
16988
16989 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16990 with altivec.
16991
750b5926
MP
169922012-04-16 Marek Polacek <polacek@redhat.com>
16993
16994 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16995
751728a1
MP
169962012-04-16 Marek Polacek <polacek@redhat.com>
16997
16998 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16999 operands of fdivp instruction.
17000
34a27407
L
170012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17002
17003 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17004 * elf/tst-auditmod3b.c: Likewise.
17005 * elf/tst-auditmod4b.c: Likewise.
17006 * elf/tst-auditmod5b.c: Likewise.
17007 * elf/tst-auditmod6b.c: Likewise.
17008 * elf/tst-auditmod6c.c: Likewise.
17009 * elf/tst-auditmod7b.c: Likewise.
17010 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17011 * sysdeps/x86_64/preconfigure.in: Likewise.
17012 * sysdeps/x86_64/preconfigure: Regenerated.
17013
7e73e17d
L
170142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17015
17016 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17017 __ILP32__.
17018
c7a6ab72
AB
170192012-04-13 Antoine Balestrat <merkil33@gmail.com>
17020
17021 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17022 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17023
a9e8e0e0
CL
170242012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17025
17026 [BZ #13973]
17027 * locale/iso-639.def: Fix gl language name. Spotted by
17028 Yaron Shahrabani.
17029
ec98af7d
RM
170302012-04-12 Roland McGrath <roland@hack.frob.com>
17031
17032 [BZ #2074]
17033 * libio/libio.h (__io_write_fn): Update comment.
17034
247c3ede
PB
170352012-04-12 Petr Baudis <pasky@ucw.cz>
17036
17037 [BZ #2074]
17038 * stdio.texi (Hook Functions): The user provided writer function
17039 is not allowed to return -1.
17040
55939d6d
DM
170412012-04-11 David S. Miller <davem@davemloft.net>
17042
17043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17044
90020f5a
MF
170452012-04-11 Mike Frysinger <vapier@gentoo.org>
17046
17047 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17048 Add a leading slash to rtkaio.
17049
288f9098
JM
170502012-04-11 Jim Meyering <meyering@redhat.com>
17051
90020f5a
MF
17052 [BZ #11959]
17053 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17054 It is not necessarily an error to ignore fwrite's return
17055 value. One can reliably use ferror to test for errors after
17056 the fact.
288f9098 17057
4be2b570
L
170582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17059
17060 * bits/types.h (__snseconds_t): New type.
17061 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17062
17063 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17065 (__SNSECONDS_T_TYPE): Likewise.
17066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17067 (__SNSECONDS_T_TYPE): Likewise.
17068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17069 (__SNSECONDS_T_TYPE): Likewise.
17070
288f9098 170712012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17072
17073 [BZ #2636]
17074 * manual/time.texi (Processor Time): Return type of times is
17075 elapsed real time since an arbitrary point in the past.
17076 (CPU Time): Move CLK_TCK from here...
17077 (Processor Time): ...to here. Correct description.
17078 * manual/conf.texi (Constants for Sysconf): Correct description of
17079 _SC_CLK_TCK.
17080
d7dd4413
DM
170812012-04-10 David S. Miller <davem@davemloft.net>
17082
17083 [BZ #13967]
17084 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17085 where the is a gap between DT_REL(A) and DT_JMPREL.
17086
b46068fc
L
170872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17088
17089 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17090 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17091 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17092
73d65cc3
SP
170932012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17094
17095 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17096 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17097 (dl_main): Handle --inhibit-cache.
17098 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17099 _dl_inhibit_cache.
17100 * elf/dl-load.c (_dl_map_object): Use it.
17101 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17102
bcc8d661
JM
171032012-04-09 Joseph Myers <joseph@codesourcery.com>
17104
8f9a2fae
JM
17105 [BZ #13872]
17106 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17107 (__ieee754_powl): Saturate large exponents rather than testing for
17108 overflow of y*log2(x).
17109 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17110 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17111 exceptions.
17112
bcc8d661
JM
17113 [BZ #11521]
17114 * math/s_ctan.c: Include <float.h>.
17115 (__ctan): Avoid internal overflow or cancellation in calculating
17116 denominator.
17117 * math/s_ctanf.c: Likewise.
17118 * math/s_ctanl.c: Likewise.
17119 * math/s_ctanh.c: Likewise.
17120 * math/s_ctanhf.c: Likewise.
17121 * math/s_ctanhl.c: Likewise.
17122 * math/libm-test.inc (ctan_test): Add more tests.
17123 (ctanh_test): Likewise.
17124 * sysdeps/i386/fpu/libm-test-ulps: Update.
17125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17126
823fbbb4
AJ
171272012-04-09 Andreas Jaeger <aj@suse.de>
17128
03879793
AJ
17129 [BZ #6894]
17130 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17131 is an optional BSD extension.
17132
823fbbb4
AJ
17133 [BZ #10254]
17134 * manual/stdio.texi (Opening Streams): Document additional fopen
17135 parameters.
17136
8de131cb
RM
171372012-04-09 Roland McGrath <roland@hack.frob.com>
17138
17139 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17140 %eax without telling the compiler.
17141
c0ed9d7d
CD
171422012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17143
17144 [BZ # 13963]
17145 * manual/install.texi: Use sourceware.org.
17146
c483f6b4
JM
171472012-04-09 Joseph Myers <joseph@codesourcery.com>
17148
d7dd9453
JM
17149 [BZ #13873]
17150 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17151 (__ieee754_pow): Generate overflow and underflow using huge*huge
17152 and tiny*tiny rather than just returning constant infinity or zero
17153 for large exponents.
17154 * math/libm-test.inc (pow_test): Require overflow exceptions for
17155 applicable cases of large exponents.
17156
c483f6b4
JM
17157 [BZ #706]
17158 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17159 (__ieee754_pow): Use iterative multiplication algorithm only for
17160 integer exponents with absolute value below 1024. Check for odd
17161 integer exponents when using algorithm for real exponents.
17162 * math/libm-test.inc (pow_test): Add more tests.
17163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17164
d2de7579
JM
171652012-04-08 Joseph Myers <joseph@codesourcery.com>
17166
17167 [BZ #13705]
17168 * math/libm-test.inc (exp_test): Do not allow overflow exception
17169 on underflow test.
17170
f77f1232
AJ
171712012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17172
17173 [BZ #13705]
17174 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17175 instead of __kernel_standard_f.
17176
3884932b
MF
171772012-04-08 Mike Frysinger <vapier@gentoo.org>
17178
17179 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17180 * sysdeps/x86_64/memset_chk.S: Likewise.
17181
54472e9c
AJ
171822012-04-08 Andreas Jaeger <aj@suse.de>
17183
6ab0fbfc
AJ
17184 [BZ #10153]
17185 * manual/startup.texi (Environment Access): Describe return value
17186 for putenv and setenv.
17187
61efba8c
AJ
17188 [BZ #6895]
17189 * manual/filesys.texi (Directory Entries): Add description for
17190 DT_LNK.
17191
95c3f29a
AJ
17192 [BZ #6890]
17193 * manual/filesys.texi (Directory Entries): Clarify that it's file
17194 system not operating system in the description of DT_UNKNOWN.
17195
54472e9c
AJ
17196 [BZ #6578]
17197 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17198
624254b1
SC
171992012-04-08 Stephen Compall <s11@member.fsf.org>
17200
17201 [BZ #6649]
17202 * manual/llio.texi (Opening and Closing Files): Add cross
17203 reference to explain mode argument.
17204
1e4920e0
MF
172052012-04-07 Mike Frysinger <vapier@gentoo.org>
17206
17207 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17208 * sysdeps/x86_64/memset_chk.S: Likewise.
17209
5ed848f3
DM
172102012-04-07 David S. Miller <davem@davemloft.net>
17211
17212 * elf/elf.h (R_SPARC_WDISP10): Define.
17213 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17214 R_SPARC_SIZE32.
17215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17216 R_SPARC_SIZE64 and R_SPARC_H34.
17217
96154cd8
CD
172182012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17219
17220 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17221 conditions and remove no longer applicable assertion.
17222
9904dc47
L
172232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17224
17225 * bits/byteswap.h: Include <features.h>.
17226 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17227 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17228
f8887d0a
L
172292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17230
17231 * bits/byteswap.h (__bswap_16): Removed.
17232 Include <bits/byteswap-16.h> to get __bswap_16.
17233 * sysdeps/i386/bits/byteswap.h: Likewise.
17234 * sysdeps/s390/bits/byteswap.h: Likewise.
17235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17236 * bits/byteswap-16.h: New file.
17237 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17238 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17239 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17240 * string/Makefile (headers): Add bits/byteswap-16.h.
17241
62470f60
PP
172422012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17243
17244 [BZ #13895]
17245 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17246 extra indirection.
17247 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17248 * nss/tst-nss-static.c: New.
17249
4dad7bab
RM
172502012-04-06 Robert Millan <rmh@gnu.org>
17251
17252 [BZ #6486]
17253 * manual/llio.texi (File Position Primitive): lseek
17254 refers to WHENCE when it really means OFFSET.
17255
e9142a17
AJ
172562012-04-06 Andreas Jaeger <aj@suse.de>
17257
2c040eff
AJ
17258 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17259 strncmp declarations.
17260
e9142a17
AJ
17261 * abilist/libc.abilist: Add __poll and __ppoll.
17262
ff9f1c5f
DM
172632012-04-05 David S. Miller <davem@davemloft.net>
17264
dcd2ae90
DM
17265 * scripts/check-local-headers.sh: Accept a host triplet in the
17266 path matched by the exclude regexp.
17267
993eb054
DM
17268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17269 definition.
17270 * sysdeps/powerpc/powerpc32/dl-machine.h
17271 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17272 * sysdeps/s390/s390-32/dl-machine.h
17273 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17274 * sysdeps/sparc/sparc32/dl-machine.h
17275 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17276 * sysdeps/sparc/sparc64/dl-machine.h
17277 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17278
ff9f1c5f
DM
17279 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17280 lazy binding.
48e2e132 17281 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17282 undefined symbol errors.
17283
48e2e132 17284 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17285 DT_NEEDED entries.
17286
e80d6f94
MM
172872012-04-05 Michael Matz <matz@suse.de>
17288
17289 [BZ #13592]
17290 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17291
349fa79f
AJ
172922012-04-05 Andreas Jaeger <aj@suse.de>
17293
17294 [BZ #13908]
17295 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17296 comment.
17297
f402708f
KK
172982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17299
17300 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17301 which ROUND is no valid rounding mode.
17302
2ecccfc9
KK
173032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17304
17305 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17306 read again.
17307 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17308
8a53f50f
KK
173092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17310
17311 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17312 an exception using FPU order intentionally.
17313
173142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17315
17316 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17317 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17318 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17319 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17320
d653abb7
SJ
173212012-04-05 Simon Josefsson <simon@josefsson.org>
17322
17323 [BZ #12340]
17324 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17325 EINVAL when BUFLEN is too smal.
17326
c3b1bf7d
TS
173272012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17328
17329 [BZ #13553]
17330 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17331 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17332
b1aa60f3
AJ
173332012-04-03 Andreas Jaeger <aj@suse.de>
17334
c3b1bf7d 17335 [BZ #13938]
67f60a26
AJ
17336 * manual/setjmp.texi (System V contexts): Fix sentence.
17337
b1aa60f3
AJ
17338 [BZ #13926]
17339 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17340 New macro for this case.
17341 [!__GNUC__] (__bswap_64): New inline function for this case.
17342 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17343 * bits/byteswap.h: Likewise.
17344 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17345 ull, guard with __GLIBC_HAVE_LONG_LONG.
17346
17347 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17348 __GLIBC_HAVE_LONG_LONG.
17349
17350 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17351 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17352
39c59c35
TMQMF
173532012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17354
17355 [BZ #13691]
17356 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17357 inptr and inend, rather than using last_ch.
17358
135ffda8
DM
173592012-04-02 David S. Miller <davem@davemloft.net>
17360
17361 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17362 * stdio-common/printf-parse.h (read_int): Change return type to
17363 'int', return -1 on INT_MAX overflow.
17364 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17365 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17366 overflows INT_MAX. Check for overflow of in-format-string precision
17367 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17368 SIZE_MAX not INT_MAX for integer overflow test.
17369 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17370 skip the construct in the format string but do not record anything.
17371 * stdio-common/bug22.c: Adjust to test both width/prevision
17372 INT_MAX overflow as well as total length INT_MAX overflow. Check
17373 explicitly for proper errno values.
17374
228c019e
TS
173752012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17376
302cadd3
TS
17377 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17378 CHAR_MAX.
17379 * string/test-strcmp.c [! WIDE]: Likewise.
17380 * time/tst-mktime2.c: Likewise for INT_MAX.
17381 * string/test-string.h: #include <sys/param.h> for MIN.
17382
228c019e
TS
17383 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17384 * sysdeps/i386/init-first.c (init): Likewise.
17385 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17386 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17387 * sysdeps/sh/init-first.c (init): Likewise.
17388
cfa633f5
UD
173892012-04-01 Ulrich Drepper <drepper@gmail.com>
17390
17391 * po/ru.po: Update from translation team.
d1635ef8 17392 * po/vi.po: Likewise.
cfa633f5 17393
6cd0a5ea
SP
173942012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17395
17396 * resolv/nss_dns/dns-host.c: Merge copyright years.
17397
4b43400f
LD
173982012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17399
17400 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17401 Optimize memcpy with prefetch if
17402 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17403 src, dst pointers have unequal 16 byte alignments.
17404
48c41d04
SP
174052012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17406
17407 [BZ #13928]
17408 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17409 from a CNAME entry and return the minimum ttl for the query.
17410 (gaih_getanswer_slice): Likewise.
17411
b8dc394d
JL
174122012-03-30 Jeff Law <law@redhat.com>
17413
17414 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17415 due to long keys.
17416 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17417 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17418
2f5a5ed0
JL
17419 * resolv/nss_dns/dns-host.c: Update copyright year.
17420
1d39e359
UD
174212012-03-30 Ulrich Drepper <drepper@gmail.com>
17422
c030f70c 17423 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17424 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17425
1d39e359
UD
17426 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17427 comments for sendmmsg.
17428
174292012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17430
17431 [BZ #13691]
17432 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17433 with only 1 character between 0x0041 and 0x01b0.
17434 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17435 * wcsmbs/tst-mbsnrtowcs.c: New file.
17436
20fde227
DM
174372012-03-29 David S. Miller <davem@davemloft.net>
17438
17439 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17440 small copies by hand.
17441
984a4237
JL
174422012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17443
17444 [BZ #13761]
17445 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17446 _nss_compat_initgroups_dyn): Fall back to malloc/free
17447 for large group memberships.
17448
18c9d62b
DM
174492012-03-28 David S. Miller <davem@davemloft.net>
17450
88d85d4f
DM
17451 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17452 that branches into memcpy.
17453 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17454 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17455 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17456 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17458 bits.
17459 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17460 implementation too.
17461 * sysdeps/sparc/mempcpy.S: New file.
17462
e5aa83e1
DM
17463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17464 the IFUNC routine in the libc case.
17465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17466
88570753
DM
17467 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17468 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17469 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17470 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17471 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17472 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17473 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17474 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17475
249d7567
DM
17476 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17477 loop to 256 bytes instead of 64 bytes and fix test signedness.
17478
18c9d62b
DM
17479 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17480 * sysdeps/sparc/sparc32/Makefile: rather than here...
17481 * sysdeps/sparc/sparc64/Makefile: and here.
17482
05f3d1f6
UD
174832012-03-28 Ulrich Drepper <drepper@gmail.com>
17484
17485 * malloc/mallocbug.c: Avoid warnings about unused variables.
17486
86ae07a8
JL
174872012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17488
17489 [BZ #13760]
17490 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17491 in the right place. Discard and retry query if response is
17492 larger than input buffer size.
17493
41bf21a1
JM
174942012-03-28 Joseph Myers <joseph@codesourcery.com>
17495
d6270972
JM
17496 [BZ #369]
17497 [BZ #2678]
17498 [BZ #3866]
17499 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17500 x for large integer exponent.
17501 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17502 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17503 sign of result as needed afterwards.
17504 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17505 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17506 result for underflowing pow the same as for overflow.
17507 (__kernel_standard_l): Handle powl overflow and underflow here
17508 rather than calling __kernel_standard.
17509 * math/libm-test.inc (pow_test): Add more tests.
17510
414fca03 17511 [BZ #3868]
41bf21a1
JM
17512 [BZ #13879]
17513 [BZ #13910]
17514 [BZ #13911]
17515 [BZ #13912]
17516 [BZ #13913]
17517 [BZ #13915]
17518 [BZ #13916]
17519 [BZ #13917]
17520 [BZ #13918]
17521 [BZ #13919]
17522 [BZ #13920]
17523 [BZ #13921]
17524 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17525 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17526 (__kernel_standard_l): New function.
17527 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17528 __kernel_standard.
17529 * math/w_acosl.c (__acosl): Likewise.
17530 * math/w_asinl.c (__asinl): Likewise.
17531 * math/w_atan2l.c (__atan2l): Likewise.
17532 * math/w_atanhl.c (__atanhl): Likewise.
17533 * math/w_coshl.c (__coshl): Likewise.
17534 * math/w_exp10l.c (__exp10l): Likewise.
17535 * math/w_exp2l.c (__exp2l): Likewise.
17536 * math/w_fmodl.c (__fmodl): Likewise.
17537 * math/w_hypotl.c (__hypotl): Likewise.
17538 * math/w_j0l.c (__j0l, __y0l): Likewise.
17539 * math/w_j1l.c (__j1l, __y1l): Likewise.
17540 * math/w_jnl.c (__jnl, __ynl): Likewise.
17541 * math/w_lgammal.c (__lgammal): Likewise.
17542 * math/w_log10l.c (__log10l): Likewise.
17543 * math/w_log2l.c (__log2l): Likewise.
17544 * math/w_logl.c (__logl): Likewise.
17545 * math/w_powl.c (__powl): Likewise.
17546 * math/w_remainderl.c (__remainderl): Likewise.
17547 * math/w_scalbl.c (sysv_scalbl): Likewise.
17548 * math/w_sinhl.c (__sinhl): Likewise.
17549 * math/w_sqrtl.c (__sqrtl): Likewise.
17550 * math/w_tgammal.c (__tgammal): Likewise.
17551 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17552 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17553 * math/libm-test.inc (acos_test): Add more tests.
17554 (acosh_test): Likewise.
17555 (asin_test): Likewise.
17556 (atanh_test): Likewise.
17557 (exp_test): Likewise.
17558 (exp10_test): Likewise.
17559 (exp2_test): Likewise.
17560 (expm1_test): Likewise.
17561 (lgamma_test): Likewise.
17562 (log_test): Likewise.
17563 (log10_test): Likewise.
17564 (log1p_test): Likewise.
17565 (log2_test): Likewise.
17566 (pow_test): Do not allow some spurious overflow exceptions.
17567 (sqrt_test): Add more tests.
17568 (tgamma_test): Likewise.
17569 (y0_test): Likewise.
17570 (y1_test): Likewise.
17571 (yn_test): Likewise.
17572
dd62fda6
AB
175732012-03-27 Anton Blanchard <anton@samba.org>
17574
17575 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17576 MAP_HUGETLB.
17577 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17578 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17579 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17580
1e3cdfda
AJ
175812012-03-27 David S. Miller <davem@davemloft.net>
17582
b855ab85
DM
17583 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17584
1e3cdfda
AJ
17585 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17586 have-as-vis3 check.
17587
175882012-03-27 Andreas Jaeger <aj@suse.de>
17589
17590 * sysdeps/x86_64/elf/configure.in: Moved to ...
17591 * sysdeps/x86_64/configure.in: ... here.
17592 * sysdeps/x86_64/elf/start.S: Moved to ...
17593 * sysdeps/x86_64/start.S: ... here.
17594 * sysdeps/x86_64/elf/configure: Delete.
17595
17596 * sysdeps/x86_64/configure.in: Merge contents from
17597 sysdeps/i386/configure.in (without i686 check).
17598
17599 * sysdeps/i386/elf/Versions: Merge into ...
17600 * sysdeps/i386/Versions: ... this.
17601 * sysdeps/i386/elf/Versions: Delete file.
17602 * sysdeps/i386/elf/start.S: Moved to ...
17603 * sysdeps/i386/start.S: ...here.
17604 * sysdeps/i386/elf/configure.in: Merge into...
17605 * sysdeps/i386/configure.in: ...here.
17606 * sysdeps/i386/elf/configure.in: Delete file.
17607 * sysdeps/i386/elf/configure: Delete file.
17608
17609 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17610 * debug/backtracesyms.c: ... here.
17611 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17612 * debug/backtracesymsfd.c: ... here.
17613 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17614 * sysdeps/generic/ifunc-sel.h: ... here.
17615
17616 * sysdeps/unix/i386/start.c: Delete file.
17617 * sysdeps/unix/sparc/start.c: Delete file.
17618 * sysdeps/unix/start.c: Delete file.
17619
17620 * sysdeps/sh/elf/configure.in: Moved to ...
17621 * sysdeps/sh/configure.in: ... here.
17622 * sysdeps/sh/elf/start.S: Moved to ...
17623 * sysdeps/sh/start.S: ... here.
17624 * sysdeps/sh/elf/configure: Delete file.
17625
17626 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17627 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17628 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17629 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17630 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17631 * sysdeps/powerpc/powerpc64/start.S: here.
17632 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17633 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17634 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17635 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17636 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17637
17638 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17639 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17640 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17641 * sysdeps/powerpc/powerpc32/start.S: ... here.
17642 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17643 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17644 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17645
17646 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17647 * sysdeps/powerpc/ifunc-sel.h: ... here.
17648 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17649 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17650
17651 * sysdeps/sparc/elf/configure.in: Moved to ...
17652 * sysdeps/sparc/configure.in: ... here.
17653 * sysdeps/sparc/elf/configure: Delete file.
17654 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17655 * sysdeps/sparc/sparc32/start.S: ... here.
17656 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17657 * sysdeps/sparc/sparc64/start.S: ... here.
17658 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17659 * sysdeps/sparc/sparc32/Makefile: ... this.
17660 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17661 * sysdeps/sparc/sparc64/Makefile: ... this.
17662
17663 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17664 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17665 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17666 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17667 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17668 * sysdeps/s390/s390-32/setjmp.S: ... here.
17669 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17670 * sysdeps/s390/s390-32/configure.in: ... here.
17671 * sysdeps/s390/s390-32/elf/configure: Delete file.
17672 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17673 * sysdeps/s390/s390-32/start.S: ... here.
17674
17675 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17676 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17677 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17678 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17679 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17680 * sysdeps/s390/s390-64/setjmp.S: ... here.
17681 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17682 * sysdeps/s390/s390-64/configure.in: ... here
17683 * sysdeps/s390/s390-64/elf/configure: Delete file.
17684 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17685 * sysdeps/s390/s390-64/start.S: ... here.
17686 * sysdeps/s390/s390-64/elf/configure: Delete.
17687
17688 * configure.in: Remove support for elf directories in sysdeps.
17689
17690 * configure: Regenerated.
17691 * sysdeps/i386/configure: Regenerated.
17692 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17693 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17694 * sysdeps/s390/s390-32/configure: Regenerated.
17695 * sysdeps/s390/s390-64/configure: Regenerated.
17696 * sysdeps/sh/configure: Regenerated.
17697 * sysdeps/sparc/configure: Regenerated.
17698 * sysdeps/x86_64/configure: Regenerated.
17699
a3f61311
AS
177002012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17701
c876e002
AS
17702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17703
a3f61311
AS
17704 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17705 denormal result into account.
17706
ac4c54f0
RM
177072012-03-25 Roland McGrath <roland@hack.frob.com>
17708
17709 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17710 Reported by Allan McRae <allan@archlinux.org>.
17711
6a9b9c02
JL
177122012-03-23 Jeff Law <law@redhat.com>
17713
17714 * nss/getnssent.c (__nss_getent): Fix typo.
17715
4c42a0c1
DM
177162012-03-23 David S. Miller <davem@davemloft.net>
17717
17718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17719
1532c7ac
L
177202012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17721
17722 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17723 to pad to uint64_t for each field.
17724 (dl_tls_index): Replace unsigned long with uint64_t.
17725
3ff42526
PP
177262012-03-23 Daniel Jacobowitz <dmj@google.com>
17727 Paul Pluzhnikov <ppluzhnikov@google.com>
17728
17729 [BZ #6528]
17730 * grp/Makefile (otherlibs): Don't set it.
17731 * inet/Makefile (otherlibs): Likewise.
17732 * login/Makefile (otherlibs): Likewise.
17733 * nscd/Makefile (otherlibs): Likewise.
17734 * posix/Makefile (otherlibs): Likewise.
17735 * pwd/Makefile (otherlibs): Likewise.
17736 * rt/Makefile (otherlibs): Likewise.
17737 * sunrpc/Makefile (otherlibs): Likewise.
17738 * nss/Makefile (otherlibs): Likewise.
17739 Add libnss_files to routines and static-only-routines.
17740 ($(objpfx)getent): Remove rule.
17741 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17742 static-only-routines.
17743
7c69cd14
JM
177442012-03-22 Joseph Myers <joseph@codesourcery.com>
17745
17746 [BZ #13892]
17747 * math/s_cexp.c: Include <float.h>.
17748 (__cexp): Handle exp result overflowing not necessarily
17749 overflowing both real and imaginary parts of result.
17750 * math/s_cexpf.c: Likewise.
17751 * math/s_cexpl.c: Likewise.
17752 * math/libm-test.inc (cexp_test): Add more tests.
17753 * sysdeps/i386/fpu/libm-test-ulps: Update.
17754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17755
81b035fe
L
177562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17757
17758 * include/link.h (ELFW): New macro.
17759 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17760 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17761
1da7940c
L
177622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17763
17764 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17765 with uint64_t.
17766
b749dbb9
L
177672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17768
17769 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17770 declaration.
17771 (struct La_x32_retval): Likewise.
17772
2ff87f3f
L
177732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17774
17775 * sysdeps/x86_64/preconfigure.in: New file.
17776 * sysdeps/x86_64/preconfigure: New generated file.
17777
c0df8e69
JM
177782012-03-22 Joseph Myers <joseph@codesourcery.com>
17779
48e44791
JM
17780 [BZ #13824]
17781 * math/e_exp2l.c: Include <float.h>.
17782 (__ieee754_exp2l): Handle overflow and underflow cases
17783 separately. Only pass fractional part of argument to
17784 __ieee754_expl.
17785 * math/libm-test.inc (exp2_test): Add more tests.
17786
c0df8e69
JM
17787 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17788 negating x to take absolute value.
17789 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17790 Likewise.
17791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17793 Likewise.
17794 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17795 computing low part if x was negated.
17796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17797
c8e43ba7
L
177982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17799
17800 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17801 la_x32_gnu_pltexit.
17802 (pltexit): Cast int_retval to ptrdiff_t.
17803 * elf/tst-auditmod3b.c: Likewise.
17804 * elf/tst-auditmod4b.c: Likewise.
17805 * elf/tst-auditmod5b.c: Likewise.
17806 * elf/tst-auditmod6b.c: Likewise.
17807 * elf/tst-auditmod6c.c: Likewise.
17808 * elf/tst-auditmod7b.c: Likewise.
17809
17810 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17811 and x32_gnu_pltexit.
17812
17813 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17814 __ELF_NATIVE_CLASS.
17815 (La_x32_regs): New macro.
17816 (La_x32_retval): Likewise.
17817 (la_x32_gnu_pltenter): New function prototype.
17818 (la_x32_gnu_pltexit): Likewise.
17819
7998fa78
AS
178202012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17821
dcb33988
AS
17822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17823 exponent.
17824
233fc563
AS
17825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17826
7998fa78
AS
17827 * configure.in (libc_cv_cc_nofma): Check for option to disable
17828 generation of FMA instructions.
17829 * configure: Regenerate.
17830 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17831 * sysdeps/ieee754/dbl-64/Makefile: New file.
17832 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17833 Remove brandred-fma4.
17834 (CFLAGS-brandred-fma4.c): Remove.
17835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17836 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17837 define.
17838 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17839 define.
17840
8e95c99a
L
178412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17842
17843 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17844 LLONG_MAX != LONG_MAX.
17845 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17846 (_fitoa_word): Likewise.
17847 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17848 LLONG_MAX != LONG_MAX.
17849 * stdio-common/_itowa.h: Include <_itoa.h>.
17850 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17851 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17852 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17853 only if not defined.
17854 (_ITOA_WORD_TYPE): Likewise.
17855 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17856 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17857
6f4db457
DM
178582012-03-21 David S. Miller <davem@davemloft.net>
17859
17860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17861
7785fe5a
L
178622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17863
17864 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17865 of x86_64 when setting libc_cv_slibdir, libdir and
17866 libc_cv_localedir.
17867 * sysdeps/unix/sysv/linux/configure: Regenerated.
17868
4535cd55
JM
178692012-03-21 Joseph Myers <joseph@codesourcery.com>
17870
17871 * manual/lang.texi (Old Varargs): Remove section.
17872 (How Variadic): Update menu.
17873 (va_start): Do not mention varargs.h.
17874
17228132
TS
178752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17876 Joseph Myers <joseph@codesourcery.com>
17877
17878 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17879 link test.
17880 * configure: Regenerated.
17881
8149f976
TS
178822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17883
05f3d1f6
UD
17884 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17885 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17886 conformtest.pl
8149f976 17887
1a4ac776
JM
178882012-03-21 Joseph Myers <joseph@codesourcery.com>
17889
be22ce65
JM
17890 * NOTES: Remove.
17891 * Makefile (files-for-dist): Remove NOTES.
17892 (NOTES): Remove rule.
17893 * README: Don't refer to NOTES.
17894 * manual/creature.texi: Don't include macros.texi.
17895 * manual/intro.texi (creature.texi): Remove comment referring to
17896 NOTES.
17897
40b601fb
JM
17898 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17899 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17900 * configure: Regenerated.
17901 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17902 LIBC_TRY_CC_OPTION.
17903 (libc_cv_as_i686): Likewise.
17904 (libc_cv_cc_avx): Likewise.
17905 (libc_cv_cc_sse2avx): Likewise.
17906 (libc_cv_cc_fma4): Likewise.
17907 (libc_cv_cc_novzeroupper): Likewise.
17908 * sysdeps/i386/configure: Regenerated.
17909
1a4ac776
JM
17910 [BZ #13883]
17911 * sysdeps/i386/fpu/s_cexp.S: Remove.
17912 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17913 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17914 * math/libm-test.inc (cexp_test): Add more tests.
17915 * sysdeps/i386/fpu/libm-test-ulps: Update.
17916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17917
a458e7fe
AM
179182012-03-21 Allan McRae <allan@archlinux.org>
17919
17920 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17921
0cb7efc5
JM
179222012-03-21 Joseph Myers <joseph@codesourcery.com>
17923
17924 [BZ #13871]
17925 * math/w_exp2.c: Do not include <float.h>.
17926 (o_threshold, u_threshold): Remove.
17927 (__exp2): Calculate result before checking finiteness and calling
17928 __kernel_standard.
17929 * math/w_exp2f.c: Likewise.
17930 * math/w_exp2l.c: Likewise.
17931 * math/libm-test.inc (exp2_test): Require overflow exception for
17932 1e6 input.
2460d3aa
JM
17933
17934 [BZ #3866]
17935 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17936 range of signed 64-bit integers before using fistpll. Remove
17937 checks for whether integers fit in mantissa bits.
17938 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17939 the range of signed 32-bit integers before using fistpl. Remove
17940 checks for whether integers fit in mantissa bits.
17941 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17942 (__ieee754_powl): Test for y outside the range of signed 64-bit
17943 integers before using fistpll. Reduce 64-bit values to 63-bit
17944 ones as needed.
17945 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17946 divide-by-zero is raised for zero to large negative powers.
17947 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17948 (__ieee754_powl): Test for y outside the range of signed 64-bit
17949 integers before using fistpll. Reduce 64-bit values to 63-bit
17950 ones as needed.
17951 * math/libm-test.inc (pow_test): Add more tests.
17952
eb96ffb0
L
179532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17954
17955 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17956 <stdio-common/_itoa.h>.
17957 * debug/segfault.c: Likewise.
17958 * elf/dl-cache.c: Likewise.
17959 * elf/dl-minimal.c: Likewise.
17960 * elf/dl-misc.c: Likewise.
17961 * elf/dl-sysdep.c: Likewise.
17962 * elf/dl-version.c: Likewise.
17963 * elf/rtld.c: Likewise.
17964 * hurd/hurdsock.c: Likewise.
17965 * hurd/lookup-retry.c: Likewise.
17966 * malloc/malloc.c: Likewise.
17967 * malloc/mtrace.c: Likewise.
17968 * nscd/nscd_getgr_r.c: Likewise.
17969 * nscd/nscd_getpw_r.c: Likewise.
17970 * nscd/nscd_getserv_r.c: Likewise.
17971 * posix/getopt_init.c: Likewise.
17972 * posix/wordexp.c: Likewise.
17973 * stdio-common/_itoa.c: Likewise.
17974 * stdio-common/printf_fphex.c: Likewise.
17975 * stdio-common/vfprintf.c: Likewise.
17976 * string/_strerror.c: Likewise.
17977 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17978 * sysdeps/i386/i686/hp-timing.h: Likewise.
17979 * sysdeps/mach/_strerror.c: Likewise.
17980 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17981 * sysdeps/mach/hurd/sethostid.c: Likewise.
17982 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17983 * sysdeps/mach/xpg-strerror.c: Likewise.
17984 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17985 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17986 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17987 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17988 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17989 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17990 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17991 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17992 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17993 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17994 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17995 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17996 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17997 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17998 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17999 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18000 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18001 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18002 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18003 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18004 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18005
18006 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18007
18008 * stdio-common/_itoa.h: Moved to ...
18009 * sysdeps/generic/_itoa.h: Here.
18010
18011 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18012
18013 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18014 instead of "_itoa.h" and "_itowa.h".
18015 * stdio-common/vfprintf.: Likewise.
18016
d1af992d
L
180172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18018
18019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18020 <bits/wordsize.h>.
18021 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18022 (__signbit): Likwise.
18023 (llrintf): Likwise.
18024 (llrint): Likwise.
18025
114883e0
L
180262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18027
18028 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18029 __WORDSIZE != 64.
18030
c135cc1b
JM
180312012-03-20 Joseph Myers <joseph@codesourcery.com>
18032
18033 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18034 OVERFLOW_EXCEPTION_OK.
18035 * math/libm-test.inc ("Philosophy"): Update comment about
18036 exception testing.
18037 (OVERFLOW_EXCEPTION): Define.
18038 (OVERFLOW_EXCEPTION_OK): Likewise.
18039 (INVALID_EXCEPTION_OK): Renumber.
18040 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18041 (IGNORE_ZERO_INF_SIGN): Likewise.
18042 (test_exceptions): Handle FE_OVERFLOW.
18043 (exp10_test): Expect overflow exceptions.
18044 (exp2_test): Likewise.
18045 (expm1_test): Likewise.
18046 (nextafter_test): Likewise.
18047 (pow_test): Likewise.
18048 (scalbn_test): Likewise.
18049 (scalbln_test): Likewise.
18050
95443d88
L
180512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18052
18053 * sysdeps/x86_64/bits/atomic.h
18054 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18055 64bit integer.
18056 (atomic_exchange_acq): Likewise.
18057 (__arch_exchange_and_add_body): Likewise.
18058 (__arch_add_body): Likewise.
18059 (atomic_add_negative): Likewise.
18060 (atomic_add_zero): Likewise.
18061
490df6c4
L
180622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18063
c2722551 18064 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18065 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18066
5e52b189
L
180672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18068
18069 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18070 Check __x86_64__ instead of __WORDSIZE.
18071
a9879d4c
L
180722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18073
18074 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18075
5df98260
DM
180762012-03-19 David S. Miller <davem@davemloft.net>
18077
e1497744
DM
18078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18079
5df98260
DM
18080 * sysdeps/sparc/fpu/fenv_private.h: New file.
18081 * sysdeps/sparc/fpu/math_private.h: Use it.
18082 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18083 Remove.
18084 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18085 (libc_feholdexcept_setroundl): Remove.
18086 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18087 Remove.
18088 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18089 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18090
b4c35121
L
180912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18092
18093 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18094 int64_t instead of long int.
18095 (INSERT_WORDS64): Likwise.
18096
56965fd7
L
180972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18098
18099 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18100 _Unwind_GetCFA return to _Unwind_Ptr first.
18101
83d1aec8
JM
181022012-03-19 Joseph Myers <joseph@codesourcery.com>
18103
1897ad44
JM
18104 [BZ #13629]
18105 * math/s_clog.c: Include <float.h>.
18106 (__clog): Scale large or subnormal inputs.
18107 * math/s_clogf.c: Likewise.
18108 * math/s_clogl.c: Likewise.
18109 * math/s_clog10.c: Include <float.h>.
18110 (M_LOG10_2): Define.
18111 (__clog10): Scale large or subnormal inputs.
18112 * math/s_clog10f.c: Likewise.
18113 * math/s_clog10l.c: Likewise.
18114 * math/libm-test.inc (clog_test): Add more tests.
18115 (clog10_test): Likewise.
18116 * sysdeps/i386/fpu/libm-test-ulps: Update.
18117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18118
7726d6a9
JM
18119 [BZ #11451]
18120 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18121 x and y.
18122 * math/libm-test.inc (atan2_test): Add another test.
18123
83d1aec8
JM
18124 * Makerules (common-objdir-compile): Remove.
18125 * sysdeps/unix/Makefile (config-generated): Do not add
18126 $(unix-generated) to variable.
18127 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18128 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18129 Remove rule.
18130 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18131 Likewise.
18132 [generic bits/local_lim.h] (before-compile): Do not append to
18133 variable.
18134 [generic bits/local_lim.h] (common-generated): Likewise.
18135 [generic sys/param.h] (before-compile): Do not append to variable.
18136 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18137 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18138 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18139 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18140 include.
18141 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18142 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18143 [generic sys/param.h] ($(addprefix
18144 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18145 [generic sys/param.h] (common-generated): Do not append to
18146 variable.
18147 [generic sys/param.h] (sysdep_headers): Likewise.
18148 [generic bits/errno.h] (before-compile): Do not append to
18149 variable.
18150 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18151 rule.
18152 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18153 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18154 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18155 [generic bits/errno.h] (common-generated): Do not append to
18156 variable.
18157 [generic bits/ioctls.h] (before-compile): Do not append to
18158 variable.
18159 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18160 rule.
18161 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18162 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18163 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18164 rule.
18165 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18166 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18167 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18168 [generic bits/ioctls.h] (common-generated): Do not append to
18169 variable.
18170 [generic sys/syscall.h] (syscall.h): Remove variable.
18171 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18172 rule.
18173 [generic sys/syscall.h] (before-compile): Do not append to
18174 variable.
18175 [generic sys/syscall.h] (common-generated): Likewise.
18176 * sysdeps/unix/errnos-tmpl.c: Remove file.
18177 * sysdeps/unix/errnos.awk: Likewise.
18178 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18179 * sysdeps/unix/ioctls.awk: Likewise.
18180 * sysdeps/unix/mk-local_lim.c: Likewise.
18181 * sysdeps/unix/snarf-ioctls: Likewise.
18182
4851a949
RH
181832012-03-19 Richard Henderson <rth@twiddle.net>
18184
bd37f2ee
RH
18185 * sysdeps/i386/fpu/fenv_private.h: New file.
18186 * sysdeps/i386/fpu/math_private.h: Use it.
18187 (math_opt_barrier, math_force_eval): Remove.
18188 (libc_feholdexcept_setround_53bit): Remove.
18189 (libc_feupdateenv_53bit): Remove.
18190 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18191 (math_opt_barrier, math_force_eval): Remove.
18192 (libc_feholdexcept): Remove.
18193 (libc_feholdexcept_setround): Remove.
18194 (libc_fetestexcept, libc_fesetenv): Remove.
18195 (libc_feupdateenv_test): Remove.
18196 (libc_feupdateenv, libc_feholdsetround): Remove.
18197 (libc_feresetround): Remove.
18198
d0adc922
RH
18199 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18200 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18201
0fe0f1f8
RH
18202 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18203 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18204 (libc_feupdateenv_testl): New.
18205 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18206 (libc_feupdateenv_testf): New.
18207 (libc_feupdateenv): Use libc_feupdateenv_test.
18208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18209 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18210
eb92c487
RH
18211 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18212 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18213 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18214 (libc_feresetround_noex): New.
18215 (libc_feresetround_noexf): New.
18216 (libc_feresetround_noexl): New.
18217 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18218 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18219 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18220 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18221 SET_RESTORE_ROUND.
18222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18223 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18224 (__cos): Likewise.
18225 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18226 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18227 SET_RESTORE_ROUND_NOEX.
18228 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18229 SET_RESTORE_ROUND_NOEXF.
18230 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18231 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18232 (libc_feholdsetroundf): New.
18233 (libc_feresetround, libc_feresetroundf): New.
18234
7d2e8012
RH
18235 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18236 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18237 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18238
b4dabbb4
RH
18239 * sysdeps/generic/math_private.h: Include <fenv.h>.
18240 (default_libc_feholdexcept): New.
18241 (default_libc_feholdexcept_setround): New.
18242 (default_libc_fesetenv, default_libc_feupdateenv): New.
18243 (libc_feholdexcept): Only define if undefined.
18244 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18245 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18246 (libc_feholdexcept_setroundl): Likewise.
18247 (libc_feholdexcept_setround_53bit): Likewise.
18248 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18249 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18250 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18251 (libc_feupdateenv_53bit): Likewise.
18252 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18253 (libc_feholdexcept): Convert from macro to inline function.
18254 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18255 (libc_fesetenv, libc_feupdateenv): Likewise.
18256
4851a949
RH
18257 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18258 not previously defined.
18259 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18260 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18261 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18262 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18263 * sysdeps/ieee754/flt-32/math_private.h: New file.
18264 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18265 math_private.h below SET_FLOAT_WORD.
18266 (__isnan, __isinf_ns, __finite): Remove.
18267 (__isnanf, __isinf_nsf, __finitef): Remove.
18268
e79d442e
AS
182692012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18270
18271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18272
90b80344
DM
182732012-03-17 David S. Miller <davem@davemloft.net>
18274
18275 [BZ #6471]
18276 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18277 for 2.16.
18278
edc21804
DM
182792012-03-16 David S. Miller <davem@davemloft.net>
18280
77e927af
DM
18281 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18282 warnings.
18283
374976dd
DM
18284 [BZ #6471]
18285 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18286 properly.
18287 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18288 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18289 sysdep_routines when subdir is sysvipc.
18290 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18291 __getshmlba helper.
18292
edc21804
DM
18293 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18294
473c3ef3
L
182952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18296
18297 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18298 [__LP64__].
18299
eb0f39b6
L
183002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18301
18302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18303 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18304 (__lround): Renamed to ...
18305 (__llround): This. Replace long int with long long int.
18306 Define lround functions as aliases of llround functions.
18307 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18308
6b6cd74b
L
183092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18310
18311 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18312 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18313 adresses to uintptr_t. Replace "long int" and "unsigned long
18314 int" with "greg_t" on va_arg.
18315
f1a77b01
L
183162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18317
18318 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18319 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18320
18321 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18322 Move e_machine check before EI_CLASS check. Handle x32
18323 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18324 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18325 SKIP_EM_IA_64 and include
18326 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18327
18328 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18329 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18330 (add_system_dir): New macro.
18331
18332 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18333 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18334
11b90b9f
JM
183352012-03-16 Joseph Myers <joseph@codesourcery.com>
18336
c36e1d23
JM
18337 [BZ #2551]
18338 [BZ #2552]
18339 [BZ #2553]
18340 [BZ #2554]
18341 [BZ #2562]
18342 [BZ #2563]
18343 [BZ #2565]
18344 [BZ #2566]
18345 [BZ #2576]
18346 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18347 (y0): Likewise.
18348 * math/w_j0f.c (j0f): Likewise.
18349 (y0f): Likewise.
18350 * math/w_j0l.c (__j0l): Likewise.
18351 (__y0l): Likewise.
18352 * math/w_j1.c (j1): Likewise.
18353 (y1): Likewise.
18354 * math/w_j1f.c (j1f): Likewise.
18355 (y1f): Likewise.
18356 * math/w_j1l.c (__j1l): Likewise.
18357 (__y1l): Likewise.
18358 * math/w_jn.c (jn): Likewise.
18359 (yn): Likewise.
18360 * math/w_jnf.c (jnf): Likewise.
18361 (ynf): Likewise.
18362 * math/w_jnl.c (__jnl): Likewise.
18363 (__ynl): Likewise.
18364 * math/libm-test.inc (j0_test): Add more tests.
18365 (j1_test): Likewise.
18366 (jn_test): Likewise. Add trailing semicolon to existing test.
18367 (y0_test): Likewise.
18368 (y1_test): Likewise.
18369 * sysdeps/i386/fpu/libm-test-ulps: Update.
18370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18371
11b90b9f
JM
18372 [BZ #13851]
18373 [BZ #13854]
18374 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18375 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18376 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18377 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18378 (__tanl): Set errno for infinite argument.
18379 * sysdeps/i386/fpu/mptan.c: Remove.
18380 * sysdeps/i386/fpu/s_tan.S: Likewise.
18381 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18382 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18383 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18384 * math/libm-test.inc (tan_test): Add more tests and enable more
18385 tests for double and long double.
18386 * sysdeps/i386/fpu/libm-test-ulps: Update.
18387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18388
6a1bd2a1
JK
183892012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18390
18391 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18392 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18393
10a803e0
RM
183942012-03-16 Roland McGrath <roland@hack.frob.com>
18395
18396 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18397 * configure.in: Use it for both main tree and add-ons.
18398 * configure: Regenerated.
18399
f196c7f7
L
184002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18401
18402 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18403
8848d99d
JM
184042012-03-16 Joseph Myers <joseph@codesourcery.com>
18405
96cbe7f4
JM
18406 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18407 in comment.
18408
8848d99d
JM
18409 [BZ #13851]
18410 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18411 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18412 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18413 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18414 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18415 infinite argument.
18416 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18418 != 0 for prec == 2.
18419 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18420 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18421 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18422 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18423 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18424 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18425 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18426 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18427 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18428 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18429 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18430 * math/libm-test.inc (cos_test): Add more tests and enable more
18431 tests for long double.
18432 (sin_test): Likewise.
18433 (sincos_test): Likewise.
18434 * sysdeps/i386/fpu/libm-test-ulps: Update.
18435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18436
dd7f4703
DM
184372012-03-16 David S. Miller <davem@davemloft.net>
18438
18439 * sysdeps/sparc/fpu/math_private.h: New file.
18440
006f1daa
DM
184412012-03-15 David S. Miller <davem@davemloft.net>
18442
c0c83bc8
DM
18443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18444 file.
e6a62e18 18445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18447 file.
e6a62e18
DM
18448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18454 sysdep routines.
18455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18456
88cb87d9
DM
18457 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18458 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18459
006f1daa 18460 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18462 sparc-ifunc.h
006f1daa 18463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18465 Likewise.
18466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18467 Likewise.
006f1daa
DM
18468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18472 Likewise.
006f1daa
DM
18473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18478 Likewise.
18479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18480 Likewise.
006f1daa
DM
18481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18488 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18500 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18502 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18503 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18505
11e0098e
AS
185062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18507
18508 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18509 scaling.
18510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18511
e85b09d0
AJ
185122012-03-15 Andreas Jaeger <aj@suse.de>
18513
18514 [BZ #13852]
18515 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18516 ieee754/flt-32 implementation for sin, cos and sincos.
18517 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18518 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18519 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18520 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18521 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18522 ieee754/flt-32 implementation for tan.
18523
18524 * math/libm-test.inc (cos_test): Enable some large input tests for
18525 float as well
18526 (sin_test): Likewise.
18527 (sincos_test): Likewise.
18528 (tan_test): Add tests for large input.
18529
18530 * sysdeps/i386/fpu/libm-test-ulps: Update.
18531
81c64153
AJ
185322012-03-15 Andreas Jaeger <aj@suse.de>
18533
18534 [BZ #13658]
18535 * math/libm-test.inc (cos_test): Add more test cases.
18536 (sin_test): Likewise.
18537 (sincos_test): Likewise.
18538
7bbfa5c6
AJ
185392012-03-15 Andreas Jaeger <aj@suse.de>
18540
18541 [BZ #13837]
18542 * math/libm-test.inc (cos_test): Add a test case for large input
18543 value.
18544 (sin_test): Likewise.
18545 (sincos_test): Likewise.
18546
185472012-03-15 Andreas Jaeger <aj@suse.de>,
18548 Joseph Myers <joseph@codesourcery.com>
18549
18550 [BZ #13658]
0671f479 18551 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18552 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18553 * sysdeps/i386/fpu/branred.c: Likewise.
18554 * sysdeps/i386/fpu/dosincos.c: Likewise.
18555 * sysdeps/i386/fpu/mpa.c: Likewise.
18556 * sysdeps/i386/fpu/s_cos.S: Likewise.
18557 * sysdeps/i386/fpu/s_sin.S: Likewise.
18558 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18559 * sysdeps/i386/fpu/sincos32.c: Likewise.
18560
18561 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18562 Define.
18563 (libc_feupdateenv_53bit): Define.
18564 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18565 Define.
18566 (libc_feupdateenv_53bit): Define.
18567
18568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18569 53 bit (without extend i386 double precision).
18570
18571 * math/libm-test.inc (sincos_test): Add tests for large input.
18572 (sin): Likewise.
18573 (cos): Likewise.
18574
18575 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18576
9cad04ea
AS
185772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18578
18579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18580
f7062b9a
DM
185812012-03-15 David S. Miller <davem@davemloft.net>
18582
18583 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18584 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18585 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18586 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18599 file.
f7062b9a 18600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18602 file.
f7062b9a 18603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18605 file.
f7062b9a 18606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18608 file.
f7062b9a
DM
18609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18611 fmin/fmax sysdep routines.
18612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18613
7bd951ff
DM
186142012-03-14 David S. Miller <davem@davemloft.net>
18615
559398ab
DM
18616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18645 routines.
18646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18647 file.
559398ab 18648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18650 file.
559398ab 18651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18653 file.
559398ab 18654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18656 file.
559398ab 18657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18659 file.
559398ab 18660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18662 file.
18663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18664 file.
18665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18666 file.
18667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18668 file.
18669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18670 New file.
18671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18672 file.
18673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18674 file.
559398ab 18675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18677 file.
559398ab 18678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18680 file.
559398ab 18681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18683 file.
559398ab 18684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18686 VIS3 routines.
559398ab
DM
18687
18688 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18689 New file.
18690
5a1c1e32
DM
18691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18692
eae47a36
DM
18693 * sysdeps/sparc/configure.in: New file.
18694 * sysdeps/sparc/configure: Generate.
18695 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18696 * configure: Regenerate.
18697 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18698 * config.make.in (have-as-vis3): New.
18699 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18700 available use -Av9d instead of -Av9a.
18701 * sysdeps/sparc/sparc64/Makefile: Likewise.
18702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18704 New file.
18705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18706 file.
18707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18708 New file.
18709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18710 file.
eae47a36
DM
18711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18715 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18716
c0c83bc8
DM
18717 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18718 fzeros/fnegs to load 0x80000000 into a float register instead of
18719 using the stack.
7bd951ff
DM
18720 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18721
bd951ccb
JM
187222012-03-14 Joseph Myers <joseph@codesourcery.com>
18723
18724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18725 bits/syscall.h.
18726 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18727 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18728 ($(inst_includedir)/bits/syscall.h): Remove rule.
18729 ($(objpfx)bits/syscall.d): Include instead of
18730 $(objpfx)syscall-list.d.
18731 (generated): Change syscall-list.h and syscall-list.d to
18732 bits/syscall.h and bits/syscall.d.
18733
bb4e6db2
RM
187342012-03-14 Roland McGrath <roland@hack.frob.com>
18735
18736 [BZ #13846]
18737 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18738
aa4a2ae1
JM
187392012-03-14 Joseph Myers <joseph@codesourcery.com>
18740
e456826d
JM
18741 [BZ #13841]
18742 * math/s_csqrt.c: Include <float.h>.
18743 (__csqrt): Scale large or subnormal inputs.
18744 * math/s_csqrtf.c: Likewise.
18745 * math/s_csqrtl.c: Likewise.
18746 * math/libm-test.inc (csqrt_test): Add more tests.
18747 * sysdeps/i386/fpu/libm-test-ulps: Update.
18748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18749
aa4a2ae1
JM
18750 [BZ #13840]
18751 * math/libm-test.inc (hypot_test): Add more tests.
18752
7c10fd35
DM
187532012-03-13 David S. Miller <davem@davemloft.net>
18754
18755 [BZ #13840]
18756 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18757 double-precision for the calculation instead of scaling.
18758
f453b98b
JM
187592012-03-13 Joseph Myers <joseph@codesourcery.com>
18760
18761 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18762 manipulate bits before adding and subtracting TWO52[sx].
18763 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18764 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18765 Likewise.
18766 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18767
09a3453f
DM
187682012-03-13 David S. Miller <davem@davemloft.net>
18769
8e59da90
DM
18770 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18771 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18772 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18773 rtld-global-offsets.h
18774 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18775
2a8ab7f2
DM
18776 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18777 large parameters.
18778
10f62770
DM
18779 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18780
5f0bdb18
DM
18781 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18782 'err' in the ifdef scope in which it is actually used.
18783
09a3453f
DM
18784 * nss/nss_db/db-init.c: Include string.h
18785
b4b2eb5e
DM
187862012-03-12 David S. Miller <davem@davemloft.net>
18787
98bb2f1c
DM
18788 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18789 masking out of the most significant byte of random value used.
18790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18791 Fix coding style in previous change.
18792
b4b2eb5e
DM
18793 * sysdeps/unix/sysv/linux/kernel-features.h
18794 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18795 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18796 expression.
18797 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18798 later.
18799
6e226b09
DM
188002012-03-11 David S. Miller <davem@davemloft.net>
18801
a1bcbd40
DM
18802 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18803 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18804 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18805 for 'resultvar' otherwise things get truncated on 64-bit.
18806
cb9d6174
DM
18807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18808 Fix masking out of the most significant byte of random value used.
18809
6e226b09
DM
18810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18811
058c132d
AS
188122012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18813
18814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18815
2d2cd515
DM
188162012-03-09 David S. Miller <davem@davemloft.net>
18817
18818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18819 variables with appropriate CPP guards.
18820 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18821 frame pointer, not the stack pointer. Correct layout comments. Fix test
18822 on resulting framesize and the management of the outregs buffer for pltexit.
18823 Preserve floating point return values across _dl_call_pltexit call.
18824 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18825 framesize and the management of the outregs buffer for pltexit.
18826 Preserve floating point return values across _dl_call_pltexit
18827 call.
18828 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18829 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18830 (print_exit): Fix format string for return register value.
18831
9a07f9d0
JM
188322012-03-10 Joseph Myers <joseph@codesourcery.com>
18833
18834 * sunrpc/Makefile (others): Add rpcgen.
18835 ($(objpfx)rpcgen): Remove special build rule and dependency on
18836 libc.
18837 * sunrpc/rpcgen.c: New file.
18838
547b5e30
PE
188392012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18840
c524201a
PE
18841 [BZ #13673]
18842 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18843 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18844 * sysdeps/i386/crti.S: Likewise.
18845 * sysdeps/i386/crtn.S: Likewise.
18846 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18847 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18848 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18849 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18850 * sysdeps/sh/crti.S: Likewise.
18851 * sysdeps/sh/crtn.S: Likewise.
18852 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18853
7b6235f2
PE
18854 [BZ #13673]
18855 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18856 with URL.
18857 * locale/programs/locfile-kw.gperf: Likewise.
18858 * locale/programs/charmap-kw.h: Regenerated.
18859 * locale/programs/locfile-kw.h: Likewise.
18860
547b5e30
PE
18861 [BZ #13673]
18862 * intl/plural.y: Replace FSF snail mail address with URL.
18863 * intl/plural.c: Regenerated.
18864
5f0a5dae
RH
188652012-03-09 Richard Henderson <rth@twiddle.net>
18866
18867 * include/math_private.h: Remove file.
18868 * math/math_private.h: Move file ...
18869 * sysdeps/generic/math_private.h: ... here.
18870
b8c03620
RH
18871 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18872 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18873 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18874
4e234f5d 18875 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18876 and <math_private.h>.
18877 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18878 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18879 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18880 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18881 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18882 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18885 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18886 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18888 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18889 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18891 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18892 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18893 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18894 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18895 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18896 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18898 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18899 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18901 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18902 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18903 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18907 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18909 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18910 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18911 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18912 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18913 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18914 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18915 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18916 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18917 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18918 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18919 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18920 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18921 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18922 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18923 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18924 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18925 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18926 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18927 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18928 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18929 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18930 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18931 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18932 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18933 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18934 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18936 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18938 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18940 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18941 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18942 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18943 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18944 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18946 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18947 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18948 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18956 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18957 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18960 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18964 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18965 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18966 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18967 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18968 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18969 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18970 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18971 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18972 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18974 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18977 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18978 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18979 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18980 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18981 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18982 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18983 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18984 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18985 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18986 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18987 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18988 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18989 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18990 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18991 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18992 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18993 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18994 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18995 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18996 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18997 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18998 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18999 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19000 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19001 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19002 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19003 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19004 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19005 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19006 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19007 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19008 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19009 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19010 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19011 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19012 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19013 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19014 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19015 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19016 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19017 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19018 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19019 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19020 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19021 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19022 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19023 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19025 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19026 * sysdeps/ieee754/k_standard.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19033 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19036 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19037 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19038 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19039 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19040 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19041 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19044 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19047 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19049 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19052 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19053 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19054 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19058 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19060 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19077 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19078 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19079 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19080 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19089 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19098 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19099 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19100 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19106 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19108 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19122 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19123 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19124 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19125 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19126 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19128 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19129 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19130 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19142 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19146 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19147 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19149 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19150 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19151 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19152 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19153 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19154 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19155 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19158 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19159 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19160 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19161 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19164 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19166 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19167 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19168 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19169 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19171 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19172 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19173 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19176 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19177 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19178 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19179 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19181 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19183 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19186 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19187 * sysdeps/ieee754/s_lib_version.c: Likewise.
19188 * sysdeps/ieee754/s_matherr.c: Likewise.
19189 * sysdeps/ieee754/s_signgam.c: Likewise.
19190 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19191 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19192 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19193 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19194 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19195 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19196 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19197 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19198 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19199 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19200 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19201 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19202 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19203 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19204 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19205 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19206 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19207 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19208 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19211
1991fa03
JM
192122012-03-09 Joseph Myers <joseph@codesourcery.com>
19213
19214 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19215 * sunrpc/rpc_main.c: Likewise.
19216 * sunrpc/rpc_svcout.c: Likewise.
19217
60d6f5a6
DM
192182012-03-09 David S. Miller <davem@davemloft.net>
19219
19220 * include/math_private.h: New file.
19221
4962050e
JM
192222012-03-09 Joseph Myers <joseph@codesourcery.com>
19223
02a6f887
JM
19224 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19225 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19226 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19227 from <bits/socket_type.h>.
19228 (enum __socket_type): Don't define here.
19229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19231 bits/socket_type.h.
19232
c6e013c1
JM
19233 [BZ #13566]
19234 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19235 checking __USE_GNU.
19236
4962050e
JM
19237 * Makerules ($(inst_includedir)/%.h): New rule.
19238 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19239 (install-others): Remove variable setting.
19240 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19241
38842f45
RH
192422012-03-08 Richard Henderson <rth@twiddle.net>
19243
67bb6da6
RH
19244 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19245 from macro to inline function; merge with the
19246 !__LIBC_INTERNAL_MATH_INLINES version.
19247 (__ieee754_sqrtf): Likewise.
19248
15194b4b
RH
19249 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19250 to inline function.
19251 (__rintf, __floor, __floorf): Likewise.
19252
64e21ede
RH
19253 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19254 macro to inline function.
19255 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19256
38842f45
RH
19257 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19258 not <math/math_private.h>.
19259
c64bf5fe
DM
192602012-03-08 David S. Miller <davem@davemloft.net>
19261
19262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19263 copyright year.
19264 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19265
82d86f28
TS
192662012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19267
19268 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19269 normalization.
19270 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19271 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19272
aea5d727
UD
192732012-03-08 Ulrich Drepper <drepper@gmail.com>
19274
19275 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19276 be defined individually, they must be defined as a block. Define
19277 S for printing a string instead of hidint the different by using a
19278 macro for adding the 'l'.
19279 * stdio-common/tst-fphex-wide.c: Adjust.
19280
70bca0a3
MP
192812012-03-07 Marek Polacek <polacek@redhat.com>
19282
19283 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19284
65b81130
MP
192852012-03-08 Marek Polacek <polacek@redhat.com>
19286
19287 [BZ #13806]
19288 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19289 * stdio-common/tst-fphex.c: Define a few macros to make the
19290 test reusable. Use them.
19291 * stdio-common/tst-fphex-wide.c: New file.
19292
07037eeb
JM
192932012-03-08 Joseph Myers <joseph@codesourcery.com>
19294
a7a93d50
JM
19295 [BZ #6911]
19296 * manual/macros.texi (gnusystems): New macro.
19297 (nongnusystems): Likewise.
19298 (gnulinuxhurdsystems): Likewise.
19299 (gnuhurdsystems): Likewise..
19300 (gnulinuxsystems): Likewise.
19301 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19302 variants of the GNU system, not "GNU system".
19303 * manual/conf.texi: Likewise.
19304 * manual/errno.texi: Likewise. Update example of errno macro
19305 expansion.
19306 * manual/filesys.texi: Likewise.
19307 (getumask): Document as specific to GNU/Hurd.
19308 * manual/install.texi: Likewise. Reword some references to
19309 GNU/Linux.
19310 * manual/intro.texi: Likewise.
19311 * manual/io.texi: Likewise.
19312 (File Name Portability): Detail which constraints are inapplicable
19313 to all GNU systems and which are only inapplicable to GNU/Hurd.
19314 * manual/job.texi: Likewise.
19315 * manual/llio.texi: Likewise.
19316 (O_NOCTTY): Document as present on GNU/Linux.
19317 * manual/maint.texi: Likewise.
19318 * manual/memory.texi: Likewise.
19319 * manual/pattern.texi: Likewise.
19320 * manual/pipe.texi: Likewise.
19321 * manual/process.texi: Likewise.
19322 * manual/resource.texi: Likewise.
19323 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19324 child on GNU/Hurd.
19325 * manual/setjmp.texi: Likewise.
19326 * manual/signal.texi: Likewise.
19327 * manual/startup.texi: Likewise.
19328 * manual/stdio.texi: Likewise.
19329 * manual/terminal.texi: Likewise.
19330 (ONLCR): Document as POSIX.
19331 (OXTABS): Document availability on GNU/Linux as XTABS.
19332 (ONOEOT): Document availability separately from other bits.
19333 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19334 * manual/time.texi: Likewise.
19335 * manual/users.texi: Likewise.
19336 * INSTALL: Regenerated.
19337 * sysdeps/gnu/errlist.c: Regenerated.
19338
07037eeb
JM
19339 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19340 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19341 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19342 puts.
19343 * configure: Regenerated.
19344
d1d3431a
JM
193452012-03-07 Joseph Myers <joseph@codesourcery.com>
19346
af6a1e37
JM
19347 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19348 default includes instead of AC_HEADER_CHECK.
19349 * sysdeps/i386/configure: Regenerated.
19350
d1d3431a
JM
19351 [BZ #10716]
19352 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19353 * math/s_cacoshf.c (__cacoshf): Likewise.
19354 * math/s_cacoshl.c (__cacoshl): Likewise.
19355 * math/s_casinh.c (__casinh): Set signs of result from argument.
19356 * math/s_casinhf.c (__casinhf): Likewise.
19357 * math/s_casinhl.c (__casinhl): Likewise.
19358 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19359 (casinh_test): Add more tests.
19360 * sysdeps/i386/fpu/libm-test-ulps: Update.
19361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19362
482ff4da
UD
193632012-03-07 Ulrich Drepper <drepper@gmail.com>
19364
872fda05
UD
19365 * po/zh_TW.po: Update from translation team.
19366
a4300c7a
UD
19367 * login/Makefile (distribute): Remove variable.
19368 * catgets/Makefile: Likewise.
19369 * mach/Makefile: Likewise.
19370 * malloc/Makefile: Likewise.
19371 * misc/Makefile: Likewise.
19372 * iconv/Makefile: Likewise.
19373 * nscd/Makefile: Likewise.
19374 * hurd/Makefile: Likewise.
19375 * manual/Makefile: Likewise.
19376 * locale/Makefile: Likewise.
19377 * intl/Makefile: Likewise.
19378 * conform/Makefile: Likewise.
19379 * nss/Makefile: Likewise.
19380 * time/Makefile: Likewise.
19381 * soft-fp/Makefile: Likewise.
19382 * dirent/Makefile: Likewise.
19383 * gmon/Makefile: Likewise.
19384 * po/Makefile: Likewise.
19385 * rt/Makefile: Likewise.
19386 * socket/Makefile: Likewise.
19387 * math/Makefile: Likewise.
19388 * signal/Makefile: Likewise.
19389 * debug/Makefile: Likewise.
19390 * elf/Makefile: Likewise.
19391 * timezone/Makefile: Likewise.
19392 * stdlib/Makefile: Likewise.
19393 * iconvdata/Makefile: Likewise.
19394 * sunrpc/Makefile: Likewise.
19395 * io/Makefile: Likewise.
19396 * argp/Makefile: Likewise.
19397 * inet/Makefile: Likewise.
19398 * hesiod/Makefile: Likewise.
19399 * grp/Makefile: Likewise.
19400 * csu/Makefile: Likewise.
19401 * wctype/Makefile: Likewise.
19402 * crypt/Makefile: Likewise.
19403 * libio/Makefile: Likewise.
19404 * string/Makefile: Likewise.
19405 * nis/Makefile: Likewise.
19406 * resolv/Makefile: Likewise.
19407 * stdio-common/Makefile: Likewise.
19408 * wcsmbs/Makefile: Likewise.
19409 * dlfcn/Makefile: Likewise.
19410 * posix/Makefile: Likewise.
19411
3b7c4e74 19412 [BZ #6959]
482ff4da
UD
19413 * timezone/Makefile: Don't install timezone files, just the programs
19414 and scripts.
19415
f72ed77d
UD
194162012-03-06 Ulrich Drepper <drepper@gmail.com>
19417
a000466f
UD
19418 * nss/databases.def: Add missing gshadow entry.
19419
f72ed77d
UD
19420 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19421
a53b7a4e
MP
194222012-03-06 Marek Polacek <polacek@redhat.com>
19423
19424 [BZ #13726]
19425 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19426 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19427 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19428 * stdio-common/tst-long-dbl-fphex.c: New file.
19429
e9258400
DM
194302012-03-06 David S. Miller <davem@davemloft.net>
19431
19432 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19433 (set_obp_int): New function.
19434 (get_obp_int): New function.
19435 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19436 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19437 Avoid unused variable warnings on 'val' and use builtin_expect.
19438 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19439 __builtin_expect.
e9258400
DM
19440 (INLINE_CLONE_SYSCALL): Likewise.
19441
3bd2c723
DM
194422012-03-05 David S. Miller <davem@davemloft.net>
19443
19444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19445
bbb78d03
AS
194462012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19447
884c5db4
AS
19448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19449
bbb78d03
AS
19450 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19451 only for |x| >= 40.
19452 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19453
1c9f702a 194542012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19455
19456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19457 Replace gettimeofday with __vdso_gettimeofday.
19458
7be16f82
RM
19459 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19460 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19461 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19462
19463 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19464 time with __vdso_time.
19465
ed58a00f
JM
194662012-03-05 Joseph Myers <joseph@codesourcery.com>
19467
19468 * manual/lang.texi (size_t): Note types to which size_t may be
19469 equivalent with the GNU C Library, but do not describe when
19470 differences between them are significant.
19471
30ee4ced
AJ
194722012-03-05 Andreas Jaeger <aj@suse.de>
19473
19474 * sysdeps/i386/fpu/libm-test-ulps: Update.
19475
b7cd39e8
JM
194762012-03-05 Joseph Myers <joseph@codesourcery.com>
19477
19478 [BZ #3976]
19479 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19480 (__ieee754_pow): Save and restore rounding mode and use
19481 round-to-nearest for main computations.
19482 * math/libm-test.inc (pow_test_tonearest): New function.
19483 (pow_test_towardzero): Likewise.
19484 (pow_test_downward): Likewise.
19485 (pow_test_upward): Likewise.
19486 (main): Call the new functions.
19487 * sysdeps/i386/fpu/libm-test-ulps: Update.
19488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19489
19490 [BZ #3976]
19491 * math/libm-test.inc (cosh_test_tonearest): New function.
19492 (cosh_test_towardzero): Likewise.
19493 (cosh_test_downward): Likewise.
19494 (cosh_test_upward): Likewise.
19495 (sinh_test_tonearest): Likewise.
19496 (sinh_test_towardzero): Likewise.
19497 (sinh_test_downward): Likewise.
19498 (sinh_test_upward): Likewise.
19499 (main): Call the new functions.
19500 * sysdeps/i386/fpu/libm-test-ulps: Update.
19501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19502
6c6a98c9
TV
195032012-03-05 Tom de Vries <tom@codesourcery.com>
19504
19505 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19506 default stack guard is set in last bytes.
19507 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19508
21bb2d2e 195092012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19510
21bb2d2e 19511 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19512
21bb2d2e
AJ
19513 [BZ #13656]
19514 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19515 possibly allocate from heap instead of stack.
19516 * stdio-common/bug-vfprintf-nargs.c: New file.
19517 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19518
c6922934
AS
195192012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19520
19521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19522
bc957d53
MP
195232012-03-03 Marek Polacek <polacek@redhat.com>
19524
19525 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19526 * math/math_private.h: Likewise.
19527 * stdlib/tst-strtod.c: Likewise.
19528 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19529 * sysdeps/x86_64/bits/atomic.h: Likewise.
19530
6358490d
DM
195312012-03-02 David S. Miller <davem@davemloft.net>
19532
19533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19537 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19538 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19539 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19540 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19541
01ae168d
RM
195422012-03-02 Roland McGrath <roland@hack.frob.com>
19543
d9a17c07
RM
19544 [BZ #13792]
19545 * manual/examples/README: New file, says the example source files
19546 can be used under GPL>=2.
19547 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19548 line containing just "*/".
19549 * manual/examples/add.c: Add copyright header (GPL>=2).
19550 * manual/examples/argp-ex1.c: Likewise.
19551 * manual/examples/argp-ex2.c: Likewise.
19552 * manual/examples/argp-ex3.c: Likewise.
19553 * manual/examples/argp-ex4.c: Likewise.
19554 * manual/examples/atexit.c: Likewise.
19555 * manual/examples/db.c: Likewise.
19556 * manual/examples/dir.c: Likewise.
19557 * manual/examples/dir2.c: Likewise.
19558 * manual/examples/execinfo.c: Likewise.
19559 * manual/examples/filecli.c: Likewise.
19560 * manual/examples/filesrv.c: Likewise.
19561 * manual/examples/fmtmsgexpl.c: Likewise.
19562 * manual/examples/genpass.c: Likewise.
19563 * manual/examples/inetcli.c: Likewise.
19564 * manual/examples/inetsrv.c: Likewise.
19565 * manual/examples/isockad.c: Likewise.
19566 * manual/examples/longopt.c: Likewise.
19567 * manual/examples/memopen.c: Likewise.
19568 * manual/examples/memstrm.c: Likewise.
19569 * manual/examples/mkfsock.c: Likewise.
19570 * manual/examples/mkisock.c: Likewise.
19571 * manual/examples/mygetpass.c: Likewise.
19572 * manual/examples/pipe.c: Likewise.
19573 * manual/examples/popen.c: Likewise.
19574 * manual/examples/rprintf.c: Likewise.
19575 * manual/examples/search.c: Likewise.
19576 * manual/examples/select.c: Likewise.
19577 * manual/examples/setjmp.c: Likewise.
19578 * manual/examples/sigh1.c: Likewise.
19579 * manual/examples/sigusr.c: Likewise.
19580 * manual/examples/stpcpy.c: Likewise.
19581 * manual/examples/strdupa.c: Likewise.
19582 * manual/examples/strftim.c: Likewise.
19583 * manual/examples/strncat.c: Likewise.
19584 * manual/examples/subopt.c: Likewise.
19585 * manual/examples/swapcontext.c: Likewise.
19586 * manual/examples/termios.c: Likewise.
19587 * manual/examples/testopt.c: Likewise.
19588 * manual/examples/testpass.c: Likewise.
19589 * manual/examples/timeval_subtract.c: Likewise.
19590
01ae168d
RM
19591 [BZ #13792]
19592 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19593 function to ...
19594 * manual/timeval_subtract.c.texi: ... here, new file.
19595
49efa33d
DM
195962012-03-02 David S. Miller <davem@davemloft.net>
19597
19598 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19599
28afd92d
JM
196002012-03-02 Joseph Myers <joseph@codesourcery.com>
19601
804360ed
JM
19602 [BZ #3976]
19603 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19604 (__sin): Save and restore rounding mode and use round-to-nearest
19605 for all computations.
19606 (__cos): Save and restore rounding mode and use round-to-nearest
19607 for all computations.
19608 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19609 <fenv.h>.
19610 (tan): Save and restore rounding mode and use round-to-nearest for
19611 all computations.
19612 * math/libm-test.inc (cos_test_tonearest): New function.
19613 (cos_test_towardzero): Likewise.
19614 (cos_test_downward): Likewise.
19615 (cos_test_upward): Likewise.
19616 (sin_test_tonearest): Likewise.
19617 (sin_test_towardzero): Likewise.
19618 (sin_test_downward): Likewise.
19619 (sin_test_upward): Likewise.
19620 (tan_test_tonearest): Likewise.
19621 (tan_test_towardzero): Likewise.
19622 (tan_test_downward): Likewise.
19623 (tan_test_upward): Likewise.
19624 (main): Call the new functions.
19625 * sysdeps/i386/fpu/libm-test-ulps: Update.
19626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19627
a6d06d7b
JM
19628 [BZ #10135]
19629 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19630 small n, then large n, before computing and testing k+n.
19631 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19633 Likewise.
19634 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19635 Likewise.
19636 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19637 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19638 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19639 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19640 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19641 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19642 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19643 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19644 * math/libm-test.inc (scalbn_test): Add more tests.
19645 (scalbln_test): Likewise.
19646
07e12bb3
JM
19647 * manual/filesys.texi (mode_t): Describe constraints on size and
19648 signedness, not exact equivalence to a particular type.
19649 (ino_t): Likewise.
19650 (ino64_t): Likewise.
19651 (dev_t): Likewise.
19652 (nlink_t): Likewise.
19653 (blkcnt_t): Likewise.
19654 (blkcnt64_t): Likewise.
19655 * manual/llio.texi (off_t): Likewise.
19656
28afd92d
JM
19657 [BZ #3976]
19658 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19659 (__ieee754_exp): Save and restore rounding mode and use
19660 round-to-nearest for all computations.
19661 * math/libm-test.inc (exp_test_tonearest): New function.
19662 (exp_test_towardzero): Likewise.
19663 (exp_test_downward): Likewise.
19664 (exp_test_upward): Likewise.
19665 (main): Call the new functions.
19666 * sysdeps/i386/fpu/libm-test-ulps: Update.
19667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19668
b1eeb65d
CD
196692012-03-01 Chris Demetriou <cgd@google.com>
19670
19671 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19672 have predictable order.
19673
53362a4b
DM
196742012-03-01 David S. Miller <davem@davemloft.net>
19675
3c969083
DM
19676 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19677
759707de
DM
19678 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19679 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19680 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19681 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19682
dfdb8ff2
DM
19683 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19684 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19685 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19687 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19688 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19689 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19690 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19691 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19692
ead89f96
DM
19693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19694
7f66bd07
DM
19695 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19696 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19697 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19698
53362a4b
DM
19699 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19700 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19701 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19702 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19703 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19706 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19707 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19708 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19709 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19710 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19712 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19713 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19715 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19716 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19717 * sysdeps/sparc/elf/configure: Regenerated.
19718
7b1902cb
JM
197192012-03-01 Joseph Myers <joseph@codesourcery.com>
19720
bec039bc
JM
19721 * configure.in (AS, LD): Require binutils 2.20 or later.
19722 * configure: Regenerated.
19723 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19724 as required minimum version.
19725 * INSTALL: Regenerated.
19726
7b1902cb
JM
19727 [BZ #2541]
19728 [BZ #4108]
19729 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19730 before squaring exponent.
19731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19732 bottom long double and 27 bits of top long double before squaring
19733 exponent.
19734 * math/libm-test.inc (erfc_test): Add more tests.
19735 * sysdeps/i386/fpu/libm-test-ulps: Update.
19736 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19738
f775c276
KT
197392012-03-01 Kai Tietz <ktietz@redhat.com>
19740
19741 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19742 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19743 containing bit-fields.
19744 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19745 * soft-fp/single.h (_FP_UNION_S): Likewise.
19746 * soft-fp/double.h (_FP_UNION_D): Likewise.
19747
5b8a4d4a
JM
197482012-02-29 Joseph Myers <joseph@codesourcery.com>
19749
0bab47b6
JM
19750 [BZ #13786]
19751 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19752 not include ../strcmp.S.
19753 [USE_AS_STRNCASECMP_L]: Likewise.
19754 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19755 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19756 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19757 (__strncasecmp_l_ia32): Define as alias to
19758 __strncasecmp_l_nonascii.
19759
0fcad3e2
JM
19760 [BZ #5794]
19761 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19762 * sysdeps/i386/fpu/libm-test-ulps: Update.
19763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19764
5b8a4d4a
JM
19765 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19767
8fdceb2e
JL
197682012-02-29 Jeff Law <law@redhat.com>
19769
19770 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19771 out of bounds read.
19772
1f393a11
MP
197732012-02-29 Marek Polacek <polacek@redhat.com>
19774
19775 [BZ #13706]
19776 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19777 * elf/Makefile: Add rules to run tst-unused-dep.out.
19778
8847f037
DM
197792012-02-28 David S. Miller <davem@davemloft.net>
19780
19781 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19782 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19785 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19786 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19787
169d7f11
JM
197882012-02-29 Joseph Myers <joseph@codesourcery.com>
19789
19790 * math/libm-test.inc (llround_test): Move one test from
19791 lround_test. Use TEST_f_L in moved test.
19792 (lround_test): Move misplaced test to llround_test. Add testcase
19793 from bug 2561.
19794
39adf059
UD
197952012-02-28 Ulrich Drepper <drepper@gmail.com>
19796
19797 * sysdeps/x86_64/fpu/e_expf.S: New file.
19798 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19799
71b5d1c5
SB
198002012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19801
19802 [BZ #13637]
19803 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19804 of remain_len that may cause incomplete multi-byte character and
19805 false match.
19806 * posix/bug-regex33.c: New file.
19807 * posix/Makefile (tests): Add bug-regex33.
19808
1f77f049
JM
198092012-02-28 Joseph Myers <joseph@codesourcery.com>
19810
19811 * manual/macros.texi: New file.
19812 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19813 * manual/libc.texinfo: Include macros.texi.
19814 * manual/creatute.texi: Likewise.
19815 * manual/install.texi: Likewise.
19816 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19817 @glibcadj{} in references to the GNU C Library.
19818 * manual/charset.texi: Likewise.
19819 * manual/conf.texi: Likewise.
19820 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19821 when not using those macros.
19822 * manual/creature.texi: Likewise.
19823 * manual/crypt.texi: Likewise.
19824 * manual/errno.texi: Likewise.
19825 * manual/filesys.texi: Likewise.
19826 * manual/header.texi: Likewise.
19827 * manual/install.texi: Likewise.
19828 * manual/intro.texi: Likewise.
19829 * manual/io.texi: Likewise.
19830 * manual/job.texi: Likewise.
19831 * manual/lang.texi: Likewise.
19832 * manual/libc.texiinfo: Likewise.
19833 * manual/llio.texi: Likewise.
19834 * manual/locale.texi: Likewise.
19835 * manual/maint.texi: Likewise.
19836 * manual/math.texi: Likewise.
19837 * manual/memory.texi: Likewise.
19838 * manual/message.texi: Likewise.
19839 * manual/nss.texi: Likewise.
19840 * manual/pattern.texi: Likewise.
19841 * manual/process.texi: Likewise.
19842 * manual/resource.texi: Likewise.
19843 * manual/search.texi: Likewise.
19844 * manual/setjmp.texi: Likewise.
19845 * manual/signal.texi: Likewise.
19846 * manual/socket.texi: Likewise.
19847 * manual/startup.texi: Likewise.
19848 * manual/stdio.texi: Likewise.
19849 * manual/string.texi: Likewise.
19850 * manual/sysinfo.texi: Likewise.
19851 * manual/syslog.texi: Likewise.
19852 * manual/terminal.texi: Likewise.
19853 * manual/time.texi: Likewise.
19854 * manual/users.texi: Likewise.
19855 * INSTALL: Regenerated.
19856 * NOTES: Regenerated.
d40c5d54 19857 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19858
450bf206
AS
198592012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19860
19861 * include/dirent.h: Include <dirstream.h> before
19862 <dirent/dirent.h>.
19863
741a235b
DM
198642012-02-28 David S. Miller <davem@davemloft.net>
19865
19866 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19867 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19868 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19869 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19870
d6b5aa58
DM
198712012-02-27 David S. Miller <davem@davemloft.net>
19872
1aff59a3
DM
19873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19875 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19876 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19877
d6b5aa58
DM
19878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19879 frame pointer instead of stack pointer relative arg slot.
19880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19881 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19882 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19883
433f48bf
CD
198842012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19885
19886 [BZ #3992]
19887 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19888
d674b76d
DM
198892012-02-27 David S. Miller <davem@davemloft.net>
19890
19891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19895 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19896 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19897 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19898 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19899
0e7727f7
JM
199002012-02-27 Joseph Myers <joseph@codesourcery.com>
19901
19902 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19903 later. Allow versions 5-9.
43be4ca2 19904 * configure: Regenerated.
0e7727f7
JM
19905 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19906 required minimum version and 4.6 as recommended version. Do not
19907 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19908 * INSTALL: Regenerated.
0e7727f7 19909
a78bc654
DM
199102012-02-27 David S. Miller <davem@davemloft.net>
19911
428d5830
DM
19912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19916 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19917 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19918 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19919 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19920
a78bc654
DM
19921 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19922 manipulate bits before adding and subtracting TWO112[sx].
19923 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19924
4579f81c
RM
199252012-02-27 Roland McGrath <roland@hack.frob.com>
19926
36c8acb4
RM
19927 [BZ #13775]
19928 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19929 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19930 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19931 being in POSIX, because they are in 1003.1-2008.
19932
84ad622b
RM
19933 * rt/tst-aio.c: Include <fcntl.h>.
19934 * rt/tst-aio7.c: Likewise.
19935 * rt/tst-aio64.c: Likewise.
19936
4579f81c
RM
19937 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19938
abd923db
JM
199392012-02-27 Joseph Myers <joseph@codesourcery.com>
19940
19941 * manual/install.texi (--with-headers): Describe headers as
19942 interface headers, not private headers.
19943 (Specific advice for GNU/Linux systems): Describe use of headers
19944 from "make headers_install", not private headers from older
19945 kernels.
43be4ca2 19946 * INSTALL: Regenerated.
abd923db
JM
19947 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19948 Change to 2.6.19.
19949 * sysdeps/unix/sysv/linux/configure: Regenerated.
19950
6664049b
JM
19951 * manual/llio.texi (fclean): Remove documentation.
19952
bb8b6697
JM
19953 * manual/Makefile (libc-texi-generated): New variable. Include
19954 version.texi.
19955 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19956 $(libc-texi-generated), not duplicated list of files.
19957 (version.texi, stamp-version): New rules.
19958 (realclean): Remove $(libc-texi-generated), not individual files
19959 from that list. Do not remove dir-add.texinfo.
19960 * manual/libc.texinfo: Comment out uses of edition numbers and
19961 references to printed manual. Remove last-updated dates.
19962 (EDITION): Comment out.
19963 (ISBN): Likewise.
19964 (VERSION, UPDATED): Remove.
19965 (version.texi): Include.
19966
12e5c3b9
AS
199672012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19968
19969 * sysdeps/posix/spawni.c: Include <signal.h>.
19970 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19971 * sysdeps/pthread/aio_fsync.c: Likewise.
19972
4efeffc1 199732012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19974
ba63ba08
UD
19975 * conform/Makefile (tests): Run only when not cross-compiling and
19976 when fast-check is not defined.
19977
d94a4670
UD
19978 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19979 * conform/data/limits.h-data: Fixes for POSIX2008.
19980 * conform/run-conformtest.sh: Run all tests.
19981 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19982 headers.
19983 * include/bits/dlfcn.h: Likewise.
19984 * include/langinfo.h: Likewise.
19985 * include/monetary.h: Likewise.
19986 * include/sys/poll.h: Likewise.
19987
19988 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19989 for __USE_GNU.
19990 * posix/spawn.h: Define __need_sigset_t.
19991 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19992 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19993 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19994 to get sigevent_t only.
19995 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19996 only for __USE_GNU.
19997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19998 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19999 process_vm_writev only for __USE_GNU.
20000 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20001
20002 * conform/Makefile: For now ignore errors from run-conformtest.
20003 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20004 POSIX to avoid namespace pollution. Don't prepend headers.
20005 * conform/data/aio.h-data: Fixes for POSIX testing.
20006 * conform/data/fcntl.h-data: Likewise.
20007 * conform/data/glob.h-data: Likewise.
20008 * conform/data/grp.h-data: Likewise.
20009 * conform/data/pthread.h-data: Likewise.
20010 * conform/data/pwd.h-data: Likewise.
20011 * conform/data/signal.h-data: Likewise.
20012 * conform/data/spawn.h-data: Likewise.
20013 * conform/data/stdio.h-data: Likewise.
20014 * conform/data/stdlib.h-data: Likewise.
20015 * conform/data/stropts.h-data: Likewise.
20016 * conform/data/sys/mman.h-data: Likewise.
20017 * conform/data/sys/stat.h-data: Likewise.
20018 * conform/data/sys/types.h-data: Likewise.
20019 * conform/data/sys/wait.h-data: Likewise.
20020 * conform/data/time.h-data: Likewise.
20021 * conform/data/unistd.h-data: Likewise.
20022 * conform/data/utime.h-data: Likewise.
20023
20024 * io/sys/stat.h: fchmod was always in POSIX.
20025 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20026 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20027 * rt/aio.h: Define __need_timespec before including <time.h>.
20028 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20029 struct. Add forward declaration of pthread_attr_t and use it in
20030 sigevent.
20031 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20032 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20033 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20034 always remove CLK_TCK definition.
20035
c20105c3
AS
200362012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20037
20038 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20039
7a270350
UD
200402012-02-25 Ulrich Drepper <drepper@gmail.com>
20041
31341567
UD
20042 * conform/run-conformtest.sh: New file.
20043 * conform/Makefile: Run run-conformtest for tests.
20044 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20045 support.
20046
20047 * conform/data/uchar.h-data: New file.
20048 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20049 * conform/data/arpa/inet.h-data: Likewise.
20050 * conform/data/assert.h-data: Likewise.
20051 * conform/data/complex.h-data: Likewise.
20052 * conform/data/cpio.h-data: Likewise.
20053 * conform/data/ctype.h-data: Likewise.
20054 * conform/data/dirent.h-data: Likewise.
20055 * conform/data/dlfcn.h-data: Likewise.
20056 * conform/data/errno.h-data: Likewise.
20057 * conform/data/fcntl.h-data: Likewise.
20058 * conform/data/float.h-data: Likewise.
20059 * conform/data/fmtmsg.h-data: Likewise.
20060 * conform/data/fnmatch.h-data: Likewise.
20061 * conform/data/ftw.h-data: Likewise.
20062 * conform/data/glob.h-data: Likewise.
20063 * conform/data/grp.h-data: Likewise.
20064 * conform/data/iconv.h-data: Likewise.
20065 * conform/data/inttypes.h-data: Likewise.
20066 * conform/data/langinfo.h-data: Likewise.
20067 * conform/data/libgen.h-data: Likewise.
20068 * conform/data/limits.h-data: Likewise.
20069 * conform/data/locale.h-data: Likewise.
20070 * conform/data/math.h-data: Likewise.
20071 * conform/data/monetary.h-data: Likewise.
20072 * conform/data/mqueue.h-data: Likewise.
20073 * conform/data/ndbm.h-data: Likewise.
20074 * conform/data/net/if.h-data: Likewise.
20075 * conform/data/netdb.h-data: Likewise.
20076 * conform/data/netinet/in.h-data: Likewise.
20077 * conform/data/nl_types.h-data: Likewise.
20078 * conform/data/poll.h-data: Likewise.
20079 * conform/data/pthread.h-data: Likewise.
20080 * conform/data/pwd.h-data: Likewise.
20081 * conform/data/regex.h-data: Likewise.
20082 * conform/data/sched.h-data: Likewise.
20083 * conform/data/search.h-data: Likewise.
20084 * conform/data/semaphore.h-data: Likewise.
20085 * conform/data/setjmp.h-data: Likewise.
20086 * conform/data/signal.h-data: Likewise.
20087 * conform/data/spawn.h-data: Likewise.
20088 * conform/data/stdarg.h-data: Likewise.
20089 * conform/data/stdio.h-data: Likewise.
20090 * conform/data/stdlib.h-data: Likewise.
20091 * conform/data/string.h-data: Likewise.
20092 * conform/data/strings.h-data: Likewise.
20093 * conform/data/stropts.h-data: Likewise.
20094 * conform/data/sys/ipc.h-data: Likewise.
20095 * conform/data/sys/mman.h-data: Likewise.
20096 * conform/data/sys/msg.h-data: Likewise.
20097 * conform/data/sys/resource.h-data: Likewise.
20098 * conform/data/sys/select.h-data: Likewise.
20099 * conform/data/sys/sem.h-data: Likewise.
20100 * conform/data/sys/shm.h-data: Likewise.
20101 * conform/data/sys/socket.h-data: Likewise.
20102 * conform/data/sys/stat.h-data: Likewise.
20103 * conform/data/sys/statvfs.h-data: Likewise.
20104 * conform/data/sys/time.h-data: Likewise.
20105 * conform/data/sys/timeb.h-data: Likewise.
20106 * conform/data/sys/times.h-data: Likewise.
20107 * conform/data/sys/types.h-data: Likewise.
20108 * conform/data/sys/uio.h-data: Likewise.
20109 * conform/data/sys/un.h-data: Likewise.
20110 * conform/data/sys/utsname.h-data: Likewise.
20111 * conform/data/sys/wait.h-data: Likewise.
20112 * conform/data/syslog.h-data: Likewise.
20113 * conform/data/tar.h-data: Likewise.
20114 * conform/data/termios.h-data: Likewise.
20115 * conform/data/utime.h-data: Likewise.
20116 * conform/data/utmpx.h-data: Likewise.
20117 * conform/data/varargs.h-data: Likewise.
20118 * conform/data/wchar.h-data: Likewise.
20119 * conform/data/wctype.h-data: Likewise.
20120 * conform/data/wordexp.h-data: Likewise.
20121
20122 * include/stropts.h: New file.
20123 * include/uchar.h: New file.
20124 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20125 * include/assert.h: Likewise.
20126 * include/ctype.h: Likewise.
20127 * include/dirent.h: Likewise.
20128 * include/dlfcn.h: Likewise.
20129 * include/fcntl.h: Likewise.
20130 * include/fnmatch.h: Likewise.
20131 * include/glob.h: Likewise.
20132 * include/grp.h: Likewise.
20133 * include/libio.h: Likewise.
20134 * include/locale.h: Likewise.
20135 * include/math.h: Likewise.
20136 * include/net/if.h: Likewise.
20137 * include/netdb.h: Likewise.
20138 * include/netinet/in.h: Likewise.
20139 * include/pthread.h: Likewise.
20140 * include/pwd.h: Likewise.
20141 * include/regex.h: Likewise.
20142 * include/sched.h: Likewise.
20143 * include/search.h: Likewise.
20144 * include/setjmp.h: Likewise.
20145 * include/signal.h: Likewise.
20146 * include/stdio.h: Likewise.
20147 * include/stdlib.h: Likewise.
20148 * include/string.h: Likewise.
20149 * include/sys/cdefs.h: Likewise.
20150 * include/sys/mman.h: Likewise.
20151 * include/sys/msg.h: Likewise.
20152 * include/sys/resource.h: Likewise.
20153 * include/sys/select.h: Likewise.
20154 * include/sys/socket.h: Likewise.
20155 * include/sys/stat.h: Likewise.
20156 * include/sys/statvfs.h: Likewise.
20157 * include/sys/time.h: Likewise.
20158 * include/sys/times.h: Likewise.
20159 * include/sys/uio.h: Likewise.
20160 * include/sys/utsname.h: Likewise.
20161 * include/sys/wait.h: Likewise.
20162 * include/termios.h: Likewise.
20163 * include/time.h: Likewise.
20164 * include/ulimit.h: Likewise.
20165 * include/unistd.h: Likewise.
20166 * include/utime.h: Likewise.
20167 * include/wchar.h: Likewise.
20168 * include/wctype.h: Likewise.
20169 * include/wordexp.h: Likewise.
20170
20171 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20172
7a270350
UD
20173 * time/time.h: TIME_UTC must be a macro.
20174 Make timespec_get available for ISO C11 only as well.
20175
7724defc
UD
201762012-02-24 Ulrich Drepper <drepper@gmail.com>
20177
20178 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20179 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20180
6b1d1d46
JM
201812012-02-24 Joseph Myers <joseph@codesourcery.com>
20182
20183 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20184
0f8bbd69
JM
201852012-02-24 Joseph Myers <joseph@codesourcery.com>
20186
20187 * manual/texinfo.tex: Update to version 2012-01-19.16.
20188
66ab80bc
JM
201892012-02-24 Joseph Myers <joseph@codesourcery.com>
20190
20191 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20192
74981cc5
RM
201932012-02-24 Roland McGrath <roland@hack.frob.com>
20194
ee968201
RM
20195 [BZ #13738]
20196 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20197 * manual/fdl-1.3.texi: New file.
20198 * manual/fdl-1.1.texi: File removed.
20199
74981cc5
RM
20200 [BZ #13738]
20201 * manual/libc.texinfo (FDL_VERSION): New @set.
20202 Use it for mention of FDL in cover text.
20203 (Documentation License): Use it in @include file name.
20204
7bb764bc
JM
202052012-02-22 Joseph Myers <joseph@codesourcery.com>
20206 Roland McGrath <roland@hack.frob.com>
20207
20208 [BZ #5461]
20209 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20210 not LONG_LONG_MAX and LONG_LONG_MIN.
20211 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20212 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20213 name.
20214 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20215
6cbeae47
JM
202162012-02-22 Joseph Myers <joseph@codesourcery.com>
20217
20218 [BZ #2547]
20219 [BZ #11365]
20220 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20221 manipulate bits before adding and subtracting TWO23[sx].
20222 * math/libm-test.inc (nearbyint_test): Add more tests.
20223
fe45ce09
JM
202242012-02-22 Joseph Myers <joseph@codesourcery.com>
20225
20226 [BZ #2548]
20227 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20228 bits before adding and subtracting TWO23[sx].
20229 * math/libm-test.inc (rint_test): Add more tests.
20230 (rint_test_tonearest): Likewise.
20231 (rint_test_towardzero): Likewise.
20232 (rint_test_downward): Likewise.
20233 (rint_test_upward: Likewise.
20234
ff3b3d82
JM
202352012-02-22 Joseph Myers <joseph@codesourcery.com>
20236
20237 [BZ #10110]
20238 * include/stdc-predef.h: New file. Extracted from features.h.
20239 * include/features.h: Include stdc-predef.h.
20240 * Makefile (headers): Add stdc-predef.h.
20241 * CONFORMANCE (Compiler limitations): Update.
20242
ef0aab35
JM
202432012-02-22 Joseph Myers <joseph@codesourcery.com>
20244
20245 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20246
58639409
DM
202472012-02-21 David S. Miller <davem@davemloft.net>
20248
20249 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20250 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20251
c0e70b25
DM
202522012-02-20 David S. Miller <davem@davemloft.net>
20253
20254 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20255 using a normal save/restore sequence, rather than allocating a
20256 dummy stack frame just to store a frame pointer and restore.
20257 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20258
fb06851d
JM
202592012-02-21 Joseph Myers <joseph@codesourcery.com>
20260
20261 * manual/install.texi: Fix stray word in line-wrapped comment.
20262
7a8b71c3
DM
202632012-02-20 David S. Miller <davem@davemloft.net>
20264
d510c123
DM
20265 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20266 both binutils and gcc support GOTDATA.
20267
0722d7c2
DM
20268 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20269 "rd %pc" in the PIC register setup sequences.
20270
3d2b3019
DM
20271 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20272 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20273 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20274 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20275 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20277 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20278 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20280 (SYSCALL_ERROR_HANDLER): Likewise.
20281 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20282 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20283 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20284 (SYSCALL_ERROR_HANDLER): Likewise.
20285
c80098a9
DM
20286 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20287 (HAVE_GCC_GOTDATA): New.
20288 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20289 relocation support in both binutils and gcc.
20290 * sysdeps/sparc/elf/configure: Regenerate.
20291
3a2545a0
DM
20292 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20293 * sysdeps/sparc/sparc32/elf/configure: Delete.
20294 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20295 * sysdeps/sparc/sparc64/elf/configure: Delete.
20296 * sysdeps/sparc/elf/configure.in: New file.
20297 * sysdeps/sparc/elf/configure: Generate.
20298
7a8b71c3
DM
20299 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20300 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20301 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20302 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20303 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20304
f1e86fca
JM
203052012-02-21 Joseph Myers <joseph@codesourcery.com>
20306
20307 * manual/install.texi: Do not mention specific glibc version
20308 numbers.
20309 * manual/libc.texinfo (VERSION, UPDATED): Update.
20310 (@copying): Use @copyright{} and range of years.
20311
0e7dfaef
JM
203122012-02-21 Joseph Myers <joseph@codesourcery.com>
20313
20314 [BZ #13695]
20315 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20316 [crti.S not in sysdirs] (generated): Do not append.
20317 [crti.S not in sysdirs] (omit-deps): Likewise.
20318 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20319 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20320 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20321 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20322 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20323 Likewise.
20324 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20325 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20326 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20327 * csu/defs.awk: Remove file.
20328 * sysdeps/generic/initfini.c: Likewise.
20329 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20330 variable.
20331 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20332 Likewise.
20333
599af3ca
JM
203342012-02-20 Joseph Myers <joseph@codesourcery.com>
20335
20336 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20337 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20338 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20339 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20340 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20341 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20342 <bits/epoll.h>.
20343 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20344 (__EPOLL_PACKED): Define to empty if not defined by
20345 <bits/epoll.h>.
20346 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20348 bits/epoll.h.
20349
0e499750
JM
203502012-02-20 Joseph Myers <joseph@codesourcery.com>
20351
20352 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20353 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20354 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20355 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20356 <bits/timerfd.h>.
20357 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20359 bits/timerfd.h.
20360
5ad91f6e
JM
203612012-02-20 Joseph Myers <joseph@codesourcery.com>
20362
20363 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20364 in C locale.
20365 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20366 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20367 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20369
06b99b02
AJ
203702012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20371
20372 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20373 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20374
7638c0fd
AS
203752012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20376
20377 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20378 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20379 defined.
20380 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20381 Likewise.
20382 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20383 entry for 2.16.
20384
92221550
AJ
203852012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20386
20387 * math/w_acos.c: Use non-signaling floating-point comparisons.
20388 * math/w_acosf.c: Likewise.
20389 * math/w_acosh.c: Likewise.
20390 * math/w_acoshf.c: Likewise.
20391 * math/w_acoshl.c: Likewise.
20392 * math/w_acosl.c: Likewise.
20393 * math/w_asin.c: Likewise.
20394 * math/w_asinf.c: Likewise.
20395 * math/w_asinl.c: Likewise.
20396 * math/w_atanh.c: Likewise.
20397 * math/w_atanhf.c: Likewise.
20398 * math/w_atanhl.c: Likewise.
20399 * math/w_exp2.c: Likewise.
20400 * math/w_exp2f.c: Likewise.
20401 * math/w_exp2l.c: Likewise.
20402 * math/w_j0.c: Likewise.
20403 * math/w_j0f.c: Likewise.
20404 * math/w_j0l.c: Likewise.
20405 * math/w_j1.c: Likewise.
20406 * math/w_j1f.c: Likewise.
20407 * math/w_j1l.c: Likewise.
20408 * math/w_jn.c: Likewise.
20409 * math/w_jnf.c: Likewise.
20410 * math/w_log.c: Likewise.
20411 * math/w_log10.c: Likewise.
20412 * math/w_log10f.c: Likewise.
20413 * math/w_log10l.c: Likewise.
20414 * math/w_log2.c: Likewise.
20415 * math/w_log2f.c: Likewise.
20416 * math/w_log2l.c: Likewise.
20417 * math/w_logf.c: Likewise.
20418 * math/w_logl.c: Likewise.
20419 * math/w_sqrt.c: Likewise.
20420 * math/w_sqrtf.c: Likewise.
20421 * math/w_sqrtl.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20424 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20425 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20426 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20427
ebaf36eb
JM
204282012-02-19 Joseph Myers <joseph@codesourcery.com>
20429
20430 [BZ #9739]
20431 * manual/string.texi (strnlen): Use correct parameter name in
20432 equivalent expression.
20433
71c254a6
JM
204342012-02-19 Joseph Myers <joseph@codesourcery.com>
20435
20436 [BZ #11174]
20437 * manual/users.texi (seteuid): Consistently use neweuid for
20438 argument name.
20439
16d2c631
JM
204402012-02-19 Joseph Myers <joseph@codesourcery.com>
20441
20442 [BZ #13704]
20443 * manual/nss.texi (Services in the NSS configuration): Correct
20444 list of services in example configuration file.
20445
cd837b09
NB
204462012-02-19 Nick Bowler <nbowler@draconx.ca>
20447
20448 [BZ #11322]
20449 * manual/arith.texi: Remove statements about negative zero
20450 behaving identically to zero.
20451
02c4bbad
JM
204522012-02-18 Joseph Myers <joseph@codesourcery.com>
20453
20454 [BZ #5993]
20455 * manual/install.texi: Do not document upgrading from libc5.
20456
366842e7
JM
204572012-02-18 Joseph Myers <joseph@codesourcery.com>
20458
20459 [BZ #4596]
20460 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20461
dd54084d
DM
204622012-02-18 David S. Miller <davem@davemloft.net>
20463
20464 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20465 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20466 %o7 across the call.
20467 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20468 instead.
20469 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20470 SETUP_PIC_REG_LEAF.
20471 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20472 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20473 * sysdeps/sparc/crtn.S: Likewise.
20474
2bcc53a3
UD
204752012-02-17 Ulrich Drepper <drepper@gmail.com>
20476
20477 * aout/Makefile: Remove.
20478
09c093b5
RK
204792012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20480
20481 [BZ #13058]
20482 * manual/examples/argp-ex1.c (main): Format definition in GNU
20483 style.
20484 * manual/examples/argp-ex2.c (main): Likewise.
20485 * manual/examples/argp-ex3.c (main): Likewise.
20486 * manual/examples/argp-ex4.c (main): Likewise.
20487 * manual/examples/longopt.c (main): Use new-style prototype
20488 definition.
20489 * manual/examples/strncat.c (main): Specify return type and use
20490 (void) for arguments.
20491 * manual/examples/subopt.c (main): Use char **argv argument.
20492
2ee633a2
JM
204932012-02-17 Joseph Myers <joseph@codesourcery.com>
20494
20495 [BZ #5077]
20496 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20497 rounding modes.
20498
0520adde
FB
204992012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20500
20501 [BZ #6907]
20502 * manual/string.texi (strchr): Change when strchrnul is
20503 recommended.
20504
3f4081cd
DGM
205052012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20506
20507 [BZ #174]
20508 * manual/locale.texi (setlocale): Document LOCPATH.
20509
d1b10e78
JM
205102012-02-17 Joseph Myers <joseph@codesourcery.com>
20511
20512 [BZ #10210]
20513 * manual/process.texi (execle): Move @dots{} before last argument.
20514
79c6869c
PB
205152012-02-17 Paul Bolle <pebolle@tiscali.nl>
20516
20517 [BZ #12047]
20518 * manual/charset.texi (Generic Charset Conversion): Fix typo
20519 (LC_TYPE -> LC_CTYPE).
20520
cc6e48bc
NB
205212012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20522
20523 [BZ #5805]
20524 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20525 (scalbnf): Likewise.
20526 (scalbnl): Likewise.
20527 (scalbln): Likewise.
20528 (scalblnf): Likewise.
20529 (scalblnl): Likewise.
20530 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20531 (vwarnx): Likewise.
20532 (verr): Likewise.
20533 (verrx): Likewise.
20534 * manual/filesys.texi (telldir): Use braces around return type.
20535 * manual/llio.texi (mmap): Add space after comma.
20536 (mmap64): Likewise.
20537 * manual/math.texi (jn): Use @var{} on parameter names.
20538 (jnf): Likewise.
20539 (jnl): Likewise.
20540 (yn): Likewise.
20541 (ynf): Likewise.
20542 (ynl): Likewise.
20543 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20544 line.
20545 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20546 "...".
20547 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20548 (sched_get_priority_max): Likewise.
20549 * manual/signal.texi (sigvec): Add space after comma.
20550 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20551 names.
20552 (if_indextoname): Likewise.
20553 (if_freenameindex): Likewise.
20554 (sendto): Use ',' instead of '.' in prototype.
20555 * manual/startup.texi (syscall): Use @dots{} instead of literal
20556 "...".
20557 * manual/stdio.texi (__fpending): Separate initial words of
20558 paragraph from @deftypefun line.
20559 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20560 "...".
20561 (vsyslog): Use @var{} on parameter names.
20562 * manual/terminal.texi (stty): Use @var{} on parameter names.
20563 * manual/users.texi (getutmp): Use @var{} on parameter names.
20564 (getutmpx): Likewise.
20565
5b23062f
JM
205662012-02-17 Joseph Myers <joseph@codesourcery.com>
20567
20568 [BZ #6884]
20569 * manual/stdio.texi (fopen): Fix typos in description of
20570 ",ccs=STRING".
20571
8dee4833
AJ
205722012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20573
20574 [BZ #4026]
20575 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20576 get clock_id definition.
20577
9078ce93
TS
205782012-02-17 Thomas Schwinge <thomas@schwinge.name>
20579
20580 [BZ #4822]
20581 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20582 (madvise): Cast every argument to void on its own.
20583
3835c55f
JM
205842012-02-17 Joseph Myers <joseph@codesourcery.com>
20585
20586 [BZ #9902]
20587 * manual/startup.texi (Exit Status): Fix typo.
20588
35c47e37
JM
205892012-02-17 Joseph Myers <joseph@codesourcery.com>
20590
20591 [BZ #10140]
20592 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20593 * manual/examples/argp-ex2.c: Likewise.
20594 * manual/examples/argp-ex3.c: Likewise.
20595
e3b69ca7
RH
205962012-02-16 Richard Henderson <rth@redhat.com>
20597
20598 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20599 * sysdeps/s390/s390-32/initfini.c: Remove.
20600 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20601 * sysdeps/s390/s390-64/initfini.c: Remove.
20602
df83af67
KK
206032012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20604
20605 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20606 compiler output for sysdeps/generic/initfini.c.
20607 * sysdeps/sh/elf/initfini.c: Remove file.
20608
f63f3380
DM
206092012-02-16 David S. Miller <davem@davemloft.net>
20610
fb59b3a4
DM
20611 [BZ #11494]
20612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20613
f63f3380
DM
20614 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20615 * sysdeps/sparc/crti.S: New file.
20616 * sysdeps/sparc/crtn.S: New file.
20617 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20618 * sysdeps/sparc/sparc64/Makefile: Likewise.
20619
df6a4a4a
MF
206202012-02-15 Mike Frysinger <vapier@gentoo.org>
20621
6dd8f3dc 20622 [BZ #3335]
df6a4a4a
MF
20623 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20624
1cac7236
RM
206252012-02-15 Roland McGrath <roland@hack.frob.com>
20626
d2c736f8
RM
20627 [BZ #4822]
20628 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20629
1cac7236
RM
20630 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20631 (write, read, close): Likewise.
20632 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20633
8e475601
JM
206342012-02-15 Joseph Myers <joseph@codesourcery.com>
20635
20636 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20637 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20638 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20639 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20640 <bits/signalfd.h>.
20641 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20643 bits/signalfd.h.
20644
ed656b40
MP
206452012-02-14 Marek Polacek <polacek@redhat.com>
20646
20647 * sysdeps/x86_64/crti.S: New file.
20648 * sysdeps/x86_64/crtn.S: New file.
20649 * sysdeps/x86_64/elf/initfini.c: Remove file.
20650
2a979d3a
JM
206512012-02-13 Joseph Myers <joseph@codesourcery.com>
20652
20653 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20654 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20655 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20656 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20657 <bits/inotify.h>.
20658 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20660 bits/inotify.h.
20661
2a418ac3
JM
206622012-02-13 Joseph Myers <joseph@codesourcery.com>
20663
20664 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20665 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20666 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20667 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20668 <bits/eventfd.h>.
20669 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20671 bits/eventfd.h.
20672
fb779be7
TS
206732012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20674
e19e83c5
RM
20675 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20676 __feraiseexcept instead of feraiseexcept.
7c35ffed 20677
fb779be7
TS
20678 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20679 nanosleep invocations.
20680 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20681 strings, and add error checking for a nanosleep invocations.
20682
59ba27a6
PE
206832012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20684
20685 Replace FSF snail mail address with URLs, as per GNU coding standards.
20686 Most of the snail mail addresses were wrong anyway, and omitting
20687 them makes the source code easier to maintain. Almost all of the
20688 changes are to license notices and to locale LC_IDENTIFICATION
20689 addresses, except for this one:
20690 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20691 not its snail mail address.
20692
57b957eb
RH
206932012-02-09 Richard Henderson <rth@twiddle.net>
20694
af850b1c
RH
20695 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20696 of kernel-features.h.
20697
57b957eb
RH
20698 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20699
6b73181a
MP
207002012-02-08 Marek Polacek <polacek@redhat.com>
20701
20702 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20703 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20704 * sysdeps/gnu/_G_config.h: Likewise.
20705 * sysdeps/generic/_G_config.h: Likewise.
20706
26ecc33a
AS
207072012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20708
6c6dbc63
AS
20709 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20710 tests.
20711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20712
e216c012
AS
20713 * sysdeps/powerpc/powerpc32/crti.S: New file.
20714 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20715 * sysdeps/powerpc/powerpc64/crti.S: New file.
20716 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20717
26ecc33a
AS
20718 * Makeconfig (have-initfini): Don't set.
20719 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20720 * configure.in (nopic_initfini): Don't substitute.
20721 * config.h.in (HAVE_INITFINI): Don't #undef.
20722 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20723 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20724
3add8e13
JM
207252012-02-08 Joseph Myers <joseph@codesourcery.com>
20726
20727 Support crti.S and crtn.S provided directly by architectures.
20728 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20729 [crti.S in sysdirs] (omit-deps): Likewise.
20730 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20731 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20732 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20733 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20734 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20735 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20736 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20737 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20738 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20739 compiler output for sysdeps/generic/initfini.c.
20740 * sysdeps/i386/elf/Makefile: Remove file.
20741 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20742
a22f12b4
MP
207432012-02-07 Marek Polacek <polacek@redhat.com>
20744
20745 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20746 * sysdeps/gnu/_G_config.h: Likewise.
20747 * sysdeps/mach/hurd/_G_config.h: Likewise.
20748
148cf100
MP
207492012-02-07 Marek Polacek <polacek@redhat.com>
20750
20751 * math/Makefile (tests): Add tst-CMPLX2.
20752 * math/tst-CMPLX2.c: New file.
20753
cfdc0dd7
AS
207542012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20755
84ba42c4
AS
20756 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20757
cfdc0dd7
AS
20758 * math/libm-test.inc (jn_test): Add missing L suffix.
20759
622c86f4
MP
207602012-02-06 Marek Polacek <polacek@redhat.com>
20761
20762 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20763 * sysdeps/i386/fpu/e_powf.S: Likewise.
20764 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20765 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20766 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20767 * sysdeps/i386/fpu/e_pow.S: Likewise.
20768 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20769 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20770 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20771 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20772 * sysdeps/i386/fpu/e_log2.S: Likewise.
20773 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20774 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20775 * sysdeps/i386/fpu/e_powl.S: Likewise.
20776 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20777 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20778 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20779 * sysdeps/i386/fpu/e_logl.S: Likewise.
20780 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20781 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20782 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20783 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20784 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20785 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20786 * sysdeps/i386/fpu/e_log.S: Likewise.
20787 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20788 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20789 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20790 * sysdeps/i386/fpu/e_logf.S: Likewise.
20791 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20792 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20793 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20794 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20795 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20796 * sysdeps/i386/fpu/e_log10.S: Likewise.
20797 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20798 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20799 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20800 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20801 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20802 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20803 * sysdeps/i386/asm-syntax.h: Likewise.
20804 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20805 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20806 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20807 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20808 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20809 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20810 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20811 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20812 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20813 * sysdeps/powerpc/sysdep.h: Likewise.
20814 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20815 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20816
d4a54ac6
JM
208172012-02-06 Joseph Myers <joseph@codesourcery.com>
20818
20819 [BZ #411]
20820 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20821
314054ea
JM
208222012-02-06 Joseph Myers <joseph@codesourcery.com>
20823
20824 * sysdeps/i386/sysdep.h: Include <features.h>.
20825 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20826 version.
20827
d8e0ca50
JM
208282012-02-05 Joseph Myers <joseph@codesourcery.com>
20829
20830 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20831 Define.
20832 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20833 LOAD_PIC_REG_STR.
20834
b1da7dd9
JM
208352012-02-03 Joseph Myers <joseph@codesourcery.com>
20836
20837 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20838 (SETUP_PIC_REG): Use GET_PC_THUNK.
20839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20840 macro.
20841
9a1d9254
JM
208422012-02-03 Joseph Myers <joseph@codesourcery.com>
20843
20844 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20845 for non-PIC compilation.
20846 (SETUP_PIC_REG): Add .p2align directive.
20847 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20848 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20849 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20850 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20851 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20852 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20853 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20855 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20856 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20857 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20858 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20859 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20860 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20861 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20862 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20863 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20864 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20865 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20866 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20867 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20868 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20869 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20870 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20873 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20874 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20875 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20876 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20877 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20878 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20879 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20880 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20881 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20882 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20883 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20884 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20885 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20886 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20887 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20888
65dc3b75
JM
208892012-02-03 Joseph Myers <joseph@codesourcery.com>
20890
20891 * math/tst-CMPLX.c: Include <stdio.h>.
20892
d55bf177
JM
208932012-01-31 Joseph Myers <joseph@codesourcery.com>
20894
20895 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20896 float.
20897 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20898 * sysdeps/sparc/bits/mathdef.h: Likewise.
20899
69db4f8f
MP
209002012-01-31 Marek Polacek <polacek@redhat.com>
20901
20902 * libio/libio.h: Don't define _PARAMS.
20903 * locale/programs/config.h: Don't define PARAMS.
20904 * stdlib/strtol_l.c: Likewise.
20905 (__strtol_l): Remove PARAMS from the prototype.
20906
41b81892
UD
209072012-01-31 Ulrich Drepper <drepper@gmail.com>
20908
3b49edc0
UD
20909 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20910 names. Just use the correct names. Remove unnecessary wrapper
20911 functions.
20912 * malloc/arena.c: Likewise.
20913 * malloc/hooks.c: Likewise.
20914
41b81892
UD
20915 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20916 ARENA_TEST says not to. Simplify test for creation of a new arena.
20917 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20918
27a25b6e
UD
209192012-01-30 Ulrich Drepper <drepper@gmail.com>
20920
20921 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20922 into tail calls.
20923 (update_get_addr): New function.
20924 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20925 GET_ADDR_MODULE parameter.
20926
c8a89e7d
JM
209272012-01-30 Joseph Myers <joseph@codesourcery.com>
20928
20929 * crypt/cert.c: Remove __STDC__ conditionals.
20930 * crypt/crypt-entry.c: Likewise.
20931 * crypt/crypt_util.c: Likewise.
20932 * libio/filedoalloc.c: Likewise.
20933 * libio/fileops.c: Likewise.
20934 * libio/genops.c: Likewise.
20935 * libio/iofclose.c: Likewise.
20936 * libio/iofdopen.c: Likewise.
20937 * libio/iofopen.c: Likewise.
20938 * libio/iofopen64.c: Likewise.
20939 * libio/iogetdelim.c: Likewise.
20940 * libio/iopopen.c: Likewise.
20941 * libio/obprintf.c: Likewise.
20942 * libio/oldfileops.c: Likewise.
20943 * libio/oldiofclose.c: Likewise.
20944 * libio/oldiofdopen.c: Likewise.
20945 * libio/oldiofopen.c: Likewise.
20946 * libio/oldiopopen.c: Likewise.
20947 * libio/wfiledoalloc.c: Likewise.
20948 * libio/wgenops.c: Likewise.
20949 * locale/programs/xmalloc.c: Likewise.
20950 * misc/syslog.c: Likewise.
20951 * stdio-common/xbug.c: Likewise.
20952 * string/memchr.c: Likewise.
20953 * string/memcmp.c: Likewise.
20954 * string/memrchr.c: Likewise.
20955 * string/rawmemchr.c: Likewise.
20956 * sysdeps/posix/getcwd.c: Likewise.
20957 * time/strftime_l.c: Likewise.
20958
3b100462
JM
209592012-01-30 Joseph Myers <joseph@codesourcery.com>
20960
20961 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20962 * config.make.in (config-cflags-sse2avx): Define.
20963 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20964 Fix typo.
20965
607998af
CM
209662012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20967
20968 * scripts/config.guess: Update from upstream config git repository.
20969 * scripts/config.sub: Likewise.
20970
3601428f
CM
209712012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20972
3ac8b282
CM
20973 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20974 (EM_NUM): Update.
20975 (R_TILEPRO_*, R_TILEGX_*): New macros.
20976
e034841e
CM
20977 * scripts/firstversions.awk: Fix bug in version range handling.
20978
540d7568
CM
20979 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20980
3601428f
CM
20981 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20982
463de862
CM
20983 * include/sys/epoll.h: New file.
20984 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20985 libc_hidden_def.
20986
73139a76
UD
209872012-01-28 Ulrich Drepper <drepper@gmail.com>
20988
96bc5b45
UD
20989 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20990 Avoid unnecessary __WORDSIZE == 64 test.
20991 (fmaxf): Use VEX format if possible.
20992 (fmax): Likewise.
20993 (fminf): Likewise.
20994 (fmin): Likewise.
20995
56f6f6a2
UD
20996 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20997 * math/math_private.h: Remove libc_fegetround* and
20998 libc_fesetround*.
20999 * sysdeps/i386/configure.in: Check for -msse2avx.
21000 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21001 also if SSE2AVX is defined.
21002 Remove libc_fegetround* and libc_fesetround*.
21003 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21004 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21005 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21006 of HAS_YMM_USABLE.
21007 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21008 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21009 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21010 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21011 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21012
73139a76
UD
21013 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21014
d73f93a4
AZ
210152012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21016
21017 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21018 size is not set.
21019 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21020
6ee65ed6
UD
210212012-01-27 Ulrich Drepper <drepper@gmail.com>
21022
21023 [BZ #13618]
21024 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21025 relocation.
21026 * Makeconfig (libm): Define.
21027 * elf/Makefile: Add rules to build and run tst-relsort1.
21028 * elf/tst-relsort1.c: New file.
21029 * elf/tst-relsort1mod1.c: New file.
21030 * elf/tst-relsort1mod2.c: New file.
21031
8db21882
JM
210322012-01-27 Joseph Myers <joseph@codesourcery.com>
21033
21034 * math/s_ldexp.c: Remove __STDC__ conditionals.
21035 * math/s_ldexpf.c: Likewise.
21036 * math/s_ldexpl.c: Likewise.
21037 * math/s_nextafter.c: Likewise.
21038 * math/s_nexttowardf.c: Likewise.
21039 * math/s_significand.c: Likewise.
21040 * math/s_significandf.c: Likewise.
21041 * math/s_significandl.c: Likewise.
21042 * math/w_jnl.c: Likewise.
21043 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21044 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21045 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21046 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21047 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21049 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21050 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21055 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21056 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21057 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21058 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21059 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21060 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21062 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21063 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21064 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21065 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21066 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21067 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21068 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21069 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21070 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21071 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21072 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21073 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21074 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21075 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21076 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21077 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21078 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21079 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21080 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21081 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21082 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21083 * sysdeps/ieee754/k_standard.c: Likewise.
21084 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21086 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21087 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21088 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21090 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21091 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21092 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21093 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21094 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21095 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21096 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21098 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21099 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21100 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21101 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21102 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21103 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21104 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21105 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21106 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21107 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21108 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21109 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21110 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21112 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21113 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21114 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21115 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21116 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21124 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21128 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21129 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21130 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21131 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21133 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21136 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21137 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21138 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21140 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21141 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21142 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21143 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21144 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21145 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21146 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21147 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21148 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21149 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21150 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21151 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21153 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21155 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21156 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21157 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21159 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21160 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21161 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21163 * sysdeps/ieee754/s_matherr.c: Likewise.
21164 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21165 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21168
965a54a4
JM
211692012-01-26 Joseph Myers <joseph@codesourcery.com>
21170
21171 * crypt/md5.h: Remove __STDC__ conditionals.
21172 * libio/libioP.h: Likewise.
21173 * locale/programs/config.h: Likewise.
21174 * sysdeps/generic/sysdep.h: Likewise.
21175 * sysdeps/i386/asm-syntax.h: Likewise.
21176 * sysdeps/s390/asm-syntax.h: Likewise.
21177 * sysdeps/unix/sysdep.h: Likewise.
21178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21180
7071ad79
JM
211812012-01-26 Joseph Myers <joseph@codesourcery.com>
21182
21183 * libio/libio.h: Remove __STDC__ conditionals.
21184 * malloc/obstack.h: Likewise.
21185 * math/complex.h: Likewise.
21186 * math/math.h: Likewise.
21187 * sysdeps/generic/_G_config.h: Likewise.
21188 * sysdeps/gnu/_G_config.h: Likewise.
21189 * sysdeps/mach/hurd/_G_config.h: Likewise.
21190 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21191 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21192 * sysdeps/sparc/bits/mathdef.h: Likewise.
21193
afc5ed09
UD
211942012-01-26 Ulrich Drepper <drepper@gmail.com>
21195
21196 [BZ #13583]
21197 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21198 Clean up HAS_* macros.
afc5ed09 21199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21200 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21201 possible.
21202 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21203 HAS_AVX.
21204 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21205 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21206 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21207 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21208 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21209
bdb6de1d
JM
212102012-01-25 Joseph Myers <joseph@codesourcery.com>
21211
21212 * elf/tst-unique3.cc (gets): Remove declaration.
21213 * elf/tst-unique3lib.cc (gets): Likewise.
21214 * elf/tst-unique3lib2.cc (gets): Likewise.
21215 * elf/tst-unique4.cc (gets): Likewise.
21216
b15549e6
UD
212172012-01-24 Ulrich Drepper <drepper@gmail.com>
21218
21219 * include/stdio.h: Add C++ protection. Add gets declarations and
21220 definitions.
21221 * debug/tst-chk1.c: Don't declare gets here.
21222 * stdio-common/tst-gets.c: Likewise.
21223
a037381f
JM
212242012-01-24 Joseph Myers <joseph@codesourcery.com>
21225
21226 * posix/glob: Remove directory.
21227
f1d4aa75
JM
212282012-01-24 Joseph Myers <joseph@codesourcery.com>
21229
21230 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21231
81c0c964
PT
212322012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21233
21234 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21235 of the non-standard EPFNOSUPPORT.
21236
0ea698ae
ST
212372011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21238
21239 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21240 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21241 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21242
d220b117
UD
212432012-01-21 Ulrich Drepper <drepper@gmail.com>
21244
21245 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21246
3e1aa84e
UD
212472012-01-20 Ulrich Drepper <drepper@gmail.com>
21248
21249 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21250 transient errors.
21251 * nscd/grpcache.c (cache_addgr): Likewise.
21252 * nscd/hstcache.c (cache_addhst): Likewise.
21253 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21254 * nscd/pwdcache.c (cache_addpw): Likewise.
21255 * nscd/servicescache.c (cache_addserv): Likewise.
21256
400aa020
UD
212572012-01-16 Ulrich Drepper <drepper@gmail.com>
21258
d77e7869
UD
21259 * malloc/malloc.c: Various cleanups.
21260 * malloc/hooks.c: Likewise.
21261
400aa020
UD
21262 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21263 * stdlib/bug-fmtmsg1.c: New file.
21264
21265 * stdlib/fmtmsg.c (init): Add missing unlock.
21266 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21267
e0a309cf
MP
212682012-01-12 Marek Polacek <polacek@redhat.com>
21269
21270 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21271 and _GNU_SOURCE.
21272
929d11c7
WS
212732012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21274
21275 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21276 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21277 macro to ensure uniqueness of label name.
21278 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21279 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21280
41d0e869
UD
212812012-01-11 Ulrich Drepper <drepper@gmail.com>
21282
0cc5ed3b
UD
21283 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21284
41d0e869
UD
21285 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21286 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21287 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21288 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21289
a47a831a
UD
212902012-01-10 Ulrich Drepper <drepper@gmail.com>
21291
daa891c0
UD
21292 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21293
21294 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21295 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21296 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21297
e58ef0f2
UD
21298 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21299
a47a831a 21300 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21301 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21302 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21304
21305 * math/bits/math-finite.h: Add ldexp support.
21306
a0bfc9c7
MP
213072012-01-10 Marek Polacek <polacek@redhat.com>
21308
21309 * locale/programs/localedef.h (show_archive_content): Add noreturn
21310 attribute.
21311
d6e97a1d
UD
213122012-01-09 Ulrich Drepper <drepper@gmail.com>
21313
21314 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21315
d5835c26
UD
213162012-01-08 Ulrich Drepper <drepper@gmail.com>
21317
e5f484c6
UD
21318 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21319
d5835c26
UD
21320 * io/Makefile (headers): Add bits/poll2.h.
21321
d1f741e9
WS
213222011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21323
21324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21325 typo #include statement.
21326
ec09c1c4
UD
213272012-01-08 Ulrich Drepper <drepper@gmail.com>
21328
21329 * include/sys/cdefs.h: Define __attribute_alloc_size.
21330 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21331 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21332 * elf/pldd.c: Likewise.
21333 * iconv/iconv_charmap.c: Likewise.
21334 * iconv/iconvconfig.c: Likewise.
21335 * iconv/strtab.c: Likewise.
21336 * locale/programs/locale.c: Likewise.
21337 * locale/programs/localedef.h: Likewise.
21338 * locale/programs/simple-hash.c: Likewise.
21339 * nscd/nscd.h: Likewise.
21340 * nss/makedb.c: Likewise.
21341 * sysdeps/generic/ldconfig.h: Likewise.
21342 * locale/programs/localedef.c: Remove xmalloc prototype.
21343 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21344
20b38e03
PP
213452012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21346
21347 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21348 appropriate.
21349
a0da5fe1
UD
213502012-01-08 Ulrich Drepper <drepper@gmail.com>
21351
1d5a644a 21352 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21353 * math/tst-CMPLX.c: New file.
1d5a644a 21354
8784a6db
UD
21355 * math/complex.h (CMPLXL): Fix typo.
21356
d9a216c0
UD
21357 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21358 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21359 GLIBC_2.16.
21360 * debug/tst-chk1.c: Add poll and ppoll tests.
21361 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21362 * include/sys/poll.h: Add hidden proto for ppoll.
21363 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21364 * sysdeps/mach/hurd/ppoll.c: Likewise.
21365 * io/ppoll.c: Likewise.
21366 * debug/poll_chk.c: New file.
21367 * debug/ppoll_chk.c: New file.
21368 * include/bits/poll2.h: New file.
21369 * io/bits/poll2.h: New file.
21370
ac097f5c
UD
21371 [BZ #1350]
21372 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21373
2119dcfa
UD
21374 * configure.in: static is always set to yes. Remove.
21375 * config.make.in: Don't set build-static.
21376 * Makeconfig: Remove use of build-static.
21377 * dlfcn/Makefile: Likewise.
21378 * elf/Makefile: Likewise.
21379 * math/Makefile: Likewise.
21380 * misc/Makefile: Likewise.
21381 * nptl/Makefile: Likewise.
21382 * sysdeps/mach/hurd/Makefile: Likewise.
21383
121766a9
UD
21384 * configure.in: PWD_P is not used anymore.
21385 * config.make.in: Remove PWD_P entry.
21386
51a1d39c 21387 * configure.in: Remove last remnants of RANLIB.
8720d066 21388 No need to check for signed size_t anymore.
215f4bdc
UD
21389 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21390 and IA-64.
3857022a 21391 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21392 * aclocal.m4: Likewise.
21393
d3ed7225
UD
21394 * wcsmbs/mbrtoc16.c: Implement using towc function.
21395 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21396 * wcsmbs/wcsmbsload.c: Likewise.
21397 * iconv/gconv_simple.c: Likewise.
21398 * iconv/gconv_int.h: Likewise.
21399 * iconv/gconv_builtin.h: Likewise.
21400 * iconv/iconv_prog.c: Remove CHAR16 handling.
21401
21402 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21403
21404 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21405
a0da5fe1
UD
21406 * configure.in: Remove --with-elf and --enable-bounded options.
21407 Dont set base_machine for ia64. More non-ELF conditions removed.
21408 Remove testing and setting of leading underscore information.
21409 * config.make.in (build-bounded): Set to no.
21410 * config.h.in: Remove NO_UNDERSCORES entry.
21411 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21412 them.
21413 * csu/start.c: Remove !NO_UNDERSCORE code.
21414 * locale/localeinfo.h: Likewise.
21415 * sysdeps/generic/machine-gmon.h: Likewise.
21416 * sysdeps/generic/sysdep.h: Likewise.
21417 * sysdeps/i386/sysdep.h: Likewise.
21418 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21419 * sysdeps/mach/sysdep.h: Likewise.
21420 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21421 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21422 * sysdeps/sh/sysdep.h: Likewise.
21423 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21424 * sysdeps/unix/i386/sysdep.S: Likewise.
21425 * sysdeps/unix/sparc/start.c: Likewise.
21426 * sysdeps/unix/sparc/sysdep.S: Likewise.
21427 * sysdeps/unix/sparc/sysdep.h: Likewise.
21428 * sysdeps/unix/start.c: Likewise.
21429 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21430 * sysdeps/x86_64/sysdep.h: Likewise.
21431
df78418a
UD
214322012-01-07 Ulrich Drepper <drepper@gmail.com>
21433
a784e502
UD
21434 [BZ #13553]
21435 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21436 for non-gcc.
21437 * argp/argp-fmtstream.h: Use const instead __const.
21438 * argp/argp.h: Likewise.
21439 * assert/assert.h: Likewise.
21440 * bits/fenv.h: Likewise.
21441 * bits/sched.h: Likewise.
21442 * bits/sigset.h: Likewise.
21443 * bits/sigthread.h: Likewise.
21444 * catgets/nl_types.h: Likewise.
21445 * conform/data/pthread.h-data: Likewise.
21446 * crypt/crypt-private.h: Likewise.
21447 * crypt/crypt.h: Likewise.
21448 * crypt/crypt_util.c: Likewise.
21449 * ctype/ctype.h: Likewise.
21450 * debug/execinfo.h: Likewise.
21451 * debug/mbsnrtowcs_chk.c: Likewise.
21452 * debug/mbsrtowcs_chk.c: Likewise.
21453 * debug/wcsnrtombs_chk.c: Likewise.
21454 * debug/wcsrtombs_chk.c: Likewise.
21455 * debug/wcstombs_chk.c: Likewise.
21456 * dirent/dirent.h: Likewise.
21457 * dlfcn/dlfcn.h: Likewise.
21458 * elf/neededtest4.c: Likewise.
21459 * grp/grp.h: Likewise.
21460 * gshadow/gshadow.h: Likewise.
21461 * iconv/gconv.h: Likewise.
21462 * iconv/gconv_int.h: Likewise.
21463 * iconv/gconv_simple.c: Likewise.
21464 * iconv/iconv.h: Likewise.
21465 * iconv/loop.c: Likewise.
21466 * iconv/skeleton.c: Likewise.
21467 * include/aio.h: Likewise.
21468 * include/aliases.h: Likewise.
21469 * include/argz.h: Likewise.
21470 * include/arpa/inet.h: Likewise.
21471 * include/assert.h: Likewise.
21472 * include/dirent.h: Likewise.
21473 * include/dlfcn.h: Likewise.
21474 * include/execinfo.h: Likewise.
21475 * include/fcntl.h: Likewise.
21476 * include/fenv.h: Likewise.
21477 * include/glob.h: Likewise.
21478 * include/grp.h: Likewise.
21479 * include/libintl.h: Likewise.
21480 * include/mntent.h: Likewise.
21481 * include/netdb.h: Likewise.
21482 * include/pwd.h: Likewise.
21483 * include/rpc/netdb.h: Likewise.
21484 * include/sched.h: Likewise.
21485 * include/search.h: Likewise.
21486 * include/shadow.h: Likewise.
21487 * include/signal.h: Likewise.
21488 * include/stdio.h: Likewise.
21489 * include/stdlib.h: Likewise.
21490 * include/string.h: Likewise.
21491 * include/sys/socket.h: Likewise.
21492 * include/sys/stat.h: Likewise.
21493 * include/sys/statfs.h: Likewise.
21494 * include/sys/statvfs.h: Likewise.
21495 * include/sys/syslog.h: Likewise.
21496 * include/sys/time.h: Likewise.
21497 * include/sys/uio.h: Likewise.
21498 * include/time.h: Likewise.
21499 * include/unistd.h: Likewise.
21500 * include/utmp.h: Likewise.
21501 * include/wchar.h: Likewise.
21502 * include/wctype.h: Likewise.
21503 * inet/aliases.h: Likewise.
21504 * inet/arpa/inet.h: Likewise.
21505 * inet/netinet/ether.h: Likewise.
21506 * inet/netinet/in.h: Likewise.
21507 * intl/libintl.h: Likewise.
21508 * io/bits/fcntl2.h: Likewise.
21509 * io/fcntl.h: Likewise.
21510 * io/ftw.h: Likewise.
21511 * io/sys/poll.h: Likewise.
21512 * io/sys/stat.h: Likewise.
21513 * io/sys/statfs.h: Likewise.
21514 * io/sys/statvfs.h: Likewise.
21515 * io/utime.h: Likewise.
21516 * libio/bits/stdio.h: Likewise.
21517 * libio/bits/stdio2.h: Likewise.
21518 * libio/libio.h: Likewise.
21519 * libio/libioP.h: Likewise.
21520 * libio/stdio.h: Likewise.
21521 * locale/lc-ctype.c: Likewise.
21522 * locale/locale.h: Likewise.
21523 * login/utmp.h: Likewise.
21524 * malloc/arena.c: Likewise.
21525 * malloc/malloc.c: Likewise.
21526 * malloc/malloc.h: Likewise.
21527 * malloc/mcheck.c: Likewise.
21528 * malloc/mtrace.c: Likewise.
21529 * math/bits/mathcalls.h: Likewise.
21530 * math/fenv.h: Likewise.
21531 * math/math_private.h: Likewise.
21532 * misc/bits/error.h: Likewise.
21533 * misc/bits/syslog.h: Likewise.
21534 * misc/err.h: Likewise.
21535 * misc/error.h: Likewise.
21536 * misc/fstab.h: Likewise.
21537 * misc/mntent.h: Likewise.
21538 * misc/regexp.h: Likewise.
21539 * misc/search.h: Likewise.
21540 * misc/sgtty.h: Likewise.
21541 * misc/sys/mman.h: Likewise.
21542 * misc/sys/syslog.h: Likewise.
21543 * misc/sys/uio.h: Likewise.
21544 * misc/sys/xattr.h: Likewise.
21545 * misc/ttyent.h: Likewise.
21546 * nis/rpcsvc/ypclnt.h: Likewise.
21547 * nss/nss.h: Likewise.
21548 * posix/bits/unistd.h: Likewise.
21549 * posix/fnmatch.h: Likewise.
21550 * posix/glob.h: Likewise.
21551 * posix/sched.h: Likewise.
21552 * posix/spawn.h: Likewise.
21553 * posix/sys/wait.h: Likewise.
21554 * posix/unistd.h: Likewise.
21555 * posix/wordexp.h: Likewise.
21556 * pwd/pwd.h: Likewise.
21557 * resolv/netdb.h: Likewise.
21558 * resource/sys/resource.h: Likewise.
21559 * rt/aio.h: Likewise.
21560 * rt/bits/mqueue2.h: Likewise.
21561 * rt/mqueue.h: Likewise.
21562 * shadow/shadow.h: Likewise.
21563 * signal/signal.h: Likewise.
21564 * socket/send.c: Likewise.
21565 * socket/sendto.c: Likewise.
21566 * socket/sys/socket.h: Likewise.
21567 * stdio-common/printf.h: Likewise.
21568 * stdlib/bits/stdlib.h: Likewise.
21569 * stdlib/fmtmsg.h: Likewise.
21570 * stdlib/monetary.h: Likewise.
21571 * stdlib/stdlib.h: Likewise.
21572 * stdlib/ucontext.h: Likewise.
21573 * streams/stropts.h: Likewise.
21574 * string/argz.h: Likewise.
21575 * string/bits/string2.h: Likewise.
21576 * string/string.h: Likewise.
21577 * string/strings.h: Likewise.
21578 * sunrpc/rpc/auth.h: Likewise.
21579 * sunrpc/rpc/auth_des.h: Likewise.
21580 * sunrpc/rpc/clnt.h: Likewise.
21581 * sunrpc/rpc/netdb.h: Likewise.
21582 * sunrpc/rpc/pmap_clnt.h: Likewise.
21583 * sunrpc/rpc/xdr.h: Likewise.
21584 * sysdeps/generic/inttypes.h: Likewise.
21585 * sysdeps/generic/net/if.h: Likewise.
21586 * sysdeps/generic/sys/swap.h: Likewise.
21587 * sysdeps/gnu/net/if.h: Likewise.
21588 * sysdeps/gnu/utmpx.h: Likewise.
21589 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21590 * sysdeps/i386/i486/bits/string.h: Likewise.
21591 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21592 * sysdeps/s390/bits/string.h: Likewise.
21593 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21594 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21595 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21596 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21597 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21598 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21599 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21600 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21601 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21602 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21603 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21604 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21605 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21606 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21607 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21608 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21609 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21611 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21612 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21613 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21614 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21615 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21616 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21617 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21618 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21619 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21620 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21621 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21622 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21623 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21624 * sysvipc/sys/ipc.h: Likewise.
21625 * sysvipc/sys/msg.h: Likewise.
21626 * sysvipc/sys/sem.h: Likewise.
21627 * sysvipc/sys/shm.h: Likewise.
21628 * termios/termios.h: Likewise.
21629 * time/sys/time.h: Likewise.
21630 * time/time.h: Likewise.
21631 * wcsmbs/bits/wchar2.h: Likewise.
21632 * wcsmbs/uchar.h: Likewise.
21633 * wcsmbs/wchar.h: Likewise.
21634 * wctype/wctype.h: Likewise.
21635
0269750c
UD
21636 [BZ #13551]
21637 * Makeconfig: Remove all but ELF support including AIX support.
21638 * Makerules: Likewise.
21639 * config.h.in: Likewise.
21640 * config.make.in: Likewise.
21641 * configure: Likewise.
21642 * configure.in: Likewise.
21643 * csu/Makefile: Likewise.
21644 * csu/version.c: Likewise.
21645 * debug/Makefile: Likewise.
21646 * dlfcn/Makefile: Likewise.
21647 * elf/Makefile: Likewise.
21648 * extra-lib.mk: Likewise.
21649 * iconv/Makefile: Likewise.
21650 * include/libc-symbols.h: Likewise.
21651 * include/shlib-compat.h: Likewise.
21652 * resolv/Makefile: Likewise.
21653 * resolv/res_libc.c: Likewise.
21654 * rt/Makefile: Likewise.
21655 * sysdeps/i386/asm-syntax.h: Likewise.
21656 * sysdeps/i386/sysdep.h: Likewise.
21657 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21658 * sysdeps/mach/sysdep.h: Likewise.
21659 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21660 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21661 * sysdeps/s390/asm-syntax.h: Likewise.
21662 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21663 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21664 * sysdeps/sh/sysdep.h: Likewise.
21665 * sysdeps/unix/sparc/sysdep.h: Likewise.
21666 * sysdeps/wordsize-32/divdi3.c: Likewise.
21667 * sysdeps/x86_64/sysdep.h: Likewise.
21668
00bbd29b
UD
21669 * argp/Versions: Remove _argp_unlock_xxx.
21670
21671 [BZ #13559]
21672 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21673 * abilist/libBrokenLocale.abilist: Likewise.
21674 * abilist/libanl.abilist: Likewise.
21675 * abilist/libc.abilist: Likewise.
21676 * abilist/libcrypt.abilist: Likewise.
21677 * abilist/libdl.abilist: Likewise.
21678 * abilist/libm.abilist: Likewise.
21679 * abilist/libnsl.abilist: Likewise.
21680 * abilist/libpthread.abilist: Likewise.
21681 * abilist/libresolv.abilist: Likewise.
21682 * abilist/librt.abilist: Likewise.
21683 * abilist/libthread_db.abilist: Likewise.
21684 * abilist/libutil.abilist: Likewise.
21685 * abilist/libnss_db.abilist: New file.
21686
21687 * scripts/abilist.awk: Add support for indirect functions.
21688
a2693a0e
UD
21689 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21690
3f05895f
UD
21691 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21692
ecb6fb48
UD
21693 * shlib-versions: Remove entries for ports architectures.
21694
664f8cb9
UD
21695 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21696 files in ports.
21697 * elf/stackguard-macros.h: Remove support for IA-64.
21698 * elf/tst-auditmod1.c: Likewise.
21699 * sysdeps/generic/ldsodefs.h: Likewise.
21700
7ae81d88
UD
21701 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21702 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21703 configure files.
21704
bdeba135
UD
21705 [BZ #13552]
21706 * configure.in: Remove --enable-omitfp support.
21707 * FAQ.in: Adjust.
21708 * config.make.in: Likewise.
21709 * Makeconfig: Likewise.
21710 * manual/install.texi: Likewise.
21711
d75a0a62
UD
21712 In case anyone cares, the IA-64 architecture could move to ports.
21713 * sysdeps/ia64/*: Removed.
21714 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21715 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21716
dcc9756b
UD
21717 [BZ #13555]
21718 * configure.in: Remove entries for unsupported architectures.
21719
d3761ebc 21720 [BZ #13533]
9954432e
UD
21721 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21722 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21723 routines.
21724 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21725 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21726 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21727 fall back to using wcrtomb.
21728 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21729 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21730 renaming.
21731 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21732 * wcsmbs/tst-c16c32-1.c: New file.
21733
21734 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21735 local variable.
21736
c3a87236
UD
21737 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21738
28926a1b
UD
21739 * elf/tst-unique3.cc: Add explicit declaration of gets.
21740 * elf/tst-unique3lib.cc: Likewise.
21741 * elf/tst-unique3lib2.cc: Likewise.
21742 * elf/tst-unique4.cc: Likewise.
21743
df78418a
UD
21744 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21745
8ecd6b2a
JM
217462012-01-06 Joseph Myers <joseph@codesourcery.com>
21747
21748 [BZ #13566]
21749 * assert/assert.h (static_assert): Don't define for C++.
21750 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21751 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21752
9f115170
UD
217532012-01-03 Ulrich Drepper <drepper@gmail.com>
21754
5e0d0300
UD
21755 * iconv/loop.c (single loop): Fix assertion in storing of
21756 remaining bytes.
21757
9f115170
UD
21758 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21759
81fb02b0
UD
217602012-01-01 Ulrich Drepper <drepper@gmail.com>
21761
21762 * posix/getconf.c: Update copyright year.
21763 * nss/getent.c: Likewise.
a316c1f6 21764 * nss/makedb.c: Likewise.
81fb02b0
UD
21765 * iconv/iconvconfig.c: Likewise.
21766 * iconv/iconv_prog.c: Likewise.
21767 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21768 * elf/pldd.c: Likewise.
21769 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21770 * catgets/gencat.c: Likewise.
21771 * csu/version.c: Likewise.
21772 * elf/ldd.bash.in: Likewise.
21773 * elf/sprof.c (print_version): Likewise.
21774 * locale/programs/locale.c: Likewise.
21775 * locale/programs/localedef.c: Likewise.
a316c1f6 21776 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21777 * nscd/nscd.c (print_version): Likewise.
21778 * debug/xtrace.sh: Likewise.
21779 * malloc/memusage.sh: Likewise.
21780 * malloc/mtrace.pl: Likewise.
21781 * debug/catchsegv.sh: Likewise.
21782
2ba92745
JJ
217832011-12-30 Jakub Jelinek <jakub@redhat.com>
21784
21785 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21786 pure attribute.
21787
dadebdae
UD
217882011-12-24 Ulrich Drepper <drepper@gmail.com>
21789
d3761ebc 21790 [BZ #13533]
db6af3eb
UD
21791 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21792 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21793 transformations.
21794 * iconv/gconv_int.h: Likewise.
21795 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21796 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21797 from libc for GLIBC_2.16.
21798 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21799 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21800 * wcsmbs/uchar.h: Really define mbstate_t.
21801 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21802 * wcsmbs/c16rtomb.c: New file.
21803 * wcsmbs/mbrtoc16.c: New file.
21804 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21805 for C/POSIX locale.
21806 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21807 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21808
dadebdae
UD
21809 * wcsmbs/wchar.h: Add missing __restrict.
21810
67371b56
UD
218112011-12-23 Ulrich Drepper <drepper@gmail.com>
21812
74033a25
UD
21813 [BZ #13532]
21814 * time/Makefile (routines): Add timespec_get.
21815 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21816 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21817 timespec for ISO C11.
21818 * time/timespec_get.c: New file.
21819 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21820 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21821
380d7e87
UD
21822 [BZ #13531]
21823 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21824 * stdlib/stdlib.h: Declare aligned_alloc.
21825 * Versions.def: Add GLIBC_2.16 for libc.
21826 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21827
4e9e7a35
UD
21828 [BZ 13527]
21829 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21830 ISO C11.
21831
380d7e87 21832 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21833 code.
21834
03a71829
UD
21835 [BZ #13528]
21836 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21837
839e283e
UD
21838 [BZ #13529]
21839 * assert/assert.h (static_assert): Define.
21840
ce5294e2 21841 * version.h: Update for 2.16 development version.
90fa7312 21842
8d44e150 21843 [BZ #13526]
d7809905
UD
21844 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21845 _ISOC11_SOURCE.
21846
c0da14cd
UD
21847 * version.h (RELEASE): Bump for 2.15 release.
21848 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21849
530a3249
MP
21850 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21851 Patch by Marek Polacek <mpolacek@redhat.com>.
21852
67371b56
UD
21853 * bits/byteswap.h: Protect long long constants with __extension__.
21854 * sysdeps/i386/bits/byteswap.h: Likewise.
21855 * sysdeps/ia64/bits/byteswap.h: Likewise.
21856 * sysdeps/s390/bits/byteswap.h: Likewise.
21857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21858
15db4de1
LD
218592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21860
21861 [BZ #13540]
bbe315ea
LD
21862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21863 destination buffer.
15db4de1
LD
21864 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21865
2b2596b1
MP
218662011-12-23 Marek Polacek <polacek@redhat.com>
21867
21868 * elf/dl-addr.c (determine_info): Add inline keyword.
21869 * elf/tst-auditmod4b.c (check_avx): Likewise.
21870 * elf/tst-auditmod6b.c (check_avx): Likewise.
21871 * elf/tst-auditmod6c.c (check_avx): Likewise.
21872 * elf/tst-auditmod7b.c (check_avx): Likewise.
21873
70c6c246
UD
218742011-12-23 Ulrich Drepper <drepper@gmail.com>
21875
21876 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21877 !__SSE_MATH__.
21878
c044cf14
LD
218792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21880
15db4de1 21881 [BZ #13540]
c044cf14
LD
21882 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21883 processing for last bytes.
21884
6b13d9d9
BH
218852011-08-06 Bruno Haible <bruno@clisp.org>
21886
d455f537
BH
21887 [BZ #13061]
21888 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21889 U+0385, not to U+1FEE.
21890
6b13d9d9
BH
21891 [BZ #13062]
21892 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21893 entry for U+00A5 U+0301.
21894
db910efd
UD
218952011-12-22 Ulrich Drepper <drepper@gmail.com>
21896
27deeafc
UD
21897 [BZ #13166]
21898 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21899 buffer for the output is too small.
21900
aed9d171
UD
21901 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21902 optimization.
21903
db910efd
UD
21904 [BZ #13185]
21905 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21906 SSE flags if possible.
21907
2bd779ae
LD
219082011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21909
e7f9dac3 21910 [BZ #13540]
2bd779ae
LD
21911 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21912 processing for last bytes.
21913
154bfc16
JM
219142011-12-22 Joseph Myers <joseph@codesourcery.com>
21915
21916 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21917 (syscall-list-default-options, syscall-list-default-condition)
21918 (syscall-list-includes): Define.
21919 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21920 list of ABIs and options and #if conditions for each ABI. Do not
21921 handle common syscalls between ABIs specially.
21922 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21923 Remove.
21924 (syscall-list-variants, syscall-list-32bit-options)
21925 (syscall-list-32bit-condition, syscall-list-64bit-options)
21926 (syscall-list-64bit-condition): Define.
21927 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21928 (syscall-list-variants, syscall-list-32bit-options)
21929 (syscall-list-32bit-condition, syscall-list-64bit-options)
21930 (syscall-list-64bit-condition): Define.
21931 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21932 Remove.
21933 (syscall-list-variants, syscall-list-32bit-options)
21934 (syscall-list-32bit-condition, syscall-list-64bit-options)
21935 (syscall-list-64bit-condition): Define.
21936 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21937 Remove.
21938 (syscall-list-variants, syscall-list-32bit-options)
21939 (syscall-list-32bit-condition, syscall-list-64bit-options)
21940 (syscall-list-64bit-condition): Define.
21941
21eaf3a5
UD
219422011-12-22 Ulrich Drepper <drepper@gmail.com>
21943
16c6f992
UD
21944 * locale/iso-639.def: Add brx entry.
21945
41043168
UD
21946 [BZ #13328]
21947 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21948 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21949
21eaf3a5
UD
21950 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21951 __feraiseexcept_renamed.
21952
e3a851a2
UD
219532011-12-21 Ulrich Drepper <drepper@gmail.com>
21954
4920765e
UD
21955 [BZ #13538]
21956 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21957 EPOLLET with unsigned values.
21958 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21959 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21960
e3a851a2
UD
21961 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21962 to large cancellation.
21963 * math/s_cacoshf.c: Likewise.
21964 * math/s_cacoshl.c: Likewise.
21965
b27e24b8
RK
219662011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21967
21968 [BZ #13305]
aebefeee 21969 [BZ #12786]
b27e24b8
RK
21970 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21971 * math/s_cacoshf.c: Likewise.
21972 * math/s_cacoshl.c: Likewise.
21973
ee190f67
UD
219742011-12-21 Ulrich Drepper <drepper@gmail.com>
21975
21976 [BZ #13439]
21977 * iconv/gconv.h: Define __GCONV_SWAP.
21978 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21979 * iconvdata/utf-16.c: Likewise.
21980 * iconvdata/utf-32.c: Likewise.
21981
707f25df
AS
219822011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21983
21984 [BZ #13524]
21985 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21986 numerator after shifting it by one limb.
21987
d2daaa1e
RÁE
219882011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21989
21990 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21991 under [__USE_EXTERN_INLINES].
21992
a4647e72
UD
219932011-12-17 Ulrich Drepper <drepper@gmail.com>
21994
21995 [BZ #13446]
21996 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21997
f0b264f1
AZ
219982011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21999
22000 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22001 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22002 optimized code.
22003 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22004 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22005 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22006 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22007 for strncasecmp/strncasecmp_l compilation.
22008 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22009 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22010
8ef4f244
MP
220112011-12-08 Marek Polacek <mpolacek@redhat.com>
22012
22013 [BZ #13484]
22014 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22015 of __asm__.
22016
97ac2654
UD
220172011-12-17 Ulrich Drepper <drepper@gmail.com>
22018
22019 [BZ #13506]
22020 * time/tzfile.c (__tzfile_read): Check values from file header.
22021
91d2a845
WS
220222011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22023
22024 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22025 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22026 * powerpc/powerpc32/dl-start.S: Likewise.
22027 * powerpc/powerpc32/elf/start.S: Likewise.
22028 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22029 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22030 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22031 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22032 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22033 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22034 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22035 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22036 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22037 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22038 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22039 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22040 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22041 * powerpc/powerpc32/memset.S: Likewise.
22042 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22043 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22044 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22045 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22046 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22047 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22048 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22049 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22050 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22051 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22052 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22053 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22054 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22055
a1267ba1
AZ
220562011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22057
22058 * math/libm-test.inc: Added more nearbyint tests.
22059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22060 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22061 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22062 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22063
ad8ac1bd
RL
220642011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22065
22066 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22067 FD_CLOEXEC.
22068
1d3e4b61
UD
220692011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22070
22071 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22072 Add wcscpy-ssse3 wcscpy-c.
22073 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22074 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22075 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22076 * sysdeps/x86_64/wcschr.S: New file.
22077 * sysdeps/x86_64/wcsrchr.S: New file.
22078 * string/test-strcmp.c: Remove checking of wcscmp function for
22079 wrong alignments.
22080 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22081 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22082 wcsrchr-sse2 wcsrchr-c.
22083 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22084 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22085 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22086 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22087 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22088 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22089 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22090 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22091 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22092 * wcsmbc/wcschr.c (WCSCHR): New macro.
22093
5b330a2d
UD
220942011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22095
22096 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22097 * wcsmbs/test-wcsrchr.c: New file.
22098 * string/test-strrchr.c: Add wcsrchr support.
22099 (WIDE): New macro.
22100 * wcsmbs/test-wcscpy.c: New file.
22101 * string/test-strcpy.c: Add wcscpy support.
22102 (WIDE): New macro.
26428b7c 22103
f039c043
UD
221042011-12-10 Ulrich Drepper <drepper@gmail.com>
22105
22106 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22107 the inner loop.
22108
850fb039
AS
221092011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22110
22111 [BZ #13472]
22112 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22113
4efbd5cb
UD
221142011-12-04 Ulrich Drepper <drepper@gmail.com>
22115
52ff5dd0 22116 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22117 Minor optimizations.
52ff5dd0 22118
4efbd5cb
UD
22119 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22120 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22121 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22122
8a426e12
UD
221232011-12-03 Ulrich Drepper <drepper@gmail.com>
22124
aff2453d
UD
22125 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22126 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22127 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22128 for gcc to avoid warnings.
22129 * inet/Makefile (tests): Add tst-checks.
22130 * inet/tst-checks.c: New file.
22131
22132 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22133 warning.
22134
22135 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22136 __wmemcmp_sse2.
22137
22138 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22139 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22140
8a426e12
UD
22141 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22142
9bea3473
UD
221432011-12-02 Ulrich Drepper <drepper@gmail.com>
22144
3a965496
UD
22145 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22146 problem.
22147
9bea3473
UD
22148 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22149
f101631b
UD
221502011-11-29 Joseph Myers <joseph@codesourcery.com>
22151
22152 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22153 conditional on GCC version.
22154 (__arch_compare_and_exchange_val_8_acq)
22155 (__arch_compare_and_exchange_val_16_acq)
22156 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22157 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22158 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22159
a98275aa
UD
221602011-12-02 Joseph Myers <joseph@codesourcery.com>
22161
22162 * sysdeps/sh/backtrace.c: New file.
22163
d4cc29a2
AS
221642011-12-02 Andreas Schwab <schwab@redhat.com>
22165
22166 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22167 parenthesis.
22168
6257af2d
AS
221692011-12-01 Andreas Schwab <schwab@redhat.com>
22170
22171 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22172 falling back to utime.
22173
b5f44c1a
AS
221742011-11-30 Andreas Schwab <schwab@redhat.com>
22175
22176 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22177 expectations for float.
22178
f3a6cc0a
AS
221792011-11-29 Andreas Schwab <schwab@redhat.com>
22180
22181 * locale/weight.h (findidx): Add parameter len.
22182 * locale/weightwc.h (findidx): Likewise.
22183 * posix/fnmatch_loop.c (FCT): Adjust caller.
22184 * posix/regcomp.c (build_equiv_class): Likewise.
22185 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22186 * posix/regexec.c (check_node_accept_bytes): Likewise.
22187 * string/strcoll_l.c (STRCOLL): Likewise.
22188 * string/strxfrm_l.c (STRXFRM): Likewise.
22189
9d65ea3a
UD
221902011-11-17 Ulrich Drepper <drepper@gmail.com>
22191
22192 * Makefile.in: Remove CVSOPT handling.
22193 * configure.in: Remove use of AC_REVISION.
22194 * iconvdata/Makefile (distribute): No need to filter out CVS.
22195 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22196 handling.
22197
5583a086
AS
221982011-11-16 Andreas Schwab <schwab@redhat.com>
22199
22200 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22201 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22202 [USE_AS_STRNCASECMP_L]: Likewise.
22203 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22204 NO_TLS_DIRECT_SEG_REFS.
22205 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22206 Fix argument offsets for non-PIC.
22207 [USE_AS_STRNCASECMP_L]: Likewise.
22208 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22209 NO_TLS_DIRECT_SEG_REFS.
22210
d62a8200
UD
222112011-11-15 Ulrich Drepper <drepper@gmail.com>
22212
9d65ea3a 22213 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22214 O_CLOEXEC.
22215 * locale/loadlocale.c (_nl_load_locale): Likewise.
22216
09f93bd3
AS
222172011-11-15 Andreas Schwab <schwab@redhat.com>
22218
446514f9
AS
22219 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22220 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22221 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22222 (SYSCALL_GETTIME): Set errno on error.
22223
09f93bd3
AS
22224 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22225 count references to noai6ai_cached.
22226
312be3f9
UD
222272011-11-15 Ulrich Drepper <drepper@gmail.com>
22228
22229 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22230
22231 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22232 FD_CLOEXEC for /proc/self/maps.
22233
22234 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22235 FD_CLOEXEC for /proc/meminfo.
22236
22237 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22238 gai.conf.
22239
22240 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22241 FD_CLOEXEC for given file.
22242
22243 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22244
22245 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22246 FD_CLOEXEC for /etc/hosts.
22247 (_gethtent): Likewise.
22248
22249 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22250
22251 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22252 cancellation and set FD_CLOEXEC for /etc/netgroup.
22253
22254 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22255 reading /etc/publickey.
22256
22257 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22258 allow cancellation when reading /etc/group.
22259
22260 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22261 cancellation.
22262 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22263
22264 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22265 when using data file.
22266
22267 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22268
22269 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22270 (write_nis_obj): Use "c" and "e" in fopen.
22271
22272 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22273
22274 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22275
22276 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22277
22278 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22279
22280 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22281 locale.alias.
22282
22283 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22284
22285 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22286
22287 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22288
22289 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22290 file parsing and set FD_CLOEXEC.
22291
82af0fa8
UD
222922011-11-14 Ulrich Drepper <drepper@gmail.com>
22293
22294 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22295
a5fb313c
AS
222962011-11-14 Andreas Schwab <schwab@redhat.com>
22297
22298 * malloc/arena.c (arena_get2): Don't call reused_arena when
22299 _int_new_arena failed.
22300
6abf3465
UD
223012011-11-14 Ulrich Drepper <drepper@gmail.com>
22302
22303 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22304 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22305 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22306 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22307 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22308 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22309 to compile strcasecmp and strncasecmp.
22310 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22311 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22312
22313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22314
76e3966e
UD
223152011-11-13 Ulrich Drepper <drepper@gmail.com>
22316
22317 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22318 locale-defines.sym to gen-as-const-headers.
22319 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22320 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22322 to compile strcasecmp and strncasecmp.
22323 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22324 strcasecmp_l and strncasecmp_l.
22325 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22326 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22327 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22328 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22329 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22330 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22331 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22332 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22333 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22334 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22335 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22336
ab26144e
UD
223372011-11-12 Ulrich Drepper <drepper@gmail.com>
22338
7edb22ef
UD
22339 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22340 result of SYSDEP_GETTIME_CPU to retval.
22341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22342 parameter list to macro. Remove trailing semicolon. Adjust users.
22343
9694fc44
UD
22344 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22345 variable.
22346
8ad89ef8
UD
22347 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22348 mantissa words.
22349 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22350
0c822ef9
UD
22351 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22352 from unused variable.
22353
874e0564
UD
22354 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22355 DWARF definitions.
22356 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22357 for assembling.
22358
3a2edc79
UD
22359 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22360 over namespaces.
22361
f3c2577f
UD
22362 * sunrpc/rpc_prot.c (rejected): Fix case value.
22363
294ce126
UD
22364 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22365 unsigned long long int to avoid warnings in shift.
22366
5e2b63c6
UD
22367 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22368 of use of trans.
22369 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22370 variable tmp.
22371
e7f4b08e
UD
22372 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22373 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22374 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22375
ab26144e
UD
22376 * nis/nis_table.c (nis_list): Use variable of correct type for
22377 result of __follow_path call.
22378
8a6d5255
AZ
223792011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22380
22381 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22382 of math functions ceil, trunc, floor, round, and sqrt, when
22383 avaliable on the platform.
22384 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22385 name clash.
22386 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22387 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22388 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22389
aaddc98c
MP
223902011-10-30 Marek Polacek <mpolacek@redhat.com>
22391
22392 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22393 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22394
95b7042b
RM
223952011-11-11 Roland McGrath <roland@hack.frob.com>
22396
22397 * include/unistd.h: Fix __readlink return type.
22398 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22399
57769839
UD
224002011-11-11 Ulrich Drepper <drepper@gmail.com>
22401
22402 * stdlib/ucontext.h: Undo last change for makecontext.
22403
edc5984d
AS
224042011-11-11 Andreas Schwab <schwab@redhat.com>
22405
98591e58
AS
22406 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22407
edc5984d
AS
22408 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22409 * setjmp/setjmp.h: Mark functions as non-leaf.
22410 * setjmp/bits/setjmp2.h: Likewise.
22411 * stdlib/ucontext.h: Likewise.
22412
77cdc054
AS
224132011-11-10 Andreas Schwab <schwab@redhat.com>
22414
22415 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22416 (reused_arena): Don't check arena limit.
22417 (arena_get2): Atomically check arena limit.
22418
fe72eebd
UD
224192011-11-08 Ulrich Drepper <drepper@gmail.com>
22420
5f078c32
UD
22421 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22422 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22423
fe72eebd
UD
22424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22425 instructions.
22426
ae1bc2fa
AS
224272011-11-07 Andreas Schwab <schwab@redhat.com>
22428
7583a88d
AS
22429 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22430 handler when locking.
22431
ae1bc2fa
AS
22432 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22433 Fix size of allocated buffer.
22434
10fb0bfa
AS
224352011-11-04 Andreas Schwab <schwab@redhat.com>
22436
998832a4
AS
22437 [BZ #10103]
22438 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22439 declarations for long double functions.
22440 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22441
10fb0bfa
AS
22442 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22443
3d7ba52b
AS
224442011-11-03 Andreas Schwab <schwab@redhat.com>
22445
a9ae54a1
AS
22446 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22447 installed.
22448
3d7ba52b
AS
22449 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22450 is disabled.
22451
bc8db248
ST
224522011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22453
22454 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22455
45b96dd6
AS
224562011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22457
647776f6
AS
22458 * include/alloca.h (stackinfo_alloca_round): Define.
22459 (extend_alloca): Use it.
22460 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22461 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22462 here.
22463
d91a8b93
AS
22464 * scripts/check-local-headers.sh: Ignore libaudit.h.
22465
45b96dd6
AS
22466 * nscd/Makefile (extra-objs): Make recursively expanded.
22467
432d41ce
UD
224682011-11-01 Ulrich Drepper <drepper@gmail.com>
22469
34372fc6
UD
22470 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22471 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22472
fadb59f8
UD
22473 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22474 * posix/tst-rfc3484-2.c: Likewise.
22475 * posix/tst-rfc3484-3.c: Likewise.
22476
78239589
UD
22477 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22478 process_vm_writev.
22479 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22480 process_vm_writev.
22481 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22482 process_vm_writev from libc using GLIBC_2.15 version.
22483
432d41ce
UD
22484 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22485
02f9c6cf
PP
224862011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22487
22488 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22489 stack usage.
22490
3a2c0242
UD
224912011-10-31 Ulrich Drepper <drepper@gmail.com>
22492
f4ec4833
UD
22493 [BZ #13367]
22494 * nss/getent.c (initgroups_keys): Show error message in case no group
22495 names are given.
22496
3a2c0242
UD
22497 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22498 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22499 __bump_nl_timestamp.
22500 * nscd/connections (nscd_init): When host database is served open
22501 netlink socket and request notification about configuration changes.
22502 (main_loop_poll): Track netlink file descriptor and bump timestamp
22503 in case data becomes available.
22504 (main_loop_epoll): Likewise.
22505 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22506 (database_pers_head): Add extra_data fileds.
22507 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22508 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22509 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22510 Adjust caller.
22511 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22512 in6ai data, call __free_in6ai.
22513 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22514 Add -DHAVE_NETLINK.
22515 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22516 interface information. Reuse previous data if netlink timestamp
22517 is not changed.
22518 (__bump_nl_timestamp): New function.
22519 (__free_in6ai): New function.
22520
636064eb
UD
225212011-10-30 Ulrich Drepper <drepper@gmail.com>
22522
22523 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22524 close_not_cancel_no_status here.
22525 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22526
9beb2334
UD
225272011-10-29 Ulrich Drepper <drepper@gmail.com>
22528
6ef76f3b
UD
22529 [BZ #13276]
22530 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22531 return value.
22532
0ffc4f3e 22533 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22534 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22535 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22536
cb95113e
UD
225372011-07-03 Andreas Jaeger <aj@suse.de>
22538
22539 [BZ #10709]
22540 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22541 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22542 * math/libm-test.inc (sin_test): Add test case.
22543
a1b560ff
UD
225442011-10-29 Ulrich Drepper <drepper@gmail.com>
22545
c9aaface
UD
22546 [BZ #13337]
22547 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22548 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22549
d272e7f1
UD
22550 * elf/chroot_canon.c (chroot_canon): Cleanups.
22551
1bc33071
UD
22552 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22553
1760874d
TJ
22554 [BZ #13335]
22555 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22556 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22557
51d91b18
UD
22558 * string/test-strchr.c: Make usable for strchrnul testing.
22559 * string/test-strchrnul.c: New file.
22560 * string/Makefile (strop-tests): Add strchrnul.
22561
a1b560ff 22562 * po/it.po: Update from translation team.
b611fb81 22563 * po/es.po: Likewise.
a1b560ff 22564
a5b81e1f
UD
225652011-10-28 Ulrich Drepper <drepper@gmail.com>
22566
fd52bc6d
UD
22567 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22568 the three constants needed as parameters. Drop the others.
22569 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22570 __m128i_strloadu_tolower.
52e4b9eb
UD
22571 Create and initialize variable zero and use it in all the places
22572 where _mm_setzero_si128 was used.
fd52bc6d 22573
a5b81e1f
UD
22574 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22575 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22576 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22577 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22578 anymore.
22579 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22580 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22581 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22582 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22583 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22584 __mpranred, __mptan.
22585 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22586 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22587 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22588 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22589 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22590 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22591 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22592 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22593 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22594
b4343346
AS
225952011-10-28 Andreas Schwab <schwab@redhat.com>
22596
0c92d8a8
AS
22597 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22598 redefine if SHARED.
22599 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22600
b4343346
AS
22601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22602 wide char related routines to wcsmbs subdir.
22603
3871f58f
AS
226042011-10-27 Andreas Schwab <schwab@redhat.com>
22605
22606 [BZ #13344]
22607 * misc/sys/cdefs.h (__THROWNL): Define.
22608 * posix/unistd.h: Use __THREADNL instead of __THREAD
22609 for memory synchronization functions.
22610
94d44d9f
RM
226112011-10-26 Roland McGrath <roland@hack.frob.com>
22612
21b64b15 22613 [BZ #13349]
94d44d9f
RM
22614 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22615 doesn't exist.
22616 * manual/stdio.texi (Obstack Streams): Node removed.
22617
f6ce9294
AS
226182011-10-26 Andreas Schwab <schwab@redhat.com>
22619
80479147
AS
22620 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22621 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22622 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22623
f6ce9294
AS
22624 * math/math_private.h (math_force_eval): Allow non-addressable
22625 arguments.
22626 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22627
618280a1
UD
226282011-10-25 Ulrich Drepper <drepper@gmail.com>
22629
e0016b11
UD
22630 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22631 file is not needed.
22632
22633 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22634 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22635 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22636 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22638 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22640 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22641 Add AVX variants.
22642 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22643 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22644 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22645 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22646 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22647 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22648 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22649 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22650 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22651 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22652 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22653 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22655 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22656 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22657 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22658 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22659 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22660 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22661
22662 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22663 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22664
618280a1
UD
22665 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22666 place. Use VEX encoding when compiling for AVX.
22667
37822576
AS
226682011-10-25 Andreas Schwab <schwab@redhat.com>
22669
1f1e1947
AS
22670 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22671 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22672
37822576
AS
22673 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22674
31ea014d
UD
226752011-10-25 Ulrich Drepper <drepper@gmail.com>
22676
d7826aa1 22677 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22678 useless if() expression.
d7826aa1
UD
22679 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22680 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22682 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22683 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22685 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22688 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22689 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22690 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22691 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22692 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22693 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22694 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22695 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22697 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22698
31ea014d
UD
22699 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22700
16437fec
AS
227012011-10-25 Andreas Schwab <schwab@redhat.com>
22702
22703 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22704 condition.
22705 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22706
31d3cc00
UD
227072011-10-25 Ulrich Drepper <drepper@gmail.com>
22708
22709 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22710 .text section. Avoid duplicate constants.
22711 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22721 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22723 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22726 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22728 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22734 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22735 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22736 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22737 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22738 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22739 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22740 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22741 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22742 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22743 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22744 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22745 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22746 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22747 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22748 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22749 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22750 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22751 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22752 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22753 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22754 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22755 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22756
58985aa9
UD
227572011-10-24 Ulrich Drepper <drepper@gmail.com>
22758
202c9deb
UD
22759 * sysdeps/x86_64/dla.h: Move to ...
22760 * sysdeps/x86_64/fpu/dla.h: ...here.
22761 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22762 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22763
af968f62
UD
22764 * config.make.in: Add have-mfma4 entry.
22765 * configure.in: Substitute libc_cv_cc_fma4.
22766 * math/Makefile (dbl-only-routines): Add sincostab.
22767 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22768 Use __sincostab not sincos.
22769 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22770 name is a macro.
22771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22775 using __copysign.
22776 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22777 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22778 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22779 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22780 and __inv.
22781 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22782 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22783 __copysign.
22784 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22785 define aliases when function name is a macro.
22786 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22787 sysdeps/ieee754/dbl-64/sincos.tbl.
22788 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22789 fma4-enabled routines.
22790 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22791 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22792 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22793 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22794 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22795 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22796 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22797 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22798 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22799 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22800 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22801 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22802 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22803 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22804 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22805 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22806 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22807 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22808 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22809 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22810 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22811 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22812 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22813 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22814 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22815 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22816 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22817 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22818 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22819 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22820
58985aa9
UD
22821 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22822 rename.
22823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22824 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22827 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22831
a201fbcf
AS
228322011-10-24 Andreas Schwab <schwab@redhat.com>
22833
22834 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22835
fc2ee42a
LD
228362011-10-23 Ulrich Drepper <drepper@gmail.com>
22837
bb3129bd
UD
22838 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22839
0275fff8
UD
22840 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22841 prediction.
22842 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22843
2fa2ae85
UD
22844 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22845 Remove unused variable magic_bits.
22846 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22847
fc2ee42a
LD
22848 * string/strnlen.c: Define and use STRNLEN macro.
22849 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22850 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22851 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22852 * wcsmbs/wcslen.c: Define and use WCSLEN.
22853 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22854 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22855 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22856 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22857 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22858 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22859 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22860
ce7dd29f
LD
228612011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22862
22863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22864 strnlen-sse2-no-bsf.
22865 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22866 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22867 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22868 Add strnlen support.
22869 (USE_AS_STRNLEN): New macro.
22870 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22871 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22872 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22873 * sysdeps/x86_64/wcslen.S: New file.
22874
979c70a3
MZ
228752011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22876
22877 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22878 XMM-moves are used for copying on small sizes.
22879
2d09f82f
LD
228802011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22881
22882 * wcsmbs/Makefile (strop-tests): Add wcschr.
22883 * wcsmbs/test-wcschr.c: New file.
22884 * string/test-strchr.c: Update.
22885 Add wcschr support.
22886 (WIDE): New macro.
22887
619fccca
LD
228882011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22889
2d09f82f 22890 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22891 * wcsmbs/test-wcslen.c: New file.
22892 * string/test-strlen.c: Update.
22893 Add wcslen support.
22894 (WIDE): New macro.
22895
09f699ea
UD
228962011-10-23 Ulrich Drepper <drepper@gmail.com>
22897
22898 * po/it.po: Update from translation team.
22899
95584d3b
LD
229002011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22901
22902 * sysdeps/x86_64/wcscmp.S: Update.
22903 Fix wrong comparison semantics.
22904 wcscmp shall use signed comparison not unsigned.
22905 Don't use substraction to avoid overflow bug.
22906 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22907 * wcsmbc/wcscmp.c: Likewise.
22908 * string/test-strcmp.c: Likewise.
22909 Add new tests to check cases with negative values.
22910
c8b3296b
UD
229112011-10-23 Ulrich Drepper <drepper@gmail.com>
22912
22913 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22914 * sysdeps/x86_64/dla.h: ...here. New file.
22915 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22917 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22920 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22924
246ad57a
AS
229252011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22926
22927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22928 __ynl_finite aliases.
22929
a1a87169
UD
229302011-10-22 Ulrich Drepper <drepper@gmail.com>
22931
0d355eb7
UD
22932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22933
a1a87169
UD
22934 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22935 define DLA_FMA.
22936 [DLA_FMA] (EMULV): Use DLA_FMA.
22937 [DLA_FMA] (MUL12): Use EMULV.
22938 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22939 that are not needed.
22940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22945 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22946 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22947
ee2aafe0
AS
229482011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22949
22950 * math/s_nan.c: Undef __nan.
22951 * math/s_nanf.c: Undef __nanf.
22952 * math/s_nanl.c: Undef __nanl.
22953 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22954 "math_private.h".
22955
bc62c2fb
UD
229562011-10-22 Ulrich Drepper <drepper@gmail.com>
22957
77425c63
UD
22958 * math/s_catan.c: Add branch predictions.
22959 * math/s_catanf.c: Likewise.
22960 * math/s_catanh.c: Likewise.
22961 * math/s_catanhf.c: Likewise.
22962 * math/s_catanhl.c: Likewise.
22963 * math/s_catanl.c: Likewise.
22964 * math/s_cexp.c: Likewise.
22965 * math/s_cexpf.c: Likewise.
22966 * math/s_cexpl.c: Likewise.
22967 * math/s_clog.c: Likewise.
22968 * math/s_clog10.c: Likewise.
22969 * math/s_clog10f.c: Likewise.
22970 * math/s_clog10l.c: Likewise.
22971 * math/s_clogf.c: Likewise.
22972 * math/s_clogl.c: Likewise.
22973 * math/s_csqrt.c: Likewise.
22974 * math/s_csqrtf.c: Likewise.
22975 * math/s_csqrtl.c: Likewise.
22976 * math/s_ctanf.c: Likewise.
22977 * math/s_ctanh.c: Likewise.
22978 * math/s_ctanhf.c: Likewise.
22979 * math/s_ctanhl.c: Likewise.
22980 * math/s_ctanl.c: Likewise.
22981
bc62c2fb
UD
22982 * math/math_private.h: Define __nan, __nanf, __nanl.
22983 * math/s_cacosh.c: Include <math_private.h>.
22984 * math/s_cacoshl.c: Likewise.
22985 * math/s_casinh.c: Likewise.
22986 * math/s_casinhf.c: Likewise.
22987 * math/s_casinhl.c: Likewise.
22988 * math/s_ccos.c: Rely entire on ccosh.
22989 * math/s_ccosf.c: Rely entire on ccoshf.
22990 * math/s_ccosl.c: Rely entirely on ccoshl.
22991 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22992 Remove tests for FE_INVALID.
22993 * math/s_ccoshf.c: Likewise.
22994 * math/s_ccoshl.c: Likewise.
22995 * math/s_csin.c: Likewise.
22996 * math/s_csinf.c: Likewise.
22997 * math/s_csinh.c Likewise.
22998 * math/s_csinhf.c: Likewise.
22999 * math/s_csinhl.c: Likewise.
23000 * math/s_csinl.c: Likewise.
23001 * math/s_ctan.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23003 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23004 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23005
8ec250a4
UD
230062011-10-21 Ulrich Drepper <drepper@gmail.com>
23007
c196fed8
UD
23008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23009 compilation problems.
23010
8ec250a4
UD
23011 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23012 __builtin_expect.
23013
8d4f46c6
UD
230142011-10-20 Ulrich Drepper <drepper@gmail.com>
23015
ed72b654
UD
23016 * sysdeps/i386/configure.in: Test for -mfma4 option.
23017 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23018 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23019 COMMON_CPUID_INDEX_80000001.
23020 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23021 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23022 use it if FMA3 is not supported.
23023 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23024
8d4f46c6
UD
23025 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23026 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23027
d45c60c2
AS
230282011-10-20 Andreas Schwab <schwab@redhat.com>
23029
23030 [BZ #12892]
23031 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23032 it would create a cycle with a link time dependency.
23033
d9a4d2ab
UD
230342011-10-19 Ulrich Drepper <drepper@gmail.com>
23035
855d1560
UD
23036 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23037 instruction.
23038 * string/Makefile (strop-tests): Add rawmemchr.
23039 * string/test-rawmemchr.c: New file.
23040
d9a4d2ab
UD
23041 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23042 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23043 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23044 when compiling str{,n}casecmp and when AVX is available. Hook up
23045 new optimized code in initializers.
23046
8f3b1ffe
AS
230472011-10-19 Andreas Schwab <schwab@redhat.com>
23048
23049 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23050 __feraiseexcept instead of feraiseexcept.
23051
d38f1dba
UD
230522011-10-18 Ulrich Drepper <drepper@gmail.com>
23053
d9a8d0ab
UD
23054 * math/math_private.h: Define defaults for libc_fetestexcept and
23055 libc_feupdateenv.
23056 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23057 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23058 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23059 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23060 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23061 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23062 libc_fetestexcept and libc_feupdateenv.
23063
4855e3dd
UD
23064 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23065 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23066 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23067 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23068 libc_feholdexcept_setround.
23069
581d30e3
UD
23070 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23071 Add s_nearbyint-c and s_nearbyintf-c.
23072 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23073 nearbyintf inlines.
23074 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23075 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23077 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23078
d38f1dba
UD
23079 * math/math_private.h: Define defaults for libc_fegetround,
23080 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23081 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23082 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23083 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23084 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23085 standard functions.
23086 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23087 Remove comments and hacks for old compiler versions.
23088 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23089 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23090 libc_feholdexceptl.
23091
caa6c9d8
AS
230922011-10-18 Andreas Schwab <schwab@redhat.com>
23093
23094 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23095 (__feraiseexcept_renamed): Add __NTH.
23096 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23097 namespace violations.
23098
97c066e6
UD
230992011-10-17 Ulrich Drepper <drepper@gmail.com>
23100
99ce7b04
UD
23101 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23102
1004d182
UD
23103 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23104
228a984d
UD
23105 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23106 recently added interfaces.
23107 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23108
c8553a6a
UD
23109 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23110 about macro parameter expansion.
23111
ed22dcf6
UD
23112 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23113 __NO_MATH_INLINES is defined. Cleanups.
23114
23115 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23116 and __floorf is target has SSE4.1.
23117 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23118 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23119 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23120 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23121
b171c137
UD
23122 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23123 name.
23124 (floorf): Likewise.
23125
97c066e6
UD
23126 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23127
629f62ef
AS
231282011-10-17 Andreas Schwab <schwab@redhat.com>
23129
49a43d80
AS
23130 * misc/sys/cdefs.h: Fix last change.
23131
629f62ef
AS
23132 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23133 database lookup.
23134
e453f6cd
UD
231352011-10-16 Ulrich Drepper <drepper@gmail.com>
23136
aa78043a
UD
23137 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23138
ad0f5cad
UD
23139 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23141 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23142 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23143 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23144 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23145 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23146 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23147 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23148 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23149 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23150 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23151 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23152 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23153 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23154 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23155 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23156 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23157 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23158 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23159 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23160 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23161
23162 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23163 ceil, ceilf, floor, floorf.
23164
23165 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23166 Perform IRELATIVE relocations last.
23167
e453f6cd
UD
23168 * elf/do-rel.h: Add another parameter nrelative, replacing the
23169 local variable with the same name. Change name of the function
23170 to end in Rel or Rela (uppercase).
23171 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23172 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23173 elf_dynamic_do_##reloc function.
23174
fd5bdc09
UD
231752011-10-15 Ulrich Drepper <drepper@gmail.com>
23176
79b195b5
UD
23177 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23178 is sufficient, at least on modern CPUs.
23179
d4a28569
UD
23180 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23181
b61099b5
UD
23182 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23183 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23184
bcf01e6d
UD
23185 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23186 __expl_finite.
23187 * math/bits/math-finite.h: Add entries for exp.
23188 * math/e_expl.c: Add __*_finite alias.
23189 * sysdeps/i386/fpu/e_exp.S: Likewise.
23190 * sysdeps/i386/fpu/e_expf.S: Likewise.
23191 * sysdeps/i386/fpu/e_expl.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23193 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23194 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23195 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23197 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23198 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23199
ba1a0d59
UD
23200 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23201 is sufficient, at least on modern CPUs.
23202
fd5bdc09
UD
23203 * ctype/ctype-info.c (__ctype_init): Define.
23204 * include/ctype.h (__ctype_init): Declare.
23205 (__ctype_b_loc): The variable is always initialized.
23206 (__ctype_toupper_loc): Likewise.
23207 (__ctype_tolower_loc): Likewise.
23208 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23209 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23210
7872cfb0
AS
232112011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23212
b468825a
AS
23213 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23214
7872cfb0
AS
23215 * configure.in: Also look in $cxxmachine/include for C++ system
23216 headers.
23217
be13f7bf
LD
232182011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23219
23220 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23221 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23222 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23223 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23224 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23225 (USE_AS_WMEMCMP): New macro.
23226 Fixing indents.
23227 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23228 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23229 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23230 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23232 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23233 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23234 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23235 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23236 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23237 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23238 (USE_AS_WMEMCMP): New macro.
23239 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23240 * sysdeps/string/test-memcmp.c: Update.
23241 Fix simple_wmemcmp.
23242 Add new tests.
23243 * wcsmbs/wmemcmp.c: Update.
23244 (WMEMCMP): New macro.
23245 Fix overflow bug.
23246
556a2007
AJ
232472011-10-12 Andreas Jaeger <aj@suse.de>
23248
23249 [BZ #13268]
23250 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23251
538faaa7
UD
232522011-10-15 Ulrich Drepper <drepper@gmail.com>
23253
ab6737ff
UD
23254 * libio/iofwide.c (do_length): Avoid warning.
23255
538faaa7
UD
23256 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23257
396a21b1
UD
232582011-10-14 Ulrich Drepper <drepper@gmail.com>
23259
cdf2901f
UD
23260 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23261
38ad40ce
UD
23262 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23263 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23264 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23265 * sysdeps/i386/i686/fpu/e_log.S: New file.
23266 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23267 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23268
396a21b1
UD
23269 * ctype/ctype.h: Add support for inlined isXXX functions when
23270 compiling C++ code.
23271
6b1f68c9
AS
232722011-10-14 Andreas Schwab <schwab@redhat.com>
23273
349290c0
AS
23274 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23275
6b1f68c9
AS
23276 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23277
f2282d42
RM
232782011-10-13 Roland McGrath <roland@hack.frob.com>
23279
23280 [BZ #13291]
23281 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23282
5298ffa8
AS
232832011-10-13 Andreas Schwab <schwab@redhat.com>
23284
714fad23
AS
23285 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23286 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23287 feraiseexcept.
23288
81dcc7fb
AS
23289 * sysdeps/x86_64/memrchr.S: Check for zero size.
23290
5298ffa8
AS
23291 * string/stratcliff.c: Add memrchr tests.
23292
951fbcec
LD
232932011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23294
23295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23296 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23297 rawmemchr-sse2 rawmemchr-sse2-bsf.
23298 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23299 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23300 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23301 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23302 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23303 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23304 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23305 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23306 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23307 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23308 * string/memrchr.c (MEMRCHR): New macro.
23309
0ac5ae23
UD
233102011-10-12 Ulrich Drepper <drepper@gmail.com>
23311
23312 Add integration with gcc's -ffinite-math-only and optimize wrapper
23313 functions in libm.
23314 * Versions.def: Define GLIBC_2.15 version for libm.
23315 * math/Makefile (headers): Add bits/math-finite.h.
23316 * math/bits/math-finite.h: New file.
23317 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23318 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23319 * math/e_acoshl.c: Add __*_finite alias.
23320 * math/e_acosl.c: Likewise.
23321 * math/e_asinl.c: Likewise.
23322 * math/e_atan2l.c: Likewise.
23323 * math/e_atanhl.c: Likewise.
23324 * math/e_coshl.c: Likewise.
23325 * math/e_exp10.c: Likewise.
23326 * math/e_exp10f.c: Likewise.
23327 * math/e_exp10l.c: Likewise.
23328 * math/e_exp2l.c: Likewise.
23329 * math/e_fmodl.c: Likewise.
23330 * math/e_gammal_r.c: Likewise.
23331 * math/e_hypotl.c: Likewise.
23332 * math/e_j0l.c: Likewise.
23333 * math/e_j1l.c: Likewise.
23334 * math/e_jnl.c: Likewise.
23335 * math/e_lgammal_r.c: Likewise.
23336 * math/e_log10l.c: Likewise.
23337 * math/e_log2l.c: Likewise.
23338 * math/e_logl.c: Likewise.
23339 * math/e_powl.c: Likewise.
23340 * math/e_sinhl.c: Likewise.
23341 * math/e_sqrtl.c: Likewise.
23342 * math/e_scalb.c: Completely rewritten and optimized.
23343 * math/e_scalbf.c: Likewise.
23344 * math/e_scalbl.c: Likewise.
23345 * math/w_acos.c: Likewise.
23346 * math/w_acosf.c: Likewise.
23347 * math/w_acosl.c: Likewise.
23348 * math/w_acosh.c: Likewise.
23349 * math/w_acoshf.c: Likewise.
23350 * math/w_acoshl.c: Likewise.
23351 * math/w_asin.c: Likewise.
23352 * math/w_asinf.c: Likewise.
23353 * math/w_asinl.c: Likewise.
23354 * math/w_atan2.c: Likewise.
23355 * math/w_atan2f.c: Likewise.
23356 * math/w_atan2l.c: Likewise.
23357 * math/w_atanh.c: Likewise.
23358 * math/w_atanhf.c: Likewise.
23359 * math/w_atanhl.c: Likewise.
23360 * math/w_exp10.c: Likewise.
23361 * math/w_exp10f.c: Likewise.
23362 * math/w_exp10l.c: Likewise.
23363 * math/w_fmod.c: Likewise.
23364 * math/w_fmodf.c: Likewise.
23365 * math/w_fmodl.c: Likewise.
23366 * math/w_j0.c: Likewise.
23367 * math/w_j0f.c: Likewise.
23368 * math/w_j0l.c: Likewise.
23369 * math/w_j1.c: Likewise.
23370 * math/w_j1f.c: Likewise.
23371 * math/w_j1l.c: Likewise.
23372 * math/w_jn.c: Likewise.
23373 * math/w_jnf.c: Likewise.
23374 * math/w_log.c: Likewise.
23375 * math/w_logf.c: Likewise.
23376 * math/w_logl.c: Likewise.
23377 * math/w_log10.c: Likewise.
23378 * math/w_log10f.c: Likewise.
23379 * math/w_log10l.c: Likewise.
23380 * math/w_log2.c: Likewise.
23381 * math/w_log2f.c: Likewise.
23382 * math/w_log2l.c: Likewise.
23383 * math/w_pow.c: Likewise.
23384 * math/w_powf.c: Likewise.
23385 * math/w_powl.c: Likewise.
23386 * math/w_remainder.c: Likewise.
23387 * math/w_remainderf.c: Likewise.
23388 * math/w_remainderl.c: Likewise.
23389 * math/w_scalb.c: Likewise.
23390 * math/w_scalbf.c: Likewise.
23391 * math/w_scalbl.c: Likewise.
23392 * math/w_sqrt.c: Likewise.
23393 * math/w_sqrtf.c: Likewise.
23394 * math/w_sqrtl.c: Likewise.
23395 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23396 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23397 used.
23398 * math/math_private.h: Declare __kernel_standard_f.
23399 * math/w_cosh.c: Remove cruft and optimize a bit.
23400 * math/w_coshf.c: Likewise.
23401 * math/w_coshl.c: Likewise.
23402 * math/w_exp2.c: Likewise.
23403 * math/w_exp2f.c: Likewise.
23404 * math/w_exp2l.c: Likewise.
23405 * math/w_hypot.c: Likewise.
23406 * math/w_hypotf.c: Likewise.
23407 * math/w_hypotl.c: Likewise.
23408 * math/w_lgamma.c: Likewise.
23409 * math/w_lgamma_r.c: Likewise.
23410 * math/w_lgammaf.c: Likewise.
23411 * math/w_lgammaf_r.c: Likewise.
23412 * math/w_lgammal.c: Likewise.
23413 * math/w_lgammal_r.c: Likewise.
23414 * math/w_sinh.c: Likewise.
23415 * math/w_sinhf.c: Likewise.
23416 * math/w_sinhl.c: Likewise.
23417 * math/w_tgamma.c: Likewise.
23418 * math/w_tgammaf.c: Likewise.
23419 * math/w_tgammal.c: Likewise.
23420 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23421 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23422 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23423 Minor optimizations. Pretty printing. Remove cruft.
23424 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23425 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23426 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23427 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23428 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23429 * sysdeps/i386/fpu/e_asin.S: Likewise.
23430 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23431 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23432 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23433 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23434 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23435 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23436 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23437 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23438 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23439 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23440 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23441 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23442 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23443 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23444 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23445 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23446 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23447 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23448 * sysdeps/i386/fpu/e_log.S: Likewise.
23449 * sysdeps/i386/fpu/e_log10.S: Likewise.
23450 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23451 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23452 * sysdeps/i386/fpu/e_log2.S: Likewise.
23453 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23454 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23455 * sysdeps/i386/fpu/e_logf.S: Likewise.
23456 * sysdeps/i386/fpu/e_logl.S: Likewise.
23457 * sysdeps/i386/fpu/e_pow.S: Likewise.
23458 * sysdeps/i386/fpu/e_powf.S: Likewise.
23459 * sysdeps/i386/fpu/e_powl.S: Likewise.
23460 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23461 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23462 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23463 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23464 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23465 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23466 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23467 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23468 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23469 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23470 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23472 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23473 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23474 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23476 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23477 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23478 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23479 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23480 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23482 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23483 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23485 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23486 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23487 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23489 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23490 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23491 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23492 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23493 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23494 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23495 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23496 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23497 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23498 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23499 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23500 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23501 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23502 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23503 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23504 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23505 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23506 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23507 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23508 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23509 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23510 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23546 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23547 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23548 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23549 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23550 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23552 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23554 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23555 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23557 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23560 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23561 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23562 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23563 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23564 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23565 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23566 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23567 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23568 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23569 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23570 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23571 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23572 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23573 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23574 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23575 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23576 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23577 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23578 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23579 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23580 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23581 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23582 (__isnanf): Likewise.
23583 (__isinf_ns): Likewise.
23584 (__isinf_nsf): Likewise.
23585 (__finite): Likewise.
23586 (__finitef): Likewise.
23587 (__ieee754_sqrt): Define as macro.
23588 (__ieee754_sqrtf): Define as macro.
23589 (__ieee754_sqrtl): Define as macro.
23590 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23591 inlined copy.
23592 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23593 __FINITE_MATH_ONLY__ consistent.
23594 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23595
12cc2fcd
AS
235962011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23597
a843a204
AS
23598 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23599 of rawmemchr.
23600
12cc2fcd
AS
23601 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23602
c853acd5
UD
236032011-10-09 Ulrich Drepper <drepper@gmail.com>
23604
23605 * po/ja.po: Update from translation team.
23606
c658d255
RM
236072011-10-08 Roland McGrath <roland@hack.frob.com>
23608
110946e4
RM
23609 * locale/programs/locarchive.c (prepare_address_space): New function.
23610 (create_archive, enlarge_archive, open_archive): Use it.
23611
50604220
RM
23612 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23613 inside [SHARED], where it is used.
23614
c658d255
RM
23615 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23616
23617 * nss/getent.c (netgroup_keys): Remove unused variable.
23618 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23619
6a621eb7
UD
236202011-10-08 Ulrich Drepper <drepper@gmail.com>
23621
7edb55ce
UD
23622 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23623 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23625 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23626 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23627 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23628 * math/Makefile (libm-calls): Add s_isinf_ns.
23629 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23630 * math/multc3.c: Likewise.
23631 * math/s_casin.c: Likewise.
23632 * math/s_casinf.c: Likewise.
23633 * math/s_casinl.c: Likewise.
23634 * math/s_ccos.c: Likewise.
23635 * math/s_ccosf.c: Likewise.
23636 * math/s_ccosl.c: Likewise.
23637 * math/s_ctan.c: Likewise.
23638 * math/s_ctanf.c: Likewise.
23639 * math/s_ctanh.c: Likewise.
23640 * math/s_ctanhf.c: Likewise.
23641 * math/s_ctanhl.c: Likewise.
23642 * math/s_ctanl.c: Likewise.
23643 * math/w_fmod.c: Likewise.
23644 * math/w_fmodf.c: Likewise.
23645 * math/w_fmodl.c: Likewise.
23646 * math/w_remainder.c: Likewise.
23647 * math/w_remainderf.c: Likewise.
23648 * math/w_remainderl.c: Likewise.
23649 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23650 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23651 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23653 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23654 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23655 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23656 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23657
187da0ae
UD
23658 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23659 of the number.
23660 * stdio-common/printf_fphex.c: Likewise.
23661 * stdio-common/printf_size.c: Likewise.
23662
9277c064
UD
23663 * math/e_exp10.c: Include math_private.h using <...> not "...".
23664 * math/e_exp10f.c: Likewise.
23665 * math/e_exp10l.c: Likewise.
23666 * math/e_exp2l.c: Likewise.
23667 * math/e_j0l.c: Likewise.
23668 * math/e_j1l.c: Likewise.
23669 * math/e_jnl.c: Likewise.
23670 * math/e_lgammal_r.c: Likewise.
23671 * math/e_rem_pio2l.c: Likewise.
23672 * math/e_scalb.c: Likewise.
23673 * math/e_scalbf.c: Likewise.
23674 * math/e_scalbl.c: Likewise.
23675 * math/k_cosl.c: Likewise.
23676 * math/k_sinl.c: Likewise.
23677 * math/k_tanl.c: Likewise.
23678 * math/s_cacoshf.c: Likewise.
23679 * math/s_catan.c: Likewise.
23680 * math/s_catanf.c: Likewise.
23681 * math/s_catanh.c: Likewise.
23682 * math/s_catanhf.c: Likewise.
23683 * math/s_catanhl.c: Likewise.
23684 * math/s_catanl.c: Likewise.
23685 * math/s_ccosh.c: Likewise.
23686 * math/s_ccoshf.c: Likewise.
23687 * math/s_ccoshl.c: Likewise.
23688 * math/s_cexp.c: Likewise.
23689 * math/s_cexpf.c: Likewise.
23690 * math/s_cexpl.c: Likewise.
23691 * math/s_clog.c: Likewise.
23692 * math/s_clog10.c: Likewise.
23693 * math/s_clog10f.c: Likewise.
23694 * math/s_clog10l.c: Likewise.
23695 * math/s_clogf.c: Likewise.
23696 * math/s_clogl.c: Likewise.
23697 * math/s_csin.c: Likewise.
23698 * math/s_csinf.c: Likewise.
23699 * math/s_csinh.c: Likewise.
23700 * math/s_csinhf.c: Likewise.
23701 * math/s_csinhl.c: Likewise.
23702 * math/s_csinl.c: Likewise.
23703 * math/s_csqrt.c: Likewise.
23704 * math/s_csqrtf.c: Likewise.
23705 * math/s_csqrtl.c: Likewise.
23706 * math/s_ctan.c: Likewise.
23707 * math/s_ctanf.c: Likewise.
23708 * math/s_ctanh.c: Likewise.
23709 * math/s_ctanhf.c: Likewise.
23710 * math/s_ctanhl.c: Likewise.
23711 * math/s_ctanl.c: Likewise.
23712 * math/s_ldexp.c: Likewise.
23713 * math/s_ldexpf.c: Likewise.
23714 * math/s_ldexpl.c: Likewise.
23715 * math/s_significand.c: Likewise.
23716 * math/s_significandf.c: Likewise.
23717 * math/s_significandl.c: Likewise.
23718 * math/w_acos.c: Likewise.
23719 * math/w_acosf.c: Likewise.
23720 * math/w_acosh.c: Likewise.
23721 * math/w_acoshf.c: Likewise.
23722 * math/w_acoshl.c: Likewise.
23723 * math/w_acosl.c: Likewise.
23724 * math/w_asin.c: Likewise.
23725 * math/w_asinf.c: Likewise.
23726 * math/w_asinl.c: Likewise.
23727 * math/w_atan2.c: Likewise.
23728 * math/w_atan2f.c: Likewise.
23729 * math/w_atan2l.c: Likewise.
23730 * math/w_atanh.c: Likewise.
23731 * math/w_atanhf.c: Likewise.
23732 * math/w_atanhl.c: Likewise.
23733 * math/w_cosh.c: Likewise.
23734 * math/w_coshf.c: Likewise.
23735 * math/w_coshl.c: Likewise.
23736 * math/w_dremf.c: Likewise.
23737 * math/w_exp10.c: Likewise.
23738 * math/w_exp10f.c: Likewise.
23739 * math/w_exp10l.c: Likewise.
23740 * math/w_exp2.c: Likewise.
23741 * math/w_exp2f.c: Likewise.
23742 * math/w_fmod.c: Likewise.
23743 * math/w_fmodf.c: Likewise.
23744 * math/w_fmodl.c: Likewise.
23745 * math/w_hypot.c: Likewise.
23746 * math/w_hypotf.c: Likewise.
23747 * math/w_hypotl.c: Likewise.
23748 * math/w_j0.c: Likewise.
23749 * math/w_j0f.c: Likewise.
23750 * math/w_j0l.c: Likewise.
23751 * math/w_j1.c: Likewise.
23752 * math/w_j1f.c: Likewise.
23753 * math/w_j1l.c: Likewise.
23754 * math/w_jn.c: Likewise.
23755 * math/w_jnf.c: Likewise.
23756 * math/w_jnl.c: Likewise.
23757 * math/w_lgamma.c: Likewise.
23758 * math/w_lgamma_r.c: Likewise.
23759 * math/w_lgammaf.c: Likewise.
23760 * math/w_lgammaf_r.c: Likewise.
23761 * math/w_lgammal.c: Likewise.
23762 * math/w_lgammal_r.c: Likewise.
23763 * math/w_log.c: Likewise.
23764 * math/w_log10.c: Likewise.
23765 * math/w_log10f.c: Likewise.
23766 * math/w_log10l.c: Likewise.
23767 * math/w_log2.c: Likewise.
23768 * math/w_log2f.c: Likewise.
23769 * math/w_log2l.c: Likewise.
23770 * math/w_logf.c: Likewise.
23771 * math/w_logl.c: Likewise.
23772 * math/w_pow.c: Likewise.
23773 * math/w_powf.c: Likewise.
23774 * math/w_powl.c: Likewise.
23775 * math/w_remainder.c: Likewise.
23776 * math/w_remainderf.c: Likewise.
23777 * math/w_remainderl.c: Likewise.
23778 * math/w_scalb.c: Likewise.
23779 * math/w_scalbf.c: Likewise.
23780 * math/w_scalbl.c: Likewise.
23781 * math/w_sinh.c: Likewise.
23782 * math/w_sinhf.c: Likewise.
23783 * math/w_sinhl.c: Likewise.
23784 * math/w_sqrt.c: Likewise.
23785 * math/w_sqrtf.c: Likewise.
23786 * math/w_sqrtl.c: Likewise.
23787 * math/w_tgamma.c: Likewise.
23788 * math/w_tgammaf.c: Likewise.
23789 * math/w_tgammal.c: Likewise.
23790
6a621eb7
UD
23791 * po/ja.po: Update from translation team.
23792
bf582445
AJ
237932011-09-29 Andreas Jaeger <aj@suse.de>
23794
f9efbf3a
AJ
23795 [BZ #13179]
23796 * sunrpc/netname.c (netname2host): Fix logic.
23797
bf582445
AJ
23798 [BZ #6779]
23799 [BZ #6783]
23800 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23801 correctly.
23802 * math/w_remainder.c (__remainder): Likewise.
23803 * math/w_remainderf.c (__remainderf): Likewise.
23804 * math/libm-test.inc (remainder_test): Add test cases.
23805
48693bea
AK
238062011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23807
23808 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23809 sdiv_qrnnd.
23810
42622229
LD
238112011-10-07 Ulrich Drepper <drepper@gmail.com>
23812
23813 * string/test-memcmp.c: Avoid unncessary #defines.
23814 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23815
093ecf92
LD
238162011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23817
23818 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23819 Use new sse2 version for core i3 - i7 as it's faster
23820 than sse42 version.
23821 (bit_Prefer_PMINUB_for_stringop): New.
23822 * sysdeps/x86_64/rawmemchr.S: Update.
23823 Replace with faster SSE2 version.
23824 * sysdeps/x86_64/memrchr.S: New file.
23825 * sysdeps/x86_64/memchr.S: Update.
23826 Replace with faster SSE2 version.
23827
fde56e5c
MP
238282011-09-12 Marek Polacek <mpolacek@redhat.com>
23829
23830 * elf/dl-load.c (lose): Add cast to avoid warning.
23831
21fd49a9
UD
238322011-10-07 Ulrich Drepper <drepper@gmail.com>
23833
5a06e643
UD
23834 * po/ca.po: Update from translation team.
23835
684ae515
UD
23836 * inet/getnetgrent_r.c: Hook up nscd.
23837 * nscd/Makefile (routines): Add nscd_netgroup.
23838 (nscd-modules): Add netgroupcache.
23839 (CFLAGS-netgroupcache.c): Define.
23840 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23841 (cache_search): Add const to second parameter.
23842 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23843 INNETGR.
23844 (dbs): Add netgrdb entry.
23845 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23846 (verify_persistent_db): Handle netgrdb.
23847 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23848 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23849 GETFDNETGR.
23850 (netgroup_response_header): Define.
23851 (innetgroup_response_header): Define.
23852 (datahead): Add netgroup_response_header and innetgroup_response_header
23853 elements.
23854 * nscd/nscd.conf: Add entries for netgroup cache.
23855 * nscd/nscd.h (dbtype): Add netgrdb.
23856 (_PATH_NSCD_NETGROUP_DB): Define.
23857 (netgroup_iov_disabled): Declare.
23858 (xmalloc, xcalloc, xrealloc): Move declarations here.
23859 (cache_search): Adjust prototype.
23860 Add netgroup-related prototypes.
23861 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23862 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23863 (__nscd_innetgr): Declare.
23864 * nscd/selinux.c (perms): Use access_vector_t as element type and
23865 add netgroup-related initializers.
23866 * nscd/netgroupcache.c: New file.
23867 * nscd/nscd_netgroup.c: New file.
23868 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23869 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23870 For four parameters use innetgr.
23871 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23872 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23873 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23874 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23875
21fd49a9
UD
23876 * nscd/connections.c (register_traced_file): Don't register file
23877 for disabled databases.
23878
054c0457
UD
238792011-10-06 Ulrich Drepper <drepper@gmail.com>
23880
32b63198
UD
23881 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23882
054c0457
UD
23883 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23884 from tree and freeing node.
23885
64031225
JO
238862011-09-25 Jiri Olsa <jolsa@redhat.com>
23887
23888 * nss/nsswitch.c (__nss_database_lookup): Handle
23889 nss_parse_service_list out of memory case.
23890
0490345c
JO
238912011-09-15 Jiri Olsa <jolsa@redhat.com>
23892
23893 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23894 out of memory case.
23895
3a62d00d
AS
238962011-10-04 Andreas Schwab <schwab@redhat.com>
23897
23898 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23899 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23900 pass it down.
23901 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23902 elf_machine_rela, elf_machine_lazy_rel.
23903 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23904 (ELF_DYNAMIC_DO_REL): Likewise.
23905 (ELF_DYNAMIC_DO_RELA): Likewise.
23906 (ELF_DYNAMIC_RELOCATE): Likewise.
23907 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23908 to ELF_DYNAMIC_DO_REL.
23909 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23910 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23911 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23912 elf_machine_rela.
23913 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23914 skip_ifunc, don't call ifunc function if non-zero.
23915 (elf_machine_rela): Likewise.
23916 (elf_machine_lazy_rel): Likewise.
23917 (elf_machine_lazy_rela): Likewise.
23918 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23919 (elf_machine_lazy_rel): Likewise.
23920 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23921 Likewise.
23922 (elf_machine_lazy_rel): Likewise.
23923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23924 Likewise.
23925 (elf_machine_lazy_rel): Likewise.
23926 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23927 (elf_machine_lazy_rel): Likewise.
23928 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23929 (elf_machine_lazy_rel): Likewise.
23930 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23931 (elf_machine_lazy_rel): Likewise.
23932 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23933 (elf_machine_lazy_rel): Likewise.
23934 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23935 (elf_machine_lazy_rel): Likewise.
23936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23937 (elf_machine_lazy_rel): Likewise.
23938
68577918
UD
239392011-09-28 Ulrich Drepper <drepper@gmail.com>
23940
23941 * nss/nss_files/files-init.c (_nss_files_init): Use static
23942 initialization for all the *_traced_file variables.
23943
68822d74
AS
239442011-09-28 Andreas Schwab <schwab@redhat.com>
23945
23946 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23947
2056100b
RM
239482011-09-27 Roland McGrath <roland@hack.frob.com>
23949
23950 [BZ #13226]
23951 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23952
32c76b63
AS
239532011-09-27 Andreas Schwab <schwab@redhat.com>
23954
23955 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23956 Reread the line before reparsing it.
23957
bf972c9d
AS
239582011-09-26 Andreas Schwab <schwab@redhat.com>
23959
23960 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23961
e057a1b5
JM
239622011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23963 Maxim Kuvyrkov <maxim@codesourcery.com>
23964 Joseph Myers <joseph@codesourcery.com>
23965
23966 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23967 if needed for __stack_chk_guard.
23968
bc7e1c36
RM
239692011-09-19 Roland McGrath <roland@hack.frob.com>
23970
ecb1482f
RM
23971 * sysdeps/posix/spawni.c (script_execute): Always define it.
23972 It will be optimized away if unused.
23973 (maybe_script_execute): New function.
23974 (__spawni): Call it.
23975
bc7e1c36
RM
23976 * Makerules: Don't include tls.make.
23977 (config-tls): Always set to thread.
23978 * tls.make.c: File removed.
23979
1c3b002b
MF
239802011-09-19 Mike Frysinger <vapier@gentoo.org>
23981
23982 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23983 * config.make.in (CPPFLAGS-config): New substituted variable.
23984
2840865d
UD
239852011-09-15 Ulrich Drepper <drepper@gmail.com>
23986
88738eb6
UD
23987 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23988
cbf645a6 23989 [BZ #13192]
2840865d
UD
23990 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23991 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23992
b402e91a
RM
239932011-09-15 Roland McGrath <roland@hack.frob.com>
23994
23995 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23996 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23998 (CALL_FAIL): Likewise.
23999 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24000 (CALL_FAIL): Macro removed.
24001 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24002
4c1a1f71
UD
240032011-09-15 Ulrich Drepper <drepper@gmail.com>
24004
24005 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24006 for __FINITE_MATH_ONLY__ == 1.
24007
edc121be
AS
240082011-09-15 Andreas Schwab <schwab@redhat.com>
24009
24010 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24011 __ieee754_sqrt instead of sqrt.
24012 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24013 __ieee754_sqrtf instead of sqrtf.
24014 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24015 __floorf instead of floorf.
24016 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24017 __floorf, __truncf instead of floorf, truncf.
24018
cd205654
UD
240192011-09-14 Ulrich Drepper <drepper@gmail.com>
24020
ee4d0315
UD
24021 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24022
cd205654
UD
24023 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24024 __extern_always_inline.
24025 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24026 32-bit.
24027
48b67d71
AS
240282011-09-14 Andreas Schwab <schwab@redhat.com>
24029
24030 * elf/rtld.c (dl_main): Also relocate in dependency order when
24031 doing symbol dependency testing.
24032
1ae12c75
AS
240332011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24034
24035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24036 Always define `refsym'.
24037
995a80df
AS
240382011-09-13 Andreas Schwab <schwab@redhat.com>
24039
e529793b
AS
24040 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24041 (__FD_ELT): Renamed from __FDELT.
24042 * misc/bits/select2.h (__FD_ELT): Likewise.
24043 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24044 __FD_MASK instead of __FDELT, __FDMASK.
24045 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24046 Likewise.
24047 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24048 Likewise.
24049
52d4fef8
AS
24050 * elf/Makefile (gen-ldd): Fix pattern.
24051
995a80df
AS
24052 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24053 (init_tls): Likewise.
24054
8682f8b0
UD
240552011-09-12 Ulrich Drepper <drepper@gmail.com>
24056
24057 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24058
de82006d
AS
240592011-09-12 Andreas Schwab <schwab@redhat.com>
24060
a7c8e6a1
AS
24061 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24062 `struct cmsghdr *' instead of `void *'.
24063 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24064 Likewise.
24065
0f31fe77
AS
240662011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24067
24068 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24069 if non-absolute.
24070 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24071 ldd_rewrite_script.
0f31fe77 24072
32b4c839
UD
240732011-09-11 Ulrich Drepper <drepper@gmail.com>
24074
83cd1420
UD
24075 * configure.in: Remove --with-tls option.
24076 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24077 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24078 out in case it is missing.
24079 * sysdeps/ia64/elf/configure.in: Likewise.
24080 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24081 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24082 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24083 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24084 * sysdeps/sh/elf/configure.in: Likewise.
24085 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24086 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24087 * sysdeps/x86_64/elf/configure.in: Likewise.
24088 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24089 * sysdeps/mach/hurd/tls.h: Likewise.
24090
633f745d
UD
24091 [BZ #13067]
24092 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24093
f318beb8
UD
24094 [BZ #13090]
24095 * configure.in: Fix use of AC_INIT.
24096
32b4c839
UD
24097 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24098
3ce1f295
UD
240992011-09-10 Ulrich Drepper <drepper@gmail.com>
24100
bb016596
UD
24101 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24102 __set_errno.
8e58439c
UD
24103 * malloc/hooks.c: Likewise.
24104
aebae053 24105 [BZ #11929]
02d46fc4
UD
24106 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24107 variables statically.
24108 (narenas): Initialize.
24109 (list_lock): Initialize.
bb016596
UD
24110 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24111 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24112 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24113 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24114 Add initializers to main_arena and mp_.
24115 (malloc_state): Remove pagesize member. Change all users to use
24116 GLRO(dl_pagesize).
24117
24118 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24119 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24120 is always initialized.
24121
22a89187
UD
24122 * malloc/malloc.c: Removed unused configurations and dead code.
24123 * malloc/arena.c: Likewise.
24124 * malloc/hooks.c: Likewise.
02d46fc4 24125 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24126
d063d164
UD
24127 * include/tls.h: Removed. USE___THREAD must always be defined.
24128 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24129 * elf/dl-libc.c: Likewise.
24130 * elf/dl-tsd.c: Likewise.
24131 * include/errno.h: Likewise.
24132 * include/netdb.h: Likewise.
24133 * include/resolv.h: Likewise.
24134 * inet/herrno-loc.c: Likewise.
24135 * inet/herrno.c: Likewise.
24136 * malloc/arena.c: Likewise.
24137 * malloc/hooks.c: Likewise.
24138 * malloc/malloc.c: Likewise.
24139 * resolv/res-state.c: Likewise.
24140 * resolv/res_libc.c: Likewise.
24141 * sysdeps/i386/dl-machine.h: Likewise.
24142 * sysdeps/ia64/dl-machine.h: Likewise.
24143 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24144 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24145 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24146 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24147 * sysdeps/sh/dl-machine.h: Likewise.
24148 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24149 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24150 * sysdeps/unix/i386/sysdep.S: Likewise.
24151 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24152 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24155 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24157 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24158 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24161 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24162 * sysdeps/x86_64/dl-machine.h: Likewise.
24163 * tls.make.c: Likewise.
24164
3ce1f295
UD
24165 * configure.in: Remove --with-__thread option. Make tests for
24166 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24167 tls_model attribute fail if no support is available. Remove
24168 USE_IN_LIBIO.
24169 * Makeconfig: Adjust for dropped configure option. All features are
24170 now mandatory.
24171 * Makerules: Likewise.
24172 * Versions.def: Likewise.
24173 * argp/argp-fmtstream.c: Likewise.
24174 * argp/argp-fmtstream.h: Likewise.
24175 * argp/argp-help.c: Likewise.
24176 * assert/assert.c: Likewise.
24177 * config.h.in: Likewise.
24178 * config.make.in: Likewise.
24179 * configure: Likewise.
24180 * configure.in: Likewise.
24181 * csu/Versions: Likewise.
24182 * csu/init.c: Likewise.
24183 * elf/tst-audit2.c: Likewise.
24184 * elf/tst-tls10.c: Likewise.
24185 * elf/tst-tls10.h: Likewise.
24186 * elf/tst-tls11.c: Likewise.
24187 * elf/tst-tls12.c: Likewise.
24188 * elf/tst-tls14.c: Likewise.
24189 * elf/tst-tlsmod11.c: Likewise.
24190 * elf/tst-tlsmod12.c: Likewise.
24191 * elf/tst-tlsmod13.c: Likewise.
24192 * elf/tst-tlsmod13a.c: Likewise.
24193 * elf/tst-tlsmod14a.c: Likewise.
24194 * elf/tst-tlsmod15b.c: Likewise.
24195 * elf/tst-tlsmod16a.c: Likewise.
24196 * elf/tst-tlsmod16b.c: Likewise.
24197 * elf/tst-tlsmod7.c: Likewise.
24198 * elf/tst-tlsmod8.c: Likewise.
24199 * elf/tst-tlsmod9.c: Likewise.
24200 * gmon/gmon.c: Likewise.
24201 * grp/fgetgrent_r.c: Likewise.
24202 * grp/putgrent.c: Likewise.
24203 * hurd/fopenport.c: Likewise.
24204 * include/libc-symbols.h: Likewise.
24205 * include/tls.h: Likewise.
24206 * intl/gettextP.h: Likewise.
24207 * intl/loadinfo.h: Likewise.
24208 * locale/global-locale.c: Likewise.
24209 * locale/localeinfo.h: Likewise.
24210 * mach/devstream.c: Likewise.
24211 * malloc/arena.c: Likewise.
24212 * malloc/set-freeres.c: Likewise.
24213 * misc/err.c: Likewise.
24214 * misc/getttyent.c: Likewise.
24215 * misc/mntent_r.c: Likewise.
24216 * posix/getopt.c: Likewise.
24217 * posix/wordexp.c: Likewise.
24218 * pwd/fgetpwent_r.c: Likewise.
24219 * resolv/Versions: Likewise.
24220 * resolv/res_hconf.c: Likewise.
24221 * shadow/fgetspent_r.c: Likewise.
24222 * shadow/putspent.c: Likewise.
24223 * stdio-common/printf_fphex.c: Likewise.
24224 * stdio-common/tmpfile.c: Likewise.
24225 * stdlib/abort.c: Likewise.
24226 * stdlib/fmtmsg.c: Likewise.
24227 * sunrpc/auth_unix.c: Likewise.
24228 * sunrpc/clnt_perr.c: Likewise.
24229 * sunrpc/clnt_tcp.c: Likewise.
24230 * sunrpc/clnt_udp.c: Likewise.
24231 * sunrpc/clnt_unix.c: Likewise.
24232 * sunrpc/openchild.c: Likewise.
24233 * sunrpc/svc_simple.c: Likewise.
24234 * sunrpc/svc_tcp.c: Likewise.
24235 * sunrpc/svc_udp.c: Likewise.
24236 * sunrpc/svc_unix.c: Likewise.
24237 * sunrpc/xdr.c: Likewise.
24238 * sunrpc/xdr_array.c: Likewise.
24239 * sunrpc/xdr_rec.c: Likewise.
24240 * sunrpc/xdr_ref.c: Likewise.
24241 * sunrpc/xdr_stdio.c: Likewise.
24242
1248c1c4
PB
242432011-09-09 Ulrich Drepper <drepper@gmail.com>
24244
24245 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24246
242472011-07-03 Andreas Jaeger <aj@suse.de>
24248
24249 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24250 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24251 regenerate with gen-libm-tests.pl.
24252
242532010-05-12 Petr Baudis <pasky@suse.cz>
24254
24255 [BZ #11589]
24256 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24257 around j0() zero points by switching to j1().
24258 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24262
f22e1074
UD
242632011-09-09 Ulrich Drepper <drepper@gmail.com>
24264
f19009c1
UD
24265 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24266 instead of 0.
24267 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24268 instead of 0.
f19009c1
UD
24269 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24270 Patch in part by Pavel Roskin <proski@gnu.org>.
24271
3f8cc204
UD
24272 [BZ #13138]
24273 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24274 realloc.
24275 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24276 Free memory block if necessary.
24277
f22e1074
UD
24278 [BZ #12847]
24279 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24280 be NULL. Don't lock in this case.
24281
0a2349f9
RM
242822011-09-09 Roland McGrath <roland@hack.frob.com>
24283
24284 * elf/elf.h (ELFOSABI_GNU): New macro.
24285 (ELFOSABI_LINUX): Define to that.
24286
f3cdd467
DZ
242872011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24288
24289 * string/strncat.c (strncat): Undef the symbol in case it has been
24290 defined in bits/string.h.
24291
74718d13
UD
242922011-09-09 Ulrich Drepper <drepper@gmail.com>
24293
633e9e0f
UD
24294 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24295
0a2349f9 24296 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24297 link map.
24298
f9924780
AJ
242992011-08-17 Andreas Jaeger <aj@suse.de>
24300
24301 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24302
7f5517aa
PP
243032011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24304 Ian Lance Taylor <iant@google.com>
24305
24306 * math/libm-test.inc (lround_test): New testcase.
24307 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24308
762011fe
UD
243092011-09-08 Ulrich Drepper <drepper@gmail.com>
24310
92963737
UD
24311 * Makefile: Remove support for automatic cvs check-ins.
24312 * Makerules: Likewise.
24313 * config.make.in: Likewise.
24314 * configure.in: Likewise.
24315 * intl/Makefile: Likewise.
24316 * locale/Makefile: Likewise.
24317 * po/Makefile: Likewise.
24318 * posix/Makefile: Likewise.
24319 * sysdeps/gnu/Makefile: Likewise.
24320 * sysdeps/mach/hurd/Makefile: Likewise.
24321 * sysdeps/sparc/sparc32/Makefile: Likewise.
24322
b0727fd8
JS
24323 [BZ #13118]
24324 * posix/Makefile (bug-regex32-ENV): Define.
24325 Patch by John Stanley <jpsinthemix@verizon.net>.
24326
a0f33f99
UD
24327 * misc/Makefile (headers): Add bits/select2.h.
24328 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24329 * misc/bits/select2.h: New file.
24330 * include/bits/select2.h: New file.
24331 * debug/Makefile (routines): Add fdelt_chk.
24332 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24333 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24334 FD_ISSET.
24335 * debug/fdelt_chk.c: New file.
24336
762011fe
UD
24337 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24338 * wcsmbs/test-wmemcmp.c: Likewise.
24339 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24340 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24341
243422011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24343
24344 * string/Makefile (strop-tests): Add memcmp.
24345 * string/test-wmemcmp.c: New file.
24346 * string/test-memcmp.c: Add wmemcmp support.
24347
7f513ec8
RM
243482011-09-08 Roland McGrath <roland@hack.frob.com>
24349
0442afb4
RM
24350 [BZ #13153]
24351 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24352 2011-07-19 change.
24353
7f513ec8
RM
24354 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24355 garbage value in a __mach_port_mod_refs call in the cases of the
24356 task-self and thread-self ports.
24357
a12b2239
ST
243582011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24359
24360 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24361
610f9ab4
AS
243622011-09-08 Andreas Schwab <schwab@redhat.com>
24363
7f513ec8 24364 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24365
48882a1a
LD
243662011-09-07 Ulrich Drepper <drepper@gmail.com>
24367
b49865be
UD
24368 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24369
fdc86bc9
UD
24370 * elf/dl-libc.c (dlerror_run): Pass back error code from
24371 dl_catch_error.
24372
c966526a
UD
24373 [BZ #13123]
24374 * elf/dl-load.c (lose): Free l_origin if it is valid.
24375
48882a1a
LD
24376 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24377 names.
24378 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24379 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24380 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24381 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24382 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24383 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24384
77a2a8b4
AZ
243852011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24386
24387 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24388 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24389 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24390 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24391 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24392 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24393 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24394 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24395 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24396 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24397
24f579d8
AM
243982011-08-15 Alan Modra <amodra@gmail.com>
24399
24400 [BZ #13092]
24401 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24402 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24403 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24404 ppc_mcount to static-only-routines.
24405 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24406 __mcount_internal.
24407 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24408 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24409
3d4837df
UD
244102011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24411
24412 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24413 for finite and infinity parameters.
24414
22700377
WS
244152011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24416
24417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24418 and add nop instructions for throughput optimization.
24419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24420
5025581e
WS
244212011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24422
24423 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24424 aligned copy for power7 with vector-scalar instructions.
24425 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24426
08a300c9
L
244272011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24428
24429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24430 AVX check.
24431
59178ef9
AS
244322011-09-07 Andreas Schwab <schwab@redhat.com>
24433
24434 [BZ #13144]
24435 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24436 last change.
24437
e38ba7ab
UD
244382011-09-07 Ulrich Drepper <drepper@gmail.com>
24439
24440 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24441 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24442 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24443 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24444 clock_gettime.
24445
d53a73ac
UD
244462011-09-06 Ulrich Drepper <drepper@gmail.com>
24447
fc8bffcc
UD
24448 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24449 Forgot to demangle the pointer.
24450
ceaa0c5d
UD
24451 * sysdeps/i386/sysdep.h: Define atom_text_section.
24452 * sysdeps/x86_64/sysdep.h: Likewise.
24453 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24454 section with atom_text_section.
24455 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24457 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24459 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24460
a77d3c17
UD
24461 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24462 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24463 already be defined. Change to take two parameters and don't assign
24464 result to variable. Adjust all users.
24465 Define INTERNAL_GETTIME if not already defined.
24466 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24467 call.
24468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24469 HAVE_CLOCK_GETTIME_VSYSCALL.
24470 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24471
d53a73ac
UD
24472 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24473 gettimeofday vsyscall, just use time.
24474
a8f84144
AS
244752011-09-06 Andreas Schwab <schwab@redhat.com>
24476
24477 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24478 <errno.h>.
24479
ef606249
UD
244802011-09-06 Ulrich Drepper <drepper@gmail.com>
24481
24482 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24483 syscall on x86-64.
24484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24485 syscall.
24486 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24487 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24488 syscall if possible.
24489
6585cb60
UD
244902011-09-05 Ulrich Drepper <drepper@gmail.com>
24491
24492 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24493 e_ident. Don't pass to find_mapsXX.
24494 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24495
a5f524e4
LD
244962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24497
24498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24499 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24500 * sysdeps/x86_64/multiarch/strchr.S: Update.
24501 Check bit_slow_BSF bit.
24502 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24503 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24504 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24505
554881ef
UD
245062011-09-05 Ulrich Drepper <drepper@gmail.com>
24507
d96de963
UD
24508 [BZ #13134]
24509 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24510 before glibc 2.15.
24511 (tryshell): Define.
24512 (__spawni): Change last parameter to be flag. Test
24513 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24514 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24515 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24516 * posix/spawni.c: Likewise.
24517 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24518 * posix/spawnp.c: Likewise. Change normal version to use
24519 SPAWN_XFLAGS_USE_PATH.
24520 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24521 SPAWN_XFLAGS_TRY_SHELL.
24522
d48e5868
UD
24523 [BZ #13150]
24524 * posix/glob.h: Remove gcc 1.x support.
24525
554881ef
UD
24526 [BZ #13068]
24527 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24528
693fb948
LD
245292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24530
24531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24532 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24533 strrchr-sse2-bsf
24534 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24535 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24536 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24537 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24538 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24539 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24540
1b48c537
UD
245412011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24542
49d42c37
UD
24543 * sysdeps/x86_64/wcscmp.S: New file.
24544
1b48c537
UD
24545 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24546 wcscmp-c wcscmp-sse2
24547 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24548 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24549 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24550 * wcsmbs/wcscmp.c: Allow renaming.
24551
15c95c5d
DM
245522011-09-05 David S. Miller <davem@davemloft.net>
24553
24554 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24555 stack slot, rather than the struct return pointer slot.
24556 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24557 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24559 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24560
2f0ad8f3
UD
245612011-09-05 Ulrich Drepper <drepper@gmail.com>
24562
d88ae418
UD
24563 * po/ja.po: Update from translation team.
24564
2f0ad8f3
UD
24565 [BZ #13144]
24566 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24567 kernel in 64-bit binaries.
24568
5f4318d1
DM
245692011-09-01 David S. Miller <davem@davemloft.net>
24570
24571 * elf/elf.h (HWCAP_SPARC_*): Move to..
24572 * sysdeps/sparc/sysdep.h: this new file and add new values.
24573 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24574 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24575 _DL_HWCAP_COUNT to 24.
24576 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24577 entries.
24578 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24579 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24580 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24582 instead of magic constants.
24583 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24584
3ba57516
DM
245852011-08-31 David S. Miller <davem@davemloft.net>
24586
24587 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24588 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24589 Reimplement to do errno handling inline.
24590 (SYSCALL_ERROR_HANDLER): New macro.
24591 (__SYSCALL_STRING): Do not do errno handling in asm.
24592 (__CLONE_SYSCALL_STRING): Delete.
24593 (__INTERNAL_SYSCALL_STRING): Delete.
24594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24595 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24596 (PSEUDO): Reimplement to do errno handling inline.
24597 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24598 (SYSCALL_ERROR_HANDLER): New macro.
24599 (__SYSCALL_STRING): Do not do errno handling in asm.
24600 (__CLONE_SYSCALL_STRING): Delete.
24601 (__INTERNAL_SYSCALL_STRING): Delete.
24602 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24603 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24604 i386.
24605 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24606 (inline_syscall*): Add 'err' argument.
24607 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24608 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24609 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24610 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24611
24612 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24613 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24614
2bc17433
AS
246152011-08-30 Andreas Schwab <schwab@redhat.com>
24616
24617 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24618
fbeb5f4d
JO
246192011-08-29 Jiri Olsa <jolsa@redhat.com>
24620
24621 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24622 directive.
24623
ad69cc26
DM
246242011-08-24 David S. Miller <davem@davemloft.net>
24625
24626 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24627
39dd69df
AS
246282011-08-24 Andreas Schwab <schwab@redhat.com>
24629
24630 * elf/Makefile: Add rules to build and run unload8 test.
24631 * elf/unload8.c: New file.
24632 * elf/unload8mod1.c: New file.
24633 * elf/unload8mod1x.c: New file.
24634 * elf/unload8mod2.c: New file.
24635 * elf/unload8mod3.c: New file.
24636
24637 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24638 it wasn't used.
24639
2c0b250a
DM
246402011-08-23 David S. Miller <davem@davemloft.net>
24641
24642 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24643 subtract stack bias.
24644 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24645 %sp not %fp in calculations.
24646 (_JMPBUF_UNWINDS_ADJ): Likewise.
24647
22044b48
DM
24648 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24649 (aio_suspend): Call it to force an exception region around the
24650 AIO_MISC_WAIT() invocation.
24651
2cae4995
AS
246522011-08-23 Andreas Schwab <schwab@redhat.com>
24653
24654 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24655 backslash.
24656
873a772e
AJ
246572011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24658
24659 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24660 protection macro.
24661 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24662 and <dl-machine.h>.
24663 (Elf64_FuncDesc): Remove.
24664
25ad0df1
DM
246652011-08-22 David S. Miller <davem@davemloft.net>
24666
24667 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24668 sigaltstack check, add missing cfi directives.
24669 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24670 missing cfi directives, and sigaltstack handling.
24671
e888bcbe
AS
246722011-08-16 Andreas Schwab <schwab@redhat.com>
24673
24674 [BZ #11724]
24675 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24676 object is seen twice.
24677 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24678
24679 * elf/Makefile (distribute): Add tst-initorder2.c.
24680 (tests): Add tst-initorder2.
24681 (modules-names): Add tst-initorder2a tst-initorder2b
24682 tst-initorder2c tst-initorder2d. Add rules to build them.
24683 ($(objpfx)tst-initorder2.out): New rule.
24684 * elf/tst-initorder2.c: New file.
24685 * elf/tst-initorder2.exp: New file.
24686
87162f46
AS
246872011-08-22 Andreas Schwab <schwab@redhat.com>
24688
70538b7f
AS
24689 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24690
f55ffe58
AS
24691 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24692 dependencies back to end of function.
24693
87162f46
AS
24694 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24695 $(elfobjdir)/ld.so.
24696
91b392a4
UD
246972011-08-21 Ulrich Drepper <drepper@gmail.com>
24698
24699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24700 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24702 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24703 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24704 of __vdso_gettimeofday.
24705 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24706 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24707 attribute_hidden.
24708 (_libc_vdso_platform_setup): Remove initialization of
24709 __vdso_gettimeofday and __vdso_time.
24710
5c43483f
UD
247112011-08-20 Ulrich Drepper <drepper@gmail.com>
24712
775a77e7
UD
24713 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24714 and fgetc_unlocked.
24715 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24716 getc_unlocked.
89f447ed 24717
49c74ba9
UD
24718 * elf/dl-open.c (add_to_global): Report additions to the global scope
24719 for LD_DEBUG=scopes.
24720 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24721 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24722
5c43483f
UD
24723 [BZ #13114]
24724 * stdio-common/Makefile (tests): Add bug24.
24725 * stdio-common/bug24.c: New file.
24726
a101b025
AJ
247272011-08-19 Andreas Jaeger <aj@suse.de>
24728
24729 [BZ #13114]
24730 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24731 non-existant file when using close-on-exec mode.
24732
c88f1766
UD
247332011-08-20 Ulrich Drepper <drepper@gmail.com>
24734
0276a718
UD
24735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24736 the very first instruction.
24737
c88f1766
UD
24738 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24739 the CFI state in the end.
24740 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24741 inclusion of dl-trampoline.h.
24742 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24743
51ccffa0
AS
247442011-08-19 Andreas Schwab <schwab@redhat.com>
24745
94d7165f
AS
24746 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24747 expectations for long double.
24748
51ccffa0
AS
24749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24750 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24751
fd708658 247522011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24753
24754 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24755 artificual limit depends upon the system page size.
24756
44f0a71e
UD
247572011-08-17 Ulrich Drepper <drepper@gmail.com>
24758
24759 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24760 * resolv/Makefile: Define CFLAGS-libresolv.
24761
8de79a24
AS
247622011-08-17 Andreas Schwab <schwab@redhat.com>
24763
24764 * nss/makedb.c (compute_tables): Make variables used in nested
24765 function static.
24766
27724598
UD
247672011-08-17 Ulrich Drepper <drepper@gmail.com>
24768
c5305d88
UD
24769 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24770 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24771 if buffer was too small.
24772
27724598
UD
24773 * elf/pldd.c (main): Attach to all threads in the process.
24774 Rewrite /proc handling to use *at functions.
24775
076fe015
UD
247762011-08-16 Ulrich Drepper <drepper@gmail.com>
24777
174baab3
UD
24778 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24779 specifies first scope to show.
24780 (dl_open_worker): Update callers. Move printing scope of new
24781 object to before the relocation.
44f0a71e 24782 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24783 * sysdeps/generic/ldsodefs.h: Update declaration.
24784
076fe015
UD
24785 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24786 string for the scope number.
24787
a60df2c3
UD
247882011-08-14 Ulrich Drepper <drepper@gmail.com>
24789
24790 * nscd/servicescache.c (cache_addserv): Make sure written is always
24791 initialized.
24792
5e4287d1
RM
247932011-08-14 Roland McGrath <roland@hack.frob.com>
24794
85ae0589
RM
24795 * sysdeps/i386/i486/bits/atomic.h
24796 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24797 statement expression, so as to suppress "set but not used" warning.
24798 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24799
69f63097
RM
24800 * string/strncat.c (STRNCAT): Use prototype definition.
24801
675456ef
RM
24802 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24803 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24804 -Iprograms here.
24805 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24806 (localedef-modules): Add localedef.
24807 (locale-modules): Add locale.
24808
5e4287d1
RM
24809 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24810 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24811 to avoid a warning.
24812
9c96ff23
DM
248132011-08-14 David S. Miller <davem@davemloft.net>
24814
24815 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24816 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24817
f9ddf089
UD
248182011-08-13 Ulrich Drepper <drepper@gmail.com>
24819
44f0a71e 24820 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24821 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24822 * elf/rtld.c (dl_main): Set l_name of vDSO.
24823 Call _dl_show_scope when DL_DEBUG_SCOPES.
24824 (process_dl_debug): Recognize scopes flag and also set it for all.
24825 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24826 Declare _dl_show_scope.
24827
1dc27704
UD
24828 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24829 (do_dlopen): Pass caller_dlopen to dl_open.
24830 (__libc_dlopen_mode): Initialize caller_dlopen.
24831
f9ddf089
UD
24832 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24833 of libc. Make tolower call locale-independent. Optimize a bit by
24834 using isdigit instead of isalnum.
24835 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24836
9ac533d3
UD
248372011-08-12 Ulrich Drepper <drepper@gmail.com>
24838
24839 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24840 was a dependency or dynamically loaded.
24841
89edf2e9
UD
248422011-08-11 Ulrich Drepper <drepper@gmail.com>
24843
8e999d29
UD
24844 * intl/l10nflist.c: Allow architecture-specific pop function.
24845 * sysdeps/x86_64/l10nflist.c: New file.
24846
89edf2e9
UD
24847 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24848 classification.
24849
14d96785
AS
248502011-08-10 Andreas Schwab <schwab@redhat.com>
24851
24852 * include/dirent.h: Add libc_hidden_proto for scandirat and
24853 scandirat64. Don't declare __scandirat64.
24854 * dirent/scandirat.c: Add libc_hidden_def.
24855 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24856 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24857
6761ac04
DM
248582011-08-10 David S. Miller <davem@davemloft.net>
24859
24860 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24861 enum.
24862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24863 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24864 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24865
c55fbd1e
UD
248662011-08-09 Ulrich Drepper <drepper@gmail.com>
24867
24868 * Versions.def [libc]: Add GLIBC_2.15.
24869 * dirent/Makefile (routines): Add scandirat and scandirat64.
24870 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24871 GLIBC_2.15.
24872 * dirent/dirent.h: Declare scandirat and scandirat64.
24873 * dirent/scandirat.c: New file.
24874 * dirent/scandirat64.c: New file.
24875 * sysdeps/wordsize-64/scandirat.c: New file.
24876 * sysdeps/wordsize-64/scandirat64.c: New file.
24877 * dirent/opendir.c: Define opendirat.
24878 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24879 using scandirat.
24880 * dirent/scandir64.c: Adjust for scandir.c change.
24881 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24882 __scandirat64, and __scandir_cancel_handler.
24883 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24884 additional parameter and use openat instead of open (outside of ld.so).
24885 Add new __opendir as wrapper around __opendirat.
24886 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24887 here without requiring old scandirat implementation.
24888
879165f2
UD
248892011-08-08 Ulrich Drepper <drepper@gmail.com>
24890
24891 * dirent/scandir.c (cancel_handler): Renamed to
24892 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24893 defined. Adjust users.
24894 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24895 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24896
cb7e923b
UD
248972011-08-04 Ulrich Drepper <drepper@gmail.com>
24898
16292edd
UD
24899 * string/test-string.h (IMPL): Use __STRING to expand name and then
24900 stringify it.
24901
cb7e923b
UD
24902 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24903 of cleanups.
24904
cff82933
LD
249052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24906
24907 * string/Makefile: Update.
24908 (strop-tests): Append strncat.
24909 * string/test-wcscmp.c: New file.
24910 New comprehensive test for wcscmp.
24911 * string/test-strcmp.c: Update.
24912 (WIDE): New define.
24913
9be9bfcc
AS
249142011-07-22 Andreas Schwab <schwab@redhat.com>
24915
24916 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24917 line.
24918
2e96f1c7
AS
249192011-07-26 Andreas Schwab <schwab@redhat.com>
24920
24921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24922 encoding to ACE if AI_IDN.
24923
85188888
JJ
249242011-08-01 Jakub Jelinek <jakub@redhat.com>
24925
24926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24927 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24928
5fa16e9b
LD
249292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24930
24931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24932 Fix overflow bug in strncat.
24933 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24934
24935 * string/test-strncat.c: Update.
24936 Add new tests for checking overflow bugs.
24937
249382011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24939
24940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24941 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24942 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24943 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24944 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24945 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24946 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24947 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24948 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24949
24950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24951 (USE_AS_STRCAT): Define.
24952 Add strcat and strncat support.
24953 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24954
8c1a459f
AS
249552011-07-25 Andreas Schwab <schwab@redhat.com>
24956
24957 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24958 __n bigger than INT_MAX+1.
24959 (__strncmp_g): Likewise.
24960
bba33c28
UD
249612011-07-23 Ulrich Drepper <drepper@gmail.com>
24962
798be72d
UD
24963 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24964 * libio/stido.h: Likewise.
24965
8accd4dc
UD
24966 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24967 (AF_NFC): Define.
24968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24969 (AF_NFC): Define.
24970
cbff0d96
UD
24971 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24972 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24973 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24974 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24975 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24976
9191c04a
UD
24977 [BZ #13021]
24978 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24979 installed.
24980
bba33c28
UD
24981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24982 typo.
24983 (_dl_x86_64_save_sse): Likewise.
24984
90f139dd
UD
249852011-07-22 Ulrich Drepper <drepper@gmail.com>
24986
1aae088a
UD
24987 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24988 OSXSAVE.
24989 (_dl_x86_64_save_sse): Likewise.
24990
8e2045f5
UD
24991 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24992
90f139dd
UD
24993 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24994
1d002f25
AS
249952011-07-21 Andreas Schwab <schwab@redhat.com>
24996
24997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24998 change.
24999 (_dl_x86_64_save_sse): Use correct AVX check.
25000
21137f89
UD
250012011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25002
25003 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25004 bug in strncpy/strncat.
25005 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25006
a65c0b7a
UD
250072011-07-21 Ulrich Drepper <drepper@gmail.com>
25008
25009 * string/tester.c (test_strcat): Add tests for different alignments
25010 of source and destination.
25011 (test_strncat): Likewise.
25012
6986b98a
UD
250132011-07-20 Ulrich Drepper <drepper@gmail.com>
25014
90bb2039
UD
25015 [BZ #12852]
25016 * posix/glob.c (glob): Check passed in values before using them in
25017 expressions to avoid some overflows.
25018 (glob_in_dir): Likewise.
25019
5644ef54
UD
25020 [BZ #13007]
25021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25022 check for AVX enablement so that we don't crash with old kernels and
25023 new hardware.
25024 * elf/tst-audit4.c: Add same checks here.
25025 * elf/tst-audit6.c: Likewise.
25026
25027 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25028
bfc9dc9b
AS
250292011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25030
25031 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25032
702e64bb
UD
250332011-07-20 Ulrich Drepper <drepper@gmail.com>
25034
25035 * po/cs.po: Update from translation team.
25036 * po/bg.po: Likewise.
25037
295e904f
MP
250382011-07-12 Marek Polacek <mpolacek@redhat.com>
25039
25040 * misc/sys/cdefs.h: Add support for const attribute.
25041 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25042 to gnu_dev_{major,minor,makedev} functions.
25043
3ff94596
MP
250442011-07-20 Marek Polacek <mpolacek@redhat.com>
25045
25046 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25047
28b59fca
AS
250482011-07-20 Andreas Schwab <schwab@redhat.com>
25049
25050 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25051 strlen results.
25052
19df733e
AK
250532011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25054
25055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25056 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25057 register in order to avoid conflicts with the soft frame pointer
25058 being held in r11 when necessary.
25059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25060 (INTERNAL_VSYSCALL_NCS): Likewise.
25061
c8835729
MP
250622011-07-14 Marek Polacek <mpolacek@redhat.com>
25063
25064 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25065 * elf/dl-fini.c (_dl_fini): Adjust caller.
25066 * elf/dl-close.c (_dl_close_worker): Likewise.
25067 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25068
b902330c
MP
250692011-07-15 Marek Polacek <mpolacek@redhat.com>
25070
8991e135
MP
25071 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25072 "aux_cache->nlibs < 0".
25073
b902330c
MP
25074 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25075 in the reload-count case.
25076
99710781
LD
250772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25078
25079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25080 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25081 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25082 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25083 * sysdeps/x86_64/multiarch/strcat.S: New file.
25084 * sysdeps/x86_64/multiarch/strncat.S: New file.
25085 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25086 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25087 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25088 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25090 (USE_AS_STRCAT): Define.
25091 Add strcat and strncat support.
25092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25093 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25094 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25095 * string/strncat.c: Update.
25096 (USE_AS_STRNCAT): Define.
25097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25098 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25099 and i7.
25100 * sysdeps/x86_64/multiarch/init-arch.h
25101 (bit_Prefer_PMINUB_for_stringop): New.
25102 (index_Prefer_PMINUB_for_stringop): Likewise.
25103 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25104 bit_Prefer_PMINUB_for_stringop.
25105
7dc6bd90
UD
251062011-07-19 Ulrich Drepper <drepper@gmail.com>
25107
25108 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25109 buffer64.
25110 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25111 of casting of buffer.
25112 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25113 buffer32 and buffer64.
25114 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25115 writes instead of casting of buffer.
25116 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25117 buffer32.
25118 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25119 casting of buffer.
25120
e0e72284
AS
251212011-07-19 Andreas Schwab <schwab@redhat.com>
25122
25123 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25124
feb1eb0b
UD
251252011-07-19 Ulrich Drepper <drepper@gmail.com>
25126
25127 * nscd/nscd.c (termination_handler): Don't do anything for a database
25128 if it has not yet been initialized.
25129
298711ff
UD
251302011-07-18 Ulrich Drepper <drepper@gmail.com>
25131
25132 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25133
251342011-07-15 Marek Polacek <mpolacek@redhat.com>
25135
25136 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25137
f9d68389
UD
251382011-07-18 Ulrich Drepper <drepper@gmail.com>
25139
25140 * po/nl.po: Update from translation team.
25141 * po/sv.po: Likewise.
25142
db290cf5
RM
251432011-07-16 Roland McGrath <roland@hack.frob.com>
25144
25145 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25146 now disallowed by GCC.
5c550700 25147
fd5e21c7
RM
25148 * configure.in (use-default-link): Default to yes if a test -shared
25149 link meets our qualifications.
25150 * configure: Regenerated.
25151
5c550700
RM
25152 * config.make.in (output-format): New variable.
25153 * configure.in: Check for ld --print-output-format support.
25154 * configure: Regenerated.
25155 * Makerules ($(common-objpfx)format.lds)
25156 [$(output-format) != unknown]: Just use $(output-format),
25157 instead of the linker-script munging.
25158
9fa2c032
RM
251592011-07-14 Roland McGrath <roland@hack.frob.com>
25160
a6928d51
RM
25161 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25162 of $(common-objpfx)shlib.lds.
25163 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25164
661607b3
RM
25165 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25166 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25167
9fa2c032
RM
25168 * configure.in (-z relro check): Adjust test code to add a large
25169 writable data section after it.
25170 * configure: Regenerated.
25171
defe9061
RM
251722011-07-11 Roland McGrath <roland@hack.frob.com>
25173
25174 * configure.in (-z relro check): Fix test code to make the variable
25175 truly const.
25176 * configure: Regenerated.
25177
319b9ad4
UD
251782011-07-11 Ulrich Drepper <drepper@gmail.com>
25179
25180 * nscd/nscd.h (struct traced_file): Define.
25181 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25182 elements. Add traced_files.
25183 (inotify_fd): Declare.
25184 (register_traced_file): Declare.
25185 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25186 (inotify_fd): Export.
25187 (resolv_conf_descr): Remove.
25188 (nscd_init): Move inotify descriptor creation to main.
25189 Don't register files for notification here.
25190 (register_traced_file): New function.
25191 (invalidate_cache): Don't use reset_res to determine whether to call
25192 res_init, go through the list of registered files.
25193 (main_loop_poll): The inotify descriptors are now stored in the
25194 structures for the traced files.
25195 (main_loop_epoll): Likewise
25196 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25197 to __nss_disable_nscd.
25198 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25199 for a database anymore. Check the records for all the registered
25200 files instead.
25201 * nss/Makefile (libnss_files-routines): Add files-init.
25202 (libnss_db-routines): Add db-init.
25203 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25204 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25205 * nss/nss_db/db-init.c: New file.
25206 * nss/nss_files/files-init.c: New file.
25207 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25208 __nss_lookup_function.
25209 (__nss_lookup_function): Call nss_load_library.
25210 (nss_load_all_libraries): New function.
25211 (__nss_disable_nscd): Take parameter with callback function for files
25212 to register. Set is_nscd. Load all the DSOs for the NSS modules
25213 used for the cached services.
25214 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25215 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25216 options for features to all the files in nscd.
25217
25218 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25219
23bee3e8
RM
252202011-07-10 Roland McGrath <roland@hack.frob.com>
25221
25222 * csu/elf-init.c (__libc_csu_init): Comment typo.
25223
46a5b7f0
UD
252242011-07-09 Ulrich Drepper <drepper@gmail.com>
25225
25226 * po/pl.po: Update from translation team.
25227 * po/ja.po: Likewise.
25228 * po/ru.po: Likewise.
25229 * po/ko.po: Likewise.
25230 * po/fr.po: Likewise.
25231
d30cf5bb
RM
252322011-07-09 Roland McGrath <roland@hack.frob.com>
25233
113ddea4
RM
25234 * configure.in (.ctors/.dtors header and trailer check):
25235 Use an empirical test on a built program.
25236 * configure: Regenerated.
25237
574920b4
RM
25238 * configure.in (-z relro check): Use an empirical test on a built DSO.
25239 Detect, but do not require, on ia64.
25240 * configure: Regenerated.
25241
d30cf5bb
RM
25242 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25243 Update tests that use readelf to use $READELF instead.
25244 * configure: Regenerated.
25245
8538fdb3
UD
252462011-07-08 Ulrich Drepper <drepper@gmail.com>
25247
25248 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25249 if the result is not used.
25250
04d08991
AJ
252512011-07-05 Andreas Jaeger <aj@suse.de>
25252
25253 [BZ#9696]
25254 * stdlib/tst-strtod.c: Add testcase.
25255
de283087
AD
252562011-07-07 Ulrich Drepper <drepper@gmail.com>
25257
4e5f31c8 25258 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25259 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25260 The latter has a higher limit. Take additional parameter to pass to
25261 the new function.
25262 (__pathconf): Pass file to __statfs_link_max.
25263 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25264 __statfs_link_max.
25265 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25266 __statfs_link_max.
25267
de283087
AD
25268 [BZ #12868]
25269 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25270 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25271 Handle Lustre.
25272 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25273 (__statfs_filesize_max): Likewise.
25274 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25275
c75fa153
AJ
252762011-07-05 Andreas Jaeger <aj@suse.de>
25277
25278 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25279
1a544854
UD
252802011-07-06 Marek Polacek <mpolacek@redhat.com>
25281
25282 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25283 `status' variable.
25284 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25285 Likewise.
25286
6f0eec67
UD
252872011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25288
25289 * Makefile (strop-tests): Add strncat.
25290 * string/test-strncat.c: New file.
25291
aae30307
UD
252922011-06-30 Marek Polacek <mpolacek@redhat.com>
25293
25294 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25295
c0cfb5eb
UD
252962011-06-21 Andreas Jaeger <aj@suse.de>
25297
25298 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25299 Copy rule from iconvdata/Makefile.
25300
01636b21
UD
253012011-07-06 Ulrich Drepper <drepper@gmail.com>
25302
25303 [BZ #12922]
25304 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25305 but no long options are defined, just return 'W'.
25306
9895c8bc
UD
253072011-06-22 Marek Polacek <mpolacek@redhat.com>
25308
25309 [BZ #9696]
25310 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25311
5d4cf042
UD
253122011-07-06 Ulrich Drepper <drepper@gmail.com>
25313
25314 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25315 netgroups to read.
960e5535 25316 (innetgr): Likewise.
5d4cf042 25317
751eb97e
RM
253182011-07-05 Roland McGrath <roland@hack.frob.com>
25319
25320 * config.make.in (install_root): Default to $(DESTDIR).
25321
f15f1e45
UD
253222011-07-05 Ulrich Drepper <drepper@gmail.com>
25323
25324 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25325
4e34ac6a
RM
253262011-07-02 Roland McGrath <roland@hack.frob.com>
25327
5e9b6af4
RM
25328 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25329
84f9ea0f
RM
25330 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25331 containing directory rather than embedding absolute directory names.
25332
ea5ee9f7
RM
25333 * scripts/check-local-headers.sh: Rewritten using awk.
25334 Match by word, not by line. Print error messages for matches.
25335 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25336
1b74661a
RM
25337 * Makerules [shlib-lds-flags empty]:
25338 ($(common-objpfx)libc_pic.opts): New target.
25339 ($(common-objpfx)libc_pic.os.clean): New target.
25340 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25341
25342 * config.make.in (OBJCOPY): New variable.
25343 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25344 * configure: Regenerated.
25345
f781ef40
RM
25346 * config.make.in (use-default-link): New variable.
25347 * configure.in (use_default_link): Grok --with-default-link to set it.
25348 * configure: Regenerated.
25349 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25350 (shlib-lds, shlib-lds-flags): Define to empty.
25351
2d4fa81e
RM
25352 * Makerules (shlib-lds): New variable.
25353 (shlib-lds-flags): New variable.
25354 (build-shlib, build-moduile, build-module-asneeded): Use it.
25355 ($(common-objpfx)libc.so): Use $(shlib-lds).
25356 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25357 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25358
31fffa6b
RM
25359 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25360 DT_FLAGS/DT_FLAGS_1 with zero flags.
25361
4e34ac6a
RM
25362 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25363 linker script munging.
25364
fcfc776b
UD
253652011-07-02 Ulrich Drepper <drepper@gmail.com>
25366
25367 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25368 as 128-bit value.
25369 * crypt/sha512.c (sha512_process_block): Perform total addition using
25370 128-bit if possible.
25371 (__sha512_finish_ctx): Likewise.
25372 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25373 as 64-bit value.
25374 * crypt/sha256.c (SWAP64): Define.
25375 (sha256_process_block): Perform total addition using 64-bit if
25376 possible.
25377 (__sha256_finish_ctx): Likewise.
25378
99231d9a
UD
253792011-07-01 Ulrich Drepper <drepper@gmail.com>
25380
25381 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25383 * nscd/hstcache.c (cache_addhst): Likewise.
25384 * nscd/grpcache.c (cache_addgr): Likewise.
25385 * nscd/aicache.c (addhstaiX): Likewise
25386 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25387
445b4a53
TK
253882011-07-01 Thorsten Kukuk <kukuk@suse.de>
25389
25390 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25392 * nscd/hstcache.c (cache_addhst): Likewise.
25393 * nscd/grpcache.c (cache_addgr): Likewise.
25394 * nscd/aicache.c (addhstaiX): Likewise
25395
6d4d8e8e
AS
253962011-07-01 Andreas Schwab <schwab@redhat.com>
25397
25398 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25399 domain only when needed.
25400
89f654c5
AS
254012011-06-30 Andreas Schwab <schwab@redhat.com>
25402
25403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25404 is always restored.
25405
cf3b23ff
UD
254062011-06-29 Ulrich Drepper <drepper@gmail.com>
25407
25408 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25409 are re-adding the entry.
25410 * nscd/servicescache.c (cache_addserv): Likewise.
25411
751626f9
AJ
254122011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25413
25414 * sysdeps/generic/dl-irel.h: fix protection against multiple
25415 inclusions.
25416 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25417
9113ea1f
UD
254182011-06-28 Ulrich Drepper <drepper@gmail.com>
25419
5c0b8d90
UD
25420 [BZ #12935]
25421 * malloc/memusage.sh: Fix quoting in message.
25422 * debug/xtrace.sh: Likewise.
25423
9113ea1f
UD
25424 * configure.in: Remove support for --experimental-malloc option, make
25425 it the default.
25426 * config.make.in: Likewise.
25427 * malloc/Makefile: Likewise.
25428
a4172181
AS
254292011-06-27 Andreas Schwab <schwab@redhat.com>
25430
25431 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25432 two-byte characters.
25433
78a7eee7
RM
254342011-06-27 Roland McGrath <roland@hack.frob.com>
25435
62bede13
RM
25436 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25437 AC_CACHE_CHECK invocation.
25438 * configure: Regenerated.
25439
78a7eee7
RM
25440 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25441
5ce33a62
UD
254422011-06-27 Ulrich Drepper <drepper@gmail.com>
25443
034807a9
UD
25444 [BZ #12350]
25445 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25446 bit from old_res_options.
25447
4902da17
UD
25448 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25449
5ce33a62
UD
25450 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25451 value type for setfct.
25452
c2344f56
L
254532011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25454
25455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25456 __gettimeofday instead of gettimeofday.
25457
68468076
UD
254582011-06-26 Ulrich Drepper <drepper@gmail.com>
25459
25460 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25461
acb0d739
L
254622011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25463
25464 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25465
25466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25467 info.
25468
8912479f
L
254692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25470
25471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25472 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25473 strcpy-sse2-unaligned strncpy-sse2-unaligned
25474 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25475 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25476 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25477 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25478 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25479 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25480 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25481 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25482 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25483 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25484 (STRCPY): Support SSE2 and SSSE3 versions.
25485
d5495a11
UD
254862011-06-24 Ulrich Drepper <drepper@gmail.com>
25487
25488 [BZ #12874]
25489 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25490 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25491 kernels which artificially limit size of requests.
25492
0b1cbaae
L
254932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25494
25495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25496 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25497 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25498 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25499 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25500 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25501 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25502 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25503 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25504 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25505 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25506 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25507 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25508 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25509 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25511 Enable unaligned load optimization for Intel Core i3, i5 and i7
25512 processors.
25513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25514 Define.
25515 (index_Fast_Unaligned_Load): Define.
25516 (HAS_FAST_UNALIGNED_LOAD): Define.
25517
07f494a0
MP
255182011-06-23 Marek Polacek <mpolacek@redhat.com>
25519
25520 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25521
fa3fc0fe
UD
255222011-06-22 Ulrich Drepper <drepper@gmail.com>
25523
25524 [BZ #12907]
25525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25526 until it is clear that the information is realy needed.
25527 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25528
e12df166
AS
255292011-06-22 Andreas Schwab <schwab@redhat.com>
25530
25531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25532
852eb34d
UD
255332011-06-22 Ulrich Drepper <drepper@gmail.com>
25534
84e2a551
UD
25535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25536 /sys/devices/system/cpu/online if it is usable.
25537
852eb34d
UD
25538 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25539 reading the information from the /proc filesystem to once a second.
25540
6e502e19
UD
255412011-06-21 Andreas Jaeger <aj@suse.de>
25542
25543 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25544 NULL after inclusion of kernel headers.
25545
75d39ff2
UD
255462011-06-21 Ulrich Drepper <drepper@gmail.com>
25547
51f9aa6a
UD
25548 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25549 calls to internal_setent.
25550
c0244a9d
UD
25551 [BZ #12885]
25552 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25553 addresses using gethostbyname4_r ignore IPv4 addresses.
25554
c5e3c2ae
UD
25555 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25556 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25557
75d39ff2
UD
25558 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25559
42675c6f
DM
255602011-06-20 David S. Miller <davem@davemloft.net>
25561
25562 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25563 inclusions.
25564 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25565
25566 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25567 (elf_irel): Use it.
25568 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25569 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25570 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25571 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25572 * sysdeps/x86_64/dl-irel.h: Likewise.
25573
25574 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25575 * elf/dl-sym.c: Likewise.
25576
57912a71
UD
255772011-06-15 Ulrich Drepper <drepper@gmail.com>
25578
25579 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25580 need to dereference resplen2.
25581
ee22793d
AS
255822011-06-14 Andreas Schwab <schwab@redhat.com>
25583
25584 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25585
a9e836b0
UD
255862011-06-15 Ulrich Drepper <drepper@gmail.com>
25587
77fb9117
UD
25588 * Makeconfig: Define vardbdir and inst_vardbdir.
25589 * nss/Makefile: Add rules to install db-Makefile.
25590
40c1b22c
UD
25591 * nss/nss_db/db-XXX.c: Cleanup.
25592
9f2da732
UD
25593 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25594 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25595 GLIBC_PRIVATE.
25596 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25597 * nss/makedb.c: Implement -g option to specify that value strings
25598 are generated and should not be added to table iterated over for
25599 get*ent calls.
25600 * nss/nss_db/db-initgroups.c: New file.
25601
82e9a1f7
UD
25602 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25603 interface.
25604
c41af17e
UD
25605 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25606 (internal_getgrouplist): Adjust to name change.
25607 Update use_initgroups_entry if this is not the first call.
25608 * nss/databases.def: Add initgroups entry.
25609
a9e836b0
UD
25610 * nss/makedb.c (compute_tables): Check result of multiple hash table
25611 sizes to minimize maximum chain length.
25612
2666d441
UD
256132011-06-14 Ulrich Drepper <drepper@gmail.com>
25614
25615 * Versions.def: Add entry for libnss_db.
25616 * shlib-versions: Likewise.
25617 * nss/Makefile: Add rules to build libnss_db.
25618 * nss/Versions: Add libnss_db information. Organize libnss_files
25619 entries better.
25620 * nss/db-Makefile: Add gshadow support. Change rules for the new
25621 makedb progra. Some minor improvements to generate smaller files.
25622 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25623 here from...
25624 * nss/makedb.c: ...here.
25625 Improve database format to be smaller and require less memory at
25626 runtime.
25627 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25628 db anymore.
25629 * nss/nss_db/db-netgrp.c: Likewise.
25630 * nss/nss_db/db-open.c: Likewise.
25631 * nss/nss_files/flies-XXX.x: Adjust comments.
25632 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25633 * nss/nss_files/files-grp.c: Likewise.
25634 * nss/nss_files/files-hosts.c: Likewise.
25635 * nss/nss_files/files-network.c: Likewise.
25636 * nss/nss_files/files-proto.c: Likewise.
25637 * nss/nss_files/files-pwd.c: Likewise.
25638 * nss/nss_files/files-rpc.c: Likewise.
25639 * nss/nss_files/files-service.c: Likewise.
25640 * nss/nss_files/files-sgrp.c: Likewise.
25641 * nss/nss_files/files-spwd.c: Likewise.
25642 * nss/nss_db/db-alias.c: Removed.
25643 * nss/nss_db/dummy-db.h: Removed.
25644
9ee76b5a
UD
256452011-06-02 Ulrich Drepper <drepper@gmail.com>
25646
25647 * nss/makedb.c: Rewritten to not use database library.
25648 * nss/Makefile: Update to build new makedb program.
25649
c71ca1f8
AJ
256502011-06-14 Andreas Jaeger <aj@suse.de>
25651
25652 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25653 memset declaration.
25654
3154bfb8
UD
256552011-06-10 Andreas Schwab <schwab@redhat.com>
25656
25657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25658 tmpbuf.
25659
b350afab
RM
256602011-06-10 Roland McGrath <roland@hack.frob.com>
25661
decd4e50
RM
25662 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25663 * elf/Makefile ($(objpfx)ld.so): Likewise.
25664
5615eaf2
RM
25665 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25666 Don't list ld.so twice in dependencies.
25667
25668 * posix/bug-regex31.c: Include <stdlib.h>.
25669
25670 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25671
25672 * nis/nss_compat/compat-spwd.c
25673 (getspent_next_nss_netgr): Remove unused variable.
25674 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25675
25676 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25677 nonmembers" output to use the right array.
25678
25679 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25680
25681 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25682
25683 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25684 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25685 * catgets/gencat.c (read_input_file): Likewise.
25686 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25687
25688 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25689 variable definition inside #if's controlling its use.
25690
25691 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25692
25693 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25694
25695 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25696
25697 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25698 unreachable code.
25699
25700 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25701
b68e08db
RM
25702 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25703 * configure: Regenerated.
25704
b350afab
RM
25705 * Makerules: Revert last change.
25706 * elf/Makefile: Likewise.
25707
28368601
RM
257082011-06-09 Roland McGrath <roland@hack.frob.com>
25709
25710 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25711 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25712 (reloc-link): Likewise.
25713
11988f8f
UD
257142011-06-09 Ulrich Drepper <drepper@gmail.com>
25715
25716 * elf/Makefile: Add rules to build pldd.
25717 * elf/pldd.c: New file.
25718 * elf/pldd-xx.c: New file.
25719
e80fab37
UD
257202011-06-07 Ulrich Drepper <drepper@gmail.com>
25721
25722 * version.h: Update for 2.15 development version.
25723
9b849836
DM
257242011-06-07 David S. Miller <davem@davemloft.net>
25725
25726 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25727 ifuncs.
25728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25729 elf_machine_lazy_rel): Likewise.
25730 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25732 elf_machine_lazy_rel): Likewise.
25733 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25734 dl_hwcap via passed in argument.
25735 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25736 Likewise.
25737
5a31b283
AK
257382011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25739
25740 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25741
069e52f8
RM
257422011-06-06 Roland McGrath <roland@hack.frob.com>
25743
25744 [BZ #12849]
25745 * manual/fdl-1.1.texi: New file, verbatim from:
25746 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25747 * manual/lgpl-2.1.texi: New file, verbatim from:
25748 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25749 * manual/Makefile (licenses): New variable, list those new file names.
25750 (texis): Use it.
25751 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25752
25753 * manual/fdl.texi: File removed.
25754 * manual/lesser.texi: File removed.
25755 * manual/libc.texinfo (Copying, Documentation License):
25756 Use new @include file names, put @appendix directive before @include.
25757
f16846a5
JJ
257582011-06-04 Jakub Jelinek <jakub@redhat.com>
25759
25760 [BZ #12841]
25761 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25762 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25763 (mq_open): Add __NTH.
25764
3d29045b
L
257652011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25766
25767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25768 Assume Intel Core i3/i5/i7 processor if AVX is available.
25769
8c297311
UD
257702011-05-31 Ulrich Drepper <drepper@gmail.com>
25771
25772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25773 typo.
25774
c8fc0c91
UD
257752011-05-31 Andreas Schwab <schwab@redhat.com>
25776
25777 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25778 memory. Use alloca_account. Fix memory leak when retrying.
25779
5b27a807
UD
257802011-05-31 Ulrich Drepper <drepper@gmail.com>
25781
356f8bc6
UD
25782 * version.h (RELEASE): Bump for 2.14 release.
25783 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25784
5b27a807
UD
25785 * config.make.in (RANLIB): Remove entry.
25786
01f16ab0
UD
257872011-05-30 Ulrich Drepper <drepper@gmail.com>
25788
41fce8bd
UD
25789 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25790 (libc.pot): Work around missing support for .ksh extension in xgettext.
25791
4769ae77
UD
25792 [BZ #12684]
25793 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25794 if both request failed.
25795 (send_dg): In case of server errors clear resplen or *resplen2.
25796
6b1e7d19
UD
25797 [BZ #12454]
25798 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25799 when there are multiple maps.
25800 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25801 (_dl_fini): Remove test here.
25802
01f16ab0
UD
25803 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25804
b1ebd700
UD
258052011-05-29 Ulrich Drepper <drepper@gmail.com>
25806
7ae22829
UD
25807 [BZ #12350]
25808 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25809 bit from old_res_options.
25810 (gaih_inet): Likewise.
25811
553149f6 25812 [BZ #11099]
18a84741 25813 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25814 as signed.
25815
652ffab1
UD
25816 * resolv/res_init.c (res_setoptions): Make the code more compact.
25817
16985fd0
UD
25818 [BZ #11558]
25819 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25820 set RES_USEVC.
25821
0464f746
UD
25822 [BZ #11634]
25823 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25824
7d17596c
UD
25825 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25826
cf6bbbd7
UD
25827 [BZ #11781]
25828 * malloc/malloc.h: Declare malloc hook variables as volatile.
25829
13f1ab36
UD
25830 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25831 in last patch.
25832
b1ebd700
UD
25833 [BZ #11799]
25834 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25835 raise in the comment.
80e2212d
UD
25836 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25837 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25838 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25839
ce67228d
UD
258402011-05-28 Ulrich Drepper <drepper@gmail.com>
25841
8887a920
UD
25842 [BZ #12811]
25843 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25844 grow the buffers more if it already has to be sufficient.
25845 (build_wcs_upper_buffer): Likewise.
25846 * posix/regexec.c (check_matching): Likewise.
25847 (clean_state_log_if_needed): Likewise.
25848 (extend_buffers): Don't enlarge buffers beyond size of the input
25849 buffer.
25850 Patches mostly by Emil Wojak <emil@wojak.eu>.
25851 * posix/bug-regex32.c: New file.
25852 * posix/Makefile (tests): Add bug-regex32.
25853
4f031072
UD
25854 * locale/findlocale.c (_nl_find_locale): Return right away if
25855 _nl_explode_name failed.
25856 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25857
d0478f0c
UD
25858 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25859
de81b246
UD
25860 * debug/xtrace.sh: Unify messages.
25861 * malloc/memusage.sh: Likewise.
25862
c738465a
UD
25863 [BZ #12813]
25864 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25865 time symbol from vDSO. Substitute with vsyscall if not available.
25866 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25867 __vdso_time.
25868
f1f929d7
UD
25869 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25870 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25871 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25872 Add sendmmsg and internal_sendmmsg.
25873 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25874 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25875 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25876
ce67228d
UD
25877 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25878 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25879 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25880
e57420c6
UD
258812011-05-27 Ulrich Drepper <drepper@gmail.com>
25882
a8509ca5
UD
25883 [BZ #12813]
25884 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25885 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25886 available.
25887 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25888 __vdso_getcpu.
25889
e57420c6
UD
25890 [BZ #12814]
25891 * iconvdata/Makefile (tests): Add bug-iconv9.
25892 * iconvdata/bug-iconv9.c: New file.
25893
4d07db15
AS
258942011-05-27 Andreas Schwab <schwab@redhat.com>
25895
25896 [BZ #12814]
25897 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25898
ea486f69
JJ
258992011-05-25 Jakub Jelinek <jakub@redhat.com>
25900
25901 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25902 (struct user_regs_struct): Change intcs field back to cs.
25903
6f038433
UD
259042011-05-25 Ulrich Drepper <drepper@gmail.com>
25905
25906 * po/ja.po: Update from translation team.
25907
67f86a25
UD
259082011-05-23 Ulrich Drepper <drepper@gmail.com>
25909
25910 [BZ #12795]
25911 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25912 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25913
def7fbd6
AS
259142011-05-20 Andreas Schwab <schwab@redhat.com>
25915
25916 * stdlib/longlong.h: Update from GCC.
25917
f50ef8f1
AS
259182011-05-23 Andreas Schwab <schwab@redhat.com>
25919
25920 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25921 parameter name.
25922 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25923 Add parameter name.
25924 (__sysconf): Pass it down.
25925
de7ce8f1
UD
259262011-05-22 Ulrich Drepper <drepper@gmail.com>
25927
f2962a71
UD
25928 [BZ #12671]
25929 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25930 some situations.
25931 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25932 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25933 add in in __libc_use_alloca calls. Adjust callers.
25934 (glob): Use malloc in some situations.
25935
de7ce8f1
UD
25936 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25937 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25938 pltexit.
25939
aec84f53
UD
259402011-05-21 Ulrich Drepper <drepper@gmail.com>
25941
05bb4a68
UD
25942 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25943 and CLOCK_BOOTTIME_ALARM.
25944
7ea72f99
UD
25945 [BZ #12782]
25946 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25947 is returned.
25948
7e4afad5
UD
25949 * string/_strerror.c (__strerror_r): Print negative errors as signed
25950 numbers.
25951
8e211fec
UD
25952 [BZ #12777]
25953 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25954 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25955 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25956
f7d82dc9
UD
25957 * configure.in: Fix typo in redirection and correct removal of test
25958 files in two cases.
25959
cc9e536d
UD
25960 [BZ #12788]
25961 * locale/setlocale.c (new_composite_name): Fix test to check for
25962 identical name of all categories.
25963
aec84f53
UD
25964 [BZ #12792]
25965 * libio/filedoalloc.c (local_isatty): New function.
25966 (_IO_file_doallocate): Use local_isatty.
25967 * stdio-common/perror.c (perror): In case a new stream is used
25968 forward the stream error.
25969 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25970 error flag.
25971
78e64fdc
RT
259722011-05-20 Ulrich Drepper <drepper@gmail.com>
25973
34a9094f
UD
25974 [BZ #11869]
25975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25976 alloca.
25977 * include/alloca.h (extend_alloca_account): Define.
25978
78e64fdc
RT
25979 [BZ #11857]
25980 * posix/regex.h: Fix comments with documentation of user-accessible
25981 fields after compilation and describe correct free'ing of pattern
25982 after re_compile_pattern.
25983 Patch by Reuben Thomas <rrt@sc3d.org>.
25984
457bddfc
RA
259852011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25986
25987 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25988 and -mno-altivec to prevent the compiler from using Altivec and/or
25989 VSX instructions when the corresponding registers are not available.
25990
a4527b51
AS
259912011-05-19 Andreas Schwab <schwab@redhat.com>
25992
25993 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25994
ed690b2f
UD
259952011-05-19 Ulrich Drepper <drepper@gmail.com>
25996
25997 * libio/freopen.c (freopen): Use __dup2, not dup2.
25998 * libio/freopen64.c (freopen64): Likewise.
25999
8db73634
L
260002011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26001
26002 [BZ #12775]
26003 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26004 * math/Makefile (tests): Add test-powl.
26005 (CFLAGS-test-powl.c): Define.
26006 * math/test-powl.c: New file.
26007
0a197a9d
L
260082011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26009
26010 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26011
ee30c380
UD
260122011-05-17 Ulrich Drepper <drepper@gmail.com>
26013
26014 [BZ #11837]
26015 * iconvdata/gb18030.c: Update to GB18020-2005.
26016
6ce75379
UD
260172011-05-16 Ulrich Drepper <drepper@gmail.com>
26018
a4b89fd8
AR
26019 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26020 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26021 Patch by Aharon Robbins <arnold@skeeve.com>.
26022
ea389b12
UD
26023 [BZ #11892]
26024 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26025 on the stack.
26026
68a3f91f
UD
26027 [BZ #11895]
26028 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26029 through underflows.
26030
15cc7dd1
UD
26031 [BZ #12766]
26032 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26033 point to strings before performing equality test for error_one_per_line
26034 mode.
26035
f3799213
UD
26036 [BZ #11697]
26037 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26038
d79a9c94
UD
26039 [BZ #11820]
26040 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26041 (struct user_fpregs_struct): Avoid __uint*_t types.
26042
56e5eb46
UD
26043 [BZ #6420]
26044 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26045 symbol info. Use it instead of calling _dl_addr locally.
26046 (lock_and_info): New function.
26047 (tr_freehook): Call lock_and_info and pass symbol info as additional
26048 parameter to tr_where.
26049 (tr_mallochook): Likewise.
26050 (tr_reallochook): Likewise.
26051 (tr_memalignhook): Likewise.
26052
6ce75379
UD
26053 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26054 used and couldn't be at all thread-safe.
26055
f8a3b5bf
UD
260562011-05-15 Ulrich Drepper <drepper@gmail.com>
26057
94b7cc37
UD
26058 * libio/freopen.c (freopen): Don't close old file descriptor
26059 before the new one is opened. Instead dup the new file descriptor
26060 to the old one after the new stream is created.
26061 * libio/freopen64.c (freopen64): Likewise.
26062 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26063 * libio/fileops.c (_IO_new_file_close_it): Handle new
26064 _IO_FLAGS2_NOCLOSE flag.
26065 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26066 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26067 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26068 _IO_FLAGS2_NOCLOSE flag.
26069 * include/unistd.h: Add hidden_proto for dup3.
26070 Define __have_dup3.
26071 * io/dup3.c: Define hidden symbol.
26072 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26073
bd25564e
UD
26074 [BZ #7101]
26075 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26076 when an incomplete long option is used.
26077 * posix/tst-getopt_long1.c: New file.
26078 * posix/Makefile (tests): Add tst-getopt_long1.
26079
c84cfef4
UD
26080 [BZ #10138]
26081 * scripts/config.guess: Update from autoconf-2.68.
26082 * scripts/config.sub: Likewise.
26083
3b85df27
UD
26084 [BZ #10157]
26085 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26086 tests into ...
26087 (has_cpuclock): ...this. New function.
26088 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26089 macro here based on has_cpuclock code.
26090
15a856b1
UD
26091 [BZ #10149]
26092 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26093 First byte (not low byte) is now always NUL.
26094 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26095
05f399e6
UD
26096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26097 Use non-cancelable interfaces.
26098
10a52685 26099 [BZ #9809]
94ecc67d
UD
26100 * locale/iso-639.def: Add entry for Sorani.
26101
f8a3b5bf
UD
26102 [BZ #11901]
26103 * include/stdlib.h: Move include protection to the right place.
26104 Define abort_msg_s. Declare __abort_msg with it.
26105 * stdlib/abort.c (__abort_msg): Adjust type.
26106 * assert/assert.c (__assert_fail_base): New function. Majority
26107 of code from __assert_fail. Allocate memory for __abort_msg with
26108 mmap.
26109 (__assert_fail): Now call __assert_fail_base.
26110 * assert/assert-perr.c: Remove bulk of implementation. Use
26111 __assert_fail_base.
26112 * include/assert.hL Declare __assert_fail_base.
26113 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26114 mmap.
26115 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26116
1af4e298
UD
261172011-05-14 Ulrich Drepper <drepper@gmail.com>
26118
f8a3b5bf 26119 [BZ #11952]
d26dfc60
MG
26120 [BZ #12453]
26121 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26122 until all modules are registered in the DTV.
26123 * elf/Makefile: Add rules to build and run tst-tls19.
26124 * elf/tst-tls19.c: New file.
26125 * elf/tst-tls19mod1.c: New file.
26126 * elf/tst-tls19mod2.c: New file.
26127 * elf/tst-tls19mod3.c: New file.
26128 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26129
2fc54d6f
UD
26130 [BZ #12083]
26131 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26132 correctly.
26133
98d76b46
UD
26134 [BZ #12601]
26135 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26136 two-byte sequence errors.
26137 * iconvdata/Makefile (tests): Add bug-iconv8.
26138 * iconvdata/bug-iconv8.c: New file.
26139
da3c19ef
UD
26140 [BZ #12626]
26141 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26142 buf2 definition.
26143
ca408c15
UD
26144 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26145
d6f67f7d
UD
26146 [BZ #12432]
26147 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26148 (dummy_getcfa): New function.
26149 (init): Get _Unwind_GetCFA address, use dummy if not found.
26150 (backtrace_helper): In recursion check, also check whether CFA changes.
26151 (__backtrace): Completely initialize arg.
26152
1af4e298 26153 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26154 storing incomplete byte sequence in state object. Avoid testing for
26155 guaranteed too small input if we know there is enough data available.
1af4e298 26156
da62f81b
AS
261572011-05-11 Andreas Schwab <schwab@redhat.com>
26158
26159 * Makeconfig (+link-pie): Indent.
26160 * Rules (binaries-pie): Define if $(have-fpie) and
26161 $(build-shared).
26162 (binaries-shared): Also filter out $(binaries-pie).
26163 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26164 * nscd/Makefile (others-pie): Add nscd.
26165 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26166 ($(objpfx)nscd): Remove command override.
26167 * login/Makefile (others-pie): Add pt_chown.
26168 ($(objpfx)pt_chown): Remove command override.
26169 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26170 remove command overrides.
26171
fcabc0f8
UD
261722011-05-13 Ulrich Drepper <drepper@gmail.com>
26173
20030ae6
UD
26174 * libio/tst_putwc.c: Fix error messages.
26175
fcabc0f8
UD
26176 [BZ #12724]
26177 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26178 currently writing and seek to current position when not.
26179 * libio/Makefile (tests): Add bug-fclose1.
26180 * libio/bug-fclose1.c: New file.
26181
320a5dc0
PB
261822011-05-12 Ulrich Drepper <drepper@gmail.com>
26183
26184 [BZ #12511]
26185 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26186 don't set DF_1_NODELETE here.
26187 (do_lookup_x): When entering new entry test for copy relocation
26188 and if necessary set DF_1_NODELETE flag.
26189 * elf/tst-unique4.cc: New file.
26190 * elf/tst-unique4.h: New file.
26191 * elf/tst-unique4lib.cc: New file.
26192 * elf/Makefile: Add rules to build and run tst-unique4.
26193 Patch by Piotr Bury <pbury@goahead.com>.
26194
22836f52
UD
261952011-05-11 Ulrich Drepper <drepper@gmail.com>
26196
f574184a
UD
26197 [BZ #12052]
26198 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26199
e1fb097f
UD
26200 [BZ #12625]
26201 * misc/mntent_r.c (addmntent): Flush the stream after the output
26202
22836f52
UD
26203 [BZ #12393]
26204 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26205 (is_trusted_path_normalize): Skip initial colon. Append slash
26206 to empty buffer. Duplicate is_trusted_path code but allow
26207 constructed patch to be prefix.
26208 (is_dst): Allow $ORIGIN followed by /.
26209 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26210 Correct testing of result of is_trusted_path_normalize
26211 (decompose_rpath): Fix warning.
26212
7b3b0b2a
UD
262132011-05-10 Ulrich Drepper <drepper@gmail.com>
26214
26215 [BZ #11257]
26216 * grp/initgroups.c (internal_getgrouplist): When we found the service
26217 list through the initgroups entry in nsswitch.conf do not always
26218 continue on a successful lookup. Don't always use the
eac80ce2 26219 __nss_group_database value if it is set.
7b3b0b2a
UD
26220 * nss/nsswitch.conf (initgroups): Change action for successful db
26221 lookup to continue for compatibility.
26222
2a81eaa5
UD
262232011-05-09 Ulrich Drepper <drepper@gmail.com>
26224
be97a69e
UD
26225 [BZ #11532]
26226 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26227 and CP774 modules.
26228 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26229 and CP774 modules.
26230 * iconvdata/tst-tables.sh: Likewise.
26231 * iconvdata/cp770.c: New file.
26232 * iconvdata/cp771.c: New file.
26233 * iconvdata/cp772.c: New file.
26234 * iconvdata/cp773.c: New file.
26235 * iconvdata/cp774.c: New file.
26236 * iconvdata/testdata/CP770: New file.
26237 * iconvdata/testdata/CP770..UTF8: New file.
26238 * iconvdata/testdata/CP771: New file.
26239 * iconvdata/testdata/CP771..UTF8: New file.
26240 * iconvdata/testdata/CP772: New file.
26241 * iconvdata/testdata/CP772..UTF8: New file.
26242 * iconvdata/testdata/CP773: New file.
26243 * iconvdata/testdata/CP773..UTF8: New file.
26244 * iconvdata/testdata/CP774: New file.
26245 * iconvdata/testdata/CP774..UTF8: New file.
26246
26247 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26248 END CHARMAP line.
26249 * iconvdata/gen-8bit-gap.sh: Likewise.
26250 * iconvdata/gen-8bit.sh: Likewise.
26251
c1e9e399
UD
26252 * locale/iso-639.def: Add ary entry.
26253
24c55fb3 26254 [BZ #11258]
96b4b1b0
UD
26255 * locale/C-translit.h.in: Add U20A1 transliteration.
26256
bdc2f971
KB
26257 [BZ #12178]
26258 * locale/iso-639.def: Add wae entry.
26259 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26260
2952b117
UD
26261 [BZ #12545]
26262 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26263 for n.
26264
2a81eaa5
UD
26265 [BZ #12711]
26266 * locale/C-translit.h.in: Add entry for U20B9.
26267 Patch by pravin.d.s@gmail.com.
26268
28377d1b
UD
262692011-05-08 Ulrich Drepper <drepper@gmail.com>
26270
7fb90fb8
UD
26271 [BZ #12713]
26272 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26273 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26274 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26275 in rtld. Use *stat64.
7fb90fb8 26276 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26277 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26278 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26279 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26280 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26281 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26282 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26283 __fstatat64 macros.
7fb90fb8
UD
26284 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26285 * dirent/rewinddir.c: Add libc_hidden_def.
26286 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26287 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26288
28377d1b
UD
26289 * include/dirent.h (__alloc_dir): Add flags parameter.
26290 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26291 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26292 __alloc_dir.
26293 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26294 from fdopendir if O_CLOEXEC is already set.
26295
66bdbaa4
AM
262962011-03-15 Alan Modra <amodra@gmail.com>
26297
26298 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26299 l_tls_firstbyte_offset non-zero. Save padding offset in
26300 l_tls_firstbyte_offset for later use.
26301 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26302 freeing static tls block.
26303
95721191
JN
263042011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26305
26306 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26307 where #ifdef was intended. The intent is to prevent ARG_MAX from
26308 being defined by the kernel headers.
26309
f87dfb1f
UD
263102011-05-07 Ulrich Drepper <drepper@gmail.com>
26311
26312 [BZ #12734]
26313 * resolv/resolv.h: Define RES_NOTLDQUERY.
26314 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26315 no-tld-query and set RES_NOTLDQUERY.
26316 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26317 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26318 modern BIND to search name as TLD unless forbidden.
26319
47c3cd7a
UD
263202011-05-07 Petr Baudis <pasky@suse.cz>
26321 Ulrich Drepper <drepper@gmail.com>
26322
26323 [BZ #12393]
26324 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26325 (is_trusted_path): ...to here.
c1e9ea35 26326 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26327 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26328 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26329
8a35c912
PP
263302011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26331
26332 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26333 __BEGIN/__END_DECLS.
26334
acd41f47
UD
263352011-05-06 Ulrich Drepper <drepper@gmail.com>
26336
26337 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26338 NSS_STATUS_NOTFOUND if no record was found.
26339
597df647
AS
263402011-05-05 Andreas Schwab <schwab@redhat.com>
26341
26342 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26343 (headers-not-in-tirpc): Remove rpc/netdb.h
26344 * resolv/netdb.h: Revert last change.
26345
b9af1301
PP
263462011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26347
26348 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26349 circular dependency between libgcc.a and libc.a.
26350
4e34d5f5
AS
263512011-05-05 Andreas Schwab <schwab@redhat.com>
26352
26353 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26354 * nis/Makefile: Don't install rpcsvc/*.
26355 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26356 instead of <rpc/types.h>.
26357 (MAXHOSTNAMELEN): Define.
26358
00ee369c
AS
263592011-05-03 Andreas Schwab <schwab@redhat.com>
26360
26361 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26362
0b592a30
MB
263632011-04-28 Maciej Babinski <mbabinski@google.com>
26364
26365 [BZ #12714]
26366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26367 gethostbyname4_r when IPv6 results are possible.
26368
6e04cbbe
UD
263692011-05-02 Ulrich Drepper <drepper@gmail.com>
26370
26371 [BZ #12723]
26372 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26373 _PC_PIPE_BUF handling.
26374
e4ecafe0
BH
263752011-04-30 Bruno Haible <bruno@clisp.org>
26376
26377 [BZ #12717]
26378 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26379 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26380 to 'int'.
26381 * inet/getnameinfo.c (getnameinfo): Likewise.
26382
125ee683
UD
263832011-04-29 Ulrich Drepper <drepper@gmail.com>
26384
26385 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26386 to groups setting in database lookup.
26387 * nss/nsswitch.conf: Add initgroups entry.
26388
b722481a
EB
263892011-04-22 Ulrich Drepper <drepper@gmail.com>
26390
26391 [BZ #12685]
26392 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26393 mode string.
26394 Patch by Eric Blake <eblake@redhat.com>.
26395
4df46dbd
L
263962011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26397
26398 * sunrpc/Makefile (need-export-routines): Add svc_run.
26399 (routines): Remove svc_run.
26400 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26401 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26402 * sunrpc/svc_run.c (svc_run): Likewise.
26403 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26404
e84142d2
UD
264052011-04-21 Ulrich Drepper <drepper@gmail.com>
26406
26407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26408 problem in reallocation in last patch.
26409
877175d8
UD
264102011-04-20 Ulrich Drepper <drepper@gmail.com>
26411
26412 * sunrpc/Makefile: Move inclusion of Rules.
26413
ab8eed78
UD
264142011-04-19 Ulrich Drepper <drepper@gmail.com>
26415
26416 * nss/nss_files/files-initgroups.c: New file.
26417 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26418 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26419 _nss_files_initgroups_dyn.
26420
e3d8f584
RS
264212011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26422
26423 * elf/elf.h (R_ARM_IRELATIVE): Define.
26424
af190f45
UD
264252011-04-19 Ulrich Drepper <drepper@gmail.com>
26426
26427 * po/ru.po: Update from translation team.
26428
53cf59ef
UD
264292011-04-17 Ulrich Drepper <drepper@gmail.com>
26430
26431 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26432 dependencies.
26433
4c559bcd
MF
264342011-02-06 Mike Frysinger <vapier@gentoo.org>
26435
26436 [BZ #12653]
26437 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26438 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26439 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26441 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26442
4420675c
AS
264432011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26444
26445 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26446 differing bytes.
26447 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26448 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26450
75ea32ab
UD
264512011-04-17 Ulrich Drepper <drepper@gmail.com>
26452
26453 [BZ #12420]
26454 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26455 storing it.
26456 * stdlib/bug-getcontext.c: New file.
26457 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26458
27390476
AK
264592011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26460
26461 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26462 instructions into .machine "z9-109".
26463 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26464 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26465
10442705
AK
264662011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26467
26468 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26469 between environment variables and auxiliary vector.
26470
7b57bfe5
UD
264712011-04-16 Ulrich Drepper <drepper@gmail.com>
26472
26473 * Makefile: Add rules to build linkobj/libc.so.
26474 * include/libc-symbols.h: Define libc_hidden_nolink.
26475 * include/rpc/auth.h: Mark functions which are to be hidden.
26476 * include/rpc/auth_des.h: Likewise.
26477 * include/rpc/auth_unix.h: Likewise.
26478 * include/rpc/clnt.h: Likewise.
26479 * include/rpc/des_crypt.h: Likewise.
26480 * include/rpc/key_prot.h: Likewise.
26481 * include/rpc/pmap_clnt.h: Likewise.
26482 * include/rpc/pmap_prot.h: Likewise.
26483 * include/rpc/pmap_rmt.h: Likewise.
26484 * include/rpc/rpc_msg.h: Likewise.
26485 * include/rpc/svc.h: Likewise.
26486 * include/rpc/svc_auth.h: Likewise.
26487 * include/rpc/xdr.h: Likewise.
26488 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26489 * nss/Makefile: Likewise.
26490 * sunrpc/Makefile: Don't install headers. Build library with normal
26491 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26492 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26493 for the compat linking library. Remove use of INTDEF/INTUSE.
26494 * sunrpc/auth_none.c: Likewise.
26495 * sunrpc/auth_unix.c: Likewise.
26496 * sunrpc/authdes_prot.c: Likewise.
26497 * sunrpc/authuxprot.c: Likewise.
26498 * sunrpc/clnt_gen.c: Likewise.
26499 * sunrpc/clnt_perr.c: Likewise.
26500 * sunrpc/clnt_raw.c: Likewise.
26501 * sunrpc/clnt_simp.c: Likewise.
26502 * sunrpc/clnt_tcp.c: Likewise.
26503 * sunrpc/clnt_udp.c: Likewise.
26504 * sunrpc/clnt_unix.c: Likewise.
26505 * sunrpc/des_crypt.c: Likewise.
26506 * sunrpc/des_soft.c: Likewise.
26507 * sunrpc/get_myaddr.c: Likewise.
26508 * sunrpc/key_call.c: Likewise.
26509 * sunrpc/key_prot.c: Likewise.
26510 * sunrpc/netname.c: Likewise.
26511 * sunrpc/pm_getmaps.c: Likewise.
26512 * sunrpc/pm_getport.c: Likewise.
26513 * sunrpc/pmap_clnt.c: Likewise.
26514 * sunrpc/pmap_prot.c: Likewise.
26515 * sunrpc/pmap_prot2.c: Likewise.
26516 * sunrpc/pmap_rmt.c: Likewise.
26517 * sunrpc/publickey.c: Likewise.
26518 * sunrpc/rpc_cmsg.c: Likewise.
26519 * sunrpc/rpc_common.c: Likewise.
26520 * sunrpc/rpc_dtable.c: Likewise.
26521 * sunrpc/rpc_prot.c: Likewise.
26522 * sunrpc/rpc_thread.c: Likewise.
26523 * sunrpc/rtime.c: Likewise.
26524 * sunrpc/svc.c: Likewise.
26525 * sunrpc/svc_auth.c: Likewise.
26526 * sunrpc/svc_authux.c: Likewise.
26527 * sunrpc/svc_raw.c: Likewise.
26528 * sunrpc/svc_run.c: Likewise.
26529 * sunrpc/svc_simple.c: Likewise.
26530 * sunrpc/svc_tcp.c: Likewise.
26531 * sunrpc/svc_udp.c: Likewise.
26532 * sunrpc/svc_unix.c: Likewise.
26533 * sunrpc/svcauth_des.c: Likewise.
26534 * sunrpc/xcrypt.c: Likewise.
26535 * sunrpc/xdr.c: Likewise.
26536 * sunrpc/xdr_array.c: Likewise.
26537 * sunrpc/xdr_float.c: Likewise.
26538 * sunrpc/xdr_intXX_t.c: Likewise.
26539 * sunrpc/xdr_mem.c: Likewise.
26540 * sunrpc/xdr_rec.c: Likewise.
26541 * sunrpc/xdr_ref.c: Likewise.
26542 * sunrpc/xdr_sizeof.c: Likewise.
26543 * sunrpc/xdr_stdio.c: Likewise.
26544
e6c61494
UD
265452011-04-10 Ulrich Drepper <drepper@gmail.com>
26546
26547 [BZ #12650]
26548 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26549 * sysdeps/ia64/dl-tls.h: Likewise.
26550 * sysdeps/powerpc/dl-tls.h: Likewise.
26551 * sysdeps/s390/dl-tls.h: Likewise.
26552 * sysdeps/sh/dl-tls.h: Likewise.
26553 * sysdeps/sparc/dl-tls.h: Likewise.
26554 * sysdeps/x86_64/dl-tls.h: Likewise.
26555 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26556
34fe483e
AS
265572011-03-14 Andreas Schwab <schwab@redhat.com>
26558
26559 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26560 rpath element also skip the following colon.
26561 (expand_dynamic_string_token): Add is_path parameter and pass
26562 down to DL_DST_REQUIRED and _dl_dst_substitute.
26563 (decompose_rpath): Call expand_dynamic_string_token with
26564 non-zero is_path. Ignore empty rpaths.
26565 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26566 with zero is_path.
26567
f12a32e6
AS
265682011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26569
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26571 Make cancelable.
26572
38a7d692
UD
265732011-04-09 Ulrich Drepper <drepper@gmail.com>
26574
26575 [BZ #12655]
26576 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26577 Patch by Filipe David Manana <fdmanana@apache.org>.
26578
e451d22b
AS
265792011-04-07 Andreas Schwab <schwab@redhat.com>
26580
26581 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26582 Maintain aligned stack.
26583 (CHECK_RSP): Remove unused macro.
26584
dedc7c7b
UD
265852011-04-03 Ulrich Drepper <drepper@gmail.com>
26586
26587 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26588 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26589
94521213
UD
265902011-04-02 Ulrich Drepper <drepper@gmail.com>
26591
26592 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26593
8cb700c0 26594 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26595
0354e355
L
265962011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26597
26598 [BZ #12518]
26599 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26600 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26601 * sysdeps/x86_64/memmove.c: New file.
26602 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26603 (memcpy): Renamed to ...
26604 (__new_memcpy): This.
26605 (memcpy): Provide GLIBC_2_14 memcpy.
26606 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26607 (memcpy): Provide GLIBC_2_2_5 memcpy.
26608
8593482f
UD
266092011-04-01 Ulrich Drepper <drepper@gmail.com>
26610
26611 [BZ #12631]
26612 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26613
81a5726b
AS
266142011-03-30 Andreas Schwab <schwab@redhat.com>
26615
26616 * misc/syncfs.c: New file.
26617 * misc/Makefile (routines): Add syncfs.
26618 * posix/unistd.h: Declare syncfs.
26619 * sysdeps/unix/syscalls.list: Add syncfs.
26620
00e5419f
AS
266212011-04-01 Andreas Schwab <schwab@redhat.com>
26622
26623 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26624 open_by_handle_at.
26625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26626 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26628 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26630 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26632
748876bf
UD
266332011-04-01 Ulrich Drepper <drepper@gmail.com>
26634
658e451d
UD
26635 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26636 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26637 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26639 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26642
748876bf
UD
26643 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26644 sync_file_range.c with -fexceptions.
26645 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26646 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26647 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26648 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26649 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26650 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26652 sync_file_range as cancellation point
26653 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26654 now a wrapper around __call_sync_file_range with cancellation handling.
26655 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26656 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26657 function name to __call_sync_file_range.
26658 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26659 Add call_sync_file_range.
748876bf 26660
6e63d5e1
AS
266612011-04-01 Andreas Schwab <schwab@redhat.com>
26662
26663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26664 bits/timex.h.
6e63d5e1 26665
46998f74
UD
266662011-04-01 Ulrich Drepper <drepper@gmail.com>
26667
4c1423ed
UD
26668 * iconv/iconv.h: Fix typo in comment.
26669 * io/fcntl.h: Likewise.
26670 * libio/stdio.h: Likewise.
26671 * posix/spawn.h: Likewise.
26672 * posix/unistd.h: Likewise.
26673 * stdlib/stdlib.h: Likewise.
26674 * time/time.h: Likewise.
26675 * wcsmbs/wchar.h: Likewise.
26676
158648c0
UD
26677 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26678 open_by_handle): Add.
26679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26680 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26681 Augment a few comments.
26682 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26687 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26688 open_by_handle.
26689
46998f74
UD
26690 * io/fcntl.h (AT_EMPTY_PATH): Define.
26691
83fe108b
UD
266922011-03-30 Ulrich Drepper <drepper@gmail.com>
26693
26694 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26695 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26696 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26697 to...
26698 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26699 * Versions.def: Add GLIBC_2.14.
26700 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26701 Export.
83fe108b 26702
bb242059
UD
267032011-03-22 Ulrich Drepper <drepper@gmail.com>
26704
26705 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26706 round counter.
26707 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26708
c97a1282
L
267092011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26710
26711 [BZ #12597]
26712 * string/test-strncmp.c (do_page_test): New function.
26713 (check2): Likewise.
26714 (test_main): Call check2.
26715 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26716
2a115601
UD
267172011-03-20 Ulrich Drepper <drepper@gmail.com>
26718
26719 [BZ #12587]
26720 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26721 Handle cache information in CPU leaf 4.
26722 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26723
8126d904
UD
267242011-03-18 Ulrich Drepper <drepper@gmail.com>
26725
042c49c6 26726 [BZ #12583]
8126d904
UD
26727 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26728 character representation.
26729 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26730
ccfe366e
RA
267312011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26732
26733 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26734 END(__isnan) to END(__isnanf) to match function entry point/label
26735 EALIGN(__isnanf,...).
26736
c6e13027
JJ
267372011-03-10 Jakub Jelinek <jakub@redhat.com>
26738
26739 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26740
33f85a3f
UD
267412011-03-10 Ulrich Drepper <drepper@gmail.com>
26742
028478fa
UD
26743 [BZ #12510]
26744 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26745 copy from the symbol referenced in the relocation to initialize the
26746 used variable.
26747 Patch by Piotr Bury <pbury@goahead.com>.
26748 * elf/Makefile: Add rules to build and tst-unique3.
26749 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26750 * elf/tst-unique3.cc: New file.
26751 * elf/tst-unique3.h: New file.
26752 * elf/tst-unique3lib.cc: New file.
26753 * elf/tst-unique3lib2.cc: New file.
26754
33f85a3f
UD
26755 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26756
03592fc7
MF
267572011-03-10 Mike Frysinger <vapier@gentoo.org>
26758
26759 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26760 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26761 to _start.
03592fc7 26762
6a5ee102
UD
267632011-03-06 Ulrich Drepper <drepper@gmail.com>
26764
26765 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26766 to-be-loaded object along a path to loader is ld.so.
26767
7e4ba49c
HJ
267682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26769 Ulrich Drepper <drepper@gmail.com>
26770
26771 * sysdeps/x86_64/memset.S: After aligning destination, code
26772 branches to different locations depending on the value of
26773 misalignment, when multiarch is enabled. Fix this.
26774
267752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26776
26777 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26778 Set _x86_64_preferred_memory_instruction for AMD processsors.
26779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26780 Set bit_Prefer_SSE_for_memop for AMD processors.
26781
13a804de
UD
267822011-03-04 Ulrich Drepper <drepper@gmail.com>
26783
26784 * libio/fmemopen.c (fmemopen): Optimize a bit.
26785
9d25c392
AS
267862011-03-03 Andreas Schwab <schwab@redhat.com>
26787
26788 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26789
a5543c6a
RM
267902011-03-03 Roland McGrath <roland@redhat.com>
26791
26792 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26793
012d35f7
DM
267942011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26795
7e4ba49c 26796 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26797 __bzero_ultra1 instead of __memset_ultra1.
26798
4bff6e01
AS
267992011-02-23 Andreas Schwab <schwab@redhat.com>
26800 Ulrich Drepper <drepper@gmail.com>
26801
26802 [BZ #12509]
26803 * include/link.h (struct link_map): Add l_orig_initfini.
26804 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26805 returning unsuccessfully.
26806 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26807 close of a file loaded at startup, restore the original l_initfini
26808 list.
26809 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26810 list, store the pointer.
26811 * elf/Makefile ($(objpfx)noload-mem): New rule.
26812 (noload-ENV): Define.
26813 (tests): Add $(objpfx)noload-mem.
26814 * elf/noload.c: Include <memcheck.h>.
26815 (main): Call mtrace. Close all opened handles.
26816
f2092faf
AS
268172011-02-17 Andreas Schwab <schwab@redhat.com>
26818
26819 [BZ #12454]
26820 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26821 dependencies are missing.
26822
6c8a2e88
ST
268232011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26824
f2092faf 26825 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26826 Hurd needs munmap.
26827 * sysdeps/mach/hurd/ifreq.h: New file.
26828
84a42118
PB
268292011-01-27 Petr Baudis <pasky@suse.cz>
26830 Ulrich Drepper <drepper@gmail.com>
26831
071f805e 26832 [BZ 12445]#
84a42118
PB
26833 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26834 to extend_alloca().
26835 * stdio-common/bug23.c: New file.
26836 * stdio-common/Makefile (tests): Add bug23.
26837
e23fe25b
AS
268382010-09-28 Andreas Schwab <schwab@redhat.com>
26839 Ulrich Drepper <drepper@gmail.com>
26840
26841 [BZ #12489]
26842 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26843 before performing relro protection. At old place add assertion
26844 to make sure nothing changed.
26845
d3f02e10
NS
268462011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26847 Glauber de Oliveira Costa <glommer@gmail.com>
26848
26849 * elf/elf.h: Add new ARM TLS relocs.
26850
d55fd7a5
RA
268512011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26852
26853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26854 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26855 cast from r3.
26856 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26857 'tests' variable.
26858 * sysdeps/wordsize-64/tst-writev.c: New file.
26859
2206397e
RA
268602011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26861
26862 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26863 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26864 insns in _dl_start to prevent a TOC reference before relocs are
26865 resolved.
26866
e9433893
UD
268672011-02-15 Ulrich Drepper <drepper@gmail.com>
26868
26869 [BZ #12469]
26870 * Makeconfig: Remove RANLIB definition.
26871 * Makerules: Don't use RANLIB.
26872 * aclocal.m4: Remove ranlib test.
26873 * configure.in: No need to check for ranlib.
26874 * elf/rtld-Rules: Don't use RANLIB.
26875
f75286c6
ST
268762011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26877
8e31c82d
ST
26878 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26879 protection macro.
26880 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26881 inclusion protection macro.
26882
f75286c6
ST
26883 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26884 SIGRTMIN and SIGRTMAX and print information in that case only when
26885 SIGRTMIN is defined.
26886
c1d0e639
JJ
268872011-02-11 Jakub Jelinek <jakub@redhat.com>
26888
26889 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26890 arginfo fn returning -1.
26891
26892 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26893 and thousands string is zero terminated.
26894
edf9294e
AS
268952011-02-03 Andreas Schwab <schwab@redhat.com>
26896
26897 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26898 sysdeps/unix/sysv/linux/bits/socket.h.
26899
2b7e92df
ST
269002011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26901
edf9294e
AS
26902 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26903 (__CPU_COUNT): Remove old macros.
26904 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26905 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26906 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26907 (__sched_cpualloc, __sched_cpufree): Add declarations.
26908
a4c7ea7b
UD
269092011-02-05 Ulrich Drepper <drepper@gmail.com>
26910
26911 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26912 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26913 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26914 (readdhstai): Return value of addhstaiX call.
26915 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26916 (addgrbyX): Return value returned by cache_addgr.
26917 (readdgrbyname): Return value returned by addgrbyX.
26918 (readdgrbygid): Likewise.
26919 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26920 (addpwbyX): Return value returned by cache_addpw.
26921 (readdpwbyname): Return value returned by addhstbyX.
26922 (readdpwbyuid): Likewise.
26923 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26924 (addservbyX): Return value returned by cache_addserv.
26925 (readdservbyname): Return value returned by addservbyX:
26926 (readdservbyport): Likewise.
26927 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26928 (addhstbyX): Return value returned by cache_addhst.
26929 (readdhstbyname): Return value returned by addhstbyX.
26930 (readdhstbyaddr): Likewise.
26931 (readdhstbynamev6): Likewise.
26932 (readdhstbyaddrv6): Likewise.
26933 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26934 (readdinitgroups): Return value returned by addinitgroupsX.
26935 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26936 (prune_cache): Keep track of timeout value of re-added entries.
26937 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26938 * nscd/nscd.h: Adjust prototypes of readd* functions.
26939
a0bf67cc
RM
269402011-02-04 Roland McGrath <roland@redhat.com>
26941
26942 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26943 (nis_stats): Likewise.
26944 * nis/nis_modify.c (nis_modify): Likewise.
26945 * nis/nis_remove.c (nis_remove): Likewise.
26946 * nis/nis_add.c (nis_add): Likewise.
26947
26948 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26949
26950 * posix/fnmatch_loop.c: Add some consts.
26951
26952 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26953
435b95eb
L
269542011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26955
26956 [BZ #12460]
26957 * config.make.in (config-cflags-novzeroupper): Define.
26958 * configure.in: Substitute libc_cv_cc_novzeroupper.
26959 * elf/Makefile (AVX-CFLAGS): Define.
26960 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26961 (CFLAGS-tst-auditmod4a.c): Likewise.
26962 (CFLAGS-tst-auditmod4b.c): Likewise.
26963 (CFLAGS-tst-auditmod6b.c): Likewise.
26964 (CFLAGS-tst-auditmod6c.c): Likewise.
26965 (CFLAGS-tst-auditmod7b.c): Likewise.
26966 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26967
8517b15e
UD
269682011-02-02 Ulrich Drepper <drepper@gmail.com>
26969
26970 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26971 function to the callback.
26972 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26973
10a656fe
AS
269742011-02-02 Andreas Schwab <schwab@redhat.com>
26975
26976 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26977 of errno.
26978
968dad0a
UD
269792011-01-19 Ulrich Drepper <drepper@gmail.com>
26980
9f94d2ea 26981 [BZ #11724]
968dad0a
UD
26982 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26983 of constructors.
26984 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26985 of destructors.
26986 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26987
26988 [BZ #11724]
26989 * elf/Makefile: Add rules to build and run new test.
26990 * elf/tst-initorder.c: New file.
26991 * elf/tst-initorder.exp: New file.
26992 * elf/tst-initordera1.c: New file.
26993 * elf/tst-initordera2.c: New file.
26994 * elf/tst-initordera3.c: New file.
26995 * elf/tst-initordera4.c: New file.
26996 * elf/tst-initorderb1.c: New file.
26997 * elf/tst-initorderb2.c: New file.
26998 * elf/tst-order-a1.c: New file.
26999 * elf/tst-order-a2.c: New file.
27000 * elf/tst-order-a3.c: New file.
27001 * elf/tst-order-a4.c: New file.
27002 * elf/tst-order-b1.c: New file.
27003 * elf/tst-order-b2.c: New file.
27004 * elf/tst-order-main.c: New file.
27005 New test case by George Gensure <werkt0@gmail.com>.
27006
86e92359
UD
270072010-10-01 Andreas Schwab <schwab@redhat.com>
27008
27009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27010 decoding ACE if AI_CANONIDN.
27011
5d5732b0
UD
270122011-01-18 Ulrich Drepper <drepper@gmail.com>
27013
27014 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27015
a77e8cbc
UD
270162011-01-17 Ulrich Drepper <drepper@gmail.com>
27017
6392473f
UD
27018 * version.h (RELEASE): Bump for 2.13 release.
27019 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27020
620a0529
UD
27021 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27022
18ba70a5
UD
27023 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27024 MADV_NOHUGEPAGE.
32465c3e
UD
27025 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27026 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27027 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27029 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27030 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27031
c0dafcf1
UD
27032 * posix/getconf.c: Update copyright year.
27033 * catgets/gencat.c: Likewise.
27034 * csu/version.c: Likewise.
27035 * debug/catchsegv.sh: Likewise.
27036 * debug/xtrace.sh: Likewise.
27037 * elf/ldconfig.c: Likewise.
27038 * elf/ldd.bash.in: Likewise.
27039 * elf/sprof.c (print_version): Likewise.
27040 * iconv/iconv_prog.c: Likewise.
27041 * iconv/iconvconfig.c: Likewise.
27042 * locale/programs/locale.c: Likewise.
27043 * locale/programs/localedef.c: Likewise.
27044 * malloc/memusage.sh: Likewise.
27045 * malloc/mtrace.pl: Likewise.
27046 * nscd/nscd.c (print_version): Likewise.
27047 * nss/getent.c: Likewise.
27048
a77e8cbc
UD
27049 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27050 PF_CAIF, and PF_ALG.
27051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27052
77e8bddf
AS
270532011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27054
1f20b93a
AS
27055 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27056 (modules-names): Use them.
27057 (ifunc-test-modules, ifunc-pie-tests): Define.
27058 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27059 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27060 (test-extras): Likewise.
27061 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27062 $(compile-command.c).
27063 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27064 (all-built-dso): Define.
27065 (check-textrel.out, check-execstack.out): Depend on it.
27066
77e8bddf
AS
27067 * configure.in: Don't override --enable-multi-arch.
27068
bc425b33
UD
270692011-01-15 Ulrich Drepper <drepper@gmail.com>
27070
27071 [BZ #6812]
27072 * nscd/hstcache.c (tryagain): Define.
27073 (cache_addhst): Return tryagain not notfound for temporary errors.
27074 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27075 failed.
27076
794c3ad3
UD
270772011-01-14 Ulrich Drepper <drepper@gmail.com>
27078
70181fdd
UD
27079 [BZ #10563]
27080 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27081 to make the syscall.
27082 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27083
794c3ad3
UD
27084 [BZ #12378]
27085 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27086 and fall back to matching as normal character if the string ends before
27087 the matching ']' is found. This is what POSIX requires.
27088 * posix/testfnm.c: Adjust test result.
27089 * posix/globtest.sh: Adjust test result. Add new test.
27090 * posix/tst-fnmatch.input: Likewise.
27091 * posix/tst-fnmatch2.c: Add new test.
27092
68dc9497
AS
270932010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27094
27095 * elf/Makefile (check-execstack): Revert last change. Depend on
27096 check-execstack.h.
27097 (check-execstack.h): New target.
27098 (generated): Add check-execstack.h.
27099 * elf/check-execstack.c: Include "check-execstack.h".
27100 (main): Revert last change.
27101 (handle_file): Return zero if GNU_STACK is absent and
27102 DEFAULT_STACK_PERMS doesn't include PF_X.
27103
451f001b
UD
271042011-01-13 Ulrich Drepper <drepper@gmail.com>
27105
cfa28e56
UD
27106 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27107 in child fails because the descriptor is already closed.
8cf8ce17
UD
27108 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27109 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27110 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27111
1086d70d
UD
27112 [BZ #12397]
27113 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27114 syscall.
27115
451f001b
UD
27116 [BZ #10484]
27117 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27118 temporary buffer used to handle multi lookups locally.
a85b5cb4 27119 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27120
08769175
UD
271212011-01-12 Ulrich Drepper <drepper@gmail.com>
27122
27123 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27124 loader is ld.so.
27125
5e49c52e
UD
271262011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27127
27128 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27129 alignment for SSE2.
27130
60522a5f
UD
271312011-01-12 Ulrich Drepper <drepper@gmail.com>
27132
27133 [BZ #12394]
27134 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27135 characters. When rounding increased number of integer digits recompute
27136 number of groups.
27137 * stdio-common/tst-grouping.c: New file.
27138 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27139
f257bbd7
UD
271402011-01-09 Ulrich Drepper <drepper@gmail.com>
27141
27142 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27143 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27144
27145 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27146 void.
27147 * bits/select.h: Likewise.
27148
fa9c15cb
UD
271492011-01-08 Ulrich Drepper <drepper@gmail.com>
27150
27151 * po/ja.po: Update from translation team.
27152
16c2895f
DM
271532011-01-04 David S. Miller <davem@sunset.davemloft.net>
27154
27155 [BZ #11155]
27156 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27157 implementation just like for lxstat, fxstatat, et al.
27158
2543fef2
JM
271592010-12-27 Jim Meyering <meyering@redhat.com>
27160
27161 [BZ #12348]
27162 * posix/regexec.c (build_trtable): Return failure indication upon
27163 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27164
98727dbe
UD
271652010-12-25 Ulrich Drepper <drepper@gmail.com>
27166
5bd6dc5c
UD
27167 [BZ #12201]
27168 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27169 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27170 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27171 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27172
97983464
UD
27173 [BZ #12207]
27174 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27175
98727dbe
UD
27176 [BZ #12204]
27177 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27178 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27179
4a531bb0
L
271802010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27181
27182 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27183 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27184 script has SORT_BY_INIT_PRIORITY.
27185 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27186 NO_CTORS_DTORS_SECTIONS is defined.
27187 * elf/soinit.c: Likewise.
27188 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27189 NO_CTORS_DTORS_SECTIONS is defined.
27190 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27191 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27192 * sysdeps/sh/init-first.c: Likewise.
27193 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27194
07eb4b71
UD
271952010-12-24 Ulrich Drepper <drepper@gmail.com>
27196
27197 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27198 always use the slow path.
27199
30950a5f
RA
272002010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27201
27202 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27203 similar rule which adds the sysdep directories to the header search in
27204 order to pick up the correct platform stackinfo.h.
27205 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27206 perform test if it is, otherwise return successfully without testing.
27207 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27208 DEFAULT_STACK_PERMS define in stackinfo.h.
27209 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27210 defined in stackinfo.h.
27211 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27212 DEFAULT_STACK_PERMS defined in stackinfo.h.
27213 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27214 * sysdeps/ia64/stackinfo.h: Likewise.
27215 * sysdeps/s390/stackinfo.h: Likewise.
27216 * sysdeps/sh/stackinfo.h: Likewise.
27217 * sysdeps/sparc/stackinfo.h: Likewise.
27218 * sysdeps/x86_64/stackinfo.h: Likewise.
27219 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27220 PF_X for powerpc64. Retain PF_X for powerpc32.
27221
db753e2c
UD
272222010-12-19 Ulrich Drepper <drepper@gmail.com>
27223
14b697f7
UD
27224 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27225 accurately.
db753e2c
UD
27226 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27227 GETDENTS_64BIT_ALIGNED.
27228
28300719
UD
272292010-12-14 Ulrich Drepper <dreper@gmail.com>
27230
14b697f7 27231 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27232
4f197237
AS
272332010-12-10 Andreas Schwab <schwab@redhat.com>
27234
dbb0472f
AS
27235 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27236 _GNU_SOURCE.
27237
4f197237
AS
27238 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27239 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27240 Remove __restrict.
27241 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27242 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27243
fb88ac72
UD
272442010-12-09 Ulrich Drepper <drepper@gmail.com>
27245
27246 [BZ #11655]
27247 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27248 are initialized.
27249
42acbb92
JJ
272502010-12-09 Jakub Jelinek <jakub@redhat.com>
27251
27252 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27253
c038d98d
UD
272542010-12-03 Ulrich Drepper <drepper@gmail.com>
27255
27256 * po/it.po: Update from translation team.
27257
3a4a2499
L
272582010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27259
27260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27261 unused codes.
27262
1e24cf6e
UD
272632010-11-30 Ulrich Drepper <drepper@gmail.com>
27264
27265 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27266
a7690819
AS
272672010-11-24 Andreas Schwab <schwab@redhat.com>
27268
27269 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27270 specially.
27271 (gaih_getanswer_slice): Likewise.
27272
3bf8d1b1
JJ
272732010-10-20 Jakub Jelinek <jakub@redhat.com>
27274
27275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27276
6db52fbb
PB
272772010-05-31 Petr Baudis <pasky@suse.cz>
27278
27279 [BZ #11149]
27280 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27281 silently even in the chroot mode.
27282
eaca7569
UD
272832010-11-22 Ulrich Drepper <drepper@gmail.com>
27284
27285 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27286 last patch a bit. Pretty printing
27287
3056dcdb
UD
272882010-05-31 Petr Baudis <pasky@suse.cz>
27289
27290 [BZ #10085]
27291 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27292 initialization of skip_initgroups_dyn.
27293
cf7c9078
UD
272942010-11-19 Ulrich Drepper <drepper@gmail.com>
27295
27296 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27297 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27298
a1fb5e3e
UD
272992010-11-16 Ulrich Drepper <drepper@gmail.com>
27300
27301 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27302
3540d66b
AS
273032010-11-11 Andreas Schwab <schwab@redhat.com>
27304
27305 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27306 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27307 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27308 ($(objpfx)tst-fnmatch-mem): New rule.
27309 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27310 * posix/tst-fnmatch.c (main): Call mtrace.
27311
13b69574
L
273122010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27313
27314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27315 Support Intel processor model 6 and model 0x2c.
27316
da93d214
LM
273172010-11-10 Luis Machado <luisgpm@br.ibm.com>
27318
27319 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27320 signed comparison.
27321
8ca52c6e
L
273222010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27323
27324 [BZ #12205]
27325 * string/test-strncasecmp.c (check_result): New function.
27326 (do_one_test): Use it.
27327 (check1): New function.
27328 (test_main): Use it.
27329 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27330 Support strcasecmp and strncasecmp.
27331
69da074d
UD
273322010-11-08 Ulrich Drepper <drepper@gmail.com>
27333
27334 [BZ #12194]
27335 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27336 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27337
ff02d528
L
273382010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27339
27340 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27341 IFUNC support.
27342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27343 memset-x86-64.
27344 * sysdeps/x86_64/multiarch/bzero.S: New file.
27345 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27346 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27347 * sysdeps/x86_64/multiarch/memset.S: New file.
27348 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27350 Set bit_Prefer_SSE_for_memop for Intel processors.
27351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27352 Define.
27353 (index_Prefer_SSE_for_memop): Define.
27354 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27355
344d0b54
LM
273562010-11-04 Luis Machado <luisgpm@br.ibm.com>
27357
27358 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27359 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27360
c0dde15b
UD
273612010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27362
27363 [BZ #12191]
27364 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27365 (__x86_64_raw_data_cache_size_half): Likewise.
27366 (__x86_64_raw_shared_cache_size): Likewise.
27367 (__x86_64_raw_shared_cache_size_half): Likewise.
27368
27369 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27370 (__x86_64_raw_data_cache_size_half): Likewise.
27371 (__x86_64_raw_shared_cache_size): Likewise.
27372 (__x86_64_raw_shared_cache_size_half): Likewise.
27373 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27374 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27375 and __x86_64_raw_shared_cache_size_half. Round
27376 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27377 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27378 to multiple of 256 bytes.
27379
0e516e0e
MS
273802010-11-03 Ulrich Drepper <drepper@gmail.com>
27381
27382 [BZ #12167]
27383 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27384 of inacessible symlinks. Verify result of symlink before returning it.
27385 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27386 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27387
0e012e87
ER
273882010-10-28 Erich Ritz <erichritz@gmail.com>
27389
27390 * math/math.h (isinf): Fix typo in comment.
27391
de0ff7bc
UD
273922010-11-01 Ulrich Drepper <drepper@gmail.com>
27393
27394 * po/da.po: Update from translation team.
27395
fa41c84d
UD
273962010-10-26 Ulrich Drepper <drepper@gmail.com>
27397
27398 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27399 is added to the list.
27400
f0967738
AK
274012010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27402 Ulrich Drepper <drepper@gmail.com>
27403
27404 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27405 the global list here. Move code to...
27406 (_dl_add_to_namespace_list): ...here. New function.
27407 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27408 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27409 * elf/dl-load.c (lose): Don't remove the element from the list.
27410 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27411 (_dl_map_object): Likewise.
27412
274132010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27414
27415 [BZ #12159]
27416 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27417 into all bytes of SSE register.
27418 Patch by Richard Li <richardpku@gmail.com>.
27419
f0967738 274202010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27421
27422 [BZ #12140]
27423 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27424 perturbing.
27425
d0b9e94f
MB
274262010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27427
27428 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27429 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27430 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27431 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27433 submachine.
27434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27435
8e9f92e9
AS
274362010-10-22 Andreas Schwab <schwab@redhat.com>
27437
27438 * include/dlfcn.h (__RTLD_SECURE): Define.
27439 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27440 mode & __RTLD_SECURE instead.
27441 (open_path): Rename preloaded parameter to secure.
27442 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27443 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27444 * elf/dl-deps.c (openaux): Likewise.
27445 * elf/rtld.c (struct map_args): Remove is_preloaded.
27446 (map_doit): Don't use it.
27447 (dl_main): Likewise.
27448 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27449 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27450
bc96fbda
AS
274512010-09-09 Andreas Schwab <schwab@redhat.com>
27452
27453 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27454 (sysd-rules-targets): Remove duplicates.
27455 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27456 rtld-%.$o dependency.
27457
22cd1c9b
AS
274582010-10-18 Andreas Schwab <schwab@redhat.com>
27459
27460 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27461 _dl_map_object do it.
27462
18edac48
UD
274632010-10-19 Ulrich Drepper <drepper@gmail.com>
27464
27465 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27466 fast fma builtins, define the macros in the C99 standard.
27467 (FP_FAST_FMAF): Likewise.
27468 (FP_FAST_FMAL): Likewise.
27469 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27470
27471 * bits/mathdef.h: Update copyright year.
27472 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27473
d2050124
MM
274742010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27475
27476 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27477 builtins, define the macros in the C99 standard.
27478 (FP_FAST_FMAF): Likewise.
27479 (FP_FAST_FMAL): Likewise.
27480 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27481 multiply/add.
27482 (FP_FAST_FMAF): Likewise.
27483
475facd1
JJ
274842010-10-15 Jakub Jelinek <jakub@redhat.com>
27485
27486 [BZ #3268]
27487 * math/libm-test.inc (fma_test): Some new testcases.
27488 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27489 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27490 y and infinite z. Do multiplication by C already in long double.
27491 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27493 y and infinite z. Do bitwise or of inexact bit into u.d.
27494 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27495 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27496 * sysdeps/i386/fpu/s_fma.S: Removed.
27497 * sysdeps/i386/fpu/s_fmal.S: Removed.
27498
7c08a05c
JJ
274992010-10-16 Jakub Jelinek <jakub@redhat.com>
27500
27501 [BZ #3268]
27502 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27504 computation is not scheduled after fetestexcept. Fix value
27505 of minimum denormal long double.
27506
f3f7372d
JJ
275072010-10-14 Jakub Jelinek <jakub@redhat.com>
27508
27509 [BZ #3268]
27510 * math/libm-test.inc (fma_test): Add some more tests.
27511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27512 correctly.
27513
14d43591
AS
275142010-10-15 Andreas Schwab <schwab@redhat.com>
27515
27516 * scripts/data/localplt-s390-linux-gnu.data: New file.
27517 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27518
5e908464
JJ
275192010-10-13 Jakub Jelinek <jakub@redhat.com>
27520
27521 [BZ #3268]
27522 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27523 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27524 instead of dbl-64.
27525 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27526 inlines.
27527 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27529 if one of x and y is very large and the other is subnormal.
27530 * sysdeps/s390/fpu/s_fmaf.c: New file.
27531 * sysdeps/s390/fpu/s_fma.c: New file.
27532 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27533 * sysdeps/powerpc/fpu/s_fma.S: New file.
27534 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27535 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27536 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27537
275382010-10-12 Jakub Jelinek <jakub@redhat.com>
27539
27540 [BZ #3268]
27541 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27542 fma tests.
27543 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27544 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27545 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27546 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27547 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27548 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27549 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27550
b833d51f
UD
275512010-10-12 Ulrich Drepper <drepper@redhat.com>
27552
27553 [BZ #12078]
27554 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27555 * posix/bug-regex31.input: Add test case.
27556
1751705d
UD
275572010-10-11 Ulrich Drepper <drepper@gmail.com>
27558
e9b9cbf5
UD
27559 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27560 * posix/bug-regex31.input: New file.
27561
27562 [BZ #12078]
27563 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27564 (parse_sub_exp): Fix last change, use postorder.
27565
ef06edbe
UD
27566 * posix/bug-regex31.c: New file.
27567 * posix/Makefile: Add rules to build and run bug-regex31.
27568
a129c80d
UD
27569 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27570
27571 [BZ #12078]
27572 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27573
b76b818e
UD
27574 [BZ #12108]
27575 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27576 to have entries in sys_siglist.
27577
1751705d
UD
27578 [BZ #12093]
27579 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27580 be NULL.
27581
9ff8d36f
JJ
275822010-10-07 Jakub Jelinek <jakub@redhat.com>
27583
27584 [BZ #3268]
27585 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27586 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27587 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27588 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27589 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27590 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27591 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27592 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27593 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27594 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27595 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27596 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27597 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27598 * math/ftestexcept.c (fetestexcept): Likewise.
27599 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27600 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27601 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27602 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27603 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27604 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27605 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27606
af325969
UD
276072010-10-11 Ulrich Drepper <drepper@gmail.com>
27608
c579b202 27609 [BZ #12107]
af325969
UD
27610 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27611 newline.
27612
67a67b95
UD
276132010-10-06 Ulrich Drepper <drepper@gmail.com>
27614
27615 * string/bug-strstr1.c: New file.
27616 * string/Makefile: Add rules to build and run bug-strstr1.
27617
5fb308bc
EB
276182010-10-05 Eric Blake <eblake@redhat.com>
27619
27620 [BZ #12092]
27621 * string/str-two-way.h (two_way_long_needle): Always clear memory
27622 when skipping input due to the shift table.
27623
45db99c7
UD
276242010-10-03 Ulrich Drepper <drepper@gmail.com>
27625
3b111893
UD
27626 [BZ #12005]
27627 * malloc/mcheck.c: Handle large requests.
27628
45db99c7
UD
27629 [BZ #12077]
27630 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27631 for strncmp and strncasecmp.
27632 * string/stratcliff.c: Add tests for strcmp and strncmp.
27633 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27634
cf7a1eb8
NI
276352010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27636
27637 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27638 __set_fpscr.
27639
6484ba5e
AJ
276402010-09-30 Andreas Jaeger <aj@suse.de>
27641
27642 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27643 (CGROUP_SUPER_MAGIC): Define.
27644 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27645 Handle btrfs and cgroup file systems.
27646 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27647 Likewise.
27648
91c42559
LM
276492010-09-27 Luis Machado <luisgpm@br.ibm.com>
27650
27651 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27652 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27653
87a97932
AK
276542010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27655
27656 [BZ #12067]
27657 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27658 trying to locate the ELF header.
27659
c21cc9bc
AS
276602010-09-27 Andreas Schwab <schwab@redhat.com>
27661
27662 [BZ #11611]
27663 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27664 Mask out sign-bit copies when constructing f_fsid.
27665
315970f6
PB
276662010-09-24 Petr Baudis <pasky@suse.cz>
27667
27668 * debug/stack_chk_fail_local.c: Add missing licence exception.
27669 * debug/warning-nop.c: Likewise.
27670
1ac7a2c7
JM
276712010-09-15 Joseph Myers <joseph@codesourcery.com>
27672
27673 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27674 implementing getdents64 using getdents syscall, set d_type if
27675 __ASSUME_GETDENTS32_D_TYPE.
27676
56801c50
AS
276772010-09-16 Andreas Schwab <schwab@redhat.com>
27678
27679 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27680 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27681
dda51327
UD
276822010-09-21 Ulrich Drepper <drepper@redhat.com>
27683
27684 [BZ #12037]
27685 * posix/unistd.h: Undo change of feature selection for ftruncate from
27686 2010-01-11.
27687
8ffcee4a
UD
276882010-09-20 Ulrich Drepper <drepper@redhat.com>
27689
a545ecd9 27690 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27691 detection.
27692
e24f0a8b
AS
276932010-09-20 Andreas Schwab <schwab@redhat.com>
27694
27695 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27696 fanotify_mark.
27697 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27698
7291c56f
AS
276992010-09-14 Andreas Schwab <schwab@redhat.com>
27700
27701 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27702 variables after CHECK_SP call.
27703 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27704
bc5fb037
AS
277052010-09-13 Andreas Schwab <schwab@redhat.com>
27706 Ulrich Drepper <drepper@redhat.com>
27707
27708 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27709 re-relocationg ld.so.
27710 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27711 _dl_init_paths call.
27712 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27713 here anymore.
27714
e66e7419
UD
277152010-09-14 Ulrich Drepper <drepper@redhat.com>
27716
27717 * resolv/res_init.c (__res_vinit): Count the default server we added.
27718
c044aa75
CLT
277192010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27720 Ulrich Drepper <drepper@redhat.com>
27721
27722 [BZ #11968]
27723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27724 (____longjmp_chk): Use %ebx for saving value across system call.
27725 Add unwind info.
27726
32cf4069
AS
277272010-09-06 Andreas Schwab <schwab@redhat.com>
27728
27729 * manual/Makefile: Don't mix pattern rules with normal rules.
27730
817328ee
AS
277312010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27732
27733 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27734 operation.
27735 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27736 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27737 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27738 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27740 Likewise.
27741
29fddf61
UD
277422010-09-04 Ulrich Drepper <drepper@redhat.com>
27743
27744 [BZ #11979]
27745 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27746 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27747
0959ffc9
UD
277482010-09-02 Ulrich Drepper <drepper@redhat.com>
27749
27750 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27751 * sysdeps/x86_64/addmul_1.S: Likewise.
27752 * sysdeps/x86_64/lshift.S: Likewise.
27753 * sysdeps/x86_64/mul_1.S: Likewise.
27754 * sysdeps/x86_64/rshift.S: Likewise.
27755 * sysdeps/x86_64/sub_n.S: Likewise.
27756 * sysdeps/x86_64/submul_1.S: Likewise.
27757
ece29840
ST
277582010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27759
0959ffc9
UD
27760 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27761 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27762 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27763 * bits/sched.h [__need_schedparam]
ece29840 27764 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27765 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27766 (__defined_schedparam): Define to 1.
ece29840
ST
27767 (__sched_param): New structure, identical to sched_param.
27768 (__need_schedparam): Undefine.
27769
e53a31fe
MF
277702010-08-31 Mike Frysinger <vapier@gentoo.org>
27771
fdc0c10d
MF
27772 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27773 (epoll_create1): Declare.
27774
e53a31fe
MF
27775 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27776
a726d796
AS
277772010-08-31 Andreas Schwab <schwab@redhat.com>
27778
27779 [BZ #7066]
27780 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27781 shifting retval into place.
27782
2f3e3dc7
UD
277832010-09-01 Ulrich Drepper <drepper@redhat.com>
27784
f2933da9
UD
27785 * nis/rpcsvc/nis.h: Update copyright notice.
27786 * nis/rpcsvc/nis.x: Likewise.
27787 * nis/rpcsvc/nis_callback.h: Likewise.
27788 * nis/rpcsvc/nis_callback.x: Likewise.
27789 * nis/rpcsvc/nis_object.x: Likewise.
27790 * nis/rpcsvc/nis_tags.h: Likewise.
27791 * nis/rpcsvc/yp.h: Likewise.
27792 * nis/rpcsvc/yp.x: Likewise.
27793 * nis/rpcsvc/ypupd.h: Likewise.
27794 * nis/yp_xdr.c: Likewise.
27795 * nis/ypupdate_xdr.c: Likewise.
27796
2f3e3dc7
UD
27797 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27798 mainly the body of pmap_getport. Add parameters to specify timeouts.
27799 (pmap_getport): Use __libc_rpc_getport.
27800 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27801 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27802 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27803
f3dcc2f9
AS
278042010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27805
27806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27807 fanotify_mark.
27808
6d34eb5b
RM
278092010-08-27 Roland McGrath <roland@redhat.com>
27810
27811 * sysdeps/i386/i686/multiarch/Makefile
27812 (CFLAGS-varshift.c): New variable.
27813
9ea3de11
UD
278142010-08-27 Ulrich Drepper <drepper@redhat.com>
27815
c96d23fc
UD
27816 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27817 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27818
9ea3de11
UD
27819 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27820
27821 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27822
623aac7f
L
278232010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27824
27825 * sysdeps/x86_64/strlen.S: Unroll the loop.
27826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27827 strlen-sse2 strlen-sse2-bsf.
27828 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27829 __strlen_no_bsf if bit_Slow_BSF is set.
27830 (__strlen_sse42): Removed.
27831 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27832 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27833
8b2b7715
RM
278342010-08-25 Roland McGrath <roland@redhat.com>
27835
27836 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27837 * sysdeps/x86_64/multiarch/varshift.c: New file.
27838 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27839 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27840 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27841 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27842
e73015f2
L
278432010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27844
27845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27846 strlen-sse2 strlen-sse2-bsf.
27847 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27848 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27849 (__strlen_sse2): Removed.
27850 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27851 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27853 bit_Slow_BSF for Atom.
27854 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27855 (index_Slow_BSF): Define.
27856 (HAS_SLOW_BSF): Define.
27857
df24a73e
UD
278582010-08-25 Ulrich Drepper <drepper@redhat.com>
27859
27860 [BZ #10851]
27861 * resolv/res_init.c (__res_vinit): When no server address at all
27862 is given default to loopback.
27863
f2ac4868
RM
278642010-08-24 Roland McGrath <roland@redhat.com>
27865
09055553
RM
27866 * configure.in: Remove config-name.h generation.
27867 * configure: Regenerated.
27868 * config-name.in: File removed.
27869 * scripts/config-uname.sh: New file.
27870 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27871 ($(objdir)config-name.h): New target.
27872
f2ac4868
RM
27873 * sunrpc/rpc_parse.h: Avoid nested comment.
27874
73f27d5e
RH
278752010-08-24 Richard Henderson <rth@redhat.com>
27876 Ulrich Drepper <drepper@redhat.com>
27877 H.J. Lu <hongjiu.lu@intel.com>
27878
27879 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27881 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27882 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27883 _mm_alignr_epi8 with _mm_loadu_si128.
27884 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27885 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27886 (__m128i_shift_right): Removed.
27887 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27888 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27889 * sysdeps/x86_64/multiarch/varshift.h: New file.
27890 * sysdeps/x86_64/multiarch/varshift.S: New file.
27891
84b9230c
MF
278922010-08-21 Mike Frysinger <vapier@gentoo.org>
27893
27894 * configure.in: Move assembler checks to before sysdep dir checking.
27895
9bbd0ddc
PB
278962010-08-20 Petr Baudis <pasky@suse.cz>
27897
27898 * LICENSES: Sync the sunrpc license.
27899
9da4bb31
UD
279002010-08-19 Ulrich Drepper <drepper@redhat.com>
27901
a7ab6ec8
UD
27902 * sunrpc/auth_des.c: Update copyright notice once again.
27903 * sunrpc/auth_none.c: Likewise.
27904 * sunrpc/auth_unix.c: Likewise.
27905 * sunrpc/authdes_prot.c: Likewise.
27906 * sunrpc/authuxprot.c: Likewise.
27907 * sunrpc/bindrsvprt.c: Likewise.
27908 * sunrpc/clnt_gen.c: Likewise.
27909 * sunrpc/clnt_perr.c: Likewise.
27910 * sunrpc/clnt_raw.c: Likewise.
27911 * sunrpc/clnt_simp.c: Likewise.
27912 * sunrpc/clnt_tcp.c: Likewise.
27913 * sunrpc/clnt_udp.c: Likewise.
27914 * sunrpc/clnt_unix.c: Likewise.
27915 * sunrpc/des_crypt.c: Likewise.
27916 * sunrpc/des_soft.c: Likewise.
27917 * sunrpc/get_myaddr.c: Likewise.
27918 * sunrpc/getrpcport.c: Likewise.
27919 * sunrpc/key_call.c: Likewise.
27920 * sunrpc/key_prot.c: Likewise.
27921 * sunrpc/openchild.c: Likewise.
27922 * sunrpc/pm_getmaps.c: Likewise.
27923 * sunrpc/pm_getport.c: Likewise.
27924 * sunrpc/pmap_clnt.c: Likewise.
27925 * sunrpc/pmap_prot.c: Likewise.
27926 * sunrpc/pmap_prot2.c: Likewise.
27927 * sunrpc/pmap_rmt.c: Likewise.
27928 * sunrpc/rpc/auth.h: Likewise.
27929 * sunrpc/rpc/auth_unix.h: Likewise.
27930 * sunrpc/rpc/clnt.h: Likewise.
27931 * sunrpc/rpc/des_crypt.h: Likewise.
27932 * sunrpc/rpc/key_prot.h: Likewise.
27933 * sunrpc/rpc/netdb.h: Likewise.
27934 * sunrpc/rpc/pmap_clnt.h: Likewise.
27935 * sunrpc/rpc/pmap_prot.h: Likewise.
27936 * sunrpc/rpc/pmap_rmt.h: Likewise.
27937 * sunrpc/rpc/rpc.h: Likewise.
27938 * sunrpc/rpc/rpc_des.h: Likewise.
27939 * sunrpc/rpc/rpc_msg.h: Likewise.
27940 * sunrpc/rpc/svc.h: Likewise.
27941 * sunrpc/rpc/svc_auth.h: Likewise.
27942 * sunrpc/rpc/types.h: Likewise.
27943 * sunrpc/rpc/xdr.h: Likewise.
27944 * sunrpc/rpc_clntout.c: Likewise.
27945 * sunrpc/rpc_cmsg.c: Likewise.
27946 * sunrpc/rpc_common.c: Likewise.
27947 * sunrpc/rpc_cout.c: Likewise.
27948 * sunrpc/rpc_dtable.c: Likewise.
27949 * sunrpc/rpc_hout.c: Likewise.
27950 * sunrpc/rpc_main.c: Likewise.
27951 * sunrpc/rpc_parse.c: Likewise.
27952 * sunrpc/rpc_parse.h: Likewise.
27953 * sunrpc/rpc_prot.c: Likewise.
27954 * sunrpc/rpc_sample.c: Likewise.
27955 * sunrpc/rpc_scan.c: Likewise.
27956 * sunrpc/rpc_scan.h: Likewise.
27957 * sunrpc/rpc_svcout.c: Likewise.
27958 * sunrpc/rpc_tblout.c: Likewise.
27959 * sunrpc/rpc_util.c: Likewise.
27960 * sunrpc/rpc_util.h: Likewise.
27961 * sunrpc/rpcinfo.c: Likewise.
27962 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27963 * sunrpc/rpcsvc/key_prot.x: Likewise.
27964 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27965 * sunrpc/rpcsvc/mount.x: Likewise.
27966 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27967 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27968 * sunrpc/rpcsvc/rex.x: Likewise.
27969 * sunrpc/rpcsvc/rstat.x: Likewise.
27970 * sunrpc/rpcsvc/rusers.x: Likewise.
27971 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27972 * sunrpc/rpcsvc/spray.x: Likewise.
27973 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27974 * sunrpc/rtime.c: Likewise.
27975 * sunrpc/svc.c: Likewise.
27976 * sunrpc/svc_auth.c: Likewise.
27977 * sunrpc/svc_authux.c: Likewise.
27978 * sunrpc/svc_raw.c: Likewise.
27979 * sunrpc/svc_run.c: Likewise.
27980 * sunrpc/svc_simple.c: Likewise.
27981 * sunrpc/svc_tcp.c: Likewise.
27982 * sunrpc/svc_udp.c: Likewise.
27983 * sunrpc/svc_unix.c: Likewise.
27984 * sunrpc/svcauth_des.c: Likewise.
27985 * sunrpc/xcrypt.c: Likewise.
27986 * sunrpc/xdr.c: Likewise.
27987 * sunrpc/xdr_array.c: Likewise.
27988 * sunrpc/xdr_float.c: Likewise.
27989 * sunrpc/xdr_mem.c: Likewise.
27990 * sunrpc/xdr_rec.c: Likewise.
27991 * sunrpc/xdr_ref.c: Likewise.
27992 * sunrpc/xdr_sizeof.c: Likewise.
27993 * sunrpc/xdr_stdio.c: Likewise.
27994
9da4bb31
UD
27995 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27996 handling.
27997
bdaa77bc
AS
279982010-08-19 Andreas Schwab <schwab@redhat.com>
27999
28000 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28001
fe2f79db
LM
280022010-08-19 Luis Machado <luisgpm@br.ibm.com>
28003
28004 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28005 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28006 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28007 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28008 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28009 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28010 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28011 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28012 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28013 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28014 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28015 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28016 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28017 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28018
b9b42ee0
AB
280192010-07-26 Anton Blanchard <anton@samba.org>
28020
28021 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28022 * malloc/arena.c (heap_trim): Likewise.
28023
1c06ba31
UD
280242010-08-16 Ulrich Drepper <drepper@redhat.com>
28025
28026 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28027 here. Not...
28028 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28029 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28030
f8392f40
L
280312010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28032
28033 * sysdeps/i386/elf/Makefile: New file.
28034
3162f12e
AS
280352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28036
28037 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28038 from fanotify_init.
28039 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28040 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28041
28c90b2c
UD
280422010-08-15 Ulrich Drepper <drepper@redhat.com>
28043
28044 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28045 of strncasecmp_l.
1feccb6c 28046 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28047
ca6bb004
UD
280482010-08-14 Ulrich Drepper <drepper@redhat.com>
28049
e9f82e0d
UD
28050 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28051 strncase_l-nonascii.
28052 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28053 Add strncase_l-ssse3.
28054 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28055 * sysdeps/x86_64/strcmp.S: Likewise.
28056 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28057 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28058 * sysdeps/x86_64/strncase.S: New file.
28059 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28060 * sysdeps/x86_64/strncase_l.S: New file.
28061 * string/Makefile (strop-tests): Add strncasecmp.
28062 * string/test-strncasecmp.c: New file.
28063
28064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28065 warning.
28066
ca6bb004
UD
28067 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28068 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28069
052fa7b3
AS
280702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28071
28072 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28073
962dba78
UD
280742010-08-12 Ulrich Drepper <drepper@redhat.com>
28075
28076 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28077 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28078 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28079
bebff237
AM
280802010-05-01 Alan Modra <amodra@gmail.com>
28081
28082 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28083 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28084 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28085 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28086 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28087 tidying. Don't tail-call __sigjmp_save for static lib.
28088 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28089 save location.
28090 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28091 (CALL_MCOUNT): Add eh info, and nop after bl.
28092 (TAIL_CALL_SYSCALL_ERROR): New macro.
28093 (PSEUDO_RET): Use it.
28094 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28095 Correct save location of integer regs and cr.
28096 (_dl_profile_resolve): Correct cr save location. Delete nops
28097 after bl when SHARED. Reduce cfi size a little by better
28098 placement of cfi directives.
28099 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28100 make a stack frame. Instead use parm save area as a temp.
28101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28102 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28104 Don't make a stack frame for parent, use parm save area.
28105 Increase child stack frame to 112 bytes. Don't save unused reg,
28106 and adjust reg usage. Set up cfi on error recovery and
28107 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28109 (__makecontext): Add dummy nop after jump to exit.
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28111 Use correct parm save area and cr save, reduce stack frame.
28112 Correct cfi for possible PSEUDO_RET frame setup.
28113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28114 Branch to local label emitted by PSEUDO_RET rather than
28115 __syscall_error.
28116
02637374
AS
281172010-08-12 Andreas Schwab <schwab@redhat.com>
28118
28119 [BZ #11904]
28120 * locale/programs/locale.c (print_assignment): New function.
28121 (show_locale_vars): Use it.
28122
c3e2f19b
UD
281232010-08-11 Ulrich Drepper <drepper@redhat.com>
28124
3cdaa6ad
UD
28125 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28126 field.
28127 (struct statfs64): Likewise.
28128 (_STATFS_F_FLAGS): Define.
28129 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28130 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28131 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28132 (ST_VALID): Define locally.
28133 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28134 __statvfs_getflags, use the provided value.
28135 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28136 __ASSUME_STATFS_F_FLAGS.
28137
754f7da3
UD
28138 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28139
10b3bedc
UD
28140 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28141 Add sys/fanotify.h.
28142 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28143 fanotify_mask for GLIBC_2.13.
28144 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28145 fanotify_init and fanotify_mark.
28146 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28147 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28148
c08fb0d7
UD
28149 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28150 Add prlimit.
28151 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28152 prlimit64 for GLIBC_2.13.
28153 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28154 prlimit64.
28155 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28156 syscall.
28157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28158 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28159 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28160 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28161 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28162 add prlimit alias.
28163 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28164
15bac72b
UD
28165 [BZ #11903]
28166 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28167 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28168
c3e2f19b
UD
28169 * nss/Makefile: Add rules to build and run tst-nss-test1.
28170 * shlib-versions: Add entry for libnss_test1.
28171 * nss/nss_test1.c: New file.
28172 * nss/tst-nss-test1.c: New file.
28173
28174 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28175 (__nss_configure_lookup): Set appropriate entry in
28176 __nss_configure_lookup to true.
28177 * nss/nsswitch.h: Define enum with indeces of databases in
28178 databases and __nss_database_custom arrays. Declare
28179 __nss_database_custom.
28180 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28181 to avoid using nscd when custom rules are installed.
28182 * nss/getXXbyYY_r.c: Likewise.
28183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28184
28185 * nss/nss_files/files-parse.c: Whitespace fixes.
28186
f15ce4d8
UD
281872010-08-09 Ulrich Drepper <drepper@redhat.com>
28188
28189 [BZ #11883]
28190 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28191 * posix/fnmatch_loop.c: Likewise.
28192
d22e4cc9
AK
281932010-07-17 Andi Kleen <ak@linux.intel.com>
28194
28195 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28196 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28197 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28198 * Versions.def [GLIBC_2.13]: Add.
28199
805bc17d
UD
282002010-08-06 Ulrich Drepper <drepper@redhat.com>
28201
28202 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28203 Also fail if tpwd after pwuid call is NULL.
28204
5a42321d
ST
282052010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28206
28207 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28208 when converting to ms.
28209
fd3ebeda
ST
282102010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28211
28212 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28213 EOPNOTSUPP errors with ENOTTY.
28214 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28215 EOPNOTSUPP errors with ENOTTY.
28216
73507d3a
UD
282172010-07-31 Ulrich Drepper <drepper@redhat.com>
28218
28219 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28220 Add strcasecmp_l-ssse3.
28221 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28222 strcasecmp.
28223 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28224 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28225 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28226
fe36dd02
UD
282272010-07-30 Ulrich Drepper <drepper@redhat.com>
28228
66f6765a
UD
28229 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28230
42e08a54
UD
28231 * string/Makefile (strop-tests): Add strcasecmp.
28232 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28233 strcasecmp_l-nonascii.
28234 (gen-as-const-headers): Add locale-defines.sym.
28235 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28236 * sysdeps/x86_64/strcasecmp.S: New file.
28237 * sysdeps/x86_64/strcasecmp_l.S: New file.
28238 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28239 * sysdeps/x86_64/locale-defines.sym: New file.
28240 * string/test-strcasecmp.c: New file.
28241
fe36dd02
UD
28242 * string/test-strcasestr.c: Test both ends of the range of characters.
28243 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28244
48cbc0d6
RM
282452010-07-29 Roland McGrath <roland@redhat.com>
28246
76e6d6bc 28247 [BZ #11856]
48cbc0d6
RM
28248 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28249
880113d9
UD
282502010-07-27 Ulrich Drepper <drepper@redhat.com>
28251
28252 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28253 for ld.so.
28254
deb9cabb
AS
282552010-07-27 Andreas Schwab <schwab@redhat.com>
28256
28257 * manual/memory.texi (Malloc Tunable Parameters): Document
28258 M_PERTURB.
28259
1c7570ff
RM
282602010-07-26 Roland McGrath <roland@redhat.com>
28261
28262 [BZ #11840]
28263 * configure.in (-fgnu89-inline check): Set and substitute
28264 gnu89_inline, not libc_cv_gnu89_inline.
28265 * configure: Regenerated.
28266 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28267
24fb0f88
UD
282682010-07-26 Ulrich Drepper <drepper@redhat.com>
28269
28270 * string/test-strnlen.c: New file.
28271 * string/Makefile (strop-tests): Add strnlen.
28272 * string/tester.c (test_strnlen): Add a few more test cases.
28273 * string/tst-strlen.c: Better error reporting.
28274
28275 * sysdeps/x86_64/strnlen.S: New file.
28276
8e96b93a
UD
282772010-07-24 Ulrich Drepper <drepper@redhat.com>
28278
28279 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28280 lower-latency instructions.
28281
dbc676d4
UD
282822010-07-23 Ulrich Drepper <drepper@redhat.com>
28283
28284 * string/test-strcasestr.c: New file.
28285 * string/test-strstr.c: New file.
28286 * string/Makefile (strop-tests): Add strstr and strcasestr.
28287 * string/str-two-way.h: Don't undefine MAX.
28288 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28289
f6a31e0e
AS
282902010-07-21 Andreas Schwab <schwab@redhat.com>
28291
28292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28293 strcasestr-nonascii.
28294 (CFLAGS-strcasestr-nonascii.c): Define.
28295 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28296 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28297 Remove unused attribute.
28298
5dbc3b6c
RM
282992010-07-20 Roland McGrath <roland@redhat.com>
28300
28301 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28302 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28303 ld.so.cache was broken. With it, there is no way to disable dsocaps
28304 like LD_HWCAP_MASK can disable hwcaps.
28305
23d101d8
EPM
283062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28307
28308 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28309
cc9f2e47
UD
283102010-07-16 Ulrich Drepper <drepper@redhat.com>
28311
28312 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28313 call in strcasestr.
28314 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28315 __strcasestr_sse42_nonascii.
28316 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28317 strcasestr-nonascii.c.
28318 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28319
77c1b069
LM
283202010-06-15 Luis Machado <luisgpm@br.ibm.com>
28321
28322 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28323 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28325 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28326
440566c3
UD
283272010-07-09 Ulrich Drepper <drepper@redhat.com>
28328
28329 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28330 fcntl.
28331
5be9d05d
AS
283322010-07-06 Andreas Schwab <schwab@redhat.com>
28333
c30b7ee2 28334 [BZ #11577]
5be9d05d
AS
28335 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28336 dl_signal_cerror.
28337
8a492a67
UD
283382010-07-06 Ulrich Drepper <drepper@redhat.com>
28339
28340 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28341 _PC_PIPE_BUF using F_GETPIPE_SZ.
28342
713df3d5
RM
283432010-07-05 Roland McGrath <roland@redhat.com>
28344
28345 * manual/arith.texi (Rounding Functions): Fix rint description
28346 implicit in round description.
28347
702e8f14
UD
283482010-07-02 Ulrich Drepper <drepper@redhat.com>
28349
28350 * elf/Makefile: Fix linking for a few tests to make recent linker
28351 happy.
28352
52ed8be9
AS
283532010-06-30 Andreas Schwab <schwab@redhat.com>
28354
28355 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28356 $(common-objpfx)libc_nonshared.a.
28357
f47c9a11
LM
283582010-06-21 Luis Machado <luisgpm@br.ibm.com>
28359
28360 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28361 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28362 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28363 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28364 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28365 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28366 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28367 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28382 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28383 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28384 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28385 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28386 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28387 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28388 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28389 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28390 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28391 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28392 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28393 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28408
6fb8cbcb
L
284092010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28410
28411 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28412 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28413 * string/memmove.c (memmove): Renamed to ...
28414 (MEMMOVE): ...this. Default to memmove.
28415 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28416 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28417 (END_CHK): Define.
28418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28419 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28420 mempcpy-ssse3-back memmove-ssse3-back.
28421 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28424 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28425 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28426 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28427 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28428 * sysdeps/x86_64/multiarch/memmove.c: New file.
28429 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28430 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28431 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28432 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28433 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28435 Define.
28436 (index_Fast_Copy_Backward): Define.
28437 (HAS_ARCH_FEATURE): Define.
28438 (HAS_FAST_REP_STRING): Define.
28439 (HAS_FAST_COPY_BACKWARD): Define.
28440
4e733bac 284412010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28442
28443 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28444 Restore proper fallback handling.
28445
63c4ed22
UD
284462010-06-19 Ulrich Drepper <drepper@redhat.com>
28447
ac2b484c
UD
28448 [BZ #11701]
28449 * posix/group_member.c (__group_member): Correct checking loop.
28450
63c4ed22
UD
28451 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28452 OOM in getpwuid_r correctly. Return error number when the caller
28453 should return, otherwise -1.
28454 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28455 call returning > 0 value.
28456 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28457
765ade4b
AS
284582010-06-07 Andreas Schwab <schwab@redhat.com>
28459
28460 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28461 libc_nonshared.a from targets in modules-names.
28462
80da2e09
KS
284632010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28464
28465 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28466 requires it.
28467
158db122
LM
284682010-06-10 Luis Machado <luisgpm@br.ibm.com>
28469
28470 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28471 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28472 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28474
caa78cf8
AS
284752010-06-02 Andreas Schwab <schwab@redhat.com>
28476
28477 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28478
b2ef2c01
UD
284792010-06-14 Ulrich Drepper <drepper@redhat.com>
28480
28481 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28482 and F_GETPIPE_SZ.
28483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28484 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28487 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28488 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28489
fbd643b6
RM
284902010-06-14 Roland McGrath <roland@redhat.com>
28491
28492 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28493
f32f2869
JJ
284942010-06-07 Jakub Jelinek <jakub@redhat.com>
28495
28496 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28497 __REDIRECT followed by __THROW.
28498 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28499 * posix/getopt.h (getopt): Likewise.
28500
2a50c078
EPM
285012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28502
28503 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28504 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28505 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28506 in AT_FLAGS.
28507 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28508 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28509
eb5ad2eb
LM
285102010-05-28 Luis Machado <luisgpm@br.ibm.com>
28511
28512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28513
3c88fe1e
L
285142010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28515
28516 [BZ #11640]
28517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28518 Properly check family and model.
28519
d2f73151
TY
285202010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28521
28522 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28523
ebd2e13d
LM
285242010-05-24 Luis Machado <luisgpm@br.ibm.com>
28525
28526 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28527
b32b8b45
UD
285282010-05-21 Ulrich Drepper <drepper@redhat.com>
28529
28530 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28531 symbol reference.
28532
9acbe24d
AS
285332010-05-19 Andreas Schwab <schwab@redhat.com>
28534
28535 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28536 symbol reference.
28537
f0ccf6ea
AS
285382010-05-21 Andreas Schwab <schwab@redhat.com>
28539
3d04ff3a
AS
28540 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28541 and internal_recvmmsg.
28542 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28543 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28544 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28545 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28546
f0ccf6ea
AS
28547 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28548 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28549 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28550
5b08ac57
AS
285512010-05-20 Andreas Schwab <schwab@redhat.com>
28552
28553 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28554
4828935d
LM
285552010-05-17 Luis Machado <luisgpm@br.ibm.com>
28556
28557 POWER7 optimizations.
28558 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28559 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28560
373d545e
UD
285612010-05-19 Ulrich Drepper <drepper@redhat.com>
28562
28563 * version.h: Update for 2.13 development version.
28564
21a2b1ae
AS
285652010-05-12 Andrew Stubbs <ams@codesourcery.com>
28566
28567 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28568 exceptions. Return 0.
28569
3f7dcb2b
RM
285702010-05-07 Roland McGrath <roland@redhat.com>
28571
28572 * elf/ldconfig.c (main): Add a const.
28573
5f24d53a 285742010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28575
a160f8d8
UD
28576 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28577 (args_options): Add no-idn option.
28578 (ahosts_keys_int): Add idn_flags to ai_flags.
28579 (parse_option): Handle 'i' option to clear idn_flags.
28580
5f24d53a
UD
28581 * malloc/malloc.c (_int_free): Possible race in the most recently
28582 added check. Only act on the data if no current modification
28583 happened.
265bb1ce
UD
28584
28585See ChangeLog.17 for earlier changes.