]> sourceware.org Git - glibc.git/blame - ChangeLog
Use *stat64 instead of *stat in installed programs
[glibc.git] / ChangeLog
CommitLineData
4c0fe6fe
FW
12013-05-10 Florian Weimer <fweimer@redhat.com>
2
3 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5 * iconv/iconv_prog.c (main): Likewise.
6 * locale/programs/charmap-dir.c (charmap_readdir)
7 (fopen_uncompressed): Likewise.
8 * locale/programs/locfile.c (siblings_uncached)
9 (write_locale_data): Use lstat64 instead of lstat.
10 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11 stat.
12
a3375d29
AJ
132013-05-10 Andreas Jaeger <aj@suse.de>
14
15 [BZ #15395]
16 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17 localization.
18 Include <locale.h>.
19
36129722
CD
202013-05-09 Carlos O'Donell <carlos@redhat.com>
21
22 * elf/dl-close.c (_dl_close_worker): Add comments.
23
faa7f811
JM
242013-05-09 Joseph Myers <joseph@codesourcery.com>
25
ed41ffef
JM
26 [BZ #15359]
27 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28 high part of pi/2.
29 (__ieee754_rem_pio2l): Update comments.
30
d0213cd0
JM
31 [BZ #15429]
32 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33 high part of pi/2.
34 (__ieee754_rem_pio2l): Update comments.
35
0d3e777a
JM
36 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
37 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
38
24f56066
JM
39 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40 M_PI_4l.
41
faa7f811
JM
42 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43 (M_PI_34_LOG10El): Likewise.
44 (M_PI2_LOG10El): Likewise.
45 (M_PI4_LOG10El): Likewise.
46 (M_PI_LOG10El): Likewise.
47
e9a5e0fd
AZ
482013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49
50 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51
d8cd06db
JM
522013-05-08 Joseph Myers <joseph@codesourcery.com>
53
a0d9f9d7
JM
54 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
55 (MINUS_ZERO_INIT): Likewise.
56 (PLUS_INFTY_INIT): Likewise.
57 (MINUS_INFTY_INIT): Likewise.
58 (QNAN_VALUE_INIT): Likewise.
59 (MAX_VALUE_INIT): Likewise.
60 (MIN_VALUE_INIT): Likewise.
61 (MIN_SUBNORM_VALUE_INIT): Likewise.
62 (plus_zero): Initialize with PLUS_ZERO_INIT.
63 (minus_zero): Initialize with MINUS_ZERO_INIT.
64 (plus_infty): Initialize with PLUS_INFTY_INIT.
65 (minus_infty): Initialize with MINUS_INFTY_INIT.
66 (qnan_value): Initialize with QNAN_VALUE_INIT.
67 (max_value): Initialize with MAX_VALUE_INIT.
68 (min_value): Initialize with MIN_VALUE_INIT.
69 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
70
ae08db3b
JM
71 * math/libm-test.inc (RUN_TEST_if_f): New macro.
72 (jn_test): Use TEST_if_f instead of TEST_ff_f.
73 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
74 (yn_test): Use TEST_if_f instead of TEST_ff_f.
75
f44bf14a
JM
76 * math/libm-test.inc (RUN_TEST_f_f): New macro.
77 (RUN_TEST_2_f): Likewise.
78 (RUN_TEST_ff_f): Likewise.
79 (RUN_TEST_fi_f): Likewise.
80 (RUN_TEST_fl_f): Likewise.
81 (RUN_TEST_fff_f): Likewise.
82 (RUN_TEST_c_f): Likewise.
83 (RUN_TEST_f_f1): Likewise.
84 (RUN_TEST_fF_f1): Likewise.
85 (RUN_TEST_fI_f1): Likewise.
86 (RUN_TEST_ffI_f1): Likewise.
87 (RUN_TEST_c_c): Likewise.
88 (RUN_TEST_cc_c): Likewise.
89 (RUN_TEST_f_i): Likewise.
90 (RUN_TEST_f_i_tg): Likewise.
91 (RUN_TEST_ff_i_tg): Likewise.
92 (RUN_TEST_f_b): Likewise.
93 (RUN_TEST_f_b_tg): Likewise.
94 (RUN_TEST_f_l): Likewise.
95 (RUN_TEST_f_L): Likewise.
96 (RUN_TEST_sincos): Likewise.
97 * math/gen-libm-test.pl (new_test): Take new argument to indicate
98 whether to show exceptions. Do not include ");\n" in return
99 value.
100 (special_functions): Output call to RUN_TEST_sincos instead of
101 check_float calls. Update calls to new_test.
102 (parse_args): Output call to single RUN_TEST_* macro instead of
103 check_* calls and other assignments. Update calls to new_test.
104
d8cd06db
JM
105 [BZ #2546]
106 [BZ #2560]
107 [BZ #5159]
108 [BZ #15426]
109 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
110 input to result for tgamma overflow.
111 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
112 (gamma_coeff): New variable.
113 (NCOEFF): New macro.
114 (gamma_positive): New function.
115 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
116 underflow here. Use gamma_positive instead of exp (lgamma) for
117 other arguments.
118 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
119 (gamma_coeff): New variable.
120 (NCOEFF): New macro.
121 (gammaf_positive): New function.
122 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
123 underflow here. Use gamma_positive instead of exp (lgamma) for
124 other arguments.
125 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
126 (gamma_coeff): New variable.
127 (NCOEFF): New macro.
128 (gammal_positive): New function.
129 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
130 underflow here. Use gamma_positive instead of exp (lgamma) for
131 other arguments.
132 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
133 (gamma_coeff): New variable.
134 (NCOEFF): New macro.
135 (gammal_positive): New function.
136 (__ieee754_gammal_r): Handle positive infinity, overflow and
137 underflow here. Handle NaN the same as positive infinity. Remove
138 check x < 0xffffffff for negative integers. Use gamma_positive
139 instead of exp (lgamma) for other arguments.
140 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
141 (gamma_coeff): New variable.
142 (NCOEFF): New macro.
143 (gammal_positive): New function.
144 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
145 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
146 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
147 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
148 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
149 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
150 * sysdeps/generic/math_private.h (__gamma_productf): New
151 prototype.
152 (__gamma_product): Likewise.
153 (__gamma_productl): Likewise.
154 * math/Makefile (libm-calls): Add gamma_product.
155 * math/libm-test.inc (tgamma_test): Add more tests.
156 * sysdeps/i386/fpu/libm-test-ulps: Update.
157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
158
bb7cf681
OB
1592013-05-08 Ondřej Bílka <neleai@seznam.cz>
160
161 * benchtests/bench-skeleton.c (main): Preheat CPU.
162
ba853947
AJ
1632013-05-07 Aurelien Jarno <aurelien@aurel32.net>
164
165 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
166
8347c74c
RM
1672013-05-07 Roland McGrath <roland@hack.frob.com>
168
169 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
170 and _dl_skip_args_internal.
171
e8dd4791
CD
1722013-05-07 Carlos O'Donell <carlos@redhat.com>
173
174 * manual/message.texi (Message Translation): Talk about users.
175 Message to key mapping impacts design.
176
c7405830
RM
1772013-05-06 Roland McGrath <roland@hack.frob.com>
178
a9173057
RM
179 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
180
976e2f03
RM
181 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
182
9723ffc5
RM
183 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
184 * sysdeps/wordsize-64/glob64.c: ... here.
185
962e6658
RM
186 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
187 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
188 New macros.
189
ee586a6d
RM
190 * debug/getlogin_r_chk.c: Moved to ...
191 * login/getlogin_r_chk.c: ... here.
192 * debug/Makefile (routines): Move getlogin_r_chk to ...
193 * login/Makefile (routines): ... here.
194 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
195 * login/Versions (libc: GLIBC_2.4): ... here.
196
355f9165
RM
197 * io/poll.c (__poll): Renamed from poll.
198 Add libc_hidden_def.
199 (poll): Define as weak alias.
200
bd9ffde6
RM
201 * debug/ptsname_r_chk.c: Moved to ...
202 * login/ptsname_r_chk.c: ... here.
203 * debug/Makefile (routines): Move ptsname_r_chk to ...
204 * login/Makefile (routines): ... here.
205 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
206 * login/Versions (libc: GLIBC_2.4): ... here.
207
8fb16a04
RM
208 * posix/getlogin.c: Moved to ...
209 * login/getlogin.c: ... here.
210 * posix/getlogin_r.c: Moved to ...
211 * login/getlogin_r.c: ... here.
212 * posix/getlogin_r.c: Moved to ...
213 * login/getlogin_r.c: ... here.
214 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
215 * login/Makefile (routines): ... here.
216 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
217 * login/Versions (libc: GLIBC_2.0): ... here.
218
b99b892f
RM
219 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
220 (setrlimit): Define as weak alias.
221
c7405830
RM
222 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
223 Call __ names for open, ftruncate, and close.
224 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
225 (truncate): Define as weak alias.
226
5bf96de5
JM
2272013-05-06 Joseph Myers <joseph@codesourcery.com>
228
9ea3513c
JM
229 * math/gen-libm-test.pl (parse_args): Initialize x before each
230 test of frexp, modf and remquo.
231
5bf96de5
JM
232 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
233 test signgam value.
234
16e616a7
AZ
2352013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
236
237 [BZ #15418]
238 [BZ #15419]
239 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
240 internal tests.
241 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
242
d5e82754
RM
2432013-05-06 Roland McGrath <roland@hack.frob.com>
244
245 * elf/dl-writev.h: New file.
246 * elf/dl-misc.c: Include it.
247 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
248 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
249
a7548d41
JM
2502013-05-04 Joseph Myers <joseph@codesourcery.com>
251
b7dab1e4
JM
252 * math/libm-test.inc (noXFails): Remove variable.
253 (noXPasses): Likewise.
254 (BUILD_COMPLEX_INT): Remove macro.
255 (print_screen): Remove xfail argument.
256 (print_screen_max_error): Likewise.
257 (update_stats): Likewise.
258 (print_max_error): Likewise. Update calls to other affected
259 functions.
260 (print_complex_max_error): Likewise.
261 (test_single_exception): Update calls to print_screen.
262 (test_single_errno): Likewise.
263 (check_float_internal): Remove xfail argument. Update calls to
264 other affected functions.
265 (check_float): Likewise.
266 (check_complex): Likewise.
267 (check_int): Likewise.
268 (check_long): Likewise.
269 (check_bool): Likewise.
270 (check_longlong): Likewise.
271 (main): Don't print noXFails and noXPasses.
272 * math/gen-libm-test.pl (top level): Don't mention expected
273 failure handling in comment.
274 (new_test): Don't handle expected failures.
275 (parse_args): Don't mention expected failure handling in comment.
276 (generate_testfile): Don't handle expected failures.
277 (parse_ulps): Likewise.
278 (print_ulps_file): Likewise.
279 (get_failure): Remove function.
280 (output_test): Don't handle expected failures.
281 * make/README.libm-test: Don't mention expected failure handling.
282
a7548d41
JM
283 * math/libm-test.inc (plus_zero): Make const. Add initializer.
284 (minus_zero): Likewise.
285 (plus_infty): Likewise.
286 (minus_infty): Likewise.
287 (qnan_value): Likewise.
288 (max_value): Likewise.
289 (min_value): Likewise.
290 (min_subnorm_value): Likewise.
291 (initialize): Do not initialize those variables dynamically.
292
60bfd54c
RM
2932013-05-03 Roland McGrath <roland@hack.frob.com>
294
cc0e6ed8
RM
295 * io/open.c (__open_2): Moved to ...
296 * io/open_2.c: ... this new file.
297 * io/open64.c (__open64_2): Moved to ...
298 * io/open64_2.c: ... this new file.
299 * io/openat.c (__openat_2): Moved to ...
300 * io/openat_2.c: ... this new file.
301 * io/openat64.c (__openat64_2): Moved to ...
302 * io/openat64_2.c: ... this new file.
303 * io/Makefile (routines): Add them.
304 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
305 * sysdeps/unix/sysv/linux/open_2.c: File removed.
306 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
307 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
308 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
309 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
310 (__openat64): Add hidden_ver.
311 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
312 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
313
60bfd54c
RM
314 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
315 Separately conditionalize setting of GLRO(dl_sysinfo) so
316 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
317 as well, but the actual setting is only under [NEED_DL_SYSINFO].
318
83e7640f
AZ
3192013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
320
321 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
322 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
323 definition.
324 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
325 * sysdeps/unix/sysv/linux/powerpc/init-first.c
326 (_libc_vdso_platform_setup): Add __vdso_time initialization.
327 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
328 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
329
d5dc2af3
JM
3302013-05-03 Joseph Myers <joseph@codesourcery.com>
331
c31a5b1e
JM
332 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
333 test signgam value.
334
d5dc2af3
JM
335 * math/libm-test.inc (hypot_test): Do not use
336 IGNORE_ZERO_INF_SIGN.
337
164fd39d
AJ
3382013-05-03 Andreas Jaeger <aj@suse.de>
339
340 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
341 Linux 3.9.
342 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
343 (PF_MAX): Adjust for VSOCK change.
344
8237f48c
AZ
3452013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
346
347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
348
9df02941
CD
3492013-05-02 Carlos O'Donell <carlos@redhat.com>
350
351 [BZ #15264]
352 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
353 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
354 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
355
d422395e
DM
3562013-05-02 David S. Miller <davem@davemloft.net>
357
358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
359
a07c5731
OB
3602013-05-01 Ondřej Bílka <neleai@seznam.cz>
361
362 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
363
1324e37f
RM
3642013-05-01 Roland McGrath <roland@hack.frob.com>
365
366 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
367
0695940b
RS
3682013-05-01 Richard Smith <richard@metafoo.co.uk>
369
bb5f27ad 370 [BZ #14952]
0695940b
RS
371 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
372 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
373 Use __attribute__ ((__gnu_inline__)).
374 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
375 Don't use __attribute__ ((__gnu_inline__)).
376
10de07f5
JM
3772013-05-01 Joseph Myers <joseph@codesourcery.com>
378
379 [BZ #15423]
380 * math/s_catan.c (__catan): Handle small real or imaginary part of
381 input specially to avoid spurious underflow.
382 * math/s_catanf.c (__catanf): Likewise.
383 * math/s_catanh.c (__catanh): Likewise.
384 * math/s_catanhf.c (__catanhf): Likewise.
385 * math/s_catanhl.c (__catanhl): Likewise.
386 * math/s_catanl.c (__catanl): Likewise.
387 * math/libm-test.inc (catan_test): Add more tests.
388 (catanh_test): Likewise.
389 * sysdeps/i386/fpu/libm-test-ulps: Update.
390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
391
cb4d5414
AZ
3922013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
393
394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
395
caf84319
JM
3962013-04-30 Joseph Myers <joseph@codesourcery.com>
397
398 [BZ #15416]
399 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
400 accurately for denominator in atan2.
401 * math/s_catanf.c (__catanf): Likewise.
402 * math/s_catanh.c (__catanh): Likewise.
403 * math/s_catanhf.c (__catanhf): Likewise.
404 * math/s_catanhl.c (__catanhl): Likewise.
405 * math/s_catanl.c (__catanl): Likewise.
406 * math/libm-test.inc (catan_test): Add more tests.
407 (catanh_test): Likewise.
408 * sysdeps/i386/fpu/libm-test-ulps: Update.
409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
410
d569c6ee
SP
4112013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
412
6dbe713d
SP
413 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
414
f0ee064b
SP
415 * benchtests/Makefile (bench): Remove slow benchmarks.
416 * benchtests/atan-inputs: Add slow benchmark inputs.
417 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
418 (BENCH_FUNC): Accept variant offset.
419 (VARIANT): Define.
420 * benchtests/bench-skeleton.c (main): Run benchmark for each
421 variant.
422 * benchtests/cos-inputs: Add slow benchmark inputs.
423 * benchtests/exp-inputs: Likewise.
424 * benchtests/pow-inputs: Likewise.
425 * benchtests/sin-inputs: Likewise.
426 * benchtests/slowatan-inputs: Remove.
427 * benchtests/slowatan.c: Remove.
428 * benchtests/slowcos-inputs: Remove.
429 * benchtests/slowcos.c: Remove.
430 * benchtests/slowexp-inputs: Remove.
431 * benchtests/slowexp.c: Remove.
432 * benchtests/slowpow-inputs: Remove.
433 * benchtests/slowpow.c: Remove.
434 * benchtests/slowsin-inputs: Remove.
435 * benchtests/slowsin.c: Remove.
436 * benchtests/slowtan-inputs: Remove.
437 * benchtests/slowtan.c: Remove.
438 * benchtests/tan-inputs: Add slow benchmark inputs.
439 * scripts/bench.pl: Parse comments and directives.
440
d569c6ee
SP
441 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
442 in CPPFLAGS.
443 ($(objpfx)bench-%.c): Remove *-ITER.
444 * benchtests/bench-modf.c: Remove definition of ITER.
445 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
446 (main): Loop for DURATION seconds instead of fixed number of
447 iterations.
448 * scripts/bench.pl: Don't expect iterations in parameters.
449
a6a242fe
RM
4502013-04-29 Roland McGrath <roland@hack.frob.com>
451
452 * io/fchdir.c (__fchdir): Renamed from fchdir.
453 (fchdir): Define as weak alias.
454
f2da7793
JM
4552013-04-29 Joseph Myers <joseph@codesourcery.com>
456
457 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
458 (ERRNO_EDOM): Likewise.
459 (ERRNO_ERANGE): Likewise.
460 (noErrnoTests): New variable.
461 (init_max_error): Set errno to 0.
462 (test_single_errno): New function.
463 (test_errno): Likewise.
464 (check_float_internal): Call test_errno. Set errno to 0.
465 (check_complex): Refer to errno tests in comment.
466 (check_int): Call test_errno. Set errno to 0.
467 (check_long): Likewise.
468 (check_bool): Likewise.
469 (check_longlong): Likewise.
470 (cos_test): Use ERRNO_* flags for errno tests instead of
471 check_int.
472 (expm1_test): Likewise.
473 (fmod_test): Likewise.
474 (ilogb_test): Likewise.
475 (lgamma_test): Likewise.
476 (pow_test): Likewise.
477 (remainder_test): Likewise.
478 (sin_test): Likewise.
479 (tan_test): Likewise.
480 (yn_test): Likewise.
481 (initialize): Set errno to 0.
482 (main): Print number of errno tests.
483 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
484
b1a36ceb
AJ
4852013-04-29 Andreas Jaeger <aj@suse.de>
486
c3ed8088
AJ
487 [BZ #15084]
488 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
489 and RES_USEVC.
490
f1a24198
AJ
491 [BZ #15085]
492 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
493 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
494 unimplemented.
495
9ce3b2cb
AJ
496 [BZ #15380]
497 * stdlib/random.c (__initstate): Return NULL if
498 __initstate fails.
499
f1a24198 500 [BZ #15086]
b1a36ceb
AJ
501 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
502 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
503 RES_SNGLKUPREOP.
504
7e7b6f36
AZ
5052013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
506
507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
508
4d14f449
JM
5092013-04-29 Joseph Myers <joseph@codesourcery.com>
510
511 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
512 of individual tests.
513 (casin_test): Likewise.
514 (casinh_test): Likewise.
515
5b4217d7
JM
5162013-04-27 Joseph Myers <joseph@codesourcery.com>
517
518 [BZ #15409]
519 * math/s_catan.c (__catan): Handle arguments with large real or
520 imaginary part separately without squaring.
521 * math/s_catanf.c (__catanf): Likewise.
522 * math/s_catanh.c (__catanh): Likewise.
523 * math/s_catanhf.c (__catanhf): Likewise.
524 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
525 and redefine.
526 (__catanhl): Handle arguments with large real or imaginary part
527 separately without squaring.
528 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
529 and redefine.
530 (__catanl): Handle arguments with large real or imaginary part
531 separately without squaring.
532 * math/libm-test.inc (catan_test): Add more tests.
533 (catanh_test): Likewise.
534 * sysdeps/i386/fpu/libm-test-ulps: Update.
535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
536
4220c3ef
AJ
5372013-04-27 Andreas Jaeger <aj@suse.de>
538
539 [BZ #15007]
540 * stdlib/stdlib.h: Update guards for qecvt.
541 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
542 <stdlib.h>.
543
4721b2d1
AM
5442013-04-27 Allan McRae <allan@archlinux.org>
545
546 * sysdeps/i386/fpu/libm-test-ulps: Update.
547
f0302940
JM
5482013-04-26 Joseph Myers <joseph@codesourcery.com>
549
9457fd95
JM
550 [BZ #15406]
551 * math/s_catan.c: Include <float.h>.
552 (__catan): Ensure underflow exception occurs for underflowed
553 result.
554 * math/s_catanf.c: Include <float.h>.
555 (__catanf): Ensure underflow exception occurs for underflowed
556 result.
557 * math/s_catanh.c: Include <float.h>.
558 (__catanh): Ensure underflow exception occurs for underflowed
559 result.
560 * math/s_catanhf.c: Include <float.h>.
561 (__catanhf): Ensure underflow exception occurs for underflowed
562 result.
563 * math/s_catanhl.c: Include <float.h>.
564 (__catanhl): Ensure underflow exception occurs for underflowed
565 result.
566 * math/s_catanl.c: Include <float.h>.
567 (__catanl): Ensure underflow exception occurs for underflowed
568 result.
569 * math/libm-test.inc (catan_test): Add more tests.
570 (catanh_test): Likewise.
571
f0302940
JM
572 [BZ #15405]
573 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
574 underflowed result.
575 * math/s_ccoshf.c (__ccoshf): Likewise.
576 * math/s_ccoshl.c (__ccoshl): Likewise.
577 * math/s_csin.c (__csin): Likewise.
578 * math/s_csinf.c (__csinf): Likewise.
579 * math/s_csinh.c (__csinh): Likewise.
580 * math/s_csinhf.c (__csinhf): Likewise.
581 * math/s_csinhl.c (__csinhl): Likewise.
582 * math/s_csinl.c (__csinl): Likewise.
583 * math/libm-test.inc (ccos_test): Add more tests.
584 (ccosh_test): Likewise.
585 (csin_test): Likewise.
586 (csinh_test): Likewise.
587
aa630f59
AZ
5882013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
589
590 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
591 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
592 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
593 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
594 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
595 powerpc/power5+/fpu folders.
596 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
597
598
1b835983
MT
5992013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
600
601 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
602
73709b26
JM
6032013-04-25 Joseph Myers <joseph@codesourcery.com>
604
605 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
606 additions to variable.
607 [$(config-machine) = x86_64] (modules-names): Likewise.
608 ($(objpfx)tst-audit3): Remove dependency.
609 ($(objpfx)tst-audit3.out): Likewise.
610 ($(objpfx)tst-audit4): Likewise.
611 ($(objpfx)tst-audit4.out): Likewise.
612 ($(objpfx)tst-audit5): Likewise.
613 ($(objpfx)tst-audit5.out): Likewise.
614 ($(objpfx)tst-audit6): Likewise.
615 ($(objpfx)tst-audit6.out): Likewise.
616 ($(objpfx)tst-audit7): Likewise.
617 ($(objpfx)tst-audit7.out): Likewise.
618 (tst-audit3-ENV): Remove variable.
619 (tst-audit4-ENV): Likewise.
620 (tst-audit5-ENV): Likewise.
621 (tst-audit6-ENV): Likewise.
622 (tst-audit7-ENV): Likewise.
623 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
624 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
625 addition to variable.
626 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
627 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
628 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
629 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
630 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
631 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
632 tst-audit3, tst-audit4 and tst-audit5.
633 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
634 tst-audit6 and tst-audit7.
635 [$(subdir) = elf] (modules-names): Add audit modules for those
636 tests.
637 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
638 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
639 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
640 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
641 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
642 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
643 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
644 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
645 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
646 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
647 [$(subdir) = elf] (tst-audit3-ENV): New variable.
648 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
649 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
650 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
651 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
652 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
653 Likewise.
654 [$(subdir) = elf && $(config-cflags-avx) = yes]
655 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
656 [$(subdir) = elf && $(config-cflags-avx) = yes]
657 (CFLAGS-tst-auditmod4a.c): Likewise.
658 [$(subdir) = elf && $(config-cflags-avx) = yes]
659 (CFLAGS-tst-auditmod4b.c): Likewise.
660 [$(subdir) = elf && $(config-cflags-avx) = yes]
661 (CFLAGS-tst-auditmod6b.c): Likewise.
662 [$(subdir) = elf && $(config-cflags-avx) = yes]
663 (CFLAGS-tst-auditmod6c.c): Likewise.
664 [$(subdir) = elf && $(config-cflags-avx) = yes]
665 (CFLAGS-tst-auditmod7b.c): Likewise.
666 * elf/tst-audit3.c: Move to ...
667 * sysdeps/x86_64/tst-audit3.c: ... here.
668 * elf/tst-audit4.c: Move to ...
669 * sysdeps/x86_64/tst-audit4.c: ... here.
670 * elf/tst-audit5.c: Move to ...
671 * sysdeps/x86_64/tst-audit5.c: ... here.
672 * elf/tst-audit6.c: Move to ...
673 * sysdeps/x86_64/tst-audit6.c: ... here.
674 * elf/tst-audit7.c: Move to ...
675 * sysdeps/x86_64/tst-audit7.c: ... here.
676 * elf/tst-auditmod3a.c: Move to ...
677 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
678 * elf/tst-auditmod3b.c: Move to ...
679 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
680 * elf/tst-auditmod4a.c: Move to ...
681 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
682 * elf/tst-auditmod4b.c: Move to ...
683 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
684 * elf/tst-auditmod5a.c: Move to ...
685 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
686 * elf/tst-auditmod5b.c: Move to ...
687 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
688 * elf/tst-auditmod6a.c: Move to ...
689 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
690 * elf/tst-auditmod6b.c: Move to ...
691 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
692 * elf/tst-auditmod6c.c: Move to ...
693 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
694 * elf/tst-auditmod7a.c: Move to ...
695 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
696 * elf/tst-auditmod7b.c: Move to ...
697 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
698
1ef74943
PP
6992013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
700
701 [BZ #15366]
702 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
703 define unconditionally.
704 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
705 define unconditionally.
706 (INT8_C, INT16_C, etc.): Likewise.
707
93fd48c5
MR
7082013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
709
ae9552cf
MR
710 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
711 __ehdr_start with hidden visibility.
712
93fd48c5
MR
713 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
714
418601aa
CD
7152013-04-24 Carlos O'Donell <carlos@redhat.com>
716
717 * math/libm-test.inc (cos_test): Use accurate hex constants.
718 (sincost_test): Likewise.
719
2f38fbfe
JM
7202013-04-24 Joseph Myers <joseph@codesourcery.com>
721
5e221800
JM
722 * math/libm-test.inc (catan_test): Add more tests.
723 (catanh_test): Likewise.
724
77f143fd
JM
725 * math/s_catanf.c (__catanf): Use suffixed floating-point
726 constants.
727 * math/s_catanhf.c (__catanhf): Likewise.
728 * math/s_catanhl.c (__catanhl): Likewise.
729 * math/s_catanl.c (__catanl): Likewise.
730
2f38fbfe
JM
731 [BZ #15394]
732 * math/s_catan.c (__catan): Calculate imaginary part of result
733 with log1p not log unless computing log of number close to 0.
734 * math/s_catanf.c (__catanf): Likewise.
735 * math/s_catanl.c (__catanl): Likewise.
736 * math/s_catanh.c (__catanh): Calculate real part of result with
737 log1p not log unless computing log of number close to 0.
738 * math/s_catanhf.c (__catanhf): Likewise.
739 * math/s_catanhl.c (__catanhl): Likewise.
740 * math/libm-test.inc (catan_test): Add more tests.
741 (catanh_test): Likewise.
742 * sysdeps/i386/fpu/libm-test-ulps: Update.
743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
744
45d69176
SP
7452013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
746
747 * benchtests/Makefile: Mention files in which fast and slow
748 paths of math functions are implemented.
749
87f51853
RM
7502013-04-23 Roland McGrath <roland@hack.frob.com>
751
752 * sysdeps/posix/timespec_get.c: New file.
753
3c026539
AZ
7542013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
755
756 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
757 POWER.
758 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
759 for POWER.
760 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
761 powerpc/power5/fpu folders.
762 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
763 * benchtests/Makefile: Add modf testcase.
764 * benchtests/bench-modf.c: New file: Benchmark test for mo
765
ff491d14
SP
7662013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
767
768 [BZ #14888]
769 * time/Makefile (tests): Add tst-strptime-whitespace.
770 * time/strptime_l.c (get_number): Use ISSPACE.
771 (__strptime_internal): Likewise.
772 * time/tst-strptime-whitespace.c: New test case.
773
7ed3f4e8
AS
7742013-04-23 Andreas Schwab <schwab@linux-m68k.org>
775
776 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
777 member.
778 (_nss_files_init): Set it here.
779
5c95f7b6
HC
7802013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
781
782 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
783 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
784 unsigned.
785
d34c9158
JBG
7862013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
787
788 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
789
2169712d
SP
7902013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
791
792 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
793 size just once.
794
29c5de99
DM
7952013-04-21 David S. Miller <davem@davemloft.net>
796
797 * po/ru.po: Update Russion translation from translation project.
798
ccdad15d
AC
7992013-04-17 Adam Conrad <adconrad@0c3.net>
800
801 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
802 and setfsgid.
803
0f122b8d
CD
8042013-04-17 Carlos O'Donell <carlos@redhat.com>
805
5c5b07da 806 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 807 * configure: Regenerate.
5c5b07da 808 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
809 Add example to error message.
810 * sysdeps/i386/configure: Regenerate.
811
037714dd
SP
8122013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
813
814 * benchtests/Makefile (bench): Add cos, tan, slowcos and
815 slowtan.
816 * benchtests/cos-inputs: New file.
817 * benchtests/slowcos-inputs: New file.
818 * benchtests/slowcos.c: New file.
819 * benchtests/slowtan-inputs: New file.
820 * benchtests/slowtan.c: New file.
821 * benchtests/tan-inputs: New file.
822
e913141d
RM
8232013-04-16 Roland McGrath <roland@hack.frob.com>
824
825 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
826 considered kosher.
827
a2964074
SP
8282013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
829
4856bcd2
SP
830 * benchtests/Makefile: Include cppflags-iterator.mk to add
831 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
832
a2964074
SP
833 * Makefile.in (bench-clean): New target.
834 * benchtests/Makefile (bench-clean): Likewise.
835
9fbf9aca
DH
8362013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
837
838 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
839
207d1e2a
TS
8402013-04-15 Thomas Schwinge <thomas@codesourcery.com>
841
842 * stdio-common/tstdiomisc.c: Fix coding-style violation.
843
306dfba9
AS
8442013-04-15 Andreas Schwab <schwab@suse.de>
845
846 * nscd/grpcache.c (cache_addgr): Properly check for short write.
847 * nscd/initgrcache.c (addinitgroupsX): Likewise.
848 * nscd/pwdcache.c (cache_addpw): Likewise.
849 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
850 more than recsize.
851
206a6699
SP
8522013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
853
854 * benchtests/Makefile (bench): Write all output to
855 bench-out.tmp together.
856
0582f6b3
AS
8572013-04-15 Andreas Schwab <schwab@suse.de>
858
859 * nscd/nscd.c (main): Don't fork again after closing files.
860
acb4325f
SP
8612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
862
5cb26d0a
SP
863 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
864
acb4325f
SP
865 * benchtests/Rules (bench-deps): Collect dependencies into a
866 single variable. Add Makefile to dependencies.
867 ($(objpfx)bench-%.c): Depend on bench-deps.
868
47792506
RM
8692013-04-12 Roland McGrath <roland@hack.frob.com>
870 Xavier Roche <roche+kml2@exalead.com>
871
872 [BZ #15361]
873 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
874 just that it's a file descriptor.
875 * manual/llio.texi (Synchronizing AIO Operations): Update description
876 for EBADF error from aio_fsync.
877
8fc1bee5
SP
8782013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
879
880 * Rules (bench): Move target definition...
881 * benchtests/Makefile: ... here.
882
aba5e333
CD
8832013-04-11 Carlos O'Donell <carlos@redhat.com>
884
885 * math/libm-test.inc (cos_test): Fix PI/2 test.
886 (sincos_test): Likewise.
887 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
888 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
889
273cdee8
AS
8902013-04-11 Andreas Schwab <schwab@suse.de>
891
6ecec3b6
AS
892 [BZ #13988]
893 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
894 accept exponent character only when digits were seen.
895 * stdio-common/Makefile (tests): Add bug26.
896 * stdio-common/bug26.c: New file.
897
273cdee8
AS
898 [BZ #14293]
899 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
900 non-freeable.
901
8da491f5
SP
9022013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
903
01dc6df9
SP
904 * Makeconfig (rtld-prefix): Define built linker prefix.
905 * Rules (run-bench): Use it.
906 * math/Makefile (run-regen-ulps): Likewise.
907
8da491f5
SP
908 * Rules (bench): Remove eval.
909
abe7f530
SP
9102013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
911 Roland McGrath <roland@hack.frob.com>
912 Ondrej Bilka <neleai@seznam.cz>
913
914 [BZ #15346]
915 * time/getdate.c: Include ctype.h and alloca.h.
916 (__getdate_r): Trim leading and trailing spaces of input.
917 * time/tst-getdate.c (tests): Add tests with leading and
918 trailing spaces.
919
61c23e62
RM
9202013-04-08 Roland McGrath <roland@hack.frob.com>
921
922 [BZ #14280]
923 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
924 when computing value.
925
7208a313
CD
9262013-04-06 Carlos O'Donell <carlos@redhat.com>
927
085b2d41
CD
928 * math/README.libm-test (How can I generate "libm-test-ulps"?):
929 Use testrun.sh to run libm tests.
930
7208a313
CD
931 [BZ #15309]
932 * elf/dl-open.c (dl_open_worker): memset all of seen array.
933
872c0acd
MM
9342013-04-06 Marko Myllynen <myllynen@redhat.com>
935
936 [BZ #15264]
937 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
938
26510bdd
CD
9392013-04-06 Carlos O'Donell <carlos@redhat.com>
940
941 * Makefile.in (regen-ulps): New target.
942 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
943 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
944 [ifneq (no,$(PERL)] (regen-ulps): New target.
945 [ifeq (no,$(PERL)] (regen-ulps): New target.
946 * math/libm-test.inc (ulps_file_name): Define.
947 (output_dir): New variable.
948 (options): Add "output-dir" option.
949 (parse_opt): Handle 'o' case.
950 (main): If output_dir is non-NULL use it as a prefix
951 otherwise use "".
952 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
953
a01f19c8
CD
9542013-04-06 Carlos O'Donell <carlos@redhat.com>
955
956 [BZ #10060, #10062]
957 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
958 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
959 fail configure if __sync_val_compare_and_swap is not inlined.
960 * sysdeps/i386/configure: Regenerate.
961 * configure.in: Build for i686 when configured for i386.
962 * configure: Regenerate.
963 * README: Remove i386 reference.
964
b7a329a5
CD
9652013-04-06 Carlos O'Donell <carlos@redhat.com>
966
967 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
968 * sysdeps/s390/s390-64/sysdep.h: Likewise.
969
bf0f50df
TS
9702013-04-05 Thomas Schwinge <thomas@codesourcery.com>
971
ee091edf
TS
972 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
973 (lmsnanval): New variables.
974 (F): Add conversion tests.
975 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
976 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
977
a8b792d6
TS
978 * stdio-common/tstdiomisc.c (F): Properly collect individual
979 tests' results.
980
a1cbf437
TS
981 [BZ #14686, #15336]
982 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
983 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
984 Instead, use input NaN values or generate a qNaN by arithmetic
985 operation. Also fix bugs to comply with the standard.
986 * math/libm-test.inc (remainder_test): Add more tests.
987
8b43a0c9
TS
988 [BZ #15335, #15342]
989 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
991 input NaN values or generate a qNaN by arithmetic operation.
992
d91da4ce
TS
993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
994 unreachable code.
995
bf0f50df
TS
996 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
997 definitions.
998
05e166c8
JM
9992013-04-03 Joseph Myers <joseph@codesourcery.com>
1000
1001 [BZ #14478]
1002 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1003 underflowed result.
1004 * math/s_cexpf.c (__cexpf): Likewise.
1005 * math/s_cexpl.c (__cexpl): Likewise.
1006 * math/libm-test.inc (cexp_test): Add more tests.
1007
1cef1b19
AS
10082013-04-03 Andreas Schwab <schwab@suse.de>
1009
1010 [BZ #15330]
1011 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1012 order arrays from heap if bigger than alloca cutoff.
1013
74d87055
TS
10142013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1015
1016 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1017 (SNAN_TESTS_double): Refer to GCC PR56831.
1018 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1019 GCC PR56828.
1020
d755bba4
SP
10212013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1022
90d5d5bb
SP
1023 * Rules (bench): Move bench.out after the run is complete.
1024
73e0cd5d
SP
1025 * Rules (bench): Echo currently running benchmark.
1026
64aabd4b
SP
1027 * benchtests/Makefile (bench): Add atan and slowatan.
1028 * benchtests/atan-inputs: New file.
1029 * benchtests/slowatan-inputs: New file.
1030 * benchtests/slowatan.c: New file.
1031
c871eccd
SP
1032 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1033 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1034 its value.
1035
d755bba4
SP
1036 [BZ #15305]
1037 * sysdeps/unix/sysv/linux/kernel-features.h
1038 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1039 __ASSUME_XFS_RESTRICTED_CHOWN.
1040 * sysdeps/unix/sysv/linux/pathconf.c
1041 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1042 Save and restore errno.
1043
52ce4860
JM
10442013-04-02 Joseph Myers <joseph@codesourcery.com>
1045
1046 [BZ #15327]
1047 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1048 arguments using __kernel_casinh.
1049 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1050 arguments using __kernel_casinhf.
1051 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1052 arguments using __kernel_casinhl.
1053 * math/libm-test.inc (cacosh_test): Add more tests.
1054 * sysdeps/i386/fpu/libm-test-ulps: Update.
1055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1056
81f311c2
SP
10572013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1058
e7906a47
SP
1059 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1061
92e3664b
SP
1062 * bench/Makefile (bench): Add sin and slowsin.
1063 * benchtests/sin-inputs: New file.
1064 * benchtests/slowsin-inputs: New file.
1065 * benchtests/slowsin.c: New file.
1066
81f311c2
SP
1067 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1068 (bench): Add slowexp and slowpow.
1069 (exp-ITER): Increase iterations.
1070 (pow-ITER): Likewise.
1071 * benchtests/exp-inputs: Change input.
1072 * benchtests/pow-inputs: Likewise.
1073 * benchtests/slowexp-inputs: New file.
1074 * benchtests/slowexp.c: New file.
1075 * benchtests/slowpow-inputs: New file.
1076 * benchtests/slowpow.c: New file.
1077
ab0f1aa9
AZ
10782013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1079
1080 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1081 instructions.
1082 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1083 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1084 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1085 * benchtests/Makefile: Add rint benchtest.
1086 * benchtests/rint-inputs: Input for rint benchtest.
1087
57267616
TS
10882013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1089
1090 * Versions.def (libm): Add GLIBC_2.18.
1091 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1092 hidden libm prototypes.
1093 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1094 * math/Makefile (libm-calls): Add s_issignaling.
1095 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1096 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1097 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1098 declaration.
1099 * math/math.h [__USE_GNU] (issignaling): New macro.
1100 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1101 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1102 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1103 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1104 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1105 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1106 * manual/arith.texi (issignaling): New section.
1107 * manual/libm-err-tab.pl (@all_functions): Update comment.
1108 * math/gen-libm-test.pl (parse_args): Apply special handling for
1109 issignaling.
1110 * math/libm-test.inc (print_float, issignaling_test): New
1111 functions.
1112 (check_float_internal): Add issignaling checks.
1113 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1114 default definition.
1115 * sysdeps/powerpc/math-tests.h: New file.
1116 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1117 tests.
1118 * math/test-snan.c (TEST_FUNC): Likewise.
1119
6142896d
DM
11202013-03-30 David S. Miller <davem@davemloft.net>
1121
1122 * po/de.po: Update from translation team.
1123
ccc8cadf
JM
11242013-03-30 Joseph Myers <joseph@codesourcery.com>
1125
1126 [BZ #10357]
1127 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1128 imaginary part less than 1.0 and real part less than 0.5
1129 specially.
1130 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1131 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1132 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1133 (cacos_test): Add more tests.
1134 (casin_test): Likewise.
1135 (casinh_test): Likewise.
1136 * sysdeps/i386/fpu/libm-test-ulps: Update.
1137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1138
0f6a8d4b
SP
11392013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1140
0d1029de
SP
1141 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1142 ONE with its value.
1143
c2d94018
SP
1144 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1145 (__pow_mp): Replace ONE and MONE with their values.
1146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1148 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1149 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1150 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1151 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1152
27ec37f1
SP
1153 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1154
a64d7e0e
SP
1155 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1156 (__pow_mp): Replace ZERO and MZERO with their values.
1157 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1158 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1159 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1161 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1162 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1163 (__sqr): Likewise.
1164
d26dd3eb
SP
1165 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1166
0f6a8d4b
SP
1167 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1168
e57b0c61
RM
11692013-03-28 Roland McGrath <roland@hack.frob.com>
1170
1171 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1172 Declare with __attribute__ ((weak)).
1173 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1174 Call __call_tls_dtors only if it's not NULL.
1175
356b3480
RM
11762013-03-28 Roland McGrath <roland@hack.frob.com>
1177
288f7d79
RM
1178 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1179 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1180 magic __ehdr_start linker symbol if it's defined.
1181 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1182 them up here if it was already done.
1183
dc0a0263
RM
1184 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1185 (_dl_aux_init): Use const in cast when setting it.
1186 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1187 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1188 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1189
3d3436ae
RM
1190 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1191 Declare them here.
1192 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1193 * csu/libc-tls.c: Nor here.
1194 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1195
356b3480
RM
1196 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1197 (__libc_message): Never call vsyslog.
1198
b0f1246a
AM
11992013-03-28 Alan Modra <amodra@gmail.com>
1200
1201 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1202 Define as empty.
1203 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1204 Likewise.
1205
fbbe2b9a
AZ
12062013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1207
1208 [BZ #15214]
1209 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1210 underflow.
1211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1212
1728ab37
SP
12132013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1214
7a86be6e
SP
1215 [BZ #15304]
1216 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1217 Don't add gid passed as argument.
1218
1728ab37
SP
1219 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1220
3a7182a1
JM
12212013-03-27 Joseph Myers <joseph@codesourcery.com>
1222
1223 [BZ #15307]
1224 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1225 imaginary part between 1.0 and 1.5 and real part less than 0.5
1226 specially.
1227 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1228 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1229 * math/libm-test.inc (cacos_test): Add more tests.
1230 (casin_test): Likewise.
1231 (casinh_test): Likewise.
1232 * sysdeps/i386/fpu/libm-test-ulps: Update.
1233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1234
6f2e90e7
SP
12352013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1236
5739f705
SP
1237 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1238 constants.
1239 (norm): Likewise.
1240 (denorm): Likewise.
1241 (__dbl_mp): Likewise.
1242 (add_magnitudes): Likewise.
1243 (sub_magnitudes): Likewise.
1244 (__add): Likewise.
1245 (__sub): Likewise.
1246 (__mul): Likewise.
1247 (__sqr): Likewise.
1248 (__inv): Likewise.
1249 (__dvd): Likewise.
1250
e375e83d
SP
1251 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1252 commented code.
1253 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1254 (__dubcos): Likewise.
1255 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1256 (__ieee754_acos): Likewise.
1257 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1258 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1259 (__exp1): Likewise.
1260 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1261 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1262 (log1): Likewise.
1263 (my_log2): Likewise.
1264 (checkint): Likewise.
1265 * sysdeps/ieee754/dbl-64/e_remainder.c
1266 (__ieee754_remainder): Likewise.
1267 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1269 (bsloww): Likewise.
1270 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1271
6f2e90e7
SP
1272 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1273 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1274 MANTISSA_STORE_T to store computations on mantissa. Use
1275 macros for rounding and division.
1276 (denorm): Likewise.
1277 (__dbl_mp): Likewise.
1278 (add_magnitudes): Likewise.
1279 (sub_magnitudes): Likewise.
1280 (__mul): Likewise.
1281 (__sqr): Likewise.
1282 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1283 powers of two in terms of TWOPOW macro.
1284 (mp_no): Make type of mantissa as MANTISSA_T.
1285 [!RADIXI]: Define RADIXI.
1286 [!TWO52]: Define TWO52.
1287 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1288
fce14d4e
AZ
12892013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1290
1291 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1292 llroundl symbol when building for PPC32.
1293
9ad027fb
MW
12942013-03-24 Mark H Weaver <mhw@netris.org>
1295
1296 * manual/arith.texi (Normalization Functions): Fix prototypes for
1297 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1298
e42a38dd
AZ
12992013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1300
1301 [BZ #13889]
1302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1303 high value to check if expl overflow.
1304 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1305 to check for underflow and overflow.
1306 * math/libm-test.inc: Add exp test.
1307
2e0fb521
DL
13082013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1309
1310 [BZ #11120]
1311 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1312 with NOT_IN_libc.
1313
b5784d95
AZ
13142013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315
1316 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1317 symbol.
1318
5aa4a1a1
TS
13192013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1320
bdef0be7
TS
1321 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1322 wrap blocks consisting of several statements.
1323
5aa4a1a1
TS
1324 * sysdeps/generic/math-tests.h: New file.
1325 * sysdeps/i386/fpu/math-tests.h: Likewise.
1326 * math/test-snan.c: Include it.
1327 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1328
98c48fe5
JM
13292013-03-21 Joseph Myers <joseph@codesourcery.com>
1330
1331 [BZ #15285]
1332 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1333 (__ieee754_j0l): Do not improve calculations using cos of twice
1334 input for inputs above LDBL_MAX / 2.0L.
1335 (__ieee754_y0l): Likewise.
1336 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1337 (__ieee754_j1l): Do not improve calculations using cos of twice
1338 input for inputs above LDBL_MAX / 2.0L.
1339 (__ieee754_y1l): Likewise.
1340 * math/libm-test.inc (j0_test): Add another test.
1341 (j1_test): Likewise.
1342 (y0_test): Likewise.
1343 (y1_test): Likewise.
1344 * sysdeps/i386/fpu/libm-test-ulps: Update.
1345
3775a8bc
SP
13462013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1347
1348 * Rules ($(objpfx)bench-%.c): Include code from a C source
1349 file.
1350
0a1b2ae6
JM
13512013-03-21 Joseph Myers <joseph@codesourcery.com>
1352
1353 [BZ #15287]
1354 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1355 imaginary part 1.0 and real part less than 0.5 specially.
1356 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1357 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1358 * math/libm-test.inc (cacos_test): Add more tests.
1359 (casin_test): Likewise.
1360 (casinh_test): Likewise.
1361 * sysdeps/i386/fpu/libm-test-ulps: Update.
1362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1363
b33d4ce4
SP
13642013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1365
1366 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1367 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1368
bef0b507
JM
13692013-03-20 Joseph Myers <joseph@codesourcery.com>
1370
1371 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1372 * config.make.in (config-cflags-sse4): Remove variable.
1373 (config-cflags-avx): Likewise.
1374 (config-cflags-sse2avx): Likewise.
1375 (config-cflags-novzeroupper): Likewise.
1376 (config-asflags-i686): Likewise.
1377 (have-mfma4): Likewise.
1378 (have-as-vis3): Likewise.
1379 (MIG): Likewise.
1380 * configure.in (MIG): Do not AC_SUBST.
1381 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1382 (libc_cv_cc_sse4): Do not AC_SUBST.
1383 (libc_cv_cc_avx): Likewise.
1384 (libc_cv_cc_sse2avx): Likewise.
1385 (libc_cv_cc_novzeroupper): Likewise.
1386 (libc_cv_cc_fma4): Likewise.
1387 (libc_cv_as_i686): Likewise.
1388 (libc_cv_sparc_as_vis3): Likewise.
1389 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1390 LIBC_CONFIG_VAR.
1391 (config-asflags-i686): Likewise.
1392 (config-cflags-avx): Likewise.
1393 (config-cflags-sse2avx): Likewise.
1394 (have-mfma4): Likewise.
1395 (config-cflags-novzeroupper): Likewise.
1396 * sysdeps/mach/configure.in (MIG): Likewise.
1397 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1398 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1399 LIBC_CONFIG_VAR.
1400 (config-cflags-avx): Likewise.
1401 (config-cflags-sse2avx): Likewise.
1402 (have-mfma4): Likewise.
1403 (config-cflags-novzeroupper): Likewise.
1404 * configure: Regenerated.
1405 * sysdeps/i386/configure: Likewise.
1406 * sysdeps/mach/configure: Likewise.
1407 * sysdeps/sparc/configure: Likewise.
1408 * sysdeps/x86_64/configure: Likewise.
1409
912cc4b3
RM
14102013-03-20 Roland McGrath <roland@hack.frob.com>
1411
1412 [BZ #14812]
1413 * locale/programs/localedef.c (options): Put N_ translation marker
1414 on argument names, not just descriptions.
1415
04eed2b0
MS
14162013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1417
1418 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1419
a065ceff
OB
14202013-03-20 Ondřej Bílka <neleai@seznam.cz>
1421
9bb2a810 1422 [BZ #14176]
a065ceff
OB
1423 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1424
a600e5ce
RM
14252013-03-19 Roland McGrath <roland@hack.frob.com>
1426
1427 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1428 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1429 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1430 [!BEFORE_ABORT] (before_abort): New function.
1431 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1432 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1433 (writev_for_fatal): New function.
1434 (WRITEV_FOR_FATAL): New macro; call that.
1435 (backtrace_and_maps): New function.
1436 (BEFORE_ABORT): New macro; call that.
1437 (struct str_list): Type removed.
1438 (__libc_message, __libc_fatal): Functions removed.
1439 Include <sysdeps/posix/libc_fatal.c> instead.
1440
6b18bea6
JM
14412013-03-19 Joseph Myers <joseph@codesourcery.com>
1442
1443 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1444 constants.
1445 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1446 double constants.
1447
aaa8cb4b
AS
14482013-03-19 Andreas Schwab <schwab@suse.de>
1449
44673770
AS
1450 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1451 * sysdeps/gnu/configure: Regenerate.
1452
aaa8cb4b
AS
1453 * configure.in: Substitute libc_cv_rtlddir.
1454 * configure: Regenerate.
1455 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1456 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1457 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1458 * elf/Makefile (install-others, CFLAGS-interp.c)
1459 (ldso_install, common-ldd-rewrite): Likewise.
1460 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1461 $(inst_slibdir)/$(rtld-installed-name).
1462 * scripts/rellns-sh: Add -p option.
1463 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1464 for source.
1465
d3cfc668
SP
14662013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1467
1468 * manual/nptl.texi: Renamed to ...
1469 * manual/threads.texi: ... this.
1470 * manual/Makefile (chapters): Update.
1471
0e2b9cdd
RM
14722013-03-18 Roland McGrath <roland@hack.frob.com>
1473
1474 [BZ #14812]
1475 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1476 on argument names, not just descriptions.
0e2b9cdd
RM
1477 * malloc/memusagestat.c (options): Likewise.
1478 * nss/getent.c (options): Likewise.
63270c24
RM
1479
14802013-03-18 Benno Schulenberg <bensberg@justemail.net>
1481
1482 [BZ #14812]
1483 * iconv/iconv_prog.c (options): Put N_ translation marker
1484 on argument names, not just descriptions.
1485 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1486
b2e1393c
OB
14872013-03-18 Ondrej Bilka <neleai@seznam.cz>
1488
1489 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1490 implementation which is faster on all x86_64 architectures.
1491 Tested on AMD, Intel Nehalem, SNB, IVB.
1492 * sysdeps/x86_64/strnlen.S: Likewise.
1493
1494 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1495 Remove all multiarch strlen and strnlen versions.
1496 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1497 Remove strlen and strnlen related parts.
1498
1499 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1500 Inline strlen part.
1501 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1502
1503 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1504 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1505 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1506 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1507 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1508 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1509
ec4ff04d
CD
15102013-03-17 Carlos O'Donell <carlos@redhat.com>
1511
1512 * manual/memory.texi (Malloc Tunable Parameters):
1513 Sort parameters alphabetically. Add comments for missing entries.
1514
cd18e90a
DM
15152013-03-17 David S. Miller <davem@davemloft.net>
1516
1517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1518
2a185d32
JM
15192013-03-16 Joseph Myers <joseph@codesourcery.com>
1520
d2f9799e
JM
1521 [BZ #15283]
1522 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1523 for arguments at most half maximum finite value.
1524 * math/libm-test.inc (j0_test): Add more tests.
1525 (j1_test): Likewise.
1526 (y0_test): Likewise.
1527 (y1_test): Likewise.
1528 * sysdeps/i386/fpu/libm-test-ulps: Update.
1529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1530
2a185d32
JM
1531 [BZ #14155]
1532 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1533 1 / x and functions P and Q for arguments above 0x1p256L.
1534 (__ieee754_y0l): Likewise.
1535 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1536 (__ieee754_y1l): Likewise.
1537 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1538 (j1_test): Likewise.
1539 (y0_test): Likewise.
1540 (y1_test): Likewise.
1541
6cbec759
TS
15422013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1543
1544 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1545 variable.
1546
bc16e260
RM
15472013-03-15 Roland McGrath <roland@hack.frob.com>
1548
aefc9b8c
RM
1549 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1550 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1551 zero since it's initialized to EXEC_PAGESIZE.
1552
bc16e260
RM
1553 * sysdeps/unix/sysv/linux/ldsodefs.h
1554 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1555 * sysdeps/generic/ldsodefs.h: ... here.
1556
a57da955
TS
15572013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1558
af00a34d
TS
1559 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1560
495ded2c
TS
1561 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1562 math/test-snan.c.
1563 * math/test-snan.c: Renamed from
1564 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1565 * math/Makefile (tests): Add test-snan.
1566 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1567 test-powerpc-snan.
1568
777b0332
TS
1569 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1570 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1571 functions.
1572 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1573 __builtin_nan family of functions.
1574 * math/libm-test.inc (initialize): Initialize qnan_value with
1575 __builtin_nan family of functions.
1576 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1577 Remove variables.
1578 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1579 Remove functions.
1580 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1581 storage class. Initialize qNaN_var and sNaN_var with
1582 __builtin_nan and __builtin_nans families of functions,
1583 respectively.
1584
64d063b8
TS
1585 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1586 (sqrt_test): Remove duplicate test with qNaN input.
1587 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1588 (round_test, signbit_test, significand_test): Note missing +/-Inf
1589 as well as qNaN tests.
1590
67e971f1
TS
1591 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1592 qNaN_var. Fix a few strings, too.
1593 * math/libm-test.inc (nan_value): Rename to qnan_value.
1594 * math/gen-libm-test.pl (%beautify): Adjust to that.
1595 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1596 * math/test-misc.c (main): Likewise.
1597 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1598 to __qnan_bytes, and __qnan_union, respectively.
1599 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1600 Likewise.
1601 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1602 and lqnanval, respectively.
1603 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1604 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1605 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1606 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1607
64487e12
TS
1608 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1609 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1610 doubles.
1611
e015e27b
TS
1612 * math/test-misc.c (main): Fix copy'n'pastos.
1613 * misc/tst-efgcvt.c (special): Likewise.
1614
a57da955
TS
1615 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1616 Remove declarations.
1617
1e380345
SP
16182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1619
1620 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1621 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1622 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1623 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1624
ef26eece
AZ
16252013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626
1627 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1628 macro to return vdso values correctly in IFUNC implementations.
1629 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1630 Optimization by using IFUNC.
1631
8cfdb7e0
SP
16322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1633 Richard Henderson <rth@redhat.com>
1634 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1635
1636 * Makefile.in (bench): New target.
1637 * NEWS: Mention the benchmark framework.
1638 * Rules (bench): Likewise.
1639 (binaries-bench): Generate binaries for functions to
1640 benchmark.
1641 * benchtests/Makefile: New makefile for benchmark tests.
1642 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1643 programs.
1644 * benchtests/exp-inputs: New input file for EXP function.
1645 * benchtests/pow-inputs: New input file for POW function.
1646 * scripts/bench.pl: New script to generate source files for
1647 benchmark programs.
1648
bcda9880
SP
16492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1650
d22ca8cd
SP
1651 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1652 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1653 computations on mantissa. Use macros for rounding and
1654 division.
1655 (denorm): Likewise.
1656 (__dbl_mp): Likewise.
1657 (add_magnitudes): Likewise.
1658 (sub_magnitudes): Likewise.
1659 (__mul): Likewise.
1660 (__sqr): Likewise.
1661 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1662 powers of two in terms of TWOPOW macro.
1663 (mp_no): Make type of mantissa as MANTISSA_T.
1664 [!RADIXI]: Define RADIXI.
1665 [!TWO52]: Define TWO52.
1666 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1667
bcda9880
SP
1668 * manual/nptl.texi (cindex): Modify threads to pthreads.
1669
06d5adfb
JM
16702013-03-15 Joseph Myers <joseph@codesourcery.com>
1671
1672 * sysdeps/x86_64/preconfigure: Regenerated.
1673
41c7328e
JM
16742013-03-14 Joseph Myers <joseph@codesourcery.com>
1675
1676 [BZ #14155]
1677 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1678 0x1p28 and above.
1679 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1680 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1681 0x1p28 and above.
1682 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1683 * math/libm-test.inc (j0_test): Do not allow one spurious
1684 underflow exception.
1685 (y1_test): Likewise.
1686
e25cfa60
SP
16872013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1688
0409959c
SP
1689 * manual/Makefile (chapters): Add nptl.
1690 * manual/debug.texi (Debugging Support): Add link to Threads
1691 chapter.
1692 * manual/nptl.texi: New file.
1693
e25cfa60
SP
1694 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1695
58a1335e
PB
16962013-03-14 Petr Baudis <pasky@ucw.cz>
1697
1698 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1699 for non-NULL pointer before the memory validity test. Pointed
1700 out by Holger Brunck <holger.brunck@keymile.com>.
1701
9dc7c64f
AS
17022013-03-13 Andreas Schwab <schwab@suse.de>
1703
1704 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1705 instead of .os.
1706
54206aa6
JM
17072013-03-13 Joseph Myers <joseph@codesourcery.com>
1708
1709 * timezone/zic.c: Update from tzcode 2013b.
1710
e98cdb38
CD
17112013-03-12 Carlos O'Donell <carlos@redhat.com>
1712
1713 * manual/install.texi (Configuring and compiling):
1714 Mention i686 and i586.
1715 * INSTALL: Regenerate.
1716
9967e003
RM
17172013-03-12 Roland McGrath <roland@hack.frob.com>
1718
1719 * sysdeps/init_array/elf-init.c: New file.
1720 * csu/elf-init.c
1721 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1722 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1723
1724 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1725 __gmon_start__ as global, but as static with a .preinit_array pointer.
1726 * sysdeps/init_array/gmon-start.c: New file. Use that.
1727 * sysdeps/init_array/crti.S: New file, empty except for comments.
1728 * sysdeps/init_array/crtn.S: Likewise.
1729
e6b5a293 17302013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1731
1732 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1733 definining bcopy.
80f844c9
OB
1734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1735 Remove Prefer_SSE_for_memop.
1736 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1737 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1738 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1740 memset-x86-64.
80f844c9 1741 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1742 Remove bzero, memset ifunc support.
80f844c9
OB
1743 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1744 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1745 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1746 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1747
fb6b0fcb
AS
17482013-03-11 Andreas Schwab <schwab@suse.de>
1749
1750 [BZ #15234]
1751 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1752 by SHLIB_COMPAT.
1753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1754 (GLIBC_2.16): Remove pthread_atfork.
1755
3e6bd4b1
PP
17562013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1757
1758 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1759 (ptestcases.h): Likewise.
1760
222d7f00
RM
17612013-03-08 Roland McGrath <roland@hack.frob.com>
1762
1763 * Makeconfig ($(common-objpfx)config.status): Depend on
1764 sysdeps/*/preconfigure{,.in} too.
1765
1ba4f030
JM
17662013-03-08 Joseph Myers <joseph@codesourcery.com>
1767
a222d91a
JM
1768 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1769 (__free_hook): Use void * instead of __malloc_ptr_t.
1770 (__malloc_hook): Likewise.
1771 (__realloc_hook): Likewise.
1772 (__memalign_hook): Likewise.
1773 (__after_morecore_hook): Likewise.
1774 * malloc/arena.c (save_malloc_hook): Likewise.
1775 (save_free_hook): Likewise.
1776 * malloc/hooks.c (malloc_hook_ini): Likewise.
1777 (realloc_hook_ini): Likewise.
1778 (memalign_hook_ini): Likewise.
1779 * malloc/malloc.c (malloc_hook_ini): Likewise.
1780 (realloc_hook_ini): Likewise.
1781 (memalign_hook_ini): Likewise.
1782 (__free_hook): Likewise.
1783 (__malloc_hook): Likewise.
1784 (__realloc_hook): Likewise.
1785 (__memalign_hook): Likewise.
1786 (__libc_malloc): Likewise.
1787 (__libc_free): Likewise.
1788 (__libc_realloc): Likewise.
1789 (__libc_memalign): Likewise.
1790 (__libc_valloc): Likewise.
1791 (__libc_pvalloc): Likewise.
1792 (__libc_calloc): Likewise.
1793 (__posix_memalign): Likewise.
1794 * malloc/morecore.c (__sbrk): Likewise.
1795 (__default_morecore): Likewise.
1796
5cc45e10
JM
1797 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1798
dd54b864
JM
1799 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1800 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1801 __malloc_ptrdiff_t.
1802
1ba4f030
JM
1803 * malloc/malloc.h (__malloc_size_t): Remove macro.
1804 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1805 __malloc_size_t.
1806 (old_memalign_hook): Likewise.
1807 (old_realloc_hook): Likewise.
1808 (struct hdr): Likewise.
1809 (flood): Likewise.
1810 (mallochook): Likewise.
1811 (memalignhook): Likewise.
1812 (reallochook): Likewise.
1813 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1814 (tr_old_realloc_hook): Likewise.
1815 (tr_old_memalign_hook): Likewise.
1816 (tr_mallochook): Likewise.
1817 (tr_reallochook): Likewise.
1818 (tr_memalignhook): Likewise.
1819
edf66e57
AZ
18202013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1821
1822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1823 default_ldbl_pack and using as default implementation.
1824 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1825 implementation.
1826 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1827 redundant definition.
1828 (ldbl_insert_mantissa): Likewise.
1829 (ldbl_canonicalize): Likewise.
1830 (ldbl_nearbyint): Likewise.
1831 (ldbl_pack): Rename to ldbl_pack_ppc.
1832 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1833 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1834 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1835
6d9145d8
SP
18362013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1837
1838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1839 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1840 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1841 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1843 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1844 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1845 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1846
4dd4e157
AJ
18472013-03-07 Andreas Jaeger <aj@suse.de>
1848
1849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1850 bits/mman-linux.h.
1851
adbb8027
SP
18522013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1853
ce544b5b
SP
1854 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1855 Include mpa.h and declare __MPEXP.
1856 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1857 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1858 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1859 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1860 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1861 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1862 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1863
4cc149fd
SP
1864 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1865 (__slowpow): Use long double EXPL and LOGL functions to
1866 compute POW.
1867 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1868 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1869 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1870 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1871 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1873
e6ebd4a7
SP
1874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1875 intermediate variable to calculate exponent.
1876 (__sqr): Likewise.
1877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1878 Likewise.
1879 (__sqr): Likewise.
1880
82a9811d
SP
1881 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1882 [!NO__SQR]: Define __sqr.
1883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1884 and NO__SQR. Remove all code except __mul and __sqr. Include
1885 sysdeps/ieee754/dbl-64/mpa.c.
1886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1887
adbb8027
SP
1888 [BZ #12723]
1889 * posix/Makefile (tests): Add tst-pathconf.
1890 * posix/tst-pathconf.c: New test case.
1891 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1892 _PC_PIPE_BUF.
1893 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1894
39120df9
PF
18952013-03-06 Patsy Franklin <pfrankli@redhat.com>
1896
1897 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1898
67525cb8
AJ
18992013-03-06 Andreas Jaeger <aj@suse.de>
1900
664a9ce4
AJ
1901 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1902 definition via __MAP_ANONYMOUS.
1903
8e39047d
AJ
1904 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1905 it's not part of Linux headers.
1906
67525cb8
AJ
1907 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1908 (MAP_HUGE_MASK): Define.
1909
1910 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1911 Define.
1912 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1913 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1914 Define.
1915 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1916 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1917 Define.
1918 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1919 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1920 Define.
1921 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1922
1923 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1924 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1925 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1926 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1927 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1928 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1929
1930 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1931 Handle f2fs.
1932
1933 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1934 Handle f2fs and efivarfs.
1935
1936 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1937 f2fs.
1938
1939 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1940 (EFIVARFS_MAGIC): Add.
1941 (F2FS_LINK_MAX): Add.
1942
e1b42695
PP
19432013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1944
1945 * stdio-common/vfprintf.c: Replace __builtin_expect with
1946 __glibc_unlikely.
1947
2d67d91a
JM
19482013-03-06 Joseph Myers <joseph@codesourcery.com>
1949
1950 [BZ #13550]
1951 * sysdeps/generic/bp-sym.h: Remove file.
1952 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1953 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1954 <bp-sym.h> and <bp-asm.h>.
1955 (__longjmp): Don't use BP_SYM.
1956 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1957 and <bp-asm.h>.
1958 (memcpy): Don't use BP_SYM.
1959 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1960 <bp-sym.h> and <bp-asm.h>.
1961 (memcpy): Don't use BP_SYM.
1962 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1963 <bp-asm.h>.
1964 (memcpy): Don't use BP_SYM.
1965 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1966 <bp-asm.h>.
1967 (memset): Don't use BP_SYM.
1968 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1969 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1970 (__bzero): Don't use BP_SYM.
1971 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1972 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1973 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1974 <bp-sym.h> and <bp-asm.h>.
1975 (memcmp): Don't use BP_SYM. Remove comment about bounded
1976 pointers.
1977 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1978 <bp-sym.h> and <bp-asm.h>.
1979 (memcpy): Don't use BP_SYM.
1980 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1981 <bp-sym.h> and <bp-asm.h>.
1982 (memset): Don't use BP_SYM.
1983 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1984 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1985 (__bzero): Don't use BP_SYM.
1986 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1987 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1988 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1989 <bp-sym.h> and <bp-asm.h>.
1990 (strncmp): Don't use BP_SYM. Remove comment about bounded
1991 pointers.
1992 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1993 <bp-sym.h> and <bp-asm.h>.
1994 (memcpy): Don't use BP_SYM.
1995 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1996 <bp-sym.h> and <bp-asm.h>.
1997 (memset): Don't use BP_SYM.
1998 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1999 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2000 (__bzero): Don't use BP_SYM.
2001 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2002 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2003 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2004 <bp-sym.h> and <bp-asm.h>.
2005 (__memchr): Don't use BP_SYM.
2006 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2007 <bp-sym.h> and <bp-asm.h>.
2008 (memcmp): Don't use BP_SYM. Remove comment about bounded
2009 pointers.
2010 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2011 <bp-sym.h> and <bp-asm.h>.
2012 (memcpy): Don't use BP_SYM.
2013 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2014 <bp-sym.h> and <bp-asm.h>.
2015 (__mempcpy): Don't use BP_SYM.
2016 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2017 <bp-sym.h> and <bp-asm.h>.
2018 (__memrchr): Don't use BP_SYM.
2019 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2020 <bp-sym.h> and <bp-asm.h>.
2021 (memset): Don't use BP_SYM.
2022 (__bzero): Likewise.
2023 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2024 <bp-sym.h> and <bp-asm.h>.
2025 (__rawmemchr): Don't use BP_SYM.
2026 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2027 <bp-sym.h> and <bp-asm.h>.
2028 (__STRCMP): Don't use BP_SYM.
2029 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2030 <bp-sym.h> and <bp-asm.h>.
2031 (strchr): Don't use BP_SYM.
2032 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2033 <bp-sym.h> and <bp-asm.h>.
2034 (__strchrnul): Don't use BP_SYM.
2035 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2036 <bp-sym.h> and <bp-asm.h>.
2037 (strlen): Don't use BP_SYM.
2038 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2039 <bp-sym.h> and <bp-asm.h>.
2040 (strncmp): Don't use BP_SYM. Remove comment about bounded
2041 pointers.
2042 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2043 <bp-sym.h> and <bp-asm.h>.
2044 (__strnlen): Don't use BP_SYM.
2045 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2046 <bp-sym.h> and <bp-asm.h>.
2047 (__GI__setjmp): Don't use BP_SYM.
2048 (_setjmp): Likewise.
2049 (__sigsetjmp): Likewise.
2050 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2051 (L(start_addresses)): Don't use BP_SYM.
2052 (_start): Likewise.
2053 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2054 <bp-asm.h>.
2055 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2056 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2057 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2058 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2059 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2060 <bp-asm.h>.
2061 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2062 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2063 about bounded pointers.
2064 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2065 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2066 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2067 <bp-asm.h>.
2068 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2069 about bounded pointers. Remove GKM FIXME comments.
2070 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2071 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2072 <bp-asm.h>.
2073 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2074 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2075 Remove GKM FIXME comments.
2076 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2077 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2078 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2079 <bp-asm.h>.
2080 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2081 about bounded pointers. Remove GKM FIXME comment.
2082 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2083 and <bp-asm.h>.
2084 (strncmp): Don't use BP_SYM. Remove comment about bounded
2085 pointers.
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2087 <bp-sym.h> and <bp-asm.h>.
2088 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2090 <bp-sym.h> and <bp-asm.h>.
2091 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2092 comment.
2093
cdcf361f
PP
20942013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2095
2096 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2097 call free(NULL).
2098
3c4a2b15
DM
20992013-03-05 David S. Miller <davem@davemloft.net>
2100
2101 * po/es.po: Update from translation team.
2102
cdcf361f 21032013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2104
2105 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2106 <bits/mman-linux.h>.
2107 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2108 is fine.
2109 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2110 <bits/mman-linux.h> to end of file.
2111 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2112 is fine.
2113 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2114 <bits/mman-linux.h> to end of file.
2115 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2116 is fine.
2117 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2118 <bits/mman-linux.h> to end of file.
2119
2120 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2121 (MCL_CURRENT, MCL_FUTURE): Define here.
2122
5f67c04f
AK
21232013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2124
8a4473cc 2125 [BZ #15232]
5f67c04f
AK
2126 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2127 attribute_hidden.
2128 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2129
c3e94a95
AK
21302013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2131
2132 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2133 fourth parameter needed for rt_sigprocmask syscall.
2134 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2135 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2136 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2137 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2138 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2139 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2140
cfb6382a
JM
21412013-03-04 Joseph Myers <joseph@codesourcery.com>
2142
2143 [BZ #13550]
2144 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2145 comment about bounded pointers.
2146 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2147 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2148
539d8e01
AJ
21492013-03-04 Andreas Jaeger <aj@suse.de>
2150
2151 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2152 common definitions.
2153
2154 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2155 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2156 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2157 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2158 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2160
2e167a70 21612013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2162
2163 [BZ #15055]
2164 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2165 __ieee754_sqrl instead of __sqrl.
2166
68508633
JM
21672013-03-01 Joseph Myers <joseph@codesourcery.com>
2168
2169 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2170 * sysdeps/powerpc/fpu_control.h: ... here.
2171 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2172 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2173 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2174 * sysdeps/powerpc/bits/mathinline.h: ... here.
2175
7775448e
RM
21762013-03-01 Roland McGrath <roland@hack.frob.com>
2177
2178 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2179 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2180 to just [NEED_DL_SYSINFO_DSO].
2181 * elf/dl-support.c: Likewise.
2182 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2183 * elf/rtld.c (dl_main): Likewise.
2184 * elf/setup-vdso.h (setup_vdso): Likewise.
2185 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2186 * sysdeps/unix/sysv/linux/dl-sysdep.c
2187 (_dl_discover_osversion): Likewise.
2188
4e9b5995
CD
21892013-03-01 Carlos O'Donell <carlos@redhat.com>
2190
2191 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2192 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2193
e23872c8
SP
21942013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2195
e5c74c63
SP
2196 * NEWS: Mention libm performance improvements and non-x86 PI
2197 futex support.
2198
e23872c8
SP
2199 * csu/libc-start.c (__pthread_initialize_minimal): Change
2200 function arguments.
2201 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2202
b5510883
JM
22032013-02-28 Joseph Myers <joseph@codesourcery.com>
2204
2205 [BZ #13550]
2206 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2207 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2208 <bp-sym.h> and <bp-asm.h>.
2209 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2210 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2211 and <bp-asm.h>.
2212 (memcpy): Don't use BP_SYM.
2213 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2214 <bp-asm.h>.
2215 (__mpn_add_n): Don't use BP_SYM.
2216 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2217 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2218 and <bp-asm.h>.
2219 (__mpn_addmul_1): Don't use BP_SYM.
2220 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2221 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2222 <bp-sym.h>.
2223 (_setjmp): Don't use BP_SYM.
2224 (__novmx_setjmp): Likewise.
2225 (__GI__setjmp): Likewise.
2226 (__vmx_setjmp): Likewise.
2227 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2228 <bp-sym.h>.
2229 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2230 (__bzero): Don't use BP_SYM.
2231 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2232 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2233 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2234 <bp-sym.h> and <bp-asm.h>.
2235 (memcpy): Don't use BP_SYM.
2236 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2237 <bp-sym.h> and <bp-asm.h>.
2238 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2239 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2240 <bp-sym.h> and <bp-asm.h>.
2241 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2242 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2243 <bp-asm.h>.
2244 (__mpn_lshift): Don't use BP_SYM.
2245 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2246 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2247 <bp-asm.h>.
2248 (memset): Don't use BP_SYM.
2249 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2250 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2251 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2252 <bp-asm.h>.
2253 (__mpn_mul_1): Don't use BP_SYM.
2254 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2255 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2256 <bp-sym.h> and <bp-asm.h>.
2257 (memcmp): Don't use BP_SYM.
2258 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2259 <bp-sym.h> and <bp-asm.h>.
2260 (memcpy): Don't use BP_SYM.
2261 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2262 <bp-sym.h> and <bp-asm.h>.
2263 (memset): Don't use BP_SYM.
2264 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2265 <bp-sym.h> and <bp-asm.h>.
2266 (strncmp): Don't use BP_SYM.
2267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2268 <bp-sym.h> and <bp-asm.h>.
2269 (memcpy): Don't use BP_SYM.
2270 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2271 <bp-sym.h> and <bp-asm.h>.
2272 (memset): Don't use BP_SYM.
2273 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2274 <bp-sym.h> and <bp-asm.h>.
2275 (__memchr): Don't use BP_SYM.
2276 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2277 <bp-sym.h> and <bp-asm.h>.
2278 (memcmp): Don't use BP_SYM.
2279 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2280 <bp-sym.h> and <bp-asm.h>.
2281 (memcpy): Don't use BP_SYM.
2282 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2283 <bp-sym.h> and <bp-asm.h>.
2284 (__mempcpy): Don't use BP_SYM.
2285 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2286 <bp-sym.h> and <bp-asm.h>.
2287 (__memrchr): Don't use BP_SYM.
2288 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2289 <bp-sym.h> and <bp-asm.h>.
2290 (memset): Don't use BP_SYM.
2291 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2292 <bp-sym.h> and <bp-asm.h>.
2293 (__rawmemchr): Don't use BP_SYM.
2294 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2295 <bp-sym.h> and <bp-asm.h>.
2296 (__STRCMP): Don't use BP_SYM.
2297 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2298 <bp-sym.h> and <bp-asm.h>.
2299 (strchr): Don't use BP_SYM.
2300 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2301 <bp-sym.h> and <bp-asm.h>.
2302 (__strchrnul): Don't use BP_SYM.
2303 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2304 <bp-sym.h> and <bp-asm.h>.
2305 (strlen): Don't use BP_SYM.
2306 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2307 <bp-sym.h> and <bp-asm.h>.
2308 (strncmp): Don't use BP_SYM.
2309 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2310 <bp-sym.h> and <bp-asm.h>.
2311 (__strnlen): Don't use BP_SYM.
2312 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2313 <bp-asm.h>.
2314 (__mpn_rshift): Don't use BP_SYM.
2315 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2316 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2317 <bp-sym.h> and <bp-asm.h>.
2318 (__sigsetjmp): Don't use BP_SYM.
2319 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2320 (L(start_addresses)): Don't use BP_SYM.
2321 (_start): Likewise.
2322 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2323 <bp-asm.h>.
2324 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2325 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2326 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2327 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2328 <bp-asm.h>.
2329 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2330 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2331 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2332 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2333 <bp-asm.h>.
2334 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2335 comments.
2336 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2337 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2338 <bp-asm.h>.
2339 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2340 FIXME comments.
2341 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2342 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2343 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2344 <bp-asm.h>.
2345 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2346 comment.
2347 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2348 and <bp-asm.h>.
2349 (strncmp): Don't use BP_SYM,
2350 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2351 <bp-asm.h>.
2352 (__mpn_sub_n): Don't use BP_SYM.
2353 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2354 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2355 and <bp-asm.h>.
2356 (__mpn_submul_1): Don't use BP_SYM.
2357 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2359 <bp-sym.h> and <bp-asm.h>.
2360 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2362 <bp-sym.h> and <bp-asm.h>.
2363 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2364 comment.
2365
8d19fe64
SP
23662013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2367
2368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2369 Use ZK to minimize writes to Z.
2370 (sub_magnitudes): Simplify code a bit.
2371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2372 Use ZK to minimize writes to Z.
2373 (sub_magnitudes): Simplify code a bit.
2374
85bd816a
RM
23752013-02-27 Roland McGrath <roland@hack.frob.com>
2376
2377 * csu/gmon-start.c: Add special exception to license text.
2378
b5977bf2
RH
23792013-02-27 Richard Henderson <rth@redhat.com>
2380
2381 * scripts/config.guess: Update from config.git.
2382 * scripts/config.sub: Likewise.
2383
11d6e2f2
SP
23842013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2385
09c14ed2
SP
2386 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2387
a688864e
SP
2388 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2389
6295157a
SP
2390 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2391
b8de2202
SP
2392 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2393
11d6e2f2
SP
2394 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2395
7e80ddb8
RM
23962013-02-26 Roland McGrath <roland@hack.frob.com>
2397
2398 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2399 [$(build-shared = yes].
7e80ddb8 2400
7da6d9ed
SP
24012013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2402
45f05884
SP
2403 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2404 (__mul): Reduce iterations for calculating mantissa.
2405
2236d359
SP
2406 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2407 MPTWO.
2408 (__mpranred): Likewise.
2409
7da6d9ed
SP
2410 [BZ #15160]
2411 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2412 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2413
b7688c42
PE
24142013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2415
2416 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2417 Define __attribute__.
2418
53a5c423
SP
24192013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2420
2421 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2422 unused.
2423 * posix/regex_internal.h (__attribute): Remove.
2424 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2425 (re_string_context_at): Likewise.
2426 (bitset_not): Use __attribute__ and mark function as possibly
2427 unused.
2428 (bitset_merge): Likewise.
2429 (bitset_mask): Likewise.
2430 (re_string_char_size_at): Likewise.
2431 (re_string_wchar_at): Likewise.
2432 (re_string_elem_size_at): Likewise.
2433
60f5a8b5
SP
24342013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2435
2a983a2e
SP
2436 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2437 code.
2438 (cc32): Likewise.
2439
e69804d1
SP
2440 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2441 (__acr): Likewise.
2442 (__cpy): Likewise.
2443 (norm): Likewise.
2444 (denorm): Likewise.
2445 (__dbl_mp): Likewise.
2446 (add_magnitudes): Likewise.
2447 (sub_magnitudes): Likewise.
2448 (__mul): Likewise.
2449 (__inv): Likewise.
2450
2f22a1e8
SP
2451 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2452 style.
2453
8930ddc7
SP
2454 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2455 style.
2456
dc60cb11
SP
2457 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2458 code.
2459
60f5a8b5
SP
2460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2461 up changes with default code.
2462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2463 Likewise.
2464
b4d1fd33
AM
24652013-02-24 Allan McRae <allan@archlinux.org>
2466
faf6f8bc
AM
2467 * manual/socket.texi (The Internet Namespace): Order menu items
2468 to match that in the file.
2469
b4d1fd33
AM
2470 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2471 node listing of the info page menu.
2472
2366713d
JM
24732013-02-21 Joseph Myers <joseph@codesourcery.com>
2474
2475 [BZ #13550]
2476 * sysdeps/i386/bp-asm.h: Remove file.
2477 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2478 (PARMS): Do not use macros from bp-asm.h.
2479 (S1): Likewise.
2480 (S2): Likewise.
2481 (SIZE): Likewise.
2482 (__mpn_add_n): Do not use BP_SYM
2483 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2484 "bp-asm.h".
2485 (PARMS): Do not use macros from bp-asm.h.
2486 (S1): Likewise.
2487 (SIZE): Likewise.
2488 (__mpn_addmul_1): Do not use BP_SYM
2489 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2490 "bp-asm.h".
2491 (PARMS): Do not use macros from bp-asm.h.
2492 (SIGMSK): Likewise.
2493 (_setjmp): Likewise. Do not use BP_SYM.
2494 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2495 "bp-asm.h".
2496 (PARMS): Do not use macros from bp-asm.h.
2497 (SIGMSK): Likewise.
2498 (setjmp): Likewise. Do not use BP_SYM.
2499 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2500 "bp-asm.h".
2501 (PARMS): Do not use macros from bp-asm.h.
2502 (__frexp): Do not use BP_SYM.
2503 (frexp): Likewise.
2504 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2505 "bp-asm.h".
2506 (PARMS): Do not use macros from bp-asm.h.
2507 (__frexpf): Do not use BP_SYM.
2508 (frexpf): Likewise.
2509 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2510 "bp-asm.h".
2511 (PARMS): Do not use macros from bp-asm.h.
2512 (__frexpl): Do not use BP_SYM.
2513 (frexpl): Likewise.
2514 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2515 "bp-asm.h".
2516 (PARMS): Do not use macros from bp-asm.h.
2517 (__remquo): Do not use BP_SYM.
2518 (remquo): Likewise.
2519 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2520 "bp-asm.h".
2521 (PARMS): Do not use macros from bp-asm.h.
2522 (__remquof): Do not use BP_SYM.
2523 (remquof): Likewise.
2524 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2525 "bp-asm.h".
2526 (PARMS): Do not use macros from bp-asm.h.
2527 (__remquol): Do not use BP_SYM.
2528 (remquol): Likewise.
2529 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2530 "bp-asm.h".
2531 (PARMS): Do not use macros from bp-asm.h.
2532 (DEST): Likewise.
2533 (SRC): Likewise.
2534 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2535 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2536 "bp-asm.h".
2537 (PARMS): Do not use macros from bp-asm.h.
2538 (strlen): Do not use BP_SYM.
2539 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2540 "bp-asm.h".
2541 (PARMS): Do not use macros from bp-asm.h.
2542 (S1): Likewise.
2543 (S2): Likewise.
2544 (SIZE): Likewise.
2545 (__mpn_add_n): Do not use BP_SYM.
2546 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2547 "bp-asm.h".
2548 (PARMS): Do not use macros from bp-asm.h.
2549 (S1): Likewise.
2550 (SIZE): Likewise.
2551 (__mpn_addmul_1): Do not use BP_SYM.
2552 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2553 weak_alias.
2554 (bzero): Likewise.
2555 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2556 "bp-asm.h".
2557 (PARMS): Do not use macros from bp-asm.h.
2558 (S): Likewise.
2559 (SIZE): Likewise.
2560 (__mpn_lshift): Do not use BP_SYM.
2561 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2562 "bp-asm.h".
2563 (PARMS): Do not use macros from bp-asm.h.
2564 (DEST): Likewise.
2565 (SRC): Likewise.
2566 (LEN): Likewise.
2567 (memcpy): Likewise. Do not use BP_SYM.
2568 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2569 libc_hidden_def and weak_alias.
2570 (mempcpy): Do not use BP_SYM in weak_alias.
2571 * sysdeps/i386/i586/memset.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 (LEN): Likewise.
2576 [!BZERO_P] (CHR): Likewise.
2577 (memset): Likewise. Do not use BP_SYM.
2578 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2579 "bp-asm.h".
2580 (PARMS): Do not use macros from bp-asm.h.
2581 (S1): Likewise.
2582 (SIZE): Likewise.
2583 (__mpn_mul_1): Do not use BP_SYM.
2584 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2585 "bp-asm.h".
2586 (PARMS): Do not use macros from bp-asm.h.
2587 (S): Likewise.
2588 (SIZE): Likewise.
2589 (__mpn_rshift): Do not use BP_SYM.
2590 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2591 "bp-asm.h".
2592 (PARMS): Do not use macros from bp-asm.h.
2593 (STR): Likewise.
2594 (CHR): Likewise.
2595 (strchr): Likewise. Do not use BP_SYM.
2596 (index): Do not use BP_SYM in weak_alias.
2597 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2598 "bp-asm.h".
2599 (PARMS): Do not use macros from bp-asm.h.
2600 (DEST): Likewise.
2601 (SRC): Likewise.
2602 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2603 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2604 "bp-asm.h".
2605 (PARMS): Do not use macros from bp-asm.h.
2606 (strlen): Do not use BP_SYM.
2607 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2608 "bp-asm.h".
2609 (PARMS): Do not use macros from bp-asm.h.
2610 (S1): Likewise.
2611 (S2): Likewise.
2612 (SIZE): Likewise.
2613 (__mpn_sub_n): Do not use BP_SYM.
2614 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2615 "bp-asm.h".
2616 (PARMS): Do not use macros from bp-asm.h.
2617 (S1): Likewise.
2618 (SIZE): Likewise.
2619 (__mpn_submul_1): Do not use BP_SYM.
2620 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2621 "bp-asm.h".
2622 (PARMS): Do not use macros from bp-asm.h.
2623 (S1): Likewise.
2624 (S2): Likewise.
2625 (SIZE): Likewise.
2626 (__mpn_add_n): Do not use BP_SYM.
2627 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2628 weak_alias.
2629 (bzero): Likewise.
2630 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2631 "bp-asm.h".
2632 (PARMS): Do not use macros from bp-asm.h.
2633 (BLK2): Likewise.
2634 (LEN): Likewise.
2635 (memcmp): Do not use BP_SYM.
2636 (bcmp): Do not use BP_SYM in weak_alias.
2637 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2638 "bp-asm.h".
2639 (PARMS): Do not use macros from bp-asm.h.
2640 (DEST): Likewise.
2641 (SRC): Likewise.
2642 (LEN): Likewise.
2643 (memcpy): Likewise. Do not use BP_SYM.
2644 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2645 "bp-asm.h".
2646 (PARMS): Do not use macros from bp-asm.h.
2647 (DEST): Likewise.
2648 (SRC): Likewise.
2649 (LEN): Likewise.
2650 (memmove): Likewise. Do not use BP_SYM.
2651 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2652 "bp-asm.h".
2653 (PARMS): Do not use macros from bp-asm.h.
2654 (DEST): Likewise.
2655 (SRC): Likewise.
2656 (LEN): Likewise.
2657 (__mempcpy): Likewise. Do not use BP_SYM.
2658 (mempcpy): Do not use BP_SYM in weak_alias.
2659 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2660 "bp-asm.h".
2661 (PARMS): Do not use macros from bp-asm.h.
2662 (DEST): Likewise.
2663 (LEN): Likewise.
2664 [!BZERO_P] (CHR): Likewise.
2665 (memset): Likewise. Do not use BP_SYM.
2666 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2667 "bp-asm.h".
2668 (PARMS): Do not use macros from bp-asm.h.
2669 (STR2): Likewise.
2670 (strcmp): Do not use BP_SYM.
2671 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2672 "bp-asm.h".
2673 (PARMS): Do not use macros from bp-asm.h.
2674 (STR): Likewise.
2675 (DELIM): Likewise.
2676 [USE_AS_STRTOK_R] (SAVE): Likewise.
2677 (FUNCTION): Likewise. Do not use BP_SYM.
2678 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2679 aliases.
2680 (strtok_r): Likewise.
2681 (__GI___strtok_r): Likewise.
2682 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2683 (PARMS): Do not use macros from bp-asm.h.
2684 (S): Likewise.
2685 (SIZE): Likewise.
2686 (__mpn_lshift): Do not use BP_SYM.
2687 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2688 (PARMS): Do not use macros from bp-asm.h.
2689 (STR): Likewise.
2690 (CHR): Likewise.
2691 (__memchr): Do not use BP_SYM.
2692 (memchr): Do not use BP_SYM in weak_alias.
2693 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2694 (PARMS): Do not use macros from bp-asm.h.
2695 (BLK2): Likewise.
2696 (LEN): Likewise.
2697 (memcmp): Do not use BP_SYM.
2698 (bcmp): Do not use BP_SYM in weak_alias.
2699 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2700 (PARMS): Do not use macros from bp-asm.h.
2701 (S1): Likewise.
2702 (SIZE): Likewise.
2703 (__mpn_mul_1): Do not use BP_SYM.
2704 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2705 "bp-asm.h".
2706 (PARMS): Do not use macros from bp-asm.h.
2707 (STR): Likewise.
2708 (CHR): Likewise.
2709 (__rawmemchr): Do not use BP_SYM.
2710 (rawmemchr): Do not use BP_SYM in weak_alias.
2711 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2712 (PARMS): Do not use macros from bp-asm.h.
2713 (S): Likewise.
2714 (SIZE): Likewise.
2715 (__mpn_rshift): Do not use BP_SYM.
2716 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2717 (PARMS): Do not use macros from bp-asm.h.
2718 (SIGMSK): Likewise.
2719 (__sigsetjmp): Likewise. Do not use BP_SYM.
2720 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2721 (_start): Do not use BP_SYM.
2722 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2723 (PARMS): Do not use macros from bp-asm.h.
2724 (DEST): Likewise.
2725 (SRC): Likewise.
2726 (__stpcpy): Likewise. Do not use BP_SYM.
2727 (stpcpy): Do not use BP_SYM in weak_alias.
2728 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2729 "bp-asm.h".
2730 (PARMS): Do not use macros from bp-asm.h.
2731 (DEST): Likewise.
2732 (SRC): Likewise.
2733 (LEN): Likewise.
2734 (__stpncpy): Likewise. Do not use BP_SYM.
2735 (stpncpy): Do not use BP_SYM in weak_alias.
2736 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2737 (PARMS): Do not use macros from bp-asm.h.
2738 (STR): Likewise.
2739 (CHR): Likewise.
2740 (strchr): Likewise. Do not use BP_SYM.
2741 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2742 "bp-asm.h".
2743 (PARMS): Do not use macros from bp-asm.h.
2744 (STR): Likewise.
2745 (CHR): Likewise.
2746 (__strchrnul): Likewise. Do not use BP_SYM.
2747 (strchrnul): Do not use BP_SYM in weak_alias.
2748 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2749 "bp-asm.h".
2750 (PARMS): Do not use macros from bp-asm.h.
2751 (STOP): Likewise.
2752 (strcspn): Do not use BP_SYM.
2753 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2754 "bp-asm.h".
2755 (PARMS): Do not use macros from bp-asm.h.
2756 (STR): Likewise.
2757 (STOP): Likewise.
2758 (strpbrk): Likewise. Do not use BP_SYM.
2759 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2760 "bp-asm.h".
2761 (PARMS): Do not use macros from bp-asm.h.
2762 (STR): Likewise.
2763 (CHR): Likewise.
2764 (strrchr): Likewise. Do not use BP_SYM.
2765 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2766 (PARMS): Do not use macros from bp-asm.h.
2767 (SKIP): Likewise.
2768 (strspn): Do not use BP_SYM.
2769 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2770 (PARMS): Do not use macros from bp-asm.h.
2771 (STR): Likewise.
2772 (DELIM): Likewise.
2773 (SAVE): Likewise.
2774 (FUNCTION): Likewise. Do not use BP_SYM.
2775 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2776 aliases.
2777 (strtok_r): Likewise.
2778 (__GI___strtok_r): Likewise.
2779 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2780 (PARMS): Do not use macros from bp-asm.h.
2781 (S1): Likewise.
2782 (S2): Likewise.
2783 (SIZE): Likewise.
2784 (__mpn_sub_n): Do not use BP_SYM.
2785 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2786 "bp-asm.h".
2787 (PARMS): Do not use macros from bp-asm.h.
2788 (S1): Likewise.
2789 (SIZE): Likewise.
2790 (__mpn_submul_1): Do not use BP_SYM.
2791 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2792 <bp-sym.h>.
2793 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2794 and <bp-asm.h>.
2795 (PARMS): Do not use macros from bp-asm.h.
2796 (FLAGS): Likewise.
2797 (PTID): Likewise.
2798 (TLS): Likewise.
2799 (CTID): Likewise.
2800 (__clone): Do not use BP_SYM.
2801 (clone): Do not use BP_SYM in weak_alias.
2802 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2803 and <bp-asm.h>.
2804 (PARMS): Do not use macros from bp-asm.h.
2805 (LEN): Likewise.
2806 (__mmap64): Do not use BP_SYM.
2807 (mmap64): Do not use BP_SYM in weak_alias.
2808 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2809 <bp-sym.h> and <bp-asm.h>.
2810 (PARMS): Do not use macros from bp-asm.h.
2811 (__posix_fadvise64_l64): Do not use BP_SYM.
2812 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2813 (PARMS): Do not use macros from bp-asm.h.
2814 (NSOPS): Likewise.
2815 (semtimedop): Do not use BP_SYM.
2816 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2817 and <bp-asm.h>.
2818
582a3cff
AM
28192013-02-21 Allan McRae <allan@archlinux.org>
2820
2821 * manual/message.texi (Charset conversion in gettext):
2822 Move @end statement to beginning of line.
2823
bab8a695
SP
28242013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2825
80945231
SP
2826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2827 static.
2828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2829 Likewise.
2830
bab8a695
SP
2831 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2832 (denorm): Likewise.
2833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2835
e21d7aa7
AK
28362013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2837
2838 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2839 tail-call to the resolved function if pltexit isn't needed.
2840
4c7a4263
SP
28412013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2842
2843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2844 or Y being zero as being unlikely.
2845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2846 Likewise.
2847
41f49342
CD
28482013-02-20 Carlos O'Donell <carlos@redhat.com>
2849
2850 * manual/nss.texi (System Databases and Name Service Switch):
2851 Remove frobnicate @pxref.
2852
50022a93
TS
28532013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2854
2855 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2856 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2857
08cbd996
PM
28582013-02-20 Petr Machata <pmachata@redhat.com>
2859
2860 * elf/elf.h (R_ARM_TARGET1): New macro.
2861 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2862 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2863 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2864 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2865 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2866 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2867 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2868 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2869 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2870 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2871 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2872 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2873 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2874 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2875 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2876 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2877 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2878 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2879 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2880 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2881 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2882 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2883 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2884 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2885 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2886 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2887 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2888 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2889 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2890 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2891 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2892 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2893 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2894 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2895 (R_ARM_THM_GOT_BREL12): Likewise.
2896 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2897 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2898 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2899 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2900 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2901 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2902 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2903 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2904 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2905
c7b275d6
TS
29062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2907
2908 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2909 __attribute_used__ to __attribute__ ((unused)).
2910
20cd7fb3
SP
29112013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2912
2913 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2914 powerpc mpa.c.
2915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2916 comment formatting.
2917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2918
92945b52
JM
29192013-02-19 Joseph Myers <joseph@codesourcery.com>
2920
2921 [BZ #13550]
2922 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2923 Remove macro.
2924 (ENTER): Remove both macro definitions.
2925 (LEAVE): Likewise.
2926 (CHECK_BOUNDS_LOW): Likewise.
2927 (CHECK_BOUNDS_HIGH): Likewise.
2928 (CHECK_BOUNDS_BOTH): Likewise.
2929 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2930 (RETURN_BOUNDED_POINTER): Likewise.
2931 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2932 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2933 (POP_ERRNO_LOCATION_RETURN): Likewise.
2934 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2935 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2936 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2937 macros.
2938 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2939 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2940 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2941 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2942 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2943 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2944 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2945 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2946 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2947 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2948 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2949 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2950 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2951 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2952 removed macros.
2953 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2954 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2955 macros.
2956 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2957 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2958 * sysdeps/i386/i586/memset.S (memset): Likewise.
2959 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2960 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2961 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2962 macros.
2963 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2964 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2965 Change uses of L(2) to L(out).
2966 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2967 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2968 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2969 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2970 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2971 removed macros.
2972 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2973 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2974 macros.
2975 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2976 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2977 (RETURN): Do not use macro LEAVE.
2978 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2979 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2980 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2981 * sysdeps/i386/i686/memset.S (memset): Likewise.
2982 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2983 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2984 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2985 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2986 Likewise.
2987 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2988 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2989 L(1_2) and L(1_3) into L(1).
2990 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2991 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2992 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2993 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2994 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2995 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2996 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2997 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2998 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2999 macros.
3000 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3001 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3002 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3003 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3004 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3005 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3006 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3007 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3008 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3009 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3010 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3011 * sysdeps/i386/strspn.S (strspn): Likewise.
3012 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3013 conditional code.
3014 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3015 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3016 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3017 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3018 L(1_3) into L(1_1).
3019 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3020 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3021 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3022 macros.
3023 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3024
2389741a
JJ
30252013-02-19 Jakub Jelinek <jakub@redhat.com>
3026
3027 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3028 macro.
3029
2016b3cd
SP
30302013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3031
e4f22324
SP
3032 * math/atest-exp.c (exp_mpn): Remove ROUND.
3033 * math/atest-exp2.c (exp_mpn): Likewise.
3034 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3035
2016b3cd
SP
3036 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3037 * stdlib/tst-tls-atexit-lib.c: Likewise.
3038 * stdlib/tst-tls-atexit.c: Likewise.
3039
4be9b544
MF
30402013-02-18 Mike Frysinger <vapier@gentoo.org>
3041
3042 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3043 and __attribute_alloc_size__.
3044
2f62b9ee
MF
30452013-02-18 Mike Frysinger <vapier@gentoo.org>
3046
3047 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3048 __attribute_alloc_size__.
3049 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3050 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3051
6ff444c4
MF
30522013-02-18 Mike Frysinger <vapier@gentoo.org>
3053
3054 * include/programs/xmalloc.h: New file.
3055 * catgets/gencat.c: Include it.
3056 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3057 * elf/pldd.c: Likewise.
3058 * iconv/iconv_charmap.c: Likewise.
3059 * iconv/iconvconfig.c: Likewise.
3060 * iconv/strtab.c: Likewise.
3061 * locale/programs/locale.c: Likewise.
3062 * locale/programs/localedef.h: Likewise.
3063 * locale/programs/simple-hash.c: Likewise.
3064 * nscd/nscd.h: Likewise.
3065 * nss/makedb.c: Likewise.
3066 * sysdeps/generic/ldconfig.h: Likewise.
3067
be179c8a
SP
30682013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3069
ba384f6e
SP
3070 * Versions.def: Add GLIBC_2.18.
3071 * include/link.h (struct link_map): New member l_tls_dtor_count.
3072 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3073 (__call_tls_dtors): Likewise.
3074 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3075 __cxa_thread_atexit_impl.
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3077 Likewise.
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3079 Likewise.
3080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3081 Likewise.
3082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3083 Likewise.
3084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3086 Likewise.
3087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3088 Likewise.
3089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3091 Likewise.
3092 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3093 (tests): Add test case tst-tls-atexit.
3094 (modules-names): Add shared library for tst-tls-atexit.
3095 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3096 (GLIBC_PRIVATE): Add __call_tls_dtors.
3097 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3098 for libstdc++.
3099 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3100 * stdlib/tst-tls-atexit.c: New test case.
3101 * stdlib/tst-tls-atexit-lib.c: New test case.
3102
ffaa74cf 3103 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3104
be179c8a
SP
3105 * elf/Versions (ld): Add _dl_find_dso_for_object.
3106 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3107 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3108 (dl_open_worker): Use _dl_find_dso_for_object.
3109 * elf/dl-sym.c (do_sym): Likewise.
3110 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3111
f78b5caa
AK
31122013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3113
3114 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3115 Syntactic changes only.
3116 (_dl_runtime_profile): Do a tail-call to the resolved function.
3117
29691210
JM
31182013-02-17 Joseph Myers <joseph@codesourcery.com>
3119
3120 [BZ #13550]
3121 * sysdeps/x86_64/bp-asm.h: Remove file.
3122 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3123 <bp-sym.h> and <bp-asm.h>.
3124 (__clone): Do not use BP_SYM.
3125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3126 <bp-sym.h> and <bp-asm.h>.
3127 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3128 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3129 "bp-asm.h".
3130 (_setjmp): Do not use BP_SYM.
3131 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3132 "bp-asm.h".
3133 (setjmp): Do not use BP_SYM.
3134 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3135 libc_hidden_def.
3136 (mempcpy): Do not use BP_SYM in weak_alias.
3137 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3138 "bp-asm.h".
3139 (strchr): Do not use BP_SYM.
3140 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3141 "bp-asm.h".
3142 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3143 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3144 (_start): Do not use BP_SYM.
3145 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3146 "bp-asm.h".
3147 (strcat): Do not use BP_SYM.
3148 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3149 "bp-asm.h".
3150 (STRCMP): Do not use BP_SYM.
3151 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3152 "bp-asm.h".
3153 (STRCPY): Do not use BP_SYM.
3154 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3155 "bp-asm.h".
3156 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3157 "bp-asm.h".
3158 (FUNCTION): Do not use BP_SYM.
3159 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3160 weak_alias.
3161 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3162
f238fd19
AJ
31632013-02-17 Andreas Jaeger <aj@suse.de>
3164
3165 * time/Versions: Sort entries.
3166 * string/Versions: Likewise.
3167 * resolv/Versions: Likewise.
3168 * posix/Versions: Likewise.
3169 * iconv/Versions: Likewise.
3170 * elf/Versions: Likewise.
3171 * wcsmbs/Versions: Likewise.
3172
bd07f23c 31732013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3174
22af19f9
SP
3175 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3176 loop termination condition.
3177
4709fe76
SP
3178 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3179 variable to calculate EZ.
3180 (__sqr): Likewise.
2d0e0f29
SP
3181
3182 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3183 the lower precision input.
3184
daaa7713
JM
31852013-02-15 Joseph Myers <joseph@codesourcery.com>
3186
3187 [BZ #13550]
3188 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3189 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3190 (run-via-rtld-prefix): Do not handle %-bp tests.
3191 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3192 (all-object-suffixes): Remove .ob.
3193 (bppfx): Remove variable.
3194 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3195 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3196 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3197 [$(build-bounded) = yes] (libtype.ob): Likewise.
3198 * Makerules (elide-routines.ob): Remove variable.
3199 (do-tests-clean): Do not handle *-bp.out.
3200 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3201 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3202 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3203 (tests): Do not include $(tests-bp.out).
3204 (xtests): Do not include $(xtests-bp.out).
3205 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3206 [$(build-bounded) = yes] ($(addprefix
3207 $(objpfx),$(binaries-bounded))): Remove rule.
3208 ($(objpfx)%-bp.out): Remove rule.
3209 * config.make.in (build-bounded): Remove variable.
3210 * crypt/Makefile [$(build-bounded) = yes]
3211 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3212 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3213 append to variable.
3214 [$(build-bounded) = yes] (install-lib): Likewise.
3215 [$(build-bounded) = yes] (generated): Likewise.
3216 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3217 Remove rule.
3218 * intl/Makefile [$(build-bounded) = yes]
3219 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3220 * math/Makefile [$(build-bounded) = yes]
3221 ($(tests:%=$(objpfx)%-bp): Likewise.
3222 * misc/Makefile [$(build-bounded) = yes]
3223 ($(objpfx)tst-tsearch-bp): Likewise.
3224 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3225 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3226 Remove dependency.
3227 * string/Makefile (o-objects.ob): Remove variable.
3228 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3229 (CFLAGS-.ob): Remove variable.
3230 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3231 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3232 both definitions of variable.
3233 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3234 (ASFLAGS-.ob): Remove variable.
3235
e97ed6dd
JM
32362013-02-14 Joseph Myers <joseph@codesourcery.com>
3237
2bdd4ca6
JM
3238 [BZ #13550]
3239 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3240 Remove __BOUNDED_POINTERS__ from condition.
3241 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3242 * string/bits/string2.h [!__NO_STRING_INLINES &&
3243 !__BOUNDED_POINTERS__]: Likewise.
3244 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3245 Likewise.
3246 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3247 Remove conditional code.
3248 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3249 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3250 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3251 condition.
3252
e97ed6dd
JM
3253 [BZ #13550]
3254 * csu/libc-start.c: Do not include <bp-sym.h>.
3255 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3256 * elf/dl-open.c: Do not include <bp-sym.h>.
3257 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3258 * math/fegetenv.c: Do not include <bp-sym.h>.
3259 (fegetenv): Do not use BP_SYM in versioned symbols.
3260 * nptl/sysdeps/pthread/bits/libc-lockP.h
3261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3262 <bp-sym.h>.
3263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3264 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3266 (__pthread_mutex_destroy): Likewise.
3267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3268 (__pthread_mutex_lock): Likewise.
3269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3270 (__pthread_mutex_trylock): Likewise.
3271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3272 (__pthread_mutex_unlock): Likewise.
3273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3274 (__pthread_mutexattr_init): Likewise.
3275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3276 (__pthread_mutexattr_destroy): Likewise.
3277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3278 (__pthread_mutexattr_settype): Likewise.
3279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3280 (__pthread_rwlock_init): Likewise.
3281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3282 (__pthread_rwlock_destroy): Likewise.
3283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3284 (__pthread_rwlock_rdlock): Likewise.
3285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3286 (__pthread_rwlock_tryrdlock): Likewise.
3287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3288 (__pthread_rwlock_wrlock): Likewise.
3289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3290 (__pthread_rwlock_trywrlock): Likewise.
3291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3292 (__pthread_rwlock_unlock): Likewise.
3293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3294 (__pthread_key_create): Likewise.
3295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3296 (__pthread_setspecific): Likewise.
3297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3298 (__pthread_getspecific): Likewise.
3299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3300 Likewise.
3301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3302 (_pthread_cleanup_push_defer): Likewise.
3303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3304 (_pthread_cleanup_pop_restore): Likewise.
3305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3306 (pthread_setcancelstate): Likewise.
3307 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3308 <bp-sym.h>.
3309 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3310 (memchr): Do not use BP_SYM in weak_alias.
3311 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3312 (fegetenv): Do not use BP_SYM in versioned symbols.
3313 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3314 (fesetenv): Do not use BP_SYM in versioned symbols.
3315 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3316 (feupdateenv): Do not use BP_SYM in versioned symbols.
3317 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3318 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3319 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3320 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3321 (open64): Do not use BP_SYM in weak_alias.
3322 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3323 (fegetenv): Do not use BP_SYM in versioned symbols.
3324 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3325 (fesetenv): Do not use BP_SYM in versioned symbols.
3326 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3327 (feupdateenv): Do not use BP_SYM in versioned symbols.
3328 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3329 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3330 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3331 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3332 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3333 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3334 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3335 <bp-sym.h>.
3336 (__libc_start_main): Do not use BP_SYM.
3337
d6752ccd
SP
33382013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3339
cb57ce60
SP
3340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3341 redundant return line.
3342 (norm): Likewise.
3343 (denorm): Likewise.
3344 (dbl_mp): Likewise.
3345 (sub_magnitudes): Likewise.
3346 (__add): Likewise.
3347 (__sub): Likewise.
3348 (__mul): Likewise.
3349 (__inv): Likewise.
3350 (__dvd): Likewise.
3351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3352 (norm): Likewise.
3353 (denorm): Likewise.
3354 (dbl_mp): Likewise.
3355 (sub_magnitudes): Likewise.
3356 (__add): Likewise.
3357 (__sub): Likewise.
3358 (__mul): Likewise.
3359 (__inv): Likewise.
3360 (__dvd): Likewise.
3361
f414520d
SP
3362 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3363 instead of __mul.
3364 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3365 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3366 (cc32): Likewise.
3367
d6752ccd
SP
3368 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3369 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3371 of __mul for squares.
3372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3373 function
3374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3375 Likewise.
3376 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3377 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3378
70d9946a
JM
33792013-02-13 Joseph Myers <joseph@codesourcery.com>
3380
3381 [BZ #13550]
3382 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3383 code.
3384 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3385 prototype or function definition. Rename ubp_* variables and
3386 parameters. Remove argv definitions conditional on
3387 [__BOUNDED_POINTERS__].
3388 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3389 * elf/dl-runtime.c (_dl_fixup): Likewise.
3390 * include/set-hooks.h (RUN_HOOK): Likewise.
3391 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3392 definition.
3393 * string/strcpy.c (strcpy): Do not use __unbounded.
3394 * sysdeps/generic/frame.h (struct layout): Likewise.
3395 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3396 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3397 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3398 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3399 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3400 (__backtrace): Likewise.
3401 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3402 use __ptrvalue.
3403 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3404 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3405 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3406 Likewise.
3407 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3408 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3409 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3410 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3411 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3412 Do not use __unbounded.
3413 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3414 Rename __unboundedrlimits parameter to rlimits in prototype.
3415 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3416 Do not use __unbounded.
3417 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3418 not use __ptrvalue.
3419 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3420 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3421 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3422 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3423 __ptrvalue or __unbounded.
3424 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3425 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3426 use __unbounded.
3427 (__new_msgctl): Do not use __ptrvalue.
3428 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3429 __unbounded.
3430 (__libc_msgrcv): Do not use __ptrvalue.
3431 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3432 startup_info): Do not use __unbounded.
3433 (__libc_start_main): Likewise. Rename ubp_* variables and
3434 parameters. Remove argv definitions conditional on
3435 [__BOUNDED_POINTERS__].
3436 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3437 __ptrvalue.
3438 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3439 use __unbounded.
3440 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3441 or __ptrvalue.
3442 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3443 use __unbounded.
3444 (__new_shmctl): Do not use __ptrvalue.
3445 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3446 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3447 Likewise.
3448 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3450 (__libc_sigaction): Likewise.
3451 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3452 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3453 Likewise.
3454 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3455
cc7834d6
OB
34562013-02-13 Ondřej Bílka <neleai@seznam.cz>
3457
ffb1ec7b 3458 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3459
3460 * string/mempcpy.c: Implement by calling memcpy.
3461
bdf02814
SP
34622013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3463
c2af38aa
SP
3464 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3465
4e92d59e
SP
3466 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3467 evaluation.
3468
909279a5
SP
3469 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3470 values in the mantissa.
3471
bdf02814
SP
3472 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3473 minimize writes to Z.
3474 (sub_magnitudes): Simplify code a bit.
3475
cd525923
RM
34762013-02-12 Roland McGrath <roland@hack.frob.com>
3477
3478 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3479 from the message. The linker prefixes all warnings with that already.
3480
7e2f0d2d
AS
34812013-02-12 Andreas Schwab <schwab@suse.de>
3482
a445af0b
AS
3483 [BZ #15078]
3484 * posix/regexec.c (extend_buffers): Add parameter min_len.
3485 (check_matching): Pass minimum needed length.
3486 (clean_state_log_if_needed): Likewise.
3487 (get_subexp): Likewise.
3488 * posix/Makefile (tests): Add bug-regex34.
3489 (bug-regex34-ENV): Define.
3490 * posix/bug-regex34.c: New file.
3491
7e2f0d2d
AS
3492 [BZ #11561]
3493 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3494 elements compare against the byte sequence of it, not its name.
3495 * posix/Makefile (tests): Add bug-regex35.
3496 (bug-regex35-ENV): Define.
3497 * posix/bug-regex35.c: New file.
3498
a175b684
TV
34992013-02-11 Tom de Vries <tom@codesourcery.com>
3500
3501 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3502 comment.
3503 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3504 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3505 (CHECK_EOL): Add undef.
3506
310998fe 35072013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3508
3509 * bits/stdlib-bsearch.h: New file.
3510 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3511 * stdlib/stdlib.h: Likewise.
41eda41d 3512
8ded91fb
RM
35132013-02-11 Roland McGrath <roland@hack.frob.com>
3514
3515 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3516 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3517 declaration.
3518 * manual/search.texi (Array Search Function): Add missing const in
3519 lfind prototype.
3520 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3521 declaration to use rlim_t.
3522 (Basic Scheduling Functions): Remove erroneous const from
3523 sched_getparam prototype. Remove erroneous * from
3524 sched_get_priority_max and sched_get_priority_min prototypes.
3525 (Resource Usage): Fix summary @comment on vtimes to refer to
3526 sys/vtimes.h rather than vtimes.h.
3527 Add missing *s in vtimes prototype.
3528 (Limits on Resources): Fix ulimit prototype to return long int.
3529 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3530 prototypes to use long int rather than double.
3531 (BSD Random): Fix initstate and setstate to use char *, not void *.
3532 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3533 prototype to make second argument 'struct aiocb64 *const[]'.
3534 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3535 (Status of AIO Operations): Remove erroneous const in aio_return and
3536 aio_return64 prototypes.
3537 (Synchronizing I/O): Fix sync prototype to return void.
3538 * manual/startup.texi (Suboptions): Remove an erroneous const in
3539 getsubopt prototype.
3540 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3541 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3542 use size_t rather than int.
3543 (Scanning All Users): Likewise for getpwent_r.
3544 (Setting Groups): Add missing const to setgroups prototype.
3545 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3546 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3547 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3548 'const void *' rather than 'const char *'.
3549 (Host Address Functions): Likewise for inet_ntop.
3550 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3551 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3552 ssize_t for return value.
3553 (Sending Data): Likewise for send, sendto, sendmsg.
3554 (Socket Option Functions): Add a missing const in setsockopt prototype.
3555 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3556 use wchar_t for the argument.
3557 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3558 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3559 take no arguments.
3560 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3561 double/float/long double for second argument.
3562 Fix return types of significand, significandf, significandl.
3563 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3564 argument in fchmod prototype.
3565 (File Owner): Use uid_t and gid_t in fchown prototype.
3566 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3567 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3568 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3569 use 'const struct dirent **' as argument types to CMP function pointer
3570 argument.
3571 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3572 (File Times): Fix summary magic @comment for struct utimbuf and utime
3573 to refer to utime.h, not time.h.
3574 * manual/string.texi (Argz Functions): Add missing const in
3575 argz_extract and argz_next prototypes.
3576 (Finding Tokens in a String): Likewise for basename.
3577 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3578 (Copying and Concatenation): Fix typo in wmemmove prototype.
3579 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3580 (Signal Stack): Remove erroneous const in sigstack prototype.
3581 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3582 prototype.
3583 (Simple Calendar Time): Likewise for stime.
3584 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3585 prototype.
3586 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3587 say sys/sysctl.h instead.
3588 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3589 and vsyslog prototypes.
3590
fe77fe6d
TV
35912013-02-11 Tom de Vries <tom@codesourcery.com>
3592
3593 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3594 Remove.
3595
3a09b620
RM
35962013-02-11 Roland McGrath <roland@hack.frob.com>
3597
3598 * misc/sys/mman.h: Fix typo in mremap comment.
3599
550a0b89
RM
36002013-02-08 Roland McGrath <roland@hack.frob.com>
3601
3602 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3603 the '\0' terminator.
3604
a2da1673
JM
36052013-02-08 Joseph Myers <joseph@codesourcery.com>
3606
3607 [BZ #13550]
3608 * debug/segfault.c: Don't include <bp-checks.h>.
3609 * sysdeps/generic/bp-checks.h: Remove file.
3610 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3611 (__GETDENTS): Don't use CHECK_N.
3612 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3613 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3614 (__getgroups): Don't use CHECK_N.
3615 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3616 (setgroups): Don't use CHECK_N.
3617 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3618 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3619 (__libc_msgrcv): Don't use CHECK_N.
3620 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3621 (__libc_msgsnd): Don't use CHECK_N.
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3623 <bp-checks.h>.
3624 (__libc_pread): Don't use CHECK_N.
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3626 include <bp-checks.h>.
3627 (__libc_pread64): Don't use CHECK_N.
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3629 include <bp-checks.h>.
3630 (__libc_pwrite): Don't use CHECK_N.
3631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3632 include <bp-checks.h>.
3633 (__libc_pwrite64): Don't use CHECK_N.
3634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3635 <bp-checks.h>.
3636 (__libc_pread): Don't use CHECK_N.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3638 include <bp-checks.h>.
3639 (__libc_pread64): Don't use CHECK_N.
3640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3641 include <bp-checks.h>.
3642 (__libc_pwrite): Don't use CHECK_N.
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3644 include <bp-checks.h>.
3645 (__libc_pwrite64): Don't use CHECK_N.
3646 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3647 (do_pread): Don't use CHECK_N.
3648 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3649 (do_pread64): Don't use CHECK_N.
3650 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3651 (do_pwrite): Don't use CHECK_N.
3652 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3653 (do_pwrite64): Don't use CHECK_N.
3654 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3655 (__libc_readv): Don't use CHECK_N.
3656 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3657 (semop): Don't use CHECK_N.
3658 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3659 <bp-checks.h>.
3660 (semtimedop): Don't use CHECK_N.
3661 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3662 (__libc_pread): Don't use CHECK_N.
3663 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3664 <bp-checks.h>.
3665 (__libc_pread64): Don't use CHECK_N.
3666 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3667 <bp-checks.h>.
3668 (__libc_pwrite): Don't use CHECK_N.
3669 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3670 <bp-checks.h>.
3671 (__libc_pwrite64): Don't use CHECK_N.
3672 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3673 <bp-checks.h>.
3674 (__libc_msgrcv): Don't use CHECK_N.
3675 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3676 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3677 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3678 (__libc_writev): Don't use CHECK_N.
3679
b84660a8
RM
36802013-02-08 Roland McGrath <roland@hack.frob.com>
3681
7f3e75f8
RM
3682 * string/strcpy.c: Removed unused variable.
3683
b84660a8
RM
3684 * Makeconfig (+sysdep-includes): Define with := rather than =.
3685 Use an existing include/ subdir of each sysdeps dir before it.
3686
471514d3
CD
36872013-02-08 Carlos O'Donell <carlos@redhat.com>
3688
3689 * nscd/connection.c (register_traced_file): Comment function.
3690 [HAVE_INOTIFY] (union __inev): Define.
3691 [HAVE_INOTIFY] (inotify_check_files): New function.
3692 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3693 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3694 clear_db_cache.
3695 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3696
b2d3c3be
CD
36972013-02-08 Carlos O'Donell <carlos@redhat.com>
3698
3699 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3700 loaded if not already and that a failure is permanent.
3701
b39949d2
CD
37022013-02-08 Carlos O'Donell <carlos@redhat.com>
3703
ddacd1db 3704 [BZ #15006]
b39949d2
CD
3705 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3706 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3707
b2c9eff4
JM
37082013-02-08 Joseph Myers <joseph@codesourcery.com>
3709
f3aae3f3
JM
3710 [BZ #13550]
3711 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3712 (CHECK_1_NULL_OK): Likewise.
3713 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3714 (__fxstat): Do not use CHECK_1.
3715 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3716 <bp-checks.h>.
3717 (___fxstat64): Do not use CHECK_1.
3718 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3719 <bp-checks.h>.
3720 (__fxstatat): Do not use CHECK_1.
3721 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3722 <bp-checks.h>.
3723 (__fxstatat64): Do not use CHECK_1.
3724 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3725 <bp-checks.h>.
3726 (__fxstat): Do not use CHECK_1.
3727 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3728 <bp-checks.h>.
3729 (__fxstatat): Do not use CHECK_1.
3730 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3731 <bp-checks.h>.
3732 (__getresgid): Do not use CHECK_1.
3733 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3734 <bp-checks.h>.
3735 (__getresuid): Do not use CHECK_1.
3736 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3737 <bp-checks.h>.
3738 (__lxstat): Do not use CHECK_1.
3739 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3740 <bp-checks.h>.
3741 (__old_msgctl): Do not use CHECK_1.
3742 (__new_msgctl): Likewise.
3743 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3744 <bp-checks.h>.
3745 (__new_setrlimit): Do not use CHECK_1.
3746 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3747 <bp-checks.h>.
3748 (__old_shmctl): Do not use CHECK_1.
3749 (__new_shmctl): Likewise.
3750 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3751 <bp-checks.h>.
3752 (__xstat): Do not use CHECK_1.
3753 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3754 (__lxstat): Do not use CHECK_1.
3755 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3756 <bp-checks.h>.
3757 (___lxstat64): Do not use CHECK_1.
3758 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3759 (__old_msgctl): Do not use CHECK_1.
3760 (__new_msgctl): Likewise.
3761 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3762 <bp-checks.h>.
3763 (__gettimeofday): Do not use CHECK_1.
3764 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3765 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3766 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3767 <bp-checks.h>.
3768 (__gettimeofday): Do not use CHECK_1.
3769 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3770 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3771 (__new_shmctl): Do not use CHECK_1.
3772 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3773 <bp-checks.h>.
3774 (do_sigtimedwait): Do not use CHECK_1.
3775 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3776 <bp-checks.h>.
3777 (do_sigwaitinfo): Do not use CHECK_1.
3778 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3779 <bp-checks.h>.
3780 (msgctl): Do not use CHECK_1.
3781 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3782 <bp-checks.h>.
3783 (shmctl): Do not use CHECK_1.
3784 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3785 (ustat): Do not use CHECK_1.
3786 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3787 <bp-checks.h>.
3788 (__fxstat): Do not use CHECK_1.
3789 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3790 <bp-checks.h>.
3791 (__fxstatat): Do not use CHECK_1.
3792 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3793 <bp-checks.h>.
3794 (__lxstat): Do not use CHECK_1.
3795 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3796 <bp-checks.h>.
3797 (__xstat): Do not use CHECK_1.
3798 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3799 (__xstat): Do not use CHECK_1.
3800 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3801 (___xstat64): Do not use CHECK_1.
3802
b2c9eff4
JM
3803 [BZ #13550]
3804 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3805 definitions.
3806 (CHECK_BOUNDS_HIGH): Likewise.
3807 * string/strcpy.c: Do not include <bp-checks.h>.
3808 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3809
f1d70dad
RM
38102013-02-07 Roland McGrath <roland@hack.frob.com>
3811
3812 * nscd/nscd-client.h (__nscd_drop_map_ref):
3813 Add __attribute__ ((unused)).
3814 * nis/nss-nisplus.h (niserr2nss): Likewise.
3815
3816 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3817 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3818
3819 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3820 Remove inline keyword.
3821 * include/rounding-mode.h (round_away): Likewise.
3822 * libio/wfileops.c (adjust_wide_data): Likewise.
3823 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3824 (__m128i_strloadu_tolower): Likewise.
3825 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3826 (__m128i_strloadu_tolower): Likewise.
3827 * time/mktime.c (ydhms_diff): Likewise.
3828 * locale/elem-hash.h (elem_hash): Likewise.
3829 * locale/setlocale.c (setdata): Likewise.
3830 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3831 (re_string_wchar_at): Likewise.
3832 (bitset_not, bitset_merge, bitset_mask): Likewise.
3833 [!(__GNUC__ > 3)] (inline): Remove macro.
3834 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3835 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3836 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3837 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3838 * string/memcmp.c (memcmp_bytes): Likewise.
3839 * locale/programs/locarchive.c (compute_hashval): Likewise.
3840 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3841 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3842 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3843 * nss/getent.c (print_rpc, print_protocols): Likewise.
3844 (print_passwd, print_group, print_aliases): Likewise.
3845 * nis/nss-nisplus.h (niserr2nss): Likewise.
3846 * nscd/connections.c (restart_p): Likewise.
3847 Change return type to bool.
3848
eab55bfb
RM
38492013-02-05 Roland McGrath <roland@hack.frob.com>
3850
7bd642f5
RM
3851 * Makeconfig (all-Depend-files): Add existing
3852 $(sorted-subdirs:=/Depend) files.
3853 (all-subdirs): Remove nss.
3854 * sysdeps/unix/inet/Subdirs: Add it here instead.
3855 * hesiod/Depend: New file.
3856
573c29b2
RM
3857 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3858 instead of calling alloca.
3859
b2e25af0
RM
3860 * io/lseek.c (__lseek): Rename to __libc_lseek.
3861 Define __lseek as an alias.
3862
eab55bfb
RM
3863 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3864
9a0d1941
CD
38652013-02-04 Carlos O'Donell <carlos@redhat.com>
3866
3867 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3868 else clause and remove check for non-standard endianness.
3869
b83bbec4
DM
38702013-02-04 David S. Miller <davem@davemloft.net>
3871
3872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3873
6277fdab
JM
38742013-02-04 Joseph Myers <joseph@codesourcery.com>
3875
3876 [BZ #13550]
3877 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3878 (__ubp_memchr): Remove prototype.
3879 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3880 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3881 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3882 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3883 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3884 Remove alias.
3885 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3886 (__ubp_memchr): Likewise.
3887 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3888 (__ubp_memchr): Likewise.
3889 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3890 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3891 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3892 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3893 CHECK_STRING.
3894 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3895 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3896 (__getcwd): Do not use CHECK_STRING.
3897 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3898 <bp-checks.h>.
3899 (__real_chown): Do not use CHECK_STRING.
3900 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3901 <bp-checks.h>.
3902 (fchownat): Do not use CHECK_STRING.
3903 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3904 CHECK_STRING.
3905 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3906 <bp-checks.h>.
3907 (__lchown): Do not use CHECK_STRING.
3908 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3909 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3910 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3911 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3913 include <bp-checks.h>.
3914 (truncate64): Do not use CHECK_STRING.
3915 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3916 <bp-checks.h>.
3917 (__real_chown): Do not use CHECK_STRING.
3918 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3919 <bp-checks.h>.
3920 (__lchown): Do not use CHECK_STRING.
3921 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3922 <bp-checks.h>.
3923 (__chown): Do not use CHECK_STRING.
3924 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3925 <bp-checks.h>.
3926 (truncate64): Do not use CHECK_STRING.
3927 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3928 Likewise.
3929 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3930 (__xmknod): Do not use CHECK_STRING.
3931 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3932 <bp-checks.h>.
3933 (__xmknodat): Do not use CHECK_STRING.
3934 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3935 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3936
903ae060
AS
39372013-02-04 Andreas Schwab <schwab@suse.de>
3938
3939 [BZ #14142]
3940 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3941 * include/netdb.h: Likewise for h_errno.
3942 * elf/tst-stackguard1.c: Include <tls.h>.
3943
542f9466
JK
39442013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3945
3946 * elf/link.h (struct link_map): Extend the l_addr comment.
3947 * include/link.h (struct link_map): Likewise.
3948
e782a927
JM
39492013-02-01 Joseph Myers <joseph@codesourcery.com>
3950
3951 [BZ #13550]
3952 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3953 (BOUNDED_1): Remove macro.
3954 * debug/backtrace.c: Don't include <bp-checks.h>.
3955 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3956 (__backtrace): Likewise.
3957 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3958 <bp-checks.h>.
3959 (__backtrace): Don't use BOUNDED_1.
3960 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3961 <bp-checks.h>.
3962 (__backtrace): Don't use BOUNDED_1.
3963 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3964 (__backtrace): Don't use BOUNDED_1.
3965 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3966 (shmat): Don't use BOUNDED_N.
3967
8cf28c5e
JM
39682013-01-31 Joseph Myers <joseph@codesourcery.com>
3969
3a7ac8a0
JM
3970 [BZ #13550]
3971 * sysdeps/generic/bp-start.h: Remove file.
3972 * csu/libc-start.c: Don't include <bp-start.h>.
3973 (LIBC_START_MAIN): Set up __environ directly instead of using
3974 INIT_ARGV_and_ENVIRON.
3975 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3976 <bp-start.h>.
3977
f3499f95
JM
3978 [BZ #13550]
3979 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3980 definitions.
3981 (CHECK_FCNTL): Likewise.
3982 (CHECK_N_PAGES): Likewise.
3983
32a45bea
JM
3984 [BZ #13550]
3985 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3986 definitions.
3987 (CHECK_SIGSET_NULL_OK): Likewise.
3988 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3989 <bp-checks.h>.
3990 (sigpending): Don't use CHECK_SIGSET.
3991 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3992 <bp-checks.h>.
3993 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3994 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3995 <bp-checks.h>.
3996 (do_sigsuspend): Don't use CHECK_SIGSET.
3997 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3998 use CHECK_SIGSET.
3999 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4000 (do_sigwait): Don't use CHECK_SIGSET.
4001 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4002 use CHECK_SIGSET.
4003 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4004 include <bp-checks.h>.
4005 (sigpending): Don't use CHECK_SIGSET.
4006 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4007 include <bp-checks.h>.
4008 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4009 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4010 <bp-checks.h>.
4011 (sigpending): Don't use CHECK_SIGSET.
4012 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4013 <bp-checks.h>.
4014 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4015
2e8a5c8c
JM
4016 [BZ #13550]
4017 * sysdeps/generic/bp-semctl.h: Remove file.
4018 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4019 <bp-checks.h> and <bp-semctl.h>.
4020 (__old_semctl): Don't use CHECK_SEMCTL.
4021 (__new_semctl): Likewise.
4022 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4023 and <bp-semctl.h>.
4024 (__old_semctl): Don't use CHECK_SEMCTL.
4025 (__new_semctl): Likewise.
4026 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4027 <bp-checks.h> and <bp-semctl.h>.
4028 (__old_semctl): Don't use CHECK_SEMCTL.
4029 (__new_semctl): Likewise.
4030 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4031 <bp-checks.h> and <bp-semctl.h>.
4032 (semctl): Don't use CHECK_SEMCTL.
4033
c2d54929
JM
4034 [BZ #13550]
4035 * Makerules (elide-bp-thunks): Remove variable.
4036 (elide-routines.oS): Don't use $(elide-bp-thunks).
4037 (elide-routines.os): Likewise.
4038 (elide-routines.o): Likewise.
4039 (elide-routines.op): Likewise.
4040 (elide-routines.og): Likewise.
4041 (objects): Don't use $(bp-thunks).
4042 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4043 include.
4044 (common-generated): Do not add s-proto-bp.d.
4045 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4046 (int): Likewise.
4047 (typ): Likewise.
4048 Do not generate makefile rules for bounded-pointer thunks.
4049 * sysdeps/generic/bp-thunks.h: Remove file.
4050 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4051 * sysdeps/unix/s-proto-bp.S: Likewise.
4052
8cf28c5e
JM
4053 [BZ #15062]
4054 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4055 parts of result separately when argument is not close to line from
4056 -i to i and one part of argument is small.
4057 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4058 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4059 * math/libm-test.inc (cacos_test): Add more tests.
4060 (casin_test): Likewise.
4061 (casinh_test): Likewise.
4062 * sysdeps/i386/fpu/libm-test-ulps: Update.
4063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4064
c4e33b8d
DM
40652013-01-31 David S. Miller <davem@davemloft.net>
4066
4067 * po/de.po: Update from translation team.
4068
3b60b421
MK
40692013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4070
4071 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4072
bb931195
TS
40732013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4074
b5a5da23
TS
4075 * configure.in (_AC_PROG_CC_C89): New definition.
4076 * configure: Regenerate.
4077
bb931195
TS
4078 * configure.in (AC_PROG_CPP): New definition.
4079 * configure: Regenerate.
4080
8c53a12c
JM
40812013-01-23 Joseph Myers <joseph@codesourcery.com>
4082
4083 * debug/tst-backtrace.h: New file.
4084 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4085 (ret): Remove variable.
4086 (x): Likewise.
4087 (FAIL): Remove macro.
4088 (NO_INLINE): Likewise.
4089 (fn1): Use match function instead of strstr.
4090 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4091 (ret): Remove variable.
4092 (x): Likewise.
4093 (FAIL): Remove macro.
4094 (NO_INLINE): Likewise.
4095 (fn): Use match function instead of strstr.
4096 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4097 (ret): Remove variable.
4098 (x): Likewise.
4099 (FAIL): Remove macro.
4100 (NO_INLINE): Likewise.
4101 (handle_signal): Use match function instead of strstr.
4102 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4103 (ret): Remove variable.
4104 (x): Likewise.
4105 (FAIL): Remove macro.
4106 (NO_INLINE): Likewise.
4107 (handle_signal): Use match function instead of strstr.
4108
4858fa2a
RM
41092013-01-23 Roland McGrath <roland@hack.frob.com>
4110
4111 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4112
bae8e7f5
DM
41132013-01-23 David S. Miller <davem@davemloft.net>
4114
4115 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4116 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4117 argument of CAS if possible.
4118 * sysdeps/sparc/sparc64/bits/atomic.h
4119 (__arch_compare_and_exchange_val_32_acq): Likewise.
4120 (__arch_compare_and_exchange_val_64_acq): Likewise.
4121
9cbbc4ae
PT
41222013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4123
4124 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4125 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4126 Include <limits.h>.
67b3f58c 4127 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4128
5655a0b5
AC
41292013-01-23 Adam Conrad <adconrad@0c3.net>
4130
4131 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4132 (LDFLAGS-tst-array5): Likewise.
4133
052aff95
JM
41342013-01-23 Joseph Myers <joseph@codesourcery.com>
4135
4136 [BZ #15036]
4137 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4138 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4139 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4140 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4141
7c1e01aa
DM
41422013-01-21 David S. Miller <davem@davemloft.net>
4143
4144 * sysdeps/sparc/backtrace.c: New file.
4145 * sysdeps/sparc/sparc32/backtrace.h: New file.
4146 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4147 * sysdeps/sparc/sparc64/backtrace.h: New file.
4148 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4149 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4150 -funwind-tables.
4151
ab087e0a
AS
41522013-01-21 Andreas Schwab <schwab@suse.de>
4153
4154 [BZ #15020]
4155 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4156 closed its stdout.
4157
ed689c2f
AS
41582013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4159
4160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4161 "mpa2.h".
4162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4163
31d470ac
JM
41642013-01-18 Joseph Myers <joseph@codesourcery.com>
4165 Mark Mitchell <mark@codesourcery.com>
4166 Tom de Vries <tom@codesourcery.com>
4167 Paul Pluzhnikov <ppluzhnikov@google.com>
4168
4169 * debug/tst-backtrace2.c: New file.
4170 * debug/tst-backtrace3.c: Likewise.
4171 * debug/tst-backtrace4.c: Likewise.
4172 * debug/tst-backtrace5.c: Likewise.
4173 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4174 (CFLAGS-tst-backtrace3.c): Likewise.
4175 (CFLAGS-tst-backtrace4.c): Likewise.
4176 (CFLAGS-tst-backtrace5.c): Likewise.
4177 (LDFLAGS-tst-backtrace2): Likewise.
4178 (LDFLAGS-tst-backtrace3): Likewise.
4179 (LDFLAGS-tst-backtrace4): Likewise.
4180 (LDFLAGS-tst-backtrace5): Likewise.
4181 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4182 tst-backtrace4 and tst-backtrace5.
4183
90567f30 41842013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4185 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4186
4187 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4188 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4189 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4190 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4192 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4193 "+r" and remove output regs list as redundant. Add explicit inline
4194 asm to specify register of return val to work around compiler codegen
4195 bug. Remove (int) cast on return value. Add return type parameter to
4196 use in macro so that this macro does not truncate return value for
4197 64-bit values.
4198 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4199 pass to INTERNAL_VSYSCALL_NCS.
4200 (INLINE_VSYSCALL): Add 'long int' as return type to
4201 INTERNAL_VSYSCALL_NCS macro invocation.
4202 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4203 INTERNAL_VSYSCALL_NCS macro invocation.
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4205
d3b9ea61
SP
42062013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4207
0b57daeb
SP
4208 [BZ #14496]
4209 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4210 Fix application of SIMD FP exception mask.
4211
caa99d06
SP
4212 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4213 mp_no from a power of two.
4214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4215 __mpexp_twomm1. Use __pow_mp.
4216
d3b9ea61
SP
4217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4218 multiplication.
4219
1dbaee3c
DM
42202013-01-17 David S. Miller <davem@davemloft.net>
4221
4222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4223
728d7b43
JM
42242013-01-17 Joseph Myers <joseph@codesourcery.com>
4225
4226 [BZ #15023]
4227 * include/complex.h: Condition contents on [!_COMPLEX_H].
4228 (__kernel_casinhf): New prototype.
4229 (__kernel_casinh): Likewise.
4230 (__kernel_casinhl): Likewise.
4231 * math/Makefile (libm_calls): Add k_casinh.
4232 * math/k_casinh.c: New file.
4233 * math/k_casinhf.c: Likewise.
4234 * math/k_casinhl.c: Likewise.
4235 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4236 finite nonzero arguments.
4237 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4238 finite nonzero arguments.
4239 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4240 finite nonzero arguments.
4241 * math/s_casinh.c: Do not include <float.h>.
4242 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4243 * math/s_casinhf.c: Do not include <float.h>.
4244 (__casinhf): Move code for finite nonzero arguments to
4245 k_casinhf.c.
4246 * math/s_casinhl.c: Do not include <float.h>.
4247 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4248 redefine.
4249 (__casinhl): Move code for finite nonzero arguments to
4250 k_casinhl.c.
4251 * math/libm-test.inc (cacos_test): Add more tests.
4252 * sysdeps/i386/fpu/libm-test-ulps: Update.
4253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4254
2a26ef3a
PT
42552013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4256
4257 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4258 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4259 [!HAVE_MREMAP]: Remove [defined linux] case.
4260 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4261
a897655d
SP
42622013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4263
4264 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4265
881ebe89 42662013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4267
4268 * elf/elf.h (R_386_SIZE32): New relocation.
4269 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4270 R_386_SIZE32.
4271 (elf_machine_rela): Likewise.
4272 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4273 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4274
59981e9b
JM
42752013-01-17 Joseph Myers <joseph@codesourcery.com>
4276
4277 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4278 (FP_FAST_FMA): Do not define.
4279 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4280 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4281 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4282 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4283 !_SOFT_FLOAT]: Likewise.
4284 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4285 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4286 value.
4287 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4288 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4289 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4290 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4291 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4292 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4293 file.
4294
cfa8054f
AS
42952013-01-16 Andreas Schwab <schwab@suse.de>
4296
4297 [BZ #14327]
4298 * include/stdlib.h (__mktemp): Add declaration.
4299 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4300 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4301
dd930cc5
SP
43022013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4303
881ebe89
SP
4304 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4305 definitions.
4306 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4307 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4308 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4309 definitions here.
4310 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4311 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4312 definitions.
4313 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4314 and ONE.
4315 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4316 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4317 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4318 definitions.
4319 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4320 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4321 definitions.
4322 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4323
dd930cc5
SP
4324 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4325
c19a9f89
DM
43262013-01-15 David S. Miller <davem@davemloft.net>
4327
1aa61767
DM
4328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4329 trunc{,f} to libm-sysdep_routes.
4330 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4332 file.
4333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4335 file.
4336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4337 file.
4338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4340 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4341 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4342 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4343 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4344 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4345 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4346
c42d5e98
DM
4347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4348 nearbyint{,f} to libm-sysdep_routes.
4349 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4351 New file.
4352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4353 file.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4355 New file.
4356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4357 file.
4358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4360 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4361 file.
4362 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4363 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4364 file.
4365 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4366 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4367 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4368
c19a9f89
DM
4369 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4370 libc_feholdexcept and libc_fesetenv.
4371
357679d2
MF
43722013-01-15 Mike Frysinger <vapier@gentoo.org>
4373
4374 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4375
65a82e3d
DM
43762013-01-14 David S. Miller <davem@davemloft.net>
4377
8b954ab9
DM
4378 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4379 (SPARC_ASM_VIS2_IFUNC): Likewise.
4380 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4382 use of 'siam' instruction.
4383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4384 Likewise.
4385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4386 Likewise.
4387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4388 Likewise.
4389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4394 file.
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4396 file.
4397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4398 file.
4399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4400 file.
4401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4406 new VIS2 routines.
4407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4410 Likewise.
4411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4416 routines to libm-sysdep_routines.
4417 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4418
65a82e3d
DM
4419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4420 fdim/fdimf to libm-sysdep_routines.
4421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4422 file.
4423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4425 file.
4426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4429 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4430 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4431 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4432 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4433
e34ab705
SP
44342013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4435
2a91b573
SP
4436 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4437 to optimize copies.
4438
1066a534
SP
4439 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4442
e34ab705
SP
4443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4444 local variable MPTWO.
4445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4446 Likewise.
4447
aba5e596
MF
44482013-01-13 Mike Frysinger <vapier@gentoo.org>
4449
4450 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4451 GLOB_NOESCAPE.
4452
e557e9e5
MF
44532013-01-13 Mike Frysinger <vapier@gentoo.org>
4454
4455 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4456
0428cec9
MF
44572013-01-13 Mike Frysinger <vapier@gentoo.org>
4458
4459 * manual/pattern.texi (glob_t): Document gl_flags.
4460 (glob64_t): Likewise.
4461
8794a964
DM
44622013-01-11 David S. Miller <davem@davemloft.net>
4463
66438c3f
RM
4464 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4465 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4466 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4467 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4468 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4469 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4470 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4471 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4472 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4473 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4474 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4475 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4476 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4477
4ae4244d
DM
4478 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4479 sparc V9 rather than using V8 code.
4480 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4481 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4482
8794a964
DM
4483 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4484 Move to...
4485 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4486 Here.
4487
6270516e
RM
44882013-01-11 Roland McGrath <roland@hack.frob.com>
4489
4490 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4491 not in the main loop.
4492 * configure: Regenerated.
4493
6a57d931
JM
44942013-01-11 Joseph Myers <joseph@codesourcery.com>
4495
4496 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4497 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4498 to just #else.
4499 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4500 [!__GLIBC_HAVE_LONG_LONG] case.
4501 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4502 condition to just #else.
4503 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4504 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4505 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4506 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4507 unconditional.
4508 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4509 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4510 #elif condition to just #else.
4511 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4512 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4513 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4514 #elif condition to just #else.
4515
0e8529e9
SE
45162013-01-11 Steve Ellcey <sellcey@mips.com>
4517
4518 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4519 (EF_MIPS_ARCH_64): Fix value.
4520 (EF_MIPS_ARCH_32R2): New.
4521 (EF_MIPS_ARCH_64R2): New.
4522
740b3dbe
L
45232013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4524
4525 * Makeconfig (+link-pie-before-libc): New.
4526 (+link-pie-after-libc): Likewise.
4527 (+link-pie-tests): Likewise.
4528 (+link-pie): Rewritten.
4529 (link-before-libc): Remove $(config-LDFLAGS).
4530 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4531 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4532 (config-LDFLAGS): Renamed to ...
4533 (rtld-LDFLAGS): This.
4534 (rtld-tests-LDFLAGS): New macro.
4535 (link-libc-rpath-link): Likewise.
4536 (link-libc-tests-rpath-link): Likewise.
4537 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4538 (link-libc): Prepand $(link-libc-rpath-link).
4539 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4540 (test-program-prefix): New macro.
4541 (test-via-rtld-prefix): Likewise.
4542 (test-program-cmd): Likewise.
4543 (host-test-program-cmd): Likewise.
4544 * Makefile ($(common-objpfx)testrun.sh): Replace
4545 $(run-program-prefix) with $(test-program-prefix).
4546 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4547 $(rtld-LDFLAGS).
4548 ($(common-objpfx)shlib.lds): Likewise.
4549 (build-module-helper): Likewise.
4550 ($(common-objpfx)format.lds): Likewise.
4551 * Rules (binaries-pie-tests): New.
4552 (binaries-pie-notests): Likewise.
4553 (binaries-pie): Rewritten.
4554 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4555 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4556 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4557 (make-test-out): Replace $(host-built-program-cmd) with
4558 $(host-test-program-cmd).
4559 * config.make.in (build-hardcoded-path-in-tests): New variable.
4560 * configure.in (--enable-hardcoded-path-in-tests): New configure
4561 option.
4562 (hardcoded_path_in_tests): New AC_SUBST.
4563 * configure: Regenerated.
4564 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4565 $(built-program-cmd) with $(test-program-cmd).
4566 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4567 (test_program_cmd): This.
4568 * elf/Makefile ($(objpfx)order.out): Run test with
4569 $(test-program-prefix).
4570 ($(objpfx)order2.out): Likewise.
4571 ($(objpfx)tst-initorder.out): Likewise.
4572 ($(objpfx)tst-initorder2.out): Likewise.
4573 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4574 $(test-program-cmd).
4575 ($(objpfx)tst-array1-static.out): Likewise.
4576 ($(objpfx)tst-array2.out): Likewise.
4577 ($(objpfx)tst-array3.out): Likewise.
4578 ($(objpfx)tst-array4.out): Likewise.
4579 ($(objpfx)tst-array5.out): Likewise.
4580 ($(objpfx)tst-array5-static.out): Likewise.
4581 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4582 $(test-program-cmd).
4583 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4584 $(run-program-prefix) with $(test-program-prefix).
4585 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4586 (test_program_prefix): This.
4587 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4588 $(run-program-prefix) with $(test-program-prefix).
4589 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4590 (test_program_prefix): This.
4591 * iconvdata/tst-tables.sh: Likewise.
4592 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4593 $(run-program-prefix) with $(test-program-prefix).
4594 ($(objpfx)tst-translit.out): Likewise.
4595 ($(objpfx)tst-gettext2.out): Likewise.
4596 ($(objpfx)tst-gettext4.out): Likewise.
4597 ($(objpfx)tst-gettext6.out): Likewise.
4598 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4599 (test_program_prefix): This.
4600 * intl/tst-gettext2.sh: Likewise.
4601 * intl/tst-gettext4.sh Likewise.
4602 * intl/tst-gettext6.sh: Likewise.
4603 * intl/tst-translit.sh: Likewise.
4604 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4605 with $(test-program-cmd).
4606 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4607 $(run-program-prefix) with $(test-program-prefix).
4608 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4609 (test_program_prefix): This.
4610 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4611 $(run-program-prefix) with $(test-program-prefix).
4612 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4613 (test_program_prefix): This.
4614 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4615 * posix/Makefile ($(objpfx)globtest.out): Replace
4616 $(run-via-rtld-prefix) and $(test-wrapper) with
4617 $(test-program-prefix) and $(test-via-rtld-prefix).
4618 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4619 $(test-program-prefix).
4620 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4621 $(host-test-program-cmd).
4622 (tst-spawn-ARGS): Likewise.
4623 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4624 $(test-program-prefix).
4625 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4626 (test_via_rtld_prefix): This.
4627 (test_wrapper): Renamed to ...
4628 (test_program_prefix): This.
4629 (run_program_prefix): Replaced by test_program_prefix.
4630 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4631 (test_program_prefix): This.
4632 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4633 with $(host-test-program-cmd).
4634 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4635 $(run-program-prefix) with $(test-program-prefix).
4636 ($(objpfx)tst-printf.out): Likewise.
4637 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4638 $(test-program-cmd).
4639 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4640 (test_program_prefix): This.
4641 * stdio-common/tst-unbputc.sh: Likewise.
4642 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4643 $(run-program-prefix) with $(test-program-prefix).
4644 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4645 (test_program_prefix): This.
4646 * string/Makefile ($(objpfx)tst-svc.out): Replace
4647 $(built-program-cmd) with $(test-program-cmd).
4648
c6fe55cf
AJ
46492013-01-11 Andreas Jaeger <aj@suse.de>
4650
4651 [BZ #15003]
4652 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4653 value. Sync with Linux 3.7.
4654
9e6919c8
DM
46552013-01-10 David S. Miller <davem@davemloft.net>
4656
4657 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4658 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4659 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4660
1c9f1a02
RM
46612013-01-10 Roland McGrath <roland@hack.frob.com>
4662
4663 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4664 never set.
4665 * configure: Regenerated.
4666
b9de2dde
DM
46672013-01-10 David S. Miller <davem@davemloft.net>
4668
4669 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4670 sparc V9 rather than using V8 code.
4671 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4672 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4673
e7f68ef4
RM
46742013-01-10 Roland McGrath <roland@hack.frob.com>
4675
4676 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4677 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4678 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4679 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4680 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4681 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4682 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4683 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4684 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4685 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4686 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4687 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4688 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4689 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4690 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4691 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4692 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4693 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4694 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4695 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4696 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4697 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4698 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4699 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4700 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4701 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4702 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4703
5a47cc9c
DM
47042013-01-10 David S. Miller <davem@davemloft.net>
4705
4706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4707
4cf8f209
L
47082013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4709
4710 * posix/Makefile (tests-static): New variable.
4711 (tests): Add $(tests-static).
4712 (tst-exec-static-ARGS): New variable.
4713 (tst-spawn-static-ARGS): Likewise.
4714 * posix/tst-exec-static.c: New file.
4715 * posix/tst-spawn-static.c: Likewise.
4716 * posix/tst-exec.c: Support run directly.
4717 * posix/tst-spawn.c: Likewise.
4718
fed0faa1
JM
47192013-01-10 Joseph Myers <joseph@codesourcery.com>
4720
828beb13
JM
4721 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4722 long.
4723 * math/bits/mathcalls.h (llrint): Likewise.
4724 (llround): Likewise.
4725 * stdlib/stdlib.h (struct drand48_data): Likewise.
4726 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4727 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4728 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4729 Likewise.
4730 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4731 Likewise.
4732 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4733 (elf_greg_t): Likewise.
4734 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4735 (__jmp_buf): Likewise.
4736 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4737 definitions.
4738 (llrint): Likewise, for all definitions.
4739 (llrintl): Likewise.
4740
fed0faa1
JM
4741 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4742 Remove [__GNUC__] condition.
4743 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4744 condition to just [__USE_ISOC99].
4745 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4746
1a20cb20
L
47472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4748
4749 [BZ #14200]
4750 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4751 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4752 defined.
4753 (_POSIX_V6_ILP32_OFF32): Likewise.
4754 (_XBS5_ILP32_OFF32): Likewise.
4755 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4756 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4757
751b85f7
SP
47582013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4759
7490eb81
SP
4760 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4761
751b85f7
SP
4762 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4763 doubles __mpexp_twomm1. Adjust usage.
4764 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4765 Remove.
4766
988197f0
AS
47672013-01-10 Andreas Schwab <schwab@suse.de>
4768
4769 [BZ #14964]
4770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4771 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4772
e83d7298
DM
47732013-01-09 David S. Miller <davem@davemloft.net>
4774
034ed64b 4775 [BZ #15003]
e83d7298
DM
4776 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4777 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4778 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4779 TCP_FASTOPEN): Define.
4780 (tcp_repair_opt): New structure.
4781 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4782 enum values.
4783 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4784 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4785 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4786 (tcp_cookie_transactions): New structure.
4787
d5e0b9bd
AB
47882013-01-09 Anton Blanchard <anton@samba.org>
4789
4790 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4791 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4792 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4793 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4794
0c07e3ea
JM
47952013-01-09 Joseph Myers <joseph@codesourcery.com>
4796
4797 * include/features.h (__USE_ANSI): Remove.
4798
232f7002
RM
47992013-01-09 Roland McGrath <roland@hack.frob.com>
4800
ad98e30c
RM
4801 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4802
232f7002
RM
4803 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4804
950c99ca
SP
48052013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4806
b5792741
SP
4807 * sysdeps/s390/fpu/libm-test-ulps: Update.
4808
47cf2278
SP
4809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4810
950c99ca
SP
4811 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4812 (__acr): Likewise.
4813 (__cpy): Likewise.
4814 (norm): Likewise.
4815 (denorm): Likewise.
4816 (__mp_dbl): Likewise.
4817 (__dbl_mp): Likewise.
4818 (add_magnitudes): Likewise.
4819 (sub_magnitudes): Likewise.
4820 (__add): Likewise.
4821 (__sub): Likewise.
4822 (__mul): Likewise.
4823 (__inv): Likewise.
4824 (__dvd): Likewise.
4825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4826 (__acr): Likewise.
4827 (__cpy): Likewise.
4828 (norm): Likewise.
4829 (denorm): Likewise.
4830 (__mp_dbl): Likewise.
4831 (__dbl_mp): Likewise.
4832 (add_magnitudes): Likewise.
4833 (sub_magnitudes): Likewise.
4834 (__add): Likewise.
4835 (__sub): Likewise.
4836 (__mul): Likewise.
4837 (__inv): Likewise.
4838 (__dvd): Likewise.
4839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4840 (__acr): Likewise.
4841 (__cpy): Likewise.
4842 (norm): Likewise.
4843 (denorm): Likewise.
4844 (__mp_dbl): Likewise.
4845 (__dbl_mp): Likewise.
4846 (add_magnitudes): Likewise.
4847 (sub_magnitudes): Likewise.
4848 (__add): Likewise.
4849 (__sub): Likewise.
4850 (__mul): Likewise.
4851 (__inv): Likewise.
4852 (__dvd): Likewise.
4853
eede9df9
JM
48542013-01-08 Joseph Myers <joseph@codesourcery.com>
4855
4856 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4857 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4858 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4859 2 && __USE_EXTERN_INLINES]: Likewise.
4860
c40ea3d9
AJ
48612013-01-08 Andreas Jaeger <aj@suse.de>
4862
4863 [BZ# 14985]
4864 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4865 Remove.
4866 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4867 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4868
2ccdea26
AB
48692013-01-07 Anton Blanchard <anton@samba.org>
4870
4871 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4872 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4873 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4874 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4875 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4876 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4877 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4878 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4880 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4881 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4882 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4883 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4884 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4885 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4886 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4887 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4888 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4889 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4890 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4891 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4892 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4893 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4894 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4895 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4896 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4897 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4898 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4899 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4900 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4901 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4903 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4904 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4905 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4906 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4907 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4908 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4909 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4910 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4911 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4912 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4913 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4914
a9708fed
JM
49152013-01-07 Joseph Myers <joseph@codesourcery.com>
4916
375607b9
JM
4917 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4918 (__MALLOC_PMT): Likewise.
4919 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4920 [__GNUC__], only on [_LIBC].
4921 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4922 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4923 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4924 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4925 forward declaration.
4926 (realloc_hook_ini): Likewise.
4927 (memalign_hook_ini): Likewise.
4928 (__libc_memalign): Do not use __MALLOC_PMT in variable
4929 declaration.
4930 (__libc_valloc): Likewise.
4931 (__libc_pvalloc): Likewise.
4932 (__libc_calloc): Likewise.
4933 (__posix_memalign): Likewise.
4934
a9708fed
JM
4935 [BZ #14996]
4936 * math/s_casinh.c: Include <float.h>.
4937 (__casinh): Do not do computation with squaring and square root
4938 for large arguments.
4939 * math/s_casinhf.c: Include <float.h>.
4940 (__casinhf): Do not do computation with squaring and square root
4941 for large arguments.
4942 * math/s_casinhl.c: Include <float.h>.
4943 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4944 (__casinhl): Do not do computation with squaring and square root
4945 for large arguments.
4946 * math/libm-test.inc (casin_test): Add more tests.
4947 (casinh_test): Likewise.
4948 * sysdeps/i386/fpu/libm-test-ulps: Update.
4949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4950
afec409a
L
49512013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4952
4953 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4954 (__x86_64_raw_data_cache_size): Likewise.
4955 (__x86_64_data_cache_size_half): Likewise.
4956 (__x86_64_raw_data_cache_size_half): Likewise.
4957 (__x86_64_shared_cache_size): Likewise.
4958 (__x86_64_raw_shared_cache_size): Likewise.
4959 (__x86_64_shared_cache_size_half): Likewise.
4960 (__x86_64_raw_shared_cache_size_half): Likewise.
4961 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4962 to ...
4963 (__x86_data_cache_size): This.
4964 (__x86_64_raw_data_cache_size): Renamed to ...
4965 (__x86_raw_data_cache_size): This.
4966 (__x86_64_data_cache_size_half): Renamed to ...
4967 (__x86_data_cache_size_half): This.
4968 (__x86_64_raw_data_cache_size_half): Renamed to ...
4969 (__x86_raw_data_cache_size_half): This.
4970 (__x86_64_shared_cache_size): Renamed to ...
4971 (__x86_shared_cache_size): This.
4972 (__x86_64_raw_shared_cache_size): Renamed to ...
4973 (__x86_raw_shared_cache_size): This.
4974 (__x86_64_shared_cache_size_half): Renamed to ...
4975 (__x86_shared_cache_size_half): This.
4976 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4977 (__x86_raw_shared_cache_size_half): This.
4978 * sysdeps/x86_64/memcpy.S: Updated.
4979 * sysdeps/x86_64/memset.S: Likewise.
4980 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4981 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4982 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4983
0b3986d0
DM
49842013-01-04 David S. Miller <davem@davemloft.net>
4985
4986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4987
e47686e9
AS
49882013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4989
d643bac1
AS
4990 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4991 1 to avoid redefinition warning.
4992 (__USE_GNU): Don't define.
4993 (init_signaling_nan): Protoize.
4994
e47686e9
AS
4995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4996
b18decba
SP
49972013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4998
fffb407f
SP
4999 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5001 (__cpymn): Likewise.
5002 (norm): Remove commented code.
5003 (denorm): Likewise.
5004 (__mp_dbl): Likewise.
5005 (__inv): Likewise.
5006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5007 (__cpymn): Likewise.
5008 (norm): Remove commented code.
5009 (denorm): Likewise.
5010 (__mp_dbl): Likewise.
5011 (__inv): Likewise.
5012
b18decba
SP
5013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5014 mp_no value for 1.0 and 2.0.
5015 (norm): Use RADIXI instead of radixi.d.
5016 (denorm): Likewise.
5017 (__mul): Use 0.0 instead of zero.d.
5018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5019 mp_no value for 1.0 and 2.0.
5020 (norm): Use RADIXI instead of radixi.d.
5021 (denorm): Likewise.
5022 (__mul): Use 0.0 instead of zero.d.
5023
cdc1c96f
JM
50242013-01-04 Joseph Myers <joseph@codesourcery.com>
5025
5026 [BZ #14994]
5027 * math/s_casinh.c (__casinh): Reduce finite argument to first
5028 quadrant then set signs of results at the end.
5029 * math/s_casinhf.c (__casinhf): Likewise.
5030 * math/s_casinhl.c (__casinhl): Likewise.
5031 * math/libm-test.inc (casin_test): Add more tests.
5032 (casinh_test): Likewise.
5033 * sysdeps/i386/fpu/libm-test-ulps: Update.
5034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5035
302913e1
SP
50362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5037
6420d207
SP
5038 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5039
a9e48ab4
SP
5040 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5041
b7837264
SP
5042 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5043 declarations.
5044 (denorm): Likewise.
5045 (__mp_dbl): Likewise.
5046 (__inv): Likewise.
5047
f8af25d2
SP
5048 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5049 and adjust the header comment.
5050
302913e1
SP
5051 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5052 variable name from declaration.
5053
5d7dd1ca
L
50542013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5055
5056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5057 Initialize COMMON_CPUID_INDEX_7 element.
5058 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5059 (CPUID_RTM): Likewise.
5060 (HAS_RTM): Likewise.
5061 (COMMON_CPUID_INDEX_7): New enum.
5062
2f5f40f4
AS
50632013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5064
5065 [BZ #14981]
5066 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5067 size is zero, record memory as freed.
5068
4056f4a0
AJ
50692013-01-03 Andreas Jaeger <aj@suse.de>
5070
5071 * po/ia.po: Add new Interlingua translation.
5072
ab15736f 50732012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5074
5075 * locale/programs/localedef.c: Fix description of '--posix' flag.
5076
568035b7
JM
50772013-01-02 Joseph Myers <joseph@codesourcery.com>
5078
e6898b8d
JM
5079 * NEWS: Update dates in second copyright notice.
5080 * README: Update copyright dates in example.
5081 * manual/libc.texinfo: Update copyright dates.
5082 * scripts/test-installation.pl: Update copyright date in --version
5083 output.
5084
0e2f9562
JM
5085 * hurd/ctty-input.c: Fix copyright notice formatting.
5086 * hurd/ctty-output.c: Likewise.
5087 * hurd/dtable.c: Likewise.
5088 * hurd/hurd-raise.c: Likewise.
5089 * hurd/hurdprio.c: Likewise.
5090 * hurd/msgportdemux.c: Likewise.
5091 * misc/sys/file.h: Likewise.
5092 * misc/sys/ioctl.h: Likewise.
5093 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5094 * sysdeps/mach/hurd/chdir.c: Likewise.
5095 * sysdeps/mach/hurd/fchdir.c: Likewise.
5096 * sysdeps/mach/hurd/rename.c: Likewise.
5097 * sysdeps/mach/hurd/rmdir.c: Likewise.
5098 * sysdeps/mach/hurd/seekdir.c: Likewise.
5099 * sysdeps/mach/hurd/setsid.c: Likewise.
5100 * sysdeps/posix/wait3.c: Likewise.
5101
568035b7
JM
5102 * All files with FSF copyright notices: Update copyright dates
5103 using scripts/update-copyrights.
5104 * intl/plural.c: Regenerated.
5105 * locale/programs/charmap-kw.h: Likewise.
5106 * locale/programs/locfile-kw.h: Likewise.
5107
da08f647
SP
51082013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5109
0f5477af
SP
5110 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5111 four values.
5112
44e0d4c2
SP
5113 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5114 calculation loop and add branch prediction.
5115
4d55b4e5
SP
5116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5117 check access beyond bounds of m1np.
5118
da08f647
SP
5119 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5120 MPTWO.
5121 (__inv): Remove local variable MPTWO to use the global
5122 constant.
5123 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5124 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5125 variable MPTWO.
5126 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5127 MP3HALFS static const.
5128
8e051029
DM
51292013-01-01 David S. Miller <davem@davemloft.net>
5130
5131 * po/ca.po: Update from translation team.
5132
f4cf5f2d
JM
51332013-01-01 Joseph Myers <joseph@codesourcery.com>
5134
5135 * scripts/update-copyrights: New file.
5136 * Makeconfig: Reformat copyright notice.
5137 * ctype/ctype.h: Likewise.
5138 * debug/swprintf_chk.c: Likewise.
5139 * elf/dl-cache.c: Likewise.
5140 * elf/dl-debug.c: Likewise.
5141 * elf/dl-object.c: Likewise.
5142 * grp/initgroups.c: Likewise.
5143 * hurd/Makefile: Likewise.
5144 * hurd/hurd/signal.h: Likewise.
5145 * hurd/hurdfault.c: Likewise.
5146 * hurd/hurdioctl.c: Likewise.
5147 * hurd/hurdlookup.c: Likewise.
5148 * hurd/intr-msg.c: Likewise.
5149 * iconv/gconv_open.c: Likewise.
5150 * libio/swprintf.c: Likewise.
5151 * locale/lc-ctype.c: Likewise.
5152 * locale/nl_langinfo.c: Likewise.
5153 * mach/Machrules: Likewise.
5154 * mach/Makefile: Likewise.
5155 * malloc/obstack.h: Likewise.
5156 * manual/Makefile: Likewise.
5157 * manual/tsort.awk: Likewise.
5158 * misc/bits/stab.def: Likewise.
5159 * nis/nis_print_group_entry.c: Likewise.
5160 * nis/nis_table.c: Likewise.
5161 * nis/nss_compat/compat-pwd.c: Likewise.
5162 * nis/nss_compat/compat-spwd.c: Likewise.
5163 * po/Makefile: Likewise.
5164 * posix/fnmatch.c: Likewise.
5165 * posix/regex.h: Likewise.
5166 * resolv/Makefile: Likewise.
5167 * resolv/nss_dns/dns-network.c: Likewise.
5168 * resolv/res_hconf.c: Likewise.
5169 * scripts/gen-sorted.awk: Likewise.
5170 * soft-fp/soft-fp.h: Likewise.
5171 * stdio-common/printf.h: Likewise.
5172 * stdlib/monetary.h: Likewise.
5173 * stdlib/random.c: Likewise.
5174 * stdlib/random_r.c: Likewise.
5175 * sysdeps/generic/Makefile: Likewise.
5176 * sysdeps/gnu/Makefile: Likewise.
5177 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5179 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5180 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5181 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5184 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5185 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5186 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5187 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5188 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5189 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5190 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5191 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5192 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5193 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5194 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5195 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5197 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5198 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5199 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5200 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5201 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5202 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5203 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5205 * sysdeps/mach/hurd/errnos.awk: Likewise.
5206 * sysdeps/mach/hurd/fork.c: Likewise.
5207 * sysdeps/mach/hurd/getcwd.c: Likewise.
5208 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5209 * sysdeps/mach/hurd/mmap.c: Likewise.
5210 * sysdeps/mach/hurd/utimes.c: Likewise.
5211 * sysdeps/mach/hurd/xmknod.c: Likewise.
5212 * sysdeps/posix/profil.c: Likewise.
5213 * sysdeps/posix/readdir_r.c: Likewise.
5214 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5215 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5216 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5217 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5219 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5220 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5221 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5223 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5224 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5225 * sysdeps/pthread/lio_listio.c: Likewise.
5226 * sysdeps/sparc/dl-procinfo.h: Likewise.
5227 * sysdeps/unix/i386/sysdep.S: Likewise.
5228 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5229 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5230 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5231 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5233 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5234 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5235 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5236 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5237 * sysdeps/wordsize-32/divdi3.c: Likewise.
5238 * time/sys/time.h: Likewise.
5239 * wcsmbs/Makefile: Likewise.
5240
0549fbba
DM
52412013-01-01 David S. Miller <davem@davemloft.net>
5242
a141f1a7
DM
5243 * po/fr.po: Update from translation team.
5244
0549fbba
DM
5245 * catgets/gencat.c: Update copyright year.
5246 * csu/version.c: Likewise.
5247 * debug/catchsegv.sh: Likewise.
5248 * debug/pcprofiledump.c: Likewise.
5249 * debug/xtrace.sh: Likewise.
5250 * elf/ldconfig.c: Likewise.
5251 * elf/ldd.bash.in: Likewise.
5252 * elf/pldd.c: Likewise.
5253 * elf/sotruss.ksh: Likewise.
5254 * elf/sprof.c: Likewise.
5255 * iconv/iconv_prog.c: Likewise.
5256 * iconv/iconvconfig.c: Likewise.
5257 * locale/programs/locale.c: Likewise.
5258 * locale/programs/localedef.c: Likewise.
5259 * login/programs/pt_chown.c: Likewise.
5260 * malloc/memusage.sh: Likewise.
5261 * malloc/memusagestat.c: Likewise.
5262 * malloc/mtrace.pl: Likewise.
5263 * nscd/nscd.c: Likewise.
5264 * nss/getent.c: Likewise.
5265 * nss/makedb.c: Likewise.
5266 * posix/getconf.c: Likewise.
5267
18ea052c
SP
52682012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5269
5270 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5271 numbers.
5272
9c89fca6
MF
52732012-12-30 Mike Frysinger <vapier@gentoo.org>
5274
5275 * math/bits/mathcalls.h (modf): Use __nonnull.
5276
085ec079
SP
52772012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5278
5279 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5280 (split): Use macro CN instead of the bare value.
5281 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5282 could be used.
5283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5284 instead of the bare value.
5285 (power1): Likewise.
5286
6d9f97e1
SP
52872012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5288
d63f73be
SP
5289 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5290 __ATAN_TWOM.
5291 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5292
6d9f97e1
SP
5293 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5294 their values.
5295 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5296 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5297 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5298 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5299
4c4febf5
AJ
53002012-12-28 Andreas Jaeger <aj@suse.de>
5301
af5843ef
AJ
5302 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5303 values are from Linux 3.7.
5304
4c4febf5
AJ
5305 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5306 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5307
99136f82
SP
53082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5309
2f216c3c 5310 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5311 TRUE case.
5312
99136f82
SP
5313 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5314 (norm): Likewise.
5315 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5316 variables with preprocessor constants.
5317 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5318 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5319 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5320
7fffbdff
BH
53212012-12-27 Bruno Haible <bruno@clisp.org>
5322
5323 [BZ #14317]
5324 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5325 only if needed.
5326
b76eb5f0
SP
53272012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5328
31a7fe5c
SP
5329 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5330 and use variable directly.
5331 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5332
b76eb5f0
SP
5333 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5334 MPONE.
5335 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5337 variable MPONE.
5338 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5339 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5340 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5341 include directive. Remove local variable MPONE.
5342 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5343 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5344 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5345
2c8bfe7d
DM
53462012-12-25 David S. Miller <davem@davemloft.net>
5347
5348 * version.h (RELEASE): Set to "development".
5349 (VERSION): Set to "2.17.90".
5350 * NEWS: Add 2.18 section.
5351
147d03b0
DM
53522012-12-21 David S. Miller <davem@davemloft.net>
5353
5354 * po/hr.po: Update from translation team.
5355
a8ebb2b9
AK
53562012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5357
5358 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5359
95b4f1b6
SE
53602012-12-19 Steve Ellcey <sellcey@mips.com>
5361
b2d94007 5362 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5363
cedb2a90
MS
53642012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5365
5366 * manual/contrib.texi (Contributors): Spelling correction.
5367
bbf527d6
DM
53682012-12-15 David S. Miller <davem@davemloft.net>
5369
5370 * po/ru.po: Update from translation team.
5371
bc38c906
DM
53722012-12-13 David S. Miller <davem@davemloft.net>
5373
85429b1a
DM
5374 * NEWS: Mention IFUNC testsuite enhancements.
5375
d283e353
DM
5376 * po/pl.po: Update from translation team.
5377 * po/bg.po: Likewise.
5378
bc38c906
DM
5379 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5380 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5381
a181b0d7
DM
53822012-12-11 David S. Miller <davem@davemloft.net>
5383
4641d57e
DM
5384 * po/sv.po: Update from translation team.
5385
f7bc6495
DM
5386 * po/vi.po: Update from translation team.
5387
6fc9048f
DM
5388 * po/cs.po: Update from translation team.
5389
a181b0d7
DM
5390 * po/de.po: Update from translation team.
5391 * po/eo.po: Likewise.
5392 * po/nl.po: Likewise.
5393
f70bfe80
SP
53942012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5395
3c8b4190
SP
5396 [BZ #14246]
5397 * manual/argp.texi (Argp Helper Functions): Move node to follow
5398 Argp Parsing State.
5399
f70bfe80
SP
5400 [BZ #14872]
5401 * manual/conf.texi (Limits on File System Capacity): Mention if
5402 terminating null is included in the max size.
5403
188f0adf
AJ
54042012-12-10 Andreas Jaeger <aj@suse.de>
5405
5406 * po/cs.po: Update from translation team.
5407
56e7d3ad
SP
54082012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5409
5410 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5411 void pointer and cast to uintptr_t.
5412 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5413 path.
5414 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5415 * sysdeps/s390/s390-64/memset.S: Likewise.
5416
76f2d2ea 54172012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5418
5419 [BZ #14833]
5420 * menual/message.texi (Message Translation): Fix typos.
5421 (Helper programs for gettext): Likewise.
5422
67cbf9a2
AS
54232012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5424
5425 [BZ #14898]
5426 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5427 Change to -1.
5428
682d0e9a
DM
54292012-12-07 David S. Miller <davem@davemloft.net>
5430
5431 * po/libc.pot: Update.
5432
573cd484
RH
54332012-12-07 Richard Henderson <rth@redhat.com>
5434
7e9da188 5435 [BZ #10114]
573cd484
RH
5436 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5437 normal/normal case to before the switch.
5438 (_FP_DIV): Likewise.
5439
e933a943
MF
54402012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5441 Mike Frysinger <vapier@gentoo.org>
5442
5443 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5444 check for __NR_fadvise64_64.
5445
82123268
CM
54462012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5447
5448 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5449 0, not just to plain "0" as a statement.
5450 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5451 with cw.
5452
d9814526
JM
54532012-12-06 Joseph Myers <joseph@codesourcery.com>
5454
5455 * NEWS: Use sourceware.org in Bugzilla URL.
5456
7728c574
SP
54572012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5458
f16946dd
SP
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5460 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5461
5704bbcb
SP
5462 * stdio-common/tst-put-error.c (do_test): Add newline to the
5463 padded test to ensure flush.
5464
17aa0516
JL
54652012-12-05 Jeff Law <law@redhat.com>
5466
5467 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5468
363313b5
JM
54692012-12-05 Joseph Myers <joseph@codesourcery.com>
5470
effbd42a
JM
5471 * README: Don't refer to ports add-on as distributed separately.
5472 Mention AArch64 in list of systems supported in the ports add-on.
5473
87600365
JM
5474 * LICENSES: Add more non-FSF copyright and license notices.
5475
a0d7066a
JM
5476 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5477 ((unused)).
5478
66ca5a5b
JM
5479 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5480
363313b5
JM
5481 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5482 10000 as width of padded output.
5483
b37984ad
JM
54842012-12-04 Joseph Myers <joseph@codesourcery.com>
5485
9003570a
JM
5486 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5487
b37984ad
JM
5488 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5489 variable LX with __attribute__ ((unused)).
5490 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5491 Likewise.
5492 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5494 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5495 with __attribute__ ((unused)).
5496
c8df52ec
DM
54972012-12-04 David S. Miller <davem@abraco.davemloft.net>
5498
5499 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5500
b3b099af
JM
55012012-12-04 Joseph Myers <joseph@codesourcery.com>
5502
c33aa6e3
JM
5503 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5504 (CFLAGS-nldbl-acos.c): New variable.
5505 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5506 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5507 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5508 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5509 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5510 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5511 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5512 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5513 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5514 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5515 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5516 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5517 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5518 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5519 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5520 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5521 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5522 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5523 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5524 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5525 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5526 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5527 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5528 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5529 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5530 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5531 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5532 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5533 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5534 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5535 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5536 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5537 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5538 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5539 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5540 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5541 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5542 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5543 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5544 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5545 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5546 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5547 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5548 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5549 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5550 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5551 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5552 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5553 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5554 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5555 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5556 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5557 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5558 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5559 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5560 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5561 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5562 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5563 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5564 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5565 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5566 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5567 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5568 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5569 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5570 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5571 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5572 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5573 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5574 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5575 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5576 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5577 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5578 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5579 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5580 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5581 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5582 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5583 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5584 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5585 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5586 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5587 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5588 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5589 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5590 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5591 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5592 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5593 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5594 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5595 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5596 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5597 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5598 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5599 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5600 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5601 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5602
20f0018d
JM
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5604 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5605
b3b099af
JM
5606 [BZ #14914]
5607 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5608 whole low double instead of just low 47 bits when splitting values
5609 into two parts.
5610
029264d1
AM
56112012-12-03 Allan McRae <allan@archlinux.org>
5612
5613 * manual/stdio.texi (Predefined Printf Handlers): Remove
5614 @hsep and @vsep usage.
5615
c9d6789e
MF
56162012-12-03 Mike Frysinger <vapier@gentoo.org>
5617
5618 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5619 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5620
4b7634a5
JL
56212012-12-03 Jeff Law <law@redhat.com>
5622
5623 * time/sys/time.h (settimeofday): Do not mark TV argument
5624 as __nonnull.
5625
eb6cbd24
MF
56262012-12-01 Mike Frysinger <vapier@gentoo.org>
5627
5628 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5629 when currently writing and seek to current position when not.
5630 * libio/Makefile (tests): Remove bug-fclose1.
5631 * libio/bug-fclose1.c: Delete.
5632
f638872a
JM
56332012-12-01 Joseph Myers <joseph@codesourcery.com>
5634
5635 * manual/arith.texi (feenableexcept): Fix typo.
5636 (fedisableexcept): Likewise.
5637
48085d14
RM
56382012-11-30 Roland McGrath <roland@hack.frob.com>
5639
5640 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5641 second, differently-typed declaration, rather than a cast.
5642
1a538b9f
SP
56432012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5644
5645 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5646 * include/rpc/svc.h: ... here.
5647
d07f2ff1 56482012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5649
5650 [BZ #13013]
5651 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5652 depending n and resplen2 to catch cases where answer
5653 equals answerp2.
5654
c93ec1f0
CD
56552012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5656
5657 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5658 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5659
37db69de
MF
56602012-11-29 Mike Frysinger <vapier@gentoo.org>
5661
5662 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5663
e10c4e4f
RM
56642012-11-29 Roland McGrath <roland@hack.frob.com>
5665
5666 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5667
2af1b328
JL
56682012-11-28 Jeff Law <law@redhat.com>
5669
5670 [BZ #13761]
5671 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5672 dataset_temporary. Track alloca usage into alloca_used.
5673 If dataset is large allocate and release it via malloc/free.
5674
111db5b1
FW
56752012-06-04 Florian Weimer <fweimer@redhat.com>
5676
f06cc227 5677 [BZ #14197]
111db5b1
FW
5678 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5679
dd694abd
DM
56802012-11-28 David S. Miller <davem@davemloft.net>
5681
5682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5683
9984dd01
JM
56842012-11-28 Joseph Myers <joseph@codesourcery.com>
5685
5686 [BZ #14803]
5687 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5688 of pi/2 rounded to nearest to 64 bits.
5689 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5690 nearest to 64 bits.
5691 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5692 bits.
5693
14bc93a9
JL
56942012-11-28 Jeff Law <law@redhat.com>
5695 Martin Osvald <mosvald@redhat.com>
5696
5697 [BZ #14889]
5698 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5699 * sunrpc/svc.c: Include time.h.
5700 (__svc_accept_failed): New function.
5701 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5702 any reason other than EINTR, call __svc_accept_failed.
5703 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5704 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5705
e3c6aa3a
AS
57062012-11-28 Andreas Schwab <schwab@suse.de>
5707
5708 * scripts/abilist.awk: Also handle indirect functions in .opd
5709 section.
5710
1bead169
JM
57112012-11-28 Joseph Myers <joseph@codesourcery.com>
5712
5713 [BZ #13881]
5714 * sysdeps/x86/fpu/powl_helper.c: New file.
5715 * sysdeps/x86/fpu/Makefile: Likewise.
5716 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5717 (p3): New object.
5718 (__ieee754_powl): Use __powl_helper for finite arguments except
5719 integer exponents below 8.
5720 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5721 (p3): New object.
5722 (__ieee754_powl): Use __powl_helper for finite arguments except
5723 integer exponents below 8.
5724 * math/libm-test.inc (pow_test): Add more tests and enable some
5725 previously disabled tests.
5726 * sysdeps/i386/fpu/libm-test-ulps: Update.
5727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5728
0817d63d
SP
57292012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5730 Carlos O'Donell <carlos_odonell@mentor.com>
5731
5732 * nss/makedb.c (is_prime): Assert that input is odd and greater
5733 than 4. Note that fact in a comment too.
5734 (next_prime): Add 4 to input.
5735
de2fd463
SP
57362012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5737
5738 [BZ #11741]
5739 * libio/Makefile (tests): Add test case tst-fwrite-error.
5740 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5741 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5742 * libio/tst-fwrite-error.c: New test case.
5743
c515fb51
L
57442012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5745
5746 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5747 before casting to void *.
5748 * include/libc-internal.h (__pointer_type): New macro.
5749 (__integer_if_pointer_type_sub): Likewise.
5750 (__integer_if_pointer_type): Likewise.
5751 (cast_to_integer): Likewise.
5752 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5753 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5754 before casting to atomic64_t.
5755 (atomic_exchange_acq): Likewise.
5756 (__arch_exchange_and_add_body): Likewise.
5757 (__arch_add_body): Likewise.
5758 (atomic_add_negative): Likewise.
5759 (atomic_add_zero): Likewise.
5760
4cf77aa9
JM
57612012-11-26 Joseph Myers <joseph@codesourcery.com>
5762
5763 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5764 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5765 (add_fdes): Likewise.
5766 (linear_search_fdes): Likewise.
5767 (binary_search_unencoded_fdes): Likewise.
5768
d260b3b4
AS
57692012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5770
5771 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5772
67060746
AC
57732012-11-24 Adam Conrad <adconrad@0c3.net>
5774
5775 * configure.in: Autodetect C++ header directories.
5776 * configure: Regenerated.
5777
800938a1
MF
57782012-11-23 Mike Frysinger <vapier@gentoo.org>
5779
5780 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5781
4e6e34e6
AS
57822012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5783
5784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5785
7c7feb47
JM
57862012-11-22 Joseph Myers <joseph@codesourcery.com>
5787
7184dcdf
JM
5788 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5789 LDBL_MANT_DIG == 106]: Disable some tests.
5790 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5791 Likewise.
5792 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5793 Likewise.
5794
0a42601f
JM
5795 [BZ #14871]
5796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5797 input for small inputs. Return +/- pi/2 for large inputs.
5798 * math/libm-test.inc (atan_test): Add more tests.
5799
79c9b9fe
JM
5800 * sysdeps/generic/unwind-dw2-fde-glibc.c
5801 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5802 __attribute__ ((unused)).
5803
c60d3bf2
JM
5804 [BZ #14645]
5805 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5806 x * y if x and y are nonzero and z is zero.
5807
ef1e0867
JM
5808 [BZ #14811]
5809 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5810 nonzero exponents with absolute value below 0x1p-117 to +/-
5811 0x1p-117.
5812
1468ded3
JM
5813 [BZ #14869]
5814 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5815 up arguments below 2**-450, not just those below 2**-500.
5816 * math/libm-test.inc (hypot_test): Add another test.
5817
8e27e3cc
JM
5818 [BZ #14868]
5819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5820 Return a+b for ratio over 2**120, not 2**60.
5821 * math/libm-test.inc (hypot_test): Add another test.
5822
c9c0279b
JM
5823 * math/libm-test.inc (clog_test): Use
5824 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5825 (clog10_test): Likewise.
5826
7c7feb47
JM
5827 [BZ #6778]
5828 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5829
fff1530e
AS
58302012-11-22 Andreas Schwab <schwab@suse.de>
5831
5832 * sysdeps/i386/fpu/libm-test-ulps: Update.
5833
94558d30
PT
58342012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5835
5836 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5837 printf output with newline.
5838
7e1be741
L
58392012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5840
6bfea974
L
5841 [BZ #14865]
5842 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5843 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5844 -z nodlopen, -z initfirst and -z execstack support.
5845 * configure: Regenerated.
5846
7e1be741
L
5847 * elf/elf.h (DF_1_NODIRECT): New macro.
5848 (DF_1_IGNMULDEF): Likewise.
5849 (DF_1_NOKSYMS): Likewise.
5850 (DF_1_NOHDR): Likewise.
5851 (DF_1_EDITED): Likewise.
5852 (DF_1_NORELOC): Likewise.
5853 (DF_1_SYMINTPOSE): Likewise.
5854 (DF_1_GLOBAUDIT): Likewise.
5855 (DF_1_SINGLETON): Likewise.
5856 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5857 DT_1_SUPPORTED_MASK bits.
5858 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5859
105ce2ce
CD
58602012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5861
5862 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5863
123be9de
TS
58642012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5865
d072f3f7
TS
5866 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5867 macro.
5868
123be9de
TS
5869 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5870 (sendmmsg): Move declarations...
5871 * socket/sys/socket.h: ... here.
5872 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5873 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5874 include it from...
5875 * socket/recvmmsg.c: ... this new file.
5876 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5877 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5878 definition of __sendmmsg hidden.
5879 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5880 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5881 Move ENOSYS stub into and include it from...
5882 * socket/sendmmsg.c: ... this new file.
5883 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5884 (sysdep_routines): Move recvmmsg and sendmmsg...
5885 * socket/Makefile (routines): ... here.
5886 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5887 (GLIBC_PRIVATE): Add __sendmmsg.
5888 * include/sys/socket.h (__sendmmsg): Add declarations.
5889 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5890 sendmmsg.
5891
cf9a5d18
JM
58922012-11-20 Joseph Myers <joseph@codesourcery.com>
5893
5894 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5895 variable I1 with __attribute__ ((unused)).
5896 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5897
ecd4caf9
JM
58982012-11-19 Joseph Myers <joseph@codesourcery.com>
5899
be14d48f
JM
5900 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5901 DUMMY variables with __attribute__ ((unused)).
5902
ecd4caf9
JM
5903 * bits/byteswap.h: Include <bits/types.h>.
5904 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5905
986cab95
PT
59062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5907
5908 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5909 string_t. Do not manually set errno.
5910 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5911 length with __strnlen. Make sure to both set errno and return it on
5912 failure.
5913
6d33cc9d
DM
59142012-11-19 David S. Miller <davem@davemloft.net>
5915
5916 With help from Joseph Myers.
5917 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5918 very large arguments properly.
5919 * math/libm-test.inc (atan_test): New tests.
5920 (atan2_test): New tests.
5921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5923
ee663277
JM
59242012-11-19 Joseph Myers <joseph@codesourcery.com>
5925
877f2d8e
JM
5926 [BZ #14856]
5927 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5928 Define to 3.
5929
116fc08a
JM
5930 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5931 [POSIX] (EADDRNOTAVAIL): Likewise.
5932 [POSIX] (EAFNOSUPPORT): Likewise.
5933 [POSIX] (EALREADY): Likewise.
5934 [POSIX] (ECONNABORTED): Likewise.
5935 [POSIX] (ECONNREFUSED): Likewise.
5936 [POSIX] (ECONNRESET): Likewise.
5937 [POSIX] (EDESTADDRREQ): Likewise.
5938 [POSIX] (EDQUOT): Likewise.
5939 [POSIX] (EHOSTUNREACH): Likewise.
5940 [POSIX] (EIDRM): Likewise.
5941 [POSIX] (EISCONN): Likewise.
5942 [POSIX] (ELOOP): Likewise.
5943 [POSIX] (EMULTIHOP): Likewise.
5944 [POSIX] (ENETDOWN): Likewise.
5945 [POSIX] (ENETUNREACH): Likewise.
5946 [POSIX] (ENOBUFS): Likewise.
5947 [POSIX] (ENODATA): Likewise.
5948 [POSIX] (ENOLINK): Likewise.
5949 [POSIX] (ENOMSG): Likewise.
5950 [POSIX] (ENOPROTOOPT): Likewise.
5951 [POSIX] (ENOSR): Likewise.
5952 [POSIX] (ENOSTR): Likewise.
5953 [POSIX] (ENOTCONN): Likewise.
5954 [POSIX] (ENOTSOCK): Likewise.
5955 [POSIX] (EOPNOTSUPP): Likewise.
5956 [POSIX] (EOVERFLOW): Likewise.
5957 [POSIX] (EPROTO): Likewise.
5958 [POSIX] (EPROTONOSUPPORT): Likewise.
5959 [POSIX] (EPROTOTYPE): Likewise.
5960 [POSIX] (ESTALE): Likewise.
5961 [POSIX] (ETIME): Likewise.
5962 [POSIX] (ETXTBSY): Likewise.
5963 [POSIX] (EWOULDBLOCK): Likewise.
5964 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5965 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5966 [POSIX] (SEEK_CUR): Likewise.
5967 [POSIX] (SEEK_END): Likewise.
5968 [POSIX || UNIX98] (mode_t): Do not require.
5969 [POSIX] (off_t): Likewise.
5970 [POSIX] (pid_t): Likewise.
5971 [POSIX] (sys/stat.h): Do not allow header.
5972 [POSIX] (unistd.h): Likewise.
5973 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5974 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5975 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5976 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5977 require.
5978 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5979 sigevent): Specify elements.
5980 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5981 entry.
5982 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5983 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5984
a483863f
JM
5985 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5986 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5987 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5988 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5989 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5990 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5991 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5992 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5993 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5994 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5995 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5996 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5997 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5998 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5999 Likewise.
6000 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6001 Likewise.
6002 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6003 Likewise.
6004 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6005 Likewise.
6006 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6007 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6008 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6009 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6010 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6011 Specify lower bound on value.
6012 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6013 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6014 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6015 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6016 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6017 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6018 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6019 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6020 value.
6021 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6022 as optional.
6023 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6024 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6025 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6026 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6027 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6028 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6029 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6030 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6031 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6032 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6033 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6034 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6035 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6036 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6037 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6038 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6039 entry.
6040 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6041 optional.
6042 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6043 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6044 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6045 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6046 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6047 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6048 Likewise.
6049 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6050 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6051 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6052 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6053 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6054 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6055 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6056 as optional.
6057 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6058 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6059 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6060 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6061 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6062 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6063 specify as optional.
6064 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6065 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6066 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6067 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6068 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6069 [XPG3] (NL_LANGMAX): Likewise.
6070 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6071 [POSIX || XPG3] (NL_NMAX): Likewise.
6072 [POSIX || XPG3] (NL_SETMAX): Likewise.
6073 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6074 [XPG3] (NZERO): Likewise.
6075 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6076 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6077 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6078 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6079 (REG_ERANGE): Expect.
6080 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6081 optional-constant.
6082 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6083 Use (void) in prototype.
6084 [POSIX] (*_t): Allow.
6085 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6086 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6087 (WRDE_BADVAL): Expect.
6088
5ba924e3
JM
6089 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6090 expect.
6091 [XPG3 || XPG4] (O_RSYNC): Likewise.
6092 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6093 Likewise.
6094 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6095 [XPG3 || XPG4] (sigqueue): Likewise.
6096 [XPG3 || XPG4] (sigtimedwait): Likewise.
6097 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6098 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6099 [XPG3 || XPG4] (vsnprintf): Likewise.
6100 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6101 Likewise.
6102 [XPG3 || XPG4] (blksize_t): Likewise.
6103 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6104 Likewise.
6105 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6106 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6107 [XPG3 || XPG4] (struct itimerspec): Likewise.
6108 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6109 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6110 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6111 [XPG3 || XPG4] (clockid_t): Likewise.
6112 [XPG3 || XPG4] (timer_t): Likewise.
6113 [XPG3 || XPG4] (clock_getres): Likewise.
6114 [XPG3 || XPG4] (clock_gettime): Likewise.
6115 [XPG3 || XPG4] (clock_settime): Likewise.
6116 [XPG3 || XPG4] (nanosleep): Likewise.
6117 [XPG3 || XPG4] (timer_create): Likewise.
6118 [XPG3 || XPG4] (timer_delete): Likewise.
6119 [XPG3 || XPG4] (timer_gettime): Likewise.
6120 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6121 [XPG3 || XPG4] (timer_settime): Likewise.
6122 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6123 [XPG3 || XPG4] (getlogin_r): Likewise.
6124 [XPG3 || XPG4] (pread): Likewise.
6125 [XPG3 || XPG4] (pthread_atfork): Likewise.
6126 [XPG3 || XPG4] (pwrite): Likewise.
6127
ee663277
JM
6128 [BZ #14835]
6129 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6130 <bits/siginfo.h>.
6131
942caa16
PT
61322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6133
e19af380
PT
6134 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6135 finalizing MALLSTREAM.
6136
942caa16
PT
6137 * sysdeps/mach/hurd/syncfs.c: New file.
6138
cfde9b46
SP
61392012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6140
6141 [BZ #14719]
6142 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6143 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6144 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6145 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6146 (_nss_dns_gethostbyname4_r): Likewise.
6147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6148 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6149
f6da27e5
PH
61502012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6151
6152 [BZ #13763]
6153 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6154
6665d4a2
SM
61552012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6156
1f51ee92
SM
6157 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6158 * elf/cache.c (print_entry): Print ",AArch64" for
6159 FLAG_AARCH64_LIB64
6160
6665d4a2
SM
6161 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6162 * elf/cache.c (print_entry): Print ",hard-float" for
6163 FLAG_ARM_LIBHF.
6164
05b227bd
DM
61652012-11-18 David S. Miller <davem@davemloft.net>
6166
6167 With help from Joseph Myers.
6168 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6169 cutoff to 2**-13.
6170 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6171 cutoff to 2**-25.
6172 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6173 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6174 small.
6175 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6176 * math/libm-test.inc (y0_test): New tests.
6177 (y1_test): New tests.
6178 * sysdeps/i386/fpu/libm-test-ulps: Update.
6179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6181
786b0b67
AS
61822012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6183
6184 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6185 64-bit targets.
6186 * configure: Regenerated.
6187
8e18b86d
DM
61882012-11-17 David S. Miller <davem@davemloft.net>
6189
6190 [BZ #14811]
6191 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6192 nonzero exponents with absolute value below 0x1p-128 to +/-
6193 0x1p-128.
6194
531f1ae0
JM
61952012-11-17 Joseph Myers <joseph@codesourcery.com>
6196
12df29e2
JM
6197 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6198
150dc1a0
JM
6199 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6200
531f1ae0
JM
6201 * posix/getconf-speclist.c: New file.
6202 * posix/posix-envs.def: Likewise.
6203 * posix/confstr.c (START_ENV_GROUP): New macro.
6204 (END_ENV_GROUP): Likewise.
6205 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6206 (KNOWN_PRESENT_ENV_STRING): Likewise.
6207 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6208 (UNKNOWN_ENVIRONMENT): Likewise.
6209 (confstr): Include posix-envs.def instead of handling
6210 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6211 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6212 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6213 (END_ENV_GROUP): Likewise.
6214 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6215 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6216 (UNKNOWN_ENVIRONMENT): Likewise.
6217 (__sysconf): Include posix-envs.def instead of handling associated
6218 cases directly here.
6219 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6220 preprocessing getconf-speclist.c rather than running getconf or
6221 generating empty file.
6222
a93f9cbc
PT
62232012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6224
6225 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6226
d64d9f87
AL
62272012-11-16 Andrej Lajovic <natrij@gmail.com>
6228
6229 [BZ #14672]
6230 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6231
447885eb
DM
62322012-11-16 David S. Miller <davem@davemloft.net>
6233
6234 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6235 smaller than LDBL_EPSILON/2.0L, just return xm1.
6236
bcbf9830
L
62372012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6238
6239 * elf/tst-array1.c (init): Set constructor priority to 1000.
6240 (fini): Set destructor priority to 1000.
6241 * elf/tst-array2dep.c: Likewise.
6242
2b766585
SP
62432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6244
6245 [BZ #11741]
6246 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6247 (_IO_new_file_xsputn): Also return EOF if none of the input
6248 data was written when overflow failed.
6249 * libio/iopadn.c (_IO_padn): Likewise.
6250 * libio/iowpadn.c (_IO_wpadn): Likewise.
6251 * stdio-common/tst-put-error.c: Add copyright notice.
6252 (do_test): Add case for printing padded string.
6253 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6254 _IO_padn returned error.
6255 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6256 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6257 return EOF.
6258
b1848fde
SP
62592012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6260
6261 * libio/libioP.h: Add comment note that the references to C++
6262 bits are now obsolete.
6263
2fd89785
MS
62642012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6265
6266 * math/libm-test.inc (check_complex): Use asprintf.
6267
e3ea5409
JM
62682012-11-14 Joseph Myers <joseph@codesourcery.com>
6269
6270 * debug/pcprofiledump.c (print_version): Update copyright year.
6271 * malloc/memusagestat.c (print_version): Likewise.
6272
2e64d265
L
62732012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6274
6275 [BZ #14831]
6276 * elf/Makefile (tests): Add tst-audit8.
6277 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6278 ($(objpfx)tst-audit8.out): New target.
6279 (tst-audit8-ENV): New variable.
6280 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6281 audit if l_reloc_result is NULL.
6282 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6283 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6284 * elf/tst-audit8.c: New file.
6285
c485e4d2
MS
62862012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6287
6288 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6289 * misc/Makefile (CFLAGS-select.c): Define.
6290 * posix/Makefile (CFLAGS-pause.c): Define.
6291
3a0d900a
DM
62922012-11-13 David S. Miller <davem@davemloft.net>
6293
6294 * crypt/Makefile: Move test targets after toplevel Rules
6295 inclusion. Grab any necessary sysdep routines when linking.
6296 * crypt/md5.c (md5_process_block): Remove define, we will always
6297 name it __md5_process_block.
6298 (md5_finish_ctx): Update md5_process_block call.
6299 (md5_stream): Likewise.
6300 (md5_process_bytes): Likewise.
6301 (md5_process_block): Rename to __md5_process_block and move to ...
6302 * crypt/md5-block.c: ... here.
6303 * crypt/sha256.c (sha256_process_block): Move to ...
6304 * crypt/sha256-block.c: ... here.
6305 * crypt/sha512.c (sha512_process_block): Move to ...
6306 * crypt/sha512-block.c: ... here.
6307 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6308 path.
6309 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6310 * sysdeps/sparc/sparc64/multiarch/Makefile
6311 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6312 crypt subdir.
6313 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6314 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6315 multiarch changes.
6316 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6317 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6318 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6319 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6320 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6321 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6322 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6323 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6324 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6325 file.
6326 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6327 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6328 file.
6329 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6330
8ca89318
JM
63312012-11-13 Joseph Myers <joseph@codesourcery.com>
6332
e27d476a
JM
6333 * timezone/tzselect.ksh: Update from tzcode git revision
6334 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6335 * timezone/zdump.c: Likewise.
6336 * timezone/zic.c: Likewise.
6337 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6338 in TZVERSION setting, not $(PKGVERSION).
6339 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6340 REPORT_BUGS_TO settings.
6341
8ca89318
JM
6342 [BZ #14838]
6343 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6344 macro.
6345
47594329
MS
63462012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6347
6348 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6349 detection to immediately after _FP_ROUND().
6350 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6351 bits are 0.
6352
640ac3f1
DM
63532012-11-11 David S. Miller <davem@davemloft.net>
6354
6355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6356 inttypes.h
6357 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6358 __close rather than their public counterparts.
6359
3d2577bb
JM
63602012-11-10 Joseph Myers <joseph@codesourcery.com>
6361
6362 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6363 file.
6364 [UNIX98] (sem_timedwait): Do not expect.
6365 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6366 [XPG4 || UNIX98] (sockatmark): Do not expect.
6367 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6368 (clock_getcpuclockid): Do not expect.
6369 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6370 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6371 Do not expect.
6372 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6373 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6374 [UNIX98] (vwscanf): Likewise.
6375 [UNIX98] (vswscanf): Likewise.
6376
fb1ae1ee
JM
63772012-11-09 Joseph Myers <joseph@codesourcery.com>
6378
9ec6f8bd
JM
6379 * timezone/version.h: Remove file.
6380 * timezone/README: Do not refer to version.h.
6381 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6382 $(objpfx)version.h.
6383 ($(objpfx)zdump.o): Likewise.
c3f81911 6384 ($(objpfx)version.h): New target.
9ec6f8bd 6385
0aa8f8a1
JM
6386 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6387 2012i.
6388 * timezone/README: Don't mention modification to tzselect.ksh.
6389 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6390 work on unmodified tzselect.ksh. Substitute version numbers in
6391 tzselect.ksh.
6392
4e87147f
JM
6393 * Makefile (format-me): Remove.
6394 (INSTALL): Adjust indentation. Use commands directly instead of
6395 using $(format-me).
6396
8b748aed
JM
6397 * aclocal.m4 (ACX_PKGVERSION): New macro.
6398 (ACX_BUGURL): Likewise.
6399 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6400 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6401 (REPORT_BUGS_TO): Likewise.
6402 * configure: Regenerated.
6403 * config.h.in (PKGVERSION): New macro.
6404 (REPORT_BUGS_TO): Likewise.
6405 * config.make.in (PKGVERSION): New variable.
6406 (PKGVERSION_TEXI): Likewise.
6407 (REPORT_BUGS_TO): Likewise.
6408 (REPORT_BUGS_TEXI): Likewise.
6409 * Makefile (format-me): Use -I$(common-objpfx)manual.
6410 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6411 ($(common-objpfx)manual/%): New target.
6412 (manual/%): Remove target.
6413 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6414 (print_version): Use PKGVERSION.
6415 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6416 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6417 and REPORT_BUGS_TO.
6418 ($(objpfx)xtrace): Likewise.
6419 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6420 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6421 (print_version): Use PKGVERSION.
6422 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6423 (do_version): Use PKGVERSION.
6424 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6425 REPORT_BUGS_TO.
6426 (common-ldd-rewrite): Likewise.
6427 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6428 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6429 (print_version): Use PKGVERSION.
6430 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6431 * elf/pldd.c (argp_program_bug_address): Remove variable.
6432 (more_help): New function.
6433 (argp): Use more_help.
6434 (print_version): Use PKGVERSION.
6435 * elf/sln.c (main): Use PKGVERSION.
6436 (usage): Use REPORT_BUGS_TO.
6437 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6438 (top level): Use PKGVERSION.
6439 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6440 (print_version): Use PKGVERSION.
6441 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6442 (print_version): Use PKGVERSION.
6443 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6444 (print_version): Use PKGVERSION.
6445 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6446 (print_version): Use PKGVERSION.
6447 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6448 (print_version): Use PKGVERSION.
6449 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6450 (print_version): Use PKGVERSION.
6451 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6452 and BUGURL.
6453 ($(objpfx)memusage): Likewise.
6454 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6455 (do_version): Use PKGVERSION.
6456 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6457 (print_version): Use PKGVERSION.
6458 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6459 ($PKGVERSION): New variable.
6460 ($REPORT_BUGS_TO): Likewise.
6461 (usage): Use $REPORT_BUGS_TO.
6462 (top level): Use $PKGVERSION.
6463 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6464 ($(objpfx)pkgvers.texi): New rule.
6465 ($(objpfx)stamp-pkgvers): Likewise.
6466 * manual/install.texi: Include pkgvers.texi.
6467 (--with-pkgversion): Document new configure option.
6468 (--with-bugurl): Likewise.
6469 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6470 than necessarily for this particular distribution. Use
6471 REPORT_BUGS_TO for where to report bugs.
6472 * INSTALL: Regenerated.
6473 * manual/libc.texinfo: Include pkgvers.texi.
6474 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6475 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6476 (print_version): Use PKGVERSION.
6477 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6478 (print_version): Use PKGVERSION.
6479 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6480 (print_version): Use PKGVERSION.
6481 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6482 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6483 macro.
6484 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6485 (print_version): Use PKGVERSION.
6486 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6487 (print_version): Use PKGVERSION.
6488 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6489 and PKGVERSION.
6490
92e4b6a9
JM
6491 * timezone/checktab.awk: Update from tzcode 2012i.
6492 * timezone/ialloc.c: Likewise.
6493 * timezone/private.h: Likewise.
6494 * timezone/scheck.c: Likewise.
6495 * timezone/tzfile.h: Likewise.
6496 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6497 (TZVERSION): Hardcode tzcode version number.
6498 * timezone/zdump.c: Update from tzcode 2012i.
6499 * timezone/zic.c: Likewise.
6500 * timezone/version.h: New file.
6501 * timezone/README: Describe version.h. Update upstream location.
6502
9bde902c
JM
6503 [BZ #14824]
6504 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6505 (mktemp): Enable declaration.
6506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6507 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6510 Likewise.
6511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6512 Likewise.
6513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6514 Likewise.
6515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6516 Likewise.
6517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6518 Likewise.
6519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6520 Likewise.
6521
fb1ae1ee
JM
6522 [BZ #14821]
6523 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6524 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6525 for copies of such integer values.
6526 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6527 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6528
2c1adbcb
AJ
65292012-11-09 Andreas Jaeger <aj@suse.de>
6530
6531 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6532 definitions and declarations that are provided by
6533 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6534
d0f8457e
AK
65352012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6536
3a235abb 6537 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6538 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6539 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6540 definition.
6541
57241e26
MS
65422012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6543
6544 * elf/elf.h: Update comment before AArch64 relocations.
6545
60e8270d
DM
65462012-11-07 David S. Miller <davem@davemloft.net>
6547
6548 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6549 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6550 (__start_context): Declare.
6551 (__makecontext_ret): Delete.
6552 (__makecontext): Hook up __start_context instead of
6553 __makecontext_ret.
6554 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6555 (sysdep_routines): Add __start_context when in stdlib.
6556
0fbb0fbc
JM
65572012-11-07 Joseph Myers <joseph@codesourcery.com>
6558
6559 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6560 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6561 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6562 hardcoded "nm".
6563 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6564 (READELF): New variable. Use it instead of hardcoded "readelf".
6565
eb48db7e
L
65662012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6567
6568 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6569 * sysdeps/x86/Makefile: Here.
6570 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6571 * sysdeps/x86/tst-xmmymm.sh: This.
6572
05bcf62a
JM
65732012-11-07 Joseph Myers <joseph@codesourcery.com>
6574
c4b6cf53
JM
6575 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6576 expectations.
6577 [UNIX98] (pthread_barrier_t): Do not expect.
6578 [UNIX98] (pthread_barrierattr_t): Likewise.
6579 [UNIX98] (pthread_spinlock_t): Likewise.
6580 [UNIX98] (pthread_barrier_destroy): Likewise.
6581 [UNIX98] (pthread_barrier_init): Likewise.
6582 [UNIX98] (pthread_barrier_wait): Likewise.
6583 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6584 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6585 [UNIX98] (pthread_barrierattr_init): Likewise.
6586 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6587 [UNIX98] (pthread_getcpuclockid): Likewise.
6588 [UNIX98] (pthread_mutex_timedlock): Likewise.
6589 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6590 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6591 [UNIX98] (pthread_sigmask): Likewise.
6592 [UNIX98] (pthread_spin_destroy): Likewise.
6593 [UNIX98] (pthread_spin_init): Likewise.
6594 [UNIX98] (pthread_spin_lock): Likewise.
6595 [UNIX98] (pthread_spin_trylock): Likewise.
6596 [UNIX98] (pthread_spin_unlock): Likewise.
6597 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6598 Do not expect.
6599 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6600 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6601 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6602 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6603 [XPG3 || XPG4] (pthread_key_t): Likewise.
6604 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6605 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6606 [XPG3 || XPG4] (pthread_once_t): Likewise.
6607 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6608 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6609 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6610 [XPG3 || XPG4] (pthread_t): Likewise.
6611
cbe6e120
JM
6612 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6613 not expect.
6614 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6615
1b126443
JM
6616 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6617 Change function return type to int.
6618
b961a573
JM
6619 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6620 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6621 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6622 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6623 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6624 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6625 [!POSIX] (posix_madvise): Likewise.
6626 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6627 && !UNIX98].
6628 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6629 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6630 (mode_t): Likewise.
6631 (posix_mem_offset): Likewise.
6632 (posix_typed_mem_get_info): Likewise.
6633 (posix_typed_mem_open): Likewise.
6634
9e188909
JM
6635 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6636 Change condition to [XOPEN2K8].
6637
05bcf62a
JM
6638 * conform/conformtest.pl: Preprocess allow-header data with -x c
6639 instead of from stdin.
6640 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6641 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6642 [C99-based standards] (cerfc): Likewise.
6643 [C99-based standards] (cexp2): Likewise.
6644 [C99-based standards] (cexpm1): Likewise.
6645 [C99-based standards] (clog10): Likewise.
6646 [C99-based standards] (clog1p): Likewise.
6647 [C99-based standards] (clog2): Likewise.
6648 [C99-based standards] (clgamma): Likewise.
6649 [C99-based standards] (ctgamma): Likewise.
6650 [C99-based standards] (cerff): Likewise.
6651 [C99-based standards] (cerfcf): Likewise.
6652 [C99-based standards] (cexp2f): Likewise.
6653 [C99-based standards] (cexpm1f): Likewise.
6654 [C99-based standards] (clog10f): Likewise.
6655 [C99-based standards] (clog1pf): Likewise.
6656 [C99-based standards] (clog2f): Likewise.
6657 [C99-based standards] (clgammaf): Likewise.
6658 [C99-based standards] (ctgammaf): Likewise.
6659 [C99-based standards] (cerfl): Likewise.
6660 [C99-based standards] (cerfcl): Likewise.
6661 [C99-based standards] (cexp2l): Likewise.
6662 [C99-based standards] (cexpm1l): Likewise.
6663 [C99-based standards] (clog10l): Likewise.
6664 [C99-based standards] (clog1pl): Likewise.
6665 [C99-based standards] (clog2l): Likewise.
6666 [C99-based standards] (clgammal): Likewise.
6667 [C99-based standards] (ctgammal): Likewise.
6668 * conform/data/inttypes.h-data [C99-based standards]: Include
6669 stdint.h-data. Remove all expectations for stdint.h contents.
6670 [C99-based standards] (PRI*): Do not allow.
6671 [C99-based standards] (SCN*): Likewise.
6672 [C99-based standards] (*_t): Likewise.
6673 [C99-based-standards] (PRId8): Expect macro.
6674 [C99-based-standards] (PRIi8): Likewise.
6675 [C99-based-standards] (PRIo8): Likewise.
6676 [C99-based-standards] (PRIu8): Likewise.
6677 [C99-based-standards] (PRIx8): Likewise.
6678 [C99-based-standards] (PRIX8): Likewise.
6679 [C99-based-standards] (SCNd8): Likewise.
6680 [C99-based-standards] (SCNi8): Likewise.
6681 [C99-based-standards] (SCNo8): Likewise.
6682 [C99-based-standards] (SCNu8): Likewise.
6683 [C99-based-standards] (SCNx8): Likewise.
6684 [C99-based-standards] (PRIdLEAST8): Likewise.
6685 [C99-based-standards] (PRIiLEAST8): Likewise.
6686 [C99-based-standards] (PRIoLEAST8): Likewise.
6687 [C99-based-standards] (PRIuLEAST8): Likewise.
6688 [C99-based-standards] (PRIxLEAST8): Likewise.
6689 [C99-based-standards] (PRIXLEAST8): Likewise.
6690 [C99-based-standards] (SCNdLEAST8): Likewise.
6691 [C99-based-standards] (SCNiLEAST8): Likewise.
6692 [C99-based-standards] (SCNoLEAST8): Likewise.
6693 [C99-based-standards] (SCNuLEAST8): Likewise.
6694 [C99-based-standards] (SCNxLEAST8): Likewise.
6695 [C99-based-standards] (PRIdFAST8): Likewise.
6696 [C99-based-standards] (PRIiFAST8): Likewise.
6697 [C99-based-standards] (PRIoFAST8): Likewise.
6698 [C99-based-standards] (PRIuFAST8): Likewise.
6699 [C99-based-standards] (PRIxFAST8): Likewise.
6700 [C99-based-standards] (PRIXFAST8): Likewise.
6701 [C99-based-standards] (SCNdFAST8): Likewise.
6702 [C99-based-standards] (SCNiFAST8): Likewise.
6703 [C99-based-standards] (SCNoFAST8): Likewise.
6704 [C99-based-standards] (SCNuFAST8): Likewise.
6705 [C99-based-standards] (SCNxFAST8): Likewise.
6706 [C99-based-standards] (PRId16): Likewise.
6707 [C99-based-standards] (PRIi16): Likewise.
6708 [C99-based-standards] (PRIo16): Likewise.
6709 [C99-based-standards] (PRIu16): Likewise.
6710 [C99-based-standards] (PRIx16): Likewise.
6711 [C99-based-standards] (PRIX16): Likewise.
6712 [C99-based-standards] (SCNd16): Likewise.
6713 [C99-based-standards] (SCNi16): Likewise.
6714 [C99-based-standards] (SCNo16): Likewise.
6715 [C99-based-standards] (SCNu16): Likewise.
6716 [C99-based-standards] (SCNx16): Likewise.
6717 [C99-based-standards] (PRIdLEAST16): Likewise.
6718 [C99-based-standards] (PRIiLEAST16): Likewise.
6719 [C99-based-standards] (PRIoLEAST16): Likewise.
6720 [C99-based-standards] (PRIuLEAST16): Likewise.
6721 [C99-based-standards] (PRIxLEAST16): Likewise.
6722 [C99-based-standards] (PRIXLEAST16): Likewise.
6723 [C99-based-standards] (SCNdLEAST16): Likewise.
6724 [C99-based-standards] (SCNiLEAST16): Likewise.
6725 [C99-based-standards] (SCNoLEAST16): Likewise.
6726 [C99-based-standards] (SCNuLEAST16): Likewise.
6727 [C99-based-standards] (SCNxLEAST16): Likewise.
6728 [C99-based-standards] (PRIdFAST16): Likewise.
6729 [C99-based-standards] (PRIiFAST16): Likewise.
6730 [C99-based-standards] (PRIoFAST16): Likewise.
6731 [C99-based-standards] (PRIuFAST16): Likewise.
6732 [C99-based-standards] (PRIxFAST16): Likewise.
6733 [C99-based-standards] (PRIXFAST16): Likewise.
6734 [C99-based-standards] (SCNdFAST16): Likewise.
6735 [C99-based-standards] (SCNiFAST16): Likewise.
6736 [C99-based-standards] (SCNoFAST16): Likewise.
6737 [C99-based-standards] (SCNuFAST16): Likewise.
6738 [C99-based-standards] (SCNxFAST16): Likewise.
6739 [C99-based-standards] (PRId32): Likewise.
6740 [C99-based-standards] (PRIi32): Likewise.
6741 [C99-based-standards] (PRIo32): Likewise.
6742 [C99-based-standards] (PRIu32): Likewise.
6743 [C99-based-standards] (PRIx32): Likewise.
6744 [C99-based-standards] (PRIX32): Likewise.
6745 [C99-based-standards] (SCNd32): Likewise.
6746 [C99-based-standards] (SCNi32): Likewise.
6747 [C99-based-standards] (SCNo32): Likewise.
6748 [C99-based-standards] (SCNu32): Likewise.
6749 [C99-based-standards] (SCNx32): Likewise.
6750 [C99-based-standards] (PRIdLEAST32): Likewise.
6751 [C99-based-standards] (PRIiLEAST32): Likewise.
6752 [C99-based-standards] (PRIoLEAST32): Likewise.
6753 [C99-based-standards] (PRIuLEAST32): Likewise.
6754 [C99-based-standards] (PRIxLEAST32): Likewise.
6755 [C99-based-standards] (PRIXLEAST32): Likewise.
6756 [C99-based-standards] (SCNdLEAST32): Likewise.
6757 [C99-based-standards] (SCNiLEAST32): Likewise.
6758 [C99-based-standards] (SCNoLEAST32): Likewise.
6759 [C99-based-standards] (SCNuLEAST32): Likewise.
6760 [C99-based-standards] (SCNxLEAST32): Likewise.
6761 [C99-based-standards] (PRIdFAST32): Likewise.
6762 [C99-based-standards] (PRIiFAST32): Likewise.
6763 [C99-based-standards] (PRIoFAST32): Likewise.
6764 [C99-based-standards] (PRIuFAST32): Likewise.
6765 [C99-based-standards] (PRIxFAST32): Likewise.
6766 [C99-based-standards] (PRIXFAST32): Likewise.
6767 [C99-based-standards] (SCNdFAST32): Likewise.
6768 [C99-based-standards] (SCNiFAST32): Likewise.
6769 [C99-based-standards] (SCNoFAST32): Likewise.
6770 [C99-based-standards] (SCNuFAST32): Likewise.
6771 [C99-based-standards] (SCNxFAST32): Likewise.
6772 [C99-based-standards] (PRId64): Likewise.
6773 [C99-based-standards] (PRIi64): Likewise.
6774 [C99-based-standards] (PRIo64): Likewise.
6775 [C99-based-standards] (PRIu64): Likewise.
6776 [C99-based-standards] (PRIx64): Likewise.
6777 [C99-based-standards] (PRIX64): Likewise.
6778 [C99-based-standards] (SCNd64): Likewise.
6779 [C99-based-standards] (SCNi64): Likewise.
6780 [C99-based-standards] (SCNo64): Likewise.
6781 [C99-based-standards] (SCNu64): Likewise.
6782 [C99-based-standards] (SCNx64): Likewise.
6783 [C99-based-standards] (PRIdLEAST64): Likewise.
6784 [C99-based-standards] (PRIiLEAST64): Likewise.
6785 [C99-based-standards] (PRIoLEAST64): Likewise.
6786 [C99-based-standards] (PRIuLEAST64): Likewise.
6787 [C99-based-standards] (PRIxLEAST64): Likewise.
6788 [C99-based-standards] (PRIXLEAST64): Likewise.
6789 [C99-based-standards] (SCNdLEAST64): Likewise.
6790 [C99-based-standards] (SCNiLEAST64): Likewise.
6791 [C99-based-standards] (SCNoLEAST64): Likewise.
6792 [C99-based-standards] (SCNuLEAST64): Likewise.
6793 [C99-based-standards] (SCNxLEAST64): Likewise.
6794 [C99-based-standards] (PRIdFAST64): Likewise.
6795 [C99-based-standards] (PRIiFAST64): Likewise.
6796 [C99-based-standards] (PRIoFAST64): Likewise.
6797 [C99-based-standards] (PRIuFAST64): Likewise.
6798 [C99-based-standards] (PRIxFAST64): Likewise.
6799 [C99-based-standards] (PRIXFAST64): Likewise.
6800 [C99-based-standards] (SCNdFAST64): Likewise.
6801 [C99-based-standards] (SCNiFAST64): Likewise.
6802 [C99-based-standards] (SCNoFAST64): Likewise.
6803 [C99-based-standards] (SCNuFAST64): Likewise.
6804 [C99-based-standards] (SCNxFAST64): Likewise.
6805 [C99-based-standards] (PRIdMAX): Likewise.
6806 [C99-based-standards] (PRIiMAX): Likewise.
6807 [C99-based-standards] (PRIoMAX): Likewise.
6808 [C99-based-standards] (PRIuMAX): Likewise.
6809 [C99-based-standards] (PRIxMAX): Likewise.
6810 [C99-based-standards] (PRIXMAX): Likewise.
6811 [C99-based-standards] (SCNdMAX): Likewise.
6812 [C99-based-standards] (SCNiMAX): Likewise.
6813 [C99-based-standards] (SCNoMAX): Likewise.
6814 [C99-based-standards] (SCNuMAX): Likewise.
6815 [C99-based-standards] (SCNxMAX): Likewise.
6816 [C99-based-standards] (PRIdPTR): Likewise.
6817 [C99-based-standards] (PRIiPTR): Likewise.
6818 [C99-based-standards] (PRIoPTR): Likewise.
6819 [C99-based-standards] (PRIuPTR): Likewise.
6820 [C99-based-standards] (PRIxPTR): Likewise.
6821 [C99-based-standards] (PRIXPTR): Likewise.
6822 [C99-based-standards] (SCNdPTR): Likewise.
6823 [C99-based-standards] (SCNiPTR): Likewise.
6824 [C99-based-standards] (SCNoPTR): Likewise.
6825 [C99-based-standards] (SCNuPTR): Likewise.
6826 [C99-based-standards] (SCNxPTR): Likewise.
6827 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6828 allow.
6829 * conform/data/stdint.h-data: Update comments to clarify
6830 requirements.
6831 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6832 type.
6833 [C99-based standards] (INT8_MAX): Likewise.
6834 [C99-based standards] (INT16_MIN): Likewise.
6835 [C99-based standards] (INT16_MAX): Likewise.
6836 [C99-based standards] (INT32_MIN): Likewise.
6837 [C99-based standards] (INT32_MAX): Likewise.
6838 [C99-based standards] (INT64_MIN): Likewise.
6839 [C99-based standards] (INT64_MAX): Likewise.
6840 [C99-based standards] (UINT8_MAX): Likewise.
6841 [C99-based standards] (UINT16_MAX): Likewise.
6842 [C99-based standards] (UINT32_MAX): Likewise.
6843 [C99-based standards] (UINT64_MAX): Likewise.
6844 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6845 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6846 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6847 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6848 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6849 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6850 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6851 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6852 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6853 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6854 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6855 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6856 [C99-based standards] (INT_FAST8_MIN): Likewise.
6857 [C99-based standards] (INT_FAST8_MAX): Likewise.
6858 [C99-based standards] (INT_FAST16_MIN): Likewise.
6859 [C99-based standards] (INT_FAST16_MAX): Likewise.
6860 [C99-based standards] (INT_FAST32_MIN): Likewise.
6861 [C99-based standards] (INT_FAST32_MAX): Likewise.
6862 [C99-based standards] (INT_FAST64_MIN): Likewise.
6863 [C99-based standards] (INT_FAST64_MAX): Likewise.
6864 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6865 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6866 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6867 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6868 [C99-based standards] (INTPTR_MIN): Likewise.
6869 [C99-based standards] (INTPTR_MAX): Likewise.
6870 [C99-based standards] (UINTPTR_MAX): Likewise.
6871 [C99-based standards] (INTMAX_MIN): Likewise.
6872 [C99-based standards] (INTMAX_MAX): Likewise.
6873 [C99-based standards] (UINTMAX_MAX): Likewise.
6874 [C99-based standards] (PTRDIFF_MIN): Likewise.
6875 [C99-based standards] (PTRDIFF_MAX): Likewise.
6876 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6877 [C99-based standards] (SIZE_MAX): Likewise.
6878 [C99-based standards] (WCHAR_MAX): Likewise.
6879 [C99-based standards] (WINT_MAX): Likewise.
6880 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6881 constraint on value.
6882 [C99-based standards] (WCHAR_MIN): Likewise.
6883 [C99-based standards] (WINT_MIN): Likewise.
6884 [C99-based standards] (*_t): Allow.
6885 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6886 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6887 Include math.h-data and complex.h-data. Remove all expectations
6888 of math.h and complex.h contents.
6889 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6890 at end of line.
6891 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6892 (struct tm): Expect tag.
6893 [C99-based-standards] (wcstof): Expect function.
6894 [C99-based-standards] (wcstold): Likewise.
6895 [C99-based-standards] (wcstoll): Likewise.
6896 [C99-based-standards] (wcstoull): Likewise.
6897 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6898 macro-int-constant. Specify type.
6899 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6900 constraint on value.
6901 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6902 Specify type.
6903 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6904 Specify value.
6905 [ISO C standards]: Do not allow headers.
6906 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6907 wcs[abcdefghijklmnopqrstuvwxyz]*.
6908 [ISO C standards] (*_t): Do not allow.
6909 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6910 Expect function.
6911 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6912 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6913 Specify type.
6914 [ISO C standards]: Do not allow headers.
6915 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6916 is[abcdefghijklmnopqrstuvwxyz]*.
6917 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6918 to[abcdefghijklmnopqrstuvwxyz]*.
6919 [ISO C standards] (*_t): Do not allow.
6920 * conform/data/stdalign.h-data: New file.
6921 * conform/data/stdbool.h-data: Likewise.
6922 * conform/data/stdnoreturn.h-data: Likewise.
6923
7514feb8
RM
69242012-11-07 Roland McGrath <roland@hack.frob.com>
6925
6926 [BZ #14815]
6927 * manual/filesys.texi (Directory Entries): Typo fix.
6928 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6929
19b2ecfc
MS
69302012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6931
6932 * elf/elf.h (EM_AARCH64): New macro.
6933 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6934 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6935 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6936 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6937 (R_AARCH64_TLSDESC): Likewise.
6938 (NT_ARM_TLS): Likewise.
6939 (NT_ARM_HW_BREAK): Likewise.
6940 (NT_ARM_HW_WATCH): Likewise.
6941
60e235ee
JM
69422012-11-07 Joseph Myers <joseph@codesourcery.com>
6943
6944 [BZ #14811]
6945 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6946 (__ieee754_powl): Saturate nonzero exponents with absolute value
6947 below 0x1p-79 to +/- 0x1p-79.
6948 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6949 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6950 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6951 nonzero exponents with absolute value below 0x1p-32 to +/-
6952 0x1p-32.
6953 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6954 (__ieee754_powl): Saturate nonzero exponents with absolute value
6955 below 0x1p-79 to +/- 0x1p-79.
6956 * math/libm-test.inc (pow_test): Add more tests.
6957
0ab234b7
AK
69582012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6959
6960 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6961 _dl_s390_cap_flags with kernel. Increase string length.
6962 (_dl_s390_platforms): Add z196 and zEC12.
6963
45832f74
JM
69642012-11-07 Joseph Myers <joseph@codesourcery.com>
6965
6966 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6967 Change XOPEN21K to XOPEN2K.
6968
19218757
MK
69692012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6970
6971 * string/memmove.c: Use memcpy when possible.
6972
c5f45721
AJ
69732012-11-06 Andreas Jaeger <aj@suse.de>
6974
6975 * po/eo.po: Update from translation team.
6976
82477c28
JM
69772012-11-06 Joseph Myers <joseph@codesourcery.com>
6978
6979 [BZ #14793]
6980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6981 exponent and small x and y exponents, scale x or y up. Increase
6982 by 2 the exponent used in scaling up.
6983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6984 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6985 * math/libm-test.inc (fma_test): Add more tests.
6986 (fma_test_towardzero): Likewise.
6987 (fma_test_downward): Likewise.
6988 (fma_test_upward): Likewise.
6989
99252c8c
JM
69902012-11-05 Joseph Myers <joseph@codesourcery.com>
6991
acfa885f
JM
6992 [BZ #14805]
6993 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6994 fenv_t *.
6995
99252c8c
JM
6996 [BZ #14801]
6997 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6998 namespace for names of struct fields.
6999 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7000 fenv_t fields.
7001 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7002 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7003
d6d98dea
ST
70042012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7005
7006 [BZ #3665]
7007 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7008
e10bb107
TS
70092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7010
7011 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7012 PTR_DEMANGLE.
7013
7014 [BZ #5246]
7015 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7016 PTR_DEMANGLE.
7017
a0c2940d
JM
70182012-11-04 Joseph Myers <joseph@codesourcery.com>
7019
7020 [BZ #14797]
7021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7022 definitely overflow as x * y not x * y + z.
7023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7024 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7025 * math/libm-test.inc (fma_test): Add more tests.
7026 (fma_test_towardzero): Likewise.
7027 (fma_test_downward): Likewise.
7028 (fma_test_upward): Likewise.
7029
b830319d
TS
70302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7031
7032 [BZ #157]
7033
7034 * include/stub-tag.h: Remove file.
7035 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7036 '#include' of it.
7037 * manual/maint.texi (Porting): Don't reference it.
7038 * Makerules ($(objpfx)stubs): Likewise.
7039 * dirent/closedir.c: Don't include <stub-tag.h>.
7040 * dirent/dirfd.c: Likewise.
7041 * dirent/fdopendir.c: Likewise.
7042 * dirent/getdents.c: Likewise.
7043 * dirent/getdents64.c: Likewise.
7044 * dirent/opendir.c: Likewise.
7045 * dirent/readdir.c: Likewise.
7046 * dirent/readdir64.c: Likewise.
7047 * dirent/readdir64_r.c: Likewise.
7048 * dirent/readdir_r.c: Likewise.
7049 * dirent/rewinddir.c: Likewise.
7050 * dirent/seekdir.c: Likewise.
7051 * dirent/telldir.c: Likewise.
7052 * gmon/profil.c: Likewise.
7053 * grp/setgroups.c: Likewise.
7054 * inet/if_index.c: Likewise.
7055 * io/access.c: Likewise.
7056 * io/chdir.c: Likewise.
7057 * io/chmod.c: Likewise.
7058 * io/chown.c: Likewise.
7059 * io/close.c: Likewise.
7060 * io/dup.c: Likewise.
7061 * io/dup2.c: Likewise.
7062 * io/dup3.c: Likewise.
7063 * io/euidaccess.c: Likewise.
7064 * io/faccessat.c: Likewise.
7065 * io/fchdir.c: Likewise.
7066 * io/fchmod.c: Likewise.
7067 * io/fchmodat.c: Likewise.
7068 * io/fchown.c: Likewise.
7069 * io/fchownat.c: Likewise.
7070 * io/fcntl.c: Likewise.
7071 * io/flock.c: Likewise.
7072 * io/fstatfs.c: Likewise.
7073 * io/fstatfs64.c: Likewise.
7074 * io/fstatvfs.c: Likewise.
7075 * io/fstatvfs64.c: Likewise.
7076 * io/futimens.c: Likewise.
7077 * io/fxstat.c: Likewise.
7078 * io/fxstat64.c: Likewise.
7079 * io/fxstatat.c: Likewise.
7080 * io/fxstatat64.c: Likewise.
7081 * io/getcwd.c: Likewise.
7082 * io/isatty.c: Likewise.
7083 * io/lchmod.c: Likewise.
7084 * io/lchown.c: Likewise.
7085 * io/link.c: Likewise.
7086 * io/linkat.c: Likewise.
7087 * io/lseek.c: Likewise.
7088 * io/lseek64.c: Likewise.
7089 * io/lxstat64.c: Likewise.
7090 * io/mkdir.c: Likewise.
7091 * io/mkdirat.c: Likewise.
7092 * io/mkfifo.c: Likewise.
7093 * io/mkfifoat.c: Likewise.
7094 * io/open.c: Likewise.
7095 * io/open64.c: Likewise.
7096 * io/openat.c: Likewise.
7097 * io/openat64.c: Likewise.
7098 * io/pipe.c: Likewise.
7099 * io/pipe2.c: Likewise.
7100 * io/poll.c: Likewise.
7101 * io/posix_fadvise.c: Likewise.
7102 * io/posix_fadvise64.c: Likewise.
7103 * io/posix_fallocate.c: Likewise.
7104 * io/posix_fallocate64.c: Likewise.
7105 * io/read.c: Likewise.
7106 * io/readlink.c: Likewise.
7107 * io/readlinkat.c: Likewise.
7108 * io/rmdir.c: Likewise.
7109 * io/sendfile.c: Likewise.
7110 * io/sendfile64.c: Likewise.
7111 * io/statfs.c: Likewise.
7112 * io/statfs64.c: Likewise.
7113 * io/statvfs.c: Likewise.
7114 * io/statvfs64.c: Likewise.
7115 * io/symlink.c: Likewise.
7116 * io/symlinkat.c: Likewise.
7117 * io/ttyname.c: Likewise.
7118 * io/ttyname_r.c: Likewise.
7119 * io/umask.c: Likewise.
7120 * io/unlink.c: Likewise.
7121 * io/unlinkat.c: Likewise.
7122 * io/utime.c: Likewise.
7123 * io/utimensat.c: Likewise.
7124 * io/write.c: Likewise.
7125 * io/xmknod.c: Likewise.
7126 * io/xmknodat.c: Likewise.
7127 * io/xstat.c: Likewise.
7128 * io/xstat64.c: Likewise.
7129 * login/getpt.c: Likewise.
7130 * login/grantpt.c: Likewise.
7131 * login/unlockpt.c: Likewise.
7132 * math/e_acoshl.c: Likewise.
7133 * math/e_acosl.c: Likewise.
7134 * math/e_asinl.c: Likewise.
7135 * math/e_atan2l.c: Likewise.
7136 * math/e_atanhl.c: Likewise.
7137 * math/e_coshl.c: Likewise.
7138 * math/e_expl.c: Likewise.
7139 * math/e_fmodl.c: Likewise.
7140 * math/e_gammal_r.c: Likewise.
7141 * math/e_hypotl.c: Likewise.
7142 * math/e_j0l.c: Likewise.
7143 * math/e_j1l.c: Likewise.
7144 * math/e_jnl.c: Likewise.
7145 * math/e_lgammal_r.c: Likewise.
7146 * math/e_log10l.c: Likewise.
7147 * math/e_log2l.c: Likewise.
7148 * math/e_logl.c: Likewise.
7149 * math/e_powl.c: Likewise.
7150 * math/e_rem_pio2l.c: Likewise.
7151 * math/e_sinhl.c: Likewise.
7152 * math/e_sqrtl.c: Likewise.
7153 * math/fclrexcpt.c: Likewise.
7154 * math/fedisblxcpt.c: Likewise.
7155 * math/feenablxcpt.c: Likewise.
7156 * math/fegetenv.c: Likewise.
7157 * math/fegetexcept.c: Likewise.
7158 * math/fegetround.c: Likewise.
7159 * math/feholdexcpt.c: Likewise.
7160 * math/fesetenv.c: Likewise.
7161 * math/fesetround.c: Likewise.
7162 * math/feupdateenv.c: Likewise.
7163 * math/fgetexcptflg.c: Likewise.
7164 * math/fraiseexcpt.c: Likewise.
7165 * math/fsetexcptflg.c: Likewise.
7166 * math/ftestexcept.c: Likewise.
7167 * math/k_cosl.c: Likewise.
7168 * math/k_rem_pio2l.c: Likewise.
7169 * math/k_sinl.c: Likewise.
7170 * math/k_tanl.c: Likewise.
7171 * math/s_asinhl.c: Likewise.
7172 * math/s_atanl.c: Likewise.
7173 * math/s_cbrtl.c: Likewise.
7174 * math/s_erfl.c: Likewise.
7175 * math/s_expm1l.c: Likewise.
7176 * math/s_log1pl.c: Likewise.
7177 * math/s_tanhl.c: Likewise.
7178 * misc/acct.c: Likewise.
7179 * misc/brk.c: Likewise.
7180 * misc/chflags.c: Likewise.
7181 * misc/chroot.c: Likewise.
7182 * misc/fchflags.c: Likewise.
7183 * misc/fgetxattr.c: Likewise.
7184 * misc/flistxattr.c: Likewise.
7185 * misc/fremovexattr.c: Likewise.
7186 * misc/fsetxattr.c: Likewise.
7187 * misc/fsync.c: Likewise.
7188 * misc/ftruncate.c: Likewise.
7189 * misc/futimes.c: Likewise.
7190 * misc/futimesat.c: Likewise.
7191 * misc/getdomain.c: Likewise.
7192 * misc/getdtsz.c: Likewise.
7193 * misc/gethostid.c: Likewise.
7194 * misc/gethostname.c: Likewise.
7195 * misc/getloadavg.c: Likewise.
7196 * misc/getpagesize.c: Likewise.
7197 * misc/getsysstats.c: Likewise.
7198 * misc/getxattr.c: Likewise.
7199 * misc/gtty.c: Likewise.
7200 * misc/ioctl.c: Likewise.
7201 * misc/lgetxattr.c: Likewise.
7202 * misc/listxattr.c: Likewise.
7203 * misc/llistxattr.c: Likewise.
7204 * misc/lremovexattr.c: Likewise.
7205 * misc/lsetxattr.c: Likewise.
7206 * misc/lutimes.c: Likewise.
7207 * misc/madvise.c: Likewise.
7208 * misc/mincore.c: Likewise.
7209 * misc/mlock.c: Likewise.
7210 * misc/mlockall.c: Likewise.
7211 * misc/mmap.c: Likewise.
7212 * misc/mprotect.c: Likewise.
7213 * misc/msync.c: Likewise.
7214 * misc/munlock.c: Likewise.
7215 * misc/munlockall.c: Likewise.
7216 * misc/munmap.c: Likewise.
7217 * misc/preadv.c: Likewise.
7218 * misc/preadv64.c: Likewise.
7219 * misc/ptrace.c: Likewise.
7220 * misc/pwritev.c: Likewise.
7221 * misc/pwritev64.c: Likewise.
7222 * misc/readv.c: Likewise.
7223 * misc/reboot.c: Likewise.
7224 * misc/remap_file_pages.c: Likewise.
7225 * misc/removexattr.c: Likewise.
7226 * misc/revoke.c: Likewise.
7227 * misc/select.c: Likewise.
7228 * misc/setdomain.c: Likewise.
7229 * misc/setegid.c: Likewise.
7230 * misc/seteuid.c: Likewise.
7231 * misc/sethostid.c: Likewise.
7232 * misc/sethostname.c: Likewise.
7233 * misc/setregid.c: Likewise.
7234 * misc/setreuid.c: Likewise.
7235 * misc/setxattr.c: Likewise.
7236 * misc/sstk.c: Likewise.
7237 * misc/stty.c: Likewise.
7238 * misc/swapoff.c: Likewise.
7239 * misc/swapon.c: Likewise.
7240 * misc/sync.c: Likewise.
7241 * misc/syncfs.c: Likewise.
7242 * misc/syscall.c: Likewise.
7243 * misc/truncate.c: Likewise.
7244 * misc/ualarm.c: Likewise.
7245 * misc/usleep.c: Likewise.
7246 * misc/ustat.c: Likewise.
7247 * misc/utimes.c: Likewise.
7248 * misc/vhangup.c: Likewise.
7249 * misc/writev.c: Likewise.
7250 * posix/_exit.c: Likewise.
7251 * posix/alarm.c: Likewise.
7252 * posix/execve.c: Likewise.
7253 * posix/fexecve.c: Likewise.
7254 * posix/fork.c: Likewise.
7255 * posix/fpathconf.c: Likewise.
7256 * posix/getaddrinfo.c: Likewise.
7257 * posix/getegid.c: Likewise.
7258 * posix/geteuid.c: Likewise.
7259 * posix/getgid.c: Likewise.
7260 * posix/getgroups.c: Likewise.
7261 * posix/getlogin.c: Likewise.
7262 * posix/getlogin_r.c: Likewise.
7263 * posix/getpgid.c: Likewise.
7264 * posix/getpid.c: Likewise.
7265 * posix/getppid.c: Likewise.
7266 * posix/getresgid.c: Likewise.
7267 * posix/getresuid.c: Likewise.
7268 * posix/getsid.c: Likewise.
7269 * posix/getuid.c: Likewise.
7270 * posix/glob64.c: Likewise.
7271 * posix/nanosleep.c: Likewise.
7272 * posix/pathconf.c: Likewise.
7273 * posix/pause.c: Likewise.
7274 * posix/posix_madvise.c: Likewise.
7275 * posix/pread.c: Likewise.
7276 * posix/pread64.c: Likewise.
7277 * posix/pwrite.c: Likewise.
7278 * posix/pwrite64.c: Likewise.
7279 * posix/sched_getaffinity.c: Likewise.
7280 * posix/sched_getp.c: Likewise.
7281 * posix/sched_gets.c: Likewise.
7282 * posix/sched_primax.c: Likewise.
7283 * posix/sched_primin.c: Likewise.
7284 * posix/sched_rr_gi.c: Likewise.
7285 * posix/sched_setaffinity.c: Likewise.
7286 * posix/sched_setp.c: Likewise.
7287 * posix/sched_sets.c: Likewise.
7288 * posix/sched_yield.c: Likewise.
7289 * posix/setgid.c: Likewise.
7290 * posix/setlogin.c: Likewise.
7291 * posix/setpgid.c: Likewise.
7292 * posix/setresgid.c: Likewise.
7293 * posix/setresuid.c: Likewise.
7294 * posix/setsid.c: Likewise.
7295 * posix/setuid.c: Likewise.
7296 * posix/sleep.c: Likewise.
7297 * posix/spawni.c: Likewise.
7298 * posix/sysconf.c: Likewise.
7299 * posix/times.c: Likewise.
7300 * posix/wait.c: Likewise.
7301 * posix/wait3.c: Likewise.
7302 * posix/wait4.c: Likewise.
7303 * posix/waitpid.c: Likewise.
7304 * resolv/gai_sigqueue.c: Likewise.
7305 * resource/getpriority.c: Likewise.
7306 * resource/getrlimit.c: Likewise.
7307 * resource/getrusage.c: Likewise.
7308 * resource/nice.c: Likewise.
7309 * resource/setpriority.c: Likewise.
7310 * resource/setrlimit.c: Likewise.
7311 * resource/ulimit.c: Likewise.
7312 * rt/aio_cancel.c: Likewise.
7313 * rt/aio_fsync.c: Likewise.
7314 * rt/aio_read.c: Likewise.
7315 * rt/aio_sigqueue.c: Likewise.
7316 * rt/aio_suspend.c: Likewise.
7317 * rt/aio_write.c: Likewise.
7318 * rt/clock_getres.c: Likewise.
7319 * rt/clock_gettime.c: Likewise.
7320 * rt/clock_nanosleep.c: Likewise.
7321 * rt/clock_settime.c: Likewise.
7322 * rt/lio_listio.c: Likewise.
7323 * rt/mq_close.c: Likewise.
7324 * rt/mq_getattr.c: Likewise.
7325 * rt/mq_notify.c: Likewise.
7326 * rt/mq_open.c: Likewise.
7327 * rt/mq_receive.c: Likewise.
7328 * rt/mq_send.c: Likewise.
7329 * rt/mq_setattr.c: Likewise.
7330 * rt/mq_timedreceive.c: Likewise.
7331 * rt/mq_timedsend.c: Likewise.
7332 * rt/mq_unlink.c: Likewise.
7333 * rt/shm_open.c: Likewise.
7334 * rt/shm_unlink.c: Likewise.
7335 * rt/timer_create.c: Likewise.
7336 * rt/timer_delete.c: Likewise.
7337 * rt/timer_getoverr.c: Likewise.
7338 * rt/timer_gettime.c: Likewise.
7339 * rt/timer_settime.c: Likewise.
7340 * setjmp/__longjmp.c: Likewise.
7341 * setjmp/setjmp.c: Likewise.
7342 * signal/kill.c: Likewise.
7343 * signal/killpg.c: Likewise.
7344 * signal/raise.c: Likewise.
7345 * signal/sigaction.c: Likewise.
7346 * signal/sigaltstack.c: Likewise.
7347 * signal/sigblock.c: Likewise.
7348 * signal/sigignore.c: Likewise.
7349 * signal/sigintr.c: Likewise.
7350 * signal/signal.c: Likewise.
7351 * signal/sigpause.c: Likewise.
7352 * signal/sigpending.c: Likewise.
7353 * signal/sigqueue.c: Likewise.
7354 * signal/sigreturn.c: Likewise.
7355 * signal/sigset.c: Likewise.
7356 * signal/sigsetmask.c: Likewise.
7357 * signal/sigstack.c: Likewise.
7358 * signal/sigsuspend.c: Likewise.
7359 * signal/sigtimedwait.c: Likewise.
7360 * signal/sigvec.c: Likewise.
7361 * signal/sigwait.c: Likewise.
7362 * signal/sigwaitinfo.c: Likewise.
7363 * signal/sysv_signal.c: Likewise.
7364 * socket/accept.c: Likewise.
7365 * socket/accept4.c: Likewise.
7366 * socket/bind.c: Likewise.
7367 * socket/connect.c: Likewise.
7368 * socket/getpeername.c: Likewise.
7369 * socket/getsockname.c: Likewise.
7370 * socket/getsockopt.c: Likewise.
7371 * socket/isfdtype.c: Likewise.
7372 * socket/listen.c: Likewise.
7373 * socket/recv.c: Likewise.
7374 * socket/recvfrom.c: Likewise.
7375 * socket/recvmsg.c: Likewise.
7376 * socket/send.c: Likewise.
7377 * socket/sendmsg.c: Likewise.
7378 * socket/sendto.c: Likewise.
7379 * socket/setsockopt.c: Likewise.
7380 * socket/shutdown.c: Likewise.
7381 * socket/sockatmark.c: Likewise.
7382 * socket/socket.c: Likewise.
7383 * socket/socketpair.c: Likewise.
7384 * stdio-common/ctermid.c: Likewise.
7385 * stdio-common/cuserid.c: Likewise.
7386 * stdio-common/remove.c: Likewise.
7387 * stdio-common/rename.c: Likewise.
7388 * stdio-common/renameat.c: Likewise.
7389 * stdio-common/tempname.c: Likewise.
7390 * stdlib/getcontext.c: Likewise.
7391 * stdlib/makecontext.c: Likewise.
7392 * stdlib/setcontext.c: Likewise.
7393 * stdlib/swapcontext.c: Likewise.
7394 * stdlib/system.c: Likewise.
7395 * streams/fattach.c: Likewise.
7396 * streams/fdetach.c: Likewise.
7397 * streams/getmsg.c: Likewise.
7398 * streams/getpmsg.c: Likewise.
7399 * streams/putmsg.c: Likewise.
7400 * streams/putpmsg.c: Likewise.
7401 * sysdeps/unix/bsd/getpt.c: Likewise.
7402 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7403 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7404 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7406 Likewise.
7407 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7408 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7409 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7410 * sysvipc/msgctl.c: Likewise.
7411 * sysvipc/msgget.c: Likewise.
7412 * sysvipc/msgrcv.c: Likewise.
7413 * sysvipc/msgsnd.c: Likewise.
7414 * sysvipc/semctl.c: Likewise.
7415 * sysvipc/semget.c: Likewise.
7416 * sysvipc/semop.c: Likewise.
7417 * sysvipc/semtimedop.c: Likewise.
7418 * sysvipc/shmat.c: Likewise.
7419 * sysvipc/shmctl.c: Likewise.
7420 * sysvipc/shmdt.c: Likewise.
7421 * sysvipc/shmget.c: Likewise.
7422 * termios/tcdrain.c: Likewise.
7423 * termios/tcflow.c: Likewise.
7424 * termios/tcflush.c: Likewise.
7425 * termios/tcgetattr.c: Likewise.
7426 * termios/tcgetpgrp.c: Likewise.
7427 * termios/tcsendbrk.c: Likewise.
7428 * termios/tcsetattr.c: Likewise.
7429 * termios/tcsetpgrp.c: Likewise.
7430 * time/adjtime.c: Likewise.
7431 * time/clock.c: Likewise.
7432 * time/getitimer.c: Likewise.
7433 * time/gettimeofday.c: Likewise.
7434 * time/setitimer.c: Likewise.
7435 * time/settimeofday.c: Likewise.
7436 * time/stime.c: Likewise.
7437 * time/time.c: Likewise.
7438
74392012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7440
a20492cf
PT
7441 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7442 /usr/old/bin.
7443
72e182e3
PT
7444 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7445 instead of spaces.
7446 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7447
fbeafede
JM
74482012-11-03 Joseph Myers <joseph@codesourcery.com>
7449
5b5b04d6
JM
7450 [BZ #14796]
7451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7452 FE_TONEAREST before applying Dekker multiplication and Knuth
7453 addition. Clear inexact exceptions and check for exact zero
7454 results afterwards.
7455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7456 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7457 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7458 * math/libm-test.inc (fma_test): Add more tests.
7459 (fma_test_towardzero): Likewise.
7460 (fma_test_downward): Likewise.
7461 (fma_test_upward): Likewise.
7462 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7463 function.
7464 (libc_fesetround): New macro.
7465 (libc_fesetroundf): Likewise.
7466 (libc_fesetroundl): Likewise.
7467 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7468 function.
7469 (libc_fesetround_387): Likewise.
7470 (libc_fesetroundf): New macro.
7471 (libc_fesetround): Likewise.
7472 (libc_fesetroundl): Likewise.
7473 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7474 function.
7475 (libc_fesetroundf): New macro.
7476 (libc_fesetround): Likewise.
7477 (libc_fesetroundl): Likewise.
7478 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7479 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7480 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7481 libm_hidden_ver.
7482 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7483 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7484 libm_hidden_def.
7485 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7486 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7487 libm_hidden_ver.
7488 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7489 libm_hidden_def.
7490
fbeafede
JM
7491 [BZ #3439]
7492 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7493 integer constant usable in #if and use that to give value to enum
7494 constant.
7495 (FE_DIVBYZERO): Likewise.
7496 (FE_UNDERFLOW): Likewise.
7497 (FE_OVERFLOW): Likewise.
7498 (FE_INVALID): Likewise.
7499 (FE_INVALID_SNAN): Likewise.
7500 (FE_INVALID_ISI): Likewise.
7501 (FE_INVALID_IDI): Likewise.
7502 (FE_INVALID_ZDZ): Likewise.
7503 (FE_INVALID_IMZ): Likewise.
7504 (FE_INVALID_COMPARE): Likewise.
7505 (FE_INVALID_SOFTWARE): Likewise.
7506 (FE_INVALID_SQRT): Likewise.
7507 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7508 (FE_TONEAREST): Likewise.
7509 (FE_TOWARDZERO): Likewise.
7510 (FE_UPWARD): Likewise.
7511 (FE_DOWNWARD): Likewise.
7512 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7513 (FE_DIVBYZERO): Likewise.
7514 (FE_OVERFLOW): Likewise.
7515 (FE_UNDERFLOW): Likewise.
7516 (FE_INEXACT): Likewise.
7517 (FE_TONEAREST): Likewise.
7518 (FE_DOWNWARD): Likewise.
7519 (FE_UPWARD): Likewise.
7520 (FE_TOWARDZERO): Likewise.
7521 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7522 (FE_UNDERFLOW): Likewise.
7523 (FE_OVERFLOW): Likewise.
7524 (FE_DIVBYZERO): Likewise.
7525 (FE_INVALID): Likewise.
7526 (FE_TONEAREST): Likewise.
7527 (FE_TOWARDZERO): Likewise.
7528 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7529 (FE_OVERFLOW): Likewise.
7530 (FE_UNDERFLOW): Likewise.
7531 (FE_DIVBYZERO): Likewise.
7532 (FE_INEXACT): Likewise.
7533 (FE_TONEAREST): Likewise.
7534 (FE_TOWARDZERO): Likewise.
7535 (FE_UPWARD): Likewise.
7536 (FE_DOWNWARD): Likewise.
7537 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7538 (FE_DIVBYZERO): Likewise.
7539 (FE_OVERFLOW): Likewise.
7540 (FE_UNDERFLOW): Likewise.
7541 (FE_INEXACT): Likewise.
7542 (FE_TONEAREST): Likewise.
7543 (FE_DOWNWARD): Likewise.
7544 (FE_UPWARD): Likewise.
7545 (FE_TOWARDZERO): Likewise.
7546
105ca950
CM
75472012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7548
7549 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7550
a542b389
AS
75512012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7552
7553 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7554 commands. Quote $PWD.
7555 (blacklist_exports): Don't use remove_newlines. Replace "declare
7556 -x" by "export".
7557 (remove_newlines): Remove.
7558
f62c8abc
L
75592012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7560
7561 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7562 * stdlib/stdlib.h (atof): Moved to ...
7563 * include/bits/stdlib-float.h: Here. New file.
7564 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7565 * stdlib/bits/stdlib-float.h: New file.
7566 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7567 -mno-sse -mno-mmx.
7568 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7569 <xmmintrin.h>.
7570
0155d5b2
JM
75712012-11-02 Joseph Myers <joseph@codesourcery.com>
7572
a68d0680
JM
7573 * conform/conformtest.pl (@headers): Add fenv.h.
7574 * conform/data/fenv.h-data: New file.
7575 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7576 include of <math/fenv.h>.
7577
caf7f573
JM
7578 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7579 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7580 && !UNIX98]. Enables tests for XOPEN2K8.
7581 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7582 POSIX2008]: Likewise.
7583
6c073ad6
JM
7584 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7585 (struct rusage): Do not expect type or its members.
7586
0155d5b2
JM
7587 [BZ #3439]
7588 * math/math.h (FP_NAN): Define macro to integer constant usable in
7589 #if and use that to give value to enum constant.
7590 (FP_INFINITE): Likewise.
7591 (FP_ZERO): Likewise.
7592 (FP_SUBNORMAL): Likewise.
7593 (FP_NORMAL): Likewise.
7594
b5dcacb4
AS
75952012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7596
7597 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7598 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7599 arguments.
7600
f7934be8
RM
76012012-11-02 Roland McGrath <roland@hack.frob.com>
7602
7603 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7604 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7605 autoconf-time if not.
7606 * configure.in: Remove AC_PREREQ.
7607
d7d08bde
TMQMF
76082012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7609
7610 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7611 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7612 of the internal implementation.
7613
dcdae19a
JM
76142012-11-02 Joseph Myers <joseph@codesourcery.com>
7615
7616 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7617 except include of <misc/sys/syslog.h>.
7618
d6cffd3e
AS
76192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7620
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7622 function returns with a NULL context exit with zero.
7623
b3563932
TMQMF
76242012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7625
7626 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7627
b288a93d
L
76282012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7629
7630 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7631 (run_program_cmd): This.
7632 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7633 (tst_langinfo): New variable. Use it.
7634
a2421a68
SAS
76352012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7636
7637 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7638 floating point opcodes.
7639
6f796e1b
TS
76402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7641
7402596b
TS
7642 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7643 variable.
7644
d0d4f868
TS
7645 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7646
6f796e1b
TS
7647 * sysdeps/mach/hurd/powerpc: Remove directory.
7648 * sysdeps/mach/powerpc: Likewise.
7649
4da224a2
AS
76502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7651
7652 * scripts/check-local-headers.sh: Ignore c++ headers.
7653
341dd673
TS
76542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7655
7656 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7657 __libc_cleanup_region_start argument.
7658
473611b2
JM
76592012-11-01 Joseph Myers <joseph@codesourcery.com>
7660
7661 [BZ #14784]
7662 [BZ #14785]
7663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7664 x * y using scaling, not as x * y + z.
7665 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7667 * math/libm-test.inc (fma_test): Add more tests.
7668 (fma_test_towardzero): Likewise.
7669 (fma_test_downward): Likewise.
7670 (fma_test_upward): Likewise.
7671
4078da3d
TS
76722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7673
7674 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7675
903252aa
JM
76762012-10-31 Joseph Myers <joseph@codesourcery.com>
7677
7678 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7679 New variable.
7680
cbc818d0
TS
76812012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7682
7683 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7684
5a03cb1e
AS
76852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7686
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7688 Fix sort order.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7690 Likewise.
7691
90aff2ff
TMQMF
76922012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7693
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7695 Fix the order of the list for glibc 2.17.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7697 Likewise.
7698
1818fcb7
AS
76992012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7700
7701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7702
ef82f4da
JM
77032012-10-31 Joseph Myers <joseph@codesourcery.com>
7704
16a0e2ec
JM
7705 [BZ #14610]
7706 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7707 for low part of x being zero before using __atanl (y).
7708 * math/libm-test.inc (atan2_test): Add another test.
7709
0eb69512
JM
7710 * manual/install.texi (Configuring and compiling): Document
7711 general use of test-wrapper and test-wrapper-env.
7712 * INSTALL: Regenerated.
7713
ef82f4da
JM
7714 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7715 (__fma): Do not extract and scale down low bits on after-rounding
7716 systems when result rounded to normal precision would have normal
7717 exponent.
7718 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7719 (__fmal): Do not extract and scale down low bits on after-rounding
7720 systems when result rounded to normal precision would have normal
7721 exponent.
7722 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7723 (__fmal): Do not extract and scale down low bits on after-rounding
7724 systems when result rounded to normal precision would have normal
7725 exponent.
7726 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7727 macro.
7728 (fma_test): Add more tests.
7729 (fma_test_towardzero): Likewise.
7730 (fma_test_downward): Likewise.
7731 (fma_test_upward): Likewise.
7732
954ef0d9
L
77332012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7734
7735 * sysdeps/i386/tininess.h: Renamed to ...
7736 * sysdeps/x86/tininess.h: This.
7737 * sysdeps/x86_64/tininess.h: Removed.
7738
df61ffb2
JM
77392012-10-30 Joseph Myers <joseph@codesourcery.com>
7740
7741 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7742 input. Use $(build-program-cmd).
7743 ($(objpfx)tst-array1-static.out): Likewise.
7744 ($(objpfx)tst-array2.out): Likewise.
7745 ($(objpfx)tst-array3.out): Likewise.
7746 ($(objpfx)tst-array4.out): Likewise.
7747 ($(objpfx)tst-array5.out): Likewise.
7748 ($(objpfx)tst-array5-static.out): Likewise.
7749
01767843
CM
77502012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7751
47cc1490
CM
7752 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7753 if defined.
7754
01767843
CM
7755 * nss/nsswitch.h (nss_interface_function): Provide new
7756 macro for use with NSS functions.
7757 * grp/initgroups.c: Use new macro.
7758 * nss/getXXbyYY.c: Likewise.
7759 * nss/getXXbyYY_r.c: Likewise.
7760 * nss/getXXent.c: Likewise.
7761 * nss/getXXent_r.c: Likewise.
7762 * sysdeps/posix/getaddrinfo.c: Likewise.
7763
8321aa97
AJ
77642012-10-30 Andreas Jaeger <aj@suse.de>
7765
7766 * po/ru.po: Update Russion translation from translation project.
7767
2a27fd6d
JM
77682012-10-30 Joseph Myers <joseph@codesourcery.com>
7769
8627a232
JM
7770 [BZ #14152]
7771 [BZ #14783]
7772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7773 result and shift together with sticky bit instead of replicating
7774 round-to-nearest rounding.
7775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7777 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7778 missing underflow exceptions.
7779 (fma_test_towardzero): Add more tests.
7780 (fma_test_downward): Likewise.
7781 (fma_test_upward): Likewise.
7782
2a27fd6d
JM
7783 [BZ #14047]
7784 * sysdeps/generic/tininess.h: New file.
7785 * sysdeps/i386/tininess.h: Likewise.
7786 * sysdeps/sh/tininess.h: Likewise.
7787 * sysdeps/x86_64/tininess.h: Likewise.
7788 * stdlib/tst-strtod-underflow.c: Likewise.
7789 * stdlib/tst-tininess.c: Likewise.
7790 * stdlib/strtod_l.c: Include <tininess.h>.
7791 (round_and_return): Do not set errno for exact underflow cases.
7792 Force an underflow exception when setting errno for underflow.
7793 Determine underflow based on rounding to normal precision if
7794 TININESS_AFTER_ROUNDING.
7795 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7796 ERANGE for exact underflow cases.
7797 * stdlib/Makefile (tests): Add tst-tininess and
7798 tst-strtod-underflow.
7799 ($(objpfx)tst-tininess): Use $(link-libm).
7800 ($(objpfx)tst-strtod-underflow): Likewise.
7801
e7170363
AJ
78022012-10-30 Andreas Jaeger <aj@suse.de>
7803
e5088dc6
AJ
7804 [BZ#14767]
7805 * elf/Makefile (tests): Remove conditional for have-initfini-array
7806 since this is now always required and the variable does not exist
7807 anymore.
7808 (tests-static): Likewise.
7809 (modules-names): Likewise.
7810
e7170363 7811 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7812
7813 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7814 merged with constructor/destructor.
7815 (init_array): Likewise.
7816 * elf/tst-array2dep.c (fini_array): Likewise.
7817 (init_array): Likewise.
7818
60457d8a
MF
78192012-10-29 Mike Frysinger <vapier@gentoo.org>
7820
7821 * manual/message.texi: Delete @cartouche tags.
7822
8bece752
PT
78232012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7824
94ce799f
PT
7825 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7826 EOPNOTSUPP.
7827 * sysdeps/mach/hurd/fsync.c: Likewise.
7828
8bece752
PT
7829 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7830 [_POSIX_REALTIME_SIGNALS]: Change condition to
7831 [_POSIX_REALTIME_SIGNALS > 0].
7832
86ebe6b1
AJ
78332012-10-27 Andreas Jaeger <aj@suse.de>
7834
7835 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7836 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7838 [__WORDSIZE != 64]: Likewise.
7839
54399c08
L
78402012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7841
7842 * iconvdata/tst-table.sh: Remove ${SHELL}.
7843 * iconvdata/tst-tables.sh: Likewise.
7844
e2211bed
DM
78452012-10-25 David S. Miller <davem@davemloft.net>
7846
7847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7848 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7849 of strtoull.
7850
f303f97c
DM
7851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7852 ifunc-impl-list.c
7853 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7854 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7855 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7856 file.
7857
1e9d84cd
RM
78582012-10-25 Roland McGrath <roland@hack.frob.com>
7859
7860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7861 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7862 __getdirentries.
7863
df381762
JM
78642012-10-25 Joseph Myers <joseph@codesourcery.com>
7865 Jim Blandy <jimb@codesourcery.com>
7866
7867 * scripts/cross-test-ssh.sh: New file.
7868 * manual/install.texi (Configuring and compiling): Document use of
7869 cross-test-ssh.sh.
7870 * INSTALL: Regenerated.
7871
bff64913
PT
78722012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7873
7874 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7875 EOPNOTSUPP.
7876
25fe8932
JM
78772012-10-25 Joseph Myers <joseph@codesourcery.com>
7878
7879 * Makeconfig (run-program-prefix): Fix comment.
7880
cc1290d0
JM
78812012-10-24 Joseph Myers <joseph@codesourcery.com>
7882 Jim Blandy <jimb@codesourcery.com>
7883
7884 * Makeconfig (test-wrapper): New variable,
7885 (test-wrapper-env): Likewise.
7886 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7887 (run-built-tests): Define to yes.
7888 (run-program-prefix): Use $(test-wrapper).
7889 (built-program-cmd): Likewise.
7890 * Rules (make-test-out): Use $(test-wrapper-env) and
7891 $(host-built-program-cmd).
7892 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7893 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7894 tst-pathopt.sh.
7895 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7896 $(test-wrapper-env) to tst-rtld-load-self.sh.
7897 ($(objpfx)order2.out): Use $(test-wrapper).
7898 ($(objpfx)tst-initorder.out): Likewise.
7899 ($(objpfx)tst-initorder2.out): Likewise.
7900 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7901 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7902 (test_wrapper_env): New variable. Use it to run ld.so.
7903 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7904 Use it to run ld.so.
7905 (test_wrapper_env): Likewise.
7906 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7907 $(test-wrapper) to run-iconv-test.sh.
7908 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7909 (ICONV): Use $test_wrapper.
7910 * posix/Makefile ($(objpfx)globtest.out): Pass
7911 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7912 globtest.sh, not $(run-program-prefix).
7913 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7914 (test_wrapper): Likewise.
7915 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7916 set together with run_via_rtld_prefix.
7917 (run_program_prefix): Define in terms of test_wrapper and
7918 run_via_rtld_prefix.
7919
6e6249d0
RM
79202012-10-24 Roland McGrath <roland@hack.frob.com>
7921
7922 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7923 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7924 Targets removed.
7925
7926 [BZ #14743]
7927 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7928 Declare __clock_getres, __clock_gettime, __clock_settime,
7929 __clock_nanosleep, and __clock_getcpuclockid.
7930 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7931 Remove librt_hidden_def (clock_gettime).
7932 * sysdeps/unix/clock_gettime.c: Likewise.
7933 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7934 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7935 * rt/clock_getres.c: Define __clock_getres as an alias.
7936 * sysdeps/posix/clock_getres.c: Likewise.
7937 * rt/clock_settime.c: Define __clock_settime as an alias.
7938 * sysdeps/unix/clock_settime.c: Likewise.
7939 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7940 * sysdeps/unix/clock_nanosleep.c: Likewise.
7941 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7942 * rt/clock-compat.c: New file.
7943 * rt/Makefile (librt-routines): Add clock-compat and move
7944 $(clock-routines) to ...
7945 (routines): ... here, new variable.
7946 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7947 Don't add get_clockfreq here.
7948 * rt/Versions (libc: GLIBC_2.17): New version set.
7949 Add clock_* symbols here.
7950 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7952 (GLIBC_2.17): Add clock_* symbols.
7953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7955 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7957 Likewise.
7958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7959 Likewise.
7960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7964 * NEWS: Mention the move.
7965
7966 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7967 Use __open, __read, __close rather than their public counterparts.
7968 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7969 (__get_clockfreq_via_cpuinfo): Likewise.
7970 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7971 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7972
7973 * config.h.in (HAVE_IFUNC): New #undef.
7974 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7975 was successful.
7976 * configure: Regenerated.
7977
0cae3f4b
MF
79782012-10-24 Mike Frysinger <vapier@gentoo.org>
7979
7980 * configure.in: Move READELF check to start of file.
7981 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7982 libc_cv_asm_gnu_indirect_function in the process.
7983 * configure: Regenerated.
7984
8175a253
MF
79852012-10-24 Mike Frysinger <vapier@gentoo.org>
7986
7987 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7988 send the output to /dev/null.
7989 (libc_cv_cc_with_libunwind): Likewise.
7990 (libc_cv_as_noexecstack): Likewise.
7991 * configure: Regenerate.
7992
0708a7d1
JM
79932012-10-24 Joseph Myers <joseph@codesourcery.com>
7994
10b40d85
JM
7995 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7996
0708a7d1
JM
7997 * posix/globtest.sh (TMPDIR): Do not set.
7998 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7999 (testout): Likewise.
8000
9fddec1a
AJ
80012012-10-24 Andreas Jaeger <aj@suse.de>
8002
3a8db22f
AJ
8003 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8004 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8005 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8006 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8007 posix_fadvise64, posix_fallocate64.
8008
9fddec1a
AJ
8009 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8010 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8011 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8012 Likewise.
8013 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8014 Likewise.
8015 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8016
8017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8018 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8019 <bits/fcntl-linux.h>.
8020 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8021
8022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8023 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8024 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8025 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8026 [__WORDSIZE != 64]: Likewise.
8027
ebfd1bbd
JM
80282012-10-23 Joseph Myers <joseph@codesourcery.com>
8029
03ac099f
JM
8030 * Makeconfig (run-built-tests): New variable.
8031 * Rules [$(cross-compiling) = yes]: Change condition to
8032 [$(run-built-tests) = no].
8033 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8034 to [$(run-built-tests) = yes].
8035 * elf/Makefile [$(cross-compiling) = no]: Likewise
8036 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8037 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8038 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8039 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8040 * io/Makefile [$(cross-compiling) = no]: Likewise.
8041 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8042 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8043 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8044 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8045 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8046 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8047 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8048 * string/Makefile [$(cross-compiling) = no]: Likewise.
8049
ebfd1bbd
JM
8050 * posix/Makefile ($(objpfx)globtest.out): Pass
8051 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8052 $(rtld-installed-name).
8053 * posix/globtest.sh (elf_objpfx): Remove variable.
8054 (rtld_installed_name): Likewise.
8055 (library_path): Likewise.
8056 (run_program_prefix): New variable. Use for running globtest
8057 binary.
8058
166bca24
JB
80592012-10-23 Jim Blandy <jimb@codesourcery.com>
8060 Joseph Myers <joseph@codesourcery.com>
8061
8062 * Makeconfig (host-built-program-cmd): New variable.
8063 * elf/Makefile (tst-stackguard1-ARGS): Use
8064 $(host-built-program-cmd).
8065 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8066 (tst-spawn-ARGS): Likewise.
8067 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8068
88866099
JM
80692012-10-23 Joseph Myers <joseph@codesourcery.com>
8070 Jim Blandy <jimb@codesourcery.com>
8071
8072 * Makeconfig (run-via-rtld-prefix): New variable.
8073 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8074 (built-program-cmd): Likewise.
8075
b4b4c296
AJ
80762012-10-22 Andreas Jaeger <aj@suse.de>
8077
8078 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8079 __O_RSYNC if it exists, otherwise to O_SYNC.
8080
6fb54a22
JB
80812012-10-22 Jim Blandy <jimb@codesourcery.com>
8082 Joseph Myers <joseph@codesourcery.com>
8083
8084 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8085 /dev/null.
8086 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8087 from /dev/null
8088 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8089 /dev/null.
8090
481b90b9
AJ
80912012-10-22 Andreas Jaeger <aj@suse.de>
8092
2a0e2669
AJ
8093 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8094 Define always.
8095 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8096
76e38f9a
AJ
8097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8098 bits/fcntl-linux.h.
8099
7cd37b43
AJ
8100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8101 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8102
481b90b9
AJ
8103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8104 to __O_LARGEFILE.
8105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8106 to __O_LARGEFILE.
8107
aba75984
JB
81082012-10-21 Jim Blandy <jimb@codesourcery.com>
8109 Joseph Myers <joseph@codesourcery.com>
8110
8111 * config.make.in (NM): New variable.
8112
88d4247f
AJ
81132012-10-21 Andreas Jaeger <aj@suse.de>
8114
8115 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8116 definitions and declarations that are provided by
8117 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8118
f2eed205
L
81192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8120
8121 [BZ #14683]
8122 * elf/Makefile (tests-static): Add tst-leaks1-static.
8123 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8124 ($(objpfx)tst-leaks1-static): New rule.
8125 ($(objpfx)tst-leaks1-static-mem): Likewise.
8126 (tst-leaks1-static-ENV): New macro.
8127 * elf/dl-open.c (dl_open_worker): Check the main application
8128 only if SHARED is defined.
8129 * elf/tst-leaks1-static.c: New file.
8130
335e6931
AJ
81312012-10-20 Andreas Jaeger <aj@suse.de>
8132
8133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8134 generic values for Linux.
8135 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8136 and declarations that are provided by <bits/fcntl-linux.h> and
8137 include <bits/fcntl-linux.h>.
8138 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8140
ac5c94d3
RM
81412012-10-20 Roland McGrath <roland@hack.frob.com>
8142
8143 * io/fcntl.h: Move include of <bits/types.h> to the top and
8144 include it unconditionally.
8145
de54b33a
L
81462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8147
228cfb01
L
8148 * wcsmbs/Makefile (tests-ifunc): New variable.
8149 (tests): Add $(tests-ifunc).
8150 * wcsmbs/test-wcschr-ifunc.c: New file.
8151 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8152 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8153 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8154 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8155 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8156
69f07e5f
L
8157 * string/Makefile (tests-ifunc): New variable.
8158 (tests): Add $(tests-ifunc).
8159 * string/test-memccpy.c (TEST_NAME): New macro.
8160 * string/test-memchr.c (TEST_NAME): Likewise.
8161 * string/test-memcmp.c (TEST_NAME): Likewise.
8162 * string/test-memcpy.c (TEST_NAME): Likewise.
8163 * string/test-memmem.c (TEST_NAME): Likewise.
8164 * string/test-memmove.c (TEST_NAME): Likewise.
8165 * string/test-memset.c (TEST_NAME): Likewise.
8166 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8167 * string/test-stpcpy.c (TEST_NAME): Likewise.
8168 * string/test-stpncpy.c (TEST_NAME): Likewise.
8169 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8170 * string/test-strcasestr.c (TEST_NAME): Likewise.
8171 * string/test-strcat.c (TEST_NAME): Likewise.
8172 * string/test-strchr.c (TEST_NAME): Likewise.
8173 * string/test-strcmp.c(TEST_NAME): Likewise.
8174 * string/test-strcpy.c (TEST_NAME): Likewise.
8175 * string/test-strcspn.c (TEST_NAME): Likewise.
8176 * string/test-strlen.c (TEST_NAME): Likewise.
8177 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8178 * string/test-strncmp.c (TEST_NAME): Likewise.
8179 * string/test-strncpy.c (TEST_NAME): Likewise.
8180 * string/test-strnlen.c (TEST_NAME): Likewise.
8181 * string/test-strpbrk.c (TEST_NAME): Likewise.
8182 * string/test-strrchr.c (TEST_NAME): Likewise.
8183 * string/test-strspn.c (TEST_NAME): Likewise.
8184 * string/test-strstr.c (TEST_NAME): Likewise.
8185 * string/test-bcopy-ifunc.c: New file.
8186 * string/test-bzero-ifunc.c: Likewise.
8187 * string/test-memccpy-ifunc.c: Likewise.
8188 * string/test-memchr-ifunc.c: Likewise.
8189 * string/test-memcmp-ifunc.c: Likewise.
8190 * string/test-memcpy-ifunc.c: Likewise.
8191 * string/test-memmem-ifunc.c: Likewise.
8192 * string/test-memmove-ifunc.c: Likewise.
8193 * string/test-mempcpy-ifunc.c: Likewise.
8194 * string/test-memset-ifunc.c: Likewise.
8195 * string/test-rawmemchr-ifunc.c: Likewise.
8196 * string/test-stpcpy-ifunc.c: Likewise.
8197 * string/test-stpncpy-ifunc.c: Likewise.
8198 * string/test-strcasecmp-ifunc.c: Likewise.
8199 * string/test-strcasestr-ifunc.c: Likewise.
8200 * string/test-strcat-ifunc.c: Likewise.
8201 * string/test-strchr-ifunc.c: Likewise.
8202 * string/test-strchrnul-ifunc.c: Likewise.
8203 * string/test-strcmp-ifunc.c: Likewise.
8204 * string/test-strcpy-ifunc.c: Likewise.
8205 * string/test-strcspn-ifunc.c: Likewise.
8206 * string/test-strlen-ifunc.c: Likewise.
8207 * string/test-strncasecmp-ifunc.c: Likewise.
8208 * string/test-strncat-ifunc.c: Likewise.
8209 * string/test-strncmp-ifunc.c: Likewise.
8210 * string/test-strncpy-ifunc.c: Likewise.
8211 * string/test-strnlen-ifunc.c: Likewise.
8212 * string/test-strpbrk-ifunc.c: Likewise.
8213 * string/test-strrchr-ifunc.c: Likewise.
8214 * string/test-strspn-ifunc.c: Likewise.
8215 * string/test-strstr-ifunc.c: Likewise.
8216
de54b33a
L
8217 * debug/Makefile (tests-ifunc): New variable.
8218 (tests): Add $(tests-ifunc).
8219 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8220 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8221 * debug/test-stpcpy_chk-ifunc.c: New file.
8222 * debug/test-strcpy_chk-ifunc.c: Likewise.
8223
88481c16
SP
82242012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8225
8226 [BZ #13601]
8227 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8228 header is not read in.
8229
135948bd
JM
82302012-10-19 Joseph Myers <joseph@codesourcery.com>
8231
89f1c388
JM
8232 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8233 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8234 directly. Pass built executable to script as
8235 $(built-program-cmd).
8236 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8237 $testprogram without using LD_LIBRARY_PATH and $ldso.
8238
e40a0d21
JM
8239 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8240 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8241 $(rtld-installed-name).
8242 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8243 (rtld_installed_name): Likewise.
8244 (library_path): Likewise.
8245 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8246 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8247 $(run-program-prefix) to tst-tables.sh.
8248 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8249 it to run tst-table-from and tst-table-to.
8250 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8251 Pass it to tst-table.sh.
8252 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8253 $(run-program-prefix) to tst-gettext.sh.
8254 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8255 tst-translit.sh.
8256 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8257 tst-gettext2.sh.
8258 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8259 to run tst-gettext.
8260 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8261 to run tst-gettext2.
8262 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8263 to run tst-translit.
8264 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8265 $(run-program-prefix) to tst-mtrace.sh.
8266 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8267 to run tst-mtrace.
8268 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8269 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8270 $(rtld-installed-name).
8271 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8272 (rtld_installed_name): Likewise.
8273 (run_program_prefix): New variable. Use it to run wordexp-test.
8274
728e272a
JM
8275 * Makeconfig (ARCH): Remove all definitions.
8276 (machine): Likewise.
8277 [ARCH]: Remove conditional code.
8278 [!objdir]: Give error.
8279 [!objdir] (objpfx): Remove.
8280 [!objdir] (common-objpfx): Likewise.
8281 [!objdir] (common-objdir): Likewise.
8282 * configure.in (config_makefile): Remove. Hardcode Makefile in
8283 AC_CONFIG_FILES call.
8284 * configure: Regenerated.
8285
d528cdcf
JM
8286 [BZ #13888]
8287 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8288 or TMPDIR.
8289 (testout): Likewise.
8290
135948bd
JM
8291 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8292 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8293 $(rtld-installed-name).
8294 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8295 (rtld_installed_name): Likwise.
8296 (runit): Remove function.
8297 (run_getconf): New variable, Use it for running getconf binary.
8298
38c78296
L
82992012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8300
8301 [BZ #14716]
8302 * string/test-memmem.c (check_result): New function.
8303 (do_one_test): Use it.
8304 (check1): New function.
8305 (test_main): Use it.
8306
d077f65f
MT
83072012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8308
8309 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8310
ced52c71
JM
83112012-10-18 Joseph Myers <joseph@codesourcery.com>
8312
8313 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8314 (_G_LSEEK64): Likewise.
8315 (_G_MMAP64): Likewise.
8316 (_G_FSTAT64): Likewise.
8317 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8318 (_G_LSEEK64): Likewise.
8319 (_G_MMAP64): Likewise.
8320 (_G_FSTAT64): Likewise.
8321 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8322 unconditional. Call __mmap64 directly.
8323 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8324 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8325 __lseek64 directly.
8326 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8327 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8328 __mmap64 directly.
8329 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8330 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8331 __lseek64 directly.
8332 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8333 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8334 __lseek64 directly.
8335 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8336 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8337 __lseek64 directly.
8338 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8339 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8340 __fxstat64 directly.
8341 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8342 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8343 unconditional.
8344 (freopen64) [!_G_OPEN64]: Remove conditional code.
8345 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8346 unconditional.
8347 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8348 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8349 unconditional.
8350 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8351 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8352 unconditional.
8353 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8354 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8355 unconditional.
8356 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8357 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8358 unconditional.
8359 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8360 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8361 unconditional.
8362 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8363 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8364 unconditional.
8365 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8366
b741de23
SP
83672012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8368
8369 [BZ #12140]
8370 * manual/memory.texi (Malloc Tunable Parameters): Add note
8371 about free list pointers overwriting some perturb bytes.
8372 Wording suggested by Roland McGrath.
8373
f9b9d9c9
JM
83742012-10-17 Joseph Myers <joseph@codesourcery.com>
8375
8376 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8377 (lgamma_test): Likewise.
8378 (tgamma_test): Likewise.
8379
172a631a
FW
83802012-10-16 Florian Weimer <fweimer@redhat.com>
8381
8382 [BZ #14700]
8383 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8384 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8385
e9f37252
MK
83862012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8387
8388 * NEWS: Mention BZ #14716.
8389 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8390 when removing AVAILABLE1_USES_J macro.
8391
d394eb74
L
83922012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8393
8394 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8395 (__bswap_64): __uint64_t for unsigned 64-bit int.
8396
ca38dc17
AS
83972012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8398
8399 * include/string.h (memmem): Declare libc hidden alias.
8400 * string/memmem.c (memmem): Define libc hidden alias.
8401 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8402 __read, __close instead of open, read, close.
8403
9a387d1f
L
84042012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8405
ac49ecaf
L
8406 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8407 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8408 global and hidden.
8409 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8410 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8411 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8412 Likewise.
8413 (__rawmemchr_sse2): Likewise.
8414 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8415 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8416 (__strchr_sse2): Likewise.
8417 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8418 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8419 (__strcasecmp_sse2): Likewise.
8420 (__strncasecmp_sse2): Likewise.
8421 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8422 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8423 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8424 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8425 (__strrchr_sse2): Likewise.
8426 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8427 ifunc-impl-list.c.
8428 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8429 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8430 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8431 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8432 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8433 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8434 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8435 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8436 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8437 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8438 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8439 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8440 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8441 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8442 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8443 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8444 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8445 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8446 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8447 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8448 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8449 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8450 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8451 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8452 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8453 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8454 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8455 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8456 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8457 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8458
b090e8ea
L
8459 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8460 global and hidden.
8461 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8462 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8463 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8464 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8465 Likewise.
8466 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8467 Likewise.
8468 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8469 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8470 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8471 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8472 ifunc-impl-list.c.
8473 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8474 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8475 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8476 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8477 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8478 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8479 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8480 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8481 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8482 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8483 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8484 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8485 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8486 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8487 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8488 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8489 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8490 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8491 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8493 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8494 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8495 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8499 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8501 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8502 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8503 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8504 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8505 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8507 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8508 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8509 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8510 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8511 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8512 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8513 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8514
11dd4af6
L
8515 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8516 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8517 * include/ifunc-impl-list.h: New file.
8518 * misc/ifunc-impl-list.c: Likewise.
8519 * misc/Makefile (routines): Add ifunc-impl-list.
8520 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8521 * string/test-string.h: Include <ifunc-impl-list.h>.
8522 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8523 impl_array): New variables.
8524 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8525 are defined.
8526 (test_init): Call __libc_ifunc_impl_list to initialize
8527 func_list if TEST_IFUNC and TEST_NAME are defined.
8528
9a387d1f
L
8529 * string/Makefile (strop-tests): Add bcopy and bzero.
8530 * string/test-bcopy.c: New file.
8531 * string/test-bzero.c: Likewise.
8532 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8533 defined.
8534 * string/test-memset.c: Support bzero test if TEST_BZERO is
8535 defined.
8536 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8537 __libc_memmove.
8538 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8539 __libc_memset.
8540 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8541 of memset.
8542
472371b9
JM
85432012-10-10 Joseph Myers <joseph@codesourcery.com>
8544
1e4a9536
JM
8545 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8546 * configure: Regenerated.
8547
d173d12e
JM
8548 * Makeconfig (+link-static-before-libc): Don't include
8549 $(link-static-libc).
8550
472371b9
JM
8551 * libio/libio.h (_IO_pos_t): Remove.
8552
89a3ad0b
AO
85532012-10-10 Alexandre Oliva <aoliva@redhat.com>
8554
8555 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8556 McGrath.
8557
e7451425
AO
85582012-10-10 Alexandre Oliva <aoliva@redhat.com>
8559
8560 * crypt/crypt-entry.c: Include fips-private.h.
8561 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8562 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8563 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8564 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8565
4ba74a35
AO
85662012-10-10 Alexandre Oliva <aoliva@redhat.com>
8567
8568 * crypt/crypt-private.h: Include stdbool.h.
8569 (_ufc_setup_salt_r): Return bool.
8570 * crypt/crypt-entry.c: Include errno.h.
8571 (__crypt_r): Return NULL with EINVAL for bad salt.
8572 * crypt/crypt_util.c (bad_for_salt): New.
8573 (_ufc_setup_salt_r): Check that salt is long enough and within
8574 the specified alphabet.
8575 * crypt/badsalttest.c: New file.
8576 * crypt/Makefile (tests): Add it.
8577 ($(objpfx)badsalttest): New.
8578
f96f1242
MK
85792012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8580
8581 * NEWS: Add entry for BZ #14602.
8582
0e8e0c1c
JM
85832012-10-09 Joseph Myers <joseph@codesourcery.com>
8584
8585 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8586 type-generic.
8587 * math/libm-test.inc: Update comment listing what functions and
8588 macros are tested.
8589 (isgreater_test): New function.
8590 (isgreaterequal_test): Likewise.
8591 (isless_test): Likewise.
8592 (islessequal_test): Likewise.
8593 (islessgreater_test): Likewise.
8594 (isunordered_test): Likewise.
8595 (main): Call the new functions.
8596
273edc5e
RM
85972012-10-09 Roland McGrath <roland@hack.frob.com>
8598
b8493de0
RM
8599 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8600 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8601 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8602 * sysdeps/i386/configure: Regenerated.
8603 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8604 * sysdeps/mach/configure: Regenerated.
8605 * sysdeps/mach/hurd/configure: Regenerated.
8606 * sysdeps/powerpc/configure: Regenerated.
8607 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8608 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8609 * sysdeps/s390/s390-32/configure: Regenerated.
8610 * sysdeps/s390/s390-64/configure: Regenerated.
8611 * sysdeps/sh/configure: Regenerated.
8612 * sysdeps/sparc/configure: Regenerated.
8613 * sysdeps/unix/sysv/linux/configure: Regenerated.
8614 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8615 * sysdeps/x86_64/configure: Regenerated.
8616
273edc5e
RM
8617 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8618 defined. Don't check if MAP is NULL.
8619
c8450f70
JM
86202012-10-09 Joseph Myers <joseph@codesourcery.com>
8621
8622 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8623 (_G_stat64): Likewise.
8624 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8625 (_G_stat64): Likewise.
8626 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8627 instead of struct _G_stat64.
8628 * libio/fileops.c (mmap_remap_check): Likewise.
8629 (decide_maybe_mmap): Likewise.
8630 (_IO_new_file_seekoff): Likewise.
8631 (_IO_file_stat): Likewise.
8632 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8633 _G_off64_t.
8634 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8635 instead of struct _G_stat64.
8636 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8637
57e605ba
MK
86382012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8639
8640 [BZ #14602]
8641 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8642 Replace with ...
8643 (CHECK_EOL): New macro.
8644 (two_way_short_needle): Check beginning of haystack for EOL. Use
8645 CHECK_EOL.
8646 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8647 Replace with CHECK_EOL.
8648 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8649 Replace with CHECK_EOL.
8650
ef1bb361
JM
86512012-10-08 Joseph Myers <joseph@codesourcery.com>
8652
8653 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8654 type-generic.
8655 * math/libm-test.inc: Update comment listing what functions and
8656 macros are tested.
8657 (finite_test): New function.
8658 (isinf_test): Likewise.
8659 (isnan_test): Likewise.
8660 (fpclassify_test): Test subnormal input.
8661 (isfinite_test): Likewise.
8662 (isnormal_test): Likewise.
8663 (main): Call the new functions.
8664
55f11534
JN
86652012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8666
8667 [BZ #14660]
8668 * Makerules (%.dynsym): Force C locale when running
8669 $(OBJDUMP) --dynamic-syms.
8670
1ab29350
AS
86712012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8672
8673 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8674 <stdint.h>.
8675
f1ecb7ef
DM
86762012-10-06 David S. Miller <davem@davemloft.net>
8677
8678 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8679 upper 32-bits of the length value in %o2 since we use branch-on-register
8680 tests which consider the entire 64-bit register.
8681
5d41d91a
L
86822012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8683
8684 * string/test-strstr.c (check2): Add a test for page boundary.
8685
3baddb72
DM
86862012-10-05 David S. Miller <davem@davemloft.net>
8687
8688 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8689 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8690 file.
8691 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8692 sysdep_routines.
8693 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8694 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8695 and bzero when HWCAP_SPARC_CRYPTO is present.
8696
9cee5585
L
86972012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8698
d7e0dab9
L
8699 [BZ #14602]
8700 * string/test-strstr.c (check2): New function.
8701 (test_main): Call check2.
8702
03759f47
L
8703 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8704 and bug-strchr1.
8705 * string/bug-strcasestr1.c (do_test): Moved to ...
8706 * string/test-strcasestr.c (check1): Here. New function.
8707 (do_one_test): Break out result checking code into ...
8708 (check_result): This. New function.
8709 (do_one_test): Call check_result.
8710 (test_main): Call check1.
8711 * string/bug-strchr1.c (do_test): Moved to ...
8712 * string/test-strchr.c (check1): Here. New function.
8713 (do_one_test): Break out result checking code into ...
8714 (check_result): This. New function.
8715 (do_one_test): Call check_result.
8716 (test_main): Call check1.
8717 * string/bug-strstr1.c (main): Moved to ...
046f153e 8718 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8719 (do_one_test): Break out result checking code into ...
8720 (check_result): This. New function.
8721 (do_one_test): Call check_result.
8722 (test_main): Call check1.
8723 * string/bug-strcasestr1.c: Removed.
8724 * string/bug-strchr1.c: Likewise.
8725 * string/bug-strstr1.c: Likewise.
8726
53cea63e
L
8727 * elf/Makefile (dl-routines): Add hwcaps.
8728 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8729 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8730 (_dl_important_hwcaps): Moved to ...
8731 * elf/dl-hwcaps.c: Here. New file.
8732 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8733
9cee5585 8734 [BZ #14557]
bb859b06
L
8735 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8736 if IS_IN_rtld isn't defined.
8737
9cee5585
L
8738 * elf/dl-support.c (_dl_sysinfo_map): New.
8739 Include "get-dynamic-info.h" and "setup-vdso.h".
8740 (_dl_non_dynamic_init): Call setup_vdso.
8741 * elf/dynamic-link.h: Don't include <assert.h>.
8742 (elf_get_dynamic_info): Moved to ...
8743 * elf/get-dynamic-info.h: Here. New file.
8744 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8745 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8746 * elf/setup-vdso.h: Here. New file.
8747 * elf/rtld.c: Include "setup-vdso.h".
8748 (dl_main): Call setup_vdso.
8749
23c31b76
JM
87502012-10-05 Joseph Myers <joseph@codesourcery.com>
8751
28234b07
JM
8752 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8753 creal in comment listing functions tested. List finite, isinf,
8754 isnan, isless, islessequal, isgreater, isgreaterequal,
8755 islessgreater, isunordered, lgamma_r and pow10 as functions and
8756 macros not tested. Mention which functions not tested are aliases
8757 for other functions. Fix typo. Note that signs of NaNs are not
8758 tested.
8759
23c31b76
JM
8760 * scripts/config.guess: Update from config.git.
8761 * scripts/config.sub: Likewise.
8762
9043e228
RM
87632012-10-04 Roland McGrath <roland@hack.frob.com>
8764
8765 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8766 * misc/madvise.c (madvise): Renamed to __madvise.
8767 Make madvise a weak alias.
8768 * include/sys/mman.h: Declare __madvise.
8769 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8770 * sysdeps/unix/syscalls.list
8771 (madvise): Make __madvise the strong name, and madvise a weak alias.
8772 * sysdeps/unix/sysv/linux/syscalls.list
8773 (madvise, mmap): Remove redundant entries.
8774 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8775 * malloc/malloc.c (mtrim): Likewise.
8776 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8777
f57f8055
RM
87782012-10-03 Roland McGrath <roland@hack.frob.com>
8779
8780 * sysdeps/mach/hurd/dl-cache.c: File removed.
8781 * config.h.in (USE_LDCONFIG): New #undef.
8782 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8783 * configure: Regenerated.
8784 * elf/Makefile (dl-routines): Add dl-cache only under
8785 [$(use-ldconfig) = yes].
8786 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8787 cache on [USE_LDCONFIG].
8788 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8789 [USE_LDCONFIG].
8790 * elf/rtld.c (dl_main): Likewise.
8791
5bb0c10a
PT
87922012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8793
8794 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8795 _SC_LEVEL4_CACHE_LINESIZE.
8796
010188c6
RM
87972012-10-03 Roland McGrath <roland@hack.frob.com>
8798
8799 * sysdeps/unix/bsd/confstr.h: File removed.
8800
b6c5ec07
AO
88012012-10-02 Alexandre Oliva <aoliva@redhat.com>
8802
8803 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8804 sys/sdt-config.h.
8805
408223d4
RM
88062012-10-02 Roland McGrath <roland@hack.frob.com>
8807
8808 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8809 Make 'mapoff' field ElfW(Off) rather than off_t.
8810
bb9510dc
DL
88112012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8812
fc997c6e
DL
8813 * nscd/Makefile: Remove nscd-cflags and all its users.
8814 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8815 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8816
bb9510dc
DL
8817 [BZ #10631]
8818 * malloc.c (malloc_printerr): Clarify error message.
8819
05699367
L
88202012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8821
8822 [BZ #14648]
8823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8824 Set bit_FMA_Usable if FMA is supported.
8825 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8826 macro.
8827 (bit_FMA4_Usable): Updated.
8828 (index_FMA_Usable): New macro.
8829 (CPUID_FMA): Likewise
8830 (HAS_FMA): Defined with bit_FMA_Usable.
8831
51367701
RM
88322012-10-01 Roland McGrath <roland@hack.frob.com>
8833
8834 * bits/types.h (__swblk_t): Type removed.
8835 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8836 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8837 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8838 (__SWBLK_T_TYPE): Likewise.
8839 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8840 (__SWBLK_T_TYPE): Likewise.
8841 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8842 (__SWBLK_T_TYPE): Likewise.
8843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8844 (__SWBLK_T_TYPE): Likewise.
8845
4d57bf63 88462012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8847 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8848
8849 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8850 (xdr_mapname): Use YPMAXMAP as maxsize.
8851 (xdr_peername): Use YPMAXPEER as maxsize.
8852 (xdr_keydat): Use YPAXRECORD as maxsize.
8853 (xdr_valdat): Use YPMAXRECORD as maxsize.
8854
93c65d43
RM
88552012-10-01 Roland McGrath <roland@hack.frob.com>
8856
497a03d6
RM
8857 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8858
93c65d43
RM
8859 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8860 * csu/init-first.c: ... here.
8861 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8862 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8863 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8864 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8865 * sysdeps/i386/init-first.c: File removed.
8866 * sysdeps/sh/init-first.c: File removed.
8867
bec749fd
JM
88682012-10-01 Joseph Myers <joseph@codesourcery.com>
8869
8870 [BZ #14645]
8871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8872 if x * y might underflow to zero and z is zero.
8873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8874 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8875 * math/libm-test.inc (min_subnorm_value): New variable.
8876 (fma_test): Add more tests.
8877 (fma_test_towardzero): Likewise.
8878 (fma_test_downward): Likewise
8879 (fma_test_upward): Likewise.
8880 (initialize): Set min_subnorm_value.
8881
8ec5b013
JM
88822012-09-29 Joseph Myers <joseph@codesourcery.com>
8883
8884 [BZ #14638]
8885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8886 0 + 0.
8887 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8888 mode for addition resulting in exact zero.
8889 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8891 exact 0 + 0.
8892 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8893 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8894 * math/libm-test.inc (fma_test): Add more tests.
8895 (fma_test_towardzero): New function.
8896 (fma_test_downward): Likewise.
8897 (fma_test_upward): Likewise.
8898 (main): Call the new functions.
8899
b1fa802e
DM
89002012-09-28 David S. Miller <davem@davemloft.net>
8901
8902 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8903
d3b9fd9e
RM
89042012-09-28 Roland McGrath <roland@hack.frob.com>
8905
ea4d37b3
RM
8906 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8907 instead of SIGALRM.
8908
ac51c949
RM
8909 * sysdeps/gnu/_G_config.h: Moved to ...
8910 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8911 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8912 * sysdeps/generic/_G_config.h: ... here.
8913
28c195f7
RM
8914 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8915
848917f9
RM
8916 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8917
6bacf05b
RM
8918 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8919 Conditionalize target on [libnss_test1.so-version].
8920
91363dbb
RM
8921 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8922
cc87f7d8
RM
8923 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8924 (elfobjdir): Move out of conditionals.
8925
b1c608fe
RM
8926 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8927 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8928 (__nss_lookup_function): Conditionalize label remove_from_tree on
8929 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8930
1d9a6d96
DM
89312012-09-28 David S. Miller <davem@davemloft.net>
8932
8933 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8934 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8935 file.
8936 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8937 sysdep_routines.
8938 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8939 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8940 when HWCAP_SPARC_CRYPTO is present.
8941
72581615
PT
89422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8943
8944 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8945
715a900c
JL
89462012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8947
8948 [BZ #6530]
8949 * stdio-common/vfprintf.c (process_string_arg): Revert
8950 2000-07-22 change.
8951
89522011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8953
8954 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8955 for testcase.
8956 * stdio-common/tst-sprintf.c: Include <locale.h>
8957 (main): Test sprintf's handling of incomplete multibyte
8958 characters.
8959
9bac1d86
L
89602012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8961
8962 * elf/dl-runtime.c (VERSYMIDX): Removed.
8963 * elf/dl-version.c (VERSYMIDX): Likewise.
8964 * elf/do-rel.h (VERSYMIDX): Likewise.
8965 (VALIDX): Likewise.
8966 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8967 * elf/rtld.c (VALIDX): Likewise.
8968 (ADDRIDX): Likewise.
9bac1d86
L
8969 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8970 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8971 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8972 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8973 (VALIDX): Likewise.
8974 (ADDRIDX): Likewise.
9bac1d86 8975
b31606c0
PT
89762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8977
8978 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8979
11541177
JL
89802012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8981
8982 [BZ #11438]
8983 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8984 to global scope.
8985 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8986 addresses are in the same scope as 192.0.2/24.
8987 * posix/gai.conf: Document new scope table defaults.
8988
adb26fae
SP
89892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8990
8991 [BZ #5298]
8992 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8993 for ftell. Compute offsets from write pointers instead.
8994 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8995
4573c6b0
SP
89962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8997
8998 [BZ #14543]
8999 * libio/Makefile (tests): New test case tst-fseek.
9000 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9001 combination works in wide mode.
9002 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9003 state when the external buffer state changes.
9004
aa9bbfe6
DM
90052012-09-27 David S. Miller <davem@davemloft.net>
9006
9007 [BZ #14376]
9008 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9009 pass reloc->r_addend in as the 'high' argument to
9010 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9011
784421e7
DM
9012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9013
c39bc8b8
PT
90142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9015
9016 * rt/tst-aio2.c: Include <pthread.h>.
9017 * rt/tst-aio3.c: Likewise.
9018
1ccc2399
SE
90192012-09-27 Steve Ellcey <sellcey@mips.com>
9020
9021 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9022
31ed4153
L
90232012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9024
25f5f885
L
9025 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9026 contents on [SHARED].
31ed4153 9027
b7bfe116
MP
90282012-09-26 Marek Polacek <polacek@redhat.com>
9029
9030 [BZ #14530]
9031 [BZ #13741]
9032 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9033 for C++ and GCC <4.3 as well as for non GCC compilers.
9034
43c4edba
MT
90352012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9036
9037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9038
6a1bf82f
RM
90392012-09-25 Roland McGrath <roland@hack.frob.com>
9040
9041 * Makefile.in (all, install): Declare with .PHONY.
9042 Reported by Michael Hope <michael.hope@linaro.org>.
9043
8ad11b9a
TMQMF
90442012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9045
9046 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9047 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9048 system header.
9049 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9050 Likewise.
9051 (sydep_routines): Add the new and the internal functions.
9052 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9053 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9055 (GLIBC_2.17): Add the new function.
9056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9057 (GLIBC_2.17): Likewise.
9058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9059 (GLIBC_2.17): Likewise.
9060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9061 (GLIBC_2.17): Likewise.
9062 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9063
7e2fca8d
AM
90642012-09-25 Alan Modra <amodra@gmail.com>
9065
9066 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9067 Add release barrier before setting once_control to say
9068 initialisation is done. Add hints on lwarx. Use macro in
9069 place of isync.
9070 (clear_once_control): Add release barrier.
9071
b87c4b24
JM
90722012-09-25 Joseph Myers <joseph@codesourcery.com>
9073
d032e0d2
JM
9074 [BZ #13629]
9075 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9076 specially.
9077 * math/s_clog10.c (__clog10): Likewise.
9078 * math/s_clog10f.c (__clog10f): Likewise.
9079 * math/s_clog10l.c (__clog10l): Likewise.
9080 * math/s_clogf.c (__clogf): Likewise.
9081 * math/s_clogl.c (__clogl): Likewise.
9082 * math/Makefile (libm-calls): Add x2y2m1.
9083 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9084 (__x2y2m1): Likewise.
9085 (__x2y2m1l): Likewise.
9086 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9087 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9090 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9091 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9092 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9093 * sysdeps/i386/fpu/libm-test-ulps: Update.
9094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9095
b87c4b24
JM
9096 [BZ #14621]
9097 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9098 int as type of variable DEPTH.
9099 (glob): Use size_t instead of int as type of variables NEWCOUNT
9100 and OLD_PATHC.
9101
6d3bf199
LD
91022012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9103
22bf5c17
LD
9104 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9105 Add s_sincosf-sse2.
9106 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9107 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9108 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9109 macros for using routine as __sincosf_ia32.
9110 Use macro for function declaration and weak_alias.
9111 * sysdeps/i386/fpu/libm-test-ulps: Update.
9112
9113 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9115
9116 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9117 subnormal argument.
9118 * math/s_cexpf.c (__cexpf): Likewise.
9119 * math/s_csinf.c (__csinf): Likewise.
9120 * math/s_csinhf.c (__csinhf): Likewise.
9121 * math/s_ctanf.c (__ctanf): Likewise.
9122 * math/s_ctanhf.c (__ctanhf): Likewise.
9123 * math/s_ccosh.c (__ccoshf): Likewise.
9124 * math/s_cexp.c (__cexpl): Likewise.
9125 * math/s_csin.c (__csin): Likewise.
9126 * math/s_csinh.c (__csinh): Likewise.
9127 * math/s_ctan.c (__ctan): Likewise.
9128 * math/s_ctanh.c (ctanh): Likewise.
9129 * math/s_ccoshl.c (__ccoshl): Likewise.
9130 * math/s_cexpl.c (__cexpl): Likewise.
9131 * math/s_csinl.c (__csinl): Likewise.
9132 * math/s_csinhl.c (__csinhl): Likewise.
9133 * math/s_ctanl.c (__ctanl): Likewise.
9134 * math/s_ctanhl.c (__ctanhl): Likewise.
9135
203e5603
JM
91362012-09-25 Joseph Myers <joseph@codesourcery.com>
9137
9138 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9139 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9140 (_IO_off_t): Define to __off_t, not _G_off_t.
9141 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9142 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9143 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9144 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9145 type of __dummy and __dummy2 fields.
9146 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9147 (_G_ssize_t): Likewise.
9148 (_G_off_t): Likewise.
9149 (_G_pid_t): Likewise.
9150 (_G_uid_t): Likewise.
9151 (_G_wchar_t): Likewise.
9152 (_G_wint_t): Likewise.
9153 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9154 (_G_ssize_t): Likewise.
9155 (_G_off_t): Likewise.
9156 (_G_pid_t): Likewise.
9157 (_G_uid_t): Likewise.
9158 (_G_wchar_t): Likewise.
9159 (_G_wint_t): Likewise.
9160 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9161 (_G_ssize_t): Likewise.
9162 (_G_off_t): Likewise.
9163 (_G_pid_t): Likewise.
9164 (_G_uid_t): Likewise.
9165 (_G_wchar_t): Likewise.
9166 (_G_wint_t): Likewise.
9167
9fab36eb
SP
91682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9169
9170 * malloc/arena.c: Include malloc-sysdep.h.
9171 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9172 is sufficient to shrink the heap or an unmap is needed.
9173 * sysdeps/generic/malloc-sysdep.h: New file. Define
9174 new function check_may_shrink_heap.
9175 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9176 new function check_may_shrink_heap.
9177
2b4f00d1
SP
91782012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9179
9180 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9181 comments.
9182
9a9028b1
DL
91832012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9184
57c69bef
DL
9185 * catgets/test-gencat.sh: Add "set -e".
9186 * elf/tst-pathopt.sh: Likewise.
9187 * grp/tst_fgetgrent.sh: Likewise.
9188 * iconvdata/run-iconv-test.sh: Likewise.
9189 * intl/tst-gettext.sh: Likewise.
9190 * intl/tst-gettext2.sh: Likewise.
9191 * intl/tst-gettext4.sh: Likewise.
9192 * intl/tst-gettext6.sh: Likewise.
9193 * intl/tst-translit.sh: Likewise.
9194 * io/ftwtest-sh: Likewise.
9195 * libio/test-freopen.sh: Likewise.
9196 * malloc/tst-mtrace.sh: Likewise.
9197 * posix/globtest.sh: Likewise.
9198 * posix/tst-getconf.sh: Likewise.
9199 * posix/wordexp-tst.sh: Likewise.
9200 * stdio-common/tst-printf.sh: Likewise.
9201 * stdio-common/tst-unbputc.sh: Likewise.
9202 * stdlib/tst-fmtmsg.sh: Likewise.
9203 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9204 * catgets/Makefile: Do not specify -e option when running
9205 testsuite shell scripts.
9206 * elf/Makefile: Likewise.
9207 * grp/Makefile: Likewise.
9208 * iconvdata/Makefile: Likewise.
9209 * intl/Makefile: Likewise.
9210 * io/Makefile: Likewise.
9211 * libio/Makefile: Likewise.
9212 * malloc/Makefile: Likewise.
9213 * posix/Makefile: Likewise.
9214 * stdio-common/Makefile: Likewise.
9215 * stdlib/Makefile: Likewise.
9216 * sysdeps/x86_64/Makefile: Likewise.
9217
9a9028b1
DL
9218 * io/ftwtest-sh: Add copyright header.
9219 * posix/globtest.sh: Likewise.
9220 * posix/tst-getconf.sh: Likewise.
9221 * posix/wordexp-tst.sh: Likewise.
9222 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9223
ced6f16e
L
92242012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9225
94b32c39
L
9226 [BZ #13679]
9227 * Makeconfig (+link): Defined as $(+link-static) if
9228 $(build-shared) isn't yes.
9229 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9230 isn't yes.
9231 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9232
189e935b
L
9233 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9234
ced6f16e
L
9235 [BZ #14562]
9236 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9237 new chunk size with MALLOC_ALIGN_MASK.
9238
a9f8e53a
JM
92392012-09-24 Joseph Myers <joseph@codesourcery.com>
9240
9241 [BZ #5044]
9242 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9243 <rounding-mode.h>.
9244 (__printf_fphex): Determine rounding using get_rounding_mode and
9245 round_away.
9246 * stdio-common/tst-printf-round.c (struct hex_test): New
9247 structure.
9248 (hex_tests): New variable.
9249 (test_hex_in_one_mode): New function.
9250 (do_test): Also run tests for hex float output.
9251
43153109
JM
92522012-09-21 Joseph Myers <joseph@codesourcery.com>
9253
9254 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9255 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9256 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9257 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9258 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9259 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9260 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9261 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9262
8a26625d
JM
92632012-09-20 Joseph Myers <joseph@codesourcery.com>
9264
9265 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9266 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9267 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9268 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9269
f3fd569c
DL
92702012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9271
9272 [BZ #14579]
9273 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9274 mode only.
9275 * elf/tst-rtld-load-self.sh: New test.
9276 * elf/Makefile: Run it.
9277
63bbedd4
JM
92782012-09-18 Joseph Myers <joseph@codesourcery.com>
9279
9280 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9281 (tst-writev-ENV): Remove.
9282 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9283
626f8b6a
CM
92842012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9285
9286 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9287
b7aaa4d6
JM
92882012-09-17 Joseph Myers <joseph@codesourcery.com>
9289
9290 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9291 unconditional.
9292 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9293 Likewise.
9294 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9295 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9296 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9297 Likewise.
9298
65513990
L
92992012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9300
9301 [BZ #14587]
9302 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9303 * config.make.in (have-cpp-asm-debuginfo): Removed.
9304 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9305 * configure: Regenerated.
9306
784761be
JM
93072012-09-14 Joseph Myers <joseph@codesourcery.com>
9308
9309 [BZ #5044]
9310 * stdio-common/printf_fp.c: Include <stdbool.h> and
9311 <rounding-mode.h>.
9312 (___printf_fp): Determine rounding using get_rounding_mode and
9313 round_away.
9314 * stdio-common/tst-printf-round.c: New file.
9315 * stdio-common/Makefile (tests): Add tst-printf-round.
9316 (link-libm): New variable.
9317 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9318
9503345f
L
93192012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 [BZ #14576]
9322 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9323 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9324 Likewise.
9325 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9326 Likewise.
9327
ad35fc00
JM
93282012-09-13 Joseph Myers <joseph@codesourcery.com>
9329
9330 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9331 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9332 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9333 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9334
6c9b0f68
JM
93352012-09-12 Joseph Myers <joseph@codesourcery.com>
9336
9337 [BZ #14518]
9338 * include/rounding-mode.h: New file.
9339 * sysdeps/generic/get-rounding-mode.h: Likewise.
9340 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9341 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9342 (MAX_VALUE): New macro.
9343 (MIN_VALUE): Likewise.
9344 (overflow_value): New function.
9345 (underflow_value): Likewise.
9346 (round_and_return): Use overflow_value and underflow_value to
9347 determine return values in overflow and underflow cases. Use
9348 round_away to determine rounding depending on rounding mode.
9349 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9350 determine return values in overflow and underflow cases.
9351 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9352 (struct test_results): New structure.
9353 (struct test): Use struct test_results to store expected results
9354 for all rounding modes.
9355 (TEST): Include expected results for all rounding modes.
9356 (test_in_one_mode): New function.
9357 (do_test): Use test_in_one_mode to compute and check results.
9358 Check results for all rounding modes.
9359 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9360 $(link-libm).
9361
19fcedd5
AM
93622012-12-09 Allan McRae <allan@archlinux.org>
9363
1e9d84cd 9364 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9365
8bbfd2f1
JM
93662012-09-11 Joseph Myers <joseph@codesourcery.com>
9367
9368 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9369 (_G_int32_t): Likewise.
9370 (_G_uint16_t): Likewise.
9371 (_G_uint32_t): Likewise.
9372 (_G_HAVE_BOOL): Likewise.
9373 (_G_HAVE_ATEXIT): Likewise.
9374 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9375 (_G_HAVE_IO_FILE_OPEN): Likewise.
9376 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9377 (_G_int32_t): Likewise.
9378 (_G_uint16_t): Likewise.
9379 (_G_uint32_t): Likewise.
9380 (_G_HAVE_BOOL): Likewise.
9381 (_G_HAVE_ATEXIT): Likewise.
9382 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9383 (_G_HAVE_IO_FILE_OPEN): Likewise.
9384 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9385 (_G_int32_t): Likewise.
9386 (_G_uint16_t): Likewise.
9387 (_G_uint32_t): Likewise.
9388 (_G_HAVE_BOOL): Likewise.
9389 (_G_HAVE_ATEXIT): Likewise.
9390 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9391 (_G_HAVE_IO_FILE_OPEN): Likewise.
9392
b1dc5912
L
93932012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9394
9395 * csu/libc-tls.c: Update copyright years.
9396
0e886ef9
JM
93972012-09-10 Joseph Myers <joseph@codesourcery.com>
9398
28361c5e
JM
9399 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9400 [!_G_USING_THUNKS]: Remove conditional code.
9401 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9402 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9403
0e886ef9
JM
9404 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9405 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9406 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9407 (_G_VTABLE_LABEL_PREFIX): Likewise.
9408 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9409 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9410 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9411 (_G_VTABLE_LABEL_PREFIX): Likewise.
9412 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9413 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9414 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9415 (_G_VTABLE_LABEL_PREFIX): Likewise.
9416 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9417
bcba7aa2
L
94182012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9419
9420 * libio/Makefile: Include ../Makeconfig before tests.
9421 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9422 only if $(build-shared) is yes.
9423
06585ee8
L
9424 * iconv/gconv_db.c: Update copyright years.
9425
80ccd52c
LD
94262012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9427
9428 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9429 unwind info if defined PIC. Fix special cases description.
9430 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9431
9432 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9433 DP_HI_MASK entry.
9434 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9435
691bc9c1
L
94362012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9437
3d9b46b3
L
9438 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9439
de2139a9
L
9440 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9441 is NULL.
9442
5ca78dd0
L
9443 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9444 (LDLIBS-tst-chk4): This.
9445 (LDFLAGS-tst-chk5): Renamed to ...
9446 (LDLIBS-tst-chk5): This.
9447 (LDFLAGS-tst-chk6): Renamed to ...
9448 (LDLIBS-tst-chk6): This.
9449 (LDFLAGS-tst-lfschk4): Renamed to ...
9450 (LDLIBS-tst-lfschk4): This.
9451 (LDFLAGS-tst-lfschk5): Renamed to ...
9452 (LDLIBS-tst-lfschk5): This.
9453 (LDFLAGS-tst-lfschk6): Renamed to ...
9454 (LDLIBS-tst-lfschk6): This.
9455
691bc9c1
L
9456 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9457 on $(common-objpfx)soversions.mk.
9458
65cafb1c
JM
94592012-09-07 Joseph Myers <joseph@codesourcery.com>
9460
9461 [BZ #10014]
9462 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9463 example host name.
9464
c78ab094
SP
94652012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9466
9467 * malloc/arena.c (arena_get_retry): New function that gets
9468 another arena for the caller to try its request on.
9469 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9470 current arena cannot fulfill the request.
9471 (__libc_memalign): Likewise.
9472 (__libc_memalign): Likewise.
9473 (__libc_pvalloc): Likewise.
9474 (__libc_calloc): Likewise.
9475
01f49f59
JT
94762012-09-05 John Tobey <john.tobey@gmail.com>
9477
9478 [BZ #13542]
9479 * manual/arith.texi (Operations on Complex): Fix description
9480 of carg branch cut.
9481
4c23fed5
JM
94822012-09-06 Joseph Myers <joseph@codesourcery.com>
9483
1d3c8572
JM
9484 [BZ #10014]
9485 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9486 host name.
9487
4c23fed5
JM
9488 [BZ #10038]
9489 * manual/memory.texi (Memory): Make order of menu items match
9490 order of sections.
9491
04570aaa
L
94922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9493
9494 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9495 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9496 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9497
b80af2f4
L
94982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9499
9500 * csu/libc-tls.c (static_dtv): Renamed to ...
9501 (_dl_static_dtv): This. Make it global.
9502 (_dl_initial_dtv): Removed.
9503 (__libc_setup_tls): Updated.
9504 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9505 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9506 DL_INITIAL_DTV.
9507
2abe9f15
PM
95082012-09-06 Petr Machata <pmachata@redhat.com>
9509
9510 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9511 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9512 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9513 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9514
0948c3af
L
95152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9516
9517 [BZ #14545]
9518 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9519 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9520 freeing dtv[-1].
9521
a5055ad1
L
95222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9523
9524 [BZ #14544]
9525 * Makeconfig (link-static-before-libc): Replace $(+prector)
9526 with $(+prectorT).
9527 (link-static-after-libc): Replace $(+postctor) with
9528 $(+postctorT).
9529 (link-bounded): Replace $(+prector)/$(+postctor) with
9530 $(+prectorT)/$(+postctorT).
9531 (+prectorT): New macro.
9532 (+postctorT): Likewise.
9533
ed8c2ecd
JM
95342012-09-06 Joseph Myers <joseph@codesourcery.com>
9535
9536 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9537 (round_str): Handle values above the maximum for IBM long double
9538 as inexact.
9539 * stdlib/tst-strtod-round.c (tests): Regenerated.
9540
14c996c8
AK
95412012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9542
9543 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9544 assembler flag.
9545 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9546 zarch_nohighgprs around the zarch optimized routines.
9547 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9548 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9549 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9550 for zarch.
9551
430d6ce6
DM
95522012-09-05 David S. Miller <davem@davemloft.net>
9553
9554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9555
ff04dda4
DM
9556 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9557 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9558 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9559 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9560 entries.
9561
24d4e01b
AO
95622012-09-05 Alexandre Oliva <aoliva@redhat.com>
9563
9564 * malloc/arena.c: Fold copyright years.
9565 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9566
61d58174
AO
95672012-09-05 Alexandre Oliva <aoliva@redhat.com>
9568
9569 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9570
20196a5e
AO
95712012-09-05 Alexandre Oliva <aoliva@redhat.com>
9572
9573 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9574
5c447383
AO
95752012-09-05 Alexandre Oliva <aoliva@redhat.com>
9576
9577 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9578 change internal state upon failure.
9579
fad64255
AO
95802012-09-05 Alexandre Oliva <aoliva@redhat.com>
9581
9582 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9583 * malloc/memusage.c (mmap): Likewise.
9584 (mmap64, mremap): Likewise. Adjust name in comment.
9585
1ffb8c90
SP
95862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9587
9588 * libio/fileops.c: Fix typos in comments.
9589 * libio/oldfileops.c: Likewise.
9590 * libio/wfileops.c: Likewise.
9591
6ef9cc37
SP
95922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9593
9594 [BZ #1349]
9595 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9596 (tst-malloc-usable-ENV): Set environment for test case.
9597 * malloc/hooks.c (malloc_check_get_size): New function to get
9598 requested size.
9599 * malloc/malloc.c (musable): Use malloc_check_get_size.
9600 * malloc/tst-malloc-usable.c: New test case.
9601
4d038ae3
AS
96022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9603
9604 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9605
c4e85184
AM
96062012-09-05 Allan McRae <allan@archlinux.org>
9607
b9dafc56 9608 [BZ #13966]
c4e85184
AM
9609 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9610 determine header location.
9611 * configure: Regenerated.
9612
e1343020
AS
96132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9614
9615 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9616 float format.
9617 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9618 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9619 format.
e1343020
AS
9620 (test): Regenerate.
9621
0a9f1987
DM
96222012-09-04 David S. Miller <davem@davemloft.net>
9623
9624 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9625 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9626 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9627
29237804
FW
96282012-09-04 Florian Weimer <fweimer@redhat.com>
9629
9630 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9631 failures.
9632
edb3cb88
FW
9633 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9634
60160d83
JM
96352012-09-04 Joseph Myers <joseph@codesourcery.com>
9636
9637 [BZ #9914]
9638 * libio/iogetdelim.c: Include <limits.h>.
9639 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9640 + len + 1 would overflow.
9641
bcd6c8dc
AJ
96422012-09-03 Andreas Jaeger <aj@suse.de>
9643
9644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9645 * sysdeps/i386/fpu/libm-test-ulps: Update.
9646
4ffffbd2
LD
96472012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9648
9649 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9650 Add s_sinf-sse2, s_conf-sse2.
9651
9652 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9653 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9654 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9655 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9656
9657 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9658 for using routine as __sinf_ia32.
9659 Use macro for function declaration and weak_alias.
9660 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9661 for using routine as __cosf_ia32.
9662 Use macro for function declaration and weak_alias.
9663
9664 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9665 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9666
9667 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9668 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9670
9671 * math/libm-test.inc (cos_test): Add more test cases.
9672 (sin_test): Likewise.
9673 (sincos_test): Likewise.
9674
511fa286
AK
96752012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9676
9677 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9678 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9679 hidden.
9680 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9681
5f30cfec
L
96822012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9683
9684 [BZ #14538]
9685 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9686 first element of the GOT.
9687 (elf_machine_load_address): Return the difference between
9688 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9689
0786794f
AM
96902012-09-01 Allan McRae <allan@archlinux.org>
9691
5f30cfec
L
9692 [BZ #13412]
9693 * configure.in (AWK): Require gawk version 3.0 or later.
9694 * configure: Regenerated.
0786794f 9695
26889eac
JM
96962012-09-01 Joseph Myers <joseph@codesourcery.com>
9697
9698 * sysdeps/unix/sysv/linux/kernel-features.h
9699 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9700 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9701 [__NR_clock_getres]: Make code unconditional.
9702 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9703 (clock_getcpuclockid): Remove code left unreachable by removal of
9704 conditionals.
9705 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9706 code unconditional.
9707 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9708 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9709 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9710 Make code unconditional.
9711 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9712 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9713 * sysdeps/unix/sysv/linux/clock_settime.c
9714 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9715 conditional code.
9716 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9717 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9718
d22e28b0
L
97192012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9720
9721 [BZ #14476]
9722 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9723 scripts/test-installation.pl.
9724
9725 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9726 and $ld_so_version if it is set.
9727
050af9c4
SP
97282012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9729
9730 [BZ #14516]
9731 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9732 failure if reading from procfs failed.
9733 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9734
ad845c0b
JM
97352012-08-27 Joseph Myers <joseph@codesourcery.com>
9736
9737 * sysdeps/unix/sysv/linux/kernel-features.h
9738 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9739 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9740 Remove conditional code.
9741 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9742 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9743 Remove conditional code.
9744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9745 * sysdeps/unix/sysv/linux/i386/fxstat.c
9746 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9748 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9749 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9751 * sysdeps/unix/sysv/linux/i386/lxstat.c
9752 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9754 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9755 Remove conditional code.
9756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9757 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9758 Remove conditional code.
9759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9760 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9761 <kernel-features.h>.
9762 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9763 Remove.
9764 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9765 Remove conditional code.
9766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9767 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9768 Remove conditional.
9769
5dbf56af
MF
97702012-08-27 Mike Frysinger <vapier@gentoo.org>
9771
9772 [BZ #5400]
9773 * NEWS: Add fixed bug number.
9774
d6e70f43
JM
97752012-08-27 Joseph Myers <joseph@codesourcery.com>
9776
7efb4737
JM
9777 [BZ #14519]
9778 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9779 underflowing exponent in case of negative sign.
9780 * stdlib/tst-strtod-round-data: Add more tests.
9781 * stdlib/tst-strtod-round.c (tests): Regenerated.
9782
af92131a
JM
9783 [BZ #3479]
9784 * stdlib/strtod_l.c (NDIG): Remove.
9785 (HEXNDIG): Likewise.
9786 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9787 smallest representable value.
9788 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9789 lie within an exact representation of 1/2 ulp of the result.
9790 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9791 unconditionally.
9792 (TENS_P9_IDX): Define unconditionally.
9793 (TENS_P9_SIZE): Likewise.
9794 (TENS_P10_IDX): Likewise.
9795 (TENS_P10_SIZE): Likewise.
9796 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9797 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9798 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9799 entries for 10^2^13 and 10^2^14.
9800 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9801 (TENS_P13_IDX): Define.
9802 (TENS_P13_SIZE): Likewise.
9803 (TENS_P14_IDX): Likewise.
9804 (TENS_P14_SIZE): Likewise.
9805 (_fpioconst_pow10): Change array size to
9806 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9807 unconditional.
9808 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9809 1024]: Add entries for 10^2^13 and 10^2^14.
9810 [LAST_POW10 > _LAST_POW10]: Remove #error.
9811 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9812 (_fpioconst_pow10): Change array size to
9813 FPIOCONST_POW10_ARRAY_SIZE.
9814 * stdlib/gen-fpioconst.c: New file.
9815 * stdlib/gen-tst-strtod-round.c: Likewise.
9816 * stdlib/tst-strtod-round-data: Likewise.
9817 * stdlib/tst-strtod-round.c: Likewise.
9818 * stdlib/Makefile (tests): Add tst-strtod-round.
9819
d6e70f43
JM
9820 [BZ #14459]
9821 * stdlib/strtod_l.c: Include <stdint.h>.
9822 (NDEBUG): Do not define.
9823 (round_and_return): Change EXPONENT parameter to type intmax_t.
9824 Rearrange calculations to avoid internal overflow possibilities.
9825 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9826 Rearrange calculations to avoid internal overflow possibilities.
9827 Assert that number fits inside MPNSIZE limbs.
9828 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9829 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9830 calculations and add assertions to avoid internal overflow
9831 possibilities. Add casts to avoid signed/unsigned operations.
9832 * stdlib/tst-strtod-overflow.c: New file.
9833 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9834
1f529f7d
MP
98352012-08-25 Marek Polacek <polacek@redhat.com>
9836
9837 * time/time.h: Fix some typos in comments.
9838
59a629f1
RM
98392012-08-23 Roland McGrath <roland@hack.frob.com>
9840
9841 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9842 * posix/tst-rfc3484-2.c: Likewise.
9843 * posix/tst-rfc3484-3.c: Likewise.
9844
d3bafbc9
SM
98452012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9846
9847 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9848 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9849
4efcc022
JM
98502012-08-23 Joseph Myers <joseph@codesourcery.com>
9851
9852 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9853 #include of fxstatat64.c.
9854
3cc3ef96
RM
98552012-08-22 Roland McGrath <roland@hack.frob.com>
9856
f04e2132
RM
9857 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9858 * shadow/getspent_r.c: Likewise.
9859 * shadow/getspnam.c: Likewise.
9860 * shadow/getspnam_r.c: Likewise.
9861 * gshadow/getsgent.c: Likewise.
9862 * gshadow/getsgent_r.c: Likewise.
9863 * gshadow/getsgnam.c: Likewise.
9864 * gshadow/getsgnam_r.c: Likewise.
9865 * inet/getnetbyad.c: Likewise.
9866 * inet/getnetbyad_r.c: Likewise.
9867 * inet/getnetbynm.c: Likewise.
9868 * inet/getnetbynm_r.c: Likewise.
9869 * inet/getnetent.c: Likewise.
9870 * inet/getnetent_r.c: Likewise.
9871 * inet/getproto.c: Likewise.
9872 * inet/getproto_r.c: Likewise.
9873 * inet/getprtent.c: Likewise.
9874 * inet/getprtent_r.c: Likewise.
9875 * inet/getprtname.c: Likewise.
9876 * inet/getprtname_r.c: Likewise.
9877 * inet/getrpcbyname.c: Likewise.
9878 * inet/getrpcbyname_r.c: Likewise.
9879 * inet/getrpcbynumber.c: Likewise.
9880 * inet/getrpcbynumber_r.c: Likewise.
9881 * inet/getrpcent.c: Likewise.
9882 * inet/getrpcent_r.c: Likewise.
9883 * inet/getaliasent.c: Likewise.
9884 * inet/getaliasent_r.c: Likewise.
9885 * inet/getaliasname.c: Likewise.
9886 * inet/getaliasname_r.c: Likewise.
9887 * nscd/getgrgid_r.c: Likewise.
9888 * nscd/getgrnam_r.c: Likewise.
9889 * nscd/gethstbyad_r.c: Likewise.
9890 * nscd/gethstbynm3_r.c: Likewise.
9891 * nscd/getpwnam_r.c: Likewise.
9892 * nscd/getpwuid_r.c: Likewise.
9893 * nscd/getsrvbynm_r.c: Likewise.
9894 * nscd/getsrvbypt_r.c: Likewise.
9895 * nscd/gai.c: Likewise.
9896
c53d909c
RM
9897 * configure.in (build_nscd): New substituted variable, set
9898 by --disable-build-nscd and defaults to $use_nscd.
9899 * configure: Regenerated.
9900 * config.make.in (build-nscd): New substituted variable.
9901 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9902 Change conditional to require [$(build-nscd) = yes] as well.
9903 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9904
3cc3ef96
RM
9905 [BZ# 13696]
9906 * configure.in (use_nscd): New substituted variable, set by
9907 --disable-nscd. If enabled, define USE_NSCD.
9908 * configure: Regenerated.
9909 * config.h.in: Add USE_NSCD.
9910 * config.make.in (use-nscd): New substituted variable.
9911 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9912 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9913 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9914 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9915 (CFLAGS-getgrnam_r.c): Likewise.
9916 (CFLAGS-initgroups.c): Likewise.
9917 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9918 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9919 Variables removed.
9920 * inet/getnetgrent_r.c
9921 (nscd_setnetgrent): New function, broken out of ...
9922 (setnetgrent): ... here. Call it.
9923 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9924 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9925 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9926 * nscd/Makefile (routines, aux): Move definitions after include of
9927 Makeconfig. Conditionalize on [$(use-nscd) != no].
9928 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9929 Conditionalize on [USE_NSCD].
9930 (is_nscd, nscd_init_cb): Likewise.
9931 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9932 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9933 * nss/nss_db/db-init.c: Likewise.
9934 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9935 [USE_NSCD].
9936 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9937 (make_request): Use it.
9938 (cache_valid_p): New function.
9939 (__check_pf): Use it.
9940 * NEWS: Add item for --disable-nscd.
9941
07e51550
DL
99422012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9943
9944 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9945 to support sed >= 4.2.1-20-ga9bf076.
9946 * configure: Regenerated.
9947
35a5b08b
RM
99482012-08-22 Roland McGrath <roland@hack.frob.com>
9949
9950 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9951 Conditionalize whole body on [IREL].
9952
8479f23a
JL
99532012-08-22 Jeff Law <law@redhat.com>
9954
9955 [BZ #14505]
9956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9957 if the family is PF_UNSPEC.
9958
48da0b21
MF
99592012-08-22 Mike Frysinger <vapier@gentoo.org>
9960
9961 * Makerules (lib-version): Rename from V.
9962 (install-lib-nosubdir): Change V to lib-version.
9963
15d0da8c
WS
99642012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9965
9966 [BZ #14252]
9967 * powerpc32/power6/wcschr.c: New file.
9968 * powerpc32/power6/wcscpy.c: New file.
9969 * powerpc32/power6/wcsrchr.c: New file.
9970 * powerpc64/power6/wcschr.c: New file.
9971 * powerpc64/power6/wcscpy.c: New file.
9972 * powerpc64/power6/wcsrchr.c: New file.
9973
bcca0895
MK
99742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9975
9976 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9977 (two_way_short_needle): Use it.
5a4aaa33
RM
9978 * string/strstr.c (AVAILABLE1_USES_J): Define.
9979 * string/strcasestr.c: Likewise.
99677e57
MK
9980
9981 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9982 array references.
9983 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9984
400726de
MK
9985 [BZ #11607]
9986 * NEWS: Add an entry.
9987 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9988 define their defaults.
9989 (two_way_short_needle): Detect end-of-string on-the-fly.
9990 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9991 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9992 * string/bug-strcasestr1.c: New test.
9993 * string/Makefile: Run it.
9994
20a71f2c
MK
99952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9996
9997 [BZ #11607]
9998 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9999 the first character.
10000
21ad0558
RM
100012012-08-21 Roland McGrath <roland@hack.frob.com>
10002
10003 * csu/elf-init.c (__libc_csu_irel): Function removed.
10004 * csu/libc-start.c (apply_irel): New function.
10005 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10006
0e1d9911
JM
100072012-08-21 Joseph Myers <joseph@codesourcery.com>
10008
10009 * sysdeps/unix/sysv/linux/kernel-features.h
10010 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10011 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10012 <kernel-features.h>.
10013 [__NR_fadvise64_64]: Make code unconditional.
10014 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10015 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10016 !__NR_fadvise64_64)]: Likewise.
10017 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10018 !__NR_fadvise64_64))]: Likewise.
10019 [__NR_fadvise64]: Make code unconditional.
10020 [!__NR_fadvise64]: Remove conditional code.
10021 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10022 <kernel-features.h>.
10023 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10024 unconditional.
10025 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10026 conditional code.
10027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10028 not include <kernel-features.h>.
10029 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10030 unconditional.
10031 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10032 conditional code.
10033 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10034 include <kernel-features.h>.
10035 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10036 unconditional.
10037 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10038 conditional code.
10039
14a50c9d
WS
100402012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10041
10042 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10043 slight instruction rearrangements per scrollpipe analysis.
10044 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10045
c0f4faf0
RM
100462012-08-20 Roland McGrath <roland@hack.frob.com>
10047
696da859
RM
10048 * manual/syslog.texi (syslog; vsyslog, closelog):
10049 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10050 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10051
c0f4faf0
RM
10052 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10053 DSOCAPS to match condition on defining it.
10054
348363b2
JM
100552012-08-20 Joseph Myers <joseph@codesourcery.com>
10056
a35cbf28
JM
10057 * sysdeps/unix/sysv/linux/kernel-features.h
10058 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10060 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10061 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10063 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10064 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10066 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10067 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10068
445f7ecd
JM
10069 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10070 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10071
348363b2
JM
10072 * sysdeps/unix/sysv/linux/kernel-features.h
10073 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10074 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10075 unconditional.
10076 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10077 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10078 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10079 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10080 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10081 Make code unconditional.
10082 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10083 (__mmap64) [!__NR_mmap2]: Likewise.
10084 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10085 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10086 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10087 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10088 [__NR_mmap2]: Make code unconditional.
10089 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10090 (__mmap64) [!__NR_mmap2]: Likewise.
10091
bc5bc0e5
AK
100922012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10093
10094 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10095
88d506de
AJ
100962012-08-18 Andreas Jaeger <aj@suse.de>
10097
10098 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10099
493387d2
MF
101002012-08-18 Mike Frysinger <vapier@gentoo.org>
10101
10102 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10103 * include/unistd.h (__have_sock_cloexec): Likewise.
10104 (__have_pipe2): Likewise.
10105 (__have_dup3): Likewise.
10106
a277af22
MF
101072012-08-18 Mike Frysinger <vapier@gentoo.org>
10108
10109 [BZ #9685]
10110 * include/unistd.h (__have_pipe2): Change define into an extern int.
10111 (__have_dup3): Likewise.
10112 * socket/have_sock_cloexec.c: Include fcntl.h.
10113 (__have_pipe2): New variable.
10114 (__have_dup3): Likewise.
10115
fdab8fd3
MF
101162012-08-17 Mike Frysinger <vapier@gentoo.org>
10117
10118 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10119
31035e80
MP
101202012-08-17 Marek Polacek <polacek@redhat.com>
10121
10122 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10123 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10124
3bd9e993
RM
101252012-08-17 Roland McGrath <roland@hack.frob.com>
10126
c91c505f
RM
10127 * configure.in: Add AC_SUBST for sysheaders.
10128 * configure: Regenerated.
10129 * config.make.in (sysheaders): New substituted variable.
10130
7c6f9d53
RM
10131 * sysdeps/unix/mkfifo.c: Moved ...
10132 * sysdeps/posix/mkfifo.c: ... here.
10133 * sysdeps/unix/mkfifoat.c: Moved ...
10134 * sysdeps/posix/mkfifoat.c: ... here.
10135
10136 * sysdeps/unix/utime.c: Moved ...
10137 * sysdeps/posix/utime.c: ... here.
10138
10139 * sysdeps/unix/time.c: Moved ...
10140 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10141 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10142 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10143
10144 * sysdeps/unix/nice.c: Moved ...
10145 * sysdeps/posix/nice.c: ... here.
10146
10147 * sysdeps/unix/alarm.c: Moved ...
10148 * sysdeps/posix/alarm.c: ... here.
10149
3bd9e993
RM
10150 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10151
d1f09384
JL
101522012-08-17 Jeff Law <law@redhat.com>
10153
10154 * intl/Makefile (codeset_mo): New variable.
10155 ($(codeset_mo)): New target.
10156 (tst-codeset.out): Depend on that. Remove explicit rule.
10157 (tst-gettext3.out, tst-gettext5.out): Likewise.
10158 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10159 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10160 * intl/tst-codeset.sh: Remove.
10161 * intl/tst-gettext3.sh: Likewise.
10162 * intl/tst-gettext5.sh: Likewise.
10163
2ae1ae5c
RM
101642012-08-17 Roland McGrath <roland@hack.frob.com>
10165
c31fdb83
RM
10166 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10167 * sysdeps/unix/syscalls.list: ... here.
10168
a0844057
RM
10169 * sysdeps/posix/getaddrinfo.c
10170 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10171 (gaiconf_init, gaiconf_reload): Use them.
10172 [!_STATBUF_ST_NSEC]
10173 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10174 Define using time_t rather than struct timespec.
10175
750c1f2a
RM
10176 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10177 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10178 Macros removed.
10179 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10180 [!NO_THREADS].
10181 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10182 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10183 Likewise.
10184
2ae1ae5c
RM
10185 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10186 __libc_cleanup_push argument.
10187
e66a42f5
RM
10188 * bits/param.h: New file.
10189 * misc/sys/param.h: New file.
10190 * include/sys/param.h: New file.
10191 * misc/Makefile (headers): Add bits/param.h.
10192 * sysdeps/generic/sys/param.h: File removed.
10193 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10194 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10195 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10196 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10197
b7c08a66
RM
10198 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10199 last change.
10200
b2e1c562
RM
10201 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10202 [_IO_MTSAFE_IO].
10203 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10204 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10205 New macros.
10206
c75ccd4c
RM
10207 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10208 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10209 rather than -D_IO_MTSAFE_IO conditionally.
10210 * stdio-common/Makefile (CPPFLAGS): Likewise.
10211 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10212 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10213 Use $(libio-mtsafe).
10214 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10215 of -D_IO_MTSAFE_IO.
10216 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10217 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10218 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10219 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10220 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10221 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10222 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10223 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10224 (CFLAGS-fread_u_chk.c): Likewise.
10225 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10226 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10227 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10228 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10229 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10230 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10231 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10232 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10233 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10234
10235 * libio/Makefile: Test [$(libc-reentrant) = yes]
10236 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10237
10238 * Makeconfig
10239 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10240 * sysdeps/pthread/configure: File removed.
10241 * sysdeps/pthread/Makeconfig: New file.
10242 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10243 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10244
d9195db8
GB
102452012-08-16 Gary Benson <gbenson@redhat.com>
10246
10247 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10248 unmapping the first object in a namespace.
10249
86466cd9
RM
102502012-08-16 Roland McGrath <roland@hack.frob.com>
10251
10252 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10253 (__internal_setnetgrent): ... this. Add internal_function to
10254 definition. Add libc_hidden_def.
10255 (setnetgrent): Update caller.
10256 (internal_endnetgrent): Renamed to ...
10257 (__internal_endnetgrent): ... this. Add internal_function to
10258 definition. Add libc_hidden_def.
10259 (endnetgrent): Update caller.
10260 (internal_getnetgrent_r): Renamed to ...
10261 (__internal_getnetgrent_r): ... this. Add internal_function to
10262 definition. Add libc_hidden_def.
10263 (__getnetgrent_r): Update caller.
10264 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10265
c3c8283c
JM
102662012-08-16 Joseph Myers <joseph@codesourcery.com>
10267
10268 * stdlib/longlong.h: Update from GCC.
10269
db1ee0a8
RM
102702012-08-16 Roland McGrath <roland@hack.frob.com>
10271
10272 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10273 on _QL, which is set by umul_ppmm but never used.
10274 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10275 variables, which are set by GMP macros but never used.
10276 * stdio-common/_itowa.c (_itowa): Likewise.
10277 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10278 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10279
30f69637
CD
102802012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10281
10282 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10283 struct La_sh_regs is not constant.
10284 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10285 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10286 and struct La_sparc64_regs are not constant.
10287
93a78ac4
JM
102882012-08-16 Joseph Myers <joseph@codesourcery.com>
10289
10290 * sysdeps/unix/sysv/linux/kernel-features.h
10291 (__ASSUME_POSIX_TIMERS): Remove.
10292 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10293 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10294 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10295 Make code unconditional.
10296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10297 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10298 Make code unconditional.
10299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10300 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10301 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10303 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10304 Make code unconditional.
10305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10306 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10307 (__libc_missing_posix_timers): Remove.
10308
dd924cd7
RM
103092012-08-15 Roland McGrath <roland@hack.frob.com>
10310
4b4f2771
RM
10311 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10312 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10313
601c888b
RM
10314 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10315
176790a7
RM
10316 * elf/dl-sym.c: Include <stdlib.h>.
10317
329bc018
RM
10318 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10319 constants, which avoids warnings in 32-bit builds.
10320
e04e272d
RM
10321 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10322 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10323
952bf94a
RM
10324 * misc/lseek.c: File moved to ...
10325 * io/lseek.c: ... here.
10326
7c99b50a
RM
10327 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10328
dd924cd7
RM
10329 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10330 shifting LEN more than 31 bits at once.
10331
b3f479a8
LD
103322012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10333
10334 [BZ #14195]
8c4ae0d4
RM
10335 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10336 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10337 * string/test-strncasecmp.c (check1): Renamed to...
10338 (bz12205): ...this.
10339 (bz14195): Add new testcase for two empty input strings and N > 0.
10340 (test_main): Call new testcase, adapt for renamed function.
10341
9c55864e
AJ
103422012-08-15 Andreas Jaeger <aj@suse.de>
10343
10344 [BZ #14090]
10345 * crypt/md5test2.c: New test, based on test supplied by Serge
10346 Belyshev <belyshev@depni.sinp.msu.ru>.
10347 * crypt/Makefile (xtests): Add md5test-giant..
10348 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10349
02dcb6c5
PE
103502012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10351
10352 [BZ #14090]
10353 * crypt/md5.c (md5_process_block): Don't assume the buffer
10354 length is less than 2**32.
10355 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10356 length is less than 2**64.
10357
a3f95dcc
RM
103582012-08-15 Roland McGrath <roland@hack.frob.com>
10359
be75d758
RM
10360 * string/str-two-way.h: Include <sys/param.h>.
10361 (MAX): Macro removed.
10362
7312ca90
RM
10363 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10364 Move #define and #undef of memmove to just before and after
10365 including <string.h>.
10366
9a0a5486
RM
10367 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10368 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10369 and after including <string.h>. Move declarations of
10370 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10371 to before #include "string/memmove.c".
10372
67cc348d
RM
10373 * include/dirent.h: Declare __getdirentries.
10374
a3f95dcc
RM
10375 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10376 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10377
ca98e171
MF
103782012-08-14 Mike Frysinger <vapier@gentoo.org>
10379
10380 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10381 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10382 * sysdeps/i386/configure: Regenerated.
10383 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10384 STABS_CURRENT_FILE, and STABS_FUN.
10385 (END): Remove call to STABS_FUN_END.
10386 (STABS_CURRENT_FILE1): Delete.
10387 (STABS_CURRENT_FILE): Likewise.
10388 (STABS_FUN): Likewise.
10389 (STABS_FUN_END): Likewise.
10390 (STABS_FUN2): Likewise.
10391 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10392 * sysdeps/x86_64/configure: Regenerated.
10393
5908bf46
RM
103942012-08-14 Roland McGrath <roland@hack.frob.com>
10395
10396 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10397 * elf/dl-lookup.c: Likewise.
5908bf46 10398
f2c05b9e
JM
103992012-08-14 Joseph Myers <joseph@codesourcery.com>
10400
10401 * sysdeps/unix/sysv/linux/kernel-features.h
10402 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10403 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10404 unconditionally.
10405 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10406 unconditionally.
10407 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10408 condition on __ASSUME_CLONE_THREAD_FLAGS.
10409
e11f5155
AJ
104102012-08-14 Andreas Jaeger <aj@suse.de>
10411
10412 * sysdeps/i386/fpu/libm-test-ulps: Update.
10413
51a9ba86
MK
104142012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10415
2fdd4f78
AJ
10416 * include/atomic.h (atomic_exchange_and_add): Split into ...
10417 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10418 New atomic macros.
51a9ba86 10419
ba6cba9e
MT
104202012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10421
10422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10423
42443a47
JL
104242012-08-13 Jeff Law <law@redhat.com>
10425
10426 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10427 null byte in the output string.
10428
121dce05
JM
104292012-08-10 Joseph Myers <joseph@codesourcery.com>
10430
10431 * sysdeps/unix/sysv/linux/kernel-features.h
10432 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10433 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10434 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10435 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10436 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10437 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10438 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10439
bf51f568
JL
104402012-08-09 Jeff Law <law@redhat.com>
10441
10442 [BZ #13939]
10443 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10444 When avoid_arena is set, don't retry in the that arena. Pick the
10445 next one, whatever it might be.
10446 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10447 (arena_lock): Pass in new parameter to arena_get2.
10448 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10449 arena_get2.
10450 (__libc_malloc): Unify retrying after main arena failure with
10451 __libc_memalign version.
10452 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10453
f85fa270
L
104542012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10455
10456 [BZ #14166]
10457 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10458 to __redirect_strstr.
10459 (__strstr_sse42): Use typeof __redirect_strstr.
10460 (__strstr_ia32): Likewise.
10461 (__libc_strstr): New prototype.
10462 (strstr): Renamed to ...
10463 (__libc_strstr): This.
10464 (strstr): New strong alias of __libc_strstr.
10465 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10466 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10467 __redirect_time.
10468 Include <time.h>.
10469 (__libc_time): New prototype.
10470 (time_ifunc): Replace time with __libc_time.
10471 (time): New strong alias and hidden definition of __libc_time.
10472 (__GI_time): Remove strong alias.
10473 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10474 Include <stddef.h>.
10475 (memmove): Redefined to __redirect_memmove.
10476 (__memmove_sse2): Use typeof __redirect_memmove.
10477 (__memmove_ssse3): Likewise.
10478 (__memmove_ssse3_back): Likewise.
10479 (__libc_memmove): New prototype.
10480 (memmove): Renamed to ...
10481 (__libc_memmove): This.
10482 (memmove): New strong alias of __libc_memmove.
10483
33b4a91e
MS
104842012-08-08 Mark Salter <msalter@redhat.com>
10485
10486 * elf/elf.h
10487 (R_MN10300_TLS_GD): Define.
10488 (R_MN10300_TLS_LD): Likewise.
10489 (R_MN10300_TLS_LDO): Likewise.
10490 (R_MN10300_TLS_GOTIE): Likewise.
10491 (R_MN10300_TLS_IE): Likewise.
10492 (R_MN10300_TLS_LE): Likewise.
10493 (R_MN10300_TLS_DTPMOD): Likewise.
10494 (R_MN10300_TLS_DTPOFF): Likewise.
10495 (R_MN10300_TLS_TPOFF): Likewise.
10496 (R_MN10300_SYM_DIFF): Likewise.
10497 (R_MN10300_ALIGN): Likewise.
10498 (R_MN10300_NUM): Update.
10499
b36137f1
JM
105002012-08-08 Joseph Myers <joseph@codesourcery.com>
10501
10502 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10503 Remove.
10504
cdd915fd
RM
105052012-08-08 Roland McGrath <roland@hack.frob.com>
10506
a2433aac
RM
10507 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10508
cdd915fd
RM
10509 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10510 sysdeps/unix -> sysdeps/posix move.
10511 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10512
bf9b740a
AM
105132012-08-07 Allan McRae <allan@archlinux.org>
10514
10515 [BZ #14303]
10516 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10517 (SUNOS_CPP): Likewise.
10518 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10519 not found.
10520 (open_input): Call CPP using execvp.
10521
93df14ee
JM
105222012-08-07 Joseph Myers <joseph@codesourcery.com>
10523
10524 * sysdeps/unix/sysv/linux/kernel-features.h
10525 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10526 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10527 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10528 (__ASSUME_WAITID_SYSCALL): Likewise.
10529 * sysdeps/unix/sysv/linux/dl-execstack.c
10530 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10531 code unconditional.
10532 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10533 conditional code.
10534 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10535 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10536 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10537 code.
10538 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10539 unconditional.
10540 [__ASSUME_WAITID_SYSCALL]: Likewise.
10541 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10542
d34689de
RM
105432012-08-07 Roland McGrath <roland@hack.frob.com>
10544
a281decc
RM
10545 * sysdeps/unix/closedir.c: Renamed to ...
10546 * sysdeps/posix/closedir.c: ... here.
10547 * sysdeps/unix/dirfd.c: Renamed to ...
10548 * sysdeps/posix/dirfd.c: ... here.
10549 * sysdeps/unix/dirstream.h: Renamed to ...
10550 * sysdeps/posix/dirstream.h: ... here.
10551 * sysdeps/unix/fdopendir.c: Renamed to ...
10552 * sysdeps/posix/fdopendir.c: ... here.
10553 * sysdeps/unix/opendir.c: Renamed to ...
10554 * sysdeps/posix/opendir.c: ... here.
10555 * sysdeps/unix/readdir.c: Renamed to ...
10556 * sysdeps/posix/readdir.c: ... here.
10557 * sysdeps/unix/readdir_r.c: Renamed to ...
10558 * sysdeps/posix/readdir_r.c: ... here.
10559 * sysdeps/unix/rewinddir.c: Renamed to ...
10560 * sysdeps/posix/rewinddir.c: ... here.
10561 * sysdeps/unix/seekdir.c: Renamed to ...
10562 * sysdeps/posix/seekdir.c: ... here.
10563 * sysdeps/unix/telldir.c: Renamed to ...
10564 * sysdeps/posix/telldir.c: ... here.
10565 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10566 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10567 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10568 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10569
22895b47
RM
10570 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10571 * bits/fcntl.h: ... here.
10572
707a53b6
RM
10573 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10574 not 0.
10575 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10576 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10577 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10578 (struct flock): Move l_start, l_len to the beginning.
10579 Use __pid_t for l_pid.
10580 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10581 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10582 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10583 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10584 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10585 [__USE_LARGEFILE64] (struct flock64): New type.
10586 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10587
f0bd3e25
RM
10588 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10589 * bits/dirent.h: ... here.
10590
d34689de
RM
10591 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10592 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10593
6dad2c06
JM
105942012-08-07 Joseph Myers <joseph@codesourcery.com>
10595
10596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10597 Change from 2.6.0 to 2.6.16.
10598 * sysdeps/unix/sysv/linux/configure: Regenerated.
10599 * sysdeps/unix/sysv/linux/kernel-features.h
10600 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10601 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10602 version.
10603 (__ASSUME_UTIMES): Likewise.
10604 (__ASSUME_CLONE_STOPPED): Remove.
10605 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10606 architectures, not kernel version.
10607 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10608 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10609 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10610 (__ASSUME_WAITID_SYSCALL): Likewise.
10611 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10612 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10613 * README: State 2.6.16 as minimum Linux kernel version. Do not
10614 refer to older versions.
10615
03af9520
RM
106162012-08-06 Roland McGrath <roland@hack.frob.com>
10617
8e49df1d
RM
10618 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10619 Define alphasort64 as an alias.
10620 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10621 Define versionsort64 as an alias.
10622 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10623 Define scandir64 as an alias.
10624 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10625 Define scandirat64 as an alias.
10626 * dirent/alphasort64.c (alphasort64):
10627 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10628 * dirent/versionsort64.c: Likewise.
10629 * dirent/scandir64.c: Likewise.
10630 * dirent/scandirat64.c: Likewise.
10631 * sysdeps/wordsize-64/alphasort.c: File removed.
10632 * sysdeps/wordsize-64/alphasort64.c: File removed.
10633 * sysdeps/wordsize-64/scandir.c: File removed.
10634 * sysdeps/wordsize-64/scandir64.c: File removed.
10635 * sysdeps/wordsize-64/scandirat.c: File removed.
10636 * sysdeps/wordsize-64/scandirat64.c: File removed.
10637 * sysdeps/wordsize-64/versionsort.c: File removed.
10638 * sysdeps/wordsize-64/versionsort64.c: File removed.
10639 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10640 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10641 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10642 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10643 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10644 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10645 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10646 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10647
10648 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10649 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10650 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10651 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10652 [defined __arch64__ || defined __sparcv9]
10653 (__INO_T_MATCHES_INO64_T): New macro.
10654 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10655 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10656 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10657 * sysdeps/unix/sysv/linux/bits/dirent.h
10658 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10659 (_DIRENT_MATCHES_DIRENT64): New macro.
10660
03af9520
RM
10661 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10662 Define lockf64 as an alias.
10663 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10664 Define fseeko64 as an alias.
10665 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10666 Define ftello64 as an alias.
10667 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10668 Define _IO_fgetpos64 and fgetpos64 as aliases.
10669 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10670 Define _IO_fsetpos64 and fsetpos64 as aliases.
10671 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10672 Conditionalize body on this.
10673 * libio/fseeko64.c: Likewise.
10674 * libio/ftello64.c: Likewise.
10675 * libio/iofgetpos64.c: Likewise.
10676 * libio/iofsetpos64.c: Likewise.
10677 * sysdeps/wordsize-64/lockf.c: File removed.
10678 * sysdeps/wordsize-64/lockf64.c: File removed.
10679 * sysdeps/wordsize-64/fseeko.c: File removed.
10680 * sysdeps/wordsize-64/fseeko64.c: File removed.
10681 * sysdeps/wordsize-64/ftello.c: File removed.
10682 * sysdeps/wordsize-64/ftello64.c: File removed.
10683 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10684 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10685 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10686 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10687 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10688 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10689 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10690 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10691 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10692 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10693 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10694 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10695 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10696 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10697
10698 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10700 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10702 [defined __arch64__ || defined __sparcv9]
10703 (__OFF_T_MATCHES_OFF64_T): New macro.
10704 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10705 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10706 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10707 (__OFF_T_MATCHES_OFF64_T): New macro.
10708
c5757acd
L
107092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10710
10711 * stdlib/secure-getenv.c (__secure_getenv): Replace
10712 GLIBC_2_16 with GLIBC_2_17.
10713
3a31811e
L
107142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10715
10716 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10717 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10718
faa2bccb
DM
107192012-08-03 David S. Miller <davem@davemloft.net>
10720
10721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10722
85fe1997
JM
107232012-08-03 Joseph Myers <joseph@codesourcery.com>
10724
10725 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10726 Remove.
10727 (__ASSUME_CORRECT_SI_PID): Likewise.
10728 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10729 (__ASSUME_TMPFS_NAME): Likewise.
10730 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10731 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10732 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10733 (HAVE_AUX_SECURE): Make definition unconditional.
10734 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10735 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10736
4f75b7a0
RM
107372012-08-03 Roland McGrath <roland@hack.frob.com>
10738
10739 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10740 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10741 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10742 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10743 __eloop_threshold instead of SYMLOOP_MAX.
10744
10745 * sysdeps/generic/eloop-threshold.h: New file.
10746 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10747 of MAXSYMLINKS.
10748 * elf/chroot_canon.c (chroot_canon): Likewise.
10749
7aab07e4
JM
107502012-08-03 Joseph Myers <joseph@codesourcery.com>
10751
10752 [BZ #13717]
10753 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10754 Change to 2.6.0 everywhere.
10755 * sysdeps/unix/sysv/linux/configure: Regenerated.
10756 * sysdeps/unix/sysv/linux/kernel-features.h
10757 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10758 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10759 kernel versions.
10760 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10761 (__ASSUME_FUTEX_REQUEUE): Remove.
10762 (__ASSUME_STATFS64): Define unconditionally.
10763 (__ASSUME_AT_SECURE): Likewise.
10764 (__ASSUME_CORRECT_SI_PID): Likewise.
10765 (__ASSUME_TGKILL): Define without depending on kernel version for
10766 i386.
10767 (__ASSUME_UTIMES): Likewise.
10768 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10769 kernel version.
10770 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10771 (__ASSUME_TMPFS_NAME): Likewise.
10772 * README: Update reference to Linux kernel versions.
10773
b67e9372
MP
107742012-08-02 Marek Polacek <polacek@redhat.com>
10775
1f529f7d 10776 [BZ# 14150]
b67e9372
MP
10777 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10778 libc_cv_asm_type_prefix with %.
10779 * configure: Regenerated.
d2441631
RM
10780 * include/libc-symbols.h: Remove comment about
10781 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10782 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10783 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10784 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10785 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10786 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10787 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10788 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10789 * elf/tst-unique2mod1.c: Likewise.
10790 * elf/tst-unique1mod2.c: Likewise.
10791 * elf/tst-unique1mod1.c: Likewise.
10792 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10793 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10794 Replace ASM_TYPE_DIRECTIVE with .type.
10795 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10796 * sysdeps/i386/sysdep.h: Likewise.
10797 * sysdeps/x86_64/sysdep.h: Likewise.
10798 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10800 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10801 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10802 * sysdeps/powerpc/powerpc32/sysdep.h:
10803 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10804 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10805 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10806 * sysdeps/i386/fpu/e_powf.S: Likewise.
10807 * sysdeps/i386/fpu/e_expl.S: Likewise.
10808 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10809 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10810 * sysdeps/i386/fpu/e_pow.S: Likewise.
10811 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10812 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10813 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10814 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10815 * sysdeps/i386/fpu/e_log2.S: Likewise.
10816 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10817 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10818 * sysdeps/i386/fpu/e_powl.S: Likewise.
10819 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10820 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10821 * sysdeps/i386/fpu/e_logl.S: Likewise.
10822 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10823 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10824 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10825 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10826 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10827 * sysdeps/i386/fpu/e_log.S: Likewise.
10828 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10829 * sysdeps/i386/fpu/e_logf.S: Likewise.
10830 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10831 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10832 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10833 * sysdeps/i386/fpu/e_log10.S: Likewise.
10834 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10835 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10836 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10837 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10838 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10839 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10840 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10841 * sysdeps/i386/i686/strtok.S: Likewise.
10842 * sysdeps/i386/i386-mcount.S: Likewise.
10843 * sysdeps/i386/strtok.S: Likewise.
10844 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10845 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10846 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10847 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10848 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10849 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10850 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10851 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10852 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10853 * sysdeps/x86_64/_mcount.S: Likewise.
10854 * sysdeps/x86_64/strtok.S: Likewise.
10855 * sysdeps/sh/_mcount.S: Likewise.
10856
2747bf9a
RM
108572012-08-01 Roland McGrath <roland@hack.frob.com>
10858
10859 * libio/iofopen.c: Include <fcntl.h>.
10860 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10861 (_IO_fopen64, fopen64): Define as aliases.
10862 * libio/iofopen64.c: Include <fcntl.h>.
10863 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10864 Conditionalize body on this.
10865 * sysdeps/wordsize-64/iofopen.c: File removed.
10866 * sysdeps/wordsize-64/iofopen64.c: File removed.
10867
3fb791b8
MP
108682012-08-01 Marek Polacek <polacek@redhat.com>
10869
10870 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10871 Use dlfcn directly instead of a variable.
10872 (binfmt-subdir): Do not define.
10873 (dlfcn): Likewise.
10874
a9f1039f
JM
108752012-08-01 Joseph Myers <joseph@codesourcery.com>
10876
23bddc06
JM
10877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10878 Remove all definitions.
10879 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10880 <kernel-features.h>.
10881 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10882 (miss_F_GETOWN_EX): Remove all definitions.
10883 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10884 macro definition.
10885 [!__ASSUME_FCNTL64]: Remove conditional code.
10886 [__ASSUME_FCNTL64]: Make code unconditional.
10887 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10888 <kernel-features.h>.
10889 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10890 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10891 (lockf64) [__NR_fcntl64]: Make code unconditional.
10892 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10893
a9f1039f
JM
10894 * sysdeps/unix/sysv/linux/kernel-features.h
10895 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10896 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10897 Make code unconditional.
10898 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10899 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10901 [__NR_vfork]: Make code unconditional.
10902 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10903 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10905 [__NR_vfork]: Make code unconditional.
10906 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10907 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10908
09c0ee5f
RM
109092012-08-01 Roland McGrath <roland@hack.frob.com>
10910
48aec5b9
RM
10911 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10912 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10913
cd97c966
RM
10914 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10915 Define mkstemp64 as an alias.
3f55550c
RM
10916 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10917 Define mkstemps64 as an alias.
cd97c966
RM
10918 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10919 Define mkostemp64 as an alias.
b8625cfc
RM
10920 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10921 Define mkostemps64 as an alias.
cd97c966
RM
10922 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10923 Conditionalize body on this.
10924 * misc/mkostemp64.c: Likewise.
b8625cfc 10925 * misc/mkostemps64.c: Likewise.
3f55550c 10926 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10927 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10928 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10929 * sysdeps/wordsize-64/mkostemp.c: File removed.
10930 * sysdeps/wordsize-64/mkstemp.c: File removed.
10931 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10932 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10933 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10934 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10935
09c0ee5f
RM
10936 [BZ #14138]
10937 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10938 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10939 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10940 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10941
10942 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10943 compat_symbol macros from <shlib-compat.h> rather than the underlying
10944 default_symbol_version and symbol_version macros, so that DEFAULT
10945 lines in shlib-versions are respected.
10946 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10947
7e66ee51
FW
109482012-08-01 Florian Weimer <fweimer@redhat.com>
10949
10950 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10951 Declare with warn_unused_result.
10952 (setgid, setregid, setegid, setresgid): Likewise.
10953 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10954 Likewise.
10955 * WUR-REPORT: Remove set*id functions.
10956
d2a54255
PT
109572012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10958
10959 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10960
7ecdb005
RM
109612012-07-31 Roland McGrath <roland@hack.frob.com>
10962
789bd351
RM
10963 * include/sys/socket.h (__libc_accept, __libc_accept4):
10964 Add attribute_hidden.
10965 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10966
40ce302d
RM
10967 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10968 use of PTR_MANGLE.
10969 * inet/getnetgrent_r.c (setup): Likewise.
10970
7ecdb005
RM
10971 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10972
e2eabb2c
DM
109732012-07-31 David S. Miller <davem@davemloft.net>
10974
10975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10976
d0419dbf
JM
109772012-07-31 Joseph Myers <joseph@codesourcery.com>
10978
10979 [BZ #13629]
10980 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10981 value between 1.0 and 2.0 and smaller part has absolute value less
10982 than 1.0.
10983 * math/s_clog10.c (__clog10): Likewise.
10984 * math/s_clog10f.c (__clog10f): Likewise.
10985 * math/s_clog10l.c (__clog10l): Likewise.
10986 * math/s_clogf.c (__clogf): Likewise.
10987 * math/s_clogl.c (__clogl): Likewise.
10988 * math/libm-test.inc (clog_test): Add more tests.
10989 (clog10_test): Likewise.
10990 * sysdeps/i386/fpu/libm-test-ulps: Update.
10991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10992
2bc13872
FW
109932012-07-31 Florian Weimer <fweimer@redhat.com>
10994
10995 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10996 Exit with zero in case no suitable GID is found, and write a
10997 message to standard error.
10998
bea9b193
RM
109992012-07-30 Roland McGrath <roland@hack.frob.com>
11000
11001 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11002 rather than to 1.
11003 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11004 (MAXPATHLEN): Removed.
11005 (NOGROUP, NODEV): New macros.
11006 (setbit, clrbit, isset, isclr): New macros.
11007 (howmany, roundup, powerof2): New macros.
11008 (DEV_BSIZE): New macro.
11009
11010 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11011 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11012
11013 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11014 definition on [!__NO_LONG_DOUBLE_MATH].
11015
11016 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11017 PTR_MANGLE and PTR_DEMANGLE.
11018
11019 * socket/accept4.c (accept4): Rename to __libc_accept4.
11020 Define accept4 as a weak alias.
11021
11022 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11023 on [_DIRENT_HAVE_D_TYPE].
11024 * io/ftw.c (ftw_dir): Likewise.
11025
11026 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11027
11028 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11029
11030 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11031 Use the BSD numbers rather than the arbitrary ones we had.
11032 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11033 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11034 (SIGXCPU, SIGXFSZ): New macros.
11035 (_NSIG): Now 32.
11036
11037 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11038 initializer on [_LIBC_REENTRANT].
11039
11040 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11041 definitions inside [_POSIX_MAPPED_FILES].
11042
11043 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11044
11045 * dirent/opendir.c: Include <fcntl.h>.
11046
11047 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11048 (__libc_getspecific): Likewise.
11049 (__libc_key_create): Likewise.
11050
11051 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11052 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11053 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11054 (tmpfile64): Define as alias.
11055 * sysdeps/wordsize-64/tmpfile.c: File removed.
11056 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11057 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11058 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11059
11060 * stdio-common/vfscanf.c: Include <stdbool.h>.
11061 * nss/makedb.c: Likewise.
11062 * stdio-common/_i18n_number.h: Likewise.
11063 * argp/argp-help.c: Likewise.
11064 * posix/wordexp.c: Likewise.
11065 * sysdeps/posix/spawni.c: Likewise.
11066 * nss/nss_files/files-initgroups.c: Likewise.
11067 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11068 * nss/nss_files/files-initgroups.c: Likewise.
11069 * nss/nss_db/db-netgrp.c: Likewise.
11070 * nss/nss_db/db-initgroups.c: Likewise.
11071 * io/fchmodat.c: Include <sys/stat.h>.
11072
11073 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11074 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11075
11076 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11077 [HAVE_MMAP].
11078
11079 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11080 Add multiple inclusion protection.
11081
e5abc686
DM
110822012-07-27 David S. Miller <davem@davemloft.net>
11083
11084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11085
815e6fa3
GB
110862012-07-27 Gary Benson <gbenson@redhat.com>
11087
11088 [BZ #14298]
11089 * elf/rtld.c: Include <stap-probe.h>.
11090 (dl_main): Added static probes "init_start" and "init_complete".
11091 * elf/dl-load.c: Include <stap-probe.h>.
11092 (lose): Take new parameter "nsid".
11093 Added static probe "map_failed".
11094 (_dl_map_object_from_fd): Pass namespace id to lose.
11095 Added static probe "map_start".
11096 (open_verify): Pass namespace id to lose.
11097 * elf/dl-open.c: Include <stap-probe.h>.
11098 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11099 and "reloc_complete".
11100 * elf/dl-close.c: Include <stap-probe.h>.
11101 (_dl_close_worker): Added static probes "unmap_start" and
11102 "unmap_complete".
11103 * elf/rtld-debugger-interface.txt: New file documenting the above.
11104
9f98c16c
RM
111052012-07-26 Roland McGrath <roland@hack.frob.com>
11106
11107 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11108 rather than a string variable.
11109 * sunrpc/rpc_main.c (h_output): Likewise.
11110 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11111
f3c22df3
PT
111122012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11113
11114 * inet/check_native.c: New file.
11115
3129cfc6
JM
111162012-07-26 Joseph Myers <joseph@codesourcery.com>
11117
da865e95
JM
11118 [BZ #13629]
11119 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11120 if larger part has absolute value 1.0.
11121 * math/s_clog10.c (__clog10): Likewise.
11122 * math/s_clog10f.c (__clog10f): Likewise.
11123 * math/s_clog10l.c (__clog10l): Likewise.
11124 * math/s_clogf.c (__clogf): Likewise.
11125 * math/s_clogl.c (__clogl): Likewise.
11126 * math/libm-test.inc (clog_test): Add more tests.
11127 (clog10_test): Likewise.
11128 * sysdeps/i386/fpu/libm-test-ulps: Update.
11129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11130
3129cfc6
JM
11131 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11132 (pltexit): Likewise.
11133 (La_regs): Likewise.
11134 (La_retval): Likewise.
11135 (int_retval): Likewise.
11136 Update #error for removed macros to refer only to definitions in
11137 tst-audit.h.
11138 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11139 macro.
11140 (pltexit): Likewise.
11141 (La_regs): Likewise.
11142 (La_retval): Likewise.
11143 (int_retval): Likewise.
11144 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11145 macro.
11146 (pltexit): Likewise.
11147 (La_regs): Likewise.
11148 (La_retval): Likewise.
11149 (int_retval): Likewise.
11150 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11151 macro.
11152 (pltexit): Likewise.
11153 (La_regs): Likewise.
11154 (La_retval): Likewise.
11155 (int_retval): Likewise.
11156 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11157 macro.
11158 (pltexit): Likewise.
11159 (La_regs): Likewise.
11160 (La_retval): Likewise.
11161 (int_retval): Likewise.
11162 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11163 macro.
11164 (pltexit): Likewise.
11165 (La_regs): Likewise.
11166 (La_retval): Likewise.
11167 (int_retval): Likewise.
11168 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11169 macro.
11170 (pltexit): Likewise.
11171 (La_regs): Likewise.
11172 (La_retval): Likewise.
11173 (int_retval): Likewise.
11174 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11175 macro definitions in tst-audit.h.
11176 * sysdeps/i386/tst-audit.h: New file.
11177 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11178 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11179 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11180 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11181 * sysdeps/sh/tst-audit.h: Likewise.
11182 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11183 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11184 * sysdeps/x86_64/tst-audit.h: Likewise.
11185
bfc07087
AJ
111862012-07-26 Andreas Jaeger <aj@suse.de>
11187
b1b2aaf8
AJ
11188 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11189 ptrace.
11190
11191 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11192 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11193 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11194 PTRACE_O_MASK.
11195 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11196 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11197 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11198
bfc07087
AJ
11199 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11200 value.
11201
11202 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11203 _sigsys.
11204 (si_call_addr, si_syscall, si_arch): Define new macro.
11205 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11206 _sigsys.
11207 (si_call_addr, si_syscall, si_arch): Define new marcro.
11208 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11209 _sigsys.
11210 (si_call_addr, si_syscall, si_arch): Define new macro.
11211 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11212 _sigsys.
11213 (si_call_addr, si_syscall, si_arch): Define new macro.
11214
89b4b02f
JM
112152012-07-25 Joseph Myers <joseph@codesourcery.com>
11216
11217 [BZ #13717]
11218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11219 Change to 2.4.21 where previously 2.4.1.
11220 * sysdeps/unix/sysv/linux/configure: Regenerated.
11221 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11222 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11223 Linux kernel version.
11224 (__ASSUME_STD_AUXV): Remove.
11225 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11226 kernel version.
11227 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11228 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11229 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11230 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11231 (__ASSUME_NETLINK_SUPPORT): Likewise.
11232 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11233 (__no_netlink_support): Remove conditional definition.
11234 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11235 Remove.
11236 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11237 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11238 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11239 (if_nameindex_ioctl): Remove.
11240 (if_nameindex_netlink): Do not handle __no_netlink_support.
11241 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11242 code.
11243 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11244 Remove conditional code.
11245 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11246 code.
11247 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11248 unconditional.
11249 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11250 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11251 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11252 Remove.
11253 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11254 [!__ASSUME_STD_AUXV]: Remove conditional code.
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11256 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11257 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11259 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11260 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11261 code.
11262 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11264 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11265 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11266 conditional code.
11267 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11269 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11270 code.
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11272 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11273 conditional code.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11275 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11276 code unconditional.
11277 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11278 conditional code.
11279 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11280 unconditional.
11281 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11282 conditional code.
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11284 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11285 unconditional.
11286 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11287 conditional code.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11289 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11290 code unconditional.
11291 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11292 conditional code.
11293 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11294 unconditional.
11295 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11296 conditional code.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11298 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11299 code unconditional.
11300 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11301 conditional code.
11302 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11303 unconditional.
11304 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11305 conditional code.
11306
842a39cd
AS
113072012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11308
11309 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11310 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11311 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11312 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11313 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11314 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11315 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11316 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11317 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11318 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11319 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11320 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11321 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11322 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11323 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11324 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11325 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11326 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11327 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11329 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11330 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11331 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11332
84b3fd84
FW
113332012-07-25 Florian Weimer <fweimer@redhat.com>
11334
11335 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11336 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11337 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11338 Introduce __libc_secure_getenv.
0c7936d5
FW
11339 * stdlib/Versions (2.17): Add secure_getenv
11340 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11341 * stdlib/secure-getenv.c: Rename __secure_getenv to
11342 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11343 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11344 * stdlib/tst-secure-getenv.c: New.
11345 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11346 * manual/startup.texi (Environment Access): Document
11347 secure_getenv.
84b3fd84
FW
11348 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11349 __libc_secure_getenv.
11350 * inet/ruserpass.c (ruserpass): Likewise.
11351 * malloc/mtrace.c (mtrace): Likewise.
11352 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11353 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11354 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11355 * sysdeps/posix/tempname.c: Likewise. Evaluate
11356 HAVE_SECURE_GETENV.
11357 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11358 __secure_getenv to __libc_secure_getenv.
84b3fd84 11359 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11361 Likewise.
11362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11363 Likewise.
11364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11371
56e49b71
JM
113722012-07-25 Joseph Myers <joseph@codesourcery.com>
11373
11374 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11375 (struct La_i86_retval): Likewise.
11376 (struct La_x86_64_regs): Likewise.
11377 (struct La_x86_64_retval): Likewise.
11378 (struct La_x32_regs): Likewise.
11379 (struct La_x32_retval): Likewise.
11380 (struct La_ppc32_regs): Likewise.
11381 (struct La_ppc32_retval): Likewise.
11382 (struct La_ppc64_regs): Likewise.
11383 (struct La_ppc64_retval): Likewise.
11384 (struct La_sh_regs): Likewise.
11385 (struct La_sh_retval): Likewise.
11386 (struct La_s390_32_regs): Likewise.
11387 (struct La_s390_32_retval): Likewise.
11388 (struct La_s390_64_regs): Likewise.
11389 (struct La_s390_64_retval): Likewise.
11390 (struct La_sparc32_regs): Likewise.
11391 (struct La_sparc32_retval): Likewise.
11392 (struct La_sparc64_regs): Likewise.
11393 (struct La_sparc64_retval): Likewise.
11394 (struct audit_ifaces): Remove architecture-specific pltenter and
11395 pltexit members.
11396 * sysdeps/i386/ldsodefs.h: New file.
11397 * sysdeps/powerpc/ldsodefs.h: Likewise.
11398 * sysdeps/s390/ldsodefs.h: Likewise.
11399 * sysdeps/sh/ldsodefs.h: Likewise.
11400 * sysdeps/sparc/ldsodefs.h: Likewise.
11401 * sysdeps/x86_64/ldsodefs.h: Likewise.
11402
354691b7
MP
114032012-07-25 Marek Polacek <polacek@redhat.com>
11404
11405 [BZ #6808]
11406 * math/libm-test.inc (yn_test): Add another test.
11407 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11408 to ERANGE when the result is +-Inf.
11409 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11410 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11411 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11412 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11413
bf9e2071
JM
114142012-07-24 Joseph Myers <joseph@codesourcery.com>
11415
11416 * conform/data/time.h-data (NULL): Use macro-constant. Require
11417 equal to 0.
11418 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11419 clock_t.
11420 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11421
57633811
TS
114222012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11423
11424 * configure.in <sysdeps resolving>: Correct printing
11425 Implies_before.
11426 * configure: Regenerate.
11427
c23c33b0
TS
114282012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11429
11430 * math/w_ilogb.c: Include <limits.h>.
11431 * math/w_ilogbl.c: Likewise.
11432
b5982523
JM
114332012-07-20 Joseph Myers <joseph@codesourcery.com>
11434
11435 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11436 va_copy. Document allowing for unavailable va_copy only as
11437 pre-C99 compatibility.
11438 * manual/string.texi (Copying and Concatenation): Use va_copy
11439 instead of __va_copy in concat example.
11440
ac4ea442
PT
114412012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11442
11443 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11444 (__sendto): Use create_address_port. Initialize APORT and deallocate
11445 it if not null.
11446
f98eafbd
PT
11447 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11448 with O_NOLINK passed to __file_name_lookup.
11449
898c7aab
PT
11450 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11451 with O_NOLINK passed to __file_name_lookup.
11452
0ced335a
PT
11453 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11454 negative N or less than NGIDS.
11455
b3404dbd
PT
11456 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11457 type to string_t. Set ERANGE as errno and return it if NAME is not big
11458 enough. Use memcpy instead of strncpy.
11459
0f48659e
JM
114602012-07-20 Joseph Myers <joseph@codesourcery.com>
11461
11462 * elf/Makefile (check-data): Remove.
11463 (localplt.data): New vpath directive.
11464 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11465 instead of $(check-data).
11466 * scripts/data/localplt-generic.data: Move to ...
11467 * sysdeps/generic/localplt.data: ... here.
11468 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11469 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11470 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11472 ... here.
11473 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11475 ... here.
11476 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11478 ... here.
11479 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11481 ... here.
11482 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11484 ... here.
11485 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11487 ... here.
11488
d37cbdaa
AZ
114892012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11490
11491 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11492 PPC32 and PPC64 files.
11493 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11494 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11495
46f85fc2
AK
114962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11497
11498 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11499 __makecontext_ret to ...
11500 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11501 ... here and call exit if uc_link is NULL. New file.
11502 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11503 __makecontext_ret.S.
11504 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11505 __makecontext_ret to ...
11506 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11507 ... here and call exit if uc_link is NULL. New file.
11508 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11509 __makecontext_ret.S.
11510
08f43f9b
AK
115112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11512
11513 * elf/elf.h (R_390_IRELATIVE): New definition.
11514 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11515 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11516 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11517 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11518 (elf_machine_lazy_rel): Likewise.
11519 * sysdeps/s390/dl-irel.h: New file.
11520 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11521 * sysdeps/s390/s390-64/memset.S: New asm code.
11522 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11523 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11524 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11525 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11526 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11527 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11528 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11529 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11530 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11531 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11532 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11533 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11534 * sysdeps/s390/s390-32/memset.S: New asm code.
11535 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11536
3b05db33
MP
115372012-07-17 Marek Polacek <polacek@redhat.com>
11538
11539 [BZ #14349]
11540 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11541 * sysdeps/s390/s390-64/configure.in: Likewise.
11542 * sysdeps/sparc/configure.in: Likewise.
11543 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11544 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11545 * sysdeps/i386/configure.in: Likewise.
11546 * sysdeps/x86_64/configure.in: Likewise.
11547 * sysdeps/sh/configure.in: Likewise.
11548 * sysdeps/s390/s390-32/configure: Regenerated.
11549 * sysdeps/s390/s390-64/configure: Likewise.
11550 * sysdeps/x86_64/configure: Likewise.
11551 * sysdeps/sh/configure: Likewise.
11552 * sysdeps/powerpc/powerpc64/configure: Likewise.
11553 * sysdeps/powerpc/powerpc32/configure: Likewise.
11554 * sysdeps/sparc/configure: Likwise.
11555 * sysdeps/i386/configure: Likewise.
11556
a66877c6
MP
11557 * elf/dl-open.c: Comment fixes.
11558
cfc82fd8
JM
115592012-07-17 Joseph Myers <joseph@codesourcery.com>
11560
bd29910a
JM
11561 * Makefile [CXX] (check-data): Remove.
11562 [CXX] (c++-types.data): New vpath directive.
11563 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11564 vpath. Do not allow for C++ type data being missing.
11565 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11566 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11567 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11568 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11569 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11570 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11571 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11573 ... here.
11574 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11576 ... here.
11577 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11579 ... here.
11580 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11582 ... here.
11583 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11585 ... here.
11586 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11588 ... here.
11589 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11591 ... here.
11592 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11594
cfc82fd8
JM
11595 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11596 definitions to architecture-specific files.
11597 (TLS_IE): Likewise.
11598 (TLS_LD): Likewise.
11599 (TLS_GD): Likewise.
11600 * sysdeps/i386/tls-macros.h: New file.
11601 * sysdeps/powerpc/tls-macros.h: Likewise.
11602 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11603 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11604 * sysdeps/sh/tls-macros.h: Likewise.
11605 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11606 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11607 * sysdeps/x86_64/tls-macros.h: Likewise.
11608
f7db3170
TS
116092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11610
07cbfc23
TS
11611 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11612 zero value for regular exit case.
11613
f7db3170
TS
11614 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11615 (__start_context): Preserve zero value for regular exit case.
11616
dc97c227
TS
116172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11618 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11619
11620 * manual/setjmp.texi (setcontext): Clarify normal process
11621 termination when uc_link is the null pointer.
11622 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11623 exit call.
11624
d0cd7d02
AS
116252012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11626
11627 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11628 preprocessor. Test for each exception mask separately.
11629
dd318934
AJ
116302012-07-16 Andreas Jaeger <aj@suse.de>
11631
11632 * po/ru.po: Update from translation team.
11633
8048311a
JM
116342012-07-15 Joseph Myers <joseph@codesourcery.com>
11635
11636 * conform/data/string.h-data (NULL): Use macro-constant. Require
11637 equal to 0.
11638 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11639 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11640 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11641 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11642 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11643
b637d46e
AJ
116442012-07-13 Andreas Jaeger <aj@suse.de>
11645
11646 * po/fr.po: Update from translation team.
11647
541428fe
MP
116482012-07-12 Marek Polacek <polacek@redhat.com>
11649
11650 [BZ #14173]
11651 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11652 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11653 loop condition.
11654
ec332e94
JM
116552012-07-12 Joseph Myers <joseph@codesourcery.com>
11656
11657 [BZ #13717]
11658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11659 Change to 2.4.1 where previously 2.4.0.
11660 * sysdeps/unix/sysv/linux/configure: Regenerated.
11661 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11662 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11663 version.
11664 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11665 (__ASSUME_AT_CLKTCK): Remove.
11666 (__ASSUME_AT_PAGESIZE): Likewise.
11667 (__ASSUME_AT_XID): Likewise.
11668 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11669 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11670 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11671 unconditionally.
11672 (HAVE_AUX_PAGESIZE): Likewise.
11673 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11674 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11675 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11676
7b6e99be
JB
116772012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11678
11679 [BZ #14307]
11680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11681 the temporary buffer used to invoke __gethostbyname2_r,
11682 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11683 host_data / struct gaih_addrtuple.
11684 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11685 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11686 header file nss/nsswitch.h.
11687 * nss/nsswitch.h (global scope): Add definition of implementation
11688 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11689 resolv/nss_dns/dns-host.c).
11690
608404eb
AJ
116912012-07-11 Andreas Jaeger <aj@suse.de>
11692
11693 * po/fr.po: Update from translation team.
11694
71220aca
AJ
11695 * po/sv.po: Update from translation team
11696 * po/fr.po: Another update from translation team.
11697
28cfe843
AZ
116982012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11699
11700 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11701 for subnormals or multiply small sinh result by itself.
11702 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11704
6b90f981
DM
117052012-07-11 David S. Miller <davem@davemloft.net>
11706
11707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11708
c6825772
AS
117092012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11710
11711 [BZ #14347]
11712 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11713 (INTERNAL_MARK): Shift it here.
11714
7b8e0d49
MP
117152012-07-10 Marek Polacek <polacek@redhat.com>
11716
11717 [BZ #14151]
11718 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11719 libc_cv_asm_global_directive with .globl.
11720 * configure: Regenerated.
11721 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11722 with .globl.
11723 * sysdeps/i386/configure: Regenerated.
11724 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11725 with .globl.
11726 * sysdeps/x86_64/configure: Regenerated.
11727 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11728 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11729 * elf/tst-unique2mod2.c: Likewise.
11730 * elf/tst-unique2mod1.c: Likewise.
11731 * elf/tst-unique1mod2.c: Likewise.
11732 * elf/tst-unique1mod1.c: Likewise.
11733 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11734 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11735 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11736 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11737 * sysdeps/mach/sysdep.h: Likewise.
11738 * sysdeps/i386/sysdep.h: Likewise.
11739 * sysdeps/i386/i386-mcount.S: Likewise.
11740 * sysdeps/x86_64/_mcount.S: Likewise.
11741 * sysdeps/x86_64/sysdep.h: Likewise.
11742 * sysdeps/sh/_mcount.S: Likewise.
11743 * sysdeps/sh/sysdep.h: Likewise.
11744 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11745 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11746 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11747 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11748 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11749 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11750 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11751 * locale/localeinfo.h: Likewise.
11752 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11753 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11754
6c55cda3
RM
117552012-07-09 Roland McGrath <roland@hack.frob.com>
11756
11757 [BZ #14336]
11758 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11759 system".
11760 * manual/message.texi (The Uniforum approach): Likewise.
11761 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11762 (glibc iconv Implementation): Likewise.
11763
638a572e
JM
117642012-07-09 Joseph Myers <joseph@codesourcery.com>
11765
11766 [BZ #14337]
11767 * math/s_clog.c (__clog): Avoid scaling a value down where that
11768 could result in underflow.
11769 * math/s_clog10.c (__clog10): Likewise.
11770 * math/s_clog10f.c (__clog10f): Likewise.
11771 * math/s_clog10l.c (__clog10l): Likewise.
11772 * math/s_clogf.c (__clogf): Likewise.
11773 * math/s_clogl.c (__clogl): Likewise.
11774 * math/libm-test.inc (clog_test): Add more tests.
11775 (clog10_test): Likewise.
11776 * sysdeps/i386/fpu/libm-test-ulps: Update.
11777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11778
261f4859
AS
117792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11780
0abaf3e4
AS
11781 [BZ #14283]
11782 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11783 by 7 not 8 to examine high bit of fractional part.
11784
261f4859
AS
11785 [BZ #14042]
11786 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11787 for call to __mcount_internal.
11788 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11789 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11790 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11791
f17ac40d
JM
117922012-07-06 Joseph Myers <joseph@codesourcery.com>
11793
9ad63c23
JM
11794 [BZ #14154]
11795 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11796 approximation for values within 0x1p-13f of an odd multiple of
11797 pi/4.
11798 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11799 exception. Add more tests.
11800 * sysdeps/i386/fpu/libm-test-ulps: Update.
11801
f17ac40d
JM
11802 [BZ #6778]
11803 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11804 inputs and return -1 for them. Do not check for +Inf in case not
11805 reachable for +Inf.
11806 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11807 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11808 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11809 and return -1 for them. Do not check for +Inf in case not
11810 reachable for +Inf.
11811 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11812 define.
11813 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11814 and return -1 for them. Do not check for +Inf in case not
11815 reachable for +Inf.
11816 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11817 spurious underflow.
11818 * sysdeps/i386/fpu/libm-test-ulps: Update.
11819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11820
fb21f89b
MF
118212012-07-06 Mike Frysinger <vapier@gentoo.org>
11822
11823 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11824
cdfe2c5e
JM
118252012-07-05 Joseph Myers <joseph@codesourcery.com>
11826
11827 [BZ #14157]
11828 [BZ #14331]
11829 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11830 could result in spurious underflow. Scale down values above
11831 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11832 * math/s_csqrtf.c (__csqrtf): Likewise.
11833 * math/s_csqrtl.c (__csqrtl): Likewise.
11834 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11835 spurious underflow.
11836 * sysdeps/i386/fpu/libm-test-ulps: Update.
11837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11838
70d35b67
AS
118392012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11840
704bc459
AS
11841 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11842 xopen-msg.sed.
11843 * catgets/xopen-msg.awk: New file.
11844 * catgets/xopen-msg.sed: Removed.
11845
70d35b67
AS
11846 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11847 po2text.sed.
11848 * intl/po2test.awk: New file.
11849 * intl/po2test.sed: Removed.
11850
ca61cf32
JM
118512012-07-04 Joseph Myers <joseph@codesourcery.com>
11852
11853 [BZ #14328]
11854 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11855 or multiply small sinh result by itself.
11856 * math/s_ctanf.c (__ctanf): Likewise.
11857 * math/s_ctanh.c (__ctanh): Likewise.
11858 * math/s_ctanhf.c (__ctanhf): Likewise.
11859 * math/s_ctanhl.c (__ctanhl): Likewise.
11860 * math/s_ctanl.c (__ctanl): Likewise.
11861 * math/libm-test.inc (ctan_test_tonearest): New function.
11862 (ctan_test_towardzero): Likewise.
11863 (ctan_test_downward): Likewise.
11864 (ctan_test_upward): Likewise.
11865 (ctanh_test_tonearest): Likewise.
11866 (ctanh_test_towardzero): Likewise.
11867 (ctanh_test_downward): Likewise.
11868 (ctanh_test_upward): Likewise.
11869 (main): Call these new functions.
11870 * sysdeps/i386/fpu/libm-test-ulps: Update.
11871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11872
ca48a46a
MF
118732012-07-03 Mike Frysinger <vapier@gentoo.org>
11874
11875 * .gitignore: Delete /ports entry.
11876
9d63d37d
AJ
118772012-07-03 Andreas Jaeger <aj@suse.de>
11878
11879 * po/bg.po: Update from translation team.
11880 * po/cs.po: Likewise.
11881 * po/de.po: Likewise.
11882 * po/hr.po: Likewise.
11883 * po/nl.pl: Likewise.
11884 * po/pl.po: Likewise.
11885 * po/vi.po: Likewise.
11886
370ca3d2
JM
118872012-07-03 Joseph Myers <joseph@codesourcery.com>
11888
95f5a9a8
JM
11889 * Makeconfig [!+link] (+link-before-libc): New variable.
11890 [!+link] (+link-after-libc): Likewise.
11891 [!+link] (+link-tests): Likewise.
11892 [!+link] (+link): Define in terms of $(+link-before-libc) and
11893 $(+link-after-libc).
11894 [!+link-static] (+link-static-before-libc): New variable.
11895 [!+link-static] (+link-static-after-libc): Likewise.
11896 [!+link-static] (+link-static-tests): Likewise.
11897 [!+link-static] (+link-static): Define in terms of
11898 $(+link-static-before-libc) and $(+link-static-after-libc).
11899 [build-shared] (link-libc-before-gnulib): New variable.
11900 [build-shared] (link-libc-tests): Likewise.
11901 [build-shared] (link-libc): Define in terms of
11902 $(link-libc-before-gnulib).
11903 [!build-shared] (link-libc-tests): New variable.
11904 (link-libc-static-tests): New variable.
11905 [!gnulib] (gnulib-arch): New variable.
11906 [!gnulib] (gnulib-tests): Likewise.
11907 [!gnulib] (static-gnulib-arch): Likewise.
11908 [!gnulib] (static-gnulib-tests): Likewise.
11909 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11910 Define with "=" instead of ":=".
11911 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11912 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11913 * Rules (binaries-all-notests): New variable.
11914 (binaries-all-tests): Likewise.
11915 (binaries-static-notests): Likewise.
11916 (binaries-static-tests): Likewise.
11917 (binaries-all): Define using $(binaries-all-notests) and
11918 $(binaries-all-tests).
11919 (binaries-static): Define using $(binaries-static-notests) and
11920 $(binaries-static-tests).
11921 (binaries-shared-tests): New variable.
11922 (binaries-shared-notests): Likewise.
11923 (binaries-shared): Remove variable.
11924 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11925 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11926 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11927 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11928 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11929 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11930 * elf/Makefile (sln-modules): New variable.
11931 (extra-objs): Add $(sln-modules:=.o).
11932 (ldconfig-modules): Add static-stubs.
11933 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11934 * elf/static-stubs.c: New file.
11935
7a845b2c
JM
11936 [BZ #14283]
11937 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11938 by 7 not 8 to examine high bit of fractional part. Use volatile
11939 variables when splitting into final array of floats if
11940 __FLT_EVAL_METHOD__ != 0.
11941 * math/libm-test.inc (cos_test): Add another test.
11942 (sin_test): Likewise.
11943 * sysdeps/i386/fpu/libm-test-ulps: Update.
11944
e2283f38
JM
11945 [BZ #14273]
11946 * math/libm-test.inc (cosh_test): Add more tests.
11947
370ca3d2
JM
11948 * version.h (RELEASE): Set to "development".
11949 (VERSION): Set to "2.16.90".
11950
ee9247c3
CD
119512012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11952
11953 * NEWS: Update copyright. Remove last-updated date.
11954 Mention math library bug fixes and timezone data changes.
11955 * README: Mention GNU/Hurd, x32, and HPPA support status.
11956
4648c381
TS
119572012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11958
11959 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11960
aac78a43
AJ
119612012-06-27 Andreas Jaeger <aj@suse.de>
11962
11963 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11964
ed3dbfad
AJ
119652012-06-25 Andreas Jaeger <aj@suse.de>
11966
11967 * sysdeps/s390/fpu/libm-test-ulps: Update.
11968
4d0ee855
AS
119692012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11970 Thomas Schwinge <thomas@codesourcery.com>
11971
11972 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11973 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11974 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11975 fanotify_mark.
11976
af1bce34
TS
119772012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11978
a9fa33ba
TS
11979 * sysdeps/mach/start.c: Remove file.
11980 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11981 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11982 * sysdeps/sh/init-first.c: Likewise.
11983
58f902b8
TS
11984 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11985 registers for frame unwinding purposes, add CFI directives.
11986 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11987 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11988 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11989 Likewise.
11990
1518f58b
TS
11991 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11992 __fortify_fail returning.
11993 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11994
db9b5059
TS
11995 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11996 sysdeps/sh/____longjmp_chk.S.
11997 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11998 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11999 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12000 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12001
967705fe
TS
12002 * sysdeps/sh/abort-instr.h: New file.
12003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12004 process in case exit returns.
12005
a9def8c4
TS
12006 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12007 initialize the GOT register before use.
12008
2a649725
TS
12009 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12010 calculation of ARGC > 4.
12011
af1bce34
TS
12012 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12013 meaningful names to some local labels.
12014
d230f50a
KK
120152012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12016 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12017
12018 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12019 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12020 (__arch_compare_and_exchange_val_16_acq): Likewise.
12021 (__arch_compare_and_exchange_val_32_acq): Likewise.
12022 (atomic_exchange_and_add): Fix gUSA sequence.
12023 (atomic_add): Likewise.
12024 (atomic_add_negative): Likewise.
12025 (atomic_add_zero): Likewise.
12026 (atomic_bit_test_set): Likewise.
12027
0479b305
AS
120282012-06-22 Andreas Schwab <schwab@redhat.com>
12029
12030 [BZ #13579]
12031 * include/link.h (struct link_map): Add l_free_initfini.
12032 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12033 l_initfini.
12034 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12035 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12036 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12037 set.
12038
0e3933b9
CD
120392012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12040
12041 * configure.in: Use AC_LANG_SOURCE.
12042 * configure: Regenerate.
12043
4248b1b1
RM
120442012-06-22 Roland McGrath <roland@hack.frob.com>
12045
12046 * configure.in (libc_cv_localstatedir): New substituted variable.
12047 * configure: Regenerated.
12048 * config.make.in (localstatedir): New variable, substituted from
12049 libc_cv_localstatedir.
12050 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12051 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12052 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12053 * sysdeps/gnu/configure: Regenerated.
12054
006dd861
JL
120552012-06-21 Jeff Law <law@redhat.com>
12056
12057 [BZ #14277]
12058 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12059 free. Simplify list management for _LIBC case.
12060
79662d42
JM
120612012-06-21 Joseph Myers <joseph@codesourcery.com>
12062
b7abb4bf
JM
12063 [BZ #14273]
12064 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12065 Clear sign bit of 64-bit integer value before comparing against
12066 overflow value.
12067
79662d42
JM
12068 * sysdeps/mach/configure: Regenerated.
12069
1f150908
L
120702012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12071
12072 [BZ #14278]
12073 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12074
28363bbf
JL
120752012-06-21 Jeff Law <law@redhat.com>
12076
12077 [BZ #13882]
12078 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12079 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12080 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12081 * elf/dl-open.c (dl_open_worker): Likewise.
12082
09615db4
CD
120832012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12084
12085 * scripts/list-sources.sh: Scan PORTS for translations.
12086 * po/libc.pot: Regenerated.
12087
2174c6dd
AJ
120882012-06-21 Andreas Jaeger <aj@suse.de>
12089
12090 [BZ #12194]
12091 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12092 warning.
12093 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12094 * bits/byteswap-16.h (__bswap_16): Likewise.
12095 * bits/byteswap.h (__bswap_constant_16): Likewise.
12096
3ee947b1
L
120972012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12098
12099 [BZ #14117]
a2f34833
L
12100 * sysdeps/i386/fpu_control.h: Removed.
12101 * sysdeps/x86_64/fpu_control.h: Moved to ...
12102 * sysdeps/x86/fpu_control.h: Here.
12103
3ee947b1
L
12104 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12105 (_FPU_SETCW): Likewise.
12106
ed1825f8
L
121072012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12108
25f1282a
L
12109 [BZ #14117]
12110 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12111 * sysdeps/x86/fpu/bits/mathinline.h: This.
12112 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12113
ed1825f8
L
12114 [BZ #14050]
12115 [BZ #14117]
12116 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12117 functions if __x86_64__ is defined.
12118
36d54b74
CLT
121192012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12120
12121 * string/endian.h: Add !__ASSEMBLER__ condition for including
12122 conversion interfaces.
12123
10285c21
JM
121242012-06-15 Joseph Myers <joseph@codesourcery.com>
12125
12126 [BZ #14241]
12127 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12128 of ABS(x) in calculating zero to negative powers other than odd
12129 integers.
12130 * math/libm-test.inc (pow_test): Add more tests.
12131
06c5abbd
AJ
121322012-06-15 Andreas Jaeger <aj@suse.de>
12133
12134 * manual/contrib.texi (Contributors): Update entry of Liubov
12135 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12136 Machado Filho.
12137
a3aeac40
CH
121382012-06-15 Cyril Hrubis <metan@ucw.cz>
12139
12140 * string/string.h: Add __wur to GNU version of strerror_r.
12141
49bdf4c1
L
121422012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12143
12144 [BZ #14229]
12145 * string/Makefile (tests): Add tst-strtok_r.
12146 * string/tst-strtok_r.c: New file.
12147 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12148 RAX_LP/RDX_LP on SAVE_PTR.
12149
834f9b8d
RM
121502012-06-14 Roland McGrath <roland@hack.frob.com>
12151
12152 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12153
75fa1921
JM
121542012-06-14 Joseph Myers <joseph@codesourcery.com>
12155
12156 * libm_test.inc (csqrt_test): Allow more spurious underflow
12157 exceptions.
12158 (j0_test): Likewise.
12159 (j1_test): Likewise.
12160 (y0_test): Likewise.
12161 (y1_test): Likewise.
12162
771766df
CD
121632012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12164
12165 * po/Makefile (libc.pot): Use UTF-8 charset.
12166
ceb9e56b
PP
121672012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12168
12169 [BZ #14210]
12170 Suppress sign-conversion warning from FD_SET.
12171 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12172 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12173 not unsigned long int.
12174 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12175
ddb28975
L
121762012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12177
12178 [BZ #14050]
12179 [BZ #14117]
12180 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12181 __extern_always_inline instead of __extern_inline.
12182 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12183 (__signbit): Likewise.
12184 (__signbitl): Support C++ namespace.
12185 (lrintf): New inline function.
12186 (lrint): Likewise.
12187 (llrintf): Likewise.
12188 (llrint): Likewise.
12189 (fmaxf): Likewise.
12190 (fmax): Likewise.
12191 (fminf): Likewise.
12192 (fmin): Likewise.
12193 (rint): Likewise.
12194 (rintf): Likewise.
12195 (ceil): Likewise.
12196 (ceilf): Likewise.
12197 (floor): Likewise.
12198 (floorf): Likewise.
12199 (nearbyint): Likewise.
12200 (nearbyintf): Likewise.
12201
d7b4fb26
TS
122022012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12203
12204 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12205 non-default versions.
12206
eb55f5c2
RM
122072012-06-11 Roland McGrath <roland@hack.frob.com>
12208
12209 [BZ #14218]
12210 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12211
366af02c
TS
122122012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12213
99ff6e5c
TS
12214 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12215 (FE_UPWARD, FE_DOWNWARD): Don't define.
12216 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12217 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12218
366af02c
TS
12219 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12220 reading it.
12221 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12222 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12223
793ea851
KK
122242012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12225
12226 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12227 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12228 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12229 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12230
a728a38f
L
122312012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12232
12233 [BZ #14117]
c08010c7
L
12234 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12235 * sysdeps/i386/fpu/Implies: New file.
12236 * sysdeps/x86_64/fpu/Implies: Likewise.
12237 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12238 * sysdeps/x86/fpu/bits/fenv.h: This.
12239
a728a38f
L
12240 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12241 __SSE_MATH__.
12242
6e230d11
SP
122432012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12244
12245 [BZ #14134]
12246 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12247 character 0xffff that matches the last element of the
12248 conversion table.
12249
1b671feb
AZ
122502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12251
12252 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12253 fmodl commit.
12254
6043738b
AZ
122552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12256
12257 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12258 values higher than 25.6283.
12259
34ae0b32
AZ
122602012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12261
12262 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12263 subnormal exponent extraction and add some __builtin_expect.
12264 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12265 Fix for subnormal mantissa calculation.
12266
1214ec8f
MF
122672012-06-04 Mike Frysinger <vapier@gentoo.org>
12268
12269 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12270 cpu2 is -1 and errno is not ENOSYS.
12271
f3d1f93c
L
122722012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12273
12274 [BZ #14117]
0e4a3cd7
L
12275 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12276 * sysdeps/x86/bits/string.h: This.
12277 * sysdeps/x86_64/bits/string.h: Removed.
12278
6704c645
L
12279 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12280 if not compiling for x86-64, but compiling for >= i486.
12281
48495318
L
12282 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12283 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12284
14adcbfc
L
12285 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12286 New macro from Linux kernel 3.4.0.
12287 (FP_XSTATE_MAGIC2): Likewise.
12288 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12289 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12290 (struct _fpx_sw_bytes): New struct.
12291 (struct _xsave_hdr): Likewise.
12292 (struct _ymmh_state): Likewise.
12293 (struct _xstate): Likewise.
12294
68e408ab
L
12295 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12296 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12297 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12298 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12299 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12300 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12301
f3d1f93c
L
12302 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12303 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12304 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12305 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12306 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12307 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12308
d9dc34cd
TMQMF
123092012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12310
12311 [BZ #13743]
12312 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12313 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12314 (sysdep_headers): Include sys/platform/ppc.h.
12315 * sysdeps/powerpc/test-gettimebase.c: Test for
12316 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12317 * manual/Makefile (appendices): Include platform.texi.
12318 * manual/contrib.texi (Contributors): Update @node pointers.
12319 * manual/maint.texi (Maintenance): Likewise.
12320 (Platform): New node.
12321 * manual/platform.texi: New file. Document the new features.
12322
4af3879c
SP
123232012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12324 Jakub Jelinek <jakub@redhat.com>
12325
12326 [BZ #14188]
12327 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12328 where __builtin_expect is unavailable.
12329
2fd6ff13
DM
123302012-06-03 David S. Miller <davem@davemloft.net>
12331
12332 * stdlib/longlong.h: Updated from GCC.
12333
173f7220
AS
123342012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12335
12336 [BZ #14042]
12337 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12338 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12339 __mcount_internal.
12340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12341 (GLIBC_2.16): Likewise.
12342
f34a1c6f
L
123432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12344
12345 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12346
88a4576f
JM
123472012-06-01 Joseph Myers <joseph@codesourcery.com>
12348
ea32bcdd
JM
12349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12350 (default-abi): New variable.
12351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12352 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12353 variable.
12354 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12355 Likewise.
12356 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12357 Likewise.
12358 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12359 Likewise.
12360
88a4576f
JM
12361 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12362 definition. Document in comment.
12363
402fe938
DM
123642012-06-01 David S. Miller <davem@davemloft.net>
12365
12366 * stdlib/longlong.h: Updated from GCC.
12367
3553723f
L
123682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12369
12370 [BZ #14117]
3bd872c4
L
12371 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12372 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12373 sys/debugreg.h sys/io.h here.
12374 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12375 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12376 sys/io.h.
12377 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12378 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12379 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12380 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12381 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12382 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12383
3553723f
L
12384 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12385 Define only if __x86_64__ is defined.
12386
4842e4fe
JM
123872012-06-01 Joseph Myers <joseph@codesourcery.com>
12388
c5bfe3d5
JM
12389 [BZ #14048]
12390 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12391 Use int64_t for variable i.
12392 * math/libm-test.inc (fmod_test): Add more tests.
12393
4842e4fe
JM
12394 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12395 z computation is not scheduled after fetestexcept.
12396 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12397 Use math_force_eval instead of asm to ensure calculation scheduled
12398 before exception test.
12399 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12400 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12401
efb73488
AJ
124022012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12403
12404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12405 computation is not scheduled after fetestexcept.
12406
29bcce7c
L
124072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 [BZ #14117]
12410 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12411 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12412
73a68f94
AZ
124132012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12414
12415 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12416 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12417
67b6df78
L
124182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12419
edf2933a 12420 [BZ #14117]
ebc64a18
L
12421 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12422 <bits/wordsize.h>.
12423 (__WCHAR_MIN): Support __WORDSIZE == 64.
12424 (__WCHAR_MAX): Likewise.
12425
edf2933a
L
12426 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12427 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12428
57c6cf40
L
12429 [BZ #14183]
12430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12431 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12432
67b6df78 12433 [BZ #14117]
8eb6281e
L
12434 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12435 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12436
aac639f4
L
12437 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12438 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12439
67b6df78
L
12440 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12441 Defined to 1 if __x86_64__ isn't defined.
12442 (_STAT_VER_LINUX_OLD): New.
12443 (st_atime): Remove duplicate.
12444 (st_mtime): Likewise.
12445 (st_ctime): Likewise.
12446
1c2cfe81
DM
124472012-05-31 David S. Miller <davem@davemloft.net>
12448
12449 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12450 entries.
12451
5be8418c
AS
124522012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12453
e7725326
AS
12454 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12455 gen-libm-test.pl.
12456
5be8418c
AS
12457 [BZ #14132]
12458 * elf/dl-reloc.c: Include <_itoa.h>.
12459 (_dl_reloc_bad_type): Remove use of INTUSE.
12460 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12461 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12462 * stdio-common/psiginfo.c (psiginfo): Likewise.
12463 * stdio-common/psignal.c (psignal): Likewise.
12464 * string/strsignal.c (strsignal): Likewise.
12465 * include/signal.h (_sys_siglist): Declare hidden proto.
12466 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12467 INTVARDEF with libc_hidden_data_def.
12468 * stdio-common/itoa-udigits.c: Likewise.
12469 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12470 (_itoa_lower_digits_internal): Remove declaration.
12471 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12472 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12473 (_sys_sigabbrev_internal): Remove aliases.
12474 (_sys_siglist): Define hidden alias.
12475
507352f1
MT
124762012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12477
12478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12479 bits/sysctl.h.
12480
42bbb1c3
L
124812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12482
12483 [BZ #14117]
6bd784b6
L
12484 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12485 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12486
8bca20f0
L
12487 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12488 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12489 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12490 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12491 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12492 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12493
f9e890a9
L
12494 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12495 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12496 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12497
471101a1
L
12498 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12499 with __addr.
12500 (insw): Likewise.
12501 (insl): Likewise.
12502 (outsb): Likewise.
12503 (outsw): Likewise.
12504 (outsl): Likewise.
12505
6451c862
L
12506 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12507 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12508 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12509
a254b8c9
L
12510 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12511 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12512 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12513 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12514 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12515 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12516
b8dfdd92
L
12517 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12518 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12519
578cd270
L
12520 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12521 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12522
de662f5f
L
12523 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12525 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12526
25653439
L
12527 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12528 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12529 to ...
12530 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12531
6bad24a0
L
12532 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12533 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12534 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12535
42bbb1c3
L
12536 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12537 for x86-64.
12538 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12539
2d10d547
JM
125402012-05-31 Joseph Myers <joseph@codesourcery.com>
12541
12542 * math/math.h (M_El): Use two more decimal places.
12543 (M_LOG2El): Likewise.
12544 (M_LOG10El): Likewise.
12545 (M_LN2l): Likewise.
12546 (M_LN10l): Likewise.
12547 (M_PIl): Likewise.
12548 (M_PI_2l): Likewise.
12549 (M_PI_4l): Likewise.
12550 (M_1_PIl): Likewise.
12551 (M_2_PIl): Likewise.
12552 (M_2_SQRTPIl): Likewise.
12553 (M_SQRT2l): Likewise.
12554 (M_SQRT1_2l): Likewise.
12555
f230c29b
DM
125562012-05-31 David S. Miller <davem@davemloft.net>
12557
12558 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12559 values between float registers.
12560 * sysdeps/sparc/sparc64/memset.S: Likewise.
12561 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12562
fed806c3
MF
125632012-05-31 Mike Frysinger <vapier@gentoo.org>
12564
12565 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12566 -D_FORTIFY_SOURCE=1.
12567 (CPPFLAGS-tst-longjmp_chk.c): Define.
12568 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12569 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12570 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12571 CFLAGS-tst-wchar-h.c.
12572
30917259
MP
125732012-05-31 Marek Polacek <polacek@redhat.com>
12574
12575 [BZ #14132]
12576 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12577 __endmntent_internal): Remove declaration.
12578 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12579 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12580 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12581
1c58d5dc
DM
125822012-05-30 David S. Miller <davem@davemloft.net>
12583
12584 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12585 (___Q_simulate_exceptions): Use real FP ops rather than writing
12586 into the %fsr.
12587 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12588 Likewise.
12589
7dc00e0d
L
125902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12591
12592 [BZ #14117]
0bd53985
L
12593 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12594 * sysdeps/x86/bits/xtitypes.h: This.
12595
3a257e66
L
12596 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12597 * sysdeps/x86/bits/wordsize.h: This.
12598
62f62904
L
12599 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12600 * sysdeps/x86/bits/huge_vall.h: This.
12601
404fe9d9
L
12602 * sysdeps/i386/bits/select.h: Removed.
12603 * sysdeps/x86_64/bits/select.h: Renamed to ...
12604 * sysdeps/x86/bits/select.h: This.
12605
d48d0446
L
12606 * sysdeps/i386/bits/setjmp.h: Removed.
12607 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12608 * sysdeps/x86/bits/setjmp.h: This.
12609
7dc00e0d
L
12610 * sysdeps/i386/bits/mathdef.h: Removed.
12611 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12612 * sysdeps/x86/bits/mathdef.h: This.
12613
03277f8f
AS
126142012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12615
12616 [BZ #14132]
12617 * include/sys/socket.h (__connect_internal)
12618 (__libc_sa_len_internal): Remove declaration.
12619 (__connect, __libc_sa_len): Declare hidden_proto.
12620 (SA_LEN): Remove use of INTUSE.
12621 * socket/connect.c: Add libc_hidden_def.
12622 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12623 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12624 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12625 alias.
12626 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12627 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12628 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12629 of adding _internal alias.
12630
13764867
L
126312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12632
12633 [BZ #14117]
6bd97696
L
12634 * sysdeps/i386/bits/link.h: Removed.
12635 * sysdeps/i386/bits/linkmap.h: Likewise.
12636 * sysdeps/x86_64/bits/link.h: Renamed to ...
12637 * sysdeps/x86/bits/link.h: This.
12638 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12639 * sysdeps/x86/bits/linkmap.h: This.
12640
f726f0bb
L
12641 * sysdeps/i386/bits/endian.h: Removed.
12642 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12643 * sysdeps/x86/bits/endian.h: This.
12644
13764867
L
12645 * sysdeps/i386/bits/byteswap.h: Removed.
12646 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12647 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12648 * sysdeps/x86/bits/byteswap.h: This.
12649 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12650 * sysdeps/x86/bits/byteswap-16.h: This.
12651 * sysdeps/i386/Implies: Add x86.
12652 * sysdeps/x86_64/Implies: Likewise.
12653
ae251b0b
DM
126542012-05-30 David S. Miller <davem@davemloft.net>
12655
12656 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12657 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12658 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12659 (FP_TRAPPING_EXCEPTIONS): Define.
12660 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12661 (FP_TRAPPING_EXCEPTIONS): Define.
12662 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12663 subnormals only when inexact has been signalled or underflow
12664 exceptions are enabled.
12665 (_FP_PACK_CANONICAL): Likewise.
12666
d5c90867
L
126672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12668
12669 [BZ #14183]
12670 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12671 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12672
63f1549e
RH
126732012-05-30 Richard Henderson <rth@twiddle.net>
12674
8d8f2279
RH
12675 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12676 with #ifndef NOT_IN_libc.
12677
63f1549e
RH
12678 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12679 marked to avoid plt entry.
12680
0ab0291b
L
126812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12682
12683 [BZ #14112]
12684 * Makeconfig (default-abi): New macro.
12685 (abi-includes): Likewise.
12686 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12687 $(abi-$(default-abi)-lib-soname) for soname if defined.
12688 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12689 abi-variants.
12690 * Makefile (installed-stubs): Likewise.
12691 * include/stubs-biarch.h: Removed.
12692 * scripts/lib-names.awk: Only handle one library at a time.
12693 * scripts/soversions.awk: Remove WORDSIZE support.
12694 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12695 entries.
12696 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12697 Removed.
12698 (syscall-list-default-condition): Likewise.
12699 (syscall-list-default-condition): Likewise.
12700 (syscall-list-includes): Likewise.
12701 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12702 syscall-list-* with abi-*. Handle undefined abi-variants.
12703 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12704 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12705 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12706 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12707 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12708 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12709 Removed.
12710 (syscall-list-32-options): Likewise.
12711 (syscall-list-32-condition): Likewise.
12712 (syscall-list-64-options): Likewise.
12713 (syscall-list-64-condition): Likewise.
12714 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12715 macro.
12716 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12717 Renamed to ...
12718 (abi-*): This.
12719 (abi-64-ld-soname): New macro.
12720 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12721 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12722 Renamed to ...
12723 (abi-*): This.
12724 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12725 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12726
4da0431d
JM
127272012-05-30 Joseph Myers <joseph@codesourcery.com>
12728
3a85279c
JM
12729 * sysdeps/unix/sysv/linux/kernel-features.h
12730 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12731 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12732 include <kernel-features.h>.
12733 [!__NR_ftruncate64]: Remove conditional code.
12734 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12735 [__NR_ftruncate64]: Make code unconditional.
12736 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12737 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12738 include <kernel-features.h>.
12739 [!__NR_ftruncate64]: Remove conditional code.
12740 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12741 [__NR_ftruncate64]: Make code unconditional.
12742 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12744 include <kernel-features.h>.
12745 [!__NR_ftruncate64]: Remove conditional code.
12746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12747 [__NR_ftruncate64]: Make code unconditional.
12748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12750 include <kernel-features.h>.
12751 [!__NR_ftruncate64]: Remove conditional code.
12752 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12753 [__NR_ftruncate64]: Make code unconditional.
12754 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12755
4da0431d
JM
12756 * configure.in (libc_cv_fpie): Weaken to a compile test using
12757 LIBC_TRY_CC_OPTION.
12758 * configure: Regenerated.
12759
11ef492c
AK
127602012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12761
12762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12766 Refreshed.
12767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12773 Refreshed.
12774
d66ef399
DM
127752012-05-27 David S. Miller <davem@davemloft.net>
12776
12777 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12778 (___Q_zero): New.
12779 (__Q_simulate_exceptions): Return void. Change to simulate
12780 exceptions by writing into the %fsr.
12781 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12782 (__Qp_handle_exceptions): Likewise.
12783 (numbers): Delete.
12784 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12785 __Qp_handle_exceptions.
12786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12787 __Qp_handle_exceptions.
12788 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12789 as unused and give dummy FP_RND_NEAREST initializer.
12790 (FP_INHIBIT_RESULTS): Define.
12791 (___Q_simulate_exceptions): Update declaration.
12792 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12793 formatting.
12794 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12795 as unused and give dummy FP_RND_NEAREST initializer.
12796 (__Qp_handle_exceptions): Update declaration.
12797 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12798 formatting.
12799
04fb54b5
TS
128002012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12801
12802 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12803 the temporary FPU control word.
12804 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12805 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12806 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12807 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12808 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12809 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12810 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12811 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12812 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12813 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12814 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12815
3f99608f
KK
128162012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12817
12818 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12819 fields.
12820
65a4de4e
CLT
128212012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12822
12823 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12824 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12825 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12826 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12827 Likewise.
12828 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12829 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12830 Likewise.
12831
15749d40
UD
128322012-05-27 Ulrich Drepper <drepper@gmail.com>
12833
12834 * po/h.po: Update from translation team.
12835
25dbcb27
AS
128362012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12837
3d3f8e55
AS
12838 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12839
25dbcb27
AS
12840 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12841 handling of denormals.
12842 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12843 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12844 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12845 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12848 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12849 Likewise.
12850
7ad47a80 128512012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12852
12853 [BZ #14152]
12854 * math/libm-test.inc (fma_test): Don't always expect underflow
12855 exception.
12856
9c6ea9fa
SP
128572012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12858
12859 [BZ #12416]
12860 * elf/tst-execstack.c: Include stackinfo.h.
12861 (do_test): Adjust test case to ensure that pthread_getattr_np
12862 behaviour remains the same after marking stack executable.
12863
a8239222
JM
128642012-05-25 Joseph Myers <joseph@codesourcery.com>
12865
12866 * sysdeps/unix/sysv/linux/kernel-features.h
12867 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12868 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12869 kernel-features.h.
12870 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12871 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12872 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12873 kernel-features.h.
12874 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12875 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12876
918b5606
L
128772012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12878
12879 * configure.in: Define the default includes to being none.
12880 * configure: Regenerated.
12881
3a097cc7
RM
128822012-05-25 Roland McGrath <roland@hack.frob.com>
12883
8422c9a5
RM
12884 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12885 * sysdeps/x86_64/setjmp.S: Likewise.
12886 * sysdeps/i386/bsd-setjmp.S: Likewise.
12887 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12888 * sysdeps/i386/setjmp.S: Likewise.
12889 * sysdeps/i386/__longjmp.S: Likewise.
12890 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12891 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12892
3a097cc7
RM
12893 * include/stap-probe.h: New file.
12894 * configure.in: Handle --enable-systemtap.
12895 * configure: Regenerated.
12896 * config.h.in (USE_STAP_PROBE): New #undef.
12897 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12898 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12899 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12900
21708942
JM
129012012-05-25 Joseph Myers <joseph@codesourcery.com>
12902
12903 [BZ #13717]
12904 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12905 to 2.4.0 where earlier.
12906 * sysdeps/unix/sysv/linux/configure: Regenerated.
12907 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
12916 [__ASSUME_32BITUIDS]: Make code unconditional.
12917 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12918 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12919 <kernel-features.h>.
12920 [__ASSUME_32BITUIDS]: Make code unconditional.
12921 [!__ASSUME_32BITUIDS]: Remove conditional code.
12922 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12923 <kernel-features.h>.
12924 [__ASSUME_32BITUIDS]: Make code unconditional.
12925 [!__ASSUME_32BITUIDS]: Remove conditional code.
12926 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12927 <kernel-features.h>.
12928 [__ASSUME_32BITUIDS]: Make code unconditional.
12929 [!__ASSUME_32BITUIDS]: Remove conditional code.
12930 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12931 <kernel-features.h>.
12932 [__ASSUME_32BITUIDS]: Make code unconditional.
12933 [!__ASSUME_32BITUIDS]: Remove conditional code.
12934 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12935 <kernel-features.h>.
12936 [__ASSUME_32BITUIDS]: Make code unconditional.
12937 [!__ASSUME_32BITUIDS]: Remove conditional code.
12938 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12939 <kernel-features.h>.
12940 [__ASSUME_32BITUIDS]: Make code unconditional.
12941 [!__ASSUME_32BITUIDS]: Remove conditional code.
12942 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12943 <kernel-features.h>.
12944 [__ASSUME_32BITUIDS]: Make code unconditional.
12945 [!__ASSUME_32BITUIDS]: Remove conditional code.
12946 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12947 <kernel-features.h>.
12948 [__ASSUME_32BITUIDS]: Make code unconditional.
12949 [!__ASSUME_32BITUIDS]: Remove conditional code.
12950 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12951 <kernel-features.h>.
12952 [__ASSUME_32BITUIDS]: Make code unconditional.
12953 [!__ASSUME_32BITUIDS]: Remove conditional code.
12954 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12955 <kernel-features.h>.
12956 [__ASSUME_32BITUIDS]: Make code unconditional.
12957 [!__ASSUME_32BITUIDS]: Remove conditional code.
12958 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12959 <kernel-features.h>.
12960 [__NR_setresgid] (__setresgid): Do not declare.
12961 [__ASSUME_32BITUIDS]: Make code unconditional.
12962 [!__ASSUME_32BITUIDS]: Remove conditional code.
12963 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12964 <kernel-features.h>.
12965 [__NR_setresuid] (__setresuid): Do not declare.
12966 [__ASSUME_32BITUIDS]: Make code unconditional.
12967 [!__ASSUME_32BITUIDS]: Remove conditional code.
12968 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12969 <kernel-features.h>.
12970 [__ASSUME_32BITUIDS]: Make code unconditional.
12971 [!__ASSUME_32BITUIDS]: Remove conditional code.
12972 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12973 <kernel-features.h>.
12974 [__ASSUME_32BITUIDS]: Make code unconditional.
12975 [!__ASSUME_32BITUIDS]: Remove conditional code.
12976 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12977 <kernel-features.h>.
12978 [__ASSUME_32BITUIDS]: Make code unconditional.
12979 [!__ASSUME_32BITUIDS]: Remove conditional code.
12980 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12981 <kernel-features.h>.
12982 [__ASSUME_32BITUIDS]: Make code unconditional.
12983 [!__ASSUME_32BITUIDS]: Remove conditional code.
12984 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12985 <kernel-features.h>.
12986 [__ASSUME_32BITUIDS]: Make code unconditional.
12987 [!__ASSUME_32BITUIDS]: Remove conditional code.
12988 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12989 <kernel-features.h>.
12990 [__ASSUME_32BITUIDS]: Make code unconditional.
12991 [!__ASSUME_32BITUIDS]: Remove conditional code.
12992 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12993 <kernel-features.h>.
12994 [__ASSUME_32BITUIDS]: Make code unconditional.
12995 [!__ASSUME_32BITUIDS]: Remove conditional code.
12996 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12997 <kernel-features.h>.
12998 [__ASSUME_32BITUIDS]: Make code unconditional.
12999 [!__ASSUME_32BITUIDS]: Remove conditional code.
13000 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13001 <kernel-features.h>.
13002 [__ASSUME_32BITUIDS]: Make code unconditional.
13003 [!__ASSUME_32BITUIDS]: Remove conditional code.
13004 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13005 <kernel-features.h>.
13006 [__ASSUME_32BITUIDS]: Make code unconditional.
13007 [!__ASSUME_32BITUIDS]: Remove conditional code.
13008 * sysdeps/unix/sysv/linux/kernel-features.h
13009 (__ASSUME_SETRESUID_SYSCALL): Remove.
13010 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13011 (__ASSUME_32BITUIDS): Likewise.
13012 (__ASSUME_LDT_WORKS): Likewise.
13013 (__ASSUME_O_DIRECTORY): Likewise.
13014 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13015 architecture but not kernel version.
13016 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13017 (__ASSUME_MMAP2_SYSCALL): Likewise.
13018 (__ASSUME_STAT64_SYSCALL): Likewise.
13019 (__ASSUME_IPC64): Likewise.
13020 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13021 <kernel-features.h>.
13022 [__ASSUME_32BITUIDS]: Make code unconditional.
13023 [!__ASSUME_32BITUIDS]: Remove conditional code.
13024 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13025 <kernel-features.h>.
13026 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13027 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13028 132096]: Remove conditional code.
13029 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13030 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13031 <kernel-features.h>.
13032 [__ASSUME_32BITUIDS]: Make code unconditional.
13033 [!__ASSUME_32BITUIDS]: Remove conditional code.
13034 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13035 <kernel-features.h>.
13036 [__ASSUME_32BITUIDS]: Make code unconditional.
13037 [!__ASSUME_32BITUIDS]: Remove conditional code.
13038 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13039 <kernel-features.h>.
13040 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13041 unconditional.
13042 (__setresgid): Do not declare.
13043 [__ASSUME_32BITUIDS]: Make code unconditional.
13044 [!__ASSUME_32BITUIDS]: Remove conditional code.
13045 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13046 <kernel-features.h>.
13047 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13048 unconditional.
13049 (__setresuid): Do not declare.
13050 [__ASSUME_32BITUIDS]: Make code unconditional.
13051 [!__ASSUME_32BITUIDS]: Remove conditional code.
13052 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13053 <kernel-features.h>.
13054 [__ASSUME_32BITUIDS]: Make code unconditional.
13055 [!__ASSUME_32BITUIDS]: Remove conditional code.
13056 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13057 <kernel-features.h>.
13058 [__ASSUME_32BITUIDS]: Make code unconditional.
13059 [!__ASSUME_32BITUIDS]: Remove conditional code.
13060
a386f1cc
RH
130612012-05-25 Richard Henderson <rth@twiddle.net>
13062
13063 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13064 dl_hwcap to ifunc resolver.
13065 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13066 elf_ifunc_invoke.
13067 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13068 dl_hwcap to ifunc resolver.
13069 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13070
b6550497
JM
130712012-05-24 Joseph Myers <joseph@codesourcery.com>
13072
13073 [BZ #14153]
13074 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13075 for |x| <= 2**-26, not 2**-57.
13076 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13077 exception.
13078
b0bc23a1
JL
130792012-05-24 Jeff Law <law@redhat.com>
13080
13081 * stdio-common/Makefile (tests): Add bug25.
13082 * stdio-common/bug25.c: New test.
13083
347c92e9
L
130842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13085
13086 [BZ #13576]
13087 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13088 multiple of MALLOC_ALIGNMENT in size.
13089 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13090
6bcc8b3f
JM
130912012-05-24 Joseph Myers <joseph@codesourcery.com>
13092
13093 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13094 Require >= 256.
13095 (FILENAME_MAX): Use macro-int-constant.
13096 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13097 (_IOFBF): Use macro-int-constant.
13098 (_IOLBF): Likewise.
13099 (_IONBF): Likewise.
13100 (SEEK_CUR): Likewise.
13101 (SEEK_END): Likewise.
13102 (SEEK_SET): Likewise.
13103 (TMP_MAX): Likewise.
13104 (EOF): Use macro-int-constant. Require < 0.
13105 (NULL): Use macro-constant. Require == 0.
13106 (stdin): Require type to be FILE *.
13107 (stdout): Likewise.
13108 (stderr): Likewise.
13109 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13110 macro-int-constant.
13111 (EXIT_SUCCESS): Likewise.
13112 (NULL): Use macro-constant. Require == 0.
13113 (RAND_MAX): Use macro-int-constant.
13114 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13115 [C99-based standards] (strtof): Require function.
13116 [C99-based standards] (strtold): Likewise.
13117 [C99-based standards] (strtoll): Likewise.
13118 [C99-based standards] (strtoull): Likewise.
13119 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13120 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13121 [ISO || ISO99 || ISO11] (math.h): Likewise.
13122 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13123 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13124 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13125
d18ea0c5
AS
131262012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13127
13128 [BZ #14132]
56d25bb8
AS
13129 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13130 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13131 * intl/dgettext.c (DCGETTEXT): Likewise.
13132 * intl/gettext.c (DCGETTEXT): Likewise.
13133 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13134 * posix/regex_internal.h (gettext): Likewise.
13135 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13136 Remove declaration.
13137 * include/argz.h (__argz_count_internal)
13138 (__argz_stringify_internal): Remove declaration.
13139 (__argz_count, __argz_stringify): Declare hidden proto.
13140 * intl/dcgettext.c: Remove use of INTDEF.
13141 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13142 * string/argz-stringify.c: Likewise.
13143 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13144 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13145 Declare hidden proto.
d18ea0c5
AS
13146 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13147 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13148 Declare hidden proto.
13149 * include/stdio.h (__asprintf_internal): Don't declare.
13150 (__asprintf): Don't define as macro. Declare hidden proto.
13151 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13152 (__fsetlocking): Declare hidden proto.
13153 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13154 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13155 hidden proto.
13156 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13157 (_IO_setlinebuf): Remove use of INTUSE.
13158 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13159 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13160 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13161 Remove declaration.
13162 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13163 (_IO_do_flush): Remove use of INTUSE.
13164 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13165 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13166 (_IO_adjust_column, _IO_least_wmarker)
13167 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13168 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13169 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13170 (_IO_default_doallocate, _IO_wdefault_doallocate)
13171 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13172 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13173 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13174 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13175 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13176 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13177 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13178 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13179 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13180 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13181 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13182 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13183 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13184 proto.
13185 (_IO_flush_all_internal, _IO_adjust_column_internal)
13186 (_IO_default_uflow_internal, _IO_default_finish_internal)
13187 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13188 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13189 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13190 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13191 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13192 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13193 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13194 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13195 (_IO_file_close_internal, _IO_file_close_it_internal)
13196 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13197 (_IO_file_init_internal, _IO_file_attach_internal)
13198 (_IO_file_fopen_internal, _IO_file_read_internal)
13199 (_IO_file_sync_internal, _IO_file_seek_internal)
13200 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13201 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13202 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13203 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13204 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13205 (_IO_list_all_internal, _IO_link_in_internal)
13206 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13207 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13208 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13209 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13210 (_IO_do_write_internal, _IO_padn_internal)
13211 (_IO_getline_info_internal, _IO_getline_internal)
13212 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13213 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13214 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13215 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13216 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13217 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13218 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13219 with libc_hidden_ver, remove use of INTUSE.
13220 * libio/genops.c: Likewise.
13221 * libio/freopen.c: Likewise.
13222 * libio/freopen64.c: Likewise.
13223 * libio/iofclose.c: Likewise.
13224 * libio/iofdopen.c: Likewise.
13225 * libio/iofflush.c: Likewise.
13226 * libio/iofflush_u.c: Likewise.
13227 * libio/iofgets.c: Likewise.
13228 * libio/iofgets_u.c: Likewise.
13229 * libio/iofopen.c: Likewise.
13230 * libio/iofopncook.c: Likewise.
13231 * libio/iofread.c: Likewise.
13232 * libio/iofread_u.c: Likewise.
13233 * libio/ioftell.c: Likewise.
13234 * libio/iofwrite.c: Likewise.
13235 * libio/iogetline.c: Likewise.
13236 * libio/iogets.c: Likewise.
13237 * libio/iogetwline.c: Likewise.
13238 * libio/iopadn.c: Likewise.
13239 * libio/iopopen.c: Likewise.
13240 * libio/ioseekoff.c: Likewise.
13241 * libio/ioseekpos.c: Likewise.
13242 * libio/iosetbuffer.c: Likewise.
13243 * libio/iosetvbuf.c: Likewise.
13244 * libio/ioungetc.c: Likewise.
13245 * libio/ioungetwc.c: Likewise.
13246 * libio/iovdprintf.c: Likewise.
13247 * libio/iovsprintf.c: Likewise.
13248 * libio/iovsscanf.c: Likewise.
13249 * libio/memstream.c: Likewise.
13250 * libio/obprintf.c: Likewise.
13251 * libio/oldfileops.c: Likewise.
13252 * libio/oldiofclose.c: Likewise.
13253 * libio/oldiofdopen.c: Likewise.
13254 * libio/oldiofopen.c: Likewise.
13255 * libio/oldiopopen.c: Likewise.
13256 * libio/oldstdfiles.c: Likewise.
13257 * libio/putc.c: Likewise.
13258 * libio/setbuf.c: Likewise.
13259 * libio/setlinebuf.c: Likewise.
13260 * libio/stdfiles.c: Likewise.
13261 * libio/strops.c: Likewise.
13262 * libio/vasprintf.c: Likewise.
13263 * libio/vscanf.c: Likewise.
13264 * libio/vsnprintf.c: Likewise.
13265 * libio/vswprintf.c: Likewise.
13266 * libio/wfiledoalloc.c: Likewise.
13267 * libio/wfileops.c: Likewise.
13268 * libio/wgenops.c: Likewise.
13269 * libio/wmemstream.c: Likewise.
13270 * libio/wstrops.c: Likewise.
13271 * libio/__fpurge.c: Likewise.
13272 * libio/__fsetlocking.c: Likewise.
13273 * assert/assert.c: Likewise.
13274 * debug/fgets_chk.c: Likewise.
13275 * debug/fgets_u_chk.c: Likewise.
13276 * debug/fread_chk.c: Likewise.
13277 * debug/fread_u_chk.c: Likewise.
13278 * debug/gets_chk.c: Likewise.
13279 * debug/obprintf_chk.c: Likewise.
13280 * debug/vasprintf_chk.c: Likewise.
13281 * debug/vdprintf_chk.c: Likewise.
13282 * debug/vsnprintf_chk.c: Likewise.
13283 * debug/vsprintf_chk.c: Likewise.
13284 * malloc/mtrace.c: Likewise.
13285 * misc/error.c: Likewise.
13286 * misc/syslog.c: Likewise.
13287 * stdio-common/asprintf.c: Likewise.
13288 * stdio-common/fxprintf.c: Likewise.
13289 * stdio-common/getw.c: Likewise.
13290 * stdio-common/isoc99_fscanf.c: Likewise.
13291 * stdio-common/isoc99_scanf.c: Likewise.
13292 * stdio-common/isoc99_vfscanf.c: Likewise.
13293 * stdio-common/isoc99_vscanf.c: Likewise.
13294 * stdio-common/isoc99_vsscanf.c: Likewise.
13295 * stdio-common/printf-prs.c: Likewise.
13296 * stdio-common/printf_fp.c: Likewise.
13297 * stdio-common/printf_fphex.c: Likewise.
13298 * stdio-common/printf_size.c: Likewise.
13299 * stdio-common/putw.c: Likewise.
13300 * stdio-common/scanf.c: Likewise.
13301 * stdio-common/sprintf.c: Likewise.
13302 * stdio-common/tmpfile.c: Likewise.
13303 * stdio-common/vfprintf.c: Likewise.
13304 * stdio-common/vfscanf.c: Likewise.
13305 * stdlib/strfmon_l.c: Likewise.
13306 * sunrpc/openchild.c: Likewise.
13307 * sunrpc/xdr_stdio.c: Likewise.
13308 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13309 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13310
d6c33fda
RM
133112012-05-24 Roland McGrath <roland@hack.frob.com>
13312
c1487492
RM
13313 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13314
13315 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13316 in the third column, to generate for the shared library an IFUNC
13317 that uses _dl_vdso_vsym.
13318 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13319 * Makeconfig (object-suffixes-noshared): New variable.
13320
13321 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13322 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13323 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13324 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13325
d6c33fda
RM
13326 [BZ #14132]
13327 * include/sys/time.h (__gettimeofday): Remove macro.
13328 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13329 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13330 Remove INTDEF.
13331 (__gettimeofday): Add libc_hidden_def.
13332 (gettimeofday): Add libc_hidden_weak.
13333 * sysdeps/mach/gettimeofday.c: Likewise.
13334 * sysdeps/posix/gettimeofday.c: Likewise.
13335 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13336 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13337 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13338 (__gettimeofday_internal): Remove strong_alias.
13339 (__gettimeofday): Add libc_hidden_def.
13340 (gettimeofday): Add libc_hidden_weak.
13341 * sysdeps/unix/syscalls.list (gettimeofday):
13342 Remove __gettimeofday_internal alias.
13343
b5a2bbe6
L
133442012-05-24 Daniel Jacobowitz <drow@false.org>
13345 H.J. Lu <hongjiu.lu@intel.com>
13346
13347 [BZ #12495]
13348 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13349 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13350 (largebin_index_32_big): New.
13351 (largebin_index): Use it for 16-byte alignment.
13352 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13353 correction with front_misalign.
13354
cfba4fda
L
133552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13356
7f907421
L
13357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13359 Likewise.
13360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13361 Likewise.
13362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13363 Likewise.
13364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13365 Likewise.
13366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13367 Likewise.
13368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13369 Likewise.
13370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13371 Likewise.
13372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13373 Likewise.
13374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13375 Likewise.
13376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13377 Likewise.
13378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13379 Likewise.
13380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13381 Likewise.
13382
cfba4fda
L
13383 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13384 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13385
80bad0cc
JM
133862012-05-24 Joseph Myers <joseph@codesourcery.com>
13387
7a25eb06
JM
13388 [BZ #10846]
13389 [BZ #14036]
13390 * math/libm-test.inc (exp_test): Add test from bug 14036.
13391 (pow_test): Add test from bug 10846.
13392
795405f9
JM
13393 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13394 and other flags.
13395 (special_function): Do not include flags in test name.
13396 (parse_args): Likewise.
13397 * sysdeps/i386/fpu/libm-test-ulps: Update.
13398 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13399 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13400 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13402
80bad0cc
JM
13403 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13404 exceptions.
13405 * math/libm-test.inc ("Philosophy"): Update comment about
13406 exception testing.
13407 (UNDERFLOW_EXCEPTION): New macro.
13408 (UNDERFLOW_EXCEPTION_OK): Likewise.
13409 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13410 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13411 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13412 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13413 (INVALID_EXCEPTION_OK): Update value.
13414 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13415 (OVERFLOW_EXCEPTION_OK): Likewise.
13416 (IGNORE_ZERO_INF_SIGN): Likewise.
13417 (test_exceptions): Handle underflow exceptions.
13418 (acos_test): Update for underflow exception expectations.
13419 (cexp_test): Likewise.
13420 (clog_test): Likewise.
13421 (clog10_test): Likewise.
13422 (csqrt_test): Likewise.
13423 (ctan_test): Likewise.
13424 (ctanh_test): Likewise.
13425 (exp_test): Likewise.
13426 (exp10_test): Likewise.
13427 (exp2_test): Likewise.
13428 (expm1_test): Likewise.
13429 (fma_test): Likewise.
13430 (j0_test): Likewise.
13431 (jn_test): Likewise.
13432 (nexttoward_test): Likewise.
13433 (pow_test): Likewise.
13434 (scalbn_test): Likewise.
13435 (scalbln_test): Likewise.
13436 (tan_test): Likewise.
13437 (y1_test): Likewise.
13438 * sysdeps/i386/fpu/libm-test-ulps: Update.
13439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13440
9e0e3d0b
DM
134412012-05-23 David S. Miller <davem@davemloft.net>
13442
13443 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13444 (__libc_sigaction): Remove unused local variables.
13445
ccd0a08f
L
134462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13447
13448 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13449
62bdf9a6
PE
134502012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13451
f8591f80
PE
13452 mktime: avoid signed integer overflow
13453 * time/mktime.c (__mktime_internal): Do not mishandle the case
13454 where diff == INT_MIN.
13455
94c7d826
PE
13456 mktime: simplify computation of average
13457 * time/mktime.c (ranged_convert): Use new time_t_avg function
13458 instead of rolling our own (probably-slower) code.
13459
ce73d683
PE
13460 mktime: do not assume signed right shift propagates sign bit
13461 * time/mktime.c (isdst_differ): New static function.
13462 (__mktime_internal): No need to normalize tm_isdst now.
13463 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13464 tm_isdst values.
13465
72a22e59
PE
13466 mktime: merge another wrapv change from gnulib
13467 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13468 from some compilers.
13469
68605433
PE
13470 mktime: remove incorrect attempt at unusual arithmetics
13471 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13472 The code didn't really work on such machines anyway.
13473 (TYPE_MINIMUM): Assume two's complement.
13474 (twos_complement_arithmetic): Verify that long_int and time_t
13475 are two's complement (or unsigned, in the latter case).
13476
03cf7fe3
PE
13477 mktime: check signed shifts on long_int and time_t, too
13478 * time/mktime.c (SHR): Check that shifts work as desired
13479 on the types long_int and time_t too, as SHR is used on
13480 such types.
13481
f04dfbc2
PE
13482 mktime: do not assume 'long' is wide enough
13483 * time/mktime.c (verify): Move decl up.
13484 (long_int): New type.
13485 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13486 to remove assumption in the code that 'long' is wide enough to
13487 store year values. This assumption is not true on x32 and on
13488 some non-glibc platforms.
13489
62bdf9a6
PE
13490 mktime: merge wrapv change from gnulib
13491 * time/mktime.c (WRAPV): New macro.
13492 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13493 (guess_time_tm, __mktime_internal): Do not assume that signed
13494 integer overflow wraps around; modern compilers generate code
13495 where this assumption is no longer valid.
13496
5e292e4f
L
134972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13498
13499 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13500 Replace "jmp L(pseudo_end)" with "ret".
13501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13502 Likewise.
13503
8caf8c87
AJ
135042012-05-23 Andreas Jaeger <aj@suse.de>
13505
13506 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13507 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13508
1a09dc56
AJ
135092012-05-23 Andreas Jaeger <aj@suse.de>
13510 Maximilian Attems <max@stro.at>
13511
13512 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13513 New macros.
13514
1c87aba0
L
135152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13516
13517 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13518 code so that pseudo_end is just ret and the stack pointer is
13519 correct also for static library in error case.
13520
40e45bd5
JM
135212012-05-23 Joseph Myers <joseph@codesourcery.com>
13522
c2670533
JM
13523 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13524 move to syscalls.list.
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13529
40e45bd5
JM
13530 * manual/install.texi (Running make install): Do not mention Linux
13531 kernel version for which pt_chown is not needed.
13532 (Linux): Do not mention problems with nscd with 2.0 kernels.
13533 * INSTALL: Regenerated.
13534
be08eda5
AJ
135352012-05-23 Andreas Jaeger <aj@suse.de>
13536
13537 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13538 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13539 macro.
13540 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13541 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13542 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13543 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13544 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13545 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13546 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13550 * sysdeps/unix/sysv/linux/bits/in.h
13551 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13552
a6a056bb
RM
135532012-05-22 Roland McGrath <roland@hack.frob.com>
13554
13555 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13556 (PREPARE_VERSION): Just use assert instead, it will be elided
13557 under [NDEBUG] anyway.
13558
c9009328
L
135592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13560
13561 * sysdeps/unix/sysv/linux/Makefile: Include
13562 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13563 (sysdep_routines): Remove sysctl.
c9009328
L
13564 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13565 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13566 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13567 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13568 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13569
73338355
AJ
135702012-05-22 Andreas Jaeger <aj@suse.de>
13571
13572 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13573 that pseudo_end is just ret and the stack pointer is correct also
13574 for static library in error case.
13575
d44638b0
PP
135762012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13577
13578 [BZ #14122]
13579 * nss/nsswitch.c (defconfig_entries): New variable.
13580 (__nss_database_lookup): Don't leak defconfig entries.
13581 (nss_parse_service_list): Don't leak on error paths.
13582 (free_database_entries): New function.
13583 (free_defconfig): New function.
13584 (free_mem): Move common code to free_database_entries.
13585
31a39bd8
L
135862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13587
da0331a8
L
13588 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13589 Add arch_prctl.
13590 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13591
31a39bd8
L
13592 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13593 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13595 New macro.
13596 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13597 (INTERNAL_SYSCALL_TYPES): Likewise.
13598 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13599 (LOAD_REGS_TYPES_[1-6]): Likewise.
13600 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13601 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13602
45470df3
AZ
136032012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13604
13605 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13606 copysignl for GLIBC_2_0.
13607 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13608 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13609 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13610 logbl for GLIBC_2_0.
13611 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13612 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13613
98a61bcb
L
136142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13615
a4f6e481
L
13616 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13617 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13618
f63d5db6
L
13619 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13620 Use "neg %eax".
13621
98a61bcb
L
13622 * time/mktime.c: Update copyright years.
13623
95770f14
PE
136242012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13625
6226efbd
PE
13626 mktime: merge comment-quoting-style change from gnulib
13627 * time/mktime.c: Quote 'like this' in comments.
13628 The GNU coding standards suggest that we no longer quote `like this',
13629 as "`" and "'" are typically rendered asymmetrically nowadays.
13630 The typical gnulib style is to quote 'like this' when quoting
13631 code, and "like this" when quoting English.
13632
b99e4f78
PE
13633 * time/mktime.c (compile-command): Add "-I.".
13634
643e01e6
PE
13635 mktime: merge mktime-internal.h change from gnulib
13636 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13637
2554247d
PE
13638 mktime: merge time_r change from gnulib
13639 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13640
826dd0ab
PE
13641 mktime: merge DEBUG change from gnulib
13642 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13643 case system <time.h> has a #define.
13644
bd83aabe
PE
13645 mktime: merge <sys/types.h> change from gnulib
13646 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13647 since <time.t> is now guaranteed to define time_t.
13648
95770f14
PE
13649 mktime: merge HAVE_CONFIG_H change from gnulib
13650 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13651
5e1a27a9
L
136522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13653
0e44a77e
L
13654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13655 Use "neg %eax".
13656
5e1a27a9
L
13657 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13658 __rlim_t cast.
13659 (struct rusage): Use anonymous union to pad each field to
13660 __syscall_slong_t.
13661
46259bec
DM
136622012-05-21 David S. Miller <davem@davemloft.net>
13663
13664 * Makefules (o-iterator): Remove .s cases.
13665 (compile-command.s): Delete.
13666 (COMPILE.s): Delete.
13667 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13668
59f0c22e
JM
136692012-05-21 Joseph Myers <joseph@codesourcery.com>
13670
13671 * configure.in (libc_cv_predef_stack_protector): Only consider
13672 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13673 * configure: Regenerated.
13674
20c07380
L
136752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13676
bbb3154b
L
13677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13678 New macro. Use R*LP on int and pointer.
13679 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13680 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13681 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13682 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13683
20c07380
L
13684 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13685 [__WORDSIZE_TIME64_COMPAT32] instead of
13686 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13687 (struct utmp): Likewise.
13688 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13689 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13690 Renamed to ...
13691 (__WORDSIZE_TIME64_COMPAT32): This.
13692 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13693 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13694 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13695 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13696 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13697 (__WORDSIZE_TIME64_COMPAT32): New macro.
13698
d8d1017e
AJ
136992012-05-21 Andreas Jaeger <aj@suse.de>
13700
13701 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13702 only if [SHARED]. Add prototype for __wcschr_ia32.
13703
6c7fb145
RM
137042012-05-21 Roland McGrath <roland@hack.frob.com>
13705
13706 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13707 of %rbp unmolested in the jmp_buf while mangling the low bits.
13708 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13709 unmolested high bits of %rbp while demangling the low bits.
13710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13711
66274218
AJ
137122012-05-21 Andreas Jaeger <aj@suse.de>
13713
07c58f8f
AJ
13714 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13715 * sunrpc/svc_simple.c: Use it for registerrpc.
13716 * sunrpc/xcrypt.c: Use it for passwd2des.
13717
66274218
AJ
13718 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13719
61f65140
L
137202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13721
13722 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13723 Don't define if [__SYSCALL_WORDSIZE != 32].
13724 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13725 New macro.
13726
5fefb436
AJ
137272012-05-21 Bruno Haible <bruno@clisp.org>
13728 Andreas Jaeger <aj@suse.de>
13729
13730 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13731 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13732 inptr and inend for must_buffer_ch.
13733 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13734 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13735 * stdio-common/Makefile (tests): Remove bug15.
13736 (bug15-ENV): Remove macro.
13737 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13738 anymore.
13739
d8e272ab
AJ
137402012-05-19 Andreas Jaeger <aj@suse.de>
13741 Roland McGrath <roland@hack.frob.com>
13742
13743 * manual/contrib.texi: Completely rewritten. It contains now an
13744 alphabetical list of contributors and their contributions.
13745
4a56a162
RH
137462012-05-21 Richard Henderson <rth@twiddle.net>
13747
13748 * misc/getauxval.c (__getauxval): Use unsigned long int.
13749 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13750 (getauxval): Use unsigned long int.
13751
d024d23c
L
137522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13753
13754 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13755
cbc00a03
RM
137562012-05-21 Roland McGrath <roland@hack.frob.com>
13757
13758 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13759 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13760 __alignof__ (long double).
13761
478143fa
AZ
137622012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13763
13764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13765
c7683a6d
RH
137662012-05-20 Richard Henderson <rth@twiddle.net>
13767
13768 * misc/getauxval.c: New file.
13769 * misc/sys/auxv.h: New file.
13770 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13771 (routines): Add getauxval.
13772 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13773 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13774 * elf/dl-sysdep.c (_dl_auxv): Remove.
13775 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13776 * elf/dl-support.c (_dl_auxv): New variable.
13777 (_dl_aux_init): Initialize it.
13778 * manual/startup.texi (Auxiliary Vector): New node.
13779 * sysdeps/generic/bits/hwcap.h: New file.
13780 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13781 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13782 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13783 * sysdeps/sparc/sysdep.h: ... here. Include it.
13784 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13785 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13787 Update.
c7683a6d
RH
13788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13791 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13796
a6f1845d
AZ
137972012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13798
13799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13800
cbcbe830
DM
138012012-05-19 David S. Miller <davem@davemloft.net>
13802
13803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13804
e0b16cc2
JM
138052012-05-19 Joseph Myers <joseph@codesourcery.com>
13806
13807 [BZ #14123]
13808 * math/s_ccosh.c: Include <float.h>
13809 (__ccosh): Avoid internal overflow calculating sinh and cosh
13810 values before multiplying by sin and cos values.
13811 * math/s_ccoshf.c: Likewise.
13812 * math/s_ccoshl.c: Likewise.
13813 * math/s_csin.c: Likewise.
13814 * math/s_csinf.c: Likewise.
13815 * math/s_csinl.c: Likewise.
13816 * math/s_csinh.c: Likewise.
13817 * math/s_csinhf.c: Likewise.
13818 * math/s_csinhl.c: Likewise.
13819 * math/libm-test.inc (ccos_test): Add more tests.
13820 (ccosh_test): Likewise.
13821 (csin_test): Likewise.
13822 (csinh_test): Likewise.
13823 * sysdeps/i386/fpu/libm-test-ulps: Update.
13824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13825
6ad13e08
L
138262012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13827
f66f0ce8
L
13828 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13829 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13830
6ad13e08
L
13831 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13832
b1d072a7
JM
138332012-05-19 Joseph Myers <joseph@codesourcery.com>
13834
13835 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13836 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13837 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13838 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13839 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13840 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13841 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13842 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13843 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13844 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13845 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13846 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13847 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13848 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13849 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13850 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13851 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13852 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13853 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13854 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13855 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13856 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13857 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13858 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13859 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13860 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13861 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13862 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13863 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13864 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13865 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13866
9eae47cb
AJ
138672012-05-18 Andreas Jaeger <aj@suse.de>
13868
13869 * csu/.gitignore: Delete.
13870
bb07f69f
L
138712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13872
13873 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13874 (timex): Use __syscall_slong_t.
13875
e6bdb741
AJ
138762012-05-18 Andreas Jaeger <aj@suse.de>
13877 Carlos O'Donell <carlos_odonell@mentor.com>
13878
13879 * manual/install.texi (Configuring and compiling): Update
13880 description about files modified in the source directory.
d6c33fda 13881 * INSTALL: Regenerated.
e6bdb741 13882
1b74487e
L
138832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13884
13885 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13886 value. Use "or" to set return value to -1.
13887 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13888 negate return value.
13889
a88b64b9
TMQMF
138902012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13891
13892 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13893 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13894 failure if the compiler has Graphite support disabled.
13895 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13896 Likewise.
13897 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13898 CFLAGS-memmove.c): Likewise.
13899 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13900 Likewise.
13901
3707636e
L
139022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13903
610b8622
L
13904 * sysdeps/x86_64/x32/_itoa.h: New file.
13905
7cd195df
L
13906 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13907 getdents system call only if kernel and user dirents have the
13908 same d_ino and d_off.
13909
94b07d20
L
13910 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13911 LLONG_MAX != LONG_MAX.
13912 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13913 (_fitoa_word): Likewise.
13914
18298070
L
13915 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13916 years.
13917 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13918 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13919 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13920
553c7ea4
L
13921 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13922 include <bits/wordsize.h>. Check __x86_64__ instead of
13923 __WORDSIZE.
13924 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13925 if __x86_64__ is defined. Use anonymous union on fpstate.
13926
3707636e
L
13927 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13928 anonymous union.
13929
b53ef01a
AS
139302012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13931
37fb1dc0
AS
13932 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13933 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13934 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13935 Refer to _rtld_local_ro instead of _rtld_global_ro.
13936 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13937 Likewise.
13938 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13939 Likewise.
13940 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13941 Likewise.
13942 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13943 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13944 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13945
b53ef01a
AS
13946 * sysdeps/powerpc/powerpc32/dl-machine.c
13947 (__elf_machine_runtime_setup) [PROF]: Don't reference
13948 _dl_prof_resolve.
13949
7a185db2
AJ
139502012-05-18 Andreas Jaeger <aj@suse.de>
13951
13952 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13953 function only available for GCCs before 3.4 since GCC 3.4
13954 introduced a builtin.
13955 (lrint): Likewise.
13956 (llrintf): Likewise.
13957 (llrint): Likewise.
13958 (fmaxf): Likewise.
13959 (fmax): Likewise.
13960 (fminf): Likewise.
13961 (fmin): Likewise.
13962 (rint): Likewise.
13963 (rintf): Likewise.
13964 (nearbyint): Likewise.
13965 (nearbyintf): Likewise.
13966 (ceil): Likewise.
13967 (ceilf): Likewise.
13968 (floor): Likewise.
13969 (floorf): Likewise.
13970
3e5aef87
L
139712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13972
428bd707
L
13973 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13974 on both fields and cast pointer to __syscall_ulong_t.
13975
3e5aef87
L
13976 * bits/types.h (__fsword_t): New type.
13977 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13978 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13979 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13980 (__FSWORD_T_TYPE): Likewise.
13981 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13982 (__FSWORD_T_TYPE): Likewise.
13983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13984 (__FSWORD_T_TYPE): Likewise.
13985 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13986 (__FSWORD_T_TYPE): Likewise.
13987 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13988 __SWORD_TYPE with __fsword_t.
13989 (statfs64): Likewise.
13990
1ba7c3dc
DM
139912012-05-17 David S. Miller <davem@davemloft.net>
13992
13993 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13994
59910343
AJ
139952012-05-17 Andreas Jaeger <aj@suse.de>
13996
13997 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13998 warning.
13999
2e4c1e9e
L
140002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14001
14002 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14003
de7f5ce7
AJ
140042012-05-17 Andreas Jaeger <aj@suse.de>
14005
14006 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14007 when it is used.
14008
286abc3d
CM
140092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14010
14011 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14012
477cc68e
L
140132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14014
14015 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14016 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14017
1a0994f5
CD
140182012-05-17 Andreas Jaeger <aj@suse.de>
14019 Carlos O'Donell <carlos_odonell@mentor.com>
14020
14021 [BZ #14059]
14022 * sysdeps/x86_64/multiarch/init-arch.h
14023 (bit_YMM_Usable): Rename to...
14024 (bit_AVX_Usable): ... this.
14025 (bit_FMA4_Usable): New macro.
14026 (bit_XMM_state): New macro.
14027 (bit_YMM_state): New macro.
14028 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14029 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14030 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14031 (CPUID_OSXSAVE): New macro.
14032 (CPUID_AVX): New macro.
14033 (CPUID_FMA4): New macro.
14034 (index_YMM_Usable): Rename to...
14035 (index_AVX_Usable): ... this.
14036 (HAS_AVX): Use HAS_ARCH_FEATURE.
14037 (HAS_FMA4): Likewise.
14038 (HAS_YMM_USABLE): Remove.
14039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14040 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14041 are present.
14042 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14043 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14044 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14045 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14046 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14047
0af797de
CM
140482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14049
14050 * math/libm-test.c: Support platforms without multiple rounding modes.
14051 * math/bug-nextafter.c: Support platforms without FP exceptions.
14052 * math/bug-nexttoward.c: Likewise.
14053 * math/test-fenv.c: Likewise.
14054 * math/test-misc.c: Likewise.
14055 * stdlib/bug-getcontext.c: Likewise.
14056
e39745ff
AJ
140572012-05-17 Andreas Jaeger <aj@suse.de>
14058
14059 * manual/examples/search.c (critter_cmp): Change signature to
14060 avoid warnings.
14061 * manual/string.texi (Collation Functions): Likewise.
14062
48970aba
L
140632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14064
14065 * bits/types.h: Fold copyright years.
14066 * bits/typesizes.h: Likewise.
14067 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14069 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14070 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14071 * time/time.h: Likewise.
14072
bedee953
PP
140732012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14074
14075 [BZ #208]
14076 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14077 in instead of returning them. Return void.
14078 (__libc_mallinfo): Accumulate over all arenas.
14079 (__malloc_stats): Adjust for change in int_mallinfo interface.
14080
61653dfb
RM
140812012-05-16 Roland McGrath <roland@hack.frob.com>
14082
30b99d79
RM
14083 [BZ #10375]
14084 * configure.in (NM): Add AC_CHECK_TOOL for it.
14085 (libc_extra_cflags): New substituted variable.
14086 Check for -fstack-protector being used implicitly.
14087 * configure: Regenerated.
14088 * config.make.in (config-extra-cflags): New variable,
14089 gets @libc_extra_cflags@.
14090 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14091
61653dfb
RM
14092 [BZ #10375]
14093 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14094 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14095 * configure: Regenerated.
14096 * config.make.in (CPPUNDEFS): New substituted variable.
14097 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14098 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14099 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14100
661768bb
L
141012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14102
14103 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14104 (mq_attr): Use __syscall_slong_t.
14105
d4261567
L
141062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14107
14108 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14109 Check __x86_64__ instead of __WORDSIZE.
14110 (_STAT_VER_LINUX): Likewise.
14111 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14112 __syscall_ulong_t and __syscall_slong_t.
14113 (stat64): Likewise.
14114
cf3ff365
L
141152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14116
14117 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14118
76cf3e4d
L
141192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14120
14121 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14122
a637753a
L
141232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14124
14125 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14126 __syscall_ulong_t.
14127
d5e05119
L
14128 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14129 include <bits/wordsize.h>. Check __x86_64__ instead of
14130 __WORDSIZE.
14131 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14132 defined.
14133 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14134
f62ee380
L
14135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14136 include <bits/wordsize.h>. Check __x86_64__ instead of
14137 __WORDSIZE.
14138 (user_regs_struct): Use "__extension__ unsigned long long"
14139 instead of "unsigned long" if __x86_64__ is defined.
14140 (user): Likewise. Pad after pointer field if __ILP32__ is
14141 defined.
14142
4e124ced
JM
141432012-05-16 Joseph Myers <joseph@codesourcery.com>
14144
6a3951a0
JM
14145 * configure.in (makeinfo): Require version 4.5 or later. Allow
14146 versions 5 to 9.
14147 * configure: Regenerated.
14148 * manual/install.texi (texinfo): Increase version requirement to
14149 4.5 or later.
14150 * INSTALL: Regenerated.
14151
4e124ced
JM
14152 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14153
953ca31a
L
141542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14155
14156 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14157
617aca05
L
14158 * sysdeps/x86_64/x32/ffs.c: New file.
14159
5762f7ae
L
14160 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14161 __syscall_ulong_t.
14162 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14163 defined. Use __syscall_ulong_t.
14164 (shminfo): Use __syscall_ulong_t.
14165 (shm_info): Likewise.
14166
a26b6856
L
14167 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14168 __syscall_ulong_t.
14169
cb2b9ef7
L
14170 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14171 <bits/wordsize.h>.
14172 (msgqnum_t): Use __syscall_ulong_t.
14173 (msglen_t): Likewise.
14174 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14175 __syscall_ulong_t.
14176
34683bb0
L
14177 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14178 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14179
84a68786
L
14180 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14181
48baa5f1
L
14182 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14183 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14184
180be88b
L
14185 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14186 __syscall_slong_t.
14187
5e90c8ad
L
14188 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14189 include <bits/wordsize.h>. Check __x86_64__ instead of
14190 __WORDSIZE.
14191
23dfb58b
L
14192 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14193 "unsigned long long int" if __x86_64__ is defined.
14194 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14195
ce5d54b0
L
14196 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14197 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14198 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14199
13dc9eac
L
14200 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14201 <stdint.h>.
14202 (GET_PC): Cast to uintptr_t first.
14203 (GET_FRAME): Likewise.
14204 (GET_STACK): Likewise.
14205
a7895d15
L
14206 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14207 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14208 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14209 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14210 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14211 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14212 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14213 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14214 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14215 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14216 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14217 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14218 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14219 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14220 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14221 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14222 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14223 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14224 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14225 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14226 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14227 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14228 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14229 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14230 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14231 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14232 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14233 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14234 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14235
656416c9
AS
142362012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14237
5bd66283
AS
14238 * Makerules (+depfiles): Also collect depfiles from .oS in
14239 $(extra-objs).
14240 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14241 .oS, $(libnldbl-routines)).
14242
656416c9
AS
14243 * Makerules (native-compile-mkdep-flags): Define.
14244 * sunrpc/Makefile (extra-objs): Add $(addprefix
14245 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14246 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14247 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14248 calling $(make-target-directory).
14249
a46f2169
L
142502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14251
14252 * bits/types.h (__snseconds_t): Removed.
14253 * time/time.h (struct timespec): Replace __snseconds_t with
14254 __syscall_slong_t.
14255 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14256 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14257 Likewise.
14258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14259 (__SNSECONDS_T_TYPE): Likewise.
14260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14261 (__SNSECONDS_T_TYPE): Likewise.
14262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14263 (__SNSECONDS_T_TYPE): Likewise.
14264
6af6528b
L
142652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14266
14267 * sysdeps/mach/hurd/bits/typesizes.h
14268 (__SYSCALL_SLONG_TYPE): New macro.
14269 (__SYSCALL_ULONG_TYPE): Likewise.
14270
de986b56
L
142712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14272
14273 * bits/types.h (__syscall_slong_t): New type.
14274 (__syscall_ulong_t): Likewise.
14275
14276 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14277 (__SYSCALL_ULONG_TYPE): Likewise.
14278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14279 (__SYSCALL_SLONG_TYPE): Likewise.
14280 (__SYSCALL_ULONG_TYPE): Likewise.
14281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14282 (__SYSCALL_SLONG_TYPE): Likewise.
14283 (__SYSCALL_ULONG_TYPE): Likewise.
14284 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14285 (__SYSCALL_SLONG_TYPE): Likewise.
14286 (__SYSCALL_ULONG_TYPE): Likewise.
14287
85736dc7
L
142882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14289
14290 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14291 Add sigaltstack-offsets.sym.
14292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14293 <sigaltstack-offsets.h>.
14294 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14295 longjmp_msg pointer.
14296 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14297 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14298 signal stack.
14299 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14300
cc03b296
JM
143012012-05-15 Joseph Myers <joseph@codesourcery.com>
14302
a9538892
JM
14303 * elf/stackguard-macros.h: Remove file.
14304 * sysdeps/generic/stackguard-macros.h: New file.
14305 * sysdeps/i386/stackguard-macros.h: Likewise.
14306 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14307 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14308 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14309 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14310 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14311 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14312 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14313 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14314 <elf/stackguard-macros.h>.
14315
cc03b296
JM
14316 [BZ #14109]
14317 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14318 __aligned__ in attribute.
14319 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14320 (gregset_t): Likewise.
14321
93171016
L
143222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14323
14324 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14325 * sysdeps/x86_64/64/Implies-after: Here. New file.
14326 * sysdeps/x86_64/x32/Implies-after: New file.
14327
d86813a0
L
143282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14329
14330 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14331 and access return value for _dl_profile_fixup. Use R10_LP to
14332 load frame size.
14333
2953ec75
L
143342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14335
14336 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14337
3b550e9e
L
143382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14339
14340 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14341 * sysdeps/x86_64/x32/sysdep.h: New file.
14342
eda41706
L
143432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14344
14345 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14346 * sysdeps/x86_64/setjmp.S: Likewise.
14347
9ea01d93
AZ
143482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14349
14350 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14351 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14352 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14353 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14354 remove unused global constant.
14355
02a91938
CM
143562012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14357
14358 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14359 include of <not-cancel.h>.
14360
6540185f
RM
143612012-05-15 Roland McGrath <roland@hack.frob.com>
14362
14363 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14364
509072a0
AJ
143652012-05-15 Jeff Law <law@redhat.com>
14366 Andreas Jaeger <aj@suse.de>
14367
14368 [BZ #13594]
14369 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14370 out from...
14371 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14372 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14373 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14374 code changing __hst_map_handle.map.
14375
ba75122d
RM
143762012-05-15 Roland McGrath <roland@hack.frob.com>
14377
14378 * configure.in (sysnames): Look for Implies-before and Implies-after
14379 files.
14380 * configure: Regenerated.
14381
890d8bd8
L
143822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14383
14384 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14385 8-byte data alignment with LP_SIZE alignment.
14386
f6ee6623
L
143872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14388
14389 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14390 into R10_LP.
14391
ea2626f6
L
143922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14393
14394 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14395
085f715e
L
143962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14397
14398 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14399 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14400 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14401 Likewise.
14402 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14403
be8498fc
L
144042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14405
14406 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14407 (stackinfo_sub_sp): Likewise.
14408
70bc83b9
L
144092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14410
14411 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14412 RAX_LP.
14413
9bc0b730
L
144142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14415
14416 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14417 into R*_LP.
14418
6d2850e7
L
144192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14420
14421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14422 sizes into R*_LP.
14423
3cb84561
L
144242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14425
14426 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14427
54e2ed81
L
144282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14429
14430 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14431 into R11_LP and load __x86_64_shared_cache_size_half into
14432 R8_LP.
14433
8a17f349
L
144342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14435
14436 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14437 R8_LP.
14438
777b1eea
AZ
144392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14440
14441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14442 logb for POWER7.
14443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14444 logbf for POWER7.
14445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14446 logbl for POWER7.
14447 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14448 powerpc32/power7/fpu/s_logb.c via #include.
14449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14450 powerpc32/power7/fpu/s_logbf.c via #include.
14451 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14452 powerpc32/power7/fpu/s_logbl.c via #include.
14453
d20d4ac2
JM
144542012-05-15 Joseph Myers <joseph@codesourcery.com>
14455
14456 * README.libm: Remove file.
14457
6cdef1ab
L
144582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14459
14460 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14461 count for x32. Use R*_LP and omit operand-size suffix.
14462
0b254d8f
L
144632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14464
14465 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14466 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14467 * sysdeps/x86_64/x32/shlib-versions: New file.
14468
ceb809dc
RM
144692012-05-14 Roland McGrath <roland@hack.frob.com>
14470
14471 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14472 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14473 Use _dl_fatal_printf instead.
14474
37f1abd4
JM
144752012-05-14 Joseph Myers <joseph@codesourcery.com>
14476
14477 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14478 set if not set by the user. Do not allow for being unset.
14479 * sysdeps/unix/sysv/linux/configure: Regenerated.
14480
11de3a33
L
144812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14482
14483 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14484 the `q' suffix from lea and replace .quad with ASM_ADDR.
14485
e02f153a
L
144862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14487
14488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14489 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14490 instead of $17.
14491 (PTR_DEMANGLE): Likewise.
14492
520ae0fd
L
144932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14494
14495 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14496 (LP_OP): Likewise.
14497 (ASM_ADDR): Likewise.
14498 (RAX_LP): Likewise.
14499 (RBP_LP): Likewise.
14500 (RBX_LP): Likewise.
14501 (RCX_LP): Likewise.
14502 (RDI_LP): Likewise.
14503 (RSI_LP): Likewise.
14504 (RSP_LP): Likewise.
14505 (R8_LP): Likewise.
14506 (R9_LP): Likewise.
14507 (R10_LP): Likewise.
14508 (R10_LP): Likewise.
14509 (R11_LP): Likewise.
14510 (R12_LP): Likewise.
14511 (R13_LP): Likewise.
14512 (R14_LP): Likewise.
14513 (R15_LP): Likewise.
14514
b985be81
L
145152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14516
14517 * sysdeps/x86_64/x32/dl-machine.h: New file.
14518
6a4888ff
AJ
145192012-05-14 Andreas Jaeger <aj@suse.de>
14520
14521 * manual/Makefile (subdir): Remove export of subdir.
14522 (all): Remove target.
14523 (.PHONY): Remove all from list.
14524 (mkinstalldirs): Remove.
14525 (.PHONY): Remove installdirs from list.
14526 ($(inst_infodir)/libc.info): Use make-target-directory.
14527 (installdirs): Remove.
14528 (subdir_%): Remove.
14529 (glibc-targets): Remove.
14530 (lib): Remove.
14531 (stubs): Remove.
14532 ($(objpfx)stubs ../po/manual.pot): Remove.
14533 ($(objpfx)stamp%): Remove.
14534 (make-target-directory): Remove.
14535 (subdir_install): Remove.
14536 (routines): Remove.
14537 (aux): Remove.
14538 (sources): Remove.
14539 (objects): Remove.
14540 (headers): Remove.
14541
14542 [BZ #13750]
14543 * manual/.gitignore: Remove, it's not needed anymore.
14544 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14545 all files in it.
14546 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14547 directory.
14548 (texis): Renamed to $(objpfx)texis.
14549 (texis-path): New, contains path to generated files.
14550 (chapters.%): Use texis-path for complete path, add extra argument
14551 libc-texinfo.sh.
14552 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14553 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14554 (summary,texi, stamp-summary): Use complete path of
14555 files. Generate files in build dir.
14556 (dir-add.texi): Build in build dir.
14557 (libm-err.texi,stamp-libm-err): Likewise.
14558 (version.texi, stamp-version): Likewise.
14559 (.%c.texi): Likewise.
14560 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14561 (mostlyclean): Remove target.
14562 (realclean): Remove target.
14563 (generated): Add new variable with contents from mostlyclean and
14564 realclean, remove entries duplicated in common-mostlyclean, add
14565 stamp-libm-err and stamp-version.
14566 (generated-dirs): Add libc directory.
14567 ($(inst_infodir)/libc.info): Install files from build dir.
14568
14569 * manual/install.texi (Configuring and compiling): Adjust since
14570 the info files are not part of the tar ball anymore.
14571
7ac77294
AJ
145722012-05-14 Andreas Jaeger <aj@suse.de>
14573
14574 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14575 variable.
14576
ffb7875d
JM
145772012-05-14 Joseph Myers <joseph@codesourcery.com>
14578
14579 [BZ #13717]
14580 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14581 to 2.2.0 where earlier.
14582 * sysdeps/unix/sysv/linux/configure: Regenerated.
14583 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14584 Remove conditional code.
14585 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14586 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14587 Remove conditional code.
14588 [!__NR_lchown]: Likewise.
14589 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14590 [__NR_lchown]: Likewise.
14591 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14592 comment referencing __ASSUME_LCHOWN_SYSCALL.
14593 * sysdeps/unix/sysv/linux/i386/sigaction.c
14594 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14595 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14596 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14597 Remove conditional code.
14598 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14599 (__protocol_available): Remove #if 0 code.
14600 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14601 conditional code.
14602 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14603 * sysdeps/unix/sysv/linux/kernel-features.h
14604 (__ASSUME_GETCWD_SYSCALL): Don't define.
14605 (__ASSUME_REALTIME_SIGNALS): Likewise.
14606 (__ASSUME_PREAD_SYSCALL): Likewise.
14607 (__ASSUME_PWRITE_SYSCALL): Likewise.
14608 (__ASSUME_POLL_SYSCALL): Likewise.
14609 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14610 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14611 non-SPARC.
14612 (__ASSUME_SIOCGIFNAME): Don't define.
14613 (__ASSUME_MSG_NOSIGNAL): Likewise.
14614 (__ASSUME_SENDFILE): Define unconditionally.
14615 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14616 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14617 conditional code.
14618 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14619 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14620 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14621 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14622 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14623 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14624 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14626 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14627 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14629 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14630 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14632 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14635 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14636 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14638 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14641 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14642 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14644 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14647 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14648 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14649 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14650 Remove conditional code.
14651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14652 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14653 Remove conditional code.
14654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14655 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14656 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14657 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14658 Remove conditional code.
14659 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14660 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14661 Remove conditional code.
14662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14663 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14664 Remove conditional code.
14665 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14666 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14667 Remove conditional code.
14668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14669 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14670 Remove conditional code.
14671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14672 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14673 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14674 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14675 * sysdeps/unix/sysv/linux/sigaction.c
14676 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14677 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14678 * sysdeps/unix/sysv/linux/sigpending.c
14679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14681 * sysdeps/unix/sysv/linux/sigprocmask.c
14682 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14683 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14684 * sysdeps/unix/sysv/linux/sigsuspend.c
14685 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14686 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14687 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14688 (__libc_missing_rt_sigs): Remove.
14689 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14690 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14691 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14692 Remove conditional code.
14693 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14694 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14695 return 1.
14696 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14697 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14698 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14699 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14700
1bfb7291
AJ
147012012-05-14 Andreas Jaeger <aj@suse.de>
14702
caae5a81
AJ
14703 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14704 it's not used in glibc.
14705 (__coshm1): Likewise.
14706 (__acosh1p): Likewise.
14707 (__sgn): Likewise.
14708
1bfb7291
AJ
14709 * manual/string.texi (Copying and Concatenation): Add missing
14710 variable in concat example.
14711 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14712
c044d724
L
147132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14714
144c5467 14715 [BZ #14103]
c044d724
L
14716 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14717 __builtin_clzl with __builtin_clzll.
14718
2523c62b
L
147192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14720
14721 [BZ #14104]
14722 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14723 libc_freeres_ptr.
14724
d7bb4c42
LD
147252012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14726
14727 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14728 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14729 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14730 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14731
9dc4e1fb
MF
147322012-05-14 Mike Frysinger <vapier@gentoo.org>
14733
14734 * NEWS: Update ia64 info.
14735
c7df0112
AS
147362012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14737
14738 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14739 used as bcopy.
14740
dc70356c
TS
147412012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14742
14743 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14744 * sysdeps/unix/syscalls.list (dup3): Likewise.
14745 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14746 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14747
9fb1a21f
L
147482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14749
14750 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14751 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14752
4822a2a5
L
147532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14754
14755 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14756 thread pointer.
14757 (TLS_IE): Use mov/add instead of movq/addq to load thread
14758 pointer.
14759 (TLS_GD_PREFIX): New.
14760 (TLS_GD): Use it.
14761
842b81d6
DM
147622012-05-11 David S. Miller <davem@davemloft.net>
14763
14764 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14765 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14766 (_FPU_SETCW): Likewise.
14767
1cf463cd
L
147682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14769
14770 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14771 is 32-byte aligned.
14772
60cc4a18
AS
147732012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14774
14775 [BZ #11837]
14776 * iconvdata/gb18030.c: Update tables.
14777 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14778 characters specially.
14779 (BODY for TO_LOOP): Add encoding of missing ranges.
14780
febb44a4
TS
147812012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14782
14783 [BZ #13673]
14784 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14785 * sysdeps/mach/hurd/dup3.c: Likewise.
14786 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14787 * sysdeps/powerpc/memmove.c:: Likewise.
14788
0a10fb9e
L
147892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14790
14791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14792 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14793
df8a552f
L
147942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * elf/elf.h (R_X86_64_RELATIVE64): New.
14797 (R_X86_64_NUM): Updated.
14798 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14799 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14800 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14801 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14802 tst-quad1pie tst-quad2pie
14803 (modules-names): Add tst-quadmod1 tst-quadmod2.
14804 ($(objpfx)tst-quad1): New dependency.
14805 ($(objpfx)tst-quad2): Likewise.
14806 ($(objpfx)tst-quad1pie): Likewise.
14807 ($(objpfx)tst-quad2pie): Likewise.
14808 * sysdeps/x86_64/tst-quad1.c: New file.
14809 * sysdeps/x86_64/tst-quad1pie.c: New file.
14810 * sysdeps/x86_64/tst-quad2.c: Likewise.
14811 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14812 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14813 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14814 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14815 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14816
f34d6f84
ST
148172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14818
f42d41d1
ST
14819 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14820 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14821 * streams/stropts.h (t_scalar_t): Define type.
14822
3c3571fc
ST
14823 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14824 (_PATH_PRESERVE): Set to "/var/lib".
14825 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14826
61f06bd3
ST
14827 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14828 instead of int.
14829
918d4d71
ST
14830 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14831 if __dir_mkfile succeeded.
14832
f34d6f84
ST
14833 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14834 checking for _hurd_dtablesize. Unlock it right after having
14835 finished _hurd_dtable allocation.
14836
10589b4a
TS
148372012-05-10 Thomas Schwinge <thomas@schwinge.name>
14838
674cdbc7
TS
14839 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14840 * sysdeps/mach/hurd/configure: Regenerated.
14841 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14842 special-casing to...
14843 * sysdeps/gnu/configure.in: ... this new file.
14844 * sysdeps/unix/sysv/linux/configure: Regenerated.
14845 * sysdeps/gnu/configure: New generated file.
14846
8e41b99f
TS
14847 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14848 for Linux: use nsec instead of usec, as well as:
14849 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14850 members of type struct timespec.
14851 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14852 New macros.
14853 (struct stat64): Likewise.
14854 (_STATBUF_ST_NSEC): New macro.
14855 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14856
10589b4a
TS
14857 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14858 __strtoul_internal rather than strtoul.
14859
63643c85
PT
148602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14861
14862 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14863 and reject them.
14864
3faebe6a
ST
148652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14866
14867 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14868 which preserves existing values.
14869 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14870
c6474b07
PT
148712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14872
14873 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14874 TIMEOUT values. Return EINVAL for NFDS values either negative or
14875 greater than FD_SETSIZE.
14876
1043890b
ST
148772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14878
14879 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14880 allocated, call __vm_protect to finish enabling the existing space, and
14881 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14882 allocate the remainder.
14883
37ed8b9b
PT
148842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14885
14886 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14887 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14888
db653660
ST
148892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14890
37ed8b9b
PT
14891 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14892 sysdeps/mach/hurd/readlink.c.
b29d4053 14893
db653660
ST
14894 * posix/tst-sysconf.c (posix_options): Only use
14895 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14896 _POSIX_SYNCHRONIZED_IO when they are defined
14897 * sysdeps/mach/hurd/bits/posix_opt.h:
14898 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14899 (_XOPEN_REALTIME): Undefine macro.
14900 (_XOPEN_REALTIME_THREADS): Undefine macro.
14901 (_XOPEN_SHM): Undefine macro.
14902 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14903 macro to -1.
14904 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14905 macro to -1.
14906 (_POSIX_ASYNC_IO): Undefine macro.
14907 (_POSIX_PRIORITIZED_IO): Undefine macro.
14908 (_POSIX_SPIN_LOCKS): Define macro to -1.
14909
ee16e894
ST
14910 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14911 SA_NODEFER, SA_RESETHAND.
14912 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14913 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14914 F_DUPFD_CLOEXEC.
14915
6103ae3b
TS
149162012-05-10 Thomas Schwinge <thomas@schwinge.name>
14917
14918 * elf/Makefile (pldd-modules): Define unconditionally.
14919
80b4e5f3
TS
149202012-05-10 Thomas Schwinge <thomas@schwinge.name>
14921
14922 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14923
edadcbd6
ST
149242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14925
14926 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14927 Return ENOENT when name is empty.
14928 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14929
80694780
TS
149302012-05-10 Thomas Schwinge <thomas@schwinge.name>
14931
1792c087
TS
14932 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14933
80694780
TS
14934 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14935
6b645f0d
ST
149362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14937
80694780
TS
14938 Fix mlock in all cases except non-readable pages.
14939 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14940 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14941
6b645f0d
ST
14942 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14943 (__mkdir): When path is `/', just fail with EEXIST.
14944 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14945
e468f8a3
TS
149462012-05-10 Thomas Schwinge <thomas@schwinge.name>
14947
14948 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14949 <sys/uio.h> (for writev).
14950 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14951 and <sys/param.h> (for MIN).
14952
a4186cff
PT
149532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14954
14955 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14956 REQUESTED_TIME. Properly set the remaining time and return EINTR
14957 if interrupted.
14958
510bbf14
TS
149592012-05-10 Thomas Schwinge <thomas@schwinge.name>
14960
14961 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14962 Depend on against $(link-rpcuserlibs).
14963
5d5722e8
ST
149642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14965
a4186cff
PT
14966 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14967 (__libc_stack_end): Do not use attribute_relro.
14968 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14969 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14970 to libthread-provided value.
a4186cff
PT
14971 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14972 attribute_relro.
5d5722e8 14973
37233df9
TS
149742012-05-10 Thomas Schwinge <thomas@schwinge.name>
14975
be971a2b
TS
14976 [BZ #3748]
14977 * bits/libc-lock.h (__libc_once_get): New macro.
14978 * sysdeps/mach/bits/libc-lock.h: Likewise.
14979 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14980 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14981 instead of using implementation details.
14982
37233df9
TS
14983 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14984 * libio/freopen.c: Likewise.
14985 * libio/freopen64.c: Likewise.
14986 * misc/syslog.c: Likewise.
14987 * nscd/connections.c: Likewise.
14988 * nscd/netgroupcache.c: Likewise.
14989 * sysdeps/posix/getcwd.c: Likewise.
14990
38de94a5
RM
149912012-05-10 Roland McGrath <roland@hack.frob.com>
14992
14993 * math/w_ilogbf.c: Add #include <limits.h>.
14994
67530489
ST
149952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14996
a4186cff 14997 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14998 path instead of returning without unlocking.
14999
67530489
ST
15000 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15001 immediate-write ioctls.
15002 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15003
5aa3a74a
TS
150042012-05-10 Thomas Schwinge <thomas@schwinge.name>
15005
18bad2ae
TS
15006 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15007 __builtin_frame_address instead of making assumptions about the
15008 location of the return address relative to DATA. Force early load of
15009 the return address.
15010 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15011 __builtin_frame_address.
15012
5aa3a74a
TS
15013 dup3 for GNU Hurd.
15014 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15015 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15016 implement dup3 and do some further code clean-ups.
15017 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15018 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15019
ecd0de9a
ST
150202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15021
cd9fa985
ST
15022 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15023
a4186cff
PT
15024 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15025 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15026 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15027 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15028 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15029 d->port.lock.
802ca5a5 15030
a4186cff
PT
15031 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15032 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15033 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15034
bcf55240
TS
150352012-05-10 Thomas Schwinge <thomas@schwinge.name>
15036
6960eb42
TS
15037 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15038 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15039 definitions.
15040
eb43375f
TS
15041 accept4 for GNU Hurd.
15042 * include/sys/socket.h (__libc_accept4): New prototype.
15043 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15044 to implement __libc_accept4.
15045 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15046 __libc_accept4.
15047 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15048
bcf55240
TS
15049 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15050 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15051 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15052 signal-defines.sym.
15053
6178c55b
ST
150542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15055
a4186cff 15056 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15057
6f080c2f
TS
150582012-05-10 Thomas Schwinge <thomas@schwinge.name>
15059
15060 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15061 assertion on O_CLOEXEC flag.
15062 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15063 * hurd/intern-fd.c: Likewise.
15064 * hurd/port2fd.c: Likewise.
15065
bcfe3a54
ST
150662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15067
15068 [BZ #3906]
15069 * bits/in.h (IPV6_PKTINFO): Define new macro.
15070 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15071
89c9aa49
AZ
150722012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15073
15074 [BZ #13954]
15075 [BZ #13955]
15076 [BZ #13956]
15077 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15079 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15080 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15082 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15083 * math/libm-test.inc (logb_test) : Additional logb tests.
15084
021db4be
AJ
150852012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15086 Andreas Jaeger <aj@suse.de>
15087
15088 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15089 * configure: Regenerated.
15090 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15091 * config.make.in (link-obsolete-rpc): New substituted variable.
15092 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15093 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15094 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15095 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15096 so that libc.a contains the symbols.
15097 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15098 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15099 * sunrpc/auth_none.c: Likewise.
15100 * sunrpc/auth_unix.c: Likewise.
15101 * sunrpc/authdes_prot.c: Likewise.
15102 * sunrpc/authuxprot.c: Likewise.
15103 * sunrpc/clnt_gen.c: Likewise.
15104 * sunrpc/clnt_perr.c: Likewise.
15105 * sunrpc/clnt_raw.c: Likewise.
15106 * sunrpc/clnt_simp.c: Likewise.
15107 * sunrpc/clnt_tcp.c: Likewise.
15108 * sunrpc/clnt_udp.c: Likewise.
15109 * sunrpc/clnt_unix.c: Likewise.
15110 * sunrpc/des_crypt.c: Likewise.
15111 * sunrpc/des_soft.c: Likewise.
15112 * sunrpc/get_myaddr.c: Likewise.
15113 * sunrpc/key_call.c: Likewise.
15114 * sunrpc/key_prot.c: Likewise.
15115 * sunrpc/netname.c: Likewise.
15116 * sunrpc/pm_getmaps.c: Likewise.
15117 * sunrpc/pm_getport.c: Likewise.
15118 * sunrpc/pmap_clnt.c: Likewise.
15119 * sunrpc/pmap_prot.c: Likewise.
15120 * sunrpc/pmap_prot2.c: Likewise.
15121 * sunrpc/pmap_rmt.c: Likewise.
15122 * sunrpc/publickey.c: Likewise.
15123 * sunrpc/rpc_cmsg.c: Likewise.
15124 * sunrpc/rpc_common.c: Likewise.
15125 * sunrpc/rpc_dtable.c: Likewise.
15126 * sunrpc/rpc_prot.c: Likewise.
15127 * sunrpc/rpc_thread.c: Likewise.
15128 * sunrpc/rtime.c: Likewise.
15129 * sunrpc/svc.c: Likewise.
15130 * sunrpc/svc_auth.c: Likewise.
15131 * sunrpc/svc_raw.c: Likewise.
15132 * sunrpc/svc_run.c: Likewise.
15133 * sunrpc/svc_tcp.c: Likewise.
15134 * sunrpc/svc_udp.c: Likewise.
15135 * sunrpc/svc_unix.c: Likewise.
15136 * sunrpc/svcauth_des.c: Likewise.
15137 * sunrpc/xcrypt.c: Likewise.
15138 * sunrpc/xdr.c: Likewise.
15139 * sunrpc/xdr_array.c: Likewise.
15140 * sunrpc/xdr_float.c: Likewise.
15141 * sunrpc/xdr_intXX_t.c: Likewise.
15142 * sunrpc/xdr_mem.c: Likewise.
15143 * sunrpc/xdr_rec.c: Likewise.
15144 * sunrpc/xdr_ref.c: Likewise.
15145 * sunrpc/xdr_sizeof.c: Likewise.
15146 * sunrpc/xdr_stdio.c: Likewise.
15147
b5c086a2
RM
151482012-05-10 Roland McGrath <roland@hack.frob.com>
15149
15150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15151 change. Update copyright years.
15152
6d74dd09
JM
151532012-05-10 Joseph Myers <joseph@codesourcery.com>
15154
15155 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15156
28e72501
MK
151572012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15158 Joseph Myers <joseph@codesourcery.com>
15159 Paul Pluzhnikov <ppluzhnikov@google.com>
15160
15161 [BZ #14012]
15162 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15163 requiring rpcgen.
15164 [cross-compiling] (extra-libs): Likewise.
15165 [cross-compiling] (extra-libs-others): Likewise.
15166 [cross-compiling] (librpcsvc-routines): Likewise.
15167 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15168 [cross-compiling] (omit-deps): Likewise.
15169 (sunrpc-CPPFLAGS): New variable.
15170 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15171 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15172 (cross-rpcgen-objs): New variable.
15173 (extra-objs): Append $(cross-rpcgen-objs).
15174 ($(cross-rpcgen-objs)): New rule.
15175 ($(objpfx)cross-rpcgen): Likewise.
15176 (rpcgen-cmd): Define to use $(built-program-file). Expand
15177 comment.
15178 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15179 ($(objpfx)x%.stmp): Likewise.
15180 * sunrpc/proto.h [IS_IN_build] (_): Define.
15181 [IS_IN_build] (_libc_intl_domainname): Likewise.
15182
c8c59454
L
151832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15184
15185 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15186 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15187 and R_X86_64_TPOFF64.
15188
6f27cd16
JM
151892012-05-10 Joseph Myers <joseph@codesourcery.com>
15190
15191 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15192 sysdeps/unix/sysv/syscalls.list.
15193 (stime): Likewise.
15194 (utime): Likewise.
15195 * sysdeps/unix/sysv/syscalls.list: Remove file.
15196
02467e1c
PE
151972012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15198
15199 [BZ #3440]
15200 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15201 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15202 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15203 (__LC_IDENTIFICATION): Make these macros useful in #if
15204 expressions, as required by C99.
15205
da392631
AS
152062012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15207
15208 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15209 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15210 after this.
15211
8115f29b
L
152122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15213
15214 * stdlib/longlong.h: Updated from GCC.
15215
bdd74070
AJ
152162012-05-09 Andreas Jaeger <aj@suse.de>
15217
edfe0dbe
AJ
15218 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15219 default is first entry.
15220 (run_mode): Set type.
15221 (main): Remove informal message about syslog.
15222 (options): Fix typo.
15223
bcfe3a54
ST
15224 [BZ #14053]
15225 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15226 to asm.
bcfe3a54
ST
15227 (lrint): Likewise.
15228 (llrintf): Likewise.
15229 (llrint): Likewise.
15230 (rint): Likewise.
15231 (rintf): Likewise.
15232 (nearbyint): Likewise.
15233 (nearbyintf): Likewise.
bdd74070 15234
91d8d69e
AJ
152352012-05-09 Andreas Jaeger <aj@suse.de>
15236 Pedro Alves <palves@redhat.com>
15237
15238 * nscd/nscd.c (run_mode): Use enum.
15239 (main): Cleanup coding style issue.
15240
bb90b80b
AJ
152412012-05-09 Alexandre Oliva <aoliva@redhat.com>
15242 Andreas Jaeger <aj@suse.de>
15243
bcfe3a54
ST
15244 * nscd/nscd.c (go_background): Replaced with...
15245 (run_mode): ... this.
bb90b80b 15246 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15247 (options): Add -F --foreground.
15248 (main): Implement it.
15249 (parse_opt): Parse it.
bb90b80b 15250
1a4b75a1
AJ
152512012-05-09 Andreas Jaeger <aj@suse.de>
15252
15253 [BZ #14083]
15254 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15255 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15256 -Wconversion warning.
15257 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15258 Likewise.
15259
b1cc2472
JM
152602012-05-09 Joseph Myers <joseph@codesourcery.com>
15261
15262 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15263 == 0.
15264 (LC_ALL): Use macro-int-constant.
15265 (LC_COLLATE): Likewise.
15266 (LC_CTYPE): Likewise.
15267 (LC_MESSAGES): Likewise.
15268 (LC_MONETARY): Likewise.
15269 (LC_NUMERIC): Likewise.
15270 (LC_TIME): Likewise.
15271 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15272 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15274 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15275 Specify type.
15276 [C99-based standards] (float_t): Expect type.
15277 [C99-based standards] (double_t): Expect type.
15278 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15279 type.
15280 [C99-based standards] (HUGE_VALL): Likewise.
15281 [C99-based standards] (INFINITY): Likewise.
15282 [C99-based standards] (NAN): Likewise.
15283 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15284 [C99-based standards] (FP_NAN): Likewise.
15285 [C99-based standards] (FP_NORMAL): Likewise.
15286 [C99-based standards] (FP_SUBNORMAL): Likewise.
15287 [C99-based standards] (FP_ZERO): Likewise.
15288 [C99-based standards] (FP_FAST_FMA): Use
15289 optional-macro-int-constant. Specify type. Require == 1.
15290 [C99-based standards] (FP_FAST_FMAF): Likewise.
15291 [C99-based standards] (FP_FAST_FMAL): Likewise.
15292 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15293 [C99-based standards] (FP_ILOGBNAN): Likewise.
15294 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15295 Specify type.
15296 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15297 [C99-based standards] (math_errhandling): Specify type.
15298 [ISO99 || ISO11] (signgam): Do not allow.
15299 [non-C99-based standards] (copysignf): Do not allow.
15300 [non-C99-based standards] (exp2f): Likewise.
15301 [non-C99-based standards] (log2f): Likewise.
15302 [non-C99-based standards] (modff): Allow.
15303 [non-C99-based standards] (erff): Do not allow.
15304 [non-C99-based standards] (erfcf): Likewise.
15305 [non-C99-based standards] (gammaf): Likewise.
15306 [non-C99-based standards] (hypotf): Likewise.
15307 [non-C99-based standards] (j0f): Likewise.
15308 [non-C99-based standards] (j1f): Likewise.
15309 [non-C99-based standards] (jnf): Likewise.
15310 [non-C99-based standards] (lgammaf): Likewise.
15311 [non-C99-based standards] (tgammaf): Likewise.
15312 [non-C99-based standards] (y0f): Likewise.
15313 [non-C99-based standards] (y1f): Likewise.
15314 [non-C99-based standards] (ynf): Likewise.
15315 [non-C99-based standards] (isnanf): Likewise.
15316 [non-C99-based standards] (acoshf): Likewise.
15317 [non-C99-based standards] (asinhf): Likewise.
15318 [non-C99-based standards] (atanhf): Likewise.
15319 [non-C99-based standards] (cbrtf): Likewise.
15320 [non-C99-based standards] (expm1f): Likewise.
15321 [non-C99-based standards] (ilogbf): Likewise.
15322 [non-C99-based standards] (log1pf): Likewise.
15323 [non-C99-based standards] (logbf): Likewise.
15324 [non-C99-based standards] (nextafterf): Likewise.
15325 [non-C99-based standards] (remainderf): Likewise.
15326 [non-C99-based standards] (rintf): Likewise.
15327 [non-C99-based standards] (scalbf): Likewise.
15328 [non-C99-based standards] (copysignl): Likewise.
15329 [non-C99-based standards] (exp2l): Likewise.
15330 [non-C99-based standards] (log2l): Likewise.
15331 [non-C99-based standards] (modfl): Allow.
15332 [non-C99-based standards] (erfl): Do not allow.
15333 [non-C99-based standards] (erfcl): Likewise.
15334 [non-C99-based standards] (gammal): Likewise.
15335 [non-C99-based standards] (hypotl): Likewise.
15336 [non-C99-based standards] (j0l): Likewise.
15337 [non-C99-based standards] (j1l): Likewise.
15338 [non-C99-based standards] (jnl): Likewise.
15339 [non-C99-based standards] (lgammal): Likewise.
15340 [non-C99-based standards] (tgammal): Likewise.
15341 [non-C99-based standards] (y0l): Likewise.
15342 [non-C99-based standards] (y1l): Likewise.
15343 [non-C99-based standards] (ynl): Likewise.
15344 [non-C99-based standards] (isnanl): Likewise.
15345 [non-C99-based standards] (acoshl): Likewise.
15346 [non-C99-based standards] (asinhl): Likewise.
15347 [non-C99-based standards] (atanhl): Likewise.
15348 [non-C99-based standards] (cbrtl): Likewise.
15349 [non-C99-based standards] (expm1l): Likewise.
15350 [non-C99-based standards] (ilogbl): Likewise.
15351 [non-C99-based standards] (log1pl): Likewise.
15352 [non-C99-based standards] (logbl): Likewise.
15353 [non-C99-based standards] (nextafterl): Likewise.
15354 [non-C99-based standards] (remainderl): Likewise.
15355 [non-C99-based standards] (rintl): Likewise.
15356 [non-C99-based standards] (scalbl): Likewise.
15357 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15358 [non-C99-based standards] (FP_*): Do not allow.
15359 [C99-based standards] (FP_*): Change to
15360 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15361 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15362 allow.
15363 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15364 (SIG_ERR): Likewise.
15365 [X/Open-based standards] (SIG_HOLD): Likewise.
15366 (SIG_IGN): Likewise.
15367 (SIGABRT): Use macro-int-constant. Specify type. Require
15368 positive value.
15369 (SIGFPE): Likewise.
15370 (SIGILL): Likewise.
15371 (SIGINT): Likewise.
15372 (SIGSEGV): Likewise.
15373 (SIGTER): Likewise.
15374 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15375 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15376 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15377 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15378 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15379 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15380 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15381 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15382 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15383 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15384 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15385 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15386 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15387 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15388 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15389 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15390 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15391 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15392 [X/Open-based standards] (SIGTRAP): Likewise.
15393 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15394 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15395 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15396 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15397 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15398 allow.
15399
b9f1922d
IW
154002012-05-08 Ian Wienand <ianw@vmware.com>
15401
15402 [BZ #14080]
15403 * time/tzset.c (__tzset_parse_tz): Update default rules for
15404 daylight time changes in the Energy Policy Act of 2005.
15405
1db86e88
AJ
154062012-05-09 Andreas Jaeger <aj@suse.de>
15407
15408 [BZ #13983]
15409 * elf/ldconfig.c (parse_conf): Change string to make clear that
15410 ldconfig only issued a warning if ld.so.conf does not exist.
15411
dee4a4e3
DM
154122012-05-08 David S. Miller <davem@davemloft.net>
15413
ee0db190
DM
15414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15415 movxtod instead of popping the value on the stack.
15416
dee4a4e3
DM
15417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15418
6a43ec98
CD
154192012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15420
15421 * config.h.in: Add HAVE_ARM_PCS_VFP.
15422
05c2c961
RMG
154232012-05-08 Roland Mc Grath <roland@hack.frob.com>
15424
bcfe3a54
ST
15425 [BZ #13979]
15426 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15427 checking but the checks are disabled for any reason.
05c2c961 15428
4b30f61a
L
154292012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15430
15431 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15432 and ELF64_R_TYPE with ELFW(R_TYPE).
15433
eee2bc67
JM
154342012-05-08 Joseph Myers <joseph@codesourcery.com>
15435
7ea5391a
JM
15436 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15437 (ulimit): Likewise.
15438
eee2bc67
JM
15439 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15440 (settimeofday): Likewise.
15441
abb66a67
MF
154422012-05-08 Mike Frysinger <vapier@gentoo.org>
15443
15444 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15445 a struct th_u2 inside the union, and move tu_block/tu_code into
15446 a new th_u3 union of tu_block/tu_code inside of that. Move
15447 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15448 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15449 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15450 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15451 (th_stuff): Change to th_u1.tu_stuff.
15452 (th_data): Define.
15453 (th_msg): Change to th_u1.th_u2.tu_data.
15454
7f18b530
DM
154552012-05-07 David S. Miller <davem@davemloft.net>
15456
05760585
DM
15457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15458
7f18b530
DM
15459 [BZ #14074]
15460 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15461 (SETUP_PIC_REG): Use it.
15462 (SETUP_PIC_REG_LEAF): Use it.
15463
495fd99f
JM
154642012-05-07 Joseph Myers <joseph@codesourcery.com>
15465
15466 [BZ #13885]
15467 [BZ #13923]
15468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15469 USE_AS_EXPM1L.
15470 (EXPL_FINITE): Likewise.
15471 (FLDLOG): Likewise.
15472 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15473 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15474 e_expl.S.
15475 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15476 USE_AS_EXPM1L.
15477 (EXPL_FINITE): Likewise.
15478 (FLDLOG): Likewise.
15479 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15480 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15481 e_expl.S.
15482 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15483 test of -max_value argument for long double.
15484 * sysdeps/i386/fpu/libm-test-ulps: Update.
15485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15486
6693d694
DM
154872012-05-06 David S. Miller <davem@davemloft.net>
15488
15489 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15490 quad soft-float symbols whose references which are compiler
15491 generated.
15492 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15493
6c23e11c
JM
154942012-05-06 Joseph Myers <joseph@codesourcery.com>
15495
d8b82cad
JM
15496 [BZ #13884]
15497 [BZ #13914]
15498 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15499 USE_AS_EXP10L.
15500 (EXPL_FINITE): Likewise.
15501 (FLDLOG): Likewise.
15502 (c0): Likewise.
15503 (c1): Likewise.
15504 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15505 Adjust comments for base varying.
15506 (__expl_finite): Change alias to EXPL_FINITE.
15507 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15508 e_expl.S.
15509 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15510 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15512 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15513 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15514 USE_AS_EXP10L.
15515 (EXPL_FINITE): Likewise.
15516 (FLDLOG): Likewise.
15517 (c0): Likewise.
15518 (c1): Likewise.
15519 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15520 Adjust comments for base varying.
15521 (__expl_finite): Change alias to EXPL_FINITE.
15522 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15523 tests for bugs.
15524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15525
6c23e11c
JM
15526 [BZ #14064]
15527 * math/libm-test.inc (check_float_internal): Correct ulp
15528 calculation for subnormal expected results.
15529
29ba805c
AJ
155302012-05-06 Andreas Jaeger <aj@suse.de>
15531
15532 * Makeconfig (+math-flags): New, set to -frounding-math.
15533 (+cflags): Add +math-flags so that all of glibc gets compiled with
15534 it.
15535
15536 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15537
7b17aeda
JM
155382012-05-05 Joseph Myers <joseph@codesourcery.com>
15539
5779f134
JM
15540 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15541 Disable one test.
15542
41498f4d
JM
15543 [BZ #13787]
15544 [BZ #13922]
15545 [BZ #14036]
15546 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15547 (__ieee754_expl): Allow for and saturate large arguments.
15548 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15549 (u_threshold): Likewise.
15550 (__exp): Call __ieee754_exp before checking for overflow and
15551 underflow.
15552 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15553 (u_threshold): Likewise.
15554 (__expf): Call __ieee754_expf before checking for overflow and
15555 underflow.
15556 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15557 (u_threshold): Likewise.
15558 (__expl): Call __ieee754_expl before checking for overflow and
15559 underflow.
15560 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15561 (__ieee754_expl): Allow for and saturate large arguments.
15562 * math/libm-test.inc (exp_test): Add another test. Do not allow
15563 missing overflow exception on overflow.
15564 (expm1_test): Do not allow missing overflow exception on overflow.
15565
6698b8bf
JM
15566 * sysdeps/i386/fpu/e_expl.c: Move to ...
15567 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15568 rather than using inline asm.
15569 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15570 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15571 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15572
7b17aeda
JM
15573 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15574 (nice): Likewise.
15575 (poll): Likewise.
15576 (signal): Likewise.
15577 (time): Likewise.
15578 (times): Likewise.
15579
f7c85819
JM
155802012-05-04 Joseph Myers <joseph@codesourcery.com>
15581
15582 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15583 sysdeps/unix/common/syscalls.list.
15584 (fchmod): Likewise.
15585 (fchown): Likewise.
15586 (ftruncate): Likewise.
15587 (getrusage): Likewise.
15588 (gettimeofday): Likewise.
15589 (setpgid): Likewise.
15590 (setregid): Likewise.
15591 (setreuid): Likewise.
15592 (sigaction): Likewise.
15593 (truncate): Likewise.
15594 (vhangup): Likewise.
15595 * sysdeps/unix/common/syscalls.list: Remove file.
15596 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15597 * sysdeps/unix/sysv/linux/Implies: Likewise.
15598
336270d0
L
155992012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15600
15601 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15603 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15604 Moved to ...
15605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15606 Here.
15607 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15608 to ...
15609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15610 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15611 to ...
15612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15613 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15614 to ...
15615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15616 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15617 to ...
15618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15619 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15620 to ...
15621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15622 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15623 to ...
15624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15625 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15626 to ...
15627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15628 Here.
15629 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15630 to ...
15631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15632 Here.
15633 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15634 to ...
15635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15636 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15637 Moved to ...
15638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15639 Here.
15640 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15641 to ...
15642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15643
d128e450
JM
156442012-05-04 Joseph Myers <joseph@codesourcery.com>
15645
fa8ee516
JM
15646 * sysdeps/unix/common/bits/dirent.h: Remove file.
15647 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15648
d128e450
JM
15649 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15650 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15651 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15652 * sysdeps/unix/bsd/isatty.c: Likewise.
15653 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15654 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15655 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15656
ff8faaf0 156572012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15658
62881be4 15659 [BZ #13563]
31dc8730
AZ
15660 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15661 long double comparison inaccuracies.
15662 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15664
6fef930c
AS
156652012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15666
15667 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15668 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15669
8f203e6c
JM
156702012-05-04 Joseph Myers <joseph@codesourcery.com>
15671
15672 [BZ #14049]
15673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15674 nonzero digits before rounding a hex value.
15675 * stdlib/tst-strtod.c (tests): Add another test.
15676
5197d9c2
AK
156772012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15678
15679 * sysdeps/s390/fpu/libm-test-ulps: Update.
15680
f0c1dedf
AJ
156812012-05-03 Andreas Jaeger <aj@suse.de>
15682
15683 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15684 does not get optimized out.
15685 (malloc_opt_barrier): New.
15686
a65ef2ae 156872012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15688 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15689
2b942cb7 15690 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15691 intermediate file deletion.
2b942cb7 15692 (generated): Add .symlist files.
a65ef2ae 15693
54b71e02
JM
156942012-05-03 Joseph Myers <joseph@codesourcery.com>
15695
15696 [BZ #13775]
15697 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15698 Redirect under this condition.
15699 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15700 [__USE_GNU] (__dprintf_chk): Not under this condition.
15701 [__USE_GNU] (__vdprintf_chk): Likewise.
15702 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15703 under this condition.
15704 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15705 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15706 [__USE_XOPEN2K8] (vdprintf): Likewise.
15707 [__USE_GNU] (__dprintf_chk): Not under this condition.
15708 [__USE_GNU] (__vdprintf_chk): Likewise.
15709 [__USE_GNU] (dprintf): Likewise.
15710 [__USE_GNU] (vdprintf): Likewise.
15711
d3dfcc41
RM
157122012-05-03 Roland McGrath <roland@hack.frob.com>
15713
15714 * elf/Makefile (common-generated): Set this instead of generated for
15715 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15716 $(all-built-dso)-derived lists.
15717
7ac30cc5
AJ
157182012-05-03 Andreas Jaeger <aj@suse.de>
15719
0c51e550
AJ
15720 * sysdeps/i386/fpu/libm-test-ulps: Update.
15721
7ac30cc5
AJ
15722 * FAQ: Removed.
15723 * FAQ.in: Likewise.
15724 * scripts/gen-FAQ.pl: Likewise.
15725 * manual/install.texi (Installation): Point to online location of
15726 FAQ.
15727 * Makefile (files-for-dist): Remove FAQ.
15728 (FAQ): Remove.
15729
d4c2917f
AM
157302012-05-02 Allan McRae <allan@archlinux.org>
15731
15732 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15733 (LDFLAGS-reldepmod5.so): Likewise.
15734 (LDFLAGS-reldep6mod1.so): Likewise.
15735 (LDFLAGS-reldep6mod4.so): Likewise.
15736 (LDFLAGS-reldep8mod3.so): Likewise.
15737 (LDFLAGS-unload4mod1.so): Likewise.
15738 (LDFLAGS-unload4mod2.so): Likewise.
15739 (LDFLAGS-tst-initorder): Likewise.
15740 (LDFLAGS-tst-initordera2.so): Likewise.
15741 (LDFLAGS-tst-initordera3.so): Likewise.
15742 (LDFLAGS-tst-initordera4.so): Likewise.
15743 (LDFLAGS-tst-initorderb2.so): Likewise.
15744 (LDFLAGS-noload): Likewise.
15745 (LDFLAGS-next): Likewise.
15746 (LDFLAGS-order2mod1.so): Likewise.
15747 (LDFLAGS-order2mod2.so): Likewise.
15748 (LDFLAGS-tst-initorder2): Likewise.
15749 (LDFLAGS-tst-initorder2a.so): Likewise.
15750 (LDFLAGS-tst-initorder2b.so): Likewise.
15751 (LDFLAGS-tst-initorder2c.so): Likewise.
15752 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15753
d77f993f
DM
157542012-05-02 David S. Miller <davem@davemloft.net>
15755
15756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15757
171a70b4
PP
157582012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15759
15760 [BZ #14055]
15761 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15762
0be196ad
AJ
157632012-05-02 Andreas Jaeger <aj@suse.de>
15764
15765 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15766 since we manipulate rounding mode.
15767 (CPPFLAGS-test-idouble.c): Likewise.
15768 (CPPFLAGS-test-ifloat.c): Likewise.
15769 (CFLAGS-test-ldouble.c): Likewise.
15770 (CFLAGS-test-double.c): Likewise.
15771 (CFLAGS-test-float.c): Likewise.
15772 (CFLAGS-test-misc.c): Likewise.
15773 (CFLAGS-test-test-fenv.c): Likewise.
15774
4f9d04aa
AZ
157752012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15776
2b942cb7
RM
15777 [BZ #2550]
15778 [BZ #2570]
15779 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15780 comparisons to determine direction to adjust input.
4f9d04aa 15781
82a79e7d
RM
157822012-05-01 Roland McGrath <roland@hack.frob.com>
15783
f5a01ca9
RM
15784 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15785 output to the target.
15786
90fe4186
RM
15787 * scripts/localplt.awk: New file.
15788 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15789 (check-localplt-CFLAGS): Variable removed.
15790 ($(all-built-dso:=.jmprel)): New static pattern rule.
15791 (generated): Add those targets.
15792 (localplt-built-dso): New variable.
15793 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15794
15795 * elf/check-localplt.c: File removed.
15796
82397ed6
RM
15797 * scripts/check-execstack.awk: New file.
15798 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15799 (check-execstack-CFLAGS): Variable removed.
15800 ($(objpfx)check-execstack.h): Target removed.
15801 ($(objpfx)execstack-default): New target.
15802 (generated): Add that instead of check-execstack.h.
15803 ($(all-built-dso:=.phdr)): New static pattern rule.
15804 (generated): Add those targets.
15805 * elf/check-execstack.c: File removed.
15806
82a79e7d
RM
15807 * scripts/check-textrel.awk: New file.
15808 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15809 (check-textrel-CFLAGS): Variable removed.
15810 (all-built-dso): Use := to define.o
15811 ($(all-built-dso:=.dyn)): New static pattern rule.
15812 (generated): Add those targets.
15813 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15814 * config.make.in (READELF): New substituted variable.
15815 * elf/check-textrel.c: File removed.
15816
62fde54f 158172012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15818
615605c9
JM
15819 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15820 allow.
15821 * conform/data/ctype.h-data [C99-based standards] (isblank):
15822 Expect function.
15823 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15824 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15825 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15826 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15827 Specify type. Require positive value.
15828 (EILSEQ): Likewise.
15829 (ERANGE): Likewise.
15830 [ISO || POSIX] (EILSEQ): Do not expect.
15831 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15832 Specify type. Require positive value.
15833 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15834 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15835 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15836 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15837 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15838 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15839 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15840 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15841 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15842 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15843 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15844 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15845 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15846 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15847 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15848 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15849 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15850 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15851 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15852 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15853 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15854 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15855 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15856 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15857 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15858 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15859 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15860 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15861 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15862 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15863 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15864 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15865 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15866 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15867 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15868 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15869 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15870 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15871 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15872 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15873 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15874 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15875 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15876 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15877 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15878 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15879 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15880 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15881 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15882 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15883 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15884 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15885 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15886 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15887 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15888 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15889 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15890 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15891 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15892 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15893 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15894 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15895 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15896 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15897 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15898 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15899 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15900 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15901 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15902 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15903 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15904 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15905 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15906 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15907 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15908 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15909 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15910 Require >= 2.
15911 (FLT_ROUNDS): Expect as macro, not constant.
15912 (FLT_MANT_DIG): Use macro-int-constant.
15913 (DBL_MANT_DIG): Likewise.
15914 (LDBL_MANT_DIG): Likewise.
15915 (FLT_DIG): Likewise.
15916 (DBL_DIG): Likewise.
15917 (LDBL_DIG): Likewise.
15918 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15919 (DBL_MIN_EXP): Likewise.
15920 (LDBL_MIN_EXP): Likewise.
15921 (FLT_MAX_EXP): Use macro-int-constant.
15922 (DBL_MAX_EXP): Likewise.
15923 (LDBL_MAX_EXP): Likewise.
15924 (FLT_MAX_10_EXP): Likewise.
15925 (DBL_MAX_10_EXP): Likewise.
15926 (LDBL_MAX_10_EXP): Likewise.
15927 (FLT_MAX): Use macro-constant.
15928 (DBL_MAX): Likewise.
15929 (LDBL_MAX): Likewise.
15930 (FLT_EPSILON): Use macro-constant. Give upper bound.
15931 (DBL_EPSILON): Likewise.
15932 (LDBL_EPSILON): Likewise.
15933 (FLT_MIN): Likewise.
15934 (DBL_MIN): Likewise.
15935 (LDBL_MIN): Likewise.
15936 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15937 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15938 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15939 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15940 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15941 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15942 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15943 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15944 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15945 [ISO11] (FLT_TRUE_MIN): Likewise.
15946 [ISO11] (LDBL_TRUE_MIN): Likewise.
15947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15948 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15949 (SCHAR_MIN): Use macro-int-constant. Specify type.
15950 (SCHAR_MAX): Likewise.
15951 (UCHAR_MAX): Likewise.
15952 (CHAR_MIN): Likewise.
15953 (CHAR_MAX): Likewise.
15954 (MB_LEN_MAX): Use macro-int-constant.
15955 (SHRT_MIN): Use macro-int-constant. Specify type.
15956 (SHRT_MAX): Likewise.
15957 (USHRT_MAX): Likewise.
15958 (INT_MAX): Likewise.
15959 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15960 bound negative.
15961 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15962 bound with "U".
15963 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15964 bound with "L".
15965 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15966 bound negative. Suffix upper bound with "L".
15967 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15968 bound with "UL".
15969 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15970 Specify type.
15971 [C99-based standards] (LLONG_MAX): Likewise.
15972 [C99-based standards] (ULLONG_MAX): Likewise.
15973 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15974 == 0.
15975 [ISO11] (max_align_t): Require type.
15976 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15977
c9140a62
JM
15978 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15979 from $CFLAGS, without defining away __attribute__ calls.
15980 (checknamespace): Use $CFLAGS_namespace.
15981
9af0bf29
JM
15982 * conform/conformtest.pl (@keywords): Only include C99 keywords
15983 for standards based on C99 or C11.
15984
343222a2
JM
15985 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15986 Disable tests.
15987 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15988 UNIX98]: Likewise.
15989
661f8cf0
JM
15990 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15991 usability of symbols in #if.
15992
ee74b9cb
JM
15993 * conform/conformtest.pl: If macro or constant types start
15994 "promoted:", expect the symbol to be of the following type
15995 promoted by the integer promotions.
62fde54f 15996
aafc49b3
JM
15997 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15998 in one place. Also handle "macro-constant".
15999
fefdf574
JM
16000 * conform/conformtest.pl: Only accept expected macro values with
16001 "==". Parse all "macro" lines in one place.
16002 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16003
f2d922fe
JM
16004 * conform/conformtest.pl: Handle braced types on "constant" lines
16005 instead of handling "typed-constant".
16006 * conform/data/signal.h-data: Use "constant" instead of
16007 "typed-constant".
16008
d22956c9
JM
16009 * conform/conformtest.pl: Handle "optional-" at start of lines in
16010 one place rather than duplicating several cases. Handle each
16011 format of "macro" line with initial "optional-".
16012
028e2e38
JM
16013 * conform/conformtest.pl: Only accept expected constant or
16014 optional-constant values with "==". Parse all "constant" lines in
16015 one place. Parse all "optional-constant" lines in one place.
16016 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16017 * conform/data/fmtmsg.h-data: Likewise.
16018 * conform/data/netinet/in.h-data: Likewise.
16019 * conform/data/tar.h-data: Likewise.
16020 * conform/data/limits.h-data: Use "==" form on "constant" and
16021 "optional-constant" lines.
16022
1b8f2850
JM
16023 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16024 Use -std=c99 for XOPEN2K.
16025 (@knownproblems): Remove.
16026 (newtoken): Don't check %isknown.
16027
a05a144b
JM
16028 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16029 Do not expect macro.
16030 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16031 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16032 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16033 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16034 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16035 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16036 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16037 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16038 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16039 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16040 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16041 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16042 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16043 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16044 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16045 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16046 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16047 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16048 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16049 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16050 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16051 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16052 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16054 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16055 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16056 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16057 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16058 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16059 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16060 [XPG3] (acosh): Likewise.
16061 [XPG3] (asinh): Likewise.
16062 [XPG3] (atanh): Likewise.
16063 [XPG3] (cbrt): Likewise.
16064 [XPG3] (expm1): Likewise.
16065 [XPG3] (ilogb): Likewise.
16066 [XPG3] (log1p): Likewise.
16067 [XPG3] (logb): Likewise.
16068 [XPG3] (nextafter): Likewise.
16069 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16070 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16071 [XPG3] (remainder): Likewise.
16072 [XPG3] (rint): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16075 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16076 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16077 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16078 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16079 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16080 [UNIX98 || XOPEN2K] (scalb): Expect.
16081 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16082 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16083 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16084 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16085 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16086 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16087 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16088 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16089 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16090 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16091 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16092 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16093 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16094 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16095 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16096 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16097 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16098 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16099 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16100 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16101 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16102 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16103 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16104 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16105 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16106 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16107 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16108 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16109 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16110 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16111 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16112 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16113 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16115 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16116 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16117 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16118 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16119 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16120 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16121 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16122 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16123 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16124 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16125 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16126 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16127 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16128 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16129 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16130 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16131 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16132 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16133 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16134 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16135 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16136 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16137 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16138 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16139 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16140 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16141 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16142 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16143 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16144 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16145 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16146 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16147 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16148 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16149 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16150 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16151 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16152 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16153 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16154 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16155 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16156 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16157 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16158 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16159 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16160 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16161 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16162 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16163 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16164 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16165 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16166 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16167 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16168 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16169 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16170 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16171 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16172 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16173 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16174 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16175 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16176 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16177 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16178 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16179 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16180 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16181 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16182 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16183 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16184 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16185 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16186 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16187 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16188 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16189 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16190 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16191 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16192 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16193 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16194 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16195 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16196 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16197 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16198 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16199 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16200 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16201 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16202 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16203 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16204 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16205 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16206 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16207 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16208 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16209 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16210 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16211 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16212 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16213 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16214 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16215 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16216 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16217 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16218
73c5ebe3
JM
16219 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16220 _XOPEN_SOURCE_EXTENDED for XPG4.
16221
39c33b6c
JM
16222 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16223
62fde54f
JM
16224 * Makeconfig (localtime): Remove variable.
16225 (inst_localtime-file): Likewise.
16226
0741d64c
AS
162272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16228
16229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16230 Update.
16231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16232 Update.
16233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16234 Update.
16235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16236 Update.
16237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16238 Update.
16239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16240 Update.
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16242 Update.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16244 Update.
16245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16246 Update.
16247
7cb029ee
JM
162482012-05-01 Joseph Myers <joseph@codesourcery.com>
16249
16250 [BZ #2550]
16251 [BZ #2570]
16252 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16253 comparisons to determine direction to adjust input.
16254 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16255 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16256 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16257 Likewise.
16258 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16259 Likewise.
16260 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16261 Likewise.
16262 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16263 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16264 Likewise.
16265 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16266 Likewise.
16267 * math/libm-test.inc (nexttoward_test): Add more tests.
16268
412bd966
AS
162692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16270
16271 [BZ #14040]
16272 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16273 in version GLIBC_2.1, not GLIBC_2.0.
16274 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16275 Likewise.
16276
9568c0c2
JM
162772012-04-30 Joseph Myers <joseph@codesourcery.com>
16278
adfbc8ac
JM
16279 [BZ #13942]
16280 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16281 (1 - x) * (1 + x).
16282 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16283 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16284 * math/libm-test.inc (acos_test): Add more tests.
16285 (asin_test): Likewise.
16286 * sysdeps/i386/fpu/libm-test-ulps: Update.
16287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16288
5ba3cc69
JM
16289 [BZ #14034]
16290 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16291 of square root.
16292 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16293 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16294 * math/libm-test.inc (acos_test_tonearest): New function.
16295 (acos_test_towardzero): Likewise.
16296 (acos_test_downward): Likewise.
16297 (acos_test_upward): Likewise.
16298 (asin_test_tonearest): Likewise.
16299 (asin_test_towardzero): Likewise.
16300 (asin_test_downward): Likewise.
16301 (asin_test_upward): Likewise.
16302 (main): Call the new functions.
16303 * sysdeps/i386/fpu/libm-test-ulps: Update.
16304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16305
9568c0c2
JM
16306 [BZ #13884]
16307 [BZ #13924]
16308 * math/e_exp10.c: Include <float.h>.
16309 (__ieee754_exp10): Handle underflow here rather than multiplying
16310 large negative argument by M_LN10.
16311 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16312 of __ieee754_expf.
16313 * math/e_exp10l.c: Include <float.h>.
16314 (__ieee754_exp10l): Handle underflow here rather than multiplying
16315 large negative argument by M_LN10l.
16316 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16317 spurious overflow exception on underflow.
16318
5ac3ea17
MP
163192012-04-29 Marek Polacek <polacek@redhat.com>
16320
16321 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16322 (__fortify_function): New macro.
16323 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16324 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16325 __extern_always_inline.
16326 * libio/bits/stdio2.h: Likewise.
16327 * libio/bits/stdio.h: Likewise.
16328 * string/string.h: Likewise.
16329 * string/bits/string3.h: Likewise.
16330 * include/stdio.h: Likewise.
16331 * stdlib/bits/stdlib.h: Likewise.
16332 * stdlib/stdlib.h: Likewise.
16333 * rt/bits/mqueue2.h: Likewise.
16334 * rt/mqueue.h: Likewise.
16335 * posix/bits/unistd.h: Likewise.
16336 * posix/unistd.h: Likewise.
16337 * io/bits/poll2.h: Likewise.
16338 * io/bits/fcntl2.h: Likewise.
16339 * io/fcntl.h: Likewise.
16340 * io/sys/poll.h: Likewise.
16341 * misc/bits/syslog.h: Likewise.
16342 * misc/bits/syslog-ldbl.h: Likewise.
16343 * misc/sys/syslog.h: Likewise.
16344 * socket/bits/socket2.h: Likewise.
16345 * socket/sys/socket.h: Likewise.
16346 * debug/tst-chk1.c: Likewise.
16347 * wcsmbs/bits/wchar2.h: Likewise.
16348 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16349 * wcsmbs/wchar.h: Likewise.
16350
ecf0ebfb
AJ
163512012-04-29 Andreas Jaeger <aj@suse.de>
16352
16353 * Makerules (tests): Remove enable-check-abi protection.
16354 (check-abi-warn): Remove.
16355 (check-abi-%): Remove check-abi-warn usage.
16356
16357 * configure.in: Remove check-abi configure option.
16358 * configure: Regenerated.
16359 * config.make.in (enable-check-abi): Remove.
16360
6d5c57fa
AS
163612012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16362
24c5d07e 16363 [BZ #14033]
ded5180a
AS
16364 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16365 double functions to double *_finite functions.
16366
7e0d315d
AS
16367 [BZ #13941]
16368 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16369 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16370 LDBL_MIN_EXP.
16371 * stdio-common/Makefile (tests): Add tst-sprintf3.
16372 * stdio-common/tst-sprintf3.c: New file.
16373
6d5c57fa
AS
16374 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16375 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16376
0749ff8b
JM
163772012-04-28 Joseph Myers <joseph@codesourcery.com>
16378
16379 * conform/conformtest.pl: Remove duplicate typed-constant
16380 handling.
16381
8dbd5d7b
DM
163822012-04-28 David S. Miller <davem@davemloft.net>
16383
16384 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16385 (check-abi-%): Remove AWK script prerequisite and explicit
16386 abilist directory.
16387 (check-abi): Rewrite to just diff the symlist with the abilist.
16388 (config-tls, config-abi-config): Delete, no longer used.
16389 (update-abi-%): Remove AWK script and explicit abilist directory.
16390 (update-abi): Rewrite to simply compare and conditionally copy the
16391 symlist and the sysdep abilist file. Remove update-abi-config
16392 checks.
16393 * abilist/ld.abilist: Remove.
16394 * abilist/libBrokenLocale.abilist: Remove.
16395 * abilist/libanl.abilist: Remove.
16396 * abilist/libcrypt.abilist: Remove.
16397 * abilist/libdl.abilist: Remove.
16398 * abilist/librt.abilist: Remove.
16399 * abilist/libthread_db.abilist: Remove.
16400 * abilist/libutil.abilist: Remove.
16401 * scripts/extract-abilist.awk: Remove.
16402 * scripts/merge-abilist.awk: Remove.
16403 * sysdeps/generic/libcidn.abilist: New file.
16404 * sysdeps/generic/libnss_compat.abilist: New file.
16405 * sysdeps/generic/libnss_db.abilist: New file.
16406 * sysdeps/generic/libnss_dns.abilist: New file.
16407 * sysdeps/generic/libnss_files.abilist: New file.
16408 * sysdeps/generic/libnss_hesiod.abilist: New file.
16409 * sysdeps/generic/libnss_nis.abilist: New file.
16410 * sysdeps/generic/libnss_nisplus.abilist: New file.
16411 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16412 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16413 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16414 file.
16415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16416 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16417 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16418 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16419 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16420 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16421 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16422 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16423 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16424 file.
16425 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16426 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16427 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16428 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16429 file.
16430 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16431 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16432 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16433 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16434 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16435 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16436 file.
16437 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16438 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16439 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16440 file.
16441 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16443 New file.
16444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16445 New file.
16446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16447 New file.
16448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16449 New file.
16450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16451 New file.
16452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16453 New file.
16454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16455 New file.
16456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16457 New file.
16458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16459 New file.
16460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16461 New file.
16462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16463 New file.
16464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16465 New file.
16466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16467 New file.
16468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16469 file.
16470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16471 New file.
16472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16473 New file.
16474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16475 file.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16477 New file.
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16479 New file.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16481 file.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16483 New file.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16485 New file.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16487 New file.
16488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16489 New file.
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16491 New file.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16493 New file.
16494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16496 file.
16497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16498 New file.
16499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16500 file.
16501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16502 file.
16503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16504 file.
16505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16506 file.
16507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16508 file.
16509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16510 New file.
16511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16512 file.
16513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16514 file.
16515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16516 New file.
16517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16518 file.
16519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16521 file.
16522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16523 New file.
16524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16525 file.
16526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16527 file.
16528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16529 file.
16530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16531 file.
16532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16533 file.
16534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16535 New file.
16536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16537 file.
16538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16539 file.
16540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16541 New file.
16542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16543 file.
16544 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16545 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16546 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16547 file.
16548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16549 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16550 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16551 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16552 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16553 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16554 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16555 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16556 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16557 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16560 file.
16561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16562 New file.
16563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16564 file.
16565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16566 file.
16567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16568 file.
16569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16570 file.
16571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16572 file.
16573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16574 New file.
16575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16576 New file.
16577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16578 file.
16579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16580 New file.
16581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16582 file.
16583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16585 file.
16586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16587 New file.
16588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16589 file.
16590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16591 file.
16592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16593 file.
16594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16595 file.
16596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16597 file.
16598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16599 New file.
16600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16601 New file.
16602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16603 file.
16604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16605 New file.
16606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16607 file.
16608
41d73a1b
JM
166092012-04-28 Joseph Myers <joseph@codesourcery.com>
16610
16611 * conform/conformtest.pl: Fix typo in handling typed-constant from
16612 allow-header.
16613
28aeeda4
JM
166142012-04-27 Joseph Myers <joseph@codesourcery.com>
16615
adae8f5e
JM
16616 * README: Cut down references to pre-2.6 Linux kernels and
16617 Linuxthreads. Update lists of configurations in libc and ports
16618 and sort alphabetically. Say "or newer" with Linux kernel version
16619 requirements.
16620
28aeeda4
JM
16621 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16622
a462cb63
RA
166232012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16624
16625 [BZ #887]
16626 * math/libm-test.inc (logb_test_downward): New test to expose
16627 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16628 rounding mode.
16629
6ad3493e
JM
166302012-04-27 Joseph Myers <joseph@codesourcery.com>
16631
16632 [BZ #14027]
16633 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16634 to be done.
16635 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16636 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16637
2ce4f015
JM
166382012-04-26 Joseph Myers <joseph@codesourcery.com>
16639
5aeb141a
JM
16640 * sysdeps/unix/i386/brk.S: Remove file.
16641 * sysdeps/unix/i386/dl-brk.S: Likewise.
16642 * sysdeps/unix/i386/pipe.S: Likewise.
16643 * sysdeps/unix/i386/sigreturn.S: Likewise.
16644 * sysdeps/unix/i386/syscall.S: Likewise.
16645 * sysdeps/unix/i386/vfork.S: Likewise.
16646 * sysdeps/unix/i386/wait.S: Likewise.
16647
7143acae
JM
16648 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16649 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16650
2ce4f015
JM
16651 * configure.in (arm*-none*): Do not allow without
16652 --enable-hacker-mode.
16653 (netbsd*): Remove case setting base_os.
16654 (386bsd*): Likewise.
16655 (freebsd*): Likewise.
16656 (bsdi*): Likewise.
16657 (osf*): Likewise.
16658 (sunos*): Likewise.
16659 (ultrix*): Likewise.
16660 (newsos*): Likewise.
16661 (dynix*): Likewise.
16662 (*bsd*): Likewise.
16663 (sysv*): Likewise.
16664 (isc*): Likewise.
16665 (esix*): Likewise.
16666 (sco*): Likewise.
16667 (minix*): Likewise.
16668 (irix4*): Likewise.
16669 (irix6*): Likewise.
16670 (solaris[2-9]*): Likewise.
16671 (none): Likewise.
16672 * configure: Regenerated.
16673
0ac229c8
AZ
166742012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16675
16676 [BZ #11521]
16677 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16678 overflow or cancellation in calculating denominator.
16679 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16680 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16681 down expression to avoid unexpected rounding in newer GCCs.
16682 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16683
33f244f4
DM
166842012-04-26 David S. Miller <davem@davemloft.net>
16685
16686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16687 long-double compat symbols.
16688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16701
cfa1f3e8
DM
167022012-04-25 David S. Miller <davem@davemloft.net>
16703
16704 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16705 HWCAP_* values only after the memory barriers have been defined.
16706 (atomic_full_barrier): Define.
16707 (atomic_read_barrier): Define.
16708 (atomic_write_barrier): Define.
16709
6e236b92
SP
167102012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16711
16712 * shlib-versions: Add libgcc_s version information.
16713 * sysdeps/generic/libgcc_s.h: Remove.
16714 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16715 libgcc_s.h.
16716 * sysdeps/gnu/unwind-resume.c: Likewise.
16717 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16718
aab39a09
DM
167192012-04-25 David S. Miller <davem@davemloft.net>
16720
16721 * sysdeps/unix/sparc/brk.S: Delete.
16722 * sysdeps/unix/sparc/dl-brk.S: Delete.
16723 * sysdeps/unix/sparc/pipe.S: Delete.
16724 * sysdeps/unix/sparc/sysdep.S: Delete.
16725 * sysdeps/unix/sparc/sysdep.h: Delete.
16726 * sysdeps/unix/sparc/vfork.S: Delete.
16727 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16728 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16729 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16730 ret_ERRVAL, r0, r1, MOVE): Define.
16731 (JUMPTARGET): Remove.
16732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16733 sysdeps/unix/sparc/sysdep.h
16734 (ENTRY, END): Remove.
16735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16736
a3cc4f48
JM
167372012-04-25 Joseph Myers <joseph@codesourcery.com>
16738
2ed8cda2
JM
16739 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16740 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16741 -DIS_IN_build.
16742
35d76d59
JM
16743 * timezone/README: Update upstream location and email address for
16744 tzcode and tzdata.
16745 * timezone/zdump.c: Update from tzcode 2012b.
16746 * timezone/zic.c: Likewise.
16747
a3cc4f48
JM
16748 * configure.in (libc_cv_as_needed): Remove test.
16749 * configure: Regenerated.
16750 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16751 conditional definition.
16752 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16753 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16754 * config.make.in (have-as-needed): Remove variable.
16755
ceab42c3
SP
167562012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16757 Paul Pluzhnikov <ppluzhnikov@google.com>
16758
16759 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16760 strings correctly.
16761
3ce2865f
CLT
167622012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16763
16764 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16765 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16766 * sysdeps/sh/strlen.S: Likewise.
16767
f37e0d68
JM
167682012-04-24 Joseph Myers <joseph@codesourcery.com>
16769
ae186e9a
JM
16770 * sysdeps/unix/fork.S: Remove file.
16771 * sysdeps/unix/i386/fork.S: Likewise.
16772 * sysdeps/unix/sparc/fork.S: Likewise.
16773
b96914af
JM
16774 * sysdeps/unix/system.c: Remove file.
16775 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16776
f37e0d68
JM
16777 * sysdeps/unix/getegid.S: Remove file.
16778 * sysdeps/unix/geteuid.S: Likewise.
16779
87ef29ca
RM
167802012-04-24 Roland McGrath <roland@hack.frob.com>
16781
83bcd236
RM
16782 * scripts/check-localplt.awk: New file.
16783 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16784 of diff.
16785 * scripts/data/localplt-generic.data: Add a comment.
16786
87ef29ca
RM
16787 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16788 NODE when __dir_mkfile failed.
16789 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16790 Reported by Ludovic Courtès <ludo@gnu.org>.
16791
e5a6e567
AJ
167922012-04-24 Andreas Jaeger <aj@suse.de>
16793
16794 * Makerules (common-clean): Also remove gen-as-const-headers
16795 files.
16796
c1820385
JM
167972012-04-24 Joseph Myers <joseph@codesourcery.com>
16798
16799 * Makerules (native-compile): Do not change working directory for
16800 build. Use $(OUTPUT_OPTION) in command.
16801 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16802
94e02fc4
AZ
168032012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16804
16805 [BZ #13886]
16806 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16807 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16808 * math/libm-test.inc (floor_test): Add more tests.
16809 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16810
3a533ca3
JM
168112012-04-24 Joseph Myers <joseph@codesourcery.com>
16812
940ab4b3
JM
16813 * sysdeps/unix/getdents.c: Remove file.
16814 * sysdeps/unix/sysv/getdents.c: Likewise.
16815 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16816
90e037bd
JM
16817 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16818 sysdeps/unix/mman/syscalls.list.
16819 (mmap): Likewise.
16820 (mprotect): Likewise.
16821 (msync): Likewise.
16822 (munmap): Likewise.
16823 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16824 * sysdeps/unix/mman/syscalls.list: Remove.
16825 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16826
3a533ca3
JM
16827 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16828 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16829 * configure: Regenerated.
16830 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16831 $(libgcc_s_suffix).
16832 * config.make.in (libgcc_s_suffix): Remove variable.
16833
1ad743de
JM
168342012-04-23 Joseph Myers <joseph@codesourcery.com>
16835
4ad451e2
JM
16836 * sysdeps/unix/sysv/gethostname.c: Move to ...
16837 * sysdeps/posix/gethostname.c: ... here.
16838
5e37ce39
JM
16839 * sysdeps/unix/execve.S: Remove file.
16840
1ad743de
JM
16841 * sysdeps/unix/_exit.S: Remove file.
16842
4e681b5b
AJ
168432012-04-23 Andreas Jaeger <aj@suse.de>
16844
16845 [BZ #13739]
16846 * manual/Makefile: Remove make dist support, there's no
16847 need for a stand-alone documentation tar ball.
16848 (TEXI2DVI): Define always, it's not in Makeconfig.
16849 (dist): Removed.
16850 (tar-it): Removed.
16851 (edition): Removed.
16852 (glibc-doc-$(edition).tar): Removed
16853 (%.Z): Removed.
16854 (%.gz): Removed.
16855 (%.uu): Removed.
16856 (ETAGS): Remove, it's in Makeconfig.
16857 (move-if-change): Remove, it's in Makeconfig.
16858
38686a03 168592012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16860
16861 [BZ #13970]
16862 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16863 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16864 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16865 (strtod_l, strtof_l, strtold_l): Remove __wur.
16866 It is not necessarily an error to ignore strtol's return value.
16867 One can reliably look at the stored endptr to decide whether
16868 the number had valid syntax.
16869
7c0616fa
AJ
168702012-04-21 Andreas Jaeger <aj@suse.de>
16871
803cb6b7 16872 [BZ #13739]
7c0616fa
AJ
16873 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16874
b0fe253f
JM
168752012-04-21 Joseph Myers <joseph@codesourcery.com>
16876
16877 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16878 * sysdeps/unix/sysv/Versions: Remove file.
16879
8280f22d
MT
168802012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16881
16882 [BZ #13927]
16883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16884
75ce411f 168852012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16886
16887 [BZ #7064]
16888 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16889 version from __vm86.
16890
097d59fa
JM
168912012-04-20 Joseph Myers <joseph@codesourcery.com>
16892
a90f3bcb
JM
16893 * sysdeps/unix/common/lxstat.c: Remove file.
16894 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16895
edc7ea78
JM
16896 * sysdeps/unix/sysv/Makefile: Remove file.
16897
cb78c221
JM
16898 * sysdeps/unix/sysv/direct.h: Remove file.
16899
efa6a45f
JM
16900 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16901 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16902 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16903 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16904 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16905 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16906 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16907
9c9f2d0c
JM
16908 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16909
4541c83b
JM
16910 * sysdeps/unix/xmknod.c: Remove file.
16911 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16912
f5d153a0
JM
16913 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16914
aa746595
JM
16915 * sysdeps/unix/sysv/i386/time.S: Remove file.
16916
cce5905e
JM
16917 * sysdeps/unix/fxstat.c: Remove file.
16918 * sysdeps/unix/xstat.c: Likewise.
16919 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16920
37fa3841
JM
16921 * sysdeps/unix/sysv/sigaction.c: Remove file.
16922
ff1962a3
JM
16923 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16924 (sysdep_headers): Remove variable.
16925 [termio.h not in sysdep_headers] (generated): Likewise.
16926 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16927 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16928 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16929 * sysdeps/unix/sysv/tcflow.c: Likewise.
16930 * sysdeps/unix/sysv/tcflush.c: Likewise.
16931 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16932 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16933 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16934 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16935 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16936
e7740d31
JM
16937 * sysdeps/unix/siglist.c: Remove file.
16938
ee06f18b
JM
16939 * sysdeps/unix/getppid.S: Remove file.
16940
097d59fa
JM
16941 * sysdeps/unix/mkdir.c: Remove file.
16942 * sysdeps/unix/rmdir.c: Likewise.
16943
ff3d51ec
AS
169442012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16945
16946 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16947 ERR_MAX value.
16948 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16949 errlist-compat value.
16950
50f81fd7
DM
169512012-04-18 David S. Miller <davem@davemloft.net>
16952
16953 * sysdeps/generic/memcopy.h (reg_char): Delete.
16954 * debug/strcat_chk.c: Use char, not reg_char.
16955 * debug/strcpy_chk.c: Likewise.
16956 * debug/strncat_chk.c: Likewise.
16957 * debug/strncpy_chk.c: Likewise.
16958 * string/memchr.c: Likewise.
16959 * string/memrchr.c: Likewise.
16960 * string/rawmemchr.c: Likewise.
16961 * string/strcat.c: Likewise.
16962 * string/strchr.c: Likewise.
16963 * string/strchrnul.c: Likewise.
16964 * string/strcmp.c: Likewise.
16965 * string/strcpy.c: Likewise.
16966 * string/strncat.c: Likewise.
16967 * string/strncmp.c: Likewise.
16968 * string/strncpy.c: Likewise.
16969
8ff41c46
WS
169702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16971
16972 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16973 __builtin_memcopy is called when src and dest ranges are known to not
16974 overlap.
16975
6b652f46
WS
169762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16977
16978 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16979 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16980 fwd_align_merge macro call.
16981 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16982 bwd_align_merge macro call.
16983 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16984
b282631e
WS
169852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16986
16987 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16988 bwd_align_merge macros.
16989 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16990 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16991 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16992
95aa737c
DM
169932012-04-18 David S. Miller <davem@davemloft.net>
16994
16995 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16996
7a99a614
AJ
169972012-04-18 Andreas Jaeger <aj@suse.de>
16998
16999 [BZ# 6794]
17000 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17001 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17002 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17003
17004 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17005 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17006 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17007
17008 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17009 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17010 Adjust for changed ldbl-128 files.
17011
17012 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17013 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17014 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17015
e5270c23
DM
170162012-04-17 David S. Miller <davem@davemloft.net>
17017
17018 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17019
fb5e92c9
AS
170202012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17021
17022 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17023 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17024 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17025 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17026 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17027 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17028
76da7265
AZ
170292012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17030
17031 [BZ #6794]
17032 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17033 * math/libm-test.inc: Add ilogb errno and exception tests.
17034 * math/w_ilogb.c: New file: ilogb wrapper.
17035 * math/w_ilogbf.c: New file: ilogbf wrapper.
17036 * math/w_ilogbl.c: New file: ilogbl wrapper.
17037 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17038 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17039 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17040 exception being thrown with 0.0 as argument.
17041 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17042 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17043 exception being thrown with 0.0 as argument.
17044 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17045 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17046 exception being thrown with 0.0 as argument.
17047 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17048 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17049 exception being thrown with 0.0 as argument.
17050 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17051 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17052 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17053 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17054 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17055 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17056 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17057 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17058 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17059
0396e69d
PB
170602012-04-17 Petr Baudis <pasky@ucw.cz>
17061
17062 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17063 with altivec.
17064
750b5926
MP
170652012-04-16 Marek Polacek <polacek@redhat.com>
17066
17067 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17068
751728a1
MP
170692012-04-16 Marek Polacek <polacek@redhat.com>
17070
17071 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17072 operands of fdivp instruction.
17073
34a27407
L
170742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17075
17076 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17077 * elf/tst-auditmod3b.c: Likewise.
17078 * elf/tst-auditmod4b.c: Likewise.
17079 * elf/tst-auditmod5b.c: Likewise.
17080 * elf/tst-auditmod6b.c: Likewise.
17081 * elf/tst-auditmod6c.c: Likewise.
17082 * elf/tst-auditmod7b.c: Likewise.
17083 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17084 * sysdeps/x86_64/preconfigure.in: Likewise.
17085 * sysdeps/x86_64/preconfigure: Regenerated.
17086
7e73e17d
L
170872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17088
17089 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17090 __ILP32__.
17091
c7a6ab72
AB
170922012-04-13 Antoine Balestrat <merkil33@gmail.com>
17093
17094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17095 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17096
a9e8e0e0
CL
170972012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17098
17099 [BZ #13973]
17100 * locale/iso-639.def: Fix gl language name. Spotted by
17101 Yaron Shahrabani.
17102
ec98af7d
RM
171032012-04-12 Roland McGrath <roland@hack.frob.com>
17104
17105 [BZ #2074]
17106 * libio/libio.h (__io_write_fn): Update comment.
17107
247c3ede
PB
171082012-04-12 Petr Baudis <pasky@ucw.cz>
17109
17110 [BZ #2074]
17111 * stdio.texi (Hook Functions): The user provided writer function
17112 is not allowed to return -1.
17113
55939d6d
DM
171142012-04-11 David S. Miller <davem@davemloft.net>
17115
17116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17117
90020f5a
MF
171182012-04-11 Mike Frysinger <vapier@gentoo.org>
17119
17120 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17121 Add a leading slash to rtkaio.
17122
288f9098
JM
171232012-04-11 Jim Meyering <meyering@redhat.com>
17124
90020f5a
MF
17125 [BZ #11959]
17126 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17127 It is not necessarily an error to ignore fwrite's return
17128 value. One can reliably use ferror to test for errors after
17129 the fact.
288f9098 17130
4be2b570
L
171312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17132
17133 * bits/types.h (__snseconds_t): New type.
17134 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17135
17136 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17138 (__SNSECONDS_T_TYPE): Likewise.
17139 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17140 (__SNSECONDS_T_TYPE): Likewise.
17141 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17142 (__SNSECONDS_T_TYPE): Likewise.
17143
288f9098 171442012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17145
17146 [BZ #2636]
17147 * manual/time.texi (Processor Time): Return type of times is
17148 elapsed real time since an arbitrary point in the past.
17149 (CPU Time): Move CLK_TCK from here...
17150 (Processor Time): ...to here. Correct description.
17151 * manual/conf.texi (Constants for Sysconf): Correct description of
17152 _SC_CLK_TCK.
17153
d7dd4413
DM
171542012-04-10 David S. Miller <davem@davemloft.net>
17155
17156 [BZ #13967]
17157 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17158 where the is a gap between DT_REL(A) and DT_JMPREL.
17159
b46068fc
L
171602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17161
17162 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17163 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17164 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17165
73d65cc3
SP
171662012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17167
17168 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17169 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17170 (dl_main): Handle --inhibit-cache.
17171 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17172 _dl_inhibit_cache.
17173 * elf/dl-load.c (_dl_map_object): Use it.
17174 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17175
bcc8d661
JM
171762012-04-09 Joseph Myers <joseph@codesourcery.com>
17177
8f9a2fae
JM
17178 [BZ #13872]
17179 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17180 (__ieee754_powl): Saturate large exponents rather than testing for
17181 overflow of y*log2(x).
17182 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17183 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17184 exceptions.
17185
bcc8d661
JM
17186 [BZ #11521]
17187 * math/s_ctan.c: Include <float.h>.
17188 (__ctan): Avoid internal overflow or cancellation in calculating
17189 denominator.
17190 * math/s_ctanf.c: Likewise.
17191 * math/s_ctanl.c: Likewise.
17192 * math/s_ctanh.c: Likewise.
17193 * math/s_ctanhf.c: Likewise.
17194 * math/s_ctanhl.c: Likewise.
17195 * math/libm-test.inc (ctan_test): Add more tests.
17196 (ctanh_test): Likewise.
17197 * sysdeps/i386/fpu/libm-test-ulps: Update.
17198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17199
823fbbb4
AJ
172002012-04-09 Andreas Jaeger <aj@suse.de>
17201
03879793
AJ
17202 [BZ #6894]
17203 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17204 is an optional BSD extension.
17205
823fbbb4
AJ
17206 [BZ #10254]
17207 * manual/stdio.texi (Opening Streams): Document additional fopen
17208 parameters.
17209
8de131cb
RM
172102012-04-09 Roland McGrath <roland@hack.frob.com>
17211
17212 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17213 %eax without telling the compiler.
17214
c0ed9d7d
CD
172152012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17216
17217 [BZ # 13963]
17218 * manual/install.texi: Use sourceware.org.
17219
c483f6b4
JM
172202012-04-09 Joseph Myers <joseph@codesourcery.com>
17221
d7dd9453
JM
17222 [BZ #13873]
17223 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17224 (__ieee754_pow): Generate overflow and underflow using huge*huge
17225 and tiny*tiny rather than just returning constant infinity or zero
17226 for large exponents.
17227 * math/libm-test.inc (pow_test): Require overflow exceptions for
17228 applicable cases of large exponents.
17229
c483f6b4
JM
17230 [BZ #706]
17231 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17232 (__ieee754_pow): Use iterative multiplication algorithm only for
17233 integer exponents with absolute value below 1024. Check for odd
17234 integer exponents when using algorithm for real exponents.
17235 * math/libm-test.inc (pow_test): Add more tests.
17236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17237
d2de7579
JM
172382012-04-08 Joseph Myers <joseph@codesourcery.com>
17239
17240 [BZ #13705]
17241 * math/libm-test.inc (exp_test): Do not allow overflow exception
17242 on underflow test.
17243
f77f1232
AJ
172442012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17245
17246 [BZ #13705]
17247 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17248 instead of __kernel_standard_f.
17249
3884932b
MF
172502012-04-08 Mike Frysinger <vapier@gentoo.org>
17251
17252 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17253 * sysdeps/x86_64/memset_chk.S: Likewise.
17254
54472e9c
AJ
172552012-04-08 Andreas Jaeger <aj@suse.de>
17256
6ab0fbfc
AJ
17257 [BZ #10153]
17258 * manual/startup.texi (Environment Access): Describe return value
17259 for putenv and setenv.
17260
61efba8c
AJ
17261 [BZ #6895]
17262 * manual/filesys.texi (Directory Entries): Add description for
17263 DT_LNK.
17264
95c3f29a
AJ
17265 [BZ #6890]
17266 * manual/filesys.texi (Directory Entries): Clarify that it's file
17267 system not operating system in the description of DT_UNKNOWN.
17268
54472e9c
AJ
17269 [BZ #6578]
17270 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17271
624254b1
SC
172722012-04-08 Stephen Compall <s11@member.fsf.org>
17273
17274 [BZ #6649]
17275 * manual/llio.texi (Opening and Closing Files): Add cross
17276 reference to explain mode argument.
17277
1e4920e0
MF
172782012-04-07 Mike Frysinger <vapier@gentoo.org>
17279
17280 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17281 * sysdeps/x86_64/memset_chk.S: Likewise.
17282
5ed848f3
DM
172832012-04-07 David S. Miller <davem@davemloft.net>
17284
17285 * elf/elf.h (R_SPARC_WDISP10): Define.
17286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17287 R_SPARC_SIZE32.
17288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17289 R_SPARC_SIZE64 and R_SPARC_H34.
17290
96154cd8
CD
172912012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17292
17293 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17294 conditions and remove no longer applicable assertion.
17295
9904dc47
L
172962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17297
17298 * bits/byteswap.h: Include <features.h>.
17299 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17300 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17301
f8887d0a
L
173022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17303
17304 * bits/byteswap.h (__bswap_16): Removed.
17305 Include <bits/byteswap-16.h> to get __bswap_16.
17306 * sysdeps/i386/bits/byteswap.h: Likewise.
17307 * sysdeps/s390/bits/byteswap.h: Likewise.
17308 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17309 * bits/byteswap-16.h: New file.
17310 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17311 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17312 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17313 * string/Makefile (headers): Add bits/byteswap-16.h.
17314
62470f60
PP
173152012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17316
17317 [BZ #13895]
17318 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17319 extra indirection.
17320 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17321 * nss/tst-nss-static.c: New.
17322
4dad7bab
RM
173232012-04-06 Robert Millan <rmh@gnu.org>
17324
17325 [BZ #6486]
17326 * manual/llio.texi (File Position Primitive): lseek
17327 refers to WHENCE when it really means OFFSET.
17328
e9142a17
AJ
173292012-04-06 Andreas Jaeger <aj@suse.de>
17330
2c040eff
AJ
17331 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17332 strncmp declarations.
17333
e9142a17
AJ
17334 * abilist/libc.abilist: Add __poll and __ppoll.
17335
ff9f1c5f
DM
173362012-04-05 David S. Miller <davem@davemloft.net>
17337
dcd2ae90
DM
17338 * scripts/check-local-headers.sh: Accept a host triplet in the
17339 path matched by the exclude regexp.
17340
993eb054
DM
17341 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17342 definition.
17343 * sysdeps/powerpc/powerpc32/dl-machine.h
17344 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17345 * sysdeps/s390/s390-32/dl-machine.h
17346 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17347 * sysdeps/sparc/sparc32/dl-machine.h
17348 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17349 * sysdeps/sparc/sparc64/dl-machine.h
17350 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17351
ff9f1c5f
DM
17352 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17353 lazy binding.
48e2e132 17354 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17355 undefined symbol errors.
17356
48e2e132 17357 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17358 DT_NEEDED entries.
17359
e80d6f94
MM
173602012-04-05 Michael Matz <matz@suse.de>
17361
17362 [BZ #13592]
17363 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17364
349fa79f
AJ
173652012-04-05 Andreas Jaeger <aj@suse.de>
17366
17367 [BZ #13908]
17368 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17369 comment.
17370
f402708f
KK
173712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17372
17373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17374 which ROUND is no valid rounding mode.
17375
2ecccfc9
KK
173762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17377
17378 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17379 read again.
17380 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17381
8a53f50f
KK
173822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17383
17384 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17385 an exception using FPU order intentionally.
17386
173872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17388
17389 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17390 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17391 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17392 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17393
d653abb7
SJ
173942012-04-05 Simon Josefsson <simon@josefsson.org>
17395
17396 [BZ #12340]
17397 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17398 EINVAL when BUFLEN is too smal.
17399
c3b1bf7d
TS
174002012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17401
17402 [BZ #13553]
17403 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17404 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17405
b1aa60f3
AJ
174062012-04-03 Andreas Jaeger <aj@suse.de>
17407
c3b1bf7d 17408 [BZ #13938]
67f60a26
AJ
17409 * manual/setjmp.texi (System V contexts): Fix sentence.
17410
b1aa60f3
AJ
17411 [BZ #13926]
17412 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17413 New macro for this case.
17414 [!__GNUC__] (__bswap_64): New inline function for this case.
17415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17416 * bits/byteswap.h: Likewise.
17417 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17418 ull, guard with __GLIBC_HAVE_LONG_LONG.
17419
17420 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17421 __GLIBC_HAVE_LONG_LONG.
17422
17423 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17424 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17425
39c59c35
TMQMF
174262012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17427
17428 [BZ #13691]
17429 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17430 inptr and inend, rather than using last_ch.
17431
135ffda8
DM
174322012-04-02 David S. Miller <davem@davemloft.net>
17433
17434 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17435 * stdio-common/printf-parse.h (read_int): Change return type to
17436 'int', return -1 on INT_MAX overflow.
17437 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17438 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17439 overflows INT_MAX. Check for overflow of in-format-string precision
17440 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17441 SIZE_MAX not INT_MAX for integer overflow test.
17442 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17443 skip the construct in the format string but do not record anything.
17444 * stdio-common/bug22.c: Adjust to test both width/prevision
17445 INT_MAX overflow as well as total length INT_MAX overflow. Check
17446 explicitly for proper errno values.
17447
228c019e
TS
174482012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17449
302cadd3
TS
17450 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17451 CHAR_MAX.
17452 * string/test-strcmp.c [! WIDE]: Likewise.
17453 * time/tst-mktime2.c: Likewise for INT_MAX.
17454 * string/test-string.h: #include <sys/param.h> for MIN.
17455
228c019e
TS
17456 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17457 * sysdeps/i386/init-first.c (init): Likewise.
17458 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17459 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17460 * sysdeps/sh/init-first.c (init): Likewise.
17461
cfa633f5
UD
174622012-04-01 Ulrich Drepper <drepper@gmail.com>
17463
17464 * po/ru.po: Update from translation team.
d1635ef8 17465 * po/vi.po: Likewise.
cfa633f5 17466
6cd0a5ea
SP
174672012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17468
17469 * resolv/nss_dns/dns-host.c: Merge copyright years.
17470
4b43400f
LD
174712012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17472
17473 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17474 Optimize memcpy with prefetch if
17475 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17476 src, dst pointers have unequal 16 byte alignments.
17477
48c41d04
SP
174782012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17479
17480 [BZ #13928]
17481 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17482 from a CNAME entry and return the minimum ttl for the query.
17483 (gaih_getanswer_slice): Likewise.
17484
b8dc394d
JL
174852012-03-30 Jeff Law <law@redhat.com>
17486
17487 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17488 due to long keys.
17489 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17490 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17491
2f5a5ed0
JL
17492 * resolv/nss_dns/dns-host.c: Update copyright year.
17493
1d39e359
UD
174942012-03-30 Ulrich Drepper <drepper@gmail.com>
17495
c030f70c 17496 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17497 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17498
1d39e359
UD
17499 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17500 comments for sendmmsg.
17501
175022012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17503
17504 [BZ #13691]
17505 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17506 with only 1 character between 0x0041 and 0x01b0.
17507 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17508 * wcsmbs/tst-mbsnrtowcs.c: New file.
17509
20fde227
DM
175102012-03-29 David S. Miller <davem@davemloft.net>
17511
17512 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17513 small copies by hand.
17514
984a4237
JL
175152012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17516
17517 [BZ #13761]
17518 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17519 _nss_compat_initgroups_dyn): Fall back to malloc/free
17520 for large group memberships.
17521
18c9d62b
DM
175222012-03-28 David S. Miller <davem@davemloft.net>
17523
88d85d4f
DM
17524 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17525 that branches into memcpy.
17526 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17527 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17528 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17529 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17531 bits.
17532 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17533 implementation too.
17534 * sysdeps/sparc/mempcpy.S: New file.
17535
e5aa83e1
DM
17536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17537 the IFUNC routine in the libc case.
17538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17539
88570753
DM
17540 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17541 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17542 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17543 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17544 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17545 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17546 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17547 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17548
249d7567
DM
17549 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17550 loop to 256 bytes instead of 64 bytes and fix test signedness.
17551
18c9d62b
DM
17552 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17553 * sysdeps/sparc/sparc32/Makefile: rather than here...
17554 * sysdeps/sparc/sparc64/Makefile: and here.
17555
05f3d1f6
UD
175562012-03-28 Ulrich Drepper <drepper@gmail.com>
17557
17558 * malloc/mallocbug.c: Avoid warnings about unused variables.
17559
86ae07a8
JL
175602012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17561
17562 [BZ #13760]
17563 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17564 in the right place. Discard and retry query if response is
17565 larger than input buffer size.
17566
41bf21a1
JM
175672012-03-28 Joseph Myers <joseph@codesourcery.com>
17568
d6270972
JM
17569 [BZ #369]
17570 [BZ #2678]
17571 [BZ #3866]
17572 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17573 x for large integer exponent.
17574 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17575 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17576 sign of result as needed afterwards.
17577 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17578 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17579 result for underflowing pow the same as for overflow.
17580 (__kernel_standard_l): Handle powl overflow and underflow here
17581 rather than calling __kernel_standard.
17582 * math/libm-test.inc (pow_test): Add more tests.
17583
414fca03 17584 [BZ #3868]
41bf21a1
JM
17585 [BZ #13879]
17586 [BZ #13910]
17587 [BZ #13911]
17588 [BZ #13912]
17589 [BZ #13913]
17590 [BZ #13915]
17591 [BZ #13916]
17592 [BZ #13917]
17593 [BZ #13918]
17594 [BZ #13919]
17595 [BZ #13920]
17596 [BZ #13921]
17597 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17598 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17599 (__kernel_standard_l): New function.
17600 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17601 __kernel_standard.
17602 * math/w_acosl.c (__acosl): Likewise.
17603 * math/w_asinl.c (__asinl): Likewise.
17604 * math/w_atan2l.c (__atan2l): Likewise.
17605 * math/w_atanhl.c (__atanhl): Likewise.
17606 * math/w_coshl.c (__coshl): Likewise.
17607 * math/w_exp10l.c (__exp10l): Likewise.
17608 * math/w_exp2l.c (__exp2l): Likewise.
17609 * math/w_fmodl.c (__fmodl): Likewise.
17610 * math/w_hypotl.c (__hypotl): Likewise.
17611 * math/w_j0l.c (__j0l, __y0l): Likewise.
17612 * math/w_j1l.c (__j1l, __y1l): Likewise.
17613 * math/w_jnl.c (__jnl, __ynl): Likewise.
17614 * math/w_lgammal.c (__lgammal): Likewise.
17615 * math/w_log10l.c (__log10l): Likewise.
17616 * math/w_log2l.c (__log2l): Likewise.
17617 * math/w_logl.c (__logl): Likewise.
17618 * math/w_powl.c (__powl): Likewise.
17619 * math/w_remainderl.c (__remainderl): Likewise.
17620 * math/w_scalbl.c (sysv_scalbl): Likewise.
17621 * math/w_sinhl.c (__sinhl): Likewise.
17622 * math/w_sqrtl.c (__sqrtl): Likewise.
17623 * math/w_tgammal.c (__tgammal): Likewise.
17624 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17625 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17626 * math/libm-test.inc (acos_test): Add more tests.
17627 (acosh_test): Likewise.
17628 (asin_test): Likewise.
17629 (atanh_test): Likewise.
17630 (exp_test): Likewise.
17631 (exp10_test): Likewise.
17632 (exp2_test): Likewise.
17633 (expm1_test): Likewise.
17634 (lgamma_test): Likewise.
17635 (log_test): Likewise.
17636 (log10_test): Likewise.
17637 (log1p_test): Likewise.
17638 (log2_test): Likewise.
17639 (pow_test): Do not allow some spurious overflow exceptions.
17640 (sqrt_test): Add more tests.
17641 (tgamma_test): Likewise.
17642 (y0_test): Likewise.
17643 (y1_test): Likewise.
17644 (yn_test): Likewise.
17645
dd62fda6
AB
176462012-03-27 Anton Blanchard <anton@samba.org>
17647
17648 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17649 MAP_HUGETLB.
17650 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17651 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17652 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17653
1e3cdfda
AJ
176542012-03-27 David S. Miller <davem@davemloft.net>
17655
b855ab85
DM
17656 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17657
1e3cdfda
AJ
17658 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17659 have-as-vis3 check.
17660
176612012-03-27 Andreas Jaeger <aj@suse.de>
17662
17663 * sysdeps/x86_64/elf/configure.in: Moved to ...
17664 * sysdeps/x86_64/configure.in: ... here.
17665 * sysdeps/x86_64/elf/start.S: Moved to ...
17666 * sysdeps/x86_64/start.S: ... here.
17667 * sysdeps/x86_64/elf/configure: Delete.
17668
17669 * sysdeps/x86_64/configure.in: Merge contents from
17670 sysdeps/i386/configure.in (without i686 check).
17671
17672 * sysdeps/i386/elf/Versions: Merge into ...
17673 * sysdeps/i386/Versions: ... this.
17674 * sysdeps/i386/elf/Versions: Delete file.
17675 * sysdeps/i386/elf/start.S: Moved to ...
17676 * sysdeps/i386/start.S: ...here.
17677 * sysdeps/i386/elf/configure.in: Merge into...
17678 * sysdeps/i386/configure.in: ...here.
17679 * sysdeps/i386/elf/configure.in: Delete file.
17680 * sysdeps/i386/elf/configure: Delete file.
17681
17682 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17683 * debug/backtracesyms.c: ... here.
17684 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17685 * debug/backtracesymsfd.c: ... here.
17686 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17687 * sysdeps/generic/ifunc-sel.h: ... here.
17688
17689 * sysdeps/unix/i386/start.c: Delete file.
17690 * sysdeps/unix/sparc/start.c: Delete file.
17691 * sysdeps/unix/start.c: Delete file.
17692
17693 * sysdeps/sh/elf/configure.in: Moved to ...
17694 * sysdeps/sh/configure.in: ... here.
17695 * sysdeps/sh/elf/start.S: Moved to ...
17696 * sysdeps/sh/start.S: ... here.
17697 * sysdeps/sh/elf/configure: Delete file.
17698
17699 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17700 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17701 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17702 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17703 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17704 * sysdeps/powerpc/powerpc64/start.S: here.
17705 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17706 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17707 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17708 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17709 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17710
17711 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17712 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17713 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17714 * sysdeps/powerpc/powerpc32/start.S: ... here.
17715 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17716 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17717 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17718
17719 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17720 * sysdeps/powerpc/ifunc-sel.h: ... here.
17721 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17722 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17723
17724 * sysdeps/sparc/elf/configure.in: Moved to ...
17725 * sysdeps/sparc/configure.in: ... here.
17726 * sysdeps/sparc/elf/configure: Delete file.
17727 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17728 * sysdeps/sparc/sparc32/start.S: ... here.
17729 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17730 * sysdeps/sparc/sparc64/start.S: ... here.
17731 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17732 * sysdeps/sparc/sparc32/Makefile: ... this.
17733 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17734 * sysdeps/sparc/sparc64/Makefile: ... this.
17735
17736 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17737 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17738 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17739 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17740 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17741 * sysdeps/s390/s390-32/setjmp.S: ... here.
17742 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17743 * sysdeps/s390/s390-32/configure.in: ... here.
17744 * sysdeps/s390/s390-32/elf/configure: Delete file.
17745 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17746 * sysdeps/s390/s390-32/start.S: ... here.
17747
17748 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17749 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17750 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17751 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17752 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17753 * sysdeps/s390/s390-64/setjmp.S: ... here.
17754 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17755 * sysdeps/s390/s390-64/configure.in: ... here
17756 * sysdeps/s390/s390-64/elf/configure: Delete file.
17757 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17758 * sysdeps/s390/s390-64/start.S: ... here.
17759 * sysdeps/s390/s390-64/elf/configure: Delete.
17760
17761 * configure.in: Remove support for elf directories in sysdeps.
17762
17763 * configure: Regenerated.
17764 * sysdeps/i386/configure: Regenerated.
17765 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17766 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17767 * sysdeps/s390/s390-32/configure: Regenerated.
17768 * sysdeps/s390/s390-64/configure: Regenerated.
17769 * sysdeps/sh/configure: Regenerated.
17770 * sysdeps/sparc/configure: Regenerated.
17771 * sysdeps/x86_64/configure: Regenerated.
17772
a3f61311
AS
177732012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17774
c876e002
AS
17775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17776
a3f61311
AS
17777 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17778 denormal result into account.
17779
ac4c54f0
RM
177802012-03-25 Roland McGrath <roland@hack.frob.com>
17781
17782 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17783 Reported by Allan McRae <allan@archlinux.org>.
17784
6a9b9c02
JL
177852012-03-23 Jeff Law <law@redhat.com>
17786
17787 * nss/getnssent.c (__nss_getent): Fix typo.
17788
4c42a0c1
DM
177892012-03-23 David S. Miller <davem@davemloft.net>
17790
17791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17792
1532c7ac
L
177932012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17794
17795 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17796 to pad to uint64_t for each field.
17797 (dl_tls_index): Replace unsigned long with uint64_t.
17798
3ff42526
PP
177992012-03-23 Daniel Jacobowitz <dmj@google.com>
17800 Paul Pluzhnikov <ppluzhnikov@google.com>
17801
17802 [BZ #6528]
17803 * grp/Makefile (otherlibs): Don't set it.
17804 * inet/Makefile (otherlibs): Likewise.
17805 * login/Makefile (otherlibs): Likewise.
17806 * nscd/Makefile (otherlibs): Likewise.
17807 * posix/Makefile (otherlibs): Likewise.
17808 * pwd/Makefile (otherlibs): Likewise.
17809 * rt/Makefile (otherlibs): Likewise.
17810 * sunrpc/Makefile (otherlibs): Likewise.
17811 * nss/Makefile (otherlibs): Likewise.
17812 Add libnss_files to routines and static-only-routines.
17813 ($(objpfx)getent): Remove rule.
17814 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17815 static-only-routines.
17816
7c69cd14
JM
178172012-03-22 Joseph Myers <joseph@codesourcery.com>
17818
17819 [BZ #13892]
17820 * math/s_cexp.c: Include <float.h>.
17821 (__cexp): Handle exp result overflowing not necessarily
17822 overflowing both real and imaginary parts of result.
17823 * math/s_cexpf.c: Likewise.
17824 * math/s_cexpl.c: Likewise.
17825 * math/libm-test.inc (cexp_test): Add more tests.
17826 * sysdeps/i386/fpu/libm-test-ulps: Update.
17827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17828
81b035fe
L
178292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17830
17831 * include/link.h (ELFW): New macro.
17832 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17833 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17834
1da7940c
L
178352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17836
17837 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17838 with uint64_t.
17839
b749dbb9
L
178402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17841
17842 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17843 declaration.
17844 (struct La_x32_retval): Likewise.
17845
2ff87f3f
L
178462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17847
17848 * sysdeps/x86_64/preconfigure.in: New file.
17849 * sysdeps/x86_64/preconfigure: New generated file.
17850
c0df8e69
JM
178512012-03-22 Joseph Myers <joseph@codesourcery.com>
17852
48e44791
JM
17853 [BZ #13824]
17854 * math/e_exp2l.c: Include <float.h>.
17855 (__ieee754_exp2l): Handle overflow and underflow cases
17856 separately. Only pass fractional part of argument to
17857 __ieee754_expl.
17858 * math/libm-test.inc (exp2_test): Add more tests.
17859
c0df8e69
JM
17860 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17861 negating x to take absolute value.
17862 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17863 Likewise.
17864 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17865 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17866 Likewise.
17867 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17868 computing low part if x was negated.
17869 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17870
c8e43ba7
L
178712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17872
17873 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17874 la_x32_gnu_pltexit.
17875 (pltexit): Cast int_retval to ptrdiff_t.
17876 * elf/tst-auditmod3b.c: Likewise.
17877 * elf/tst-auditmod4b.c: Likewise.
17878 * elf/tst-auditmod5b.c: Likewise.
17879 * elf/tst-auditmod6b.c: Likewise.
17880 * elf/tst-auditmod6c.c: Likewise.
17881 * elf/tst-auditmod7b.c: Likewise.
17882
17883 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17884 and x32_gnu_pltexit.
17885
17886 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17887 __ELF_NATIVE_CLASS.
17888 (La_x32_regs): New macro.
17889 (La_x32_retval): Likewise.
17890 (la_x32_gnu_pltenter): New function prototype.
17891 (la_x32_gnu_pltexit): Likewise.
17892
7998fa78
AS
178932012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17894
dcb33988
AS
17895 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17896 exponent.
17897
233fc563
AS
17898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17899
7998fa78
AS
17900 * configure.in (libc_cv_cc_nofma): Check for option to disable
17901 generation of FMA instructions.
17902 * configure: Regenerate.
17903 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17904 * sysdeps/ieee754/dbl-64/Makefile: New file.
17905 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17906 Remove brandred-fma4.
17907 (CFLAGS-brandred-fma4.c): Remove.
17908 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17909 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17910 define.
17911 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17912 define.
17913
8e95c99a
L
179142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17915
17916 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17917 LLONG_MAX != LONG_MAX.
17918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17919 (_fitoa_word): Likewise.
17920 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17921 LLONG_MAX != LONG_MAX.
17922 * stdio-common/_itowa.h: Include <_itoa.h>.
17923 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17924 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17925 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17926 only if not defined.
17927 (_ITOA_WORD_TYPE): Likewise.
17928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17929 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17930
6f4db457
DM
179312012-03-21 David S. Miller <davem@davemloft.net>
17932
17933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17934
7785fe5a
L
179352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17936
17937 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17938 of x86_64 when setting libc_cv_slibdir, libdir and
17939 libc_cv_localedir.
17940 * sysdeps/unix/sysv/linux/configure: Regenerated.
17941
4535cd55
JM
179422012-03-21 Joseph Myers <joseph@codesourcery.com>
17943
17944 * manual/lang.texi (Old Varargs): Remove section.
17945 (How Variadic): Update menu.
17946 (va_start): Do not mention varargs.h.
17947
17228132
TS
179482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17949 Joseph Myers <joseph@codesourcery.com>
17950
17951 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17952 link test.
17953 * configure: Regenerated.
17954
8149f976
TS
179552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17956
05f3d1f6
UD
17957 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17958 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17959 conformtest.pl
8149f976 17960
1a4ac776
JM
179612012-03-21 Joseph Myers <joseph@codesourcery.com>
17962
be22ce65
JM
17963 * NOTES: Remove.
17964 * Makefile (files-for-dist): Remove NOTES.
17965 (NOTES): Remove rule.
17966 * README: Don't refer to NOTES.
17967 * manual/creature.texi: Don't include macros.texi.
17968 * manual/intro.texi (creature.texi): Remove comment referring to
17969 NOTES.
17970
40b601fb
JM
17971 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17972 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17973 * configure: Regenerated.
17974 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17975 LIBC_TRY_CC_OPTION.
17976 (libc_cv_as_i686): Likewise.
17977 (libc_cv_cc_avx): Likewise.
17978 (libc_cv_cc_sse2avx): Likewise.
17979 (libc_cv_cc_fma4): Likewise.
17980 (libc_cv_cc_novzeroupper): Likewise.
17981 * sysdeps/i386/configure: Regenerated.
17982
1a4ac776
JM
17983 [BZ #13883]
17984 * sysdeps/i386/fpu/s_cexp.S: Remove.
17985 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17986 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17987 * math/libm-test.inc (cexp_test): Add more tests.
17988 * sysdeps/i386/fpu/libm-test-ulps: Update.
17989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17990
a458e7fe
AM
179912012-03-21 Allan McRae <allan@archlinux.org>
17992
17993 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17994
0cb7efc5
JM
179952012-03-21 Joseph Myers <joseph@codesourcery.com>
17996
17997 [BZ #13871]
17998 * math/w_exp2.c: Do not include <float.h>.
17999 (o_threshold, u_threshold): Remove.
18000 (__exp2): Calculate result before checking finiteness and calling
18001 __kernel_standard.
18002 * math/w_exp2f.c: Likewise.
18003 * math/w_exp2l.c: Likewise.
18004 * math/libm-test.inc (exp2_test): Require overflow exception for
18005 1e6 input.
2460d3aa
JM
18006
18007 [BZ #3866]
18008 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18009 range of signed 64-bit integers before using fistpll. Remove
18010 checks for whether integers fit in mantissa bits.
18011 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18012 the range of signed 32-bit integers before using fistpl. Remove
18013 checks for whether integers fit in mantissa bits.
18014 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18015 (__ieee754_powl): Test for y outside the range of signed 64-bit
18016 integers before using fistpll. Reduce 64-bit values to 63-bit
18017 ones as needed.
18018 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18019 divide-by-zero is raised for zero to large negative powers.
18020 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18021 (__ieee754_powl): Test for y outside the range of signed 64-bit
18022 integers before using fistpll. Reduce 64-bit values to 63-bit
18023 ones as needed.
18024 * math/libm-test.inc (pow_test): Add more tests.
18025
eb96ffb0
L
180262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18027
18028 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18029 <stdio-common/_itoa.h>.
18030 * debug/segfault.c: Likewise.
18031 * elf/dl-cache.c: Likewise.
18032 * elf/dl-minimal.c: Likewise.
18033 * elf/dl-misc.c: Likewise.
18034 * elf/dl-sysdep.c: Likewise.
18035 * elf/dl-version.c: Likewise.
18036 * elf/rtld.c: Likewise.
18037 * hurd/hurdsock.c: Likewise.
18038 * hurd/lookup-retry.c: Likewise.
18039 * malloc/malloc.c: Likewise.
18040 * malloc/mtrace.c: Likewise.
18041 * nscd/nscd_getgr_r.c: Likewise.
18042 * nscd/nscd_getpw_r.c: Likewise.
18043 * nscd/nscd_getserv_r.c: Likewise.
18044 * posix/getopt_init.c: Likewise.
18045 * posix/wordexp.c: Likewise.
18046 * stdio-common/_itoa.c: Likewise.
18047 * stdio-common/printf_fphex.c: Likewise.
18048 * stdio-common/vfprintf.c: Likewise.
18049 * string/_strerror.c: Likewise.
18050 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18051 * sysdeps/i386/i686/hp-timing.h: Likewise.
18052 * sysdeps/mach/_strerror.c: Likewise.
18053 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18054 * sysdeps/mach/hurd/sethostid.c: Likewise.
18055 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18056 * sysdeps/mach/xpg-strerror.c: Likewise.
18057 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18058 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18059 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18060 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18061 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18062 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18063 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18064 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18065 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18066 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18067 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18068 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18069 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18070 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18071 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18072 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18073 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18074 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18075 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18076 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18077 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18078
18079 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18080
18081 * stdio-common/_itoa.h: Moved to ...
18082 * sysdeps/generic/_itoa.h: Here.
18083
18084 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18085
18086 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18087 instead of "_itoa.h" and "_itowa.h".
18088 * stdio-common/vfprintf.: Likewise.
18089
d1af992d
L
180902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18091
18092 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18093 <bits/wordsize.h>.
18094 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18095 (__signbit): Likwise.
18096 (llrintf): Likwise.
18097 (llrint): Likwise.
18098
114883e0
L
180992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18100
18101 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18102 __WORDSIZE != 64.
18103
c135cc1b
JM
181042012-03-20 Joseph Myers <joseph@codesourcery.com>
18105
18106 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18107 OVERFLOW_EXCEPTION_OK.
18108 * math/libm-test.inc ("Philosophy"): Update comment about
18109 exception testing.
18110 (OVERFLOW_EXCEPTION): Define.
18111 (OVERFLOW_EXCEPTION_OK): Likewise.
18112 (INVALID_EXCEPTION_OK): Renumber.
18113 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18114 (IGNORE_ZERO_INF_SIGN): Likewise.
18115 (test_exceptions): Handle FE_OVERFLOW.
18116 (exp10_test): Expect overflow exceptions.
18117 (exp2_test): Likewise.
18118 (expm1_test): Likewise.
18119 (nextafter_test): Likewise.
18120 (pow_test): Likewise.
18121 (scalbn_test): Likewise.
18122 (scalbln_test): Likewise.
18123
95443d88
L
181242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18125
18126 * sysdeps/x86_64/bits/atomic.h
18127 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18128 64bit integer.
18129 (atomic_exchange_acq): Likewise.
18130 (__arch_exchange_and_add_body): Likewise.
18131 (__arch_add_body): Likewise.
18132 (atomic_add_negative): Likewise.
18133 (atomic_add_zero): Likewise.
18134
490df6c4
L
181352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18136
c2722551 18137 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18138 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18139
5e52b189
L
181402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18141
18142 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18143 Check __x86_64__ instead of __WORDSIZE.
18144
a9879d4c
L
181452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18146
18147 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18148
5df98260
DM
181492012-03-19 David S. Miller <davem@davemloft.net>
18150
e1497744
DM
18151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18152
5df98260
DM
18153 * sysdeps/sparc/fpu/fenv_private.h: New file.
18154 * sysdeps/sparc/fpu/math_private.h: Use it.
18155 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18156 Remove.
18157 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18158 (libc_feholdexcept_setroundl): Remove.
18159 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18160 Remove.
18161 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18162 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18163
b4c35121
L
181642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18165
18166 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18167 int64_t instead of long int.
18168 (INSERT_WORDS64): Likwise.
18169
56965fd7
L
181702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18171
18172 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18173 _Unwind_GetCFA return to _Unwind_Ptr first.
18174
83d1aec8
JM
181752012-03-19 Joseph Myers <joseph@codesourcery.com>
18176
1897ad44
JM
18177 [BZ #13629]
18178 * math/s_clog.c: Include <float.h>.
18179 (__clog): Scale large or subnormal inputs.
18180 * math/s_clogf.c: Likewise.
18181 * math/s_clogl.c: Likewise.
18182 * math/s_clog10.c: Include <float.h>.
18183 (M_LOG10_2): Define.
18184 (__clog10): Scale large or subnormal inputs.
18185 * math/s_clog10f.c: Likewise.
18186 * math/s_clog10l.c: Likewise.
18187 * math/libm-test.inc (clog_test): Add more tests.
18188 (clog10_test): Likewise.
18189 * sysdeps/i386/fpu/libm-test-ulps: Update.
18190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18191
7726d6a9
JM
18192 [BZ #11451]
18193 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18194 x and y.
18195 * math/libm-test.inc (atan2_test): Add another test.
18196
83d1aec8
JM
18197 * Makerules (common-objdir-compile): Remove.
18198 * sysdeps/unix/Makefile (config-generated): Do not add
18199 $(unix-generated) to variable.
18200 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18201 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18202 Remove rule.
18203 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18204 Likewise.
18205 [generic bits/local_lim.h] (before-compile): Do not append to
18206 variable.
18207 [generic bits/local_lim.h] (common-generated): Likewise.
18208 [generic sys/param.h] (before-compile): Do not append to variable.
18209 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18210 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18211 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18212 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18213 include.
18214 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18215 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18216 [generic sys/param.h] ($(addprefix
18217 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18218 [generic sys/param.h] (common-generated): Do not append to
18219 variable.
18220 [generic sys/param.h] (sysdep_headers): Likewise.
18221 [generic bits/errno.h] (before-compile): Do not append to
18222 variable.
18223 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18224 rule.
18225 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18226 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18227 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18228 [generic bits/errno.h] (common-generated): Do not append to
18229 variable.
18230 [generic bits/ioctls.h] (before-compile): Do not append to
18231 variable.
18232 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18233 rule.
18234 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18235 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18236 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18237 rule.
18238 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18239 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18240 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18241 [generic bits/ioctls.h] (common-generated): Do not append to
18242 variable.
18243 [generic sys/syscall.h] (syscall.h): Remove variable.
18244 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18245 rule.
18246 [generic sys/syscall.h] (before-compile): Do not append to
18247 variable.
18248 [generic sys/syscall.h] (common-generated): Likewise.
18249 * sysdeps/unix/errnos-tmpl.c: Remove file.
18250 * sysdeps/unix/errnos.awk: Likewise.
18251 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18252 * sysdeps/unix/ioctls.awk: Likewise.
18253 * sysdeps/unix/mk-local_lim.c: Likewise.
18254 * sysdeps/unix/snarf-ioctls: Likewise.
18255
4851a949
RH
182562012-03-19 Richard Henderson <rth@twiddle.net>
18257
bd37f2ee
RH
18258 * sysdeps/i386/fpu/fenv_private.h: New file.
18259 * sysdeps/i386/fpu/math_private.h: Use it.
18260 (math_opt_barrier, math_force_eval): Remove.
18261 (libc_feholdexcept_setround_53bit): Remove.
18262 (libc_feupdateenv_53bit): Remove.
18263 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18264 (math_opt_barrier, math_force_eval): Remove.
18265 (libc_feholdexcept): Remove.
18266 (libc_feholdexcept_setround): Remove.
18267 (libc_fetestexcept, libc_fesetenv): Remove.
18268 (libc_feupdateenv_test): Remove.
18269 (libc_feupdateenv, libc_feholdsetround): Remove.
18270 (libc_feresetround): Remove.
18271
d0adc922
RH
18272 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18273 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18274
0fe0f1f8
RH
18275 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18276 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18277 (libc_feupdateenv_testl): New.
18278 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18279 (libc_feupdateenv_testf): New.
18280 (libc_feupdateenv): Use libc_feupdateenv_test.
18281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18282 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18283
eb92c487
RH
18284 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18285 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18286 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18287 (libc_feresetround_noex): New.
18288 (libc_feresetround_noexf): New.
18289 (libc_feresetround_noexl): New.
18290 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18291 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18292 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18293 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18294 SET_RESTORE_ROUND.
18295 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18297 (__cos): Likewise.
18298 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18299 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18300 SET_RESTORE_ROUND_NOEX.
18301 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18302 SET_RESTORE_ROUND_NOEXF.
18303 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18304 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18305 (libc_feholdsetroundf): New.
18306 (libc_feresetround, libc_feresetroundf): New.
18307
7d2e8012
RH
18308 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18309 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18310 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18311
b4dabbb4
RH
18312 * sysdeps/generic/math_private.h: Include <fenv.h>.
18313 (default_libc_feholdexcept): New.
18314 (default_libc_feholdexcept_setround): New.
18315 (default_libc_fesetenv, default_libc_feupdateenv): New.
18316 (libc_feholdexcept): Only define if undefined.
18317 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18318 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18319 (libc_feholdexcept_setroundl): Likewise.
18320 (libc_feholdexcept_setround_53bit): Likewise.
18321 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18322 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18323 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18324 (libc_feupdateenv_53bit): Likewise.
18325 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18326 (libc_feholdexcept): Convert from macro to inline function.
18327 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18328 (libc_fesetenv, libc_feupdateenv): Likewise.
18329
4851a949
RH
18330 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18331 not previously defined.
18332 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18333 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18334 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18335 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18336 * sysdeps/ieee754/flt-32/math_private.h: New file.
18337 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18338 math_private.h below SET_FLOAT_WORD.
18339 (__isnan, __isinf_ns, __finite): Remove.
18340 (__isnanf, __isinf_nsf, __finitef): Remove.
18341
e79d442e
AS
183422012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18343
18344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18345
90b80344
DM
183462012-03-17 David S. Miller <davem@davemloft.net>
18347
18348 [BZ #6471]
18349 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18350 for 2.16.
18351
edc21804
DM
183522012-03-16 David S. Miller <davem@davemloft.net>
18353
77e927af
DM
18354 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18355 warnings.
18356
374976dd
DM
18357 [BZ #6471]
18358 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18359 properly.
18360 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18361 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18362 sysdep_routines when subdir is sysvipc.
18363 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18364 __getshmlba helper.
18365
edc21804
DM
18366 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18367
473c3ef3
L
183682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18369
18370 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18371 [__LP64__].
18372
eb0f39b6
L
183732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18374
18375 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18376 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18377 (__lround): Renamed to ...
18378 (__llround): This. Replace long int with long long int.
18379 Define lround functions as aliases of llround functions.
18380 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18381
6b6cd74b
L
183822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18383
18384 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18385 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18386 adresses to uintptr_t. Replace "long int" and "unsigned long
18387 int" with "greg_t" on va_arg.
18388
f1a77b01
L
183892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18390
18391 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18392 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18393
18394 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18395 Move e_machine check before EI_CLASS check. Handle x32
18396 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18397 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18398 SKIP_EM_IA_64 and include
18399 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18400
18401 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18402 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18403 (add_system_dir): New macro.
18404
18405 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18406 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18407
11b90b9f
JM
184082012-03-16 Joseph Myers <joseph@codesourcery.com>
18409
c36e1d23
JM
18410 [BZ #2551]
18411 [BZ #2552]
18412 [BZ #2553]
18413 [BZ #2554]
18414 [BZ #2562]
18415 [BZ #2563]
18416 [BZ #2565]
18417 [BZ #2566]
18418 [BZ #2576]
18419 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18420 (y0): Likewise.
18421 * math/w_j0f.c (j0f): Likewise.
18422 (y0f): Likewise.
18423 * math/w_j0l.c (__j0l): Likewise.
18424 (__y0l): Likewise.
18425 * math/w_j1.c (j1): Likewise.
18426 (y1): Likewise.
18427 * math/w_j1f.c (j1f): Likewise.
18428 (y1f): Likewise.
18429 * math/w_j1l.c (__j1l): Likewise.
18430 (__y1l): Likewise.
18431 * math/w_jn.c (jn): Likewise.
18432 (yn): Likewise.
18433 * math/w_jnf.c (jnf): Likewise.
18434 (ynf): Likewise.
18435 * math/w_jnl.c (__jnl): Likewise.
18436 (__ynl): Likewise.
18437 * math/libm-test.inc (j0_test): Add more tests.
18438 (j1_test): Likewise.
18439 (jn_test): Likewise. Add trailing semicolon to existing test.
18440 (y0_test): Likewise.
18441 (y1_test): Likewise.
18442 * sysdeps/i386/fpu/libm-test-ulps: Update.
18443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18444
11b90b9f
JM
18445 [BZ #13851]
18446 [BZ #13854]
18447 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18448 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18449 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18450 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18451 (__tanl): Set errno for infinite argument.
18452 * sysdeps/i386/fpu/mptan.c: Remove.
18453 * sysdeps/i386/fpu/s_tan.S: Likewise.
18454 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18455 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18456 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18457 * math/libm-test.inc (tan_test): Add more tests and enable more
18458 tests for double and long double.
18459 * sysdeps/i386/fpu/libm-test-ulps: Update.
18460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18461
6a1bd2a1
JK
184622012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18463
18464 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18465 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18466
10a803e0
RM
184672012-03-16 Roland McGrath <roland@hack.frob.com>
18468
18469 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18470 * configure.in: Use it for both main tree and add-ons.
18471 * configure: Regenerated.
18472
f196c7f7
L
184732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18474
18475 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18476
8848d99d
JM
184772012-03-16 Joseph Myers <joseph@codesourcery.com>
18478
96cbe7f4
JM
18479 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18480 in comment.
18481
8848d99d
JM
18482 [BZ #13851]
18483 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18484 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18485 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18486 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18487 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18488 infinite argument.
18489 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18490 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18491 != 0 for prec == 2.
18492 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18493 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18494 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18495 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18496 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18497 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18498 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18499 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18500 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18501 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18502 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18503 * math/libm-test.inc (cos_test): Add more tests and enable more
18504 tests for long double.
18505 (sin_test): Likewise.
18506 (sincos_test): Likewise.
18507 * sysdeps/i386/fpu/libm-test-ulps: Update.
18508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18509
dd7f4703
DM
185102012-03-16 David S. Miller <davem@davemloft.net>
18511
18512 * sysdeps/sparc/fpu/math_private.h: New file.
18513
006f1daa
DM
185142012-03-15 David S. Miller <davem@davemloft.net>
18515
c0c83bc8
DM
18516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18517 file.
e6a62e18 18518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18520 file.
e6a62e18
DM
18521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18526 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18527 sysdep routines.
18528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18529
88cb87d9
DM
18530 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18531 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18532
006f1daa 18533 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18535 sparc-ifunc.h
006f1daa 18536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18538 Likewise.
18539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18540 Likewise.
006f1daa
DM
18541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18545 Likewise.
006f1daa
DM
18546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18551 Likewise.
18552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18553 Likewise.
006f1daa
DM
18554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18560 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18561 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18572 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18574 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18575 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18576 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18577 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18578
11e0098e
AS
185792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18580
18581 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18582 scaling.
18583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18584
e85b09d0
AJ
185852012-03-15 Andreas Jaeger <aj@suse.de>
18586
18587 [BZ #13852]
18588 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18589 ieee754/flt-32 implementation for sin, cos and sincos.
18590 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18591 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18592 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18593 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18594 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18595 ieee754/flt-32 implementation for tan.
18596
18597 * math/libm-test.inc (cos_test): Enable some large input tests for
18598 float as well
18599 (sin_test): Likewise.
18600 (sincos_test): Likewise.
18601 (tan_test): Add tests for large input.
18602
18603 * sysdeps/i386/fpu/libm-test-ulps: Update.
18604
81c64153
AJ
186052012-03-15 Andreas Jaeger <aj@suse.de>
18606
18607 [BZ #13658]
18608 * math/libm-test.inc (cos_test): Add more test cases.
18609 (sin_test): Likewise.
18610 (sincos_test): Likewise.
18611
7bbfa5c6
AJ
186122012-03-15 Andreas Jaeger <aj@suse.de>
18613
18614 [BZ #13837]
18615 * math/libm-test.inc (cos_test): Add a test case for large input
18616 value.
18617 (sin_test): Likewise.
18618 (sincos_test): Likewise.
18619
186202012-03-15 Andreas Jaeger <aj@suse.de>,
18621 Joseph Myers <joseph@codesourcery.com>
18622
18623 [BZ #13658]
0671f479 18624 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18625 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18626 * sysdeps/i386/fpu/branred.c: Likewise.
18627 * sysdeps/i386/fpu/dosincos.c: Likewise.
18628 * sysdeps/i386/fpu/mpa.c: Likewise.
18629 * sysdeps/i386/fpu/s_cos.S: Likewise.
18630 * sysdeps/i386/fpu/s_sin.S: Likewise.
18631 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18632 * sysdeps/i386/fpu/sincos32.c: Likewise.
18633
18634 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18635 Define.
18636 (libc_feupdateenv_53bit): Define.
18637 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18638 Define.
18639 (libc_feupdateenv_53bit): Define.
18640
18641 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18642 53 bit (without extend i386 double precision).
18643
18644 * math/libm-test.inc (sincos_test): Add tests for large input.
18645 (sin): Likewise.
18646 (cos): Likewise.
18647
18648 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18649
9cad04ea
AS
186502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18651
18652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18653
f7062b9a
DM
186542012-03-15 David S. Miller <davem@davemloft.net>
18655
18656 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18657 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18658 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18659 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18672 file.
f7062b9a 18673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18675 file.
f7062b9a 18676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18678 file.
f7062b9a 18679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18681 file.
f7062b9a
DM
18682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18683 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18684 fmin/fmax sysdep routines.
18685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18686
7bd951ff
DM
186872012-03-14 David S. Miller <davem@davemloft.net>
18688
559398ab
DM
18689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18709 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18710 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18711 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18712 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18713 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18714 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18715 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18717 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18718 routines.
18719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18720 file.
559398ab 18721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18723 file.
559398ab 18724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18726 file.
559398ab 18727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18729 file.
559398ab 18730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18732 file.
559398ab 18733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18735 file.
18736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18737 file.
18738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18739 file.
18740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18741 file.
18742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18743 New file.
18744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18745 file.
18746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18747 file.
559398ab 18748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18750 file.
559398ab 18751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18753 file.
559398ab 18754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18756 file.
559398ab 18757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18759 VIS3 routines.
559398ab
DM
18760
18761 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18762 New file.
18763
5a1c1e32
DM
18764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18765
eae47a36
DM
18766 * sysdeps/sparc/configure.in: New file.
18767 * sysdeps/sparc/configure: Generate.
18768 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18769 * configure: Regenerate.
18770 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18771 * config.make.in (have-as-vis3): New.
18772 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18773 available use -Av9d instead of -Av9a.
18774 * sysdeps/sparc/sparc64/Makefile: Likewise.
18775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18777 New file.
18778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18779 file.
18780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18781 New file.
18782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18783 file.
eae47a36
DM
18784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18785 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18789
c0c83bc8
DM
18790 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18791 fzeros/fnegs to load 0x80000000 into a float register instead of
18792 using the stack.
7bd951ff
DM
18793 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18794
bd951ccb
JM
187952012-03-14 Joseph Myers <joseph@codesourcery.com>
18796
18797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18798 bits/syscall.h.
18799 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18800 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18801 ($(inst_includedir)/bits/syscall.h): Remove rule.
18802 ($(objpfx)bits/syscall.d): Include instead of
18803 $(objpfx)syscall-list.d.
18804 (generated): Change syscall-list.h and syscall-list.d to
18805 bits/syscall.h and bits/syscall.d.
18806
bb4e6db2
RM
188072012-03-14 Roland McGrath <roland@hack.frob.com>
18808
18809 [BZ #13846]
18810 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18811
aa4a2ae1
JM
188122012-03-14 Joseph Myers <joseph@codesourcery.com>
18813
e456826d
JM
18814 [BZ #13841]
18815 * math/s_csqrt.c: Include <float.h>.
18816 (__csqrt): Scale large or subnormal inputs.
18817 * math/s_csqrtf.c: Likewise.
18818 * math/s_csqrtl.c: Likewise.
18819 * math/libm-test.inc (csqrt_test): Add more tests.
18820 * sysdeps/i386/fpu/libm-test-ulps: Update.
18821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18822
aa4a2ae1
JM
18823 [BZ #13840]
18824 * math/libm-test.inc (hypot_test): Add more tests.
18825
7c10fd35
DM
188262012-03-13 David S. Miller <davem@davemloft.net>
18827
18828 [BZ #13840]
18829 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18830 double-precision for the calculation instead of scaling.
18831
f453b98b
JM
188322012-03-13 Joseph Myers <joseph@codesourcery.com>
18833
18834 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18835 manipulate bits before adding and subtracting TWO52[sx].
18836 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18837 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18838 Likewise.
18839 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18840
09a3453f
DM
188412012-03-13 David S. Miller <davem@davemloft.net>
18842
8e59da90
DM
18843 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18844 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18846 rtld-global-offsets.h
18847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18848
2a8ab7f2
DM
18849 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18850 large parameters.
18851
10f62770
DM
18852 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18853
5f0bdb18
DM
18854 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18855 'err' in the ifdef scope in which it is actually used.
18856
09a3453f
DM
18857 * nss/nss_db/db-init.c: Include string.h
18858
b4b2eb5e
DM
188592012-03-12 David S. Miller <davem@davemloft.net>
18860
98bb2f1c
DM
18861 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18862 masking out of the most significant byte of random value used.
18863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18864 Fix coding style in previous change.
18865
b4b2eb5e
DM
18866 * sysdeps/unix/sysv/linux/kernel-features.h
18867 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18868 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18869 expression.
18870 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18871 later.
18872
6e226b09
DM
188732012-03-11 David S. Miller <davem@davemloft.net>
18874
a1bcbd40
DM
18875 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18876 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18877 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18878 for 'resultvar' otherwise things get truncated on 64-bit.
18879
cb9d6174
DM
18880 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18881 Fix masking out of the most significant byte of random value used.
18882
6e226b09
DM
18883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18884
058c132d
AS
188852012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18886
18887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18888
2d2cd515
DM
188892012-03-09 David S. Miller <davem@davemloft.net>
18890
18891 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18892 variables with appropriate CPP guards.
18893 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18894 frame pointer, not the stack pointer. Correct layout comments. Fix test
18895 on resulting framesize and the management of the outregs buffer for pltexit.
18896 Preserve floating point return values across _dl_call_pltexit call.
18897 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18898 framesize and the management of the outregs buffer for pltexit.
18899 Preserve floating point return values across _dl_call_pltexit
18900 call.
18901 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18902 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18903 (print_exit): Fix format string for return register value.
18904
9a07f9d0
JM
189052012-03-10 Joseph Myers <joseph@codesourcery.com>
18906
18907 * sunrpc/Makefile (others): Add rpcgen.
18908 ($(objpfx)rpcgen): Remove special build rule and dependency on
18909 libc.
18910 * sunrpc/rpcgen.c: New file.
18911
547b5e30
PE
189122012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18913
c524201a
PE
18914 [BZ #13673]
18915 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18916 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18917 * sysdeps/i386/crti.S: Likewise.
18918 * sysdeps/i386/crtn.S: Likewise.
18919 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18920 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18921 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18922 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18923 * sysdeps/sh/crti.S: Likewise.
18924 * sysdeps/sh/crtn.S: Likewise.
18925 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18926
7b6235f2
PE
18927 [BZ #13673]
18928 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18929 with URL.
18930 * locale/programs/locfile-kw.gperf: Likewise.
18931 * locale/programs/charmap-kw.h: Regenerated.
18932 * locale/programs/locfile-kw.h: Likewise.
18933
547b5e30
PE
18934 [BZ #13673]
18935 * intl/plural.y: Replace FSF snail mail address with URL.
18936 * intl/plural.c: Regenerated.
18937
5f0a5dae
RH
189382012-03-09 Richard Henderson <rth@twiddle.net>
18939
18940 * include/math_private.h: Remove file.
18941 * math/math_private.h: Move file ...
18942 * sysdeps/generic/math_private.h: ... here.
18943
b8c03620
RH
18944 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18945 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18946 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18947
4e234f5d 18948 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18949 and <math_private.h>.
18950 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18951 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18952 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18953 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18954 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18955 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18956 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18957 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18958 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18959 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18961 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18962 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18963 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18964 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18965 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18966 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18967 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18968 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18969 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18971 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18972 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18979 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18980 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18981 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18988 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18989 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18990 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18991 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18992 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18993 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18994 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18995 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18997 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18998 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18999 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19000 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19001 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19003 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19004 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19005 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19006 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19007 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19008 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19009 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19010 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19011 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19013 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19014 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19015 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19016 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19017 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19018 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19019 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19020 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19021 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19022 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19023 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19024 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19025 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19026 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19027 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19028 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19029 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19030 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19031 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19036 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19038 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19039 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19040 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19041 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19042 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19043 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19044 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19045 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19046 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19047 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19048 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19049 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19050 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19051 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19052 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19053 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19054 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19055 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19056 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19057 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19058 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19059 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19060 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19061 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19062 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19063 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19064 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19065 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19066 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19067 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19068 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19069 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19070 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19071 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19072 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19073 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19074 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19075 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19076 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19077 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19078 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19079 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19080 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19081 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19082 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19083 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19084 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19085 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19086 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19087 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19088 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19089 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19090 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19091 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19092 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19093 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19094 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19095 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19096 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19097 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19098 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19099 * sysdeps/ieee754/k_standard.c: Likewise.
19100 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19106 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19108 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19122 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19123 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19124 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19125 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19126 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19127 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19128 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19129 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19130 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19131 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19132 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19133 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19136 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19137 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19154 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19155 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19158 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19161 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19166 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19167 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19168 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19169 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19172 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19173 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19174 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19176 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19177 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19178 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19179 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19180 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19181 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19183 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19186 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19187 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19188 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19190 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19191 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19192 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19193 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19194 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19195 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19196 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19197 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19198 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19199 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19202 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19203 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19210 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19211 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19212 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19213 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19214 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19215 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19216 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19217 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19218 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19219 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19220 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19221 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19222 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19223 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19224 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19225 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19226 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19227 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19229 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19230 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19231 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19232 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19233 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19234 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19235 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19236 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19237 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19238 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19239 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19240 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19241 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19242 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19243 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19244 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19245 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19246 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19247 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19248 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19249 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19250 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19251 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19252 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19253 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19254 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19255 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19256 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19257 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19258 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19259 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19260 * sysdeps/ieee754/s_lib_version.c: Likewise.
19261 * sysdeps/ieee754/s_matherr.c: Likewise.
19262 * sysdeps/ieee754/s_signgam.c: Likewise.
19263 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19265 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19266 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19267 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19268 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19269 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19270 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19271 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19272 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19273 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19274 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19275 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19276 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19277 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19278 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19279 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19280 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19281 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19282 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19283 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19284
1991fa03
JM
192852012-03-09 Joseph Myers <joseph@codesourcery.com>
19286
19287 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19288 * sunrpc/rpc_main.c: Likewise.
19289 * sunrpc/rpc_svcout.c: Likewise.
19290
60d6f5a6
DM
192912012-03-09 David S. Miller <davem@davemloft.net>
19292
19293 * include/math_private.h: New file.
19294
4962050e
JM
192952012-03-09 Joseph Myers <joseph@codesourcery.com>
19296
02a6f887
JM
19297 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19298 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19299 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19300 from <bits/socket_type.h>.
19301 (enum __socket_type): Don't define here.
19302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19304 bits/socket_type.h.
19305
c6e013c1
JM
19306 [BZ #13566]
19307 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19308 checking __USE_GNU.
19309
4962050e
JM
19310 * Makerules ($(inst_includedir)/%.h): New rule.
19311 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19312 (install-others): Remove variable setting.
19313 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19314
38842f45
RH
193152012-03-08 Richard Henderson <rth@twiddle.net>
19316
67bb6da6
RH
19317 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19318 from macro to inline function; merge with the
19319 !__LIBC_INTERNAL_MATH_INLINES version.
19320 (__ieee754_sqrtf): Likewise.
19321
15194b4b
RH
19322 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19323 to inline function.
19324 (__rintf, __floor, __floorf): Likewise.
19325
64e21ede
RH
19326 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19327 macro to inline function.
19328 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19329
38842f45
RH
19330 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19331 not <math/math_private.h>.
19332
c64bf5fe
DM
193332012-03-08 David S. Miller <davem@davemloft.net>
19334
19335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19336 copyright year.
19337 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19338
82d86f28
TS
193392012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19340
19341 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19342 normalization.
19343 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19344 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19345
aea5d727
UD
193462012-03-08 Ulrich Drepper <drepper@gmail.com>
19347
19348 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19349 be defined individually, they must be defined as a block. Define
19350 S for printing a string instead of hidint the different by using a
19351 macro for adding the 'l'.
19352 * stdio-common/tst-fphex-wide.c: Adjust.
19353
70bca0a3
MP
193542012-03-07 Marek Polacek <polacek@redhat.com>
19355
19356 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19357
65b81130
MP
193582012-03-08 Marek Polacek <polacek@redhat.com>
19359
19360 [BZ #13806]
19361 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19362 * stdio-common/tst-fphex.c: Define a few macros to make the
19363 test reusable. Use them.
19364 * stdio-common/tst-fphex-wide.c: New file.
19365
07037eeb
JM
193662012-03-08 Joseph Myers <joseph@codesourcery.com>
19367
a7a93d50
JM
19368 [BZ #6911]
19369 * manual/macros.texi (gnusystems): New macro.
19370 (nongnusystems): Likewise.
19371 (gnulinuxhurdsystems): Likewise.
19372 (gnuhurdsystems): Likewise..
19373 (gnulinuxsystems): Likewise.
19374 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19375 variants of the GNU system, not "GNU system".
19376 * manual/conf.texi: Likewise.
19377 * manual/errno.texi: Likewise. Update example of errno macro
19378 expansion.
19379 * manual/filesys.texi: Likewise.
19380 (getumask): Document as specific to GNU/Hurd.
19381 * manual/install.texi: Likewise. Reword some references to
19382 GNU/Linux.
19383 * manual/intro.texi: Likewise.
19384 * manual/io.texi: Likewise.
19385 (File Name Portability): Detail which constraints are inapplicable
19386 to all GNU systems and which are only inapplicable to GNU/Hurd.
19387 * manual/job.texi: Likewise.
19388 * manual/llio.texi: Likewise.
19389 (O_NOCTTY): Document as present on GNU/Linux.
19390 * manual/maint.texi: Likewise.
19391 * manual/memory.texi: Likewise.
19392 * manual/pattern.texi: Likewise.
19393 * manual/pipe.texi: Likewise.
19394 * manual/process.texi: Likewise.
19395 * manual/resource.texi: Likewise.
19396 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19397 child on GNU/Hurd.
19398 * manual/setjmp.texi: Likewise.
19399 * manual/signal.texi: Likewise.
19400 * manual/startup.texi: Likewise.
19401 * manual/stdio.texi: Likewise.
19402 * manual/terminal.texi: Likewise.
19403 (ONLCR): Document as POSIX.
19404 (OXTABS): Document availability on GNU/Linux as XTABS.
19405 (ONOEOT): Document availability separately from other bits.
19406 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19407 * manual/time.texi: Likewise.
19408 * manual/users.texi: Likewise.
19409 * INSTALL: Regenerated.
19410 * sysdeps/gnu/errlist.c: Regenerated.
19411
07037eeb
JM
19412 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19413 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19414 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19415 puts.
19416 * configure: Regenerated.
19417
d1d3431a
JM
194182012-03-07 Joseph Myers <joseph@codesourcery.com>
19419
af6a1e37
JM
19420 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19421 default includes instead of AC_HEADER_CHECK.
19422 * sysdeps/i386/configure: Regenerated.
19423
d1d3431a
JM
19424 [BZ #10716]
19425 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19426 * math/s_cacoshf.c (__cacoshf): Likewise.
19427 * math/s_cacoshl.c (__cacoshl): Likewise.
19428 * math/s_casinh.c (__casinh): Set signs of result from argument.
19429 * math/s_casinhf.c (__casinhf): Likewise.
19430 * math/s_casinhl.c (__casinhl): Likewise.
19431 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19432 (casinh_test): Add more tests.
19433 * sysdeps/i386/fpu/libm-test-ulps: Update.
19434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19435
482ff4da
UD
194362012-03-07 Ulrich Drepper <drepper@gmail.com>
19437
872fda05
UD
19438 * po/zh_TW.po: Update from translation team.
19439
a4300c7a
UD
19440 * login/Makefile (distribute): Remove variable.
19441 * catgets/Makefile: Likewise.
19442 * mach/Makefile: Likewise.
19443 * malloc/Makefile: Likewise.
19444 * misc/Makefile: Likewise.
19445 * iconv/Makefile: Likewise.
19446 * nscd/Makefile: Likewise.
19447 * hurd/Makefile: Likewise.
19448 * manual/Makefile: Likewise.
19449 * locale/Makefile: Likewise.
19450 * intl/Makefile: Likewise.
19451 * conform/Makefile: Likewise.
19452 * nss/Makefile: Likewise.
19453 * time/Makefile: Likewise.
19454 * soft-fp/Makefile: Likewise.
19455 * dirent/Makefile: Likewise.
19456 * gmon/Makefile: Likewise.
19457 * po/Makefile: Likewise.
19458 * rt/Makefile: Likewise.
19459 * socket/Makefile: Likewise.
19460 * math/Makefile: Likewise.
19461 * signal/Makefile: Likewise.
19462 * debug/Makefile: Likewise.
19463 * elf/Makefile: Likewise.
19464 * timezone/Makefile: Likewise.
19465 * stdlib/Makefile: Likewise.
19466 * iconvdata/Makefile: Likewise.
19467 * sunrpc/Makefile: Likewise.
19468 * io/Makefile: Likewise.
19469 * argp/Makefile: Likewise.
19470 * inet/Makefile: Likewise.
19471 * hesiod/Makefile: Likewise.
19472 * grp/Makefile: Likewise.
19473 * csu/Makefile: Likewise.
19474 * wctype/Makefile: Likewise.
19475 * crypt/Makefile: Likewise.
19476 * libio/Makefile: Likewise.
19477 * string/Makefile: Likewise.
19478 * nis/Makefile: Likewise.
19479 * resolv/Makefile: Likewise.
19480 * stdio-common/Makefile: Likewise.
19481 * wcsmbs/Makefile: Likewise.
19482 * dlfcn/Makefile: Likewise.
19483 * posix/Makefile: Likewise.
19484
3b7c4e74 19485 [BZ #6959]
482ff4da
UD
19486 * timezone/Makefile: Don't install timezone files, just the programs
19487 and scripts.
19488
f72ed77d
UD
194892012-03-06 Ulrich Drepper <drepper@gmail.com>
19490
a000466f
UD
19491 * nss/databases.def: Add missing gshadow entry.
19492
f72ed77d
UD
19493 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19494
a53b7a4e
MP
194952012-03-06 Marek Polacek <polacek@redhat.com>
19496
19497 [BZ #13726]
19498 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19499 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19500 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19501 * stdio-common/tst-long-dbl-fphex.c: New file.
19502
e9258400
DM
195032012-03-06 David S. Miller <davem@davemloft.net>
19504
19505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19506 (set_obp_int): New function.
19507 (get_obp_int): New function.
19508 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19510 Avoid unused variable warnings on 'val' and use builtin_expect.
19511 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19512 __builtin_expect.
e9258400
DM
19513 (INLINE_CLONE_SYSCALL): Likewise.
19514
3bd2c723
DM
195152012-03-05 David S. Miller <davem@davemloft.net>
19516
19517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19518
bbb78d03
AS
195192012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19520
884c5db4
AS
19521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19522
bbb78d03
AS
19523 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19524 only for |x| >= 40.
19525 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19526
1c9f702a 195272012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19528
19529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19530 Replace gettimeofday with __vdso_gettimeofday.
19531
7be16f82
RM
19532 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19533 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19534 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19535
19536 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19537 time with __vdso_time.
19538
ed58a00f
JM
195392012-03-05 Joseph Myers <joseph@codesourcery.com>
19540
19541 * manual/lang.texi (size_t): Note types to which size_t may be
19542 equivalent with the GNU C Library, but do not describe when
19543 differences between them are significant.
19544
30ee4ced
AJ
195452012-03-05 Andreas Jaeger <aj@suse.de>
19546
19547 * sysdeps/i386/fpu/libm-test-ulps: Update.
19548
b7cd39e8
JM
195492012-03-05 Joseph Myers <joseph@codesourcery.com>
19550
19551 [BZ #3976]
19552 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19553 (__ieee754_pow): Save and restore rounding mode and use
19554 round-to-nearest for main computations.
19555 * math/libm-test.inc (pow_test_tonearest): New function.
19556 (pow_test_towardzero): Likewise.
19557 (pow_test_downward): Likewise.
19558 (pow_test_upward): Likewise.
19559 (main): Call the new functions.
19560 * sysdeps/i386/fpu/libm-test-ulps: Update.
19561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19562
19563 [BZ #3976]
19564 * math/libm-test.inc (cosh_test_tonearest): New function.
19565 (cosh_test_towardzero): Likewise.
19566 (cosh_test_downward): Likewise.
19567 (cosh_test_upward): Likewise.
19568 (sinh_test_tonearest): Likewise.
19569 (sinh_test_towardzero): Likewise.
19570 (sinh_test_downward): Likewise.
19571 (sinh_test_upward): Likewise.
19572 (main): Call the new functions.
19573 * sysdeps/i386/fpu/libm-test-ulps: Update.
19574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19575
6c6a98c9
TV
195762012-03-05 Tom de Vries <tom@codesourcery.com>
19577
19578 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19579 default stack guard is set in last bytes.
19580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19581
21bb2d2e 195822012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19583
21bb2d2e 19584 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19585
21bb2d2e
AJ
19586 [BZ #13656]
19587 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19588 possibly allocate from heap instead of stack.
19589 * stdio-common/bug-vfprintf-nargs.c: New file.
19590 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19591
c6922934
AS
195922012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19593
19594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19595
bc957d53
MP
195962012-03-03 Marek Polacek <polacek@redhat.com>
19597
19598 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19599 * math/math_private.h: Likewise.
19600 * stdlib/tst-strtod.c: Likewise.
19601 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19602 * sysdeps/x86_64/bits/atomic.h: Likewise.
19603
6358490d
DM
196042012-03-02 David S. Miller <davem@davemloft.net>
19605
19606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19610 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19611 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19612 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19613 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19614
01ae168d
RM
196152012-03-02 Roland McGrath <roland@hack.frob.com>
19616
d9a17c07
RM
19617 [BZ #13792]
19618 * manual/examples/README: New file, says the example source files
19619 can be used under GPL>=2.
19620 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19621 line containing just "*/".
19622 * manual/examples/add.c: Add copyright header (GPL>=2).
19623 * manual/examples/argp-ex1.c: Likewise.
19624 * manual/examples/argp-ex2.c: Likewise.
19625 * manual/examples/argp-ex3.c: Likewise.
19626 * manual/examples/argp-ex4.c: Likewise.
19627 * manual/examples/atexit.c: Likewise.
19628 * manual/examples/db.c: Likewise.
19629 * manual/examples/dir.c: Likewise.
19630 * manual/examples/dir2.c: Likewise.
19631 * manual/examples/execinfo.c: Likewise.
19632 * manual/examples/filecli.c: Likewise.
19633 * manual/examples/filesrv.c: Likewise.
19634 * manual/examples/fmtmsgexpl.c: Likewise.
19635 * manual/examples/genpass.c: Likewise.
19636 * manual/examples/inetcli.c: Likewise.
19637 * manual/examples/inetsrv.c: Likewise.
19638 * manual/examples/isockad.c: Likewise.
19639 * manual/examples/longopt.c: Likewise.
19640 * manual/examples/memopen.c: Likewise.
19641 * manual/examples/memstrm.c: Likewise.
19642 * manual/examples/mkfsock.c: Likewise.
19643 * manual/examples/mkisock.c: Likewise.
19644 * manual/examples/mygetpass.c: Likewise.
19645 * manual/examples/pipe.c: Likewise.
19646 * manual/examples/popen.c: Likewise.
19647 * manual/examples/rprintf.c: Likewise.
19648 * manual/examples/search.c: Likewise.
19649 * manual/examples/select.c: Likewise.
19650 * manual/examples/setjmp.c: Likewise.
19651 * manual/examples/sigh1.c: Likewise.
19652 * manual/examples/sigusr.c: Likewise.
19653 * manual/examples/stpcpy.c: Likewise.
19654 * manual/examples/strdupa.c: Likewise.
19655 * manual/examples/strftim.c: Likewise.
19656 * manual/examples/strncat.c: Likewise.
19657 * manual/examples/subopt.c: Likewise.
19658 * manual/examples/swapcontext.c: Likewise.
19659 * manual/examples/termios.c: Likewise.
19660 * manual/examples/testopt.c: Likewise.
19661 * manual/examples/testpass.c: Likewise.
19662 * manual/examples/timeval_subtract.c: Likewise.
19663
01ae168d
RM
19664 [BZ #13792]
19665 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19666 function to ...
19667 * manual/timeval_subtract.c.texi: ... here, new file.
19668
49efa33d
DM
196692012-03-02 David S. Miller <davem@davemloft.net>
19670
19671 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19672
28afd92d
JM
196732012-03-02 Joseph Myers <joseph@codesourcery.com>
19674
804360ed
JM
19675 [BZ #3976]
19676 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19677 (__sin): Save and restore rounding mode and use round-to-nearest
19678 for all computations.
19679 (__cos): Save and restore rounding mode and use round-to-nearest
19680 for all computations.
19681 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19682 <fenv.h>.
19683 (tan): Save and restore rounding mode and use round-to-nearest for
19684 all computations.
19685 * math/libm-test.inc (cos_test_tonearest): New function.
19686 (cos_test_towardzero): Likewise.
19687 (cos_test_downward): Likewise.
19688 (cos_test_upward): Likewise.
19689 (sin_test_tonearest): Likewise.
19690 (sin_test_towardzero): Likewise.
19691 (sin_test_downward): Likewise.
19692 (sin_test_upward): Likewise.
19693 (tan_test_tonearest): Likewise.
19694 (tan_test_towardzero): Likewise.
19695 (tan_test_downward): Likewise.
19696 (tan_test_upward): Likewise.
19697 (main): Call the new functions.
19698 * sysdeps/i386/fpu/libm-test-ulps: Update.
19699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19700
a6d06d7b
JM
19701 [BZ #10135]
19702 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19703 small n, then large n, before computing and testing k+n.
19704 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19705 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19706 Likewise.
19707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19708 Likewise.
19709 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19710 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19711 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19712 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19713 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19714 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19715 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19716 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19717 * math/libm-test.inc (scalbn_test): Add more tests.
19718 (scalbln_test): Likewise.
19719
07e12bb3
JM
19720 * manual/filesys.texi (mode_t): Describe constraints on size and
19721 signedness, not exact equivalence to a particular type.
19722 (ino_t): Likewise.
19723 (ino64_t): Likewise.
19724 (dev_t): Likewise.
19725 (nlink_t): Likewise.
19726 (blkcnt_t): Likewise.
19727 (blkcnt64_t): Likewise.
19728 * manual/llio.texi (off_t): Likewise.
19729
28afd92d
JM
19730 [BZ #3976]
19731 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19732 (__ieee754_exp): Save and restore rounding mode and use
19733 round-to-nearest for all computations.
19734 * math/libm-test.inc (exp_test_tonearest): New function.
19735 (exp_test_towardzero): Likewise.
19736 (exp_test_downward): Likewise.
19737 (exp_test_upward): Likewise.
19738 (main): Call the new functions.
19739 * sysdeps/i386/fpu/libm-test-ulps: Update.
19740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19741
b1eeb65d
CD
197422012-03-01 Chris Demetriou <cgd@google.com>
19743
19744 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19745 have predictable order.
19746
53362a4b
DM
197472012-03-01 David S. Miller <davem@davemloft.net>
19748
3c969083
DM
19749 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19750
759707de
DM
19751 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19752 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19753 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19754 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19755
dfdb8ff2
DM
19756 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19757 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19758 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19760 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19761 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19762 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19763 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19764 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19765
ead89f96
DM
19766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19767
7f66bd07
DM
19768 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19769 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19770 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19771
53362a4b
DM
19772 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19773 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19774 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19775 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19776 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19777 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19778 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19779 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19780 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19781 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19782 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19783 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19785 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19786 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19788 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19789 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19790 * sysdeps/sparc/elf/configure: Regenerated.
19791
7b1902cb
JM
197922012-03-01 Joseph Myers <joseph@codesourcery.com>
19793
bec039bc
JM
19794 * configure.in (AS, LD): Require binutils 2.20 or later.
19795 * configure: Regenerated.
19796 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19797 as required minimum version.
19798 * INSTALL: Regenerated.
19799
7b1902cb
JM
19800 [BZ #2541]
19801 [BZ #4108]
19802 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19803 before squaring exponent.
19804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19805 bottom long double and 27 bits of top long double before squaring
19806 exponent.
19807 * math/libm-test.inc (erfc_test): Add more tests.
19808 * sysdeps/i386/fpu/libm-test-ulps: Update.
19809 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19811
f775c276
KT
198122012-03-01 Kai Tietz <ktietz@redhat.com>
19813
19814 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19815 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19816 containing bit-fields.
19817 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19818 * soft-fp/single.h (_FP_UNION_S): Likewise.
19819 * soft-fp/double.h (_FP_UNION_D): Likewise.
19820
5b8a4d4a
JM
198212012-02-29 Joseph Myers <joseph@codesourcery.com>
19822
0bab47b6
JM
19823 [BZ #13786]
19824 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19825 not include ../strcmp.S.
19826 [USE_AS_STRNCASECMP_L]: Likewise.
19827 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19828 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19829 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19830 (__strncasecmp_l_ia32): Define as alias to
19831 __strncasecmp_l_nonascii.
19832
0fcad3e2
JM
19833 [BZ #5794]
19834 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19835 * sysdeps/i386/fpu/libm-test-ulps: Update.
19836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19837
5b8a4d4a
JM
19838 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19840
8fdceb2e
JL
198412012-02-29 Jeff Law <law@redhat.com>
19842
19843 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19844 out of bounds read.
19845
1f393a11
MP
198462012-02-29 Marek Polacek <polacek@redhat.com>
19847
19848 [BZ #13706]
19849 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19850 * elf/Makefile: Add rules to run tst-unused-dep.out.
19851
8847f037
DM
198522012-02-28 David S. Miller <davem@davemloft.net>
19853
19854 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19855 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19856 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19857 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19858 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19859 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19860
169d7f11
JM
198612012-02-29 Joseph Myers <joseph@codesourcery.com>
19862
19863 * math/libm-test.inc (llround_test): Move one test from
19864 lround_test. Use TEST_f_L in moved test.
19865 (lround_test): Move misplaced test to llround_test. Add testcase
19866 from bug 2561.
19867
39adf059
UD
198682012-02-28 Ulrich Drepper <drepper@gmail.com>
19869
19870 * sysdeps/x86_64/fpu/e_expf.S: New file.
19871 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19872
71b5d1c5
SB
198732012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19874
19875 [BZ #13637]
19876 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19877 of remain_len that may cause incomplete multi-byte character and
19878 false match.
19879 * posix/bug-regex33.c: New file.
19880 * posix/Makefile (tests): Add bug-regex33.
19881
1f77f049
JM
198822012-02-28 Joseph Myers <joseph@codesourcery.com>
19883
19884 * manual/macros.texi: New file.
19885 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19886 * manual/libc.texinfo: Include macros.texi.
19887 * manual/creatute.texi: Likewise.
19888 * manual/install.texi: Likewise.
19889 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19890 @glibcadj{} in references to the GNU C Library.
19891 * manual/charset.texi: Likewise.
19892 * manual/conf.texi: Likewise.
19893 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19894 when not using those macros.
19895 * manual/creature.texi: Likewise.
19896 * manual/crypt.texi: Likewise.
19897 * manual/errno.texi: Likewise.
19898 * manual/filesys.texi: Likewise.
19899 * manual/header.texi: Likewise.
19900 * manual/install.texi: Likewise.
19901 * manual/intro.texi: Likewise.
19902 * manual/io.texi: Likewise.
19903 * manual/job.texi: Likewise.
19904 * manual/lang.texi: Likewise.
19905 * manual/libc.texiinfo: Likewise.
19906 * manual/llio.texi: Likewise.
19907 * manual/locale.texi: Likewise.
19908 * manual/maint.texi: Likewise.
19909 * manual/math.texi: Likewise.
19910 * manual/memory.texi: Likewise.
19911 * manual/message.texi: Likewise.
19912 * manual/nss.texi: Likewise.
19913 * manual/pattern.texi: Likewise.
19914 * manual/process.texi: Likewise.
19915 * manual/resource.texi: Likewise.
19916 * manual/search.texi: Likewise.
19917 * manual/setjmp.texi: Likewise.
19918 * manual/signal.texi: Likewise.
19919 * manual/socket.texi: Likewise.
19920 * manual/startup.texi: Likewise.
19921 * manual/stdio.texi: Likewise.
19922 * manual/string.texi: Likewise.
19923 * manual/sysinfo.texi: Likewise.
19924 * manual/syslog.texi: Likewise.
19925 * manual/terminal.texi: Likewise.
19926 * manual/time.texi: Likewise.
19927 * manual/users.texi: Likewise.
19928 * INSTALL: Regenerated.
19929 * NOTES: Regenerated.
d40c5d54 19930 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19931
450bf206
AS
199322012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19933
19934 * include/dirent.h: Include <dirstream.h> before
19935 <dirent/dirent.h>.
19936
741a235b
DM
199372012-02-28 David S. Miller <davem@davemloft.net>
19938
19939 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19940 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19941 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19942 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19943
d6b5aa58
DM
199442012-02-27 David S. Miller <davem@davemloft.net>
19945
1aff59a3
DM
19946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19948 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19949 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19950
d6b5aa58
DM
19951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19952 frame pointer instead of stack pointer relative arg slot.
19953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19954 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19955 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19956
433f48bf
CD
199572012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19958
19959 [BZ #3992]
19960 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19961
d674b76d
DM
199622012-02-27 David S. Miller <davem@davemloft.net>
19963
19964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19968 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19969 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19970 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19971 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19972
0e7727f7
JM
199732012-02-27 Joseph Myers <joseph@codesourcery.com>
19974
19975 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19976 later. Allow versions 5-9.
43be4ca2 19977 * configure: Regenerated.
0e7727f7
JM
19978 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19979 required minimum version and 4.6 as recommended version. Do not
19980 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19981 * INSTALL: Regenerated.
0e7727f7 19982
a78bc654
DM
199832012-02-27 David S. Miller <davem@davemloft.net>
19984
428d5830
DM
19985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19989 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19990 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19991 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19992 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19993
a78bc654
DM
19994 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19995 manipulate bits before adding and subtracting TWO112[sx].
19996 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19997
4579f81c
RM
199982012-02-27 Roland McGrath <roland@hack.frob.com>
19999
36c8acb4
RM
20000 [BZ #13775]
20001 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20002 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20003 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20004 being in POSIX, because they are in 1003.1-2008.
20005
84ad622b
RM
20006 * rt/tst-aio.c: Include <fcntl.h>.
20007 * rt/tst-aio7.c: Likewise.
20008 * rt/tst-aio64.c: Likewise.
20009
4579f81c
RM
20010 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20011
abd923db
JM
200122012-02-27 Joseph Myers <joseph@codesourcery.com>
20013
20014 * manual/install.texi (--with-headers): Describe headers as
20015 interface headers, not private headers.
20016 (Specific advice for GNU/Linux systems): Describe use of headers
20017 from "make headers_install", not private headers from older
20018 kernels.
43be4ca2 20019 * INSTALL: Regenerated.
abd923db
JM
20020 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20021 Change to 2.6.19.
20022 * sysdeps/unix/sysv/linux/configure: Regenerated.
20023
6664049b
JM
20024 * manual/llio.texi (fclean): Remove documentation.
20025
bb8b6697
JM
20026 * manual/Makefile (libc-texi-generated): New variable. Include
20027 version.texi.
20028 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20029 $(libc-texi-generated), not duplicated list of files.
20030 (version.texi, stamp-version): New rules.
20031 (realclean): Remove $(libc-texi-generated), not individual files
20032 from that list. Do not remove dir-add.texinfo.
20033 * manual/libc.texinfo: Comment out uses of edition numbers and
20034 references to printed manual. Remove last-updated dates.
20035 (EDITION): Comment out.
20036 (ISBN): Likewise.
20037 (VERSION, UPDATED): Remove.
20038 (version.texi): Include.
20039
12e5c3b9
AS
200402012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20041
20042 * sysdeps/posix/spawni.c: Include <signal.h>.
20043 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20044 * sysdeps/pthread/aio_fsync.c: Likewise.
20045
4efeffc1 200462012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20047
ba63ba08
UD
20048 * conform/Makefile (tests): Run only when not cross-compiling and
20049 when fast-check is not defined.
20050
d94a4670
UD
20051 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20052 * conform/data/limits.h-data: Fixes for POSIX2008.
20053 * conform/run-conformtest.sh: Run all tests.
20054 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20055 headers.
20056 * include/bits/dlfcn.h: Likewise.
20057 * include/langinfo.h: Likewise.
20058 * include/monetary.h: Likewise.
20059 * include/sys/poll.h: Likewise.
20060
20061 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20062 for __USE_GNU.
20063 * posix/spawn.h: Define __need_sigset_t.
20064 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20065 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20066 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20067 to get sigevent_t only.
20068 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20069 only for __USE_GNU.
20070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20071 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20072 process_vm_writev only for __USE_GNU.
20073 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20074
20075 * conform/Makefile: For now ignore errors from run-conformtest.
20076 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20077 POSIX to avoid namespace pollution. Don't prepend headers.
20078 * conform/data/aio.h-data: Fixes for POSIX testing.
20079 * conform/data/fcntl.h-data: Likewise.
20080 * conform/data/glob.h-data: Likewise.
20081 * conform/data/grp.h-data: Likewise.
20082 * conform/data/pthread.h-data: Likewise.
20083 * conform/data/pwd.h-data: Likewise.
20084 * conform/data/signal.h-data: Likewise.
20085 * conform/data/spawn.h-data: Likewise.
20086 * conform/data/stdio.h-data: Likewise.
20087 * conform/data/stdlib.h-data: Likewise.
20088 * conform/data/stropts.h-data: Likewise.
20089 * conform/data/sys/mman.h-data: Likewise.
20090 * conform/data/sys/stat.h-data: Likewise.
20091 * conform/data/sys/types.h-data: Likewise.
20092 * conform/data/sys/wait.h-data: Likewise.
20093 * conform/data/time.h-data: Likewise.
20094 * conform/data/unistd.h-data: Likewise.
20095 * conform/data/utime.h-data: Likewise.
20096
20097 * io/sys/stat.h: fchmod was always in POSIX.
20098 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20099 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20100 * rt/aio.h: Define __need_timespec before including <time.h>.
20101 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20102 struct. Add forward declaration of pthread_attr_t and use it in
20103 sigevent.
20104 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20105 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20106 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20107 always remove CLK_TCK definition.
20108
c20105c3
AS
201092012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20110
20111 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20112
7a270350
UD
201132012-02-25 Ulrich Drepper <drepper@gmail.com>
20114
31341567
UD
20115 * conform/run-conformtest.sh: New file.
20116 * conform/Makefile: Run run-conformtest for tests.
20117 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20118 support.
20119
20120 * conform/data/uchar.h-data: New file.
20121 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20122 * conform/data/arpa/inet.h-data: Likewise.
20123 * conform/data/assert.h-data: Likewise.
20124 * conform/data/complex.h-data: Likewise.
20125 * conform/data/cpio.h-data: Likewise.
20126 * conform/data/ctype.h-data: Likewise.
20127 * conform/data/dirent.h-data: Likewise.
20128 * conform/data/dlfcn.h-data: Likewise.
20129 * conform/data/errno.h-data: Likewise.
20130 * conform/data/fcntl.h-data: Likewise.
20131 * conform/data/float.h-data: Likewise.
20132 * conform/data/fmtmsg.h-data: Likewise.
20133 * conform/data/fnmatch.h-data: Likewise.
20134 * conform/data/ftw.h-data: Likewise.
20135 * conform/data/glob.h-data: Likewise.
20136 * conform/data/grp.h-data: Likewise.
20137 * conform/data/iconv.h-data: Likewise.
20138 * conform/data/inttypes.h-data: Likewise.
20139 * conform/data/langinfo.h-data: Likewise.
20140 * conform/data/libgen.h-data: Likewise.
20141 * conform/data/limits.h-data: Likewise.
20142 * conform/data/locale.h-data: Likewise.
20143 * conform/data/math.h-data: Likewise.
20144 * conform/data/monetary.h-data: Likewise.
20145 * conform/data/mqueue.h-data: Likewise.
20146 * conform/data/ndbm.h-data: Likewise.
20147 * conform/data/net/if.h-data: Likewise.
20148 * conform/data/netdb.h-data: Likewise.
20149 * conform/data/netinet/in.h-data: Likewise.
20150 * conform/data/nl_types.h-data: Likewise.
20151 * conform/data/poll.h-data: Likewise.
20152 * conform/data/pthread.h-data: Likewise.
20153 * conform/data/pwd.h-data: Likewise.
20154 * conform/data/regex.h-data: Likewise.
20155 * conform/data/sched.h-data: Likewise.
20156 * conform/data/search.h-data: Likewise.
20157 * conform/data/semaphore.h-data: Likewise.
20158 * conform/data/setjmp.h-data: Likewise.
20159 * conform/data/signal.h-data: Likewise.
20160 * conform/data/spawn.h-data: Likewise.
20161 * conform/data/stdarg.h-data: Likewise.
20162 * conform/data/stdio.h-data: Likewise.
20163 * conform/data/stdlib.h-data: Likewise.
20164 * conform/data/string.h-data: Likewise.
20165 * conform/data/strings.h-data: Likewise.
20166 * conform/data/stropts.h-data: Likewise.
20167 * conform/data/sys/ipc.h-data: Likewise.
20168 * conform/data/sys/mman.h-data: Likewise.
20169 * conform/data/sys/msg.h-data: Likewise.
20170 * conform/data/sys/resource.h-data: Likewise.
20171 * conform/data/sys/select.h-data: Likewise.
20172 * conform/data/sys/sem.h-data: Likewise.
20173 * conform/data/sys/shm.h-data: Likewise.
20174 * conform/data/sys/socket.h-data: Likewise.
20175 * conform/data/sys/stat.h-data: Likewise.
20176 * conform/data/sys/statvfs.h-data: Likewise.
20177 * conform/data/sys/time.h-data: Likewise.
20178 * conform/data/sys/timeb.h-data: Likewise.
20179 * conform/data/sys/times.h-data: Likewise.
20180 * conform/data/sys/types.h-data: Likewise.
20181 * conform/data/sys/uio.h-data: Likewise.
20182 * conform/data/sys/un.h-data: Likewise.
20183 * conform/data/sys/utsname.h-data: Likewise.
20184 * conform/data/sys/wait.h-data: Likewise.
20185 * conform/data/syslog.h-data: Likewise.
20186 * conform/data/tar.h-data: Likewise.
20187 * conform/data/termios.h-data: Likewise.
20188 * conform/data/utime.h-data: Likewise.
20189 * conform/data/utmpx.h-data: Likewise.
20190 * conform/data/varargs.h-data: Likewise.
20191 * conform/data/wchar.h-data: Likewise.
20192 * conform/data/wctype.h-data: Likewise.
20193 * conform/data/wordexp.h-data: Likewise.
20194
20195 * include/stropts.h: New file.
20196 * include/uchar.h: New file.
20197 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20198 * include/assert.h: Likewise.
20199 * include/ctype.h: Likewise.
20200 * include/dirent.h: Likewise.
20201 * include/dlfcn.h: Likewise.
20202 * include/fcntl.h: Likewise.
20203 * include/fnmatch.h: Likewise.
20204 * include/glob.h: Likewise.
20205 * include/grp.h: Likewise.
20206 * include/libio.h: Likewise.
20207 * include/locale.h: Likewise.
20208 * include/math.h: Likewise.
20209 * include/net/if.h: Likewise.
20210 * include/netdb.h: Likewise.
20211 * include/netinet/in.h: Likewise.
20212 * include/pthread.h: Likewise.
20213 * include/pwd.h: Likewise.
20214 * include/regex.h: Likewise.
20215 * include/sched.h: Likewise.
20216 * include/search.h: Likewise.
20217 * include/setjmp.h: Likewise.
20218 * include/signal.h: Likewise.
20219 * include/stdio.h: Likewise.
20220 * include/stdlib.h: Likewise.
20221 * include/string.h: Likewise.
20222 * include/sys/cdefs.h: Likewise.
20223 * include/sys/mman.h: Likewise.
20224 * include/sys/msg.h: Likewise.
20225 * include/sys/resource.h: Likewise.
20226 * include/sys/select.h: Likewise.
20227 * include/sys/socket.h: Likewise.
20228 * include/sys/stat.h: Likewise.
20229 * include/sys/statvfs.h: Likewise.
20230 * include/sys/time.h: Likewise.
20231 * include/sys/times.h: Likewise.
20232 * include/sys/uio.h: Likewise.
20233 * include/sys/utsname.h: Likewise.
20234 * include/sys/wait.h: Likewise.
20235 * include/termios.h: Likewise.
20236 * include/time.h: Likewise.
20237 * include/ulimit.h: Likewise.
20238 * include/unistd.h: Likewise.
20239 * include/utime.h: Likewise.
20240 * include/wchar.h: Likewise.
20241 * include/wctype.h: Likewise.
20242 * include/wordexp.h: Likewise.
20243
20244 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20245
7a270350
UD
20246 * time/time.h: TIME_UTC must be a macro.
20247 Make timespec_get available for ISO C11 only as well.
20248
7724defc
UD
202492012-02-24 Ulrich Drepper <drepper@gmail.com>
20250
20251 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20252 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20253
6b1d1d46
JM
202542012-02-24 Joseph Myers <joseph@codesourcery.com>
20255
20256 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20257
0f8bbd69
JM
202582012-02-24 Joseph Myers <joseph@codesourcery.com>
20259
20260 * manual/texinfo.tex: Update to version 2012-01-19.16.
20261
66ab80bc
JM
202622012-02-24 Joseph Myers <joseph@codesourcery.com>
20263
20264 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20265
74981cc5
RM
202662012-02-24 Roland McGrath <roland@hack.frob.com>
20267
ee968201
RM
20268 [BZ #13738]
20269 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20270 * manual/fdl-1.3.texi: New file.
20271 * manual/fdl-1.1.texi: File removed.
20272
74981cc5
RM
20273 [BZ #13738]
20274 * manual/libc.texinfo (FDL_VERSION): New @set.
20275 Use it for mention of FDL in cover text.
20276 (Documentation License): Use it in @include file name.
20277
7bb764bc
JM
202782012-02-22 Joseph Myers <joseph@codesourcery.com>
20279 Roland McGrath <roland@hack.frob.com>
20280
20281 [BZ #5461]
20282 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20283 not LONG_LONG_MAX and LONG_LONG_MIN.
20284 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20285 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20286 name.
20287 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20288
6cbeae47
JM
202892012-02-22 Joseph Myers <joseph@codesourcery.com>
20290
20291 [BZ #2547]
20292 [BZ #11365]
20293 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20294 manipulate bits before adding and subtracting TWO23[sx].
20295 * math/libm-test.inc (nearbyint_test): Add more tests.
20296
fe45ce09
JM
202972012-02-22 Joseph Myers <joseph@codesourcery.com>
20298
20299 [BZ #2548]
20300 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20301 bits before adding and subtracting TWO23[sx].
20302 * math/libm-test.inc (rint_test): Add more tests.
20303 (rint_test_tonearest): Likewise.
20304 (rint_test_towardzero): Likewise.
20305 (rint_test_downward): Likewise.
20306 (rint_test_upward: Likewise.
20307
ff3b3d82
JM
203082012-02-22 Joseph Myers <joseph@codesourcery.com>
20309
20310 [BZ #10110]
20311 * include/stdc-predef.h: New file. Extracted from features.h.
20312 * include/features.h: Include stdc-predef.h.
20313 * Makefile (headers): Add stdc-predef.h.
20314 * CONFORMANCE (Compiler limitations): Update.
20315
ef0aab35
JM
203162012-02-22 Joseph Myers <joseph@codesourcery.com>
20317
20318 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20319
58639409
DM
203202012-02-21 David S. Miller <davem@davemloft.net>
20321
20322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20324
c0e70b25
DM
203252012-02-20 David S. Miller <davem@davemloft.net>
20326
20327 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20328 using a normal save/restore sequence, rather than allocating a
20329 dummy stack frame just to store a frame pointer and restore.
20330 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20331
fb06851d
JM
203322012-02-21 Joseph Myers <joseph@codesourcery.com>
20333
20334 * manual/install.texi: Fix stray word in line-wrapped comment.
20335
7a8b71c3
DM
203362012-02-20 David S. Miller <davem@davemloft.net>
20337
d510c123
DM
20338 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20339 both binutils and gcc support GOTDATA.
20340
0722d7c2
DM
20341 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20342 "rd %pc" in the PIC register setup sequences.
20343
3d2b3019
DM
20344 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20345 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20346 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20347 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20348 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20350 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20351 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20353 (SYSCALL_ERROR_HANDLER): Likewise.
20354 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20355 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20357 (SYSCALL_ERROR_HANDLER): Likewise.
20358
c80098a9
DM
20359 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20360 (HAVE_GCC_GOTDATA): New.
20361 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20362 relocation support in both binutils and gcc.
20363 * sysdeps/sparc/elf/configure: Regenerate.
20364
3a2545a0
DM
20365 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20366 * sysdeps/sparc/sparc32/elf/configure: Delete.
20367 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20368 * sysdeps/sparc/sparc64/elf/configure: Delete.
20369 * sysdeps/sparc/elf/configure.in: New file.
20370 * sysdeps/sparc/elf/configure: Generate.
20371
7a8b71c3
DM
20372 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20373 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20374 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20375 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20376 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20377
f1e86fca
JM
203782012-02-21 Joseph Myers <joseph@codesourcery.com>
20379
20380 * manual/install.texi: Do not mention specific glibc version
20381 numbers.
20382 * manual/libc.texinfo (VERSION, UPDATED): Update.
20383 (@copying): Use @copyright{} and range of years.
20384
0e7dfaef
JM
203852012-02-21 Joseph Myers <joseph@codesourcery.com>
20386
20387 [BZ #13695]
20388 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20389 [crti.S not in sysdirs] (generated): Do not append.
20390 [crti.S not in sysdirs] (omit-deps): Likewise.
20391 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20392 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20393 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20394 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20395 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20396 Likewise.
20397 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20398 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20399 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20400 * csu/defs.awk: Remove file.
20401 * sysdeps/generic/initfini.c: Likewise.
20402 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20403 variable.
20404 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20405 Likewise.
20406
599af3ca
JM
204072012-02-20 Joseph Myers <joseph@codesourcery.com>
20408
20409 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20410 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20411 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20412 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20413 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20414 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20415 <bits/epoll.h>.
20416 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20417 (__EPOLL_PACKED): Define to empty if not defined by
20418 <bits/epoll.h>.
20419 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20421 bits/epoll.h.
20422
0e499750
JM
204232012-02-20 Joseph Myers <joseph@codesourcery.com>
20424
20425 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20426 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20427 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20428 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20429 <bits/timerfd.h>.
20430 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20432 bits/timerfd.h.
20433
5ad91f6e
JM
204342012-02-20 Joseph Myers <joseph@codesourcery.com>
20435
20436 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20437 in C locale.
20438 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20439 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20440 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20442
06b99b02
AJ
204432012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20444
20445 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20446 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20447
7638c0fd
AS
204482012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20449
20450 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20451 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20452 defined.
20453 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20454 Likewise.
20455 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20456 entry for 2.16.
20457
92221550
AJ
204582012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20459
20460 * math/w_acos.c: Use non-signaling floating-point comparisons.
20461 * math/w_acosf.c: Likewise.
20462 * math/w_acosh.c: Likewise.
20463 * math/w_acoshf.c: Likewise.
20464 * math/w_acoshl.c: Likewise.
20465 * math/w_acosl.c: Likewise.
20466 * math/w_asin.c: Likewise.
20467 * math/w_asinf.c: Likewise.
20468 * math/w_asinl.c: Likewise.
20469 * math/w_atanh.c: Likewise.
20470 * math/w_atanhf.c: Likewise.
20471 * math/w_atanhl.c: Likewise.
20472 * math/w_exp2.c: Likewise.
20473 * math/w_exp2f.c: Likewise.
20474 * math/w_exp2l.c: Likewise.
20475 * math/w_j0.c: Likewise.
20476 * math/w_j0f.c: Likewise.
20477 * math/w_j0l.c: Likewise.
20478 * math/w_j1.c: Likewise.
20479 * math/w_j1f.c: Likewise.
20480 * math/w_j1l.c: Likewise.
20481 * math/w_jn.c: Likewise.
20482 * math/w_jnf.c: Likewise.
20483 * math/w_log.c: Likewise.
20484 * math/w_log10.c: Likewise.
20485 * math/w_log10f.c: Likewise.
20486 * math/w_log10l.c: Likewise.
20487 * math/w_log2.c: Likewise.
20488 * math/w_log2f.c: Likewise.
20489 * math/w_log2l.c: Likewise.
20490 * math/w_logf.c: Likewise.
20491 * math/w_logl.c: Likewise.
20492 * math/w_sqrt.c: Likewise.
20493 * math/w_sqrtf.c: Likewise.
20494 * math/w_sqrtl.c: Likewise.
20495 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20496 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20497 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20498 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20499 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20500
ebaf36eb
JM
205012012-02-19 Joseph Myers <joseph@codesourcery.com>
20502
20503 [BZ #9739]
20504 * manual/string.texi (strnlen): Use correct parameter name in
20505 equivalent expression.
20506
71c254a6
JM
205072012-02-19 Joseph Myers <joseph@codesourcery.com>
20508
20509 [BZ #11174]
20510 * manual/users.texi (seteuid): Consistently use neweuid for
20511 argument name.
20512
16d2c631
JM
205132012-02-19 Joseph Myers <joseph@codesourcery.com>
20514
20515 [BZ #13704]
20516 * manual/nss.texi (Services in the NSS configuration): Correct
20517 list of services in example configuration file.
20518
cd837b09
NB
205192012-02-19 Nick Bowler <nbowler@draconx.ca>
20520
20521 [BZ #11322]
20522 * manual/arith.texi: Remove statements about negative zero
20523 behaving identically to zero.
20524
02c4bbad
JM
205252012-02-18 Joseph Myers <joseph@codesourcery.com>
20526
20527 [BZ #5993]
20528 * manual/install.texi: Do not document upgrading from libc5.
20529
366842e7
JM
205302012-02-18 Joseph Myers <joseph@codesourcery.com>
20531
20532 [BZ #4596]
20533 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20534
dd54084d
DM
205352012-02-18 David S. Miller <davem@davemloft.net>
20536
20537 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20538 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20539 %o7 across the call.
20540 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20541 instead.
20542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20543 SETUP_PIC_REG_LEAF.
20544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20545 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20546 * sysdeps/sparc/crtn.S: Likewise.
20547
2bcc53a3
UD
205482012-02-17 Ulrich Drepper <drepper@gmail.com>
20549
20550 * aout/Makefile: Remove.
20551
09c093b5
RK
205522012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20553
20554 [BZ #13058]
20555 * manual/examples/argp-ex1.c (main): Format definition in GNU
20556 style.
20557 * manual/examples/argp-ex2.c (main): Likewise.
20558 * manual/examples/argp-ex3.c (main): Likewise.
20559 * manual/examples/argp-ex4.c (main): Likewise.
20560 * manual/examples/longopt.c (main): Use new-style prototype
20561 definition.
20562 * manual/examples/strncat.c (main): Specify return type and use
20563 (void) for arguments.
20564 * manual/examples/subopt.c (main): Use char **argv argument.
20565
2ee633a2
JM
205662012-02-17 Joseph Myers <joseph@codesourcery.com>
20567
20568 [BZ #5077]
20569 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20570 rounding modes.
20571
0520adde
FB
205722012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20573
20574 [BZ #6907]
20575 * manual/string.texi (strchr): Change when strchrnul is
20576 recommended.
20577
3f4081cd
DGM
205782012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20579
20580 [BZ #174]
20581 * manual/locale.texi (setlocale): Document LOCPATH.
20582
d1b10e78
JM
205832012-02-17 Joseph Myers <joseph@codesourcery.com>
20584
20585 [BZ #10210]
20586 * manual/process.texi (execle): Move @dots{} before last argument.
20587
79c6869c
PB
205882012-02-17 Paul Bolle <pebolle@tiscali.nl>
20589
20590 [BZ #12047]
20591 * manual/charset.texi (Generic Charset Conversion): Fix typo
20592 (LC_TYPE -> LC_CTYPE).
20593
cc6e48bc
NB
205942012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20595
20596 [BZ #5805]
20597 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20598 (scalbnf): Likewise.
20599 (scalbnl): Likewise.
20600 (scalbln): Likewise.
20601 (scalblnf): Likewise.
20602 (scalblnl): Likewise.
20603 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20604 (vwarnx): Likewise.
20605 (verr): Likewise.
20606 (verrx): Likewise.
20607 * manual/filesys.texi (telldir): Use braces around return type.
20608 * manual/llio.texi (mmap): Add space after comma.
20609 (mmap64): Likewise.
20610 * manual/math.texi (jn): Use @var{} on parameter names.
20611 (jnf): Likewise.
20612 (jnl): Likewise.
20613 (yn): Likewise.
20614 (ynf): Likewise.
20615 (ynl): Likewise.
20616 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20617 line.
20618 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20619 "...".
20620 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20621 (sched_get_priority_max): Likewise.
20622 * manual/signal.texi (sigvec): Add space after comma.
20623 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20624 names.
20625 (if_indextoname): Likewise.
20626 (if_freenameindex): Likewise.
20627 (sendto): Use ',' instead of '.' in prototype.
20628 * manual/startup.texi (syscall): Use @dots{} instead of literal
20629 "...".
20630 * manual/stdio.texi (__fpending): Separate initial words of
20631 paragraph from @deftypefun line.
20632 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20633 "...".
20634 (vsyslog): Use @var{} on parameter names.
20635 * manual/terminal.texi (stty): Use @var{} on parameter names.
20636 * manual/users.texi (getutmp): Use @var{} on parameter names.
20637 (getutmpx): Likewise.
20638
5b23062f
JM
206392012-02-17 Joseph Myers <joseph@codesourcery.com>
20640
20641 [BZ #6884]
20642 * manual/stdio.texi (fopen): Fix typos in description of
20643 ",ccs=STRING".
20644
8dee4833
AJ
206452012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20646
20647 [BZ #4026]
20648 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20649 get clock_id definition.
20650
9078ce93
TS
206512012-02-17 Thomas Schwinge <thomas@schwinge.name>
20652
20653 [BZ #4822]
20654 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20655 (madvise): Cast every argument to void on its own.
20656
3835c55f
JM
206572012-02-17 Joseph Myers <joseph@codesourcery.com>
20658
20659 [BZ #9902]
20660 * manual/startup.texi (Exit Status): Fix typo.
20661
35c47e37
JM
206622012-02-17 Joseph Myers <joseph@codesourcery.com>
20663
20664 [BZ #10140]
20665 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20666 * manual/examples/argp-ex2.c: Likewise.
20667 * manual/examples/argp-ex3.c: Likewise.
20668
e3b69ca7
RH
206692012-02-16 Richard Henderson <rth@redhat.com>
20670
20671 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20672 * sysdeps/s390/s390-32/initfini.c: Remove.
20673 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20674 * sysdeps/s390/s390-64/initfini.c: Remove.
20675
df83af67
KK
206762012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20677
20678 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20679 compiler output for sysdeps/generic/initfini.c.
20680 * sysdeps/sh/elf/initfini.c: Remove file.
20681
f63f3380
DM
206822012-02-16 David S. Miller <davem@davemloft.net>
20683
fb59b3a4
DM
20684 [BZ #11494]
20685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20686
f63f3380
DM
20687 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20688 * sysdeps/sparc/crti.S: New file.
20689 * sysdeps/sparc/crtn.S: New file.
20690 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20691 * sysdeps/sparc/sparc64/Makefile: Likewise.
20692
df6a4a4a
MF
206932012-02-15 Mike Frysinger <vapier@gentoo.org>
20694
6dd8f3dc 20695 [BZ #3335]
df6a4a4a
MF
20696 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20697
1cac7236
RM
206982012-02-15 Roland McGrath <roland@hack.frob.com>
20699
d2c736f8
RM
20700 [BZ #4822]
20701 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20702
1cac7236
RM
20703 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20704 (write, read, close): Likewise.
20705 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20706
8e475601
JM
207072012-02-15 Joseph Myers <joseph@codesourcery.com>
20708
20709 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20710 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20711 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20712 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20713 <bits/signalfd.h>.
20714 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20716 bits/signalfd.h.
20717
ed656b40
MP
207182012-02-14 Marek Polacek <polacek@redhat.com>
20719
20720 * sysdeps/x86_64/crti.S: New file.
20721 * sysdeps/x86_64/crtn.S: New file.
20722 * sysdeps/x86_64/elf/initfini.c: Remove file.
20723
2a979d3a
JM
207242012-02-13 Joseph Myers <joseph@codesourcery.com>
20725
20726 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20727 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20728 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20729 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20730 <bits/inotify.h>.
20731 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20733 bits/inotify.h.
20734
2a418ac3
JM
207352012-02-13 Joseph Myers <joseph@codesourcery.com>
20736
20737 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20738 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20739 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20740 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20741 <bits/eventfd.h>.
20742 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20744 bits/eventfd.h.
20745
fb779be7
TS
207462012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20747
e19e83c5
RM
20748 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20749 __feraiseexcept instead of feraiseexcept.
7c35ffed 20750
fb779be7
TS
20751 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20752 nanosleep invocations.
20753 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20754 strings, and add error checking for a nanosleep invocations.
20755
59ba27a6
PE
207562012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20757
20758 Replace FSF snail mail address with URLs, as per GNU coding standards.
20759 Most of the snail mail addresses were wrong anyway, and omitting
20760 them makes the source code easier to maintain. Almost all of the
20761 changes are to license notices and to locale LC_IDENTIFICATION
20762 addresses, except for this one:
20763 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20764 not its snail mail address.
20765
57b957eb
RH
207662012-02-09 Richard Henderson <rth@twiddle.net>
20767
af850b1c
RH
20768 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20769 of kernel-features.h.
20770
57b957eb
RH
20771 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20772
6b73181a
MP
207732012-02-08 Marek Polacek <polacek@redhat.com>
20774
20775 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20776 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20777 * sysdeps/gnu/_G_config.h: Likewise.
20778 * sysdeps/generic/_G_config.h: Likewise.
20779
26ecc33a
AS
207802012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20781
6c6dbc63
AS
20782 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20783 tests.
20784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20785
e216c012
AS
20786 * sysdeps/powerpc/powerpc32/crti.S: New file.
20787 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20788 * sysdeps/powerpc/powerpc64/crti.S: New file.
20789 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20790
26ecc33a
AS
20791 * Makeconfig (have-initfini): Don't set.
20792 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20793 * configure.in (nopic_initfini): Don't substitute.
20794 * config.h.in (HAVE_INITFINI): Don't #undef.
20795 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20796 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20797
3add8e13
JM
207982012-02-08 Joseph Myers <joseph@codesourcery.com>
20799
20800 Support crti.S and crtn.S provided directly by architectures.
20801 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20802 [crti.S in sysdirs] (omit-deps): Likewise.
20803 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20804 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20805 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20806 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20807 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20808 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20809 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20810 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20811 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20812 compiler output for sysdeps/generic/initfini.c.
20813 * sysdeps/i386/elf/Makefile: Remove file.
20814 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20815
a22f12b4
MP
208162012-02-07 Marek Polacek <polacek@redhat.com>
20817
20818 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20819 * sysdeps/gnu/_G_config.h: Likewise.
20820 * sysdeps/mach/hurd/_G_config.h: Likewise.
20821
148cf100
MP
208222012-02-07 Marek Polacek <polacek@redhat.com>
20823
20824 * math/Makefile (tests): Add tst-CMPLX2.
20825 * math/tst-CMPLX2.c: New file.
20826
cfdc0dd7
AS
208272012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20828
84ba42c4
AS
20829 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20830
cfdc0dd7
AS
20831 * math/libm-test.inc (jn_test): Add missing L suffix.
20832
622c86f4
MP
208332012-02-06 Marek Polacek <polacek@redhat.com>
20834
20835 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20836 * sysdeps/i386/fpu/e_powf.S: Likewise.
20837 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20838 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20839 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20840 * sysdeps/i386/fpu/e_pow.S: Likewise.
20841 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20842 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20843 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20844 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20845 * sysdeps/i386/fpu/e_log2.S: Likewise.
20846 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20847 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20848 * sysdeps/i386/fpu/e_powl.S: Likewise.
20849 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20850 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20851 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20852 * sysdeps/i386/fpu/e_logl.S: Likewise.
20853 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20854 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20855 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20856 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20857 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20858 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20859 * sysdeps/i386/fpu/e_log.S: Likewise.
20860 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20861 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20862 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20863 * sysdeps/i386/fpu/e_logf.S: Likewise.
20864 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20865 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20866 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20867 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20868 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20869 * sysdeps/i386/fpu/e_log10.S: Likewise.
20870 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20871 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20872 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20873 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20874 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20875 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20876 * sysdeps/i386/asm-syntax.h: Likewise.
20877 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20878 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20879 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20880 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20881 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20882 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20883 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20884 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20885 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20886 * sysdeps/powerpc/sysdep.h: Likewise.
20887 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20888 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20889
d4a54ac6
JM
208902012-02-06 Joseph Myers <joseph@codesourcery.com>
20891
20892 [BZ #411]
20893 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20894
314054ea
JM
208952012-02-06 Joseph Myers <joseph@codesourcery.com>
20896
20897 * sysdeps/i386/sysdep.h: Include <features.h>.
20898 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20899 version.
20900
d8e0ca50
JM
209012012-02-05 Joseph Myers <joseph@codesourcery.com>
20902
20903 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20904 Define.
20905 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20906 LOAD_PIC_REG_STR.
20907
b1da7dd9
JM
209082012-02-03 Joseph Myers <joseph@codesourcery.com>
20909
20910 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20911 (SETUP_PIC_REG): Use GET_PC_THUNK.
20912 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20913 macro.
20914
9a1d9254
JM
209152012-02-03 Joseph Myers <joseph@codesourcery.com>
20916
20917 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20918 for non-PIC compilation.
20919 (SETUP_PIC_REG): Add .p2align directive.
20920 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20921 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20922 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20923 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20924 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20925 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20926 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20927 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20928 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20929 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20930 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20931 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20932 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20933 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20934 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20935 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20936 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20937 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20938 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20939 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20941 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20942 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20943 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20944 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20946 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20947 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20948 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20949 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20950 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20951 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20952 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20953 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20954 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20955 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20956 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20957 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20958 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20959 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20960 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20961
65dc3b75
JM
209622012-02-03 Joseph Myers <joseph@codesourcery.com>
20963
20964 * math/tst-CMPLX.c: Include <stdio.h>.
20965
d55bf177
JM
209662012-01-31 Joseph Myers <joseph@codesourcery.com>
20967
20968 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20969 float.
20970 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20971 * sysdeps/sparc/bits/mathdef.h: Likewise.
20972
69db4f8f
MP
209732012-01-31 Marek Polacek <polacek@redhat.com>
20974
20975 * libio/libio.h: Don't define _PARAMS.
20976 * locale/programs/config.h: Don't define PARAMS.
20977 * stdlib/strtol_l.c: Likewise.
20978 (__strtol_l): Remove PARAMS from the prototype.
20979
41b81892
UD
209802012-01-31 Ulrich Drepper <drepper@gmail.com>
20981
3b49edc0
UD
20982 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20983 names. Just use the correct names. Remove unnecessary wrapper
20984 functions.
20985 * malloc/arena.c: Likewise.
20986 * malloc/hooks.c: Likewise.
20987
41b81892
UD
20988 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20989 ARENA_TEST says not to. Simplify test for creation of a new arena.
20990 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20991
27a25b6e
UD
209922012-01-30 Ulrich Drepper <drepper@gmail.com>
20993
20994 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20995 into tail calls.
20996 (update_get_addr): New function.
20997 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20998 GET_ADDR_MODULE parameter.
20999
c8a89e7d
JM
210002012-01-30 Joseph Myers <joseph@codesourcery.com>
21001
21002 * crypt/cert.c: Remove __STDC__ conditionals.
21003 * crypt/crypt-entry.c: Likewise.
21004 * crypt/crypt_util.c: Likewise.
21005 * libio/filedoalloc.c: Likewise.
21006 * libio/fileops.c: Likewise.
21007 * libio/genops.c: Likewise.
21008 * libio/iofclose.c: Likewise.
21009 * libio/iofdopen.c: Likewise.
21010 * libio/iofopen.c: Likewise.
21011 * libio/iofopen64.c: Likewise.
21012 * libio/iogetdelim.c: Likewise.
21013 * libio/iopopen.c: Likewise.
21014 * libio/obprintf.c: Likewise.
21015 * libio/oldfileops.c: Likewise.
21016 * libio/oldiofclose.c: Likewise.
21017 * libio/oldiofdopen.c: Likewise.
21018 * libio/oldiofopen.c: Likewise.
21019 * libio/oldiopopen.c: Likewise.
21020 * libio/wfiledoalloc.c: Likewise.
21021 * libio/wgenops.c: Likewise.
21022 * locale/programs/xmalloc.c: Likewise.
21023 * misc/syslog.c: Likewise.
21024 * stdio-common/xbug.c: Likewise.
21025 * string/memchr.c: Likewise.
21026 * string/memcmp.c: Likewise.
21027 * string/memrchr.c: Likewise.
21028 * string/rawmemchr.c: Likewise.
21029 * sysdeps/posix/getcwd.c: Likewise.
21030 * time/strftime_l.c: Likewise.
21031
3b100462
JM
210322012-01-30 Joseph Myers <joseph@codesourcery.com>
21033
21034 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21035 * config.make.in (config-cflags-sse2avx): Define.
21036 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21037 Fix typo.
21038
607998af
CM
210392012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21040
21041 * scripts/config.guess: Update from upstream config git repository.
21042 * scripts/config.sub: Likewise.
21043
3601428f
CM
210442012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21045
3ac8b282
CM
21046 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21047 (EM_NUM): Update.
21048 (R_TILEPRO_*, R_TILEGX_*): New macros.
21049
e034841e
CM
21050 * scripts/firstversions.awk: Fix bug in version range handling.
21051
540d7568
CM
21052 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21053
3601428f
CM
21054 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21055
463de862
CM
21056 * include/sys/epoll.h: New file.
21057 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21058 libc_hidden_def.
21059
73139a76
UD
210602012-01-28 Ulrich Drepper <drepper@gmail.com>
21061
96bc5b45
UD
21062 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21063 Avoid unnecessary __WORDSIZE == 64 test.
21064 (fmaxf): Use VEX format if possible.
21065 (fmax): Likewise.
21066 (fminf): Likewise.
21067 (fmin): Likewise.
21068
56f6f6a2
UD
21069 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21070 * math/math_private.h: Remove libc_fegetround* and
21071 libc_fesetround*.
21072 * sysdeps/i386/configure.in: Check for -msse2avx.
21073 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21074 also if SSE2AVX is defined.
21075 Remove libc_fegetround* and libc_fesetround*.
21076 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21077 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21078 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21079 of HAS_YMM_USABLE.
21080 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21081 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21082 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21083 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21084 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21085
73139a76
UD
21086 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21087
d73f93a4
AZ
210882012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21089
21090 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21091 size is not set.
21092 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21093
6ee65ed6
UD
210942012-01-27 Ulrich Drepper <drepper@gmail.com>
21095
21096 [BZ #13618]
21097 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21098 relocation.
21099 * Makeconfig (libm): Define.
21100 * elf/Makefile: Add rules to build and run tst-relsort1.
21101 * elf/tst-relsort1.c: New file.
21102 * elf/tst-relsort1mod1.c: New file.
21103 * elf/tst-relsort1mod2.c: New file.
21104
8db21882
JM
211052012-01-27 Joseph Myers <joseph@codesourcery.com>
21106
21107 * math/s_ldexp.c: Remove __STDC__ conditionals.
21108 * math/s_ldexpf.c: Likewise.
21109 * math/s_ldexpl.c: Likewise.
21110 * math/s_nextafter.c: Likewise.
21111 * math/s_nexttowardf.c: Likewise.
21112 * math/s_significand.c: Likewise.
21113 * math/s_significandf.c: Likewise.
21114 * math/s_significandl.c: Likewise.
21115 * math/w_jnl.c: Likewise.
21116 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21117 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21118 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21119 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21120 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21123 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21124 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21125 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21126 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21127 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21128 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21129 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21130 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21131 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21132 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21133 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21135 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21136 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21137 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21138 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21139 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21140 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21141 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21142 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21143 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21144 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21145 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21146 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21147 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21148 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21149 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21150 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21151 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21152 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21153 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21154 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21155 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21156 * sysdeps/ieee754/k_standard.c: Likewise.
21157 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21158 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21159 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21160 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21161 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21166 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21170 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21171 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21174 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21175 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21176 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21177 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21181 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21182 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21185 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21186 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21187 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21188 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21189 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21190 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21192 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21193 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21194 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21195 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21196 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21197 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21218 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21223 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21231 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21232 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21233 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21236 * sysdeps/ieee754/s_matherr.c: Likewise.
21237 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21238 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21239 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21240 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21241
965a54a4
JM
212422012-01-26 Joseph Myers <joseph@codesourcery.com>
21243
21244 * crypt/md5.h: Remove __STDC__ conditionals.
21245 * libio/libioP.h: Likewise.
21246 * locale/programs/config.h: Likewise.
21247 * sysdeps/generic/sysdep.h: Likewise.
21248 * sysdeps/i386/asm-syntax.h: Likewise.
21249 * sysdeps/s390/asm-syntax.h: Likewise.
21250 * sysdeps/unix/sysdep.h: Likewise.
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21253
7071ad79
JM
212542012-01-26 Joseph Myers <joseph@codesourcery.com>
21255
21256 * libio/libio.h: Remove __STDC__ conditionals.
21257 * malloc/obstack.h: Likewise.
21258 * math/complex.h: Likewise.
21259 * math/math.h: Likewise.
21260 * sysdeps/generic/_G_config.h: Likewise.
21261 * sysdeps/gnu/_G_config.h: Likewise.
21262 * sysdeps/mach/hurd/_G_config.h: Likewise.
21263 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21264 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21265 * sysdeps/sparc/bits/mathdef.h: Likewise.
21266
afc5ed09
UD
212672012-01-26 Ulrich Drepper <drepper@gmail.com>
21268
21269 [BZ #13583]
21270 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21271 Clean up HAS_* macros.
afc5ed09 21272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21273 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21274 possible.
21275 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21276 HAS_AVX.
21277 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21278 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21279 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21280 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21281 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21282
bdb6de1d
JM
212832012-01-25 Joseph Myers <joseph@codesourcery.com>
21284
21285 * elf/tst-unique3.cc (gets): Remove declaration.
21286 * elf/tst-unique3lib.cc (gets): Likewise.
21287 * elf/tst-unique3lib2.cc (gets): Likewise.
21288 * elf/tst-unique4.cc (gets): Likewise.
21289
b15549e6
UD
212902012-01-24 Ulrich Drepper <drepper@gmail.com>
21291
21292 * include/stdio.h: Add C++ protection. Add gets declarations and
21293 definitions.
21294 * debug/tst-chk1.c: Don't declare gets here.
21295 * stdio-common/tst-gets.c: Likewise.
21296
a037381f
JM
212972012-01-24 Joseph Myers <joseph@codesourcery.com>
21298
21299 * posix/glob: Remove directory.
21300
f1d4aa75
JM
213012012-01-24 Joseph Myers <joseph@codesourcery.com>
21302
21303 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21304
81c0c964
PT
213052012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21306
21307 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21308 of the non-standard EPFNOSUPPORT.
21309
0ea698ae
ST
213102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21311
21312 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21313 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21314 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21315
d220b117
UD
213162012-01-21 Ulrich Drepper <drepper@gmail.com>
21317
21318 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21319
3e1aa84e
UD
213202012-01-20 Ulrich Drepper <drepper@gmail.com>
21321
21322 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21323 transient errors.
21324 * nscd/grpcache.c (cache_addgr): Likewise.
21325 * nscd/hstcache.c (cache_addhst): Likewise.
21326 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21327 * nscd/pwdcache.c (cache_addpw): Likewise.
21328 * nscd/servicescache.c (cache_addserv): Likewise.
21329
400aa020
UD
213302012-01-16 Ulrich Drepper <drepper@gmail.com>
21331
d77e7869
UD
21332 * malloc/malloc.c: Various cleanups.
21333 * malloc/hooks.c: Likewise.
21334
400aa020
UD
21335 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21336 * stdlib/bug-fmtmsg1.c: New file.
21337
21338 * stdlib/fmtmsg.c (init): Add missing unlock.
21339 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21340
e0a309cf
MP
213412012-01-12 Marek Polacek <polacek@redhat.com>
21342
21343 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21344 and _GNU_SOURCE.
21345
929d11c7
WS
213462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21347
21348 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21349 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21350 macro to ensure uniqueness of label name.
21351 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21352 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21353
41d0e869
UD
213542012-01-11 Ulrich Drepper <drepper@gmail.com>
21355
0cc5ed3b
UD
21356 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21357
41d0e869
UD
21358 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21359 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21360 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21362
a47a831a
UD
213632012-01-10 Ulrich Drepper <drepper@gmail.com>
21364
daa891c0
UD
21365 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21366
21367 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21368 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21369 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21370
e58ef0f2
UD
21371 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21372
a47a831a 21373 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21374 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21375 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21377
21378 * math/bits/math-finite.h: Add ldexp support.
21379
a0bfc9c7
MP
213802012-01-10 Marek Polacek <polacek@redhat.com>
21381
21382 * locale/programs/localedef.h (show_archive_content): Add noreturn
21383 attribute.
21384
d6e97a1d
UD
213852012-01-09 Ulrich Drepper <drepper@gmail.com>
21386
21387 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21388
d5835c26
UD
213892012-01-08 Ulrich Drepper <drepper@gmail.com>
21390
e5f484c6
UD
21391 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21392
d5835c26
UD
21393 * io/Makefile (headers): Add bits/poll2.h.
21394
d1f741e9
WS
213952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21396
21397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21398 typo #include statement.
21399
ec09c1c4
UD
214002012-01-08 Ulrich Drepper <drepper@gmail.com>
21401
21402 * include/sys/cdefs.h: Define __attribute_alloc_size.
21403 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21404 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21405 * elf/pldd.c: Likewise.
21406 * iconv/iconv_charmap.c: Likewise.
21407 * iconv/iconvconfig.c: Likewise.
21408 * iconv/strtab.c: Likewise.
21409 * locale/programs/locale.c: Likewise.
21410 * locale/programs/localedef.h: Likewise.
21411 * locale/programs/simple-hash.c: Likewise.
21412 * nscd/nscd.h: Likewise.
21413 * nss/makedb.c: Likewise.
21414 * sysdeps/generic/ldconfig.h: Likewise.
21415 * locale/programs/localedef.c: Remove xmalloc prototype.
21416 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21417
20b38e03
PP
214182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21419
21420 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21421 appropriate.
21422
a0da5fe1
UD
214232012-01-08 Ulrich Drepper <drepper@gmail.com>
21424
1d5a644a 21425 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21426 * math/tst-CMPLX.c: New file.
1d5a644a 21427
8784a6db
UD
21428 * math/complex.h (CMPLXL): Fix typo.
21429
d9a216c0
UD
21430 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21431 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21432 GLIBC_2.16.
21433 * debug/tst-chk1.c: Add poll and ppoll tests.
21434 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21435 * include/sys/poll.h: Add hidden proto for ppoll.
21436 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21437 * sysdeps/mach/hurd/ppoll.c: Likewise.
21438 * io/ppoll.c: Likewise.
21439 * debug/poll_chk.c: New file.
21440 * debug/ppoll_chk.c: New file.
21441 * include/bits/poll2.h: New file.
21442 * io/bits/poll2.h: New file.
21443
ac097f5c
UD
21444 [BZ #1350]
21445 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21446
2119dcfa
UD
21447 * configure.in: static is always set to yes. Remove.
21448 * config.make.in: Don't set build-static.
21449 * Makeconfig: Remove use of build-static.
21450 * dlfcn/Makefile: Likewise.
21451 * elf/Makefile: Likewise.
21452 * math/Makefile: Likewise.
21453 * misc/Makefile: Likewise.
21454 * nptl/Makefile: Likewise.
21455 * sysdeps/mach/hurd/Makefile: Likewise.
21456
121766a9
UD
21457 * configure.in: PWD_P is not used anymore.
21458 * config.make.in: Remove PWD_P entry.
21459
51a1d39c 21460 * configure.in: Remove last remnants of RANLIB.
8720d066 21461 No need to check for signed size_t anymore.
215f4bdc
UD
21462 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21463 and IA-64.
3857022a 21464 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21465 * aclocal.m4: Likewise.
21466
d3ed7225
UD
21467 * wcsmbs/mbrtoc16.c: Implement using towc function.
21468 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21469 * wcsmbs/wcsmbsload.c: Likewise.
21470 * iconv/gconv_simple.c: Likewise.
21471 * iconv/gconv_int.h: Likewise.
21472 * iconv/gconv_builtin.h: Likewise.
21473 * iconv/iconv_prog.c: Remove CHAR16 handling.
21474
21475 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21476
21477 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21478
a0da5fe1
UD
21479 * configure.in: Remove --with-elf and --enable-bounded options.
21480 Dont set base_machine for ia64. More non-ELF conditions removed.
21481 Remove testing and setting of leading underscore information.
21482 * config.make.in (build-bounded): Set to no.
21483 * config.h.in: Remove NO_UNDERSCORES entry.
21484 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21485 them.
21486 * csu/start.c: Remove !NO_UNDERSCORE code.
21487 * locale/localeinfo.h: Likewise.
21488 * sysdeps/generic/machine-gmon.h: Likewise.
21489 * sysdeps/generic/sysdep.h: Likewise.
21490 * sysdeps/i386/sysdep.h: Likewise.
21491 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21492 * sysdeps/mach/sysdep.h: Likewise.
21493 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21494 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21495 * sysdeps/sh/sysdep.h: Likewise.
21496 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21497 * sysdeps/unix/i386/sysdep.S: Likewise.
21498 * sysdeps/unix/sparc/start.c: Likewise.
21499 * sysdeps/unix/sparc/sysdep.S: Likewise.
21500 * sysdeps/unix/sparc/sysdep.h: Likewise.
21501 * sysdeps/unix/start.c: Likewise.
21502 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21503 * sysdeps/x86_64/sysdep.h: Likewise.
21504
df78418a
UD
215052012-01-07 Ulrich Drepper <drepper@gmail.com>
21506
a784e502
UD
21507 [BZ #13553]
21508 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21509 for non-gcc.
21510 * argp/argp-fmtstream.h: Use const instead __const.
21511 * argp/argp.h: Likewise.
21512 * assert/assert.h: Likewise.
21513 * bits/fenv.h: Likewise.
21514 * bits/sched.h: Likewise.
21515 * bits/sigset.h: Likewise.
21516 * bits/sigthread.h: Likewise.
21517 * catgets/nl_types.h: Likewise.
21518 * conform/data/pthread.h-data: Likewise.
21519 * crypt/crypt-private.h: Likewise.
21520 * crypt/crypt.h: Likewise.
21521 * crypt/crypt_util.c: Likewise.
21522 * ctype/ctype.h: Likewise.
21523 * debug/execinfo.h: Likewise.
21524 * debug/mbsnrtowcs_chk.c: Likewise.
21525 * debug/mbsrtowcs_chk.c: Likewise.
21526 * debug/wcsnrtombs_chk.c: Likewise.
21527 * debug/wcsrtombs_chk.c: Likewise.
21528 * debug/wcstombs_chk.c: Likewise.
21529 * dirent/dirent.h: Likewise.
21530 * dlfcn/dlfcn.h: Likewise.
21531 * elf/neededtest4.c: Likewise.
21532 * grp/grp.h: Likewise.
21533 * gshadow/gshadow.h: Likewise.
21534 * iconv/gconv.h: Likewise.
21535 * iconv/gconv_int.h: Likewise.
21536 * iconv/gconv_simple.c: Likewise.
21537 * iconv/iconv.h: Likewise.
21538 * iconv/loop.c: Likewise.
21539 * iconv/skeleton.c: Likewise.
21540 * include/aio.h: Likewise.
21541 * include/aliases.h: Likewise.
21542 * include/argz.h: Likewise.
21543 * include/arpa/inet.h: Likewise.
21544 * include/assert.h: Likewise.
21545 * include/dirent.h: Likewise.
21546 * include/dlfcn.h: Likewise.
21547 * include/execinfo.h: Likewise.
21548 * include/fcntl.h: Likewise.
21549 * include/fenv.h: Likewise.
21550 * include/glob.h: Likewise.
21551 * include/grp.h: Likewise.
21552 * include/libintl.h: Likewise.
21553 * include/mntent.h: Likewise.
21554 * include/netdb.h: Likewise.
21555 * include/pwd.h: Likewise.
21556 * include/rpc/netdb.h: Likewise.
21557 * include/sched.h: Likewise.
21558 * include/search.h: Likewise.
21559 * include/shadow.h: Likewise.
21560 * include/signal.h: Likewise.
21561 * include/stdio.h: Likewise.
21562 * include/stdlib.h: Likewise.
21563 * include/string.h: Likewise.
21564 * include/sys/socket.h: Likewise.
21565 * include/sys/stat.h: Likewise.
21566 * include/sys/statfs.h: Likewise.
21567 * include/sys/statvfs.h: Likewise.
21568 * include/sys/syslog.h: Likewise.
21569 * include/sys/time.h: Likewise.
21570 * include/sys/uio.h: Likewise.
21571 * include/time.h: Likewise.
21572 * include/unistd.h: Likewise.
21573 * include/utmp.h: Likewise.
21574 * include/wchar.h: Likewise.
21575 * include/wctype.h: Likewise.
21576 * inet/aliases.h: Likewise.
21577 * inet/arpa/inet.h: Likewise.
21578 * inet/netinet/ether.h: Likewise.
21579 * inet/netinet/in.h: Likewise.
21580 * intl/libintl.h: Likewise.
21581 * io/bits/fcntl2.h: Likewise.
21582 * io/fcntl.h: Likewise.
21583 * io/ftw.h: Likewise.
21584 * io/sys/poll.h: Likewise.
21585 * io/sys/stat.h: Likewise.
21586 * io/sys/statfs.h: Likewise.
21587 * io/sys/statvfs.h: Likewise.
21588 * io/utime.h: Likewise.
21589 * libio/bits/stdio.h: Likewise.
21590 * libio/bits/stdio2.h: Likewise.
21591 * libio/libio.h: Likewise.
21592 * libio/libioP.h: Likewise.
21593 * libio/stdio.h: Likewise.
21594 * locale/lc-ctype.c: Likewise.
21595 * locale/locale.h: Likewise.
21596 * login/utmp.h: Likewise.
21597 * malloc/arena.c: Likewise.
21598 * malloc/malloc.c: Likewise.
21599 * malloc/malloc.h: Likewise.
21600 * malloc/mcheck.c: Likewise.
21601 * malloc/mtrace.c: Likewise.
21602 * math/bits/mathcalls.h: Likewise.
21603 * math/fenv.h: Likewise.
21604 * math/math_private.h: Likewise.
21605 * misc/bits/error.h: Likewise.
21606 * misc/bits/syslog.h: Likewise.
21607 * misc/err.h: Likewise.
21608 * misc/error.h: Likewise.
21609 * misc/fstab.h: Likewise.
21610 * misc/mntent.h: Likewise.
21611 * misc/regexp.h: Likewise.
21612 * misc/search.h: Likewise.
21613 * misc/sgtty.h: Likewise.
21614 * misc/sys/mman.h: Likewise.
21615 * misc/sys/syslog.h: Likewise.
21616 * misc/sys/uio.h: Likewise.
21617 * misc/sys/xattr.h: Likewise.
21618 * misc/ttyent.h: Likewise.
21619 * nis/rpcsvc/ypclnt.h: Likewise.
21620 * nss/nss.h: Likewise.
21621 * posix/bits/unistd.h: Likewise.
21622 * posix/fnmatch.h: Likewise.
21623 * posix/glob.h: Likewise.
21624 * posix/sched.h: Likewise.
21625 * posix/spawn.h: Likewise.
21626 * posix/sys/wait.h: Likewise.
21627 * posix/unistd.h: Likewise.
21628 * posix/wordexp.h: Likewise.
21629 * pwd/pwd.h: Likewise.
21630 * resolv/netdb.h: Likewise.
21631 * resource/sys/resource.h: Likewise.
21632 * rt/aio.h: Likewise.
21633 * rt/bits/mqueue2.h: Likewise.
21634 * rt/mqueue.h: Likewise.
21635 * shadow/shadow.h: Likewise.
21636 * signal/signal.h: Likewise.
21637 * socket/send.c: Likewise.
21638 * socket/sendto.c: Likewise.
21639 * socket/sys/socket.h: Likewise.
21640 * stdio-common/printf.h: Likewise.
21641 * stdlib/bits/stdlib.h: Likewise.
21642 * stdlib/fmtmsg.h: Likewise.
21643 * stdlib/monetary.h: Likewise.
21644 * stdlib/stdlib.h: Likewise.
21645 * stdlib/ucontext.h: Likewise.
21646 * streams/stropts.h: Likewise.
21647 * string/argz.h: Likewise.
21648 * string/bits/string2.h: Likewise.
21649 * string/string.h: Likewise.
21650 * string/strings.h: Likewise.
21651 * sunrpc/rpc/auth.h: Likewise.
21652 * sunrpc/rpc/auth_des.h: Likewise.
21653 * sunrpc/rpc/clnt.h: Likewise.
21654 * sunrpc/rpc/netdb.h: Likewise.
21655 * sunrpc/rpc/pmap_clnt.h: Likewise.
21656 * sunrpc/rpc/xdr.h: Likewise.
21657 * sysdeps/generic/inttypes.h: Likewise.
21658 * sysdeps/generic/net/if.h: Likewise.
21659 * sysdeps/generic/sys/swap.h: Likewise.
21660 * sysdeps/gnu/net/if.h: Likewise.
21661 * sysdeps/gnu/utmpx.h: Likewise.
21662 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21663 * sysdeps/i386/i486/bits/string.h: Likewise.
21664 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21665 * sysdeps/s390/bits/string.h: Likewise.
21666 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21667 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21668 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21669 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21670 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21671 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21672 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21673 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21674 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21675 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21676 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21677 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21678 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21679 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21680 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21681 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21682 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21684 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21685 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21686 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21687 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21688 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21689 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21690 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21691 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21692 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21693 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21694 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21695 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21696 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21697 * sysvipc/sys/ipc.h: Likewise.
21698 * sysvipc/sys/msg.h: Likewise.
21699 * sysvipc/sys/sem.h: Likewise.
21700 * sysvipc/sys/shm.h: Likewise.
21701 * termios/termios.h: Likewise.
21702 * time/sys/time.h: Likewise.
21703 * time/time.h: Likewise.
21704 * wcsmbs/bits/wchar2.h: Likewise.
21705 * wcsmbs/uchar.h: Likewise.
21706 * wcsmbs/wchar.h: Likewise.
21707 * wctype/wctype.h: Likewise.
21708
0269750c
UD
21709 [BZ #13551]
21710 * Makeconfig: Remove all but ELF support including AIX support.
21711 * Makerules: Likewise.
21712 * config.h.in: Likewise.
21713 * config.make.in: Likewise.
21714 * configure: Likewise.
21715 * configure.in: Likewise.
21716 * csu/Makefile: Likewise.
21717 * csu/version.c: Likewise.
21718 * debug/Makefile: Likewise.
21719 * dlfcn/Makefile: Likewise.
21720 * elf/Makefile: Likewise.
21721 * extra-lib.mk: Likewise.
21722 * iconv/Makefile: Likewise.
21723 * include/libc-symbols.h: Likewise.
21724 * include/shlib-compat.h: Likewise.
21725 * resolv/Makefile: Likewise.
21726 * resolv/res_libc.c: Likewise.
21727 * rt/Makefile: Likewise.
21728 * sysdeps/i386/asm-syntax.h: Likewise.
21729 * sysdeps/i386/sysdep.h: Likewise.
21730 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21731 * sysdeps/mach/sysdep.h: Likewise.
21732 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21733 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21734 * sysdeps/s390/asm-syntax.h: Likewise.
21735 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21736 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21737 * sysdeps/sh/sysdep.h: Likewise.
21738 * sysdeps/unix/sparc/sysdep.h: Likewise.
21739 * sysdeps/wordsize-32/divdi3.c: Likewise.
21740 * sysdeps/x86_64/sysdep.h: Likewise.
21741
00bbd29b
UD
21742 * argp/Versions: Remove _argp_unlock_xxx.
21743
21744 [BZ #13559]
21745 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21746 * abilist/libBrokenLocale.abilist: Likewise.
21747 * abilist/libanl.abilist: Likewise.
21748 * abilist/libc.abilist: Likewise.
21749 * abilist/libcrypt.abilist: Likewise.
21750 * abilist/libdl.abilist: Likewise.
21751 * abilist/libm.abilist: Likewise.
21752 * abilist/libnsl.abilist: Likewise.
21753 * abilist/libpthread.abilist: Likewise.
21754 * abilist/libresolv.abilist: Likewise.
21755 * abilist/librt.abilist: Likewise.
21756 * abilist/libthread_db.abilist: Likewise.
21757 * abilist/libutil.abilist: Likewise.
21758 * abilist/libnss_db.abilist: New file.
21759
21760 * scripts/abilist.awk: Add support for indirect functions.
21761
a2693a0e
UD
21762 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21763
3f05895f
UD
21764 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21765
ecb6fb48
UD
21766 * shlib-versions: Remove entries for ports architectures.
21767
664f8cb9
UD
21768 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21769 files in ports.
21770 * elf/stackguard-macros.h: Remove support for IA-64.
21771 * elf/tst-auditmod1.c: Likewise.
21772 * sysdeps/generic/ldsodefs.h: Likewise.
21773
7ae81d88
UD
21774 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21775 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21776 configure files.
21777
bdeba135
UD
21778 [BZ #13552]
21779 * configure.in: Remove --enable-omitfp support.
21780 * FAQ.in: Adjust.
21781 * config.make.in: Likewise.
21782 * Makeconfig: Likewise.
21783 * manual/install.texi: Likewise.
21784
d75a0a62
UD
21785 In case anyone cares, the IA-64 architecture could move to ports.
21786 * sysdeps/ia64/*: Removed.
21787 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21788 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21789
dcc9756b
UD
21790 [BZ #13555]
21791 * configure.in: Remove entries for unsupported architectures.
21792
d3761ebc 21793 [BZ #13533]
9954432e
UD
21794 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21795 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21796 routines.
21797 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21798 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21799 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21800 fall back to using wcrtomb.
21801 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21802 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21803 renaming.
21804 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21805 * wcsmbs/tst-c16c32-1.c: New file.
21806
21807 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21808 local variable.
21809
c3a87236
UD
21810 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21811
28926a1b
UD
21812 * elf/tst-unique3.cc: Add explicit declaration of gets.
21813 * elf/tst-unique3lib.cc: Likewise.
21814 * elf/tst-unique3lib2.cc: Likewise.
21815 * elf/tst-unique4.cc: Likewise.
21816
df78418a
UD
21817 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21818
8ecd6b2a
JM
218192012-01-06 Joseph Myers <joseph@codesourcery.com>
21820
21821 [BZ #13566]
21822 * assert/assert.h (static_assert): Don't define for C++.
21823 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21824 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21825
9f115170
UD
218262012-01-03 Ulrich Drepper <drepper@gmail.com>
21827
5e0d0300
UD
21828 * iconv/loop.c (single loop): Fix assertion in storing of
21829 remaining bytes.
21830
9f115170
UD
21831 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21832
81fb02b0
UD
218332012-01-01 Ulrich Drepper <drepper@gmail.com>
21834
21835 * posix/getconf.c: Update copyright year.
21836 * nss/getent.c: Likewise.
a316c1f6 21837 * nss/makedb.c: Likewise.
81fb02b0
UD
21838 * iconv/iconvconfig.c: Likewise.
21839 * iconv/iconv_prog.c: Likewise.
21840 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21841 * elf/pldd.c: Likewise.
21842 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21843 * catgets/gencat.c: Likewise.
21844 * csu/version.c: Likewise.
21845 * elf/ldd.bash.in: Likewise.
21846 * elf/sprof.c (print_version): Likewise.
21847 * locale/programs/locale.c: Likewise.
21848 * locale/programs/localedef.c: Likewise.
a316c1f6 21849 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21850 * nscd/nscd.c (print_version): Likewise.
21851 * debug/xtrace.sh: Likewise.
21852 * malloc/memusage.sh: Likewise.
21853 * malloc/mtrace.pl: Likewise.
21854 * debug/catchsegv.sh: Likewise.
21855
2ba92745
JJ
218562011-12-30 Jakub Jelinek <jakub@redhat.com>
21857
21858 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21859 pure attribute.
21860
dadebdae
UD
218612011-12-24 Ulrich Drepper <drepper@gmail.com>
21862
d3761ebc 21863 [BZ #13533]
db6af3eb
UD
21864 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21865 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21866 transformations.
21867 * iconv/gconv_int.h: Likewise.
21868 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21869 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21870 from libc for GLIBC_2.16.
21871 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21872 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21873 * wcsmbs/uchar.h: Really define mbstate_t.
21874 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21875 * wcsmbs/c16rtomb.c: New file.
21876 * wcsmbs/mbrtoc16.c: New file.
21877 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21878 for C/POSIX locale.
21879 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21880 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21881
dadebdae
UD
21882 * wcsmbs/wchar.h: Add missing __restrict.
21883
67371b56
UD
218842011-12-23 Ulrich Drepper <drepper@gmail.com>
21885
74033a25
UD
21886 [BZ #13532]
21887 * time/Makefile (routines): Add timespec_get.
21888 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21889 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21890 timespec for ISO C11.
21891 * time/timespec_get.c: New file.
21892 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21893 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21894
380d7e87
UD
21895 [BZ #13531]
21896 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21897 * stdlib/stdlib.h: Declare aligned_alloc.
21898 * Versions.def: Add GLIBC_2.16 for libc.
21899 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21900
4e9e7a35
UD
21901 [BZ 13527]
21902 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21903 ISO C11.
21904
380d7e87 21905 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21906 code.
21907
03a71829
UD
21908 [BZ #13528]
21909 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21910
839e283e
UD
21911 [BZ #13529]
21912 * assert/assert.h (static_assert): Define.
21913
ce5294e2 21914 * version.h: Update for 2.16 development version.
90fa7312 21915
8d44e150 21916 [BZ #13526]
d7809905
UD
21917 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21918 _ISOC11_SOURCE.
21919
c0da14cd
UD
21920 * version.h (RELEASE): Bump for 2.15 release.
21921 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21922
530a3249
MP
21923 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21924 Patch by Marek Polacek <mpolacek@redhat.com>.
21925
67371b56
UD
21926 * bits/byteswap.h: Protect long long constants with __extension__.
21927 * sysdeps/i386/bits/byteswap.h: Likewise.
21928 * sysdeps/ia64/bits/byteswap.h: Likewise.
21929 * sysdeps/s390/bits/byteswap.h: Likewise.
21930 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21931
15db4de1
LD
219322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21933
21934 [BZ #13540]
bbe315ea
LD
21935 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21936 destination buffer.
15db4de1
LD
21937 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21938
2b2596b1
MP
219392011-12-23 Marek Polacek <polacek@redhat.com>
21940
21941 * elf/dl-addr.c (determine_info): Add inline keyword.
21942 * elf/tst-auditmod4b.c (check_avx): Likewise.
21943 * elf/tst-auditmod6b.c (check_avx): Likewise.
21944 * elf/tst-auditmod6c.c (check_avx): Likewise.
21945 * elf/tst-auditmod7b.c (check_avx): Likewise.
21946
70c6c246
UD
219472011-12-23 Ulrich Drepper <drepper@gmail.com>
21948
21949 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21950 !__SSE_MATH__.
21951
c044cf14
LD
219522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21953
15db4de1 21954 [BZ #13540]
c044cf14
LD
21955 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21956 processing for last bytes.
21957
6b13d9d9
BH
219582011-08-06 Bruno Haible <bruno@clisp.org>
21959
d455f537
BH
21960 [BZ #13061]
21961 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21962 U+0385, not to U+1FEE.
21963
6b13d9d9
BH
21964 [BZ #13062]
21965 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21966 entry for U+00A5 U+0301.
21967
db910efd
UD
219682011-12-22 Ulrich Drepper <drepper@gmail.com>
21969
27deeafc
UD
21970 [BZ #13166]
21971 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21972 buffer for the output is too small.
21973
aed9d171
UD
21974 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21975 optimization.
21976
db910efd
UD
21977 [BZ #13185]
21978 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21979 SSE flags if possible.
21980
2bd779ae
LD
219812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21982
e7f9dac3 21983 [BZ #13540]
2bd779ae
LD
21984 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21985 processing for last bytes.
21986
154bfc16
JM
219872011-12-22 Joseph Myers <joseph@codesourcery.com>
21988
21989 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21990 (syscall-list-default-options, syscall-list-default-condition)
21991 (syscall-list-includes): Define.
21992 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21993 list of ABIs and options and #if conditions for each ABI. Do not
21994 handle common syscalls between ABIs specially.
21995 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21996 Remove.
21997 (syscall-list-variants, syscall-list-32bit-options)
21998 (syscall-list-32bit-condition, syscall-list-64bit-options)
21999 (syscall-list-64bit-condition): Define.
22000 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22001 (syscall-list-variants, syscall-list-32bit-options)
22002 (syscall-list-32bit-condition, syscall-list-64bit-options)
22003 (syscall-list-64bit-condition): Define.
22004 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22005 Remove.
22006 (syscall-list-variants, syscall-list-32bit-options)
22007 (syscall-list-32bit-condition, syscall-list-64bit-options)
22008 (syscall-list-64bit-condition): Define.
22009 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22010 Remove.
22011 (syscall-list-variants, syscall-list-32bit-options)
22012 (syscall-list-32bit-condition, syscall-list-64bit-options)
22013 (syscall-list-64bit-condition): Define.
22014
21eaf3a5
UD
220152011-12-22 Ulrich Drepper <drepper@gmail.com>
22016
16c6f992
UD
22017 * locale/iso-639.def: Add brx entry.
22018
41043168
UD
22019 [BZ #13328]
22020 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22021 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22022
21eaf3a5
UD
22023 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22024 __feraiseexcept_renamed.
22025
e3a851a2
UD
220262011-12-21 Ulrich Drepper <drepper@gmail.com>
22027
4920765e
UD
22028 [BZ #13538]
22029 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22030 EPOLLET with unsigned values.
22031 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22032 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22033
e3a851a2
UD
22034 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22035 to large cancellation.
22036 * math/s_cacoshf.c: Likewise.
22037 * math/s_cacoshl.c: Likewise.
22038
b27e24b8
RK
220392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22040
22041 [BZ #13305]
aebefeee 22042 [BZ #12786]
b27e24b8
RK
22043 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22044 * math/s_cacoshf.c: Likewise.
22045 * math/s_cacoshl.c: Likewise.
22046
ee190f67
UD
220472011-12-21 Ulrich Drepper <drepper@gmail.com>
22048
22049 [BZ #13439]
22050 * iconv/gconv.h: Define __GCONV_SWAP.
22051 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22052 * iconvdata/utf-16.c: Likewise.
22053 * iconvdata/utf-32.c: Likewise.
22054
707f25df
AS
220552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22056
22057 [BZ #13524]
22058 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22059 numerator after shifting it by one limb.
22060
d2daaa1e
RÁE
220612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22062
22063 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22064 under [__USE_EXTERN_INLINES].
22065
a4647e72
UD
220662011-12-17 Ulrich Drepper <drepper@gmail.com>
22067
22068 [BZ #13446]
22069 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22070
f0b264f1
AZ
220712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22072
22073 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22074 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22075 optimized code.
22076 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22077 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22078 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22079 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22080 for strncasecmp/strncasecmp_l compilation.
22081 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22082 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22083
8ef4f244
MP
220842011-12-08 Marek Polacek <mpolacek@redhat.com>
22085
22086 [BZ #13484]
22087 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22088 of __asm__.
22089
97ac2654
UD
220902011-12-17 Ulrich Drepper <drepper@gmail.com>
22091
22092 [BZ #13506]
22093 * time/tzfile.c (__tzfile_read): Check values from file header.
22094
91d2a845
WS
220952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22096
22097 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22098 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22099 * powerpc/powerpc32/dl-start.S: Likewise.
22100 * powerpc/powerpc32/elf/start.S: Likewise.
22101 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22102 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22103 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22104 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22105 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22106 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22107 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22108 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22109 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22110 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22111 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22112 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22113 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22114 * powerpc/powerpc32/memset.S: Likewise.
22115 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22116 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22117 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22118 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22119 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22120 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22121 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22122 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22123 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22124 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22125 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22126 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22127 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22128
a1267ba1
AZ
221292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22130
22131 * math/libm-test.inc: Added more nearbyint tests.
22132 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22133 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22134 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22135 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22136
ad8ac1bd
RL
221372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22138
22139 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22140 FD_CLOEXEC.
22141
1d3e4b61
UD
221422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22143
22144 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22145 Add wcscpy-ssse3 wcscpy-c.
22146 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22147 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22148 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22149 * sysdeps/x86_64/wcschr.S: New file.
22150 * sysdeps/x86_64/wcsrchr.S: New file.
22151 * string/test-strcmp.c: Remove checking of wcscmp function for
22152 wrong alignments.
22153 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22154 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22155 wcsrchr-sse2 wcsrchr-c.
22156 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22157 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22158 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22159 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22160 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22161 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22162 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22163 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22164 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22165 * wcsmbc/wcschr.c (WCSCHR): New macro.
22166
5b330a2d
UD
221672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22168
22169 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22170 * wcsmbs/test-wcsrchr.c: New file.
22171 * string/test-strrchr.c: Add wcsrchr support.
22172 (WIDE): New macro.
22173 * wcsmbs/test-wcscpy.c: New file.
22174 * string/test-strcpy.c: Add wcscpy support.
22175 (WIDE): New macro.
26428b7c 22176
f039c043
UD
221772011-12-10 Ulrich Drepper <drepper@gmail.com>
22178
22179 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22180 the inner loop.
22181
850fb039
AS
221822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22183
22184 [BZ #13472]
22185 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22186
4efbd5cb
UD
221872011-12-04 Ulrich Drepper <drepper@gmail.com>
22188
52ff5dd0 22189 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22190 Minor optimizations.
52ff5dd0 22191
4efbd5cb
UD
22192 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22193 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22194 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22195
8a426e12
UD
221962011-12-03 Ulrich Drepper <drepper@gmail.com>
22197
aff2453d
UD
22198 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22199 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22200 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22201 for gcc to avoid warnings.
22202 * inet/Makefile (tests): Add tst-checks.
22203 * inet/tst-checks.c: New file.
22204
22205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22206 warning.
22207
22208 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22209 __wmemcmp_sse2.
22210
22211 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22212 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22213
8a426e12
UD
22214 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22215
9bea3473
UD
222162011-12-02 Ulrich Drepper <drepper@gmail.com>
22217
3a965496
UD
22218 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22219 problem.
22220
9bea3473
UD
22221 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22222
f101631b
UD
222232011-11-29 Joseph Myers <joseph@codesourcery.com>
22224
22225 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22226 conditional on GCC version.
22227 (__arch_compare_and_exchange_val_8_acq)
22228 (__arch_compare_and_exchange_val_16_acq)
22229 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22230 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22231 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22232
a98275aa
UD
222332011-12-02 Joseph Myers <joseph@codesourcery.com>
22234
22235 * sysdeps/sh/backtrace.c: New file.
22236
d4cc29a2
AS
222372011-12-02 Andreas Schwab <schwab@redhat.com>
22238
22239 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22240 parenthesis.
22241
6257af2d
AS
222422011-12-01 Andreas Schwab <schwab@redhat.com>
22243
22244 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22245 falling back to utime.
22246
b5f44c1a
AS
222472011-11-30 Andreas Schwab <schwab@redhat.com>
22248
22249 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22250 expectations for float.
22251
f3a6cc0a
AS
222522011-11-29 Andreas Schwab <schwab@redhat.com>
22253
22254 * locale/weight.h (findidx): Add parameter len.
22255 * locale/weightwc.h (findidx): Likewise.
22256 * posix/fnmatch_loop.c (FCT): Adjust caller.
22257 * posix/regcomp.c (build_equiv_class): Likewise.
22258 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22259 * posix/regexec.c (check_node_accept_bytes): Likewise.
22260 * string/strcoll_l.c (STRCOLL): Likewise.
22261 * string/strxfrm_l.c (STRXFRM): Likewise.
22262
9d65ea3a
UD
222632011-11-17 Ulrich Drepper <drepper@gmail.com>
22264
22265 * Makefile.in: Remove CVSOPT handling.
22266 * configure.in: Remove use of AC_REVISION.
22267 * iconvdata/Makefile (distribute): No need to filter out CVS.
22268 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22269 handling.
22270
5583a086
AS
222712011-11-16 Andreas Schwab <schwab@redhat.com>
22272
22273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22274 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22275 [USE_AS_STRNCASECMP_L]: Likewise.
22276 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22277 NO_TLS_DIRECT_SEG_REFS.
22278 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22279 Fix argument offsets for non-PIC.
22280 [USE_AS_STRNCASECMP_L]: Likewise.
22281 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22282 NO_TLS_DIRECT_SEG_REFS.
22283
d62a8200
UD
222842011-11-15 Ulrich Drepper <drepper@gmail.com>
22285
9d65ea3a 22286 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22287 O_CLOEXEC.
22288 * locale/loadlocale.c (_nl_load_locale): Likewise.
22289
09f93bd3
AS
222902011-11-15 Andreas Schwab <schwab@redhat.com>
22291
446514f9
AS
22292 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22293 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22294 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22295 (SYSCALL_GETTIME): Set errno on error.
22296
09f93bd3
AS
22297 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22298 count references to noai6ai_cached.
22299
312be3f9
UD
223002011-11-15 Ulrich Drepper <drepper@gmail.com>
22301
22302 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22303
22304 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22305 FD_CLOEXEC for /proc/self/maps.
22306
22307 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22308 FD_CLOEXEC for /proc/meminfo.
22309
22310 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22311 gai.conf.
22312
22313 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22314 FD_CLOEXEC for given file.
22315
22316 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22317
22318 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22319 FD_CLOEXEC for /etc/hosts.
22320 (_gethtent): Likewise.
22321
22322 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22323
22324 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22325 cancellation and set FD_CLOEXEC for /etc/netgroup.
22326
22327 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22328 reading /etc/publickey.
22329
22330 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22331 allow cancellation when reading /etc/group.
22332
22333 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22334 cancellation.
22335 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22336
22337 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22338 when using data file.
22339
22340 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22341
22342 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22343 (write_nis_obj): Use "c" and "e" in fopen.
22344
22345 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22346
22347 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22348
22349 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22350
22351 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22352
22353 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22354 locale.alias.
22355
22356 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22357
22358 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22359
22360 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22361
22362 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22363 file parsing and set FD_CLOEXEC.
22364
82af0fa8
UD
223652011-11-14 Ulrich Drepper <drepper@gmail.com>
22366
22367 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22368
a5fb313c
AS
223692011-11-14 Andreas Schwab <schwab@redhat.com>
22370
22371 * malloc/arena.c (arena_get2): Don't call reused_arena when
22372 _int_new_arena failed.
22373
6abf3465
UD
223742011-11-14 Ulrich Drepper <drepper@gmail.com>
22375
22376 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22377 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22378 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22379 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22380 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22381 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22382 to compile strcasecmp and strncasecmp.
22383 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22384 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22385
22386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22387
76e3966e
UD
223882011-11-13 Ulrich Drepper <drepper@gmail.com>
22389
22390 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22391 locale-defines.sym to gen-as-const-headers.
22392 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22393 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22395 to compile strcasecmp and strncasecmp.
22396 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22397 strcasecmp_l and strncasecmp_l.
22398 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22399 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22400 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22401 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22402 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22403 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22404 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22405 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22406 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22407 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22408 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22409
ab26144e
UD
224102011-11-12 Ulrich Drepper <drepper@gmail.com>
22411
7edb22ef
UD
22412 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22413 result of SYSDEP_GETTIME_CPU to retval.
22414 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22415 parameter list to macro. Remove trailing semicolon. Adjust users.
22416
9694fc44
UD
22417 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22418 variable.
22419
8ad89ef8
UD
22420 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22421 mantissa words.
22422 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22423
0c822ef9
UD
22424 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22425 from unused variable.
22426
874e0564
UD
22427 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22428 DWARF definitions.
22429 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22430 for assembling.
22431
3a2edc79
UD
22432 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22433 over namespaces.
22434
f3c2577f
UD
22435 * sunrpc/rpc_prot.c (rejected): Fix case value.
22436
294ce126
UD
22437 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22438 unsigned long long int to avoid warnings in shift.
22439
5e2b63c6
UD
22440 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22441 of use of trans.
22442 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22443 variable tmp.
22444
e7f4b08e
UD
22445 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22446 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22447 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22448
ab26144e
UD
22449 * nis/nis_table.c (nis_list): Use variable of correct type for
22450 result of __follow_path call.
22451
8a6d5255
AZ
224522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22453
22454 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22455 of math functions ceil, trunc, floor, round, and sqrt, when
22456 avaliable on the platform.
22457 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22458 name clash.
22459 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22460 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22461 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22462
aaddc98c
MP
224632011-10-30 Marek Polacek <mpolacek@redhat.com>
22464
22465 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22466 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22467
95b7042b
RM
224682011-11-11 Roland McGrath <roland@hack.frob.com>
22469
22470 * include/unistd.h: Fix __readlink return type.
22471 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22472
57769839
UD
224732011-11-11 Ulrich Drepper <drepper@gmail.com>
22474
22475 * stdlib/ucontext.h: Undo last change for makecontext.
22476
edc5984d
AS
224772011-11-11 Andreas Schwab <schwab@redhat.com>
22478
98591e58
AS
22479 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22480
edc5984d
AS
22481 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22482 * setjmp/setjmp.h: Mark functions as non-leaf.
22483 * setjmp/bits/setjmp2.h: Likewise.
22484 * stdlib/ucontext.h: Likewise.
22485
77cdc054
AS
224862011-11-10 Andreas Schwab <schwab@redhat.com>
22487
22488 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22489 (reused_arena): Don't check arena limit.
22490 (arena_get2): Atomically check arena limit.
22491
fe72eebd
UD
224922011-11-08 Ulrich Drepper <drepper@gmail.com>
22493
5f078c32
UD
22494 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22495 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22496
fe72eebd
UD
22497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22498 instructions.
22499
ae1bc2fa
AS
225002011-11-07 Andreas Schwab <schwab@redhat.com>
22501
7583a88d
AS
22502 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22503 handler when locking.
22504
ae1bc2fa
AS
22505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22506 Fix size of allocated buffer.
22507
10fb0bfa
AS
225082011-11-04 Andreas Schwab <schwab@redhat.com>
22509
998832a4
AS
22510 [BZ #10103]
22511 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22512 declarations for long double functions.
22513 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22514
10fb0bfa
AS
22515 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22516
3d7ba52b
AS
225172011-11-03 Andreas Schwab <schwab@redhat.com>
22518
a9ae54a1
AS
22519 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22520 installed.
22521
3d7ba52b
AS
22522 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22523 is disabled.
22524
bc8db248
ST
225252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22526
22527 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22528
45b96dd6
AS
225292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22530
647776f6
AS
22531 * include/alloca.h (stackinfo_alloca_round): Define.
22532 (extend_alloca): Use it.
22533 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22534 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22535 here.
22536
d91a8b93
AS
22537 * scripts/check-local-headers.sh: Ignore libaudit.h.
22538
45b96dd6
AS
22539 * nscd/Makefile (extra-objs): Make recursively expanded.
22540
432d41ce
UD
225412011-11-01 Ulrich Drepper <drepper@gmail.com>
22542
34372fc6
UD
22543 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22544 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22545
fadb59f8
UD
22546 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22547 * posix/tst-rfc3484-2.c: Likewise.
22548 * posix/tst-rfc3484-3.c: Likewise.
22549
78239589
UD
22550 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22551 process_vm_writev.
22552 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22553 process_vm_writev.
22554 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22555 process_vm_writev from libc using GLIBC_2.15 version.
22556
432d41ce
UD
22557 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22558
02f9c6cf
PP
225592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22560
22561 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22562 stack usage.
22563
3a2c0242
UD
225642011-10-31 Ulrich Drepper <drepper@gmail.com>
22565
f4ec4833
UD
22566 [BZ #13367]
22567 * nss/getent.c (initgroups_keys): Show error message in case no group
22568 names are given.
22569
3a2c0242
UD
22570 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22571 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22572 __bump_nl_timestamp.
22573 * nscd/connections (nscd_init): When host database is served open
22574 netlink socket and request notification about configuration changes.
22575 (main_loop_poll): Track netlink file descriptor and bump timestamp
22576 in case data becomes available.
22577 (main_loop_epoll): Likewise.
22578 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22579 (database_pers_head): Add extra_data fileds.
22580 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22581 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22582 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22583 Adjust caller.
22584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22585 in6ai data, call __free_in6ai.
22586 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22587 Add -DHAVE_NETLINK.
22588 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22589 interface information. Reuse previous data if netlink timestamp
22590 is not changed.
22591 (__bump_nl_timestamp): New function.
22592 (__free_in6ai): New function.
22593
636064eb
UD
225942011-10-30 Ulrich Drepper <drepper@gmail.com>
22595
22596 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22597 close_not_cancel_no_status here.
22598 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22599
9beb2334
UD
226002011-10-29 Ulrich Drepper <drepper@gmail.com>
22601
6ef76f3b
UD
22602 [BZ #13276]
22603 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22604 return value.
22605
0ffc4f3e 22606 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22607 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22608 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22609
cb95113e
UD
226102011-07-03 Andreas Jaeger <aj@suse.de>
22611
22612 [BZ #10709]
22613 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22614 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22615 * math/libm-test.inc (sin_test): Add test case.
22616
a1b560ff
UD
226172011-10-29 Ulrich Drepper <drepper@gmail.com>
22618
c9aaface
UD
22619 [BZ #13337]
22620 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22621 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22622
d272e7f1
UD
22623 * elf/chroot_canon.c (chroot_canon): Cleanups.
22624
1bc33071
UD
22625 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22626
1760874d
TJ
22627 [BZ #13335]
22628 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22629 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22630
51d91b18
UD
22631 * string/test-strchr.c: Make usable for strchrnul testing.
22632 * string/test-strchrnul.c: New file.
22633 * string/Makefile (strop-tests): Add strchrnul.
22634
a1b560ff 22635 * po/it.po: Update from translation team.
b611fb81 22636 * po/es.po: Likewise.
a1b560ff 22637
a5b81e1f
UD
226382011-10-28 Ulrich Drepper <drepper@gmail.com>
22639
fd52bc6d
UD
22640 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22641 the three constants needed as parameters. Drop the others.
22642 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22643 __m128i_strloadu_tolower.
52e4b9eb
UD
22644 Create and initialize variable zero and use it in all the places
22645 where _mm_setzero_si128 was used.
fd52bc6d 22646
a5b81e1f
UD
22647 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22648 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22649 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22650 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22651 anymore.
22652 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22653 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22654 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22655 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22656 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22657 __mpranred, __mptan.
22658 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22659 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22660 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22661 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22662 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22663 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22664 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22665 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22666 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22667
b4343346
AS
226682011-10-28 Andreas Schwab <schwab@redhat.com>
22669
0c92d8a8
AS
22670 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22671 redefine if SHARED.
22672 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22673
b4343346
AS
22674 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22675 wide char related routines to wcsmbs subdir.
22676
3871f58f
AS
226772011-10-27 Andreas Schwab <schwab@redhat.com>
22678
22679 [BZ #13344]
22680 * misc/sys/cdefs.h (__THROWNL): Define.
22681 * posix/unistd.h: Use __THREADNL instead of __THREAD
22682 for memory synchronization functions.
22683
94d44d9f
RM
226842011-10-26 Roland McGrath <roland@hack.frob.com>
22685
21b64b15 22686 [BZ #13349]
94d44d9f
RM
22687 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22688 doesn't exist.
22689 * manual/stdio.texi (Obstack Streams): Node removed.
22690
f6ce9294
AS
226912011-10-26 Andreas Schwab <schwab@redhat.com>
22692
80479147
AS
22693 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22694 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22695 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22696
f6ce9294
AS
22697 * math/math_private.h (math_force_eval): Allow non-addressable
22698 arguments.
22699 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22700
618280a1
UD
227012011-10-25 Ulrich Drepper <drepper@gmail.com>
22702
e0016b11
UD
22703 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22704 file is not needed.
22705
22706 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22708 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22709 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22710 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22711 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22712 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22713 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22714 Add AVX variants.
22715 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22716 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22717 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22718 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22719 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22720 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22721 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22722 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22723 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22724 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22725 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22726 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22727 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22728 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22729 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22730 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22731 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22732 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22733 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22734
22735 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22736 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22737
618280a1
UD
22738 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22739 place. Use VEX encoding when compiling for AVX.
22740
37822576
AS
227412011-10-25 Andreas Schwab <schwab@redhat.com>
22742
1f1e1947
AS
22743 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22744 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22745
37822576
AS
22746 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22747
31ea014d
UD
227482011-10-25 Ulrich Drepper <drepper@gmail.com>
22749
d7826aa1 22750 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22751 useless if() expression.
d7826aa1
UD
22752 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22761 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22762 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22763 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22764 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22765 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22766 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22767 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22770 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22771
31ea014d
UD
22772 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22773
16437fec
AS
227742011-10-25 Andreas Schwab <schwab@redhat.com>
22775
22776 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22777 condition.
22778 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22779
31d3cc00
UD
227802011-10-25 Ulrich Drepper <drepper@gmail.com>
22781
22782 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22783 .text section. Avoid duplicate constants.
22784 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22785 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22786 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22788 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22789 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22790 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22791 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22792 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22793 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22794 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22795 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22796 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22799 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22800 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22801 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22802 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22804 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22805 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22806 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22807 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22808 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22809 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22810 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22811 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22812 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22813 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22814 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22815 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22816 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22817 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22818 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22819 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22820 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22821 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22822 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22823 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22824 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22825 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22826 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22827 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22828 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22829
58985aa9
UD
228302011-10-24 Ulrich Drepper <drepper@gmail.com>
22831
202c9deb
UD
22832 * sysdeps/x86_64/dla.h: Move to ...
22833 * sysdeps/x86_64/fpu/dla.h: ...here.
22834 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22835 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22836
af968f62
UD
22837 * config.make.in: Add have-mfma4 entry.
22838 * configure.in: Substitute libc_cv_cc_fma4.
22839 * math/Makefile (dbl-only-routines): Add sincostab.
22840 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22841 Use __sincostab not sincos.
22842 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22843 name is a macro.
22844 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22848 using __copysign.
22849 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22850 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22851 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22852 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22853 and __inv.
22854 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22855 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22856 __copysign.
22857 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22858 define aliases when function name is a macro.
22859 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22860 sysdeps/ieee754/dbl-64/sincos.tbl.
22861 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22862 fma4-enabled routines.
22863 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22864 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22865 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22866 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22867 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22868 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22869 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22870 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22871 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22872 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22873 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22874 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22875 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22876 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22877 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22878 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22879 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22880 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22881 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22882 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22883 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22884 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22885 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22886 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22887 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22888 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22889 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22890 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22891 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22892 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22893
58985aa9
UD
22894 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22895 rename.
22896 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22901 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22902 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22904
a201fbcf
AS
229052011-10-24 Andreas Schwab <schwab@redhat.com>
22906
22907 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22908
fc2ee42a
LD
229092011-10-23 Ulrich Drepper <drepper@gmail.com>
22910
bb3129bd
UD
22911 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22912
0275fff8
UD
22913 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22914 prediction.
22915 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22916
2fa2ae85
UD
22917 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22918 Remove unused variable magic_bits.
22919 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22920
fc2ee42a
LD
22921 * string/strnlen.c: Define and use STRNLEN macro.
22922 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22923 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22924 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22925 * wcsmbs/wcslen.c: Define and use WCSLEN.
22926 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22927 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22928 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22929 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22930 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22931 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22932 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22933
ce7dd29f
LD
229342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22935
22936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22937 strnlen-sse2-no-bsf.
22938 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22939 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22940 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22941 Add strnlen support.
22942 (USE_AS_STRNLEN): New macro.
22943 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22944 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22945 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22946 * sysdeps/x86_64/wcslen.S: New file.
22947
979c70a3
MZ
229482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22949
22950 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22951 XMM-moves are used for copying on small sizes.
22952
2d09f82f
LD
229532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22954
22955 * wcsmbs/Makefile (strop-tests): Add wcschr.
22956 * wcsmbs/test-wcschr.c: New file.
22957 * string/test-strchr.c: Update.
22958 Add wcschr support.
22959 (WIDE): New macro.
22960
619fccca
LD
229612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22962
2d09f82f 22963 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22964 * wcsmbs/test-wcslen.c: New file.
22965 * string/test-strlen.c: Update.
22966 Add wcslen support.
22967 (WIDE): New macro.
22968
09f699ea
UD
229692011-10-23 Ulrich Drepper <drepper@gmail.com>
22970
22971 * po/it.po: Update from translation team.
22972
95584d3b
LD
229732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22974
22975 * sysdeps/x86_64/wcscmp.S: Update.
22976 Fix wrong comparison semantics.
22977 wcscmp shall use signed comparison not unsigned.
22978 Don't use substraction to avoid overflow bug.
22979 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22980 * wcsmbc/wcscmp.c: Likewise.
22981 * string/test-strcmp.c: Likewise.
22982 Add new tests to check cases with negative values.
22983
c8b3296b
UD
229842011-10-23 Ulrich Drepper <drepper@gmail.com>
22985
22986 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22987 * sysdeps/x86_64/dla.h: ...here. New file.
22988 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22991 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22992 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22993 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22996 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22997
246ad57a
AS
229982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22999
23000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23001 __ynl_finite aliases.
23002
a1a87169
UD
230032011-10-22 Ulrich Drepper <drepper@gmail.com>
23004
0d355eb7
UD
23005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23006
a1a87169
UD
23007 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23008 define DLA_FMA.
23009 [DLA_FMA] (EMULV): Use DLA_FMA.
23010 [DLA_FMA] (MUL12): Use EMULV.
23011 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23012 that are not needed.
23013 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23017 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23018 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23020
ee2aafe0
AS
230212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23022
23023 * math/s_nan.c: Undef __nan.
23024 * math/s_nanf.c: Undef __nanf.
23025 * math/s_nanl.c: Undef __nanl.
23026 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23027 "math_private.h".
23028
bc62c2fb
UD
230292011-10-22 Ulrich Drepper <drepper@gmail.com>
23030
77425c63
UD
23031 * math/s_catan.c: Add branch predictions.
23032 * math/s_catanf.c: Likewise.
23033 * math/s_catanh.c: Likewise.
23034 * math/s_catanhf.c: Likewise.
23035 * math/s_catanhl.c: Likewise.
23036 * math/s_catanl.c: Likewise.
23037 * math/s_cexp.c: Likewise.
23038 * math/s_cexpf.c: Likewise.
23039 * math/s_cexpl.c: Likewise.
23040 * math/s_clog.c: Likewise.
23041 * math/s_clog10.c: Likewise.
23042 * math/s_clog10f.c: Likewise.
23043 * math/s_clog10l.c: Likewise.
23044 * math/s_clogf.c: Likewise.
23045 * math/s_clogl.c: Likewise.
23046 * math/s_csqrt.c: Likewise.
23047 * math/s_csqrtf.c: Likewise.
23048 * math/s_csqrtl.c: Likewise.
23049 * math/s_ctanf.c: Likewise.
23050 * math/s_ctanh.c: Likewise.
23051 * math/s_ctanhf.c: Likewise.
23052 * math/s_ctanhl.c: Likewise.
23053 * math/s_ctanl.c: Likewise.
23054
bc62c2fb
UD
23055 * math/math_private.h: Define __nan, __nanf, __nanl.
23056 * math/s_cacosh.c: Include <math_private.h>.
23057 * math/s_cacoshl.c: Likewise.
23058 * math/s_casinh.c: Likewise.
23059 * math/s_casinhf.c: Likewise.
23060 * math/s_casinhl.c: Likewise.
23061 * math/s_ccos.c: Rely entire on ccosh.
23062 * math/s_ccosf.c: Rely entire on ccoshf.
23063 * math/s_ccosl.c: Rely entirely on ccoshl.
23064 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23065 Remove tests for FE_INVALID.
23066 * math/s_ccoshf.c: Likewise.
23067 * math/s_ccoshl.c: Likewise.
23068 * math/s_csin.c: Likewise.
23069 * math/s_csinf.c: Likewise.
23070 * math/s_csinh.c Likewise.
23071 * math/s_csinhf.c: Likewise.
23072 * math/s_csinhl.c: Likewise.
23073 * math/s_csinl.c: Likewise.
23074 * math/s_ctan.c: Likewise.
23075 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23076 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23077 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23078
8ec250a4
UD
230792011-10-21 Ulrich Drepper <drepper@gmail.com>
23080
c196fed8
UD
23081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23082 compilation problems.
23083
8ec250a4
UD
23084 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23085 __builtin_expect.
23086
8d4f46c6
UD
230872011-10-20 Ulrich Drepper <drepper@gmail.com>
23088
ed72b654
UD
23089 * sysdeps/i386/configure.in: Test for -mfma4 option.
23090 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23091 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23092 COMMON_CPUID_INDEX_80000001.
23093 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23094 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23095 use it if FMA3 is not supported.
23096 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23097
8d4f46c6
UD
23098 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23099 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23100
d45c60c2
AS
231012011-10-20 Andreas Schwab <schwab@redhat.com>
23102
23103 [BZ #12892]
23104 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23105 it would create a cycle with a link time dependency.
23106
d9a4d2ab
UD
231072011-10-19 Ulrich Drepper <drepper@gmail.com>
23108
855d1560
UD
23109 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23110 instruction.
23111 * string/Makefile (strop-tests): Add rawmemchr.
23112 * string/test-rawmemchr.c: New file.
23113
d9a4d2ab
UD
23114 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23115 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23116 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23117 when compiling str{,n}casecmp and when AVX is available. Hook up
23118 new optimized code in initializers.
23119
8f3b1ffe
AS
231202011-10-19 Andreas Schwab <schwab@redhat.com>
23121
23122 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23123 __feraiseexcept instead of feraiseexcept.
23124
d38f1dba
UD
231252011-10-18 Ulrich Drepper <drepper@gmail.com>
23126
d9a8d0ab
UD
23127 * math/math_private.h: Define defaults for libc_fetestexcept and
23128 libc_feupdateenv.
23129 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23130 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23131 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23132 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23133 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23134 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23135 libc_fetestexcept and libc_feupdateenv.
23136
4855e3dd
UD
23137 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23138 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23139 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23140 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23141 libc_feholdexcept_setround.
23142
581d30e3
UD
23143 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23144 Add s_nearbyint-c and s_nearbyintf-c.
23145 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23146 nearbyintf inlines.
23147 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23148 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23149 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23150 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23151
d38f1dba
UD
23152 * math/math_private.h: Define defaults for libc_fegetround,
23153 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23154 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23155 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23156 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23157 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23158 standard functions.
23159 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23160 Remove comments and hacks for old compiler versions.
23161 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23162 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23163 libc_feholdexceptl.
23164
caa6c9d8
AS
231652011-10-18 Andreas Schwab <schwab@redhat.com>
23166
23167 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23168 (__feraiseexcept_renamed): Add __NTH.
23169 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23170 namespace violations.
23171
97c066e6
UD
231722011-10-17 Ulrich Drepper <drepper@gmail.com>
23173
99ce7b04
UD
23174 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23175
1004d182
UD
23176 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23177
228a984d
UD
23178 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23179 recently added interfaces.
23180 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23181
c8553a6a
UD
23182 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23183 about macro parameter expansion.
23184
ed22dcf6
UD
23185 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23186 __NO_MATH_INLINES is defined. Cleanups.
23187
23188 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23189 and __floorf is target has SSE4.1.
23190 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23191 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23192 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23193 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23194
b171c137
UD
23195 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23196 name.
23197 (floorf): Likewise.
23198
97c066e6
UD
23199 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23200
629f62ef
AS
232012011-10-17 Andreas Schwab <schwab@redhat.com>
23202
49a43d80
AS
23203 * misc/sys/cdefs.h: Fix last change.
23204
629f62ef
AS
23205 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23206 database lookup.
23207
e453f6cd
UD
232082011-10-16 Ulrich Drepper <drepper@gmail.com>
23209
aa78043a
UD
23210 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23211
ad0f5cad
UD
23212 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23213 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23218 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23219 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23220 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23221 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23222 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23223 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23224 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23225 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23226 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23227 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23228 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23229 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23230 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23231 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23232 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23233 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23234
23235 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23236 ceil, ceilf, floor, floorf.
23237
23238 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23239 Perform IRELATIVE relocations last.
23240
e453f6cd
UD
23241 * elf/do-rel.h: Add another parameter nrelative, replacing the
23242 local variable with the same name. Change name of the function
23243 to end in Rel or Rela (uppercase).
23244 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23245 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23246 elf_dynamic_do_##reloc function.
23247
fd5bdc09
UD
232482011-10-15 Ulrich Drepper <drepper@gmail.com>
23249
79b195b5
UD
23250 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23251 is sufficient, at least on modern CPUs.
23252
d4a28569
UD
23253 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23254
b61099b5
UD
23255 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23256 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23257
bcf01e6d
UD
23258 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23259 __expl_finite.
23260 * math/bits/math-finite.h: Add entries for exp.
23261 * math/e_expl.c: Add __*_finite alias.
23262 * sysdeps/i386/fpu/e_exp.S: Likewise.
23263 * sysdeps/i386/fpu/e_expf.S: Likewise.
23264 * sysdeps/i386/fpu/e_expl.c: Likewise.
23265 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23266 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23267 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23268 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23269 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23270 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23271 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23272
ba1a0d59
UD
23273 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23274 is sufficient, at least on modern CPUs.
23275
fd5bdc09
UD
23276 * ctype/ctype-info.c (__ctype_init): Define.
23277 * include/ctype.h (__ctype_init): Declare.
23278 (__ctype_b_loc): The variable is always initialized.
23279 (__ctype_toupper_loc): Likewise.
23280 (__ctype_tolower_loc): Likewise.
23281 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23282 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23283
7872cfb0
AS
232842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23285
b468825a
AS
23286 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23287
7872cfb0
AS
23288 * configure.in: Also look in $cxxmachine/include for C++ system
23289 headers.
23290
be13f7bf
LD
232912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23292
23293 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23294 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23295 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23296 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23297 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23298 (USE_AS_WMEMCMP): New macro.
23299 Fixing indents.
23300 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23301 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23302 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23303 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23305 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23306 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23307 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23308 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23309 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23310 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23311 (USE_AS_WMEMCMP): New macro.
23312 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23313 * sysdeps/string/test-memcmp.c: Update.
23314 Fix simple_wmemcmp.
23315 Add new tests.
23316 * wcsmbs/wmemcmp.c: Update.
23317 (WMEMCMP): New macro.
23318 Fix overflow bug.
23319
556a2007
AJ
233202011-10-12 Andreas Jaeger <aj@suse.de>
23321
23322 [BZ #13268]
23323 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23324
538faaa7
UD
233252011-10-15 Ulrich Drepper <drepper@gmail.com>
23326
ab6737ff
UD
23327 * libio/iofwide.c (do_length): Avoid warning.
23328
538faaa7
UD
23329 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23330
396a21b1
UD
233312011-10-14 Ulrich Drepper <drepper@gmail.com>
23332
cdf2901f
UD
23333 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23334
38ad40ce
UD
23335 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23336 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23337 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23338 * sysdeps/i386/i686/fpu/e_log.S: New file.
23339 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23340 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23341
396a21b1
UD
23342 * ctype/ctype.h: Add support for inlined isXXX functions when
23343 compiling C++ code.
23344
6b1f68c9
AS
233452011-10-14 Andreas Schwab <schwab@redhat.com>
23346
349290c0
AS
23347 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23348
6b1f68c9
AS
23349 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23350
f2282d42
RM
233512011-10-13 Roland McGrath <roland@hack.frob.com>
23352
23353 [BZ #13291]
23354 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23355
5298ffa8
AS
233562011-10-13 Andreas Schwab <schwab@redhat.com>
23357
714fad23
AS
23358 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23359 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23360 feraiseexcept.
23361
81dcc7fb
AS
23362 * sysdeps/x86_64/memrchr.S: Check for zero size.
23363
5298ffa8
AS
23364 * string/stratcliff.c: Add memrchr tests.
23365
951fbcec
LD
233662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23367
23368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23369 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23370 rawmemchr-sse2 rawmemchr-sse2-bsf.
23371 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23372 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23373 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23374 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23375 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23376 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23377 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23378 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23379 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23380 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23381 * string/memrchr.c (MEMRCHR): New macro.
23382
0ac5ae23
UD
233832011-10-12 Ulrich Drepper <drepper@gmail.com>
23384
23385 Add integration with gcc's -ffinite-math-only and optimize wrapper
23386 functions in libm.
23387 * Versions.def: Define GLIBC_2.15 version for libm.
23388 * math/Makefile (headers): Add bits/math-finite.h.
23389 * math/bits/math-finite.h: New file.
23390 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23391 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23392 * math/e_acoshl.c: Add __*_finite alias.
23393 * math/e_acosl.c: Likewise.
23394 * math/e_asinl.c: Likewise.
23395 * math/e_atan2l.c: Likewise.
23396 * math/e_atanhl.c: Likewise.
23397 * math/e_coshl.c: Likewise.
23398 * math/e_exp10.c: Likewise.
23399 * math/e_exp10f.c: Likewise.
23400 * math/e_exp10l.c: Likewise.
23401 * math/e_exp2l.c: Likewise.
23402 * math/e_fmodl.c: Likewise.
23403 * math/e_gammal_r.c: Likewise.
23404 * math/e_hypotl.c: Likewise.
23405 * math/e_j0l.c: Likewise.
23406 * math/e_j1l.c: Likewise.
23407 * math/e_jnl.c: Likewise.
23408 * math/e_lgammal_r.c: Likewise.
23409 * math/e_log10l.c: Likewise.
23410 * math/e_log2l.c: Likewise.
23411 * math/e_logl.c: Likewise.
23412 * math/e_powl.c: Likewise.
23413 * math/e_sinhl.c: Likewise.
23414 * math/e_sqrtl.c: Likewise.
23415 * math/e_scalb.c: Completely rewritten and optimized.
23416 * math/e_scalbf.c: Likewise.
23417 * math/e_scalbl.c: Likewise.
23418 * math/w_acos.c: Likewise.
23419 * math/w_acosf.c: Likewise.
23420 * math/w_acosl.c: Likewise.
23421 * math/w_acosh.c: Likewise.
23422 * math/w_acoshf.c: Likewise.
23423 * math/w_acoshl.c: Likewise.
23424 * math/w_asin.c: Likewise.
23425 * math/w_asinf.c: Likewise.
23426 * math/w_asinl.c: Likewise.
23427 * math/w_atan2.c: Likewise.
23428 * math/w_atan2f.c: Likewise.
23429 * math/w_atan2l.c: Likewise.
23430 * math/w_atanh.c: Likewise.
23431 * math/w_atanhf.c: Likewise.
23432 * math/w_atanhl.c: Likewise.
23433 * math/w_exp10.c: Likewise.
23434 * math/w_exp10f.c: Likewise.
23435 * math/w_exp10l.c: Likewise.
23436 * math/w_fmod.c: Likewise.
23437 * math/w_fmodf.c: Likewise.
23438 * math/w_fmodl.c: Likewise.
23439 * math/w_j0.c: Likewise.
23440 * math/w_j0f.c: Likewise.
23441 * math/w_j0l.c: Likewise.
23442 * math/w_j1.c: Likewise.
23443 * math/w_j1f.c: Likewise.
23444 * math/w_j1l.c: Likewise.
23445 * math/w_jn.c: Likewise.
23446 * math/w_jnf.c: Likewise.
23447 * math/w_log.c: Likewise.
23448 * math/w_logf.c: Likewise.
23449 * math/w_logl.c: Likewise.
23450 * math/w_log10.c: Likewise.
23451 * math/w_log10f.c: Likewise.
23452 * math/w_log10l.c: Likewise.
23453 * math/w_log2.c: Likewise.
23454 * math/w_log2f.c: Likewise.
23455 * math/w_log2l.c: Likewise.
23456 * math/w_pow.c: Likewise.
23457 * math/w_powf.c: Likewise.
23458 * math/w_powl.c: Likewise.
23459 * math/w_remainder.c: Likewise.
23460 * math/w_remainderf.c: Likewise.
23461 * math/w_remainderl.c: Likewise.
23462 * math/w_scalb.c: Likewise.
23463 * math/w_scalbf.c: Likewise.
23464 * math/w_scalbl.c: Likewise.
23465 * math/w_sqrt.c: Likewise.
23466 * math/w_sqrtf.c: Likewise.
23467 * math/w_sqrtl.c: Likewise.
23468 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23469 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23470 used.
23471 * math/math_private.h: Declare __kernel_standard_f.
23472 * math/w_cosh.c: Remove cruft and optimize a bit.
23473 * math/w_coshf.c: Likewise.
23474 * math/w_coshl.c: Likewise.
23475 * math/w_exp2.c: Likewise.
23476 * math/w_exp2f.c: Likewise.
23477 * math/w_exp2l.c: Likewise.
23478 * math/w_hypot.c: Likewise.
23479 * math/w_hypotf.c: Likewise.
23480 * math/w_hypotl.c: Likewise.
23481 * math/w_lgamma.c: Likewise.
23482 * math/w_lgamma_r.c: Likewise.
23483 * math/w_lgammaf.c: Likewise.
23484 * math/w_lgammaf_r.c: Likewise.
23485 * math/w_lgammal.c: Likewise.
23486 * math/w_lgammal_r.c: Likewise.
23487 * math/w_sinh.c: Likewise.
23488 * math/w_sinhf.c: Likewise.
23489 * math/w_sinhl.c: Likewise.
23490 * math/w_tgamma.c: Likewise.
23491 * math/w_tgammaf.c: Likewise.
23492 * math/w_tgammal.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23494 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23495 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23496 Minor optimizations. Pretty printing. Remove cruft.
23497 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23498 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23499 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23500 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23501 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23502 * sysdeps/i386/fpu/e_asin.S: Likewise.
23503 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23504 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23505 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23506 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23507 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23508 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23509 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23510 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23511 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23512 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23513 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23514 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23515 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23516 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23517 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23518 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23519 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23520 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23521 * sysdeps/i386/fpu/e_log.S: Likewise.
23522 * sysdeps/i386/fpu/e_log10.S: Likewise.
23523 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23524 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23525 * sysdeps/i386/fpu/e_log2.S: Likewise.
23526 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23527 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23528 * sysdeps/i386/fpu/e_logf.S: Likewise.
23529 * sysdeps/i386/fpu/e_logl.S: Likewise.
23530 * sysdeps/i386/fpu/e_pow.S: Likewise.
23531 * sysdeps/i386/fpu/e_powf.S: Likewise.
23532 * sysdeps/i386/fpu/e_powl.S: Likewise.
23533 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23534 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23535 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23536 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23537 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23538 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23539 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23540 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23541 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23542 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23543 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23545 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23546 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23547 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23548 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23549 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23550 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23551 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23552 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23553 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23555 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23557 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23562 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23563 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23564 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23565 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23566 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23567 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23568 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23569 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23570 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23571 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23572 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23573 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23574 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23575 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23576 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23577 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23578 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23579 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23580 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23581 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23582 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23583 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23584 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23588 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23592 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23597 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23598 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23599 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23622 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23625 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23627 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23628 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23630 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23633 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23634 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23635 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23636 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23637 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23638 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23639 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23640 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23641 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23642 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23643 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23644 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23645 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23646 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23647 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23648 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23649 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23650 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23651 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23652 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23653 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23654 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23655 (__isnanf): Likewise.
23656 (__isinf_ns): Likewise.
23657 (__isinf_nsf): Likewise.
23658 (__finite): Likewise.
23659 (__finitef): Likewise.
23660 (__ieee754_sqrt): Define as macro.
23661 (__ieee754_sqrtf): Define as macro.
23662 (__ieee754_sqrtl): Define as macro.
23663 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23664 inlined copy.
23665 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23666 __FINITE_MATH_ONLY__ consistent.
23667 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23668
12cc2fcd
AS
236692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23670
a843a204
AS
23671 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23672 of rawmemchr.
23673
12cc2fcd
AS
23674 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23675
c853acd5
UD
236762011-10-09 Ulrich Drepper <drepper@gmail.com>
23677
23678 * po/ja.po: Update from translation team.
23679
c658d255
RM
236802011-10-08 Roland McGrath <roland@hack.frob.com>
23681
110946e4
RM
23682 * locale/programs/locarchive.c (prepare_address_space): New function.
23683 (create_archive, enlarge_archive, open_archive): Use it.
23684
50604220
RM
23685 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23686 inside [SHARED], where it is used.
23687
c658d255
RM
23688 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23689
23690 * nss/getent.c (netgroup_keys): Remove unused variable.
23691 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23692
6a621eb7
UD
236932011-10-08 Ulrich Drepper <drepper@gmail.com>
23694
7edb55ce
UD
23695 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23696 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23698 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23699 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23700 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23701 * math/Makefile (libm-calls): Add s_isinf_ns.
23702 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23703 * math/multc3.c: Likewise.
23704 * math/s_casin.c: Likewise.
23705 * math/s_casinf.c: Likewise.
23706 * math/s_casinl.c: Likewise.
23707 * math/s_ccos.c: Likewise.
23708 * math/s_ccosf.c: Likewise.
23709 * math/s_ccosl.c: Likewise.
23710 * math/s_ctan.c: Likewise.
23711 * math/s_ctanf.c: Likewise.
23712 * math/s_ctanh.c: Likewise.
23713 * math/s_ctanhf.c: Likewise.
23714 * math/s_ctanhl.c: Likewise.
23715 * math/s_ctanl.c: Likewise.
23716 * math/w_fmod.c: Likewise.
23717 * math/w_fmodf.c: Likewise.
23718 * math/w_fmodl.c: Likewise.
23719 * math/w_remainder.c: Likewise.
23720 * math/w_remainderf.c: Likewise.
23721 * math/w_remainderl.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23723 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23724 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23726 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23727 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23728 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23729 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23730
187da0ae
UD
23731 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23732 of the number.
23733 * stdio-common/printf_fphex.c: Likewise.
23734 * stdio-common/printf_size.c: Likewise.
23735
9277c064
UD
23736 * math/e_exp10.c: Include math_private.h using <...> not "...".
23737 * math/e_exp10f.c: Likewise.
23738 * math/e_exp10l.c: Likewise.
23739 * math/e_exp2l.c: Likewise.
23740 * math/e_j0l.c: Likewise.
23741 * math/e_j1l.c: Likewise.
23742 * math/e_jnl.c: Likewise.
23743 * math/e_lgammal_r.c: Likewise.
23744 * math/e_rem_pio2l.c: Likewise.
23745 * math/e_scalb.c: Likewise.
23746 * math/e_scalbf.c: Likewise.
23747 * math/e_scalbl.c: Likewise.
23748 * math/k_cosl.c: Likewise.
23749 * math/k_sinl.c: Likewise.
23750 * math/k_tanl.c: Likewise.
23751 * math/s_cacoshf.c: Likewise.
23752 * math/s_catan.c: Likewise.
23753 * math/s_catanf.c: Likewise.
23754 * math/s_catanh.c: Likewise.
23755 * math/s_catanhf.c: Likewise.
23756 * math/s_catanhl.c: Likewise.
23757 * math/s_catanl.c: Likewise.
23758 * math/s_ccosh.c: Likewise.
23759 * math/s_ccoshf.c: Likewise.
23760 * math/s_ccoshl.c: Likewise.
23761 * math/s_cexp.c: Likewise.
23762 * math/s_cexpf.c: Likewise.
23763 * math/s_cexpl.c: Likewise.
23764 * math/s_clog.c: Likewise.
23765 * math/s_clog10.c: Likewise.
23766 * math/s_clog10f.c: Likewise.
23767 * math/s_clog10l.c: Likewise.
23768 * math/s_clogf.c: Likewise.
23769 * math/s_clogl.c: Likewise.
23770 * math/s_csin.c: Likewise.
23771 * math/s_csinf.c: Likewise.
23772 * math/s_csinh.c: Likewise.
23773 * math/s_csinhf.c: Likewise.
23774 * math/s_csinhl.c: Likewise.
23775 * math/s_csinl.c: Likewise.
23776 * math/s_csqrt.c: Likewise.
23777 * math/s_csqrtf.c: Likewise.
23778 * math/s_csqrtl.c: Likewise.
23779 * math/s_ctan.c: Likewise.
23780 * math/s_ctanf.c: Likewise.
23781 * math/s_ctanh.c: Likewise.
23782 * math/s_ctanhf.c: Likewise.
23783 * math/s_ctanhl.c: Likewise.
23784 * math/s_ctanl.c: Likewise.
23785 * math/s_ldexp.c: Likewise.
23786 * math/s_ldexpf.c: Likewise.
23787 * math/s_ldexpl.c: Likewise.
23788 * math/s_significand.c: Likewise.
23789 * math/s_significandf.c: Likewise.
23790 * math/s_significandl.c: Likewise.
23791 * math/w_acos.c: Likewise.
23792 * math/w_acosf.c: Likewise.
23793 * math/w_acosh.c: Likewise.
23794 * math/w_acoshf.c: Likewise.
23795 * math/w_acoshl.c: Likewise.
23796 * math/w_acosl.c: Likewise.
23797 * math/w_asin.c: Likewise.
23798 * math/w_asinf.c: Likewise.
23799 * math/w_asinl.c: Likewise.
23800 * math/w_atan2.c: Likewise.
23801 * math/w_atan2f.c: Likewise.
23802 * math/w_atan2l.c: Likewise.
23803 * math/w_atanh.c: Likewise.
23804 * math/w_atanhf.c: Likewise.
23805 * math/w_atanhl.c: Likewise.
23806 * math/w_cosh.c: Likewise.
23807 * math/w_coshf.c: Likewise.
23808 * math/w_coshl.c: Likewise.
23809 * math/w_dremf.c: Likewise.
23810 * math/w_exp10.c: Likewise.
23811 * math/w_exp10f.c: Likewise.
23812 * math/w_exp10l.c: Likewise.
23813 * math/w_exp2.c: Likewise.
23814 * math/w_exp2f.c: Likewise.
23815 * math/w_fmod.c: Likewise.
23816 * math/w_fmodf.c: Likewise.
23817 * math/w_fmodl.c: Likewise.
23818 * math/w_hypot.c: Likewise.
23819 * math/w_hypotf.c: Likewise.
23820 * math/w_hypotl.c: Likewise.
23821 * math/w_j0.c: Likewise.
23822 * math/w_j0f.c: Likewise.
23823 * math/w_j0l.c: Likewise.
23824 * math/w_j1.c: Likewise.
23825 * math/w_j1f.c: Likewise.
23826 * math/w_j1l.c: Likewise.
23827 * math/w_jn.c: Likewise.
23828 * math/w_jnf.c: Likewise.
23829 * math/w_jnl.c: Likewise.
23830 * math/w_lgamma.c: Likewise.
23831 * math/w_lgamma_r.c: Likewise.
23832 * math/w_lgammaf.c: Likewise.
23833 * math/w_lgammaf_r.c: Likewise.
23834 * math/w_lgammal.c: Likewise.
23835 * math/w_lgammal_r.c: Likewise.
23836 * math/w_log.c: Likewise.
23837 * math/w_log10.c: Likewise.
23838 * math/w_log10f.c: Likewise.
23839 * math/w_log10l.c: Likewise.
23840 * math/w_log2.c: Likewise.
23841 * math/w_log2f.c: Likewise.
23842 * math/w_log2l.c: Likewise.
23843 * math/w_logf.c: Likewise.
23844 * math/w_logl.c: Likewise.
23845 * math/w_pow.c: Likewise.
23846 * math/w_powf.c: Likewise.
23847 * math/w_powl.c: Likewise.
23848 * math/w_remainder.c: Likewise.
23849 * math/w_remainderf.c: Likewise.
23850 * math/w_remainderl.c: Likewise.
23851 * math/w_scalb.c: Likewise.
23852 * math/w_scalbf.c: Likewise.
23853 * math/w_scalbl.c: Likewise.
23854 * math/w_sinh.c: Likewise.
23855 * math/w_sinhf.c: Likewise.
23856 * math/w_sinhl.c: Likewise.
23857 * math/w_sqrt.c: Likewise.
23858 * math/w_sqrtf.c: Likewise.
23859 * math/w_sqrtl.c: Likewise.
23860 * math/w_tgamma.c: Likewise.
23861 * math/w_tgammaf.c: Likewise.
23862 * math/w_tgammal.c: Likewise.
23863
6a621eb7
UD
23864 * po/ja.po: Update from translation team.
23865
bf582445
AJ
238662011-09-29 Andreas Jaeger <aj@suse.de>
23867
f9efbf3a
AJ
23868 [BZ #13179]
23869 * sunrpc/netname.c (netname2host): Fix logic.
23870
bf582445
AJ
23871 [BZ #6779]
23872 [BZ #6783]
23873 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23874 correctly.
23875 * math/w_remainder.c (__remainder): Likewise.
23876 * math/w_remainderf.c (__remainderf): Likewise.
23877 * math/libm-test.inc (remainder_test): Add test cases.
23878
48693bea
AK
238792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23880
23881 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23882 sdiv_qrnnd.
23883
42622229
LD
238842011-10-07 Ulrich Drepper <drepper@gmail.com>
23885
23886 * string/test-memcmp.c: Avoid unncessary #defines.
23887 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23888
093ecf92
LD
238892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23890
23891 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23892 Use new sse2 version for core i3 - i7 as it's faster
23893 than sse42 version.
23894 (bit_Prefer_PMINUB_for_stringop): New.
23895 * sysdeps/x86_64/rawmemchr.S: Update.
23896 Replace with faster SSE2 version.
23897 * sysdeps/x86_64/memrchr.S: New file.
23898 * sysdeps/x86_64/memchr.S: Update.
23899 Replace with faster SSE2 version.
23900
fde56e5c
MP
239012011-09-12 Marek Polacek <mpolacek@redhat.com>
23902
23903 * elf/dl-load.c (lose): Add cast to avoid warning.
23904
21fd49a9
UD
239052011-10-07 Ulrich Drepper <drepper@gmail.com>
23906
5a06e643
UD
23907 * po/ca.po: Update from translation team.
23908
684ae515
UD
23909 * inet/getnetgrent_r.c: Hook up nscd.
23910 * nscd/Makefile (routines): Add nscd_netgroup.
23911 (nscd-modules): Add netgroupcache.
23912 (CFLAGS-netgroupcache.c): Define.
23913 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23914 (cache_search): Add const to second parameter.
23915 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23916 INNETGR.
23917 (dbs): Add netgrdb entry.
23918 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23919 (verify_persistent_db): Handle netgrdb.
23920 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23921 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23922 GETFDNETGR.
23923 (netgroup_response_header): Define.
23924 (innetgroup_response_header): Define.
23925 (datahead): Add netgroup_response_header and innetgroup_response_header
23926 elements.
23927 * nscd/nscd.conf: Add entries for netgroup cache.
23928 * nscd/nscd.h (dbtype): Add netgrdb.
23929 (_PATH_NSCD_NETGROUP_DB): Define.
23930 (netgroup_iov_disabled): Declare.
23931 (xmalloc, xcalloc, xrealloc): Move declarations here.
23932 (cache_search): Adjust prototype.
23933 Add netgroup-related prototypes.
23934 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23935 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23936 (__nscd_innetgr): Declare.
23937 * nscd/selinux.c (perms): Use access_vector_t as element type and
23938 add netgroup-related initializers.
23939 * nscd/netgroupcache.c: New file.
23940 * nscd/nscd_netgroup.c: New file.
23941 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23942 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23943 For four parameters use innetgr.
23944 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23945 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23946 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23947 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23948
21fd49a9
UD
23949 * nscd/connections.c (register_traced_file): Don't register file
23950 for disabled databases.
23951
054c0457
UD
239522011-10-06 Ulrich Drepper <drepper@gmail.com>
23953
32b63198
UD
23954 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23955
054c0457
UD
23956 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23957 from tree and freeing node.
23958
64031225
JO
239592011-09-25 Jiri Olsa <jolsa@redhat.com>
23960
23961 * nss/nsswitch.c (__nss_database_lookup): Handle
23962 nss_parse_service_list out of memory case.
23963
0490345c
JO
239642011-09-15 Jiri Olsa <jolsa@redhat.com>
23965
23966 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23967 out of memory case.
23968
3a62d00d
AS
239692011-10-04 Andreas Schwab <schwab@redhat.com>
23970
23971 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23972 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23973 pass it down.
23974 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23975 elf_machine_rela, elf_machine_lazy_rel.
23976 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23977 (ELF_DYNAMIC_DO_REL): Likewise.
23978 (ELF_DYNAMIC_DO_RELA): Likewise.
23979 (ELF_DYNAMIC_RELOCATE): Likewise.
23980 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23981 to ELF_DYNAMIC_DO_REL.
23982 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23983 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23984 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23985 elf_machine_rela.
23986 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23987 skip_ifunc, don't call ifunc function if non-zero.
23988 (elf_machine_rela): Likewise.
23989 (elf_machine_lazy_rel): Likewise.
23990 (elf_machine_lazy_rela): Likewise.
23991 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23992 (elf_machine_lazy_rel): Likewise.
23993 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23994 Likewise.
23995 (elf_machine_lazy_rel): Likewise.
23996 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23997 Likewise.
23998 (elf_machine_lazy_rel): Likewise.
23999 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24000 (elf_machine_lazy_rel): Likewise.
24001 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24002 (elf_machine_lazy_rel): Likewise.
24003 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24004 (elf_machine_lazy_rel): Likewise.
24005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24006 (elf_machine_lazy_rel): Likewise.
24007 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24008 (elf_machine_lazy_rel): Likewise.
24009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24010 (elf_machine_lazy_rel): Likewise.
24011
68577918
UD
240122011-09-28 Ulrich Drepper <drepper@gmail.com>
24013
24014 * nss/nss_files/files-init.c (_nss_files_init): Use static
24015 initialization for all the *_traced_file variables.
24016
68822d74
AS
240172011-09-28 Andreas Schwab <schwab@redhat.com>
24018
24019 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24020
2056100b
RM
240212011-09-27 Roland McGrath <roland@hack.frob.com>
24022
24023 [BZ #13226]
24024 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24025
32c76b63
AS
240262011-09-27 Andreas Schwab <schwab@redhat.com>
24027
24028 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24029 Reread the line before reparsing it.
24030
bf972c9d
AS
240312011-09-26 Andreas Schwab <schwab@redhat.com>
24032
24033 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24034
e057a1b5
JM
240352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24036 Maxim Kuvyrkov <maxim@codesourcery.com>
24037 Joseph Myers <joseph@codesourcery.com>
24038
24039 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24040 if needed for __stack_chk_guard.
24041
bc7e1c36
RM
240422011-09-19 Roland McGrath <roland@hack.frob.com>
24043
ecb1482f
RM
24044 * sysdeps/posix/spawni.c (script_execute): Always define it.
24045 It will be optimized away if unused.
24046 (maybe_script_execute): New function.
24047 (__spawni): Call it.
24048
bc7e1c36
RM
24049 * Makerules: Don't include tls.make.
24050 (config-tls): Always set to thread.
24051 * tls.make.c: File removed.
24052
1c3b002b
MF
240532011-09-19 Mike Frysinger <vapier@gentoo.org>
24054
24055 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24056 * config.make.in (CPPFLAGS-config): New substituted variable.
24057
2840865d
UD
240582011-09-15 Ulrich Drepper <drepper@gmail.com>
24059
88738eb6
UD
24060 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24061
cbf645a6 24062 [BZ #13192]
2840865d
UD
24063 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24064 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24065
b402e91a
RM
240662011-09-15 Roland McGrath <roland@hack.frob.com>
24067
24068 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24069 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24070 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24071 (CALL_FAIL): Likewise.
24072 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24073 (CALL_FAIL): Macro removed.
24074 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24075
4c1a1f71
UD
240762011-09-15 Ulrich Drepper <drepper@gmail.com>
24077
24078 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24079 for __FINITE_MATH_ONLY__ == 1.
24080
edc121be
AS
240812011-09-15 Andreas Schwab <schwab@redhat.com>
24082
24083 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24084 __ieee754_sqrt instead of sqrt.
24085 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24086 __ieee754_sqrtf instead of sqrtf.
24087 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24088 __floorf instead of floorf.
24089 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24090 __floorf, __truncf instead of floorf, truncf.
24091
cd205654
UD
240922011-09-14 Ulrich Drepper <drepper@gmail.com>
24093
ee4d0315
UD
24094 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24095
cd205654
UD
24096 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24097 __extern_always_inline.
24098 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24099 32-bit.
24100
48b67d71
AS
241012011-09-14 Andreas Schwab <schwab@redhat.com>
24102
24103 * elf/rtld.c (dl_main): Also relocate in dependency order when
24104 doing symbol dependency testing.
24105
1ae12c75
AS
241062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24107
24108 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24109 Always define `refsym'.
24110
995a80df
AS
241112011-09-13 Andreas Schwab <schwab@redhat.com>
24112
e529793b
AS
24113 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24114 (__FD_ELT): Renamed from __FDELT.
24115 * misc/bits/select2.h (__FD_ELT): Likewise.
24116 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24117 __FD_MASK instead of __FDELT, __FDMASK.
24118 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24119 Likewise.
24120 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24121 Likewise.
24122
52d4fef8
AS
24123 * elf/Makefile (gen-ldd): Fix pattern.
24124
995a80df
AS
24125 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24126 (init_tls): Likewise.
24127
8682f8b0
UD
241282011-09-12 Ulrich Drepper <drepper@gmail.com>
24129
24130 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24131
de82006d
AS
241322011-09-12 Andreas Schwab <schwab@redhat.com>
24133
a7c8e6a1
AS
24134 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24135 `struct cmsghdr *' instead of `void *'.
24136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24137 Likewise.
24138
0f31fe77
AS
241392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24140
24141 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24142 if non-absolute.
24143 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24144 ldd_rewrite_script.
0f31fe77 24145
32b4c839
UD
241462011-09-11 Ulrich Drepper <drepper@gmail.com>
24147
83cd1420
UD
24148 * configure.in: Remove --with-tls option.
24149 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24150 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24151 out in case it is missing.
24152 * sysdeps/ia64/elf/configure.in: Likewise.
24153 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24154 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24155 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24156 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24157 * sysdeps/sh/elf/configure.in: Likewise.
24158 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24159 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24160 * sysdeps/x86_64/elf/configure.in: Likewise.
24161 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24162 * sysdeps/mach/hurd/tls.h: Likewise.
24163
633f745d
UD
24164 [BZ #13067]
24165 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24166
f318beb8
UD
24167 [BZ #13090]
24168 * configure.in: Fix use of AC_INIT.
24169
32b4c839
UD
24170 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24171
3ce1f295
UD
241722011-09-10 Ulrich Drepper <drepper@gmail.com>
24173
bb016596
UD
24174 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24175 __set_errno.
8e58439c
UD
24176 * malloc/hooks.c: Likewise.
24177
aebae053 24178 [BZ #11929]
02d46fc4
UD
24179 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24180 variables statically.
24181 (narenas): Initialize.
24182 (list_lock): Initialize.
bb016596
UD
24183 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24184 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24185 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24186 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24187 Add initializers to main_arena and mp_.
24188 (malloc_state): Remove pagesize member. Change all users to use
24189 GLRO(dl_pagesize).
24190
24191 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24192 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24193 is always initialized.
24194
22a89187
UD
24195 * malloc/malloc.c: Removed unused configurations and dead code.
24196 * malloc/arena.c: Likewise.
24197 * malloc/hooks.c: Likewise.
02d46fc4 24198 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24199
d063d164
UD
24200 * include/tls.h: Removed. USE___THREAD must always be defined.
24201 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24202 * elf/dl-libc.c: Likewise.
24203 * elf/dl-tsd.c: Likewise.
24204 * include/errno.h: Likewise.
24205 * include/netdb.h: Likewise.
24206 * include/resolv.h: Likewise.
24207 * inet/herrno-loc.c: Likewise.
24208 * inet/herrno.c: Likewise.
24209 * malloc/arena.c: Likewise.
24210 * malloc/hooks.c: Likewise.
24211 * malloc/malloc.c: Likewise.
24212 * resolv/res-state.c: Likewise.
24213 * resolv/res_libc.c: Likewise.
24214 * sysdeps/i386/dl-machine.h: Likewise.
24215 * sysdeps/ia64/dl-machine.h: Likewise.
24216 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24217 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24218 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24219 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24220 * sysdeps/sh/dl-machine.h: Likewise.
24221 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24222 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24223 * sysdeps/unix/i386/sysdep.S: Likewise.
24224 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24225 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24226 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24227 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24228 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24229 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24230 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24232 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24234 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24235 * sysdeps/x86_64/dl-machine.h: Likewise.
24236 * tls.make.c: Likewise.
24237
3ce1f295
UD
24238 * configure.in: Remove --with-__thread option. Make tests for
24239 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24240 tls_model attribute fail if no support is available. Remove
24241 USE_IN_LIBIO.
24242 * Makeconfig: Adjust for dropped configure option. All features are
24243 now mandatory.
24244 * Makerules: Likewise.
24245 * Versions.def: Likewise.
24246 * argp/argp-fmtstream.c: Likewise.
24247 * argp/argp-fmtstream.h: Likewise.
24248 * argp/argp-help.c: Likewise.
24249 * assert/assert.c: Likewise.
24250 * config.h.in: Likewise.
24251 * config.make.in: Likewise.
24252 * configure: Likewise.
24253 * configure.in: Likewise.
24254 * csu/Versions: Likewise.
24255 * csu/init.c: Likewise.
24256 * elf/tst-audit2.c: Likewise.
24257 * elf/tst-tls10.c: Likewise.
24258 * elf/tst-tls10.h: Likewise.
24259 * elf/tst-tls11.c: Likewise.
24260 * elf/tst-tls12.c: Likewise.
24261 * elf/tst-tls14.c: Likewise.
24262 * elf/tst-tlsmod11.c: Likewise.
24263 * elf/tst-tlsmod12.c: Likewise.
24264 * elf/tst-tlsmod13.c: Likewise.
24265 * elf/tst-tlsmod13a.c: Likewise.
24266 * elf/tst-tlsmod14a.c: Likewise.
24267 * elf/tst-tlsmod15b.c: Likewise.
24268 * elf/tst-tlsmod16a.c: Likewise.
24269 * elf/tst-tlsmod16b.c: Likewise.
24270 * elf/tst-tlsmod7.c: Likewise.
24271 * elf/tst-tlsmod8.c: Likewise.
24272 * elf/tst-tlsmod9.c: Likewise.
24273 * gmon/gmon.c: Likewise.
24274 * grp/fgetgrent_r.c: Likewise.
24275 * grp/putgrent.c: Likewise.
24276 * hurd/fopenport.c: Likewise.
24277 * include/libc-symbols.h: Likewise.
24278 * include/tls.h: Likewise.
24279 * intl/gettextP.h: Likewise.
24280 * intl/loadinfo.h: Likewise.
24281 * locale/global-locale.c: Likewise.
24282 * locale/localeinfo.h: Likewise.
24283 * mach/devstream.c: Likewise.
24284 * malloc/arena.c: Likewise.
24285 * malloc/set-freeres.c: Likewise.
24286 * misc/err.c: Likewise.
24287 * misc/getttyent.c: Likewise.
24288 * misc/mntent_r.c: Likewise.
24289 * posix/getopt.c: Likewise.
24290 * posix/wordexp.c: Likewise.
24291 * pwd/fgetpwent_r.c: Likewise.
24292 * resolv/Versions: Likewise.
24293 * resolv/res_hconf.c: Likewise.
24294 * shadow/fgetspent_r.c: Likewise.
24295 * shadow/putspent.c: Likewise.
24296 * stdio-common/printf_fphex.c: Likewise.
24297 * stdio-common/tmpfile.c: Likewise.
24298 * stdlib/abort.c: Likewise.
24299 * stdlib/fmtmsg.c: Likewise.
24300 * sunrpc/auth_unix.c: Likewise.
24301 * sunrpc/clnt_perr.c: Likewise.
24302 * sunrpc/clnt_tcp.c: Likewise.
24303 * sunrpc/clnt_udp.c: Likewise.
24304 * sunrpc/clnt_unix.c: Likewise.
24305 * sunrpc/openchild.c: Likewise.
24306 * sunrpc/svc_simple.c: Likewise.
24307 * sunrpc/svc_tcp.c: Likewise.
24308 * sunrpc/svc_udp.c: Likewise.
24309 * sunrpc/svc_unix.c: Likewise.
24310 * sunrpc/xdr.c: Likewise.
24311 * sunrpc/xdr_array.c: Likewise.
24312 * sunrpc/xdr_rec.c: Likewise.
24313 * sunrpc/xdr_ref.c: Likewise.
24314 * sunrpc/xdr_stdio.c: Likewise.
24315
1248c1c4
PB
243162011-09-09 Ulrich Drepper <drepper@gmail.com>
24317
24318 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24319
243202011-07-03 Andreas Jaeger <aj@suse.de>
24321
24322 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24323 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24324 regenerate with gen-libm-tests.pl.
24325
243262010-05-12 Petr Baudis <pasky@suse.cz>
24327
24328 [BZ #11589]
24329 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24330 around j0() zero points by switching to j1().
24331 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24332 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24333 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24334 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24335
f22e1074
UD
243362011-09-09 Ulrich Drepper <drepper@gmail.com>
24337
f19009c1
UD
24338 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24339 instead of 0.
24340 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24341 instead of 0.
f19009c1
UD
24342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24343 Patch in part by Pavel Roskin <proski@gnu.org>.
24344
3f8cc204
UD
24345 [BZ #13138]
24346 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24347 realloc.
24348 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24349 Free memory block if necessary.
24350
f22e1074
UD
24351 [BZ #12847]
24352 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24353 be NULL. Don't lock in this case.
24354
0a2349f9
RM
243552011-09-09 Roland McGrath <roland@hack.frob.com>
24356
24357 * elf/elf.h (ELFOSABI_GNU): New macro.
24358 (ELFOSABI_LINUX): Define to that.
24359
f3cdd467
DZ
243602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24361
24362 * string/strncat.c (strncat): Undef the symbol in case it has been
24363 defined in bits/string.h.
24364
74718d13
UD
243652011-09-09 Ulrich Drepper <drepper@gmail.com>
24366
633e9e0f
UD
24367 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24368
0a2349f9 24369 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24370 link map.
24371
f9924780
AJ
243722011-08-17 Andreas Jaeger <aj@suse.de>
24373
24374 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24375
7f5517aa
PP
243762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24377 Ian Lance Taylor <iant@google.com>
24378
24379 * math/libm-test.inc (lround_test): New testcase.
24380 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24381
762011fe
UD
243822011-09-08 Ulrich Drepper <drepper@gmail.com>
24383
92963737
UD
24384 * Makefile: Remove support for automatic cvs check-ins.
24385 * Makerules: Likewise.
24386 * config.make.in: Likewise.
24387 * configure.in: Likewise.
24388 * intl/Makefile: Likewise.
24389 * locale/Makefile: Likewise.
24390 * po/Makefile: Likewise.
24391 * posix/Makefile: Likewise.
24392 * sysdeps/gnu/Makefile: Likewise.
24393 * sysdeps/mach/hurd/Makefile: Likewise.
24394 * sysdeps/sparc/sparc32/Makefile: Likewise.
24395
b0727fd8
JS
24396 [BZ #13118]
24397 * posix/Makefile (bug-regex32-ENV): Define.
24398 Patch by John Stanley <jpsinthemix@verizon.net>.
24399
a0f33f99
UD
24400 * misc/Makefile (headers): Add bits/select2.h.
24401 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24402 * misc/bits/select2.h: New file.
24403 * include/bits/select2.h: New file.
24404 * debug/Makefile (routines): Add fdelt_chk.
24405 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24406 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24407 FD_ISSET.
24408 * debug/fdelt_chk.c: New file.
24409
762011fe
UD
24410 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24411 * wcsmbs/test-wmemcmp.c: Likewise.
24412 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24413 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24414
244152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24416
24417 * string/Makefile (strop-tests): Add memcmp.
24418 * string/test-wmemcmp.c: New file.
24419 * string/test-memcmp.c: Add wmemcmp support.
24420
7f513ec8
RM
244212011-09-08 Roland McGrath <roland@hack.frob.com>
24422
0442afb4
RM
24423 [BZ #13153]
24424 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24425 2011-07-19 change.
24426
7f513ec8
RM
24427 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24428 garbage value in a __mach_port_mod_refs call in the cases of the
24429 task-self and thread-self ports.
24430
a12b2239
ST
244312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24432
24433 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24434
610f9ab4
AS
244352011-09-08 Andreas Schwab <schwab@redhat.com>
24436
7f513ec8 24437 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24438
48882a1a
LD
244392011-09-07 Ulrich Drepper <drepper@gmail.com>
24440
b49865be
UD
24441 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24442
fdc86bc9
UD
24443 * elf/dl-libc.c (dlerror_run): Pass back error code from
24444 dl_catch_error.
24445
c966526a
UD
24446 [BZ #13123]
24447 * elf/dl-load.c (lose): Free l_origin if it is valid.
24448
48882a1a
LD
24449 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24450 names.
24451 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24452 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24453 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24454 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24455 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24456 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24457
77a2a8b4
AZ
244582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24459
24460 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24461 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24462 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24463 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24464 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24465 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24466 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24467 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24468 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24469 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24470
24f579d8
AM
244712011-08-15 Alan Modra <amodra@gmail.com>
24472
24473 [BZ #13092]
24474 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24475 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24476 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24477 ppc_mcount to static-only-routines.
24478 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24479 __mcount_internal.
24480 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24481 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24482
3d4837df
UD
244832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24484
24485 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24486 for finite and infinity parameters.
24487
22700377
WS
244882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24489
24490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24491 and add nop instructions for throughput optimization.
24492 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24493
5025581e
WS
244942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24495
24496 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24497 aligned copy for power7 with vector-scalar instructions.
24498 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24499
08a300c9
L
245002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24501
24502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24503 AVX check.
24504
59178ef9
AS
245052011-09-07 Andreas Schwab <schwab@redhat.com>
24506
24507 [BZ #13144]
24508 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24509 last change.
24510
e38ba7ab
UD
245112011-09-07 Ulrich Drepper <drepper@gmail.com>
24512
24513 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24514 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24515 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24516 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24517 clock_gettime.
24518
d53a73ac
UD
245192011-09-06 Ulrich Drepper <drepper@gmail.com>
24520
fc8bffcc
UD
24521 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24522 Forgot to demangle the pointer.
24523
ceaa0c5d
UD
24524 * sysdeps/i386/sysdep.h: Define atom_text_section.
24525 * sysdeps/x86_64/sysdep.h: Likewise.
24526 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24527 section with atom_text_section.
24528 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24529 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24530 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24531 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24532 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24533
a77d3c17
UD
24534 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24535 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24536 already be defined. Change to take two parameters and don't assign
24537 result to variable. Adjust all users.
24538 Define INTERNAL_GETTIME if not already defined.
24539 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24540 call.
24541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24542 HAVE_CLOCK_GETTIME_VSYSCALL.
24543 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24544
d53a73ac
UD
24545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24546 gettimeofday vsyscall, just use time.
24547
a8f84144
AS
245482011-09-06 Andreas Schwab <schwab@redhat.com>
24549
24550 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24551 <errno.h>.
24552
ef606249
UD
245532011-09-06 Ulrich Drepper <drepper@gmail.com>
24554
24555 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24556 syscall on x86-64.
24557 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24558 syscall.
24559 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24560 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24561 syscall if possible.
24562
6585cb60
UD
245632011-09-05 Ulrich Drepper <drepper@gmail.com>
24564
24565 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24566 e_ident. Don't pass to find_mapsXX.
24567 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24568
a5f524e4
LD
245692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24570
24571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24572 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24573 * sysdeps/x86_64/multiarch/strchr.S: Update.
24574 Check bit_slow_BSF bit.
24575 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24576 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24577 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24578
554881ef
UD
245792011-09-05 Ulrich Drepper <drepper@gmail.com>
24580
d96de963
UD
24581 [BZ #13134]
24582 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24583 before glibc 2.15.
24584 (tryshell): Define.
24585 (__spawni): Change last parameter to be flag. Test
24586 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24587 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24588 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24589 * posix/spawni.c: Likewise.
24590 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24591 * posix/spawnp.c: Likewise. Change normal version to use
24592 SPAWN_XFLAGS_USE_PATH.
24593 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24594 SPAWN_XFLAGS_TRY_SHELL.
24595
d48e5868
UD
24596 [BZ #13150]
24597 * posix/glob.h: Remove gcc 1.x support.
24598
554881ef
UD
24599 [BZ #13068]
24600 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24601
693fb948
LD
246022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24603
24604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24605 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24606 strrchr-sse2-bsf
24607 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24608 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24609 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24610 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24611 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24612 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24613
1b48c537
UD
246142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24615
49d42c37
UD
24616 * sysdeps/x86_64/wcscmp.S: New file.
24617
1b48c537
UD
24618 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24619 wcscmp-c wcscmp-sse2
24620 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24621 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24622 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24623 * wcsmbs/wcscmp.c: Allow renaming.
24624
15c95c5d
DM
246252011-09-05 David S. Miller <davem@davemloft.net>
24626
24627 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24628 stack slot, rather than the struct return pointer slot.
24629 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24630 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24632 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24633
2f0ad8f3
UD
246342011-09-05 Ulrich Drepper <drepper@gmail.com>
24635
d88ae418
UD
24636 * po/ja.po: Update from translation team.
24637
2f0ad8f3
UD
24638 [BZ #13144]
24639 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24640 kernel in 64-bit binaries.
24641
5f4318d1
DM
246422011-09-01 David S. Miller <davem@davemloft.net>
24643
24644 * elf/elf.h (HWCAP_SPARC_*): Move to..
24645 * sysdeps/sparc/sysdep.h: this new file and add new values.
24646 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24647 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24648 _DL_HWCAP_COUNT to 24.
24649 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24650 entries.
24651 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24652 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24653 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24654 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24655 instead of magic constants.
24656 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24657
3ba57516
DM
246582011-08-31 David S. Miller <davem@davemloft.net>
24659
24660 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24662 Reimplement to do errno handling inline.
24663 (SYSCALL_ERROR_HANDLER): New macro.
24664 (__SYSCALL_STRING): Do not do errno handling in asm.
24665 (__CLONE_SYSCALL_STRING): Delete.
24666 (__INTERNAL_SYSCALL_STRING): Delete.
24667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24668 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24669 (PSEUDO): Reimplement to do errno handling inline.
24670 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24671 (SYSCALL_ERROR_HANDLER): New macro.
24672 (__SYSCALL_STRING): Do not do errno handling in asm.
24673 (__CLONE_SYSCALL_STRING): Delete.
24674 (__INTERNAL_SYSCALL_STRING): Delete.
24675 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24676 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24677 i386.
24678 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24679 (inline_syscall*): Add 'err' argument.
24680 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24681 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24682 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24683 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24684
24685 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24686 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24687
2bc17433
AS
246882011-08-30 Andreas Schwab <schwab@redhat.com>
24689
24690 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24691
fbeb5f4d
JO
246922011-08-29 Jiri Olsa <jolsa@redhat.com>
24693
24694 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24695 directive.
24696
ad69cc26
DM
246972011-08-24 David S. Miller <davem@davemloft.net>
24698
24699 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24700
39dd69df
AS
247012011-08-24 Andreas Schwab <schwab@redhat.com>
24702
24703 * elf/Makefile: Add rules to build and run unload8 test.
24704 * elf/unload8.c: New file.
24705 * elf/unload8mod1.c: New file.
24706 * elf/unload8mod1x.c: New file.
24707 * elf/unload8mod2.c: New file.
24708 * elf/unload8mod3.c: New file.
24709
24710 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24711 it wasn't used.
24712
2c0b250a
DM
247132011-08-23 David S. Miller <davem@davemloft.net>
24714
24715 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24716 subtract stack bias.
24717 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24718 %sp not %fp in calculations.
24719 (_JMPBUF_UNWINDS_ADJ): Likewise.
24720
22044b48
DM
24721 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24722 (aio_suspend): Call it to force an exception region around the
24723 AIO_MISC_WAIT() invocation.
24724
2cae4995
AS
247252011-08-23 Andreas Schwab <schwab@redhat.com>
24726
24727 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24728 backslash.
24729
873a772e
AJ
247302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24731
24732 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24733 protection macro.
24734 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24735 and <dl-machine.h>.
24736 (Elf64_FuncDesc): Remove.
24737
25ad0df1
DM
247382011-08-22 David S. Miller <davem@davemloft.net>
24739
24740 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24741 sigaltstack check, add missing cfi directives.
24742 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24743 missing cfi directives, and sigaltstack handling.
24744
e888bcbe
AS
247452011-08-16 Andreas Schwab <schwab@redhat.com>
24746
24747 [BZ #11724]
24748 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24749 object is seen twice.
24750 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24751
24752 * elf/Makefile (distribute): Add tst-initorder2.c.
24753 (tests): Add tst-initorder2.
24754 (modules-names): Add tst-initorder2a tst-initorder2b
24755 tst-initorder2c tst-initorder2d. Add rules to build them.
24756 ($(objpfx)tst-initorder2.out): New rule.
24757 * elf/tst-initorder2.c: New file.
24758 * elf/tst-initorder2.exp: New file.
24759
87162f46
AS
247602011-08-22 Andreas Schwab <schwab@redhat.com>
24761
70538b7f
AS
24762 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24763
f55ffe58
AS
24764 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24765 dependencies back to end of function.
24766
87162f46
AS
24767 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24768 $(elfobjdir)/ld.so.
24769
91b392a4
UD
247702011-08-21 Ulrich Drepper <drepper@gmail.com>
24771
24772 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24773 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24775 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24776 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24777 of __vdso_gettimeofday.
24778 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24779 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24780 attribute_hidden.
24781 (_libc_vdso_platform_setup): Remove initialization of
24782 __vdso_gettimeofday and __vdso_time.
24783
5c43483f
UD
247842011-08-20 Ulrich Drepper <drepper@gmail.com>
24785
775a77e7
UD
24786 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24787 and fgetc_unlocked.
24788 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24789 getc_unlocked.
89f447ed 24790
49c74ba9
UD
24791 * elf/dl-open.c (add_to_global): Report additions to the global scope
24792 for LD_DEBUG=scopes.
24793 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24794 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24795
5c43483f
UD
24796 [BZ #13114]
24797 * stdio-common/Makefile (tests): Add bug24.
24798 * stdio-common/bug24.c: New file.
24799
a101b025
AJ
248002011-08-19 Andreas Jaeger <aj@suse.de>
24801
24802 [BZ #13114]
24803 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24804 non-existant file when using close-on-exec mode.
24805
c88f1766
UD
248062011-08-20 Ulrich Drepper <drepper@gmail.com>
24807
0276a718
UD
24808 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24809 the very first instruction.
24810
c88f1766
UD
24811 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24812 the CFI state in the end.
24813 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24814 inclusion of dl-trampoline.h.
24815 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24816
51ccffa0
AS
248172011-08-19 Andreas Schwab <schwab@redhat.com>
24818
94d7165f
AS
24819 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24820 expectations for long double.
24821
51ccffa0
AS
24822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24823 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24824
fd708658 248252011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24826
24827 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24828 artificual limit depends upon the system page size.
24829
44f0a71e
UD
248302011-08-17 Ulrich Drepper <drepper@gmail.com>
24831
24832 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24833 * resolv/Makefile: Define CFLAGS-libresolv.
24834
8de79a24
AS
248352011-08-17 Andreas Schwab <schwab@redhat.com>
24836
24837 * nss/makedb.c (compute_tables): Make variables used in nested
24838 function static.
24839
27724598
UD
248402011-08-17 Ulrich Drepper <drepper@gmail.com>
24841
c5305d88
UD
24842 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24843 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24844 if buffer was too small.
24845
27724598
UD
24846 * elf/pldd.c (main): Attach to all threads in the process.
24847 Rewrite /proc handling to use *at functions.
24848
076fe015
UD
248492011-08-16 Ulrich Drepper <drepper@gmail.com>
24850
174baab3
UD
24851 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24852 specifies first scope to show.
24853 (dl_open_worker): Update callers. Move printing scope of new
24854 object to before the relocation.
44f0a71e 24855 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24856 * sysdeps/generic/ldsodefs.h: Update declaration.
24857
076fe015
UD
24858 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24859 string for the scope number.
24860
a60df2c3
UD
248612011-08-14 Ulrich Drepper <drepper@gmail.com>
24862
24863 * nscd/servicescache.c (cache_addserv): Make sure written is always
24864 initialized.
24865
5e4287d1
RM
248662011-08-14 Roland McGrath <roland@hack.frob.com>
24867
85ae0589
RM
24868 * sysdeps/i386/i486/bits/atomic.h
24869 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24870 statement expression, so as to suppress "set but not used" warning.
24871 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24872
69f63097
RM
24873 * string/strncat.c (STRNCAT): Use prototype definition.
24874
675456ef
RM
24875 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24876 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24877 -Iprograms here.
24878 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24879 (localedef-modules): Add localedef.
24880 (locale-modules): Add locale.
24881
5e4287d1
RM
24882 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24883 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24884 to avoid a warning.
24885
9c96ff23
DM
248862011-08-14 David S. Miller <davem@davemloft.net>
24887
24888 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24889 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24890
f9ddf089
UD
248912011-08-13 Ulrich Drepper <drepper@gmail.com>
24892
44f0a71e 24893 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24894 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24895 * elf/rtld.c (dl_main): Set l_name of vDSO.
24896 Call _dl_show_scope when DL_DEBUG_SCOPES.
24897 (process_dl_debug): Recognize scopes flag and also set it for all.
24898 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24899 Declare _dl_show_scope.
24900
1dc27704
UD
24901 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24902 (do_dlopen): Pass caller_dlopen to dl_open.
24903 (__libc_dlopen_mode): Initialize caller_dlopen.
24904
f9ddf089
UD
24905 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24906 of libc. Make tolower call locale-independent. Optimize a bit by
24907 using isdigit instead of isalnum.
24908 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24909
9ac533d3
UD
249102011-08-12 Ulrich Drepper <drepper@gmail.com>
24911
24912 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24913 was a dependency or dynamically loaded.
24914
89edf2e9
UD
249152011-08-11 Ulrich Drepper <drepper@gmail.com>
24916
8e999d29
UD
24917 * intl/l10nflist.c: Allow architecture-specific pop function.
24918 * sysdeps/x86_64/l10nflist.c: New file.
24919
89edf2e9
UD
24920 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24921 classification.
24922
14d96785
AS
249232011-08-10 Andreas Schwab <schwab@redhat.com>
24924
24925 * include/dirent.h: Add libc_hidden_proto for scandirat and
24926 scandirat64. Don't declare __scandirat64.
24927 * dirent/scandirat.c: Add libc_hidden_def.
24928 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24929 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24930
6761ac04
DM
249312011-08-10 David S. Miller <davem@davemloft.net>
24932
24933 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24934 enum.
24935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24937 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24938
c55fbd1e
UD
249392011-08-09 Ulrich Drepper <drepper@gmail.com>
24940
24941 * Versions.def [libc]: Add GLIBC_2.15.
24942 * dirent/Makefile (routines): Add scandirat and scandirat64.
24943 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24944 GLIBC_2.15.
24945 * dirent/dirent.h: Declare scandirat and scandirat64.
24946 * dirent/scandirat.c: New file.
24947 * dirent/scandirat64.c: New file.
24948 * sysdeps/wordsize-64/scandirat.c: New file.
24949 * sysdeps/wordsize-64/scandirat64.c: New file.
24950 * dirent/opendir.c: Define opendirat.
24951 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24952 using scandirat.
24953 * dirent/scandir64.c: Adjust for scandir.c change.
24954 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24955 __scandirat64, and __scandir_cancel_handler.
24956 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24957 additional parameter and use openat instead of open (outside of ld.so).
24958 Add new __opendir as wrapper around __opendirat.
24959 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24960 here without requiring old scandirat implementation.
24961
879165f2
UD
249622011-08-08 Ulrich Drepper <drepper@gmail.com>
24963
24964 * dirent/scandir.c (cancel_handler): Renamed to
24965 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24966 defined. Adjust users.
24967 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24968 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24969
cb7e923b
UD
249702011-08-04 Ulrich Drepper <drepper@gmail.com>
24971
16292edd
UD
24972 * string/test-string.h (IMPL): Use __STRING to expand name and then
24973 stringify it.
24974
cb7e923b
UD
24975 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24976 of cleanups.
24977
cff82933
LD
249782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24979
24980 * string/Makefile: Update.
24981 (strop-tests): Append strncat.
24982 * string/test-wcscmp.c: New file.
24983 New comprehensive test for wcscmp.
24984 * string/test-strcmp.c: Update.
24985 (WIDE): New define.
24986
9be9bfcc
AS
249872011-07-22 Andreas Schwab <schwab@redhat.com>
24988
24989 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24990 line.
24991
2e96f1c7
AS
249922011-07-26 Andreas Schwab <schwab@redhat.com>
24993
24994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24995 encoding to ACE if AI_IDN.
24996
85188888
JJ
249972011-08-01 Jakub Jelinek <jakub@redhat.com>
24998
24999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25000 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25001
5fa16e9b
LD
250022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25003
25004 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25005 Fix overflow bug in strncat.
25006 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25007
25008 * string/test-strncat.c: Update.
25009 Add new tests for checking overflow bugs.
25010
250112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25012
25013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25014 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25015 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25016 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25017 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25018 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25019 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25020 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25021 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25022
25023 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25024 (USE_AS_STRCAT): Define.
25025 Add strcat and strncat support.
25026 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25027
8c1a459f
AS
250282011-07-25 Andreas Schwab <schwab@redhat.com>
25029
25030 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25031 __n bigger than INT_MAX+1.
25032 (__strncmp_g): Likewise.
25033
bba33c28
UD
250342011-07-23 Ulrich Drepper <drepper@gmail.com>
25035
798be72d
UD
25036 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25037 * libio/stido.h: Likewise.
25038
8accd4dc
UD
25039 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25040 (AF_NFC): Define.
25041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25042 (AF_NFC): Define.
25043
cbff0d96
UD
25044 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25045 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25046 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25047 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25048 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25049
9191c04a
UD
25050 [BZ #13021]
25051 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25052 installed.
25053
bba33c28
UD
25054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25055 typo.
25056 (_dl_x86_64_save_sse): Likewise.
25057
90f139dd
UD
250582011-07-22 Ulrich Drepper <drepper@gmail.com>
25059
1aae088a
UD
25060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25061 OSXSAVE.
25062 (_dl_x86_64_save_sse): Likewise.
25063
8e2045f5
UD
25064 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25065
90f139dd
UD
25066 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25067
1d002f25
AS
250682011-07-21 Andreas Schwab <schwab@redhat.com>
25069
25070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25071 change.
25072 (_dl_x86_64_save_sse): Use correct AVX check.
25073
21137f89
UD
250742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25075
25076 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25077 bug in strncpy/strncat.
25078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25079
a65c0b7a
UD
250802011-07-21 Ulrich Drepper <drepper@gmail.com>
25081
25082 * string/tester.c (test_strcat): Add tests for different alignments
25083 of source and destination.
25084 (test_strncat): Likewise.
25085
6986b98a
UD
250862011-07-20 Ulrich Drepper <drepper@gmail.com>
25087
90bb2039
UD
25088 [BZ #12852]
25089 * posix/glob.c (glob): Check passed in values before using them in
25090 expressions to avoid some overflows.
25091 (glob_in_dir): Likewise.
25092
5644ef54
UD
25093 [BZ #13007]
25094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25095 check for AVX enablement so that we don't crash with old kernels and
25096 new hardware.
25097 * elf/tst-audit4.c: Add same checks here.
25098 * elf/tst-audit6.c: Likewise.
25099
25100 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25101
bfc9dc9b
AS
251022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25103
25104 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25105
702e64bb
UD
251062011-07-20 Ulrich Drepper <drepper@gmail.com>
25107
25108 * po/cs.po: Update from translation team.
25109 * po/bg.po: Likewise.
25110
295e904f
MP
251112011-07-12 Marek Polacek <mpolacek@redhat.com>
25112
25113 * misc/sys/cdefs.h: Add support for const attribute.
25114 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25115 to gnu_dev_{major,minor,makedev} functions.
25116
3ff94596
MP
251172011-07-20 Marek Polacek <mpolacek@redhat.com>
25118
25119 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25120
28b59fca
AS
251212011-07-20 Andreas Schwab <schwab@redhat.com>
25122
25123 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25124 strlen results.
25125
19df733e
AK
251262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25127
25128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25129 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25130 register in order to avoid conflicts with the soft frame pointer
25131 being held in r11 when necessary.
25132 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25133 (INTERNAL_VSYSCALL_NCS): Likewise.
25134
c8835729
MP
251352011-07-14 Marek Polacek <mpolacek@redhat.com>
25136
25137 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25138 * elf/dl-fini.c (_dl_fini): Adjust caller.
25139 * elf/dl-close.c (_dl_close_worker): Likewise.
25140 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25141
b902330c
MP
251422011-07-15 Marek Polacek <mpolacek@redhat.com>
25143
8991e135
MP
25144 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25145 "aux_cache->nlibs < 0".
25146
b902330c
MP
25147 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25148 in the reload-count case.
25149
99710781
LD
251502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25151
25152 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25153 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25154 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25155 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25156 * sysdeps/x86_64/multiarch/strcat.S: New file.
25157 * sysdeps/x86_64/multiarch/strncat.S: New file.
25158 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25159 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25160 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25161 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25162 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25163 (USE_AS_STRCAT): Define.
25164 Add strcat and strncat support.
25165 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25166 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25167 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25168 * string/strncat.c: Update.
25169 (USE_AS_STRNCAT): Define.
25170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25171 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25172 and i7.
25173 * sysdeps/x86_64/multiarch/init-arch.h
25174 (bit_Prefer_PMINUB_for_stringop): New.
25175 (index_Prefer_PMINUB_for_stringop): Likewise.
25176 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25177 bit_Prefer_PMINUB_for_stringop.
25178
7dc6bd90
UD
251792011-07-19 Ulrich Drepper <drepper@gmail.com>
25180
25181 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25182 buffer64.
25183 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25184 of casting of buffer.
25185 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25186 buffer32 and buffer64.
25187 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25188 writes instead of casting of buffer.
25189 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25190 buffer32.
25191 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25192 casting of buffer.
25193
e0e72284
AS
251942011-07-19 Andreas Schwab <schwab@redhat.com>
25195
25196 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25197
feb1eb0b
UD
251982011-07-19 Ulrich Drepper <drepper@gmail.com>
25199
25200 * nscd/nscd.c (termination_handler): Don't do anything for a database
25201 if it has not yet been initialized.
25202
298711ff
UD
252032011-07-18 Ulrich Drepper <drepper@gmail.com>
25204
25205 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25206
252072011-07-15 Marek Polacek <mpolacek@redhat.com>
25208
25209 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25210
f9d68389
UD
252112011-07-18 Ulrich Drepper <drepper@gmail.com>
25212
25213 * po/nl.po: Update from translation team.
25214 * po/sv.po: Likewise.
25215
db290cf5
RM
252162011-07-16 Roland McGrath <roland@hack.frob.com>
25217
25218 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25219 now disallowed by GCC.
5c550700 25220
fd5e21c7
RM
25221 * configure.in (use-default-link): Default to yes if a test -shared
25222 link meets our qualifications.
25223 * configure: Regenerated.
25224
5c550700
RM
25225 * config.make.in (output-format): New variable.
25226 * configure.in: Check for ld --print-output-format support.
25227 * configure: Regenerated.
25228 * Makerules ($(common-objpfx)format.lds)
25229 [$(output-format) != unknown]: Just use $(output-format),
25230 instead of the linker-script munging.
25231
9fa2c032
RM
252322011-07-14 Roland McGrath <roland@hack.frob.com>
25233
a6928d51
RM
25234 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25235 of $(common-objpfx)shlib.lds.
25236 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25237
661607b3
RM
25238 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25239 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25240
9fa2c032
RM
25241 * configure.in (-z relro check): Adjust test code to add a large
25242 writable data section after it.
25243 * configure: Regenerated.
25244
defe9061
RM
252452011-07-11 Roland McGrath <roland@hack.frob.com>
25246
25247 * configure.in (-z relro check): Fix test code to make the variable
25248 truly const.
25249 * configure: Regenerated.
25250
319b9ad4
UD
252512011-07-11 Ulrich Drepper <drepper@gmail.com>
25252
25253 * nscd/nscd.h (struct traced_file): Define.
25254 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25255 elements. Add traced_files.
25256 (inotify_fd): Declare.
25257 (register_traced_file): Declare.
25258 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25259 (inotify_fd): Export.
25260 (resolv_conf_descr): Remove.
25261 (nscd_init): Move inotify descriptor creation to main.
25262 Don't register files for notification here.
25263 (register_traced_file): New function.
25264 (invalidate_cache): Don't use reset_res to determine whether to call
25265 res_init, go through the list of registered files.
25266 (main_loop_poll): The inotify descriptors are now stored in the
25267 structures for the traced files.
25268 (main_loop_epoll): Likewise
25269 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25270 to __nss_disable_nscd.
25271 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25272 for a database anymore. Check the records for all the registered
25273 files instead.
25274 * nss/Makefile (libnss_files-routines): Add files-init.
25275 (libnss_db-routines): Add db-init.
25276 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25277 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25278 * nss/nss_db/db-init.c: New file.
25279 * nss/nss_files/files-init.c: New file.
25280 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25281 __nss_lookup_function.
25282 (__nss_lookup_function): Call nss_load_library.
25283 (nss_load_all_libraries): New function.
25284 (__nss_disable_nscd): Take parameter with callback function for files
25285 to register. Set is_nscd. Load all the DSOs for the NSS modules
25286 used for the cached services.
25287 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25288 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25289 options for features to all the files in nscd.
25290
25291 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25292
23bee3e8
RM
252932011-07-10 Roland McGrath <roland@hack.frob.com>
25294
25295 * csu/elf-init.c (__libc_csu_init): Comment typo.
25296
46a5b7f0
UD
252972011-07-09 Ulrich Drepper <drepper@gmail.com>
25298
25299 * po/pl.po: Update from translation team.
25300 * po/ja.po: Likewise.
25301 * po/ru.po: Likewise.
25302 * po/ko.po: Likewise.
25303 * po/fr.po: Likewise.
25304
d30cf5bb
RM
253052011-07-09 Roland McGrath <roland@hack.frob.com>
25306
113ddea4
RM
25307 * configure.in (.ctors/.dtors header and trailer check):
25308 Use an empirical test on a built program.
25309 * configure: Regenerated.
25310
574920b4
RM
25311 * configure.in (-z relro check): Use an empirical test on a built DSO.
25312 Detect, but do not require, on ia64.
25313 * configure: Regenerated.
25314
d30cf5bb
RM
25315 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25316 Update tests that use readelf to use $READELF instead.
25317 * configure: Regenerated.
25318
8538fdb3
UD
253192011-07-08 Ulrich Drepper <drepper@gmail.com>
25320
25321 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25322 if the result is not used.
25323
04d08991
AJ
253242011-07-05 Andreas Jaeger <aj@suse.de>
25325
25326 [BZ#9696]
25327 * stdlib/tst-strtod.c: Add testcase.
25328
de283087
AD
253292011-07-07 Ulrich Drepper <drepper@gmail.com>
25330
4e5f31c8 25331 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25332 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25333 The latter has a higher limit. Take additional parameter to pass to
25334 the new function.
25335 (__pathconf): Pass file to __statfs_link_max.
25336 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25337 __statfs_link_max.
25338 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25339 __statfs_link_max.
25340
de283087
AD
25341 [BZ #12868]
25342 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25343 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25344 Handle Lustre.
25345 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25346 (__statfs_filesize_max): Likewise.
25347 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25348
c75fa153
AJ
253492011-07-05 Andreas Jaeger <aj@suse.de>
25350
25351 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25352
1a544854
UD
253532011-07-06 Marek Polacek <mpolacek@redhat.com>
25354
25355 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25356 `status' variable.
25357 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25358 Likewise.
25359
6f0eec67
UD
253602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25361
25362 * Makefile (strop-tests): Add strncat.
25363 * string/test-strncat.c: New file.
25364
aae30307
UD
253652011-06-30 Marek Polacek <mpolacek@redhat.com>
25366
25367 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25368
c0cfb5eb
UD
253692011-06-21 Andreas Jaeger <aj@suse.de>
25370
25371 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25372 Copy rule from iconvdata/Makefile.
25373
01636b21
UD
253742011-07-06 Ulrich Drepper <drepper@gmail.com>
25375
25376 [BZ #12922]
25377 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25378 but no long options are defined, just return 'W'.
25379
9895c8bc
UD
253802011-06-22 Marek Polacek <mpolacek@redhat.com>
25381
25382 [BZ #9696]
25383 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25384
5d4cf042
UD
253852011-07-06 Ulrich Drepper <drepper@gmail.com>
25386
25387 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25388 netgroups to read.
960e5535 25389 (innetgr): Likewise.
5d4cf042 25390
751eb97e
RM
253912011-07-05 Roland McGrath <roland@hack.frob.com>
25392
25393 * config.make.in (install_root): Default to $(DESTDIR).
25394
f15f1e45
UD
253952011-07-05 Ulrich Drepper <drepper@gmail.com>
25396
25397 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25398
4e34ac6a
RM
253992011-07-02 Roland McGrath <roland@hack.frob.com>
25400
5e9b6af4
RM
25401 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25402
84f9ea0f
RM
25403 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25404 containing directory rather than embedding absolute directory names.
25405
ea5ee9f7
RM
25406 * scripts/check-local-headers.sh: Rewritten using awk.
25407 Match by word, not by line. Print error messages for matches.
25408 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25409
1b74661a
RM
25410 * Makerules [shlib-lds-flags empty]:
25411 ($(common-objpfx)libc_pic.opts): New target.
25412 ($(common-objpfx)libc_pic.os.clean): New target.
25413 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25414
25415 * config.make.in (OBJCOPY): New variable.
25416 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25417 * configure: Regenerated.
25418
f781ef40
RM
25419 * config.make.in (use-default-link): New variable.
25420 * configure.in (use_default_link): Grok --with-default-link to set it.
25421 * configure: Regenerated.
25422 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25423 (shlib-lds, shlib-lds-flags): Define to empty.
25424
2d4fa81e
RM
25425 * Makerules (shlib-lds): New variable.
25426 (shlib-lds-flags): New variable.
25427 (build-shlib, build-moduile, build-module-asneeded): Use it.
25428 ($(common-objpfx)libc.so): Use $(shlib-lds).
25429 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25430 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25431
31fffa6b
RM
25432 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25433 DT_FLAGS/DT_FLAGS_1 with zero flags.
25434
4e34ac6a
RM
25435 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25436 linker script munging.
25437
fcfc776b
UD
254382011-07-02 Ulrich Drepper <drepper@gmail.com>
25439
25440 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25441 as 128-bit value.
25442 * crypt/sha512.c (sha512_process_block): Perform total addition using
25443 128-bit if possible.
25444 (__sha512_finish_ctx): Likewise.
25445 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25446 as 64-bit value.
25447 * crypt/sha256.c (SWAP64): Define.
25448 (sha256_process_block): Perform total addition using 64-bit if
25449 possible.
25450 (__sha256_finish_ctx): Likewise.
25451
99231d9a
UD
254522011-07-01 Ulrich Drepper <drepper@gmail.com>
25453
25454 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25455 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25456 * nscd/hstcache.c (cache_addhst): Likewise.
25457 * nscd/grpcache.c (cache_addgr): Likewise.
25458 * nscd/aicache.c (addhstaiX): Likewise
25459 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25460
445b4a53
TK
254612011-07-01 Thorsten Kukuk <kukuk@suse.de>
25462
25463 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25464 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25465 * nscd/hstcache.c (cache_addhst): Likewise.
25466 * nscd/grpcache.c (cache_addgr): Likewise.
25467 * nscd/aicache.c (addhstaiX): Likewise
25468
6d4d8e8e
AS
254692011-07-01 Andreas Schwab <schwab@redhat.com>
25470
25471 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25472 domain only when needed.
25473
89f654c5
AS
254742011-06-30 Andreas Schwab <schwab@redhat.com>
25475
25476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25477 is always restored.
25478
cf3b23ff
UD
254792011-06-29 Ulrich Drepper <drepper@gmail.com>
25480
25481 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25482 are re-adding the entry.
25483 * nscd/servicescache.c (cache_addserv): Likewise.
25484
751626f9
AJ
254852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25486
25487 * sysdeps/generic/dl-irel.h: fix protection against multiple
25488 inclusions.
25489 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25490
9113ea1f
UD
254912011-06-28 Ulrich Drepper <drepper@gmail.com>
25492
5c0b8d90
UD
25493 [BZ #12935]
25494 * malloc/memusage.sh: Fix quoting in message.
25495 * debug/xtrace.sh: Likewise.
25496
9113ea1f
UD
25497 * configure.in: Remove support for --experimental-malloc option, make
25498 it the default.
25499 * config.make.in: Likewise.
25500 * malloc/Makefile: Likewise.
25501
a4172181
AS
255022011-06-27 Andreas Schwab <schwab@redhat.com>
25503
25504 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25505 two-byte characters.
25506
78a7eee7
RM
255072011-06-27 Roland McGrath <roland@hack.frob.com>
25508
62bede13
RM
25509 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25510 AC_CACHE_CHECK invocation.
25511 * configure: Regenerated.
25512
78a7eee7
RM
25513 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25514
5ce33a62
UD
255152011-06-27 Ulrich Drepper <drepper@gmail.com>
25516
034807a9
UD
25517 [BZ #12350]
25518 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25519 bit from old_res_options.
25520
4902da17
UD
25521 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25522
5ce33a62
UD
25523 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25524 value type for setfct.
25525
c2344f56
L
255262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25527
25528 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25529 __gettimeofday instead of gettimeofday.
25530
68468076
UD
255312011-06-26 Ulrich Drepper <drepper@gmail.com>
25532
25533 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25534
acb0d739
L
255352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25536
25537 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25538
25539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25540 info.
25541
8912479f
L
255422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25543
25544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25545 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25546 strcpy-sse2-unaligned strncpy-sse2-unaligned
25547 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25548 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25549 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25550 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25551 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25552 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25553 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25554 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25555 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25556 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25557 (STRCPY): Support SSE2 and SSSE3 versions.
25558
d5495a11
UD
255592011-06-24 Ulrich Drepper <drepper@gmail.com>
25560
25561 [BZ #12874]
25562 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25563 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25564 kernels which artificially limit size of requests.
25565
0b1cbaae
L
255662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25567
25568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25569 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25570 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25571 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25572 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25573 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25574 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25575 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25576 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25578 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25579 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25580 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25581 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25582 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25584 Enable unaligned load optimization for Intel Core i3, i5 and i7
25585 processors.
25586 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25587 Define.
25588 (index_Fast_Unaligned_Load): Define.
25589 (HAS_FAST_UNALIGNED_LOAD): Define.
25590
07f494a0
MP
255912011-06-23 Marek Polacek <mpolacek@redhat.com>
25592
25593 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25594
fa3fc0fe
UD
255952011-06-22 Ulrich Drepper <drepper@gmail.com>
25596
25597 [BZ #12907]
25598 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25599 until it is clear that the information is realy needed.
25600 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25601
e12df166
AS
256022011-06-22 Andreas Schwab <schwab@redhat.com>
25603
25604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25605
852eb34d
UD
256062011-06-22 Ulrich Drepper <drepper@gmail.com>
25607
84e2a551
UD
25608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25609 /sys/devices/system/cpu/online if it is usable.
25610
852eb34d
UD
25611 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25612 reading the information from the /proc filesystem to once a second.
25613
6e502e19
UD
256142011-06-21 Andreas Jaeger <aj@suse.de>
25615
25616 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25617 NULL after inclusion of kernel headers.
25618
75d39ff2
UD
256192011-06-21 Ulrich Drepper <drepper@gmail.com>
25620
51f9aa6a
UD
25621 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25622 calls to internal_setent.
25623
c0244a9d
UD
25624 [BZ #12885]
25625 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25626 addresses using gethostbyname4_r ignore IPv4 addresses.
25627
c5e3c2ae
UD
25628 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25629 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25630
75d39ff2
UD
25631 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25632
42675c6f
DM
256332011-06-20 David S. Miller <davem@davemloft.net>
25634
25635 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25636 inclusions.
25637 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25638
25639 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25640 (elf_irel): Use it.
25641 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25642 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25643 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25644 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25645 * sysdeps/x86_64/dl-irel.h: Likewise.
25646
25647 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25648 * elf/dl-sym.c: Likewise.
25649
57912a71
UD
256502011-06-15 Ulrich Drepper <drepper@gmail.com>
25651
25652 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25653 need to dereference resplen2.
25654
ee22793d
AS
256552011-06-14 Andreas Schwab <schwab@redhat.com>
25656
25657 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25658
a9e836b0
UD
256592011-06-15 Ulrich Drepper <drepper@gmail.com>
25660
77fb9117
UD
25661 * Makeconfig: Define vardbdir and inst_vardbdir.
25662 * nss/Makefile: Add rules to install db-Makefile.
25663
40c1b22c
UD
25664 * nss/nss_db/db-XXX.c: Cleanup.
25665
9f2da732
UD
25666 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25667 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25668 GLIBC_PRIVATE.
25669 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25670 * nss/makedb.c: Implement -g option to specify that value strings
25671 are generated and should not be added to table iterated over for
25672 get*ent calls.
25673 * nss/nss_db/db-initgroups.c: New file.
25674
82e9a1f7
UD
25675 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25676 interface.
25677
c41af17e
UD
25678 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25679 (internal_getgrouplist): Adjust to name change.
25680 Update use_initgroups_entry if this is not the first call.
25681 * nss/databases.def: Add initgroups entry.
25682
a9e836b0
UD
25683 * nss/makedb.c (compute_tables): Check result of multiple hash table
25684 sizes to minimize maximum chain length.
25685
2666d441
UD
256862011-06-14 Ulrich Drepper <drepper@gmail.com>
25687
25688 * Versions.def: Add entry for libnss_db.
25689 * shlib-versions: Likewise.
25690 * nss/Makefile: Add rules to build libnss_db.
25691 * nss/Versions: Add libnss_db information. Organize libnss_files
25692 entries better.
25693 * nss/db-Makefile: Add gshadow support. Change rules for the new
25694 makedb progra. Some minor improvements to generate smaller files.
25695 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25696 here from...
25697 * nss/makedb.c: ...here.
25698 Improve database format to be smaller and require less memory at
25699 runtime.
25700 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25701 db anymore.
25702 * nss/nss_db/db-netgrp.c: Likewise.
25703 * nss/nss_db/db-open.c: Likewise.
25704 * nss/nss_files/flies-XXX.x: Adjust comments.
25705 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25706 * nss/nss_files/files-grp.c: Likewise.
25707 * nss/nss_files/files-hosts.c: Likewise.
25708 * nss/nss_files/files-network.c: Likewise.
25709 * nss/nss_files/files-proto.c: Likewise.
25710 * nss/nss_files/files-pwd.c: Likewise.
25711 * nss/nss_files/files-rpc.c: Likewise.
25712 * nss/nss_files/files-service.c: Likewise.
25713 * nss/nss_files/files-sgrp.c: Likewise.
25714 * nss/nss_files/files-spwd.c: Likewise.
25715 * nss/nss_db/db-alias.c: Removed.
25716 * nss/nss_db/dummy-db.h: Removed.
25717
9ee76b5a
UD
257182011-06-02 Ulrich Drepper <drepper@gmail.com>
25719
25720 * nss/makedb.c: Rewritten to not use database library.
25721 * nss/Makefile: Update to build new makedb program.
25722
c71ca1f8
AJ
257232011-06-14 Andreas Jaeger <aj@suse.de>
25724
25725 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25726 memset declaration.
25727
3154bfb8
UD
257282011-06-10 Andreas Schwab <schwab@redhat.com>
25729
25730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25731 tmpbuf.
25732
b350afab
RM
257332011-06-10 Roland McGrath <roland@hack.frob.com>
25734
decd4e50
RM
25735 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25736 * elf/Makefile ($(objpfx)ld.so): Likewise.
25737
5615eaf2
RM
25738 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25739 Don't list ld.so twice in dependencies.
25740
25741 * posix/bug-regex31.c: Include <stdlib.h>.
25742
25743 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25744
25745 * nis/nss_compat/compat-spwd.c
25746 (getspent_next_nss_netgr): Remove unused variable.
25747 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25748
25749 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25750 nonmembers" output to use the right array.
25751
25752 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25753
25754 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25755
25756 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25757 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25758 * catgets/gencat.c (read_input_file): Likewise.
25759 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25760
25761 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25762 variable definition inside #if's controlling its use.
25763
25764 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25765
25766 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25767
25768 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25769
25770 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25771 unreachable code.
25772
25773 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25774
b68e08db
RM
25775 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25776 * configure: Regenerated.
25777
b350afab
RM
25778 * Makerules: Revert last change.
25779 * elf/Makefile: Likewise.
25780
28368601
RM
257812011-06-09 Roland McGrath <roland@hack.frob.com>
25782
25783 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25784 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25785 (reloc-link): Likewise.
25786
11988f8f
UD
257872011-06-09 Ulrich Drepper <drepper@gmail.com>
25788
25789 * elf/Makefile: Add rules to build pldd.
25790 * elf/pldd.c: New file.
25791 * elf/pldd-xx.c: New file.
25792
e80fab37
UD
257932011-06-07 Ulrich Drepper <drepper@gmail.com>
25794
25795 * version.h: Update for 2.15 development version.
25796
9b849836
DM
257972011-06-07 David S. Miller <davem@davemloft.net>
25798
25799 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25800 ifuncs.
25801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25802 elf_machine_lazy_rel): Likewise.
25803 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25804 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25805 elf_machine_lazy_rel): Likewise.
25806 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25807 dl_hwcap via passed in argument.
25808 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25809 Likewise.
25810
5a31b283
AK
258112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25812
25813 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25814
069e52f8
RM
258152011-06-06 Roland McGrath <roland@hack.frob.com>
25816
25817 [BZ #12849]
25818 * manual/fdl-1.1.texi: New file, verbatim from:
25819 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25820 * manual/lgpl-2.1.texi: New file, verbatim from:
25821 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25822 * manual/Makefile (licenses): New variable, list those new file names.
25823 (texis): Use it.
25824 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25825
25826 * manual/fdl.texi: File removed.
25827 * manual/lesser.texi: File removed.
25828 * manual/libc.texinfo (Copying, Documentation License):
25829 Use new @include file names, put @appendix directive before @include.
25830
f16846a5
JJ
258312011-06-04 Jakub Jelinek <jakub@redhat.com>
25832
25833 [BZ #12841]
25834 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25835 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25836 (mq_open): Add __NTH.
25837
3d29045b
L
258382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25839
25840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25841 Assume Intel Core i3/i5/i7 processor if AVX is available.
25842
8c297311
UD
258432011-05-31 Ulrich Drepper <drepper@gmail.com>
25844
25845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25846 typo.
25847
c8fc0c91
UD
258482011-05-31 Andreas Schwab <schwab@redhat.com>
25849
25850 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25851 memory. Use alloca_account. Fix memory leak when retrying.
25852
5b27a807
UD
258532011-05-31 Ulrich Drepper <drepper@gmail.com>
25854
356f8bc6
UD
25855 * version.h (RELEASE): Bump for 2.14 release.
25856 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25857
5b27a807
UD
25858 * config.make.in (RANLIB): Remove entry.
25859
01f16ab0
UD
258602011-05-30 Ulrich Drepper <drepper@gmail.com>
25861
41fce8bd
UD
25862 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25863 (libc.pot): Work around missing support for .ksh extension in xgettext.
25864
4769ae77
UD
25865 [BZ #12684]
25866 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25867 if both request failed.
25868 (send_dg): In case of server errors clear resplen or *resplen2.
25869
6b1e7d19
UD
25870 [BZ #12454]
25871 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25872 when there are multiple maps.
25873 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25874 (_dl_fini): Remove test here.
25875
01f16ab0
UD
25876 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25877
b1ebd700
UD
258782011-05-29 Ulrich Drepper <drepper@gmail.com>
25879
7ae22829
UD
25880 [BZ #12350]
25881 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25882 bit from old_res_options.
25883 (gaih_inet): Likewise.
25884
553149f6 25885 [BZ #11099]
18a84741 25886 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25887 as signed.
25888
652ffab1
UD
25889 * resolv/res_init.c (res_setoptions): Make the code more compact.
25890
16985fd0
UD
25891 [BZ #11558]
25892 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25893 set RES_USEVC.
25894
0464f746
UD
25895 [BZ #11634]
25896 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25897
7d17596c
UD
25898 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25899
cf6bbbd7
UD
25900 [BZ #11781]
25901 * malloc/malloc.h: Declare malloc hook variables as volatile.
25902
13f1ab36
UD
25903 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25904 in last patch.
25905
b1ebd700
UD
25906 [BZ #11799]
25907 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25908 raise in the comment.
80e2212d
UD
25909 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25911 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25912
ce67228d
UD
259132011-05-28 Ulrich Drepper <drepper@gmail.com>
25914
8887a920
UD
25915 [BZ #12811]
25916 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25917 grow the buffers more if it already has to be sufficient.
25918 (build_wcs_upper_buffer): Likewise.
25919 * posix/regexec.c (check_matching): Likewise.
25920 (clean_state_log_if_needed): Likewise.
25921 (extend_buffers): Don't enlarge buffers beyond size of the input
25922 buffer.
25923 Patches mostly by Emil Wojak <emil@wojak.eu>.
25924 * posix/bug-regex32.c: New file.
25925 * posix/Makefile (tests): Add bug-regex32.
25926
4f031072
UD
25927 * locale/findlocale.c (_nl_find_locale): Return right away if
25928 _nl_explode_name failed.
25929 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25930
d0478f0c
UD
25931 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25932
de81b246
UD
25933 * debug/xtrace.sh: Unify messages.
25934 * malloc/memusage.sh: Likewise.
25935
c738465a
UD
25936 [BZ #12813]
25937 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25938 time symbol from vDSO. Substitute with vsyscall if not available.
25939 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25940 __vdso_time.
25941
f1f929d7
UD
25942 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25943 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25944 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25945 Add sendmmsg and internal_sendmmsg.
25946 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25947 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25948 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25949
ce67228d
UD
25950 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25951 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25952 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25953
e57420c6
UD
259542011-05-27 Ulrich Drepper <drepper@gmail.com>
25955
a8509ca5
UD
25956 [BZ #12813]
25957 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25958 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25959 available.
25960 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25961 __vdso_getcpu.
25962
e57420c6
UD
25963 [BZ #12814]
25964 * iconvdata/Makefile (tests): Add bug-iconv9.
25965 * iconvdata/bug-iconv9.c: New file.
25966
4d07db15
AS
259672011-05-27 Andreas Schwab <schwab@redhat.com>
25968
25969 [BZ #12814]
25970 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25971
ea486f69
JJ
259722011-05-25 Jakub Jelinek <jakub@redhat.com>
25973
25974 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25975 (struct user_regs_struct): Change intcs field back to cs.
25976
6f038433
UD
259772011-05-25 Ulrich Drepper <drepper@gmail.com>
25978
25979 * po/ja.po: Update from translation team.
25980
67f86a25
UD
259812011-05-23 Ulrich Drepper <drepper@gmail.com>
25982
25983 [BZ #12795]
25984 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25985 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25986
def7fbd6
AS
259872011-05-20 Andreas Schwab <schwab@redhat.com>
25988
25989 * stdlib/longlong.h: Update from GCC.
25990
f50ef8f1
AS
259912011-05-23 Andreas Schwab <schwab@redhat.com>
25992
25993 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25994 parameter name.
25995 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25996 Add parameter name.
25997 (__sysconf): Pass it down.
25998
de7ce8f1
UD
259992011-05-22 Ulrich Drepper <drepper@gmail.com>
26000
f2962a71
UD
26001 [BZ #12671]
26002 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26003 some situations.
26004 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26005 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26006 add in in __libc_use_alloca calls. Adjust callers.
26007 (glob): Use malloc in some situations.
26008
de7ce8f1
UD
26009 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26010 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26011 pltexit.
26012
aec84f53
UD
260132011-05-21 Ulrich Drepper <drepper@gmail.com>
26014
05bb4a68
UD
26015 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26016 and CLOCK_BOOTTIME_ALARM.
26017
7ea72f99
UD
26018 [BZ #12782]
26019 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26020 is returned.
26021
7e4afad5
UD
26022 * string/_strerror.c (__strerror_r): Print negative errors as signed
26023 numbers.
26024
8e211fec
UD
26025 [BZ #12777]
26026 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26027 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26028 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26029
f7d82dc9
UD
26030 * configure.in: Fix typo in redirection and correct removal of test
26031 files in two cases.
26032
cc9e536d
UD
26033 [BZ #12788]
26034 * locale/setlocale.c (new_composite_name): Fix test to check for
26035 identical name of all categories.
26036
aec84f53
UD
26037 [BZ #12792]
26038 * libio/filedoalloc.c (local_isatty): New function.
26039 (_IO_file_doallocate): Use local_isatty.
26040 * stdio-common/perror.c (perror): In case a new stream is used
26041 forward the stream error.
26042 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26043 error flag.
26044
78e64fdc
RT
260452011-05-20 Ulrich Drepper <drepper@gmail.com>
26046
34a9094f
UD
26047 [BZ #11869]
26048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26049 alloca.
26050 * include/alloca.h (extend_alloca_account): Define.
26051
78e64fdc
RT
26052 [BZ #11857]
26053 * posix/regex.h: Fix comments with documentation of user-accessible
26054 fields after compilation and describe correct free'ing of pattern
26055 after re_compile_pattern.
26056 Patch by Reuben Thomas <rrt@sc3d.org>.
26057
457bddfc
RA
260582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26059
26060 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26061 and -mno-altivec to prevent the compiler from using Altivec and/or
26062 VSX instructions when the corresponding registers are not available.
26063
a4527b51
AS
260642011-05-19 Andreas Schwab <schwab@redhat.com>
26065
26066 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26067
ed690b2f
UD
260682011-05-19 Ulrich Drepper <drepper@gmail.com>
26069
26070 * libio/freopen.c (freopen): Use __dup2, not dup2.
26071 * libio/freopen64.c (freopen64): Likewise.
26072
8db73634
L
260732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26074
26075 [BZ #12775]
26076 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26077 * math/Makefile (tests): Add test-powl.
26078 (CFLAGS-test-powl.c): Define.
26079 * math/test-powl.c: New file.
26080
0a197a9d
L
260812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26082
26083 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26084
ee30c380
UD
260852011-05-17 Ulrich Drepper <drepper@gmail.com>
26086
26087 [BZ #11837]
26088 * iconvdata/gb18030.c: Update to GB18020-2005.
26089
6ce75379
UD
260902011-05-16 Ulrich Drepper <drepper@gmail.com>
26091
a4b89fd8
AR
26092 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26093 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26094 Patch by Aharon Robbins <arnold@skeeve.com>.
26095
ea389b12
UD
26096 [BZ #11892]
26097 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26098 on the stack.
26099
68a3f91f
UD
26100 [BZ #11895]
26101 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26102 through underflows.
26103
15cc7dd1
UD
26104 [BZ #12766]
26105 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26106 point to strings before performing equality test for error_one_per_line
26107 mode.
26108
f3799213
UD
26109 [BZ #11697]
26110 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26111
d79a9c94
UD
26112 [BZ #11820]
26113 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26114 (struct user_fpregs_struct): Avoid __uint*_t types.
26115
56e5eb46
UD
26116 [BZ #6420]
26117 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26118 symbol info. Use it instead of calling _dl_addr locally.
26119 (lock_and_info): New function.
26120 (tr_freehook): Call lock_and_info and pass symbol info as additional
26121 parameter to tr_where.
26122 (tr_mallochook): Likewise.
26123 (tr_reallochook): Likewise.
26124 (tr_memalignhook): Likewise.
26125
6ce75379
UD
26126 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26127 used and couldn't be at all thread-safe.
26128
f8a3b5bf
UD
261292011-05-15 Ulrich Drepper <drepper@gmail.com>
26130
94b7cc37
UD
26131 * libio/freopen.c (freopen): Don't close old file descriptor
26132 before the new one is opened. Instead dup the new file descriptor
26133 to the old one after the new stream is created.
26134 * libio/freopen64.c (freopen64): Likewise.
26135 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26136 * libio/fileops.c (_IO_new_file_close_it): Handle new
26137 _IO_FLAGS2_NOCLOSE flag.
26138 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26139 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26140 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26141 _IO_FLAGS2_NOCLOSE flag.
26142 * include/unistd.h: Add hidden_proto for dup3.
26143 Define __have_dup3.
26144 * io/dup3.c: Define hidden symbol.
26145 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26146
bd25564e
UD
26147 [BZ #7101]
26148 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26149 when an incomplete long option is used.
26150 * posix/tst-getopt_long1.c: New file.
26151 * posix/Makefile (tests): Add tst-getopt_long1.
26152
c84cfef4
UD
26153 [BZ #10138]
26154 * scripts/config.guess: Update from autoconf-2.68.
26155 * scripts/config.sub: Likewise.
26156
3b85df27
UD
26157 [BZ #10157]
26158 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26159 tests into ...
26160 (has_cpuclock): ...this. New function.
26161 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26162 macro here based on has_cpuclock code.
26163
15a856b1
UD
26164 [BZ #10149]
26165 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26166 First byte (not low byte) is now always NUL.
26167 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26168
05f399e6
UD
26169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26170 Use non-cancelable interfaces.
26171
10a52685 26172 [BZ #9809]
94ecc67d
UD
26173 * locale/iso-639.def: Add entry for Sorani.
26174
f8a3b5bf
UD
26175 [BZ #11901]
26176 * include/stdlib.h: Move include protection to the right place.
26177 Define abort_msg_s. Declare __abort_msg with it.
26178 * stdlib/abort.c (__abort_msg): Adjust type.
26179 * assert/assert.c (__assert_fail_base): New function. Majority
26180 of code from __assert_fail. Allocate memory for __abort_msg with
26181 mmap.
26182 (__assert_fail): Now call __assert_fail_base.
26183 * assert/assert-perr.c: Remove bulk of implementation. Use
26184 __assert_fail_base.
26185 * include/assert.hL Declare __assert_fail_base.
26186 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26187 mmap.
26188 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26189
1af4e298
UD
261902011-05-14 Ulrich Drepper <drepper@gmail.com>
26191
f8a3b5bf 26192 [BZ #11952]
d26dfc60
MG
26193 [BZ #12453]
26194 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26195 until all modules are registered in the DTV.
26196 * elf/Makefile: Add rules to build and run tst-tls19.
26197 * elf/tst-tls19.c: New file.
26198 * elf/tst-tls19mod1.c: New file.
26199 * elf/tst-tls19mod2.c: New file.
26200 * elf/tst-tls19mod3.c: New file.
26201 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26202
2fc54d6f
UD
26203 [BZ #12083]
26204 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26205 correctly.
26206
98d76b46
UD
26207 [BZ #12601]
26208 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26209 two-byte sequence errors.
26210 * iconvdata/Makefile (tests): Add bug-iconv8.
26211 * iconvdata/bug-iconv8.c: New file.
26212
da3c19ef
UD
26213 [BZ #12626]
26214 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26215 buf2 definition.
26216
ca408c15
UD
26217 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26218
d6f67f7d
UD
26219 [BZ #12432]
26220 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26221 (dummy_getcfa): New function.
26222 (init): Get _Unwind_GetCFA address, use dummy if not found.
26223 (backtrace_helper): In recursion check, also check whether CFA changes.
26224 (__backtrace): Completely initialize arg.
26225
1af4e298 26226 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26227 storing incomplete byte sequence in state object. Avoid testing for
26228 guaranteed too small input if we know there is enough data available.
1af4e298 26229
da62f81b
AS
262302011-05-11 Andreas Schwab <schwab@redhat.com>
26231
26232 * Makeconfig (+link-pie): Indent.
26233 * Rules (binaries-pie): Define if $(have-fpie) and
26234 $(build-shared).
26235 (binaries-shared): Also filter out $(binaries-pie).
26236 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26237 * nscd/Makefile (others-pie): Add nscd.
26238 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26239 ($(objpfx)nscd): Remove command override.
26240 * login/Makefile (others-pie): Add pt_chown.
26241 ($(objpfx)pt_chown): Remove command override.
26242 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26243 remove command overrides.
26244
fcabc0f8
UD
262452011-05-13 Ulrich Drepper <drepper@gmail.com>
26246
20030ae6
UD
26247 * libio/tst_putwc.c: Fix error messages.
26248
fcabc0f8
UD
26249 [BZ #12724]
26250 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26251 currently writing and seek to current position when not.
26252 * libio/Makefile (tests): Add bug-fclose1.
26253 * libio/bug-fclose1.c: New file.
26254
320a5dc0
PB
262552011-05-12 Ulrich Drepper <drepper@gmail.com>
26256
26257 [BZ #12511]
26258 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26259 don't set DF_1_NODELETE here.
26260 (do_lookup_x): When entering new entry test for copy relocation
26261 and if necessary set DF_1_NODELETE flag.
26262 * elf/tst-unique4.cc: New file.
26263 * elf/tst-unique4.h: New file.
26264 * elf/tst-unique4lib.cc: New file.
26265 * elf/Makefile: Add rules to build and run tst-unique4.
26266 Patch by Piotr Bury <pbury@goahead.com>.
26267
22836f52
UD
262682011-05-11 Ulrich Drepper <drepper@gmail.com>
26269
f574184a
UD
26270 [BZ #12052]
26271 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26272
e1fb097f
UD
26273 [BZ #12625]
26274 * misc/mntent_r.c (addmntent): Flush the stream after the output
26275
22836f52
UD
26276 [BZ #12393]
26277 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26278 (is_trusted_path_normalize): Skip initial colon. Append slash
26279 to empty buffer. Duplicate is_trusted_path code but allow
26280 constructed patch to be prefix.
26281 (is_dst): Allow $ORIGIN followed by /.
26282 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26283 Correct testing of result of is_trusted_path_normalize
26284 (decompose_rpath): Fix warning.
26285
7b3b0b2a
UD
262862011-05-10 Ulrich Drepper <drepper@gmail.com>
26287
26288 [BZ #11257]
26289 * grp/initgroups.c (internal_getgrouplist): When we found the service
26290 list through the initgroups entry in nsswitch.conf do not always
26291 continue on a successful lookup. Don't always use the
eac80ce2 26292 __nss_group_database value if it is set.
7b3b0b2a
UD
26293 * nss/nsswitch.conf (initgroups): Change action for successful db
26294 lookup to continue for compatibility.
26295
2a81eaa5
UD
262962011-05-09 Ulrich Drepper <drepper@gmail.com>
26297
be97a69e
UD
26298 [BZ #11532]
26299 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26300 and CP774 modules.
26301 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26302 and CP774 modules.
26303 * iconvdata/tst-tables.sh: Likewise.
26304 * iconvdata/cp770.c: New file.
26305 * iconvdata/cp771.c: New file.
26306 * iconvdata/cp772.c: New file.
26307 * iconvdata/cp773.c: New file.
26308 * iconvdata/cp774.c: New file.
26309 * iconvdata/testdata/CP770: New file.
26310 * iconvdata/testdata/CP770..UTF8: New file.
26311 * iconvdata/testdata/CP771: New file.
26312 * iconvdata/testdata/CP771..UTF8: New file.
26313 * iconvdata/testdata/CP772: New file.
26314 * iconvdata/testdata/CP772..UTF8: New file.
26315 * iconvdata/testdata/CP773: New file.
26316 * iconvdata/testdata/CP773..UTF8: New file.
26317 * iconvdata/testdata/CP774: New file.
26318 * iconvdata/testdata/CP774..UTF8: New file.
26319
26320 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26321 END CHARMAP line.
26322 * iconvdata/gen-8bit-gap.sh: Likewise.
26323 * iconvdata/gen-8bit.sh: Likewise.
26324
c1e9e399
UD
26325 * locale/iso-639.def: Add ary entry.
26326
24c55fb3 26327 [BZ #11258]
96b4b1b0
UD
26328 * locale/C-translit.h.in: Add U20A1 transliteration.
26329
bdc2f971
KB
26330 [BZ #12178]
26331 * locale/iso-639.def: Add wae entry.
26332 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26333
2952b117
UD
26334 [BZ #12545]
26335 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26336 for n.
26337
2a81eaa5
UD
26338 [BZ #12711]
26339 * locale/C-translit.h.in: Add entry for U20B9.
26340 Patch by pravin.d.s@gmail.com.
26341
28377d1b
UD
263422011-05-08 Ulrich Drepper <drepper@gmail.com>
26343
7fb90fb8
UD
26344 [BZ #12713]
26345 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26346 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26347 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26348 in rtld. Use *stat64.
7fb90fb8 26349 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26350 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26351 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26352 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26353 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26354 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26355 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26356 __fstatat64 macros.
7fb90fb8
UD
26357 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26358 * dirent/rewinddir.c: Add libc_hidden_def.
26359 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26360 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26361
28377d1b
UD
26362 * include/dirent.h (__alloc_dir): Add flags parameter.
26363 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26364 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26365 __alloc_dir.
26366 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26367 from fdopendir if O_CLOEXEC is already set.
26368
66bdbaa4
AM
263692011-03-15 Alan Modra <amodra@gmail.com>
26370
26371 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26372 l_tls_firstbyte_offset non-zero. Save padding offset in
26373 l_tls_firstbyte_offset for later use.
26374 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26375 freeing static tls block.
26376
95721191
JN
263772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26378
26379 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26380 where #ifdef was intended. The intent is to prevent ARG_MAX from
26381 being defined by the kernel headers.
26382
f87dfb1f
UD
263832011-05-07 Ulrich Drepper <drepper@gmail.com>
26384
26385 [BZ #12734]
26386 * resolv/resolv.h: Define RES_NOTLDQUERY.
26387 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26388 no-tld-query and set RES_NOTLDQUERY.
26389 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26390 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26391 modern BIND to search name as TLD unless forbidden.
26392
47c3cd7a
UD
263932011-05-07 Petr Baudis <pasky@suse.cz>
26394 Ulrich Drepper <drepper@gmail.com>
26395
26396 [BZ #12393]
26397 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26398 (is_trusted_path): ...to here.
c1e9ea35 26399 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26400 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26401 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26402
8a35c912
PP
264032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26404
26405 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26406 __BEGIN/__END_DECLS.
26407
acd41f47
UD
264082011-05-06 Ulrich Drepper <drepper@gmail.com>
26409
26410 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26411 NSS_STATUS_NOTFOUND if no record was found.
26412
597df647
AS
264132011-05-05 Andreas Schwab <schwab@redhat.com>
26414
26415 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26416 (headers-not-in-tirpc): Remove rpc/netdb.h
26417 * resolv/netdb.h: Revert last change.
26418
b9af1301
PP
264192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26420
26421 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26422 circular dependency between libgcc.a and libc.a.
26423
4e34d5f5
AS
264242011-05-05 Andreas Schwab <schwab@redhat.com>
26425
26426 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26427 * nis/Makefile: Don't install rpcsvc/*.
26428 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26429 instead of <rpc/types.h>.
26430 (MAXHOSTNAMELEN): Define.
26431
00ee369c
AS
264322011-05-03 Andreas Schwab <schwab@redhat.com>
26433
26434 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26435
0b592a30
MB
264362011-04-28 Maciej Babinski <mbabinski@google.com>
26437
26438 [BZ #12714]
26439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26440 gethostbyname4_r when IPv6 results are possible.
26441
6e04cbbe
UD
264422011-05-02 Ulrich Drepper <drepper@gmail.com>
26443
26444 [BZ #12723]
26445 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26446 _PC_PIPE_BUF handling.
26447
e4ecafe0
BH
264482011-04-30 Bruno Haible <bruno@clisp.org>
26449
26450 [BZ #12717]
26451 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26452 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26453 to 'int'.
26454 * inet/getnameinfo.c (getnameinfo): Likewise.
26455
125ee683
UD
264562011-04-29 Ulrich Drepper <drepper@gmail.com>
26457
26458 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26459 to groups setting in database lookup.
26460 * nss/nsswitch.conf: Add initgroups entry.
26461
b722481a
EB
264622011-04-22 Ulrich Drepper <drepper@gmail.com>
26463
26464 [BZ #12685]
26465 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26466 mode string.
26467 Patch by Eric Blake <eblake@redhat.com>.
26468
4df46dbd
L
264692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26470
26471 * sunrpc/Makefile (need-export-routines): Add svc_run.
26472 (routines): Remove svc_run.
26473 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26474 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26475 * sunrpc/svc_run.c (svc_run): Likewise.
26476 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26477
e84142d2
UD
264782011-04-21 Ulrich Drepper <drepper@gmail.com>
26479
26480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26481 problem in reallocation in last patch.
26482
877175d8
UD
264832011-04-20 Ulrich Drepper <drepper@gmail.com>
26484
26485 * sunrpc/Makefile: Move inclusion of Rules.
26486
ab8eed78
UD
264872011-04-19 Ulrich Drepper <drepper@gmail.com>
26488
26489 * nss/nss_files/files-initgroups.c: New file.
26490 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26491 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26492 _nss_files_initgroups_dyn.
26493
e3d8f584
RS
264942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26495
26496 * elf/elf.h (R_ARM_IRELATIVE): Define.
26497
af190f45
UD
264982011-04-19 Ulrich Drepper <drepper@gmail.com>
26499
26500 * po/ru.po: Update from translation team.
26501
53cf59ef
UD
265022011-04-17 Ulrich Drepper <drepper@gmail.com>
26503
26504 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26505 dependencies.
26506
4c559bcd
MF
265072011-02-06 Mike Frysinger <vapier@gentoo.org>
26508
26509 [BZ #12653]
26510 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26511 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26513 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26514 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26515
4420675c
AS
265162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26517
26518 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26519 differing bytes.
26520 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26522 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26523
75ea32ab
UD
265242011-04-17 Ulrich Drepper <drepper@gmail.com>
26525
26526 [BZ #12420]
26527 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26528 storing it.
26529 * stdlib/bug-getcontext.c: New file.
26530 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26531
27390476
AK
265322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26533
26534 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26535 instructions into .machine "z9-109".
26536 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26537 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26538
10442705
AK
265392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26540
26541 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26542 between environment variables and auxiliary vector.
26543
7b57bfe5
UD
265442011-04-16 Ulrich Drepper <drepper@gmail.com>
26545
26546 * Makefile: Add rules to build linkobj/libc.so.
26547 * include/libc-symbols.h: Define libc_hidden_nolink.
26548 * include/rpc/auth.h: Mark functions which are to be hidden.
26549 * include/rpc/auth_des.h: Likewise.
26550 * include/rpc/auth_unix.h: Likewise.
26551 * include/rpc/clnt.h: Likewise.
26552 * include/rpc/des_crypt.h: Likewise.
26553 * include/rpc/key_prot.h: Likewise.
26554 * include/rpc/pmap_clnt.h: Likewise.
26555 * include/rpc/pmap_prot.h: Likewise.
26556 * include/rpc/pmap_rmt.h: Likewise.
26557 * include/rpc/rpc_msg.h: Likewise.
26558 * include/rpc/svc.h: Likewise.
26559 * include/rpc/svc_auth.h: Likewise.
26560 * include/rpc/xdr.h: Likewise.
26561 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26562 * nss/Makefile: Likewise.
26563 * sunrpc/Makefile: Don't install headers. Build library with normal
26564 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26565 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26566 for the compat linking library. Remove use of INTDEF/INTUSE.
26567 * sunrpc/auth_none.c: Likewise.
26568 * sunrpc/auth_unix.c: Likewise.
26569 * sunrpc/authdes_prot.c: Likewise.
26570 * sunrpc/authuxprot.c: Likewise.
26571 * sunrpc/clnt_gen.c: Likewise.
26572 * sunrpc/clnt_perr.c: Likewise.
26573 * sunrpc/clnt_raw.c: Likewise.
26574 * sunrpc/clnt_simp.c: Likewise.
26575 * sunrpc/clnt_tcp.c: Likewise.
26576 * sunrpc/clnt_udp.c: Likewise.
26577 * sunrpc/clnt_unix.c: Likewise.
26578 * sunrpc/des_crypt.c: Likewise.
26579 * sunrpc/des_soft.c: Likewise.
26580 * sunrpc/get_myaddr.c: Likewise.
26581 * sunrpc/key_call.c: Likewise.
26582 * sunrpc/key_prot.c: Likewise.
26583 * sunrpc/netname.c: Likewise.
26584 * sunrpc/pm_getmaps.c: Likewise.
26585 * sunrpc/pm_getport.c: Likewise.
26586 * sunrpc/pmap_clnt.c: Likewise.
26587 * sunrpc/pmap_prot.c: Likewise.
26588 * sunrpc/pmap_prot2.c: Likewise.
26589 * sunrpc/pmap_rmt.c: Likewise.
26590 * sunrpc/publickey.c: Likewise.
26591 * sunrpc/rpc_cmsg.c: Likewise.
26592 * sunrpc/rpc_common.c: Likewise.
26593 * sunrpc/rpc_dtable.c: Likewise.
26594 * sunrpc/rpc_prot.c: Likewise.
26595 * sunrpc/rpc_thread.c: Likewise.
26596 * sunrpc/rtime.c: Likewise.
26597 * sunrpc/svc.c: Likewise.
26598 * sunrpc/svc_auth.c: Likewise.
26599 * sunrpc/svc_authux.c: Likewise.
26600 * sunrpc/svc_raw.c: Likewise.
26601 * sunrpc/svc_run.c: Likewise.
26602 * sunrpc/svc_simple.c: Likewise.
26603 * sunrpc/svc_tcp.c: Likewise.
26604 * sunrpc/svc_udp.c: Likewise.
26605 * sunrpc/svc_unix.c: Likewise.
26606 * sunrpc/svcauth_des.c: Likewise.
26607 * sunrpc/xcrypt.c: Likewise.
26608 * sunrpc/xdr.c: Likewise.
26609 * sunrpc/xdr_array.c: Likewise.
26610 * sunrpc/xdr_float.c: Likewise.
26611 * sunrpc/xdr_intXX_t.c: Likewise.
26612 * sunrpc/xdr_mem.c: Likewise.
26613 * sunrpc/xdr_rec.c: Likewise.
26614 * sunrpc/xdr_ref.c: Likewise.
26615 * sunrpc/xdr_sizeof.c: Likewise.
26616 * sunrpc/xdr_stdio.c: Likewise.
26617
e6c61494
UD
266182011-04-10 Ulrich Drepper <drepper@gmail.com>
26619
26620 [BZ #12650]
26621 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26622 * sysdeps/ia64/dl-tls.h: Likewise.
26623 * sysdeps/powerpc/dl-tls.h: Likewise.
26624 * sysdeps/s390/dl-tls.h: Likewise.
26625 * sysdeps/sh/dl-tls.h: Likewise.
26626 * sysdeps/sparc/dl-tls.h: Likewise.
26627 * sysdeps/x86_64/dl-tls.h: Likewise.
26628 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26629
34fe483e
AS
266302011-03-14 Andreas Schwab <schwab@redhat.com>
26631
26632 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26633 rpath element also skip the following colon.
26634 (expand_dynamic_string_token): Add is_path parameter and pass
26635 down to DL_DST_REQUIRED and _dl_dst_substitute.
26636 (decompose_rpath): Call expand_dynamic_string_token with
26637 non-zero is_path. Ignore empty rpaths.
26638 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26639 with zero is_path.
26640
f12a32e6
AS
266412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26642
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26644 Make cancelable.
26645
38a7d692
UD
266462011-04-09 Ulrich Drepper <drepper@gmail.com>
26647
26648 [BZ #12655]
26649 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26650 Patch by Filipe David Manana <fdmanana@apache.org>.
26651
e451d22b
AS
266522011-04-07 Andreas Schwab <schwab@redhat.com>
26653
26654 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26655 Maintain aligned stack.
26656 (CHECK_RSP): Remove unused macro.
26657
dedc7c7b
UD
266582011-04-03 Ulrich Drepper <drepper@gmail.com>
26659
26660 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26661 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26662
94521213
UD
266632011-04-02 Ulrich Drepper <drepper@gmail.com>
26664
26665 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26666
8cb700c0 26667 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26668
0354e355
L
266692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26670
26671 [BZ #12518]
26672 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26673 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26674 * sysdeps/x86_64/memmove.c: New file.
26675 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26676 (memcpy): Renamed to ...
26677 (__new_memcpy): This.
26678 (memcpy): Provide GLIBC_2_14 memcpy.
26679 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26680 (memcpy): Provide GLIBC_2_2_5 memcpy.
26681
8593482f
UD
266822011-04-01 Ulrich Drepper <drepper@gmail.com>
26683
26684 [BZ #12631]
26685 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26686
81a5726b
AS
266872011-03-30 Andreas Schwab <schwab@redhat.com>
26688
26689 * misc/syncfs.c: New file.
26690 * misc/Makefile (routines): Add syncfs.
26691 * posix/unistd.h: Declare syncfs.
26692 * sysdeps/unix/syscalls.list: Add syncfs.
26693
00e5419f
AS
266942011-04-01 Andreas Schwab <schwab@redhat.com>
26695
26696 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26697 open_by_handle_at.
26698 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26699 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26701 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26703 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26705
748876bf
UD
267062011-04-01 Ulrich Drepper <drepper@gmail.com>
26707
658e451d
UD
26708 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26709 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26710 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26712 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26715
748876bf
UD
26716 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26717 sync_file_range.c with -fexceptions.
26718 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26719 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26720 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26721 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26722 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26723 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26725 sync_file_range as cancellation point
26726 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26727 now a wrapper around __call_sync_file_range with cancellation handling.
26728 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26729 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26730 function name to __call_sync_file_range.
26731 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26732 Add call_sync_file_range.
748876bf 26733
6e63d5e1
AS
267342011-04-01 Andreas Schwab <schwab@redhat.com>
26735
26736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26737 bits/timex.h.
6e63d5e1 26738
46998f74
UD
267392011-04-01 Ulrich Drepper <drepper@gmail.com>
26740
4c1423ed
UD
26741 * iconv/iconv.h: Fix typo in comment.
26742 * io/fcntl.h: Likewise.
26743 * libio/stdio.h: Likewise.
26744 * posix/spawn.h: Likewise.
26745 * posix/unistd.h: Likewise.
26746 * stdlib/stdlib.h: Likewise.
26747 * time/time.h: Likewise.
26748 * wcsmbs/wchar.h: Likewise.
26749
158648c0
UD
26750 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26751 open_by_handle): Add.
26752 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26753 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26754 Augment a few comments.
26755 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26757 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26759 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26760 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26761 open_by_handle.
26762
46998f74
UD
26763 * io/fcntl.h (AT_EMPTY_PATH): Define.
26764
83fe108b
UD
267652011-03-30 Ulrich Drepper <drepper@gmail.com>
26766
26767 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26768 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26769 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26770 to...
26771 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26772 * Versions.def: Add GLIBC_2.14.
26773 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26774 Export.
83fe108b 26775
bb242059
UD
267762011-03-22 Ulrich Drepper <drepper@gmail.com>
26777
26778 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26779 round counter.
26780 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26781
c97a1282
L
267822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26783
26784 [BZ #12597]
26785 * string/test-strncmp.c (do_page_test): New function.
26786 (check2): Likewise.
26787 (test_main): Call check2.
26788 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26789
2a115601
UD
267902011-03-20 Ulrich Drepper <drepper@gmail.com>
26791
26792 [BZ #12587]
26793 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26794 Handle cache information in CPU leaf 4.
26795 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26796
8126d904
UD
267972011-03-18 Ulrich Drepper <drepper@gmail.com>
26798
042c49c6 26799 [BZ #12583]
8126d904
UD
26800 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26801 character representation.
26802 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26803
ccfe366e
RA
268042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26805
26806 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26807 END(__isnan) to END(__isnanf) to match function entry point/label
26808 EALIGN(__isnanf,...).
26809
c6e13027
JJ
268102011-03-10 Jakub Jelinek <jakub@redhat.com>
26811
26812 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26813
33f85a3f
UD
268142011-03-10 Ulrich Drepper <drepper@gmail.com>
26815
028478fa
UD
26816 [BZ #12510]
26817 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26818 copy from the symbol referenced in the relocation to initialize the
26819 used variable.
26820 Patch by Piotr Bury <pbury@goahead.com>.
26821 * elf/Makefile: Add rules to build and tst-unique3.
26822 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26823 * elf/tst-unique3.cc: New file.
26824 * elf/tst-unique3.h: New file.
26825 * elf/tst-unique3lib.cc: New file.
26826 * elf/tst-unique3lib2.cc: New file.
26827
33f85a3f
UD
26828 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26829
03592fc7
MF
268302011-03-10 Mike Frysinger <vapier@gentoo.org>
26831
26832 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26833 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26834 to _start.
03592fc7 26835
6a5ee102
UD
268362011-03-06 Ulrich Drepper <drepper@gmail.com>
26837
26838 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26839 to-be-loaded object along a path to loader is ld.so.
26840
7e4ba49c
HJ
268412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26842 Ulrich Drepper <drepper@gmail.com>
26843
26844 * sysdeps/x86_64/memset.S: After aligning destination, code
26845 branches to different locations depending on the value of
26846 misalignment, when multiarch is enabled. Fix this.
26847
268482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26849
26850 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26851 Set _x86_64_preferred_memory_instruction for AMD processsors.
26852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26853 Set bit_Prefer_SSE_for_memop for AMD processors.
26854
13a804de
UD
268552011-03-04 Ulrich Drepper <drepper@gmail.com>
26856
26857 * libio/fmemopen.c (fmemopen): Optimize a bit.
26858
9d25c392
AS
268592011-03-03 Andreas Schwab <schwab@redhat.com>
26860
26861 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26862
a5543c6a
RM
268632011-03-03 Roland McGrath <roland@redhat.com>
26864
26865 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26866
012d35f7
DM
268672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26868
7e4ba49c 26869 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26870 __bzero_ultra1 instead of __memset_ultra1.
26871
4bff6e01
AS
268722011-02-23 Andreas Schwab <schwab@redhat.com>
26873 Ulrich Drepper <drepper@gmail.com>
26874
26875 [BZ #12509]
26876 * include/link.h (struct link_map): Add l_orig_initfini.
26877 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26878 returning unsuccessfully.
26879 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26880 close of a file loaded at startup, restore the original l_initfini
26881 list.
26882 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26883 list, store the pointer.
26884 * elf/Makefile ($(objpfx)noload-mem): New rule.
26885 (noload-ENV): Define.
26886 (tests): Add $(objpfx)noload-mem.
26887 * elf/noload.c: Include <memcheck.h>.
26888 (main): Call mtrace. Close all opened handles.
26889
f2092faf
AS
268902011-02-17 Andreas Schwab <schwab@redhat.com>
26891
26892 [BZ #12454]
26893 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26894 dependencies are missing.
26895
6c8a2e88
ST
268962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26897
f2092faf 26898 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26899 Hurd needs munmap.
26900 * sysdeps/mach/hurd/ifreq.h: New file.
26901
84a42118
PB
269022011-01-27 Petr Baudis <pasky@suse.cz>
26903 Ulrich Drepper <drepper@gmail.com>
26904
071f805e 26905 [BZ 12445]#
84a42118
PB
26906 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26907 to extend_alloca().
26908 * stdio-common/bug23.c: New file.
26909 * stdio-common/Makefile (tests): Add bug23.
26910
e23fe25b
AS
269112010-09-28 Andreas Schwab <schwab@redhat.com>
26912 Ulrich Drepper <drepper@gmail.com>
26913
26914 [BZ #12489]
26915 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26916 before performing relro protection. At old place add assertion
26917 to make sure nothing changed.
26918
d3f02e10
NS
269192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26920 Glauber de Oliveira Costa <glommer@gmail.com>
26921
26922 * elf/elf.h: Add new ARM TLS relocs.
26923
d55fd7a5
RA
269242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26925
26926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26927 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26928 cast from r3.
26929 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26930 'tests' variable.
26931 * sysdeps/wordsize-64/tst-writev.c: New file.
26932
2206397e
RA
269332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26934
26935 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26936 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26937 insns in _dl_start to prevent a TOC reference before relocs are
26938 resolved.
26939
e9433893
UD
269402011-02-15 Ulrich Drepper <drepper@gmail.com>
26941
26942 [BZ #12469]
26943 * Makeconfig: Remove RANLIB definition.
26944 * Makerules: Don't use RANLIB.
26945 * aclocal.m4: Remove ranlib test.
26946 * configure.in: No need to check for ranlib.
26947 * elf/rtld-Rules: Don't use RANLIB.
26948
f75286c6
ST
269492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26950
8e31c82d
ST
26951 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26952 protection macro.
26953 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26954 inclusion protection macro.
26955
f75286c6
ST
26956 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26957 SIGRTMIN and SIGRTMAX and print information in that case only when
26958 SIGRTMIN is defined.
26959
c1d0e639
JJ
269602011-02-11 Jakub Jelinek <jakub@redhat.com>
26961
26962 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26963 arginfo fn returning -1.
26964
26965 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26966 and thousands string is zero terminated.
26967
edf9294e
AS
269682011-02-03 Andreas Schwab <schwab@redhat.com>
26969
26970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26971 sysdeps/unix/sysv/linux/bits/socket.h.
26972
2b7e92df
ST
269732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26974
edf9294e
AS
26975 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26976 (__CPU_COUNT): Remove old macros.
26977 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26978 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26979 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26980 (__sched_cpualloc, __sched_cpufree): Add declarations.
26981
a4c7ea7b
UD
269822011-02-05 Ulrich Drepper <drepper@gmail.com>
26983
26984 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26985 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26986 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26987 (readdhstai): Return value of addhstaiX call.
26988 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26989 (addgrbyX): Return value returned by cache_addgr.
26990 (readdgrbyname): Return value returned by addgrbyX.
26991 (readdgrbygid): Likewise.
26992 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26993 (addpwbyX): Return value returned by cache_addpw.
26994 (readdpwbyname): Return value returned by addhstbyX.
26995 (readdpwbyuid): Likewise.
26996 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26997 (addservbyX): Return value returned by cache_addserv.
26998 (readdservbyname): Return value returned by addservbyX:
26999 (readdservbyport): Likewise.
27000 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27001 (addhstbyX): Return value returned by cache_addhst.
27002 (readdhstbyname): Return value returned by addhstbyX.
27003 (readdhstbyaddr): Likewise.
27004 (readdhstbynamev6): Likewise.
27005 (readdhstbyaddrv6): Likewise.
27006 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27007 (readdinitgroups): Return value returned by addinitgroupsX.
27008 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27009 (prune_cache): Keep track of timeout value of re-added entries.
27010 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27011 * nscd/nscd.h: Adjust prototypes of readd* functions.
27012
a0bf67cc
RM
270132011-02-04 Roland McGrath <roland@redhat.com>
27014
27015 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27016 (nis_stats): Likewise.
27017 * nis/nis_modify.c (nis_modify): Likewise.
27018 * nis/nis_remove.c (nis_remove): Likewise.
27019 * nis/nis_add.c (nis_add): Likewise.
27020
27021 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27022
27023 * posix/fnmatch_loop.c: Add some consts.
27024
27025 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27026
435b95eb
L
270272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27028
27029 [BZ #12460]
27030 * config.make.in (config-cflags-novzeroupper): Define.
27031 * configure.in: Substitute libc_cv_cc_novzeroupper.
27032 * elf/Makefile (AVX-CFLAGS): Define.
27033 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27034 (CFLAGS-tst-auditmod4a.c): Likewise.
27035 (CFLAGS-tst-auditmod4b.c): Likewise.
27036 (CFLAGS-tst-auditmod6b.c): Likewise.
27037 (CFLAGS-tst-auditmod6c.c): Likewise.
27038 (CFLAGS-tst-auditmod7b.c): Likewise.
27039 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27040
8517b15e
UD
270412011-02-02 Ulrich Drepper <drepper@gmail.com>
27042
27043 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27044 function to the callback.
27045 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27046
10a656fe
AS
270472011-02-02 Andreas Schwab <schwab@redhat.com>
27048
27049 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27050 of errno.
27051
968dad0a
UD
270522011-01-19 Ulrich Drepper <drepper@gmail.com>
27053
9f94d2ea 27054 [BZ #11724]
968dad0a
UD
27055 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27056 of constructors.
27057 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27058 of destructors.
27059 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27060
27061 [BZ #11724]
27062 * elf/Makefile: Add rules to build and run new test.
27063 * elf/tst-initorder.c: New file.
27064 * elf/tst-initorder.exp: New file.
27065 * elf/tst-initordera1.c: New file.
27066 * elf/tst-initordera2.c: New file.
27067 * elf/tst-initordera3.c: New file.
27068 * elf/tst-initordera4.c: New file.
27069 * elf/tst-initorderb1.c: New file.
27070 * elf/tst-initorderb2.c: New file.
27071 * elf/tst-order-a1.c: New file.
27072 * elf/tst-order-a2.c: New file.
27073 * elf/tst-order-a3.c: New file.
27074 * elf/tst-order-a4.c: New file.
27075 * elf/tst-order-b1.c: New file.
27076 * elf/tst-order-b2.c: New file.
27077 * elf/tst-order-main.c: New file.
27078 New test case by George Gensure <werkt0@gmail.com>.
27079
86e92359
UD
270802010-10-01 Andreas Schwab <schwab@redhat.com>
27081
27082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27083 decoding ACE if AI_CANONIDN.
27084
5d5732b0
UD
270852011-01-18 Ulrich Drepper <drepper@gmail.com>
27086
27087 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27088
a77e8cbc
UD
270892011-01-17 Ulrich Drepper <drepper@gmail.com>
27090
6392473f
UD
27091 * version.h (RELEASE): Bump for 2.13 release.
27092 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27093
620a0529
UD
27094 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27095
18ba70a5
UD
27096 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27097 MADV_NOHUGEPAGE.
32465c3e
UD
27098 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27099 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27100 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27101 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27102 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27103 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27104
c0dafcf1
UD
27105 * posix/getconf.c: Update copyright year.
27106 * catgets/gencat.c: Likewise.
27107 * csu/version.c: Likewise.
27108 * debug/catchsegv.sh: Likewise.
27109 * debug/xtrace.sh: Likewise.
27110 * elf/ldconfig.c: Likewise.
27111 * elf/ldd.bash.in: Likewise.
27112 * elf/sprof.c (print_version): Likewise.
27113 * iconv/iconv_prog.c: Likewise.
27114 * iconv/iconvconfig.c: Likewise.
27115 * locale/programs/locale.c: Likewise.
27116 * locale/programs/localedef.c: Likewise.
27117 * malloc/memusage.sh: Likewise.
27118 * malloc/mtrace.pl: Likewise.
27119 * nscd/nscd.c (print_version): Likewise.
27120 * nss/getent.c: Likewise.
27121
a77e8cbc
UD
27122 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27123 PF_CAIF, and PF_ALG.
27124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27125
77e8bddf
AS
271262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27127
1f20b93a
AS
27128 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27129 (modules-names): Use them.
27130 (ifunc-test-modules, ifunc-pie-tests): Define.
27131 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27132 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27133 (test-extras): Likewise.
27134 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27135 $(compile-command.c).
27136 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27137 (all-built-dso): Define.
27138 (check-textrel.out, check-execstack.out): Depend on it.
27139
77e8bddf
AS
27140 * configure.in: Don't override --enable-multi-arch.
27141
bc425b33
UD
271422011-01-15 Ulrich Drepper <drepper@gmail.com>
27143
27144 [BZ #6812]
27145 * nscd/hstcache.c (tryagain): Define.
27146 (cache_addhst): Return tryagain not notfound for temporary errors.
27147 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27148 failed.
27149
794c3ad3
UD
271502011-01-14 Ulrich Drepper <drepper@gmail.com>
27151
70181fdd
UD
27152 [BZ #10563]
27153 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27154 to make the syscall.
27155 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27156
794c3ad3
UD
27157 [BZ #12378]
27158 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27159 and fall back to matching as normal character if the string ends before
27160 the matching ']' is found. This is what POSIX requires.
27161 * posix/testfnm.c: Adjust test result.
27162 * posix/globtest.sh: Adjust test result. Add new test.
27163 * posix/tst-fnmatch.input: Likewise.
27164 * posix/tst-fnmatch2.c: Add new test.
27165
68dc9497
AS
271662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27167
27168 * elf/Makefile (check-execstack): Revert last change. Depend on
27169 check-execstack.h.
27170 (check-execstack.h): New target.
27171 (generated): Add check-execstack.h.
27172 * elf/check-execstack.c: Include "check-execstack.h".
27173 (main): Revert last change.
27174 (handle_file): Return zero if GNU_STACK is absent and
27175 DEFAULT_STACK_PERMS doesn't include PF_X.
27176
451f001b
UD
271772011-01-13 Ulrich Drepper <drepper@gmail.com>
27178
cfa28e56
UD
27179 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27180 in child fails because the descriptor is already closed.
8cf8ce17
UD
27181 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27182 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27183 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27184
1086d70d
UD
27185 [BZ #12397]
27186 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27187 syscall.
27188
451f001b
UD
27189 [BZ #10484]
27190 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27191 temporary buffer used to handle multi lookups locally.
a85b5cb4 27192 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27193
08769175
UD
271942011-01-12 Ulrich Drepper <drepper@gmail.com>
27195
27196 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27197 loader is ld.so.
27198
5e49c52e
UD
271992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27200
27201 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27202 alignment for SSE2.
27203
60522a5f
UD
272042011-01-12 Ulrich Drepper <drepper@gmail.com>
27205
27206 [BZ #12394]
27207 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27208 characters. When rounding increased number of integer digits recompute
27209 number of groups.
27210 * stdio-common/tst-grouping.c: New file.
27211 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27212
f257bbd7
UD
272132011-01-09 Ulrich Drepper <drepper@gmail.com>
27214
27215 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27216 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27217
27218 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27219 void.
27220 * bits/select.h: Likewise.
27221
fa9c15cb
UD
272222011-01-08 Ulrich Drepper <drepper@gmail.com>
27223
27224 * po/ja.po: Update from translation team.
27225
16c2895f
DM
272262011-01-04 David S. Miller <davem@sunset.davemloft.net>
27227
27228 [BZ #11155]
27229 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27230 implementation just like for lxstat, fxstatat, et al.
27231
2543fef2
JM
272322010-12-27 Jim Meyering <meyering@redhat.com>
27233
27234 [BZ #12348]
27235 * posix/regexec.c (build_trtable): Return failure indication upon
27236 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27237
98727dbe
UD
272382010-12-25 Ulrich Drepper <drepper@gmail.com>
27239
5bd6dc5c
UD
27240 [BZ #12201]
27241 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27242 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27243 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27244 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27245
97983464
UD
27246 [BZ #12207]
27247 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27248
98727dbe
UD
27249 [BZ #12204]
27250 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27251 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27252
4a531bb0
L
272532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27254
27255 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27256 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27257 script has SORT_BY_INIT_PRIORITY.
27258 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27259 NO_CTORS_DTORS_SECTIONS is defined.
27260 * elf/soinit.c: Likewise.
27261 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27262 NO_CTORS_DTORS_SECTIONS is defined.
27263 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27264 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27265 * sysdeps/sh/init-first.c: Likewise.
27266 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27267
07eb4b71
UD
272682010-12-24 Ulrich Drepper <drepper@gmail.com>
27269
27270 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27271 always use the slow path.
27272
30950a5f
RA
272732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27274
27275 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27276 similar rule which adds the sysdep directories to the header search in
27277 order to pick up the correct platform stackinfo.h.
27278 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27279 perform test if it is, otherwise return successfully without testing.
27280 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27281 DEFAULT_STACK_PERMS define in stackinfo.h.
27282 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27283 defined in stackinfo.h.
27284 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27285 DEFAULT_STACK_PERMS defined in stackinfo.h.
27286 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27287 * sysdeps/ia64/stackinfo.h: Likewise.
27288 * sysdeps/s390/stackinfo.h: Likewise.
27289 * sysdeps/sh/stackinfo.h: Likewise.
27290 * sysdeps/sparc/stackinfo.h: Likewise.
27291 * sysdeps/x86_64/stackinfo.h: Likewise.
27292 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27293 PF_X for powerpc64. Retain PF_X for powerpc32.
27294
db753e2c
UD
272952010-12-19 Ulrich Drepper <drepper@gmail.com>
27296
14b697f7
UD
27297 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27298 accurately.
db753e2c
UD
27299 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27300 GETDENTS_64BIT_ALIGNED.
27301
28300719
UD
273022010-12-14 Ulrich Drepper <dreper@gmail.com>
27303
14b697f7 27304 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27305
4f197237
AS
273062010-12-10 Andreas Schwab <schwab@redhat.com>
27307
dbb0472f
AS
27308 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27309 _GNU_SOURCE.
27310
4f197237
AS
27311 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27312 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27313 Remove __restrict.
27314 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27315 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27316
fb88ac72
UD
273172010-12-09 Ulrich Drepper <drepper@gmail.com>
27318
27319 [BZ #11655]
27320 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27321 are initialized.
27322
42acbb92
JJ
273232010-12-09 Jakub Jelinek <jakub@redhat.com>
27324
27325 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27326
c038d98d
UD
273272010-12-03 Ulrich Drepper <drepper@gmail.com>
27328
27329 * po/it.po: Update from translation team.
27330
3a4a2499
L
273312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27332
27333 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27334 unused codes.
27335
1e24cf6e
UD
273362010-11-30 Ulrich Drepper <drepper@gmail.com>
27337
27338 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27339
a7690819
AS
273402010-11-24 Andreas Schwab <schwab@redhat.com>
27341
27342 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27343 specially.
27344 (gaih_getanswer_slice): Likewise.
27345
3bf8d1b1
JJ
273462010-10-20 Jakub Jelinek <jakub@redhat.com>
27347
27348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27349
6db52fbb
PB
273502010-05-31 Petr Baudis <pasky@suse.cz>
27351
27352 [BZ #11149]
27353 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27354 silently even in the chroot mode.
27355
eaca7569
UD
273562010-11-22 Ulrich Drepper <drepper@gmail.com>
27357
27358 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27359 last patch a bit. Pretty printing
27360
3056dcdb
UD
273612010-05-31 Petr Baudis <pasky@suse.cz>
27362
27363 [BZ #10085]
27364 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27365 initialization of skip_initgroups_dyn.
27366
cf7c9078
UD
273672010-11-19 Ulrich Drepper <drepper@gmail.com>
27368
27369 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27370 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27371
a1fb5e3e
UD
273722010-11-16 Ulrich Drepper <drepper@gmail.com>
27373
27374 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27375
3540d66b
AS
273762010-11-11 Andreas Schwab <schwab@redhat.com>
27377
27378 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27379 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27380 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27381 ($(objpfx)tst-fnmatch-mem): New rule.
27382 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27383 * posix/tst-fnmatch.c (main): Call mtrace.
27384
13b69574
L
273852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27386
27387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27388 Support Intel processor model 6 and model 0x2c.
27389
da93d214
LM
273902010-11-10 Luis Machado <luisgpm@br.ibm.com>
27391
27392 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27393 signed comparison.
27394
8ca52c6e
L
273952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27396
27397 [BZ #12205]
27398 * string/test-strncasecmp.c (check_result): New function.
27399 (do_one_test): Use it.
27400 (check1): New function.
27401 (test_main): Use it.
27402 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27403 Support strcasecmp and strncasecmp.
27404
69da074d
UD
274052010-11-08 Ulrich Drepper <drepper@gmail.com>
27406
27407 [BZ #12194]
27408 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27409 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27410
ff02d528
L
274112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27412
27413 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27414 IFUNC support.
27415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27416 memset-x86-64.
27417 * sysdeps/x86_64/multiarch/bzero.S: New file.
27418 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27419 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27420 * sysdeps/x86_64/multiarch/memset.S: New file.
27421 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27423 Set bit_Prefer_SSE_for_memop for Intel processors.
27424 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27425 Define.
27426 (index_Prefer_SSE_for_memop): Define.
27427 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27428
344d0b54
LM
274292010-11-04 Luis Machado <luisgpm@br.ibm.com>
27430
27431 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27432 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27433
c0dde15b
UD
274342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27435
27436 [BZ #12191]
27437 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27438 (__x86_64_raw_data_cache_size_half): Likewise.
27439 (__x86_64_raw_shared_cache_size): Likewise.
27440 (__x86_64_raw_shared_cache_size_half): Likewise.
27441
27442 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27443 (__x86_64_raw_data_cache_size_half): Likewise.
27444 (__x86_64_raw_shared_cache_size): Likewise.
27445 (__x86_64_raw_shared_cache_size_half): Likewise.
27446 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27447 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27448 and __x86_64_raw_shared_cache_size_half. Round
27449 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27450 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27451 to multiple of 256 bytes.
27452
0e516e0e
MS
274532010-11-03 Ulrich Drepper <drepper@gmail.com>
27454
27455 [BZ #12167]
27456 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27457 of inacessible symlinks. Verify result of symlink before returning it.
27458 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27459 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27460
0e012e87
ER
274612010-10-28 Erich Ritz <erichritz@gmail.com>
27462
27463 * math/math.h (isinf): Fix typo in comment.
27464
de0ff7bc
UD
274652010-11-01 Ulrich Drepper <drepper@gmail.com>
27466
27467 * po/da.po: Update from translation team.
27468
fa41c84d
UD
274692010-10-26 Ulrich Drepper <drepper@gmail.com>
27470
27471 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27472 is added to the list.
27473
f0967738
AK
274742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27475 Ulrich Drepper <drepper@gmail.com>
27476
27477 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27478 the global list here. Move code to...
27479 (_dl_add_to_namespace_list): ...here. New function.
27480 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27481 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27482 * elf/dl-load.c (lose): Don't remove the element from the list.
27483 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27484 (_dl_map_object): Likewise.
27485
274862010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27487
27488 [BZ #12159]
27489 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27490 into all bytes of SSE register.
27491 Patch by Richard Li <richardpku@gmail.com>.
27492
f0967738 274932010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27494
27495 [BZ #12140]
27496 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27497 perturbing.
27498
d0b9e94f
MB
274992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27500
27501 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27502 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27503 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27504 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27506 submachine.
27507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27508
8e9f92e9
AS
275092010-10-22 Andreas Schwab <schwab@redhat.com>
27510
27511 * include/dlfcn.h (__RTLD_SECURE): Define.
27512 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27513 mode & __RTLD_SECURE instead.
27514 (open_path): Rename preloaded parameter to secure.
27515 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27516 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27517 * elf/dl-deps.c (openaux): Likewise.
27518 * elf/rtld.c (struct map_args): Remove is_preloaded.
27519 (map_doit): Don't use it.
27520 (dl_main): Likewise.
27521 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27522 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27523
bc96fbda
AS
275242010-09-09 Andreas Schwab <schwab@redhat.com>
27525
27526 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27527 (sysd-rules-targets): Remove duplicates.
27528 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27529 rtld-%.$o dependency.
27530
22cd1c9b
AS
275312010-10-18 Andreas Schwab <schwab@redhat.com>
27532
27533 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27534 _dl_map_object do it.
27535
18edac48
UD
275362010-10-19 Ulrich Drepper <drepper@gmail.com>
27537
27538 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27539 fast fma builtins, define the macros in the C99 standard.
27540 (FP_FAST_FMAF): Likewise.
27541 (FP_FAST_FMAL): Likewise.
27542 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27543
27544 * bits/mathdef.h: Update copyright year.
27545 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27546
d2050124
MM
275472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27548
27549 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27550 builtins, define the macros in the C99 standard.
27551 (FP_FAST_FMAF): Likewise.
27552 (FP_FAST_FMAL): Likewise.
27553 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27554 multiply/add.
27555 (FP_FAST_FMAF): Likewise.
27556
475facd1
JJ
275572010-10-15 Jakub Jelinek <jakub@redhat.com>
27558
27559 [BZ #3268]
27560 * math/libm-test.inc (fma_test): Some new testcases.
27561 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27562 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27563 y and infinite z. Do multiplication by C already in long double.
27564 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27566 y and infinite z. Do bitwise or of inexact bit into u.d.
27567 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27568 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27569 * sysdeps/i386/fpu/s_fma.S: Removed.
27570 * sysdeps/i386/fpu/s_fmal.S: Removed.
27571
7c08a05c
JJ
275722010-10-16 Jakub Jelinek <jakub@redhat.com>
27573
27574 [BZ #3268]
27575 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27577 computation is not scheduled after fetestexcept. Fix value
27578 of minimum denormal long double.
27579
f3f7372d
JJ
275802010-10-14 Jakub Jelinek <jakub@redhat.com>
27581
27582 [BZ #3268]
27583 * math/libm-test.inc (fma_test): Add some more tests.
27584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27585 correctly.
27586
14d43591
AS
275872010-10-15 Andreas Schwab <schwab@redhat.com>
27588
27589 * scripts/data/localplt-s390-linux-gnu.data: New file.
27590 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27591
5e908464
JJ
275922010-10-13 Jakub Jelinek <jakub@redhat.com>
27593
27594 [BZ #3268]
27595 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27596 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27597 instead of dbl-64.
27598 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27599 inlines.
27600 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27602 if one of x and y is very large and the other is subnormal.
27603 * sysdeps/s390/fpu/s_fmaf.c: New file.
27604 * sysdeps/s390/fpu/s_fma.c: New file.
27605 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27606 * sysdeps/powerpc/fpu/s_fma.S: New file.
27607 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27608 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27609 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27610
276112010-10-12 Jakub Jelinek <jakub@redhat.com>
27612
27613 [BZ #3268]
27614 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27615 fma tests.
27616 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27617 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27618 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27619 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27620 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27621 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27622 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27623
b833d51f
UD
276242010-10-12 Ulrich Drepper <drepper@redhat.com>
27625
27626 [BZ #12078]
27627 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27628 * posix/bug-regex31.input: Add test case.
27629
1751705d
UD
276302010-10-11 Ulrich Drepper <drepper@gmail.com>
27631
e9b9cbf5
UD
27632 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27633 * posix/bug-regex31.input: New file.
27634
27635 [BZ #12078]
27636 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27637 (parse_sub_exp): Fix last change, use postorder.
27638
ef06edbe
UD
27639 * posix/bug-regex31.c: New file.
27640 * posix/Makefile: Add rules to build and run bug-regex31.
27641
a129c80d
UD
27642 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27643
27644 [BZ #12078]
27645 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27646
b76b818e
UD
27647 [BZ #12108]
27648 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27649 to have entries in sys_siglist.
27650
1751705d
UD
27651 [BZ #12093]
27652 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27653 be NULL.
27654
9ff8d36f
JJ
276552010-10-07 Jakub Jelinek <jakub@redhat.com>
27656
27657 [BZ #3268]
27658 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27659 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27660 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27661 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27662 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27663 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27664 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27665 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27666 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27667 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27668 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27669 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27670 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27671 * math/ftestexcept.c (fetestexcept): Likewise.
27672 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27673 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27674 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27675 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27676 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27677 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27678 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27679
af325969
UD
276802010-10-11 Ulrich Drepper <drepper@gmail.com>
27681
c579b202 27682 [BZ #12107]
af325969
UD
27683 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27684 newline.
27685
67a67b95
UD
276862010-10-06 Ulrich Drepper <drepper@gmail.com>
27687
27688 * string/bug-strstr1.c: New file.
27689 * string/Makefile: Add rules to build and run bug-strstr1.
27690
5fb308bc
EB
276912010-10-05 Eric Blake <eblake@redhat.com>
27692
27693 [BZ #12092]
27694 * string/str-two-way.h (two_way_long_needle): Always clear memory
27695 when skipping input due to the shift table.
27696
45db99c7
UD
276972010-10-03 Ulrich Drepper <drepper@gmail.com>
27698
3b111893
UD
27699 [BZ #12005]
27700 * malloc/mcheck.c: Handle large requests.
27701
45db99c7
UD
27702 [BZ #12077]
27703 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27704 for strncmp and strncasecmp.
27705 * string/stratcliff.c: Add tests for strcmp and strncmp.
27706 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27707
cf7a1eb8
NI
277082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27709
27710 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27711 __set_fpscr.
27712
6484ba5e
AJ
277132010-09-30 Andreas Jaeger <aj@suse.de>
27714
27715 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27716 (CGROUP_SUPER_MAGIC): Define.
27717 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27718 Handle btrfs and cgroup file systems.
27719 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27720 Likewise.
27721
91c42559
LM
277222010-09-27 Luis Machado <luisgpm@br.ibm.com>
27723
27724 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27725 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27726
87a97932
AK
277272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27728
27729 [BZ #12067]
27730 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27731 trying to locate the ELF header.
27732
c21cc9bc
AS
277332010-09-27 Andreas Schwab <schwab@redhat.com>
27734
27735 [BZ #11611]
27736 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27737 Mask out sign-bit copies when constructing f_fsid.
27738
315970f6
PB
277392010-09-24 Petr Baudis <pasky@suse.cz>
27740
27741 * debug/stack_chk_fail_local.c: Add missing licence exception.
27742 * debug/warning-nop.c: Likewise.
27743
1ac7a2c7
JM
277442010-09-15 Joseph Myers <joseph@codesourcery.com>
27745
27746 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27747 implementing getdents64 using getdents syscall, set d_type if
27748 __ASSUME_GETDENTS32_D_TYPE.
27749
56801c50
AS
277502010-09-16 Andreas Schwab <schwab@redhat.com>
27751
27752 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27753 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27754
dda51327
UD
277552010-09-21 Ulrich Drepper <drepper@redhat.com>
27756
27757 [BZ #12037]
27758 * posix/unistd.h: Undo change of feature selection for ftruncate from
27759 2010-01-11.
27760
8ffcee4a
UD
277612010-09-20 Ulrich Drepper <drepper@redhat.com>
27762
a545ecd9 27763 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27764 detection.
27765
e24f0a8b
AS
277662010-09-20 Andreas Schwab <schwab@redhat.com>
27767
27768 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27769 fanotify_mark.
27770 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27771
7291c56f
AS
277722010-09-14 Andreas Schwab <schwab@redhat.com>
27773
27774 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27775 variables after CHECK_SP call.
27776 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27777
bc5fb037
AS
277782010-09-13 Andreas Schwab <schwab@redhat.com>
27779 Ulrich Drepper <drepper@redhat.com>
27780
27781 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27782 re-relocationg ld.so.
27783 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27784 _dl_init_paths call.
27785 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27786 here anymore.
27787
e66e7419
UD
277882010-09-14 Ulrich Drepper <drepper@redhat.com>
27789
27790 * resolv/res_init.c (__res_vinit): Count the default server we added.
27791
c044aa75
CLT
277922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27793 Ulrich Drepper <drepper@redhat.com>
27794
27795 [BZ #11968]
27796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27797 (____longjmp_chk): Use %ebx for saving value across system call.
27798 Add unwind info.
27799
32cf4069
AS
278002010-09-06 Andreas Schwab <schwab@redhat.com>
27801
27802 * manual/Makefile: Don't mix pattern rules with normal rules.
27803
817328ee
AS
278042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27805
27806 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27807 operation.
27808 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27809 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27810 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27811 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27813 Likewise.
27814
29fddf61
UD
278152010-09-04 Ulrich Drepper <drepper@redhat.com>
27816
27817 [BZ #11979]
27818 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27819 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27820
0959ffc9
UD
278212010-09-02 Ulrich Drepper <drepper@redhat.com>
27822
27823 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27824 * sysdeps/x86_64/addmul_1.S: Likewise.
27825 * sysdeps/x86_64/lshift.S: Likewise.
27826 * sysdeps/x86_64/mul_1.S: Likewise.
27827 * sysdeps/x86_64/rshift.S: Likewise.
27828 * sysdeps/x86_64/sub_n.S: Likewise.
27829 * sysdeps/x86_64/submul_1.S: Likewise.
27830
ece29840
ST
278312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27832
0959ffc9
UD
27833 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27834 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27835 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27836 * bits/sched.h [__need_schedparam]
ece29840 27837 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27838 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27839 (__defined_schedparam): Define to 1.
ece29840
ST
27840 (__sched_param): New structure, identical to sched_param.
27841 (__need_schedparam): Undefine.
27842
e53a31fe
MF
278432010-08-31 Mike Frysinger <vapier@gentoo.org>
27844
fdc0c10d
MF
27845 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27846 (epoll_create1): Declare.
27847
e53a31fe
MF
27848 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27849
a726d796
AS
278502010-08-31 Andreas Schwab <schwab@redhat.com>
27851
27852 [BZ #7066]
27853 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27854 shifting retval into place.
27855
2f3e3dc7
UD
278562010-09-01 Ulrich Drepper <drepper@redhat.com>
27857
f2933da9
UD
27858 * nis/rpcsvc/nis.h: Update copyright notice.
27859 * nis/rpcsvc/nis.x: Likewise.
27860 * nis/rpcsvc/nis_callback.h: Likewise.
27861 * nis/rpcsvc/nis_callback.x: Likewise.
27862 * nis/rpcsvc/nis_object.x: Likewise.
27863 * nis/rpcsvc/nis_tags.h: Likewise.
27864 * nis/rpcsvc/yp.h: Likewise.
27865 * nis/rpcsvc/yp.x: Likewise.
27866 * nis/rpcsvc/ypupd.h: Likewise.
27867 * nis/yp_xdr.c: Likewise.
27868 * nis/ypupdate_xdr.c: Likewise.
27869
2f3e3dc7
UD
27870 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27871 mainly the body of pmap_getport. Add parameters to specify timeouts.
27872 (pmap_getport): Use __libc_rpc_getport.
27873 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27874 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27875 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27876
f3dcc2f9
AS
278772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27878
27879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27880 fanotify_mark.
27881
6d34eb5b
RM
278822010-08-27 Roland McGrath <roland@redhat.com>
27883
27884 * sysdeps/i386/i686/multiarch/Makefile
27885 (CFLAGS-varshift.c): New variable.
27886
9ea3de11
UD
278872010-08-27 Ulrich Drepper <drepper@redhat.com>
27888
c96d23fc
UD
27889 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27890 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27891
9ea3de11
UD
27892 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27893
27894 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27895
623aac7f
L
278962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27897
27898 * sysdeps/x86_64/strlen.S: Unroll the loop.
27899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27900 strlen-sse2 strlen-sse2-bsf.
27901 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27902 __strlen_no_bsf if bit_Slow_BSF is set.
27903 (__strlen_sse42): Removed.
27904 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27905 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27906
8b2b7715
RM
279072010-08-25 Roland McGrath <roland@redhat.com>
27908
27909 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27910 * sysdeps/x86_64/multiarch/varshift.c: New file.
27911 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27912 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27913 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27914 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27915
e73015f2
L
279162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27917
27918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27919 strlen-sse2 strlen-sse2-bsf.
27920 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27921 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27922 (__strlen_sse2): Removed.
27923 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27924 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27926 bit_Slow_BSF for Atom.
27927 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27928 (index_Slow_BSF): Define.
27929 (HAS_SLOW_BSF): Define.
27930
df24a73e
UD
279312010-08-25 Ulrich Drepper <drepper@redhat.com>
27932
27933 [BZ #10851]
27934 * resolv/res_init.c (__res_vinit): When no server address at all
27935 is given default to loopback.
27936
f2ac4868
RM
279372010-08-24 Roland McGrath <roland@redhat.com>
27938
09055553
RM
27939 * configure.in: Remove config-name.h generation.
27940 * configure: Regenerated.
27941 * config-name.in: File removed.
27942 * scripts/config-uname.sh: New file.
27943 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27944 ($(objdir)config-name.h): New target.
27945
f2ac4868
RM
27946 * sunrpc/rpc_parse.h: Avoid nested comment.
27947
73f27d5e
RH
279482010-08-24 Richard Henderson <rth@redhat.com>
27949 Ulrich Drepper <drepper@redhat.com>
27950 H.J. Lu <hongjiu.lu@intel.com>
27951
27952 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27954 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27955 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27956 _mm_alignr_epi8 with _mm_loadu_si128.
27957 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27958 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27959 (__m128i_shift_right): Removed.
27960 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27961 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27962 * sysdeps/x86_64/multiarch/varshift.h: New file.
27963 * sysdeps/x86_64/multiarch/varshift.S: New file.
27964
84b9230c
MF
279652010-08-21 Mike Frysinger <vapier@gentoo.org>
27966
27967 * configure.in: Move assembler checks to before sysdep dir checking.
27968
9bbd0ddc
PB
279692010-08-20 Petr Baudis <pasky@suse.cz>
27970
27971 * LICENSES: Sync the sunrpc license.
27972
9da4bb31
UD
279732010-08-19 Ulrich Drepper <drepper@redhat.com>
27974
a7ab6ec8
UD
27975 * sunrpc/auth_des.c: Update copyright notice once again.
27976 * sunrpc/auth_none.c: Likewise.
27977 * sunrpc/auth_unix.c: Likewise.
27978 * sunrpc/authdes_prot.c: Likewise.
27979 * sunrpc/authuxprot.c: Likewise.
27980 * sunrpc/bindrsvprt.c: Likewise.
27981 * sunrpc/clnt_gen.c: Likewise.
27982 * sunrpc/clnt_perr.c: Likewise.
27983 * sunrpc/clnt_raw.c: Likewise.
27984 * sunrpc/clnt_simp.c: Likewise.
27985 * sunrpc/clnt_tcp.c: Likewise.
27986 * sunrpc/clnt_udp.c: Likewise.
27987 * sunrpc/clnt_unix.c: Likewise.
27988 * sunrpc/des_crypt.c: Likewise.
27989 * sunrpc/des_soft.c: Likewise.
27990 * sunrpc/get_myaddr.c: Likewise.
27991 * sunrpc/getrpcport.c: Likewise.
27992 * sunrpc/key_call.c: Likewise.
27993 * sunrpc/key_prot.c: Likewise.
27994 * sunrpc/openchild.c: Likewise.
27995 * sunrpc/pm_getmaps.c: Likewise.
27996 * sunrpc/pm_getport.c: Likewise.
27997 * sunrpc/pmap_clnt.c: Likewise.
27998 * sunrpc/pmap_prot.c: Likewise.
27999 * sunrpc/pmap_prot2.c: Likewise.
28000 * sunrpc/pmap_rmt.c: Likewise.
28001 * sunrpc/rpc/auth.h: Likewise.
28002 * sunrpc/rpc/auth_unix.h: Likewise.
28003 * sunrpc/rpc/clnt.h: Likewise.
28004 * sunrpc/rpc/des_crypt.h: Likewise.
28005 * sunrpc/rpc/key_prot.h: Likewise.
28006 * sunrpc/rpc/netdb.h: Likewise.
28007 * sunrpc/rpc/pmap_clnt.h: Likewise.
28008 * sunrpc/rpc/pmap_prot.h: Likewise.
28009 * sunrpc/rpc/pmap_rmt.h: Likewise.
28010 * sunrpc/rpc/rpc.h: Likewise.
28011 * sunrpc/rpc/rpc_des.h: Likewise.
28012 * sunrpc/rpc/rpc_msg.h: Likewise.
28013 * sunrpc/rpc/svc.h: Likewise.
28014 * sunrpc/rpc/svc_auth.h: Likewise.
28015 * sunrpc/rpc/types.h: Likewise.
28016 * sunrpc/rpc/xdr.h: Likewise.
28017 * sunrpc/rpc_clntout.c: Likewise.
28018 * sunrpc/rpc_cmsg.c: Likewise.
28019 * sunrpc/rpc_common.c: Likewise.
28020 * sunrpc/rpc_cout.c: Likewise.
28021 * sunrpc/rpc_dtable.c: Likewise.
28022 * sunrpc/rpc_hout.c: Likewise.
28023 * sunrpc/rpc_main.c: Likewise.
28024 * sunrpc/rpc_parse.c: Likewise.
28025 * sunrpc/rpc_parse.h: Likewise.
28026 * sunrpc/rpc_prot.c: Likewise.
28027 * sunrpc/rpc_sample.c: Likewise.
28028 * sunrpc/rpc_scan.c: Likewise.
28029 * sunrpc/rpc_scan.h: Likewise.
28030 * sunrpc/rpc_svcout.c: Likewise.
28031 * sunrpc/rpc_tblout.c: Likewise.
28032 * sunrpc/rpc_util.c: Likewise.
28033 * sunrpc/rpc_util.h: Likewise.
28034 * sunrpc/rpcinfo.c: Likewise.
28035 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28036 * sunrpc/rpcsvc/key_prot.x: Likewise.
28037 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28038 * sunrpc/rpcsvc/mount.x: Likewise.
28039 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28040 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28041 * sunrpc/rpcsvc/rex.x: Likewise.
28042 * sunrpc/rpcsvc/rstat.x: Likewise.
28043 * sunrpc/rpcsvc/rusers.x: Likewise.
28044 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28045 * sunrpc/rpcsvc/spray.x: Likewise.
28046 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28047 * sunrpc/rtime.c: Likewise.
28048 * sunrpc/svc.c: Likewise.
28049 * sunrpc/svc_auth.c: Likewise.
28050 * sunrpc/svc_authux.c: Likewise.
28051 * sunrpc/svc_raw.c: Likewise.
28052 * sunrpc/svc_run.c: Likewise.
28053 * sunrpc/svc_simple.c: Likewise.
28054 * sunrpc/svc_tcp.c: Likewise.
28055 * sunrpc/svc_udp.c: Likewise.
28056 * sunrpc/svc_unix.c: Likewise.
28057 * sunrpc/svcauth_des.c: Likewise.
28058 * sunrpc/xcrypt.c: Likewise.
28059 * sunrpc/xdr.c: Likewise.
28060 * sunrpc/xdr_array.c: Likewise.
28061 * sunrpc/xdr_float.c: Likewise.
28062 * sunrpc/xdr_mem.c: Likewise.
28063 * sunrpc/xdr_rec.c: Likewise.
28064 * sunrpc/xdr_ref.c: Likewise.
28065 * sunrpc/xdr_sizeof.c: Likewise.
28066 * sunrpc/xdr_stdio.c: Likewise.
28067
9da4bb31
UD
28068 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28069 handling.
28070
bdaa77bc
AS
280712010-08-19 Andreas Schwab <schwab@redhat.com>
28072
28073 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28074
fe2f79db
LM
280752010-08-19 Luis Machado <luisgpm@br.ibm.com>
28076
28077 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28078 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28079 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28080 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28081 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28082 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28083 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28084 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28085 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28086 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28087 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28088 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28089 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28090 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28091
b9b42ee0
AB
280922010-07-26 Anton Blanchard <anton@samba.org>
28093
28094 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28095 * malloc/arena.c (heap_trim): Likewise.
28096
1c06ba31
UD
280972010-08-16 Ulrich Drepper <drepper@redhat.com>
28098
28099 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28100 here. Not...
28101 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28102 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28103
f8392f40
L
281042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28105
28106 * sysdeps/i386/elf/Makefile: New file.
28107
3162f12e
AS
281082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28109
28110 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28111 from fanotify_init.
28112 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28113 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28114
28c90b2c
UD
281152010-08-15 Ulrich Drepper <drepper@redhat.com>
28116
28117 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28118 of strncasecmp_l.
1feccb6c 28119 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28120
ca6bb004
UD
281212010-08-14 Ulrich Drepper <drepper@redhat.com>
28122
e9f82e0d
UD
28123 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28124 strncase_l-nonascii.
28125 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28126 Add strncase_l-ssse3.
28127 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28128 * sysdeps/x86_64/strcmp.S: Likewise.
28129 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28130 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28131 * sysdeps/x86_64/strncase.S: New file.
28132 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28133 * sysdeps/x86_64/strncase_l.S: New file.
28134 * string/Makefile (strop-tests): Add strncasecmp.
28135 * string/test-strncasecmp.c: New file.
28136
28137 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28138 warning.
28139
ca6bb004
UD
28140 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28141 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28142
052fa7b3
AS
281432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28144
28145 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28146
962dba78
UD
281472010-08-12 Ulrich Drepper <drepper@redhat.com>
28148
28149 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28150 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28151 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28152
bebff237
AM
281532010-05-01 Alan Modra <amodra@gmail.com>
28154
28155 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28156 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28157 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28158 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28159 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28160 tidying. Don't tail-call __sigjmp_save for static lib.
28161 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28162 save location.
28163 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28164 (CALL_MCOUNT): Add eh info, and nop after bl.
28165 (TAIL_CALL_SYSCALL_ERROR): New macro.
28166 (PSEUDO_RET): Use it.
28167 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28168 Correct save location of integer regs and cr.
28169 (_dl_profile_resolve): Correct cr save location. Delete nops
28170 after bl when SHARED. Reduce cfi size a little by better
28171 placement of cfi directives.
28172 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28173 make a stack frame. Instead use parm save area as a temp.
28174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28175 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28177 Don't make a stack frame for parent, use parm save area.
28178 Increase child stack frame to 112 bytes. Don't save unused reg,
28179 and adjust reg usage. Set up cfi on error recovery and
28180 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28182 (__makecontext): Add dummy nop after jump to exit.
28183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28184 Use correct parm save area and cr save, reduce stack frame.
28185 Correct cfi for possible PSEUDO_RET frame setup.
28186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28187 Branch to local label emitted by PSEUDO_RET rather than
28188 __syscall_error.
28189
02637374
AS
281902010-08-12 Andreas Schwab <schwab@redhat.com>
28191
28192 [BZ #11904]
28193 * locale/programs/locale.c (print_assignment): New function.
28194 (show_locale_vars): Use it.
28195
c3e2f19b
UD
281962010-08-11 Ulrich Drepper <drepper@redhat.com>
28197
3cdaa6ad
UD
28198 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28199 field.
28200 (struct statfs64): Likewise.
28201 (_STATFS_F_FLAGS): Define.
28202 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28203 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28204 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28205 (ST_VALID): Define locally.
28206 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28207 __statvfs_getflags, use the provided value.
28208 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28209 __ASSUME_STATFS_F_FLAGS.
28210
754f7da3
UD
28211 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28212
10b3bedc
UD
28213 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28214 Add sys/fanotify.h.
28215 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28216 fanotify_mask for GLIBC_2.13.
28217 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28218 fanotify_init and fanotify_mark.
28219 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28220 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28221
c08fb0d7
UD
28222 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28223 Add prlimit.
28224 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28225 prlimit64 for GLIBC_2.13.
28226 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28227 prlimit64.
28228 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28229 syscall.
28230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28231 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28232 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28233 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28235 add prlimit alias.
28236 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28237
15bac72b
UD
28238 [BZ #11903]
28239 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28240 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28241
c3e2f19b
UD
28242 * nss/Makefile: Add rules to build and run tst-nss-test1.
28243 * shlib-versions: Add entry for libnss_test1.
28244 * nss/nss_test1.c: New file.
28245 * nss/tst-nss-test1.c: New file.
28246
28247 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28248 (__nss_configure_lookup): Set appropriate entry in
28249 __nss_configure_lookup to true.
28250 * nss/nsswitch.h: Define enum with indeces of databases in
28251 databases and __nss_database_custom arrays. Declare
28252 __nss_database_custom.
28253 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28254 to avoid using nscd when custom rules are installed.
28255 * nss/getXXbyYY_r.c: Likewise.
28256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28257
28258 * nss/nss_files/files-parse.c: Whitespace fixes.
28259
f15ce4d8
UD
282602010-08-09 Ulrich Drepper <drepper@redhat.com>
28261
28262 [BZ #11883]
28263 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28264 * posix/fnmatch_loop.c: Likewise.
28265
d22e4cc9
AK
282662010-07-17 Andi Kleen <ak@linux.intel.com>
28267
28268 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28269 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28270 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28271 * Versions.def [GLIBC_2.13]: Add.
28272
805bc17d
UD
282732010-08-06 Ulrich Drepper <drepper@redhat.com>
28274
28275 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28276 Also fail if tpwd after pwuid call is NULL.
28277
5a42321d
ST
282782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28279
28280 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28281 when converting to ms.
28282
fd3ebeda
ST
282832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28284
28285 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28286 EOPNOTSUPP errors with ENOTTY.
28287 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28288 EOPNOTSUPP errors with ENOTTY.
28289
73507d3a
UD
282902010-07-31 Ulrich Drepper <drepper@redhat.com>
28291
28292 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28293 Add strcasecmp_l-ssse3.
28294 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28295 strcasecmp.
28296 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28297 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28298 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28299
fe36dd02
UD
283002010-07-30 Ulrich Drepper <drepper@redhat.com>
28301
66f6765a
UD
28302 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28303
42e08a54
UD
28304 * string/Makefile (strop-tests): Add strcasecmp.
28305 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28306 strcasecmp_l-nonascii.
28307 (gen-as-const-headers): Add locale-defines.sym.
28308 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28309 * sysdeps/x86_64/strcasecmp.S: New file.
28310 * sysdeps/x86_64/strcasecmp_l.S: New file.
28311 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28312 * sysdeps/x86_64/locale-defines.sym: New file.
28313 * string/test-strcasecmp.c: New file.
28314
fe36dd02
UD
28315 * string/test-strcasestr.c: Test both ends of the range of characters.
28316 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28317
48cbc0d6
RM
283182010-07-29 Roland McGrath <roland@redhat.com>
28319
76e6d6bc 28320 [BZ #11856]
48cbc0d6
RM
28321 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28322
880113d9
UD
283232010-07-27 Ulrich Drepper <drepper@redhat.com>
28324
28325 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28326 for ld.so.
28327
deb9cabb
AS
283282010-07-27 Andreas Schwab <schwab@redhat.com>
28329
28330 * manual/memory.texi (Malloc Tunable Parameters): Document
28331 M_PERTURB.
28332
1c7570ff
RM
283332010-07-26 Roland McGrath <roland@redhat.com>
28334
28335 [BZ #11840]
28336 * configure.in (-fgnu89-inline check): Set and substitute
28337 gnu89_inline, not libc_cv_gnu89_inline.
28338 * configure: Regenerated.
28339 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28340
24fb0f88
UD
283412010-07-26 Ulrich Drepper <drepper@redhat.com>
28342
28343 * string/test-strnlen.c: New file.
28344 * string/Makefile (strop-tests): Add strnlen.
28345 * string/tester.c (test_strnlen): Add a few more test cases.
28346 * string/tst-strlen.c: Better error reporting.
28347
28348 * sysdeps/x86_64/strnlen.S: New file.
28349
8e96b93a
UD
283502010-07-24 Ulrich Drepper <drepper@redhat.com>
28351
28352 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28353 lower-latency instructions.
28354
dbc676d4
UD
283552010-07-23 Ulrich Drepper <drepper@redhat.com>
28356
28357 * string/test-strcasestr.c: New file.
28358 * string/test-strstr.c: New file.
28359 * string/Makefile (strop-tests): Add strstr and strcasestr.
28360 * string/str-two-way.h: Don't undefine MAX.
28361 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28362
f6a31e0e
AS
283632010-07-21 Andreas Schwab <schwab@redhat.com>
28364
28365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28366 strcasestr-nonascii.
28367 (CFLAGS-strcasestr-nonascii.c): Define.
28368 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28369 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28370 Remove unused attribute.
28371
5dbc3b6c
RM
283722010-07-20 Roland McGrath <roland@redhat.com>
28373
28374 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28375 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28376 ld.so.cache was broken. With it, there is no way to disable dsocaps
28377 like LD_HWCAP_MASK can disable hwcaps.
28378
23d101d8
EPM
283792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28380
28381 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28382
cc9f2e47
UD
283832010-07-16 Ulrich Drepper <drepper@redhat.com>
28384
28385 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28386 call in strcasestr.
28387 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28388 __strcasestr_sse42_nonascii.
28389 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28390 strcasestr-nonascii.c.
28391 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28392
77c1b069
LM
283932010-06-15 Luis Machado <luisgpm@br.ibm.com>
28394
28395 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28396 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28397 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28398 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28399
440566c3
UD
284002010-07-09 Ulrich Drepper <drepper@redhat.com>
28401
28402 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28403 fcntl.
28404
5be9d05d
AS
284052010-07-06 Andreas Schwab <schwab@redhat.com>
28406
c30b7ee2 28407 [BZ #11577]
5be9d05d
AS
28408 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28409 dl_signal_cerror.
28410
8a492a67
UD
284112010-07-06 Ulrich Drepper <drepper@redhat.com>
28412
28413 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28414 _PC_PIPE_BUF using F_GETPIPE_SZ.
28415
713df3d5
RM
284162010-07-05 Roland McGrath <roland@redhat.com>
28417
28418 * manual/arith.texi (Rounding Functions): Fix rint description
28419 implicit in round description.
28420
702e8f14
UD
284212010-07-02 Ulrich Drepper <drepper@redhat.com>
28422
28423 * elf/Makefile: Fix linking for a few tests to make recent linker
28424 happy.
28425
52ed8be9
AS
284262010-06-30 Andreas Schwab <schwab@redhat.com>
28427
28428 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28429 $(common-objpfx)libc_nonshared.a.
28430
f47c9a11
LM
284312010-06-21 Luis Machado <luisgpm@br.ibm.com>
28432
28433 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28434 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28435 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28436 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28437 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28438 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28439 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28440 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28455 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28456 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28457 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28458 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28459 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28460 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28461 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28462 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28463 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28464 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28465 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28466 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28481
6fb8cbcb
L
284822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28483
28484 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28485 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28486 * string/memmove.c (memmove): Renamed to ...
28487 (MEMMOVE): ...this. Default to memmove.
28488 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28489 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28490 (END_CHK): Define.
28491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28492 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28493 mempcpy-ssse3-back memmove-ssse3-back.
28494 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28495 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28496 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28497 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28498 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28499 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28500 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28501 * sysdeps/x86_64/multiarch/memmove.c: New file.
28502 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28503 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28504 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28505 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28506 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28507 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28508 Define.
28509 (index_Fast_Copy_Backward): Define.
28510 (HAS_ARCH_FEATURE): Define.
28511 (HAS_FAST_REP_STRING): Define.
28512 (HAS_FAST_COPY_BACKWARD): Define.
28513
4e733bac 285142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28515
28516 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28517 Restore proper fallback handling.
28518
63c4ed22
UD
285192010-06-19 Ulrich Drepper <drepper@redhat.com>
28520
ac2b484c
UD
28521 [BZ #11701]
28522 * posix/group_member.c (__group_member): Correct checking loop.
28523
63c4ed22
UD
28524 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28525 OOM in getpwuid_r correctly. Return error number when the caller
28526 should return, otherwise -1.
28527 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28528 call returning > 0 value.
28529 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28530
765ade4b
AS
285312010-06-07 Andreas Schwab <schwab@redhat.com>
28532
28533 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28534 libc_nonshared.a from targets in modules-names.
28535
80da2e09
KS
285362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28537
28538 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28539 requires it.
28540
158db122
LM
285412010-06-10 Luis Machado <luisgpm@br.ibm.com>
28542
28543 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28544 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28546 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28547
caa78cf8
AS
285482010-06-02 Andreas Schwab <schwab@redhat.com>
28549
28550 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28551
b2ef2c01
UD
285522010-06-14 Ulrich Drepper <drepper@redhat.com>
28553
28554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28555 and F_GETPIPE_SZ.
28556 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28557 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28558 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28560 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28561 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28562
fbd643b6
RM
285632010-06-14 Roland McGrath <roland@redhat.com>
28564
28565 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28566
f32f2869
JJ
285672010-06-07 Jakub Jelinek <jakub@redhat.com>
28568
28569 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28570 __REDIRECT followed by __THROW.
28571 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28572 * posix/getopt.h (getopt): Likewise.
28573
2a50c078
EPM
285742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28575
28576 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28577 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28578 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28579 in AT_FLAGS.
28580 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28581 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28582
eb5ad2eb
LM
285832010-05-28 Luis Machado <luisgpm@br.ibm.com>
28584
28585 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28586
3c88fe1e
L
285872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28588
28589 [BZ #11640]
28590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28591 Properly check family and model.
28592
d2f73151
TY
285932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28594
28595 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28596
ebd2e13d
LM
285972010-05-24 Luis Machado <luisgpm@br.ibm.com>
28598
28599 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28600
b32b8b45
UD
286012010-05-21 Ulrich Drepper <drepper@redhat.com>
28602
28603 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28604 symbol reference.
28605
9acbe24d
AS
286062010-05-19 Andreas Schwab <schwab@redhat.com>
28607
28608 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28609 symbol reference.
28610
f0ccf6ea
AS
286112010-05-21 Andreas Schwab <schwab@redhat.com>
28612
3d04ff3a
AS
28613 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28614 and internal_recvmmsg.
28615 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28616 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28617 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28618 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28619
f0ccf6ea
AS
28620 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28621 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28622 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28623
5b08ac57
AS
286242010-05-20 Andreas Schwab <schwab@redhat.com>
28625
28626 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28627
4828935d
LM
286282010-05-17 Luis Machado <luisgpm@br.ibm.com>
28629
28630 POWER7 optimizations.
28631 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28632 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28633
373d545e
UD
286342010-05-19 Ulrich Drepper <drepper@redhat.com>
28635
28636 * version.h: Update for 2.13 development version.
28637
21a2b1ae
AS
286382010-05-12 Andrew Stubbs <ams@codesourcery.com>
28639
28640 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28641 exceptions. Return 0.
28642
3f7dcb2b
RM
286432010-05-07 Roland McGrath <roland@redhat.com>
28644
28645 * elf/ldconfig.c (main): Add a const.
28646
5f24d53a 286472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28648
a160f8d8
UD
28649 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28650 (args_options): Add no-idn option.
28651 (ahosts_keys_int): Add idn_flags to ai_flags.
28652 (parse_option): Handle 'i' option to clear idn_flags.
28653
5f24d53a
UD
28654 * malloc/malloc.c (_int_free): Possible race in the most recently
28655 added check. Only act on the data if no current modification
28656 happened.
265bb1ce
UD
28657
28658See ChangeLog.17 for earlier changes.
This page took 3.848372 seconds and 5 git commands to generate.