]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix coding style
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5c637fe5
SP
12013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * benchtests/bench-skeleton.c (startup): Fix coding style.
4
ab2b9461
JM
52013-05-10 Joseph Myers <joseph@codesourcery.com>
6
7 [BZ #6809]
8 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9 negative infinity argument.
10 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11 negative infinity argument.
12 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13 negative infinity argument.
14 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15 domain errors.
16
4c0fe6fe
FW
172013-05-10 Florian Weimer <fweimer@redhat.com>
18
19 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21 * iconv/iconv_prog.c (main): Likewise.
22 * locale/programs/charmap-dir.c (charmap_readdir)
23 (fopen_uncompressed): Likewise.
24 * locale/programs/locfile.c (siblings_uncached)
25 (write_locale_data): Use lstat64 instead of lstat.
26 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27 stat.
28
a3375d29
AJ
292013-05-10 Andreas Jaeger <aj@suse.de>
30
31 [BZ #15395]
32 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33 localization.
34 Include <locale.h>.
35
36129722
CD
362013-05-09 Carlos O'Donell <carlos@redhat.com>
37
38 * elf/dl-close.c (_dl_close_worker): Add comments.
39
faa7f811
JM
402013-05-09 Joseph Myers <joseph@codesourcery.com>
41
ed41ffef
JM
42 [BZ #15359]
43 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44 high part of pi/2.
45 (__ieee754_rem_pio2l): Update comments.
46
d0213cd0
JM
47 [BZ #15429]
48 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49 high part of pi/2.
50 (__ieee754_rem_pio2l): Update comments.
51
0d3e777a
JM
52 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54
24f56066
JM
55 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56 M_PI_4l.
57
faa7f811
JM
58 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59 (M_PI_34_LOG10El): Likewise.
60 (M_PI2_LOG10El): Likewise.
61 (M_PI4_LOG10El): Likewise.
62 (M_PI_LOG10El): Likewise.
63
e9a5e0fd
AZ
642013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65
66 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67
d8cd06db
JM
682013-05-08 Joseph Myers <joseph@codesourcery.com>
69
a0d9f9d7
JM
70 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
71 (MINUS_ZERO_INIT): Likewise.
72 (PLUS_INFTY_INIT): Likewise.
73 (MINUS_INFTY_INIT): Likewise.
74 (QNAN_VALUE_INIT): Likewise.
75 (MAX_VALUE_INIT): Likewise.
76 (MIN_VALUE_INIT): Likewise.
77 (MIN_SUBNORM_VALUE_INIT): Likewise.
78 (plus_zero): Initialize with PLUS_ZERO_INIT.
79 (minus_zero): Initialize with MINUS_ZERO_INIT.
80 (plus_infty): Initialize with PLUS_INFTY_INIT.
81 (minus_infty): Initialize with MINUS_INFTY_INIT.
82 (qnan_value): Initialize with QNAN_VALUE_INIT.
83 (max_value): Initialize with MAX_VALUE_INIT.
84 (min_value): Initialize with MIN_VALUE_INIT.
85 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
86
ae08db3b
JM
87 * math/libm-test.inc (RUN_TEST_if_f): New macro.
88 (jn_test): Use TEST_if_f instead of TEST_ff_f.
89 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
90 (yn_test): Use TEST_if_f instead of TEST_ff_f.
91
f44bf14a
JM
92 * math/libm-test.inc (RUN_TEST_f_f): New macro.
93 (RUN_TEST_2_f): Likewise.
94 (RUN_TEST_ff_f): Likewise.
95 (RUN_TEST_fi_f): Likewise.
96 (RUN_TEST_fl_f): Likewise.
97 (RUN_TEST_fff_f): Likewise.
98 (RUN_TEST_c_f): Likewise.
99 (RUN_TEST_f_f1): Likewise.
100 (RUN_TEST_fF_f1): Likewise.
101 (RUN_TEST_fI_f1): Likewise.
102 (RUN_TEST_ffI_f1): Likewise.
103 (RUN_TEST_c_c): Likewise.
104 (RUN_TEST_cc_c): Likewise.
105 (RUN_TEST_f_i): Likewise.
106 (RUN_TEST_f_i_tg): Likewise.
107 (RUN_TEST_ff_i_tg): Likewise.
108 (RUN_TEST_f_b): Likewise.
109 (RUN_TEST_f_b_tg): Likewise.
110 (RUN_TEST_f_l): Likewise.
111 (RUN_TEST_f_L): Likewise.
112 (RUN_TEST_sincos): Likewise.
113 * math/gen-libm-test.pl (new_test): Take new argument to indicate
114 whether to show exceptions. Do not include ");\n" in return
115 value.
116 (special_functions): Output call to RUN_TEST_sincos instead of
117 check_float calls. Update calls to new_test.
118 (parse_args): Output call to single RUN_TEST_* macro instead of
119 check_* calls and other assignments. Update calls to new_test.
120
d8cd06db
JM
121 [BZ #2546]
122 [BZ #2560]
123 [BZ #5159]
124 [BZ #15426]
125 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
126 input to result for tgamma overflow.
127 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
128 (gamma_coeff): New variable.
129 (NCOEFF): New macro.
130 (gamma_positive): New function.
131 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
132 underflow here. Use gamma_positive instead of exp (lgamma) for
133 other arguments.
134 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
135 (gamma_coeff): New variable.
136 (NCOEFF): New macro.
137 (gammaf_positive): New function.
138 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
139 underflow here. Use gamma_positive instead of exp (lgamma) for
140 other arguments.
141 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
142 (gamma_coeff): New variable.
143 (NCOEFF): New macro.
144 (gammal_positive): New function.
145 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
146 underflow here. Use gamma_positive instead of exp (lgamma) for
147 other arguments.
148 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
149 (gamma_coeff): New variable.
150 (NCOEFF): New macro.
151 (gammal_positive): New function.
152 (__ieee754_gammal_r): Handle positive infinity, overflow and
153 underflow here. Handle NaN the same as positive infinity. Remove
154 check x < 0xffffffff for negative integers. Use gamma_positive
155 instead of exp (lgamma) for other arguments.
156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
157 (gamma_coeff): New variable.
158 (NCOEFF): New macro.
159 (gammal_positive): New function.
160 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
161 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
162 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
163 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
164 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
165 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
166 * sysdeps/generic/math_private.h (__gamma_productf): New
167 prototype.
168 (__gamma_product): Likewise.
169 (__gamma_productl): Likewise.
170 * math/Makefile (libm-calls): Add gamma_product.
171 * math/libm-test.inc (tgamma_test): Add more tests.
172 * sysdeps/i386/fpu/libm-test-ulps: Update.
173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
174
bb7cf681
OB
1752013-05-08 Ondřej Bílka <neleai@seznam.cz>
176
177 * benchtests/bench-skeleton.c (main): Preheat CPU.
178
ba853947
AJ
1792013-05-07 Aurelien Jarno <aurelien@aurel32.net>
180
181 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
182
8347c74c
RM
1832013-05-07 Roland McGrath <roland@hack.frob.com>
184
185 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
186 and _dl_skip_args_internal.
187
e8dd4791
CD
1882013-05-07 Carlos O'Donell <carlos@redhat.com>
189
190 * manual/message.texi (Message Translation): Talk about users.
191 Message to key mapping impacts design.
192
c7405830
RM
1932013-05-06 Roland McGrath <roland@hack.frob.com>
194
a9173057
RM
195 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
196
976e2f03
RM
197 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
198
9723ffc5
RM
199 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
200 * sysdeps/wordsize-64/glob64.c: ... here.
201
962e6658
RM
202 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
203 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
204 New macros.
205
ee586a6d
RM
206 * debug/getlogin_r_chk.c: Moved to ...
207 * login/getlogin_r_chk.c: ... here.
208 * debug/Makefile (routines): Move getlogin_r_chk to ...
209 * login/Makefile (routines): ... here.
210 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
211 * login/Versions (libc: GLIBC_2.4): ... here.
212
355f9165
RM
213 * io/poll.c (__poll): Renamed from poll.
214 Add libc_hidden_def.
215 (poll): Define as weak alias.
216
bd9ffde6
RM
217 * debug/ptsname_r_chk.c: Moved to ...
218 * login/ptsname_r_chk.c: ... here.
219 * debug/Makefile (routines): Move ptsname_r_chk to ...
220 * login/Makefile (routines): ... here.
221 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
222 * login/Versions (libc: GLIBC_2.4): ... here.
223
8fb16a04
RM
224 * posix/getlogin.c: Moved to ...
225 * login/getlogin.c: ... here.
226 * posix/getlogin_r.c: Moved to ...
227 * login/getlogin_r.c: ... here.
228 * posix/getlogin_r.c: Moved to ...
229 * login/getlogin_r.c: ... here.
230 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
231 * login/Makefile (routines): ... here.
232 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
233 * login/Versions (libc: GLIBC_2.0): ... here.
234
b99b892f
RM
235 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
236 (setrlimit): Define as weak alias.
237
c7405830
RM
238 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
239 Call __ names for open, ftruncate, and close.
240 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
241 (truncate): Define as weak alias.
242
5bf96de5
JM
2432013-05-06 Joseph Myers <joseph@codesourcery.com>
244
9ea3513c
JM
245 * math/gen-libm-test.pl (parse_args): Initialize x before each
246 test of frexp, modf and remquo.
247
5bf96de5
JM
248 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
249 test signgam value.
250
16e616a7
AZ
2512013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
252
253 [BZ #15418]
254 [BZ #15419]
255 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
256 internal tests.
257 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
258
d5e82754
RM
2592013-05-06 Roland McGrath <roland@hack.frob.com>
260
261 * elf/dl-writev.h: New file.
262 * elf/dl-misc.c: Include it.
263 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
264 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
265
a7548d41
JM
2662013-05-04 Joseph Myers <joseph@codesourcery.com>
267
b7dab1e4
JM
268 * math/libm-test.inc (noXFails): Remove variable.
269 (noXPasses): Likewise.
270 (BUILD_COMPLEX_INT): Remove macro.
271 (print_screen): Remove xfail argument.
272 (print_screen_max_error): Likewise.
273 (update_stats): Likewise.
274 (print_max_error): Likewise. Update calls to other affected
275 functions.
276 (print_complex_max_error): Likewise.
277 (test_single_exception): Update calls to print_screen.
278 (test_single_errno): Likewise.
279 (check_float_internal): Remove xfail argument. Update calls to
280 other affected functions.
281 (check_float): Likewise.
282 (check_complex): Likewise.
283 (check_int): Likewise.
284 (check_long): Likewise.
285 (check_bool): Likewise.
286 (check_longlong): Likewise.
287 (main): Don't print noXFails and noXPasses.
288 * math/gen-libm-test.pl (top level): Don't mention expected
289 failure handling in comment.
290 (new_test): Don't handle expected failures.
291 (parse_args): Don't mention expected failure handling in comment.
292 (generate_testfile): Don't handle expected failures.
293 (parse_ulps): Likewise.
294 (print_ulps_file): Likewise.
295 (get_failure): Remove function.
296 (output_test): Don't handle expected failures.
297 * make/README.libm-test: Don't mention expected failure handling.
298
a7548d41
JM
299 * math/libm-test.inc (plus_zero): Make const. Add initializer.
300 (minus_zero): Likewise.
301 (plus_infty): Likewise.
302 (minus_infty): Likewise.
303 (qnan_value): Likewise.
304 (max_value): Likewise.
305 (min_value): Likewise.
306 (min_subnorm_value): Likewise.
307 (initialize): Do not initialize those variables dynamically.
308
60bfd54c
RM
3092013-05-03 Roland McGrath <roland@hack.frob.com>
310
cc0e6ed8
RM
311 * io/open.c (__open_2): Moved to ...
312 * io/open_2.c: ... this new file.
313 * io/open64.c (__open64_2): Moved to ...
314 * io/open64_2.c: ... this new file.
315 * io/openat.c (__openat_2): Moved to ...
316 * io/openat_2.c: ... this new file.
317 * io/openat64.c (__openat64_2): Moved to ...
318 * io/openat64_2.c: ... this new file.
319 * io/Makefile (routines): Add them.
320 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
321 * sysdeps/unix/sysv/linux/open_2.c: File removed.
322 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
323 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
324 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
325 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
326 (__openat64): Add hidden_ver.
327 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
328 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
329
60bfd54c
RM
330 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
331 Separately conditionalize setting of GLRO(dl_sysinfo) so
332 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
333 as well, but the actual setting is only under [NEED_DL_SYSINFO].
334
83e7640f
AZ
3352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
336
337 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
339 definition.
340 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
341 * sysdeps/unix/sysv/linux/powerpc/init-first.c
342 (_libc_vdso_platform_setup): Add __vdso_time initialization.
343 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
344 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
345
d5dc2af3
JM
3462013-05-03 Joseph Myers <joseph@codesourcery.com>
347
c31a5b1e
JM
348 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
349 test signgam value.
350
d5dc2af3
JM
351 * math/libm-test.inc (hypot_test): Do not use
352 IGNORE_ZERO_INF_SIGN.
353
164fd39d
AJ
3542013-05-03 Andreas Jaeger <aj@suse.de>
355
356 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
357 Linux 3.9.
358 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
359 (PF_MAX): Adjust for VSOCK change.
360
8237f48c
AZ
3612013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
362
363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
364
9df02941
CD
3652013-05-02 Carlos O'Donell <carlos@redhat.com>
366
367 [BZ #15264]
368 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
369 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
370 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
371
d422395e
DM
3722013-05-02 David S. Miller <davem@davemloft.net>
373
374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
375
a07c5731
OB
3762013-05-01 Ondřej Bílka <neleai@seznam.cz>
377
378 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
379
1324e37f
RM
3802013-05-01 Roland McGrath <roland@hack.frob.com>
381
382 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
383
0695940b
RS
3842013-05-01 Richard Smith <richard@metafoo.co.uk>
385
bb5f27ad 386 [BZ #14952]
0695940b
RS
387 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
388 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
389 Use __attribute__ ((__gnu_inline__)).
390 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
391 Don't use __attribute__ ((__gnu_inline__)).
392
10de07f5
JM
3932013-05-01 Joseph Myers <joseph@codesourcery.com>
394
395 [BZ #15423]
396 * math/s_catan.c (__catan): Handle small real or imaginary part of
397 input specially to avoid spurious underflow.
398 * math/s_catanf.c (__catanf): Likewise.
399 * math/s_catanh.c (__catanh): Likewise.
400 * math/s_catanhf.c (__catanhf): Likewise.
401 * math/s_catanhl.c (__catanhl): Likewise.
402 * math/s_catanl.c (__catanl): Likewise.
403 * math/libm-test.inc (catan_test): Add more tests.
404 (catanh_test): Likewise.
405 * sysdeps/i386/fpu/libm-test-ulps: Update.
406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
407
cb4d5414
AZ
4082013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409
410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
411
caf84319
JM
4122013-04-30 Joseph Myers <joseph@codesourcery.com>
413
414 [BZ #15416]
415 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
416 accurately for denominator in atan2.
417 * math/s_catanf.c (__catanf): Likewise.
418 * math/s_catanh.c (__catanh): Likewise.
419 * math/s_catanhf.c (__catanhf): Likewise.
420 * math/s_catanhl.c (__catanhl): Likewise.
421 * math/s_catanl.c (__catanl): Likewise.
422 * math/libm-test.inc (catan_test): Add more tests.
423 (catanh_test): Likewise.
424 * sysdeps/i386/fpu/libm-test-ulps: Update.
425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
426
d569c6ee
SP
4272013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
428
6dbe713d
SP
429 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
430
f0ee064b
SP
431 * benchtests/Makefile (bench): Remove slow benchmarks.
432 * benchtests/atan-inputs: Add slow benchmark inputs.
433 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
434 (BENCH_FUNC): Accept variant offset.
435 (VARIANT): Define.
436 * benchtests/bench-skeleton.c (main): Run benchmark for each
437 variant.
438 * benchtests/cos-inputs: Add slow benchmark inputs.
439 * benchtests/exp-inputs: Likewise.
440 * benchtests/pow-inputs: Likewise.
441 * benchtests/sin-inputs: Likewise.
442 * benchtests/slowatan-inputs: Remove.
443 * benchtests/slowatan.c: Remove.
444 * benchtests/slowcos-inputs: Remove.
445 * benchtests/slowcos.c: Remove.
446 * benchtests/slowexp-inputs: Remove.
447 * benchtests/slowexp.c: Remove.
448 * benchtests/slowpow-inputs: Remove.
449 * benchtests/slowpow.c: Remove.
450 * benchtests/slowsin-inputs: Remove.
451 * benchtests/slowsin.c: Remove.
452 * benchtests/slowtan-inputs: Remove.
453 * benchtests/slowtan.c: Remove.
454 * benchtests/tan-inputs: Add slow benchmark inputs.
455 * scripts/bench.pl: Parse comments and directives.
456
d569c6ee
SP
457 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
458 in CPPFLAGS.
459 ($(objpfx)bench-%.c): Remove *-ITER.
460 * benchtests/bench-modf.c: Remove definition of ITER.
461 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
462 (main): Loop for DURATION seconds instead of fixed number of
463 iterations.
464 * scripts/bench.pl: Don't expect iterations in parameters.
465
a6a242fe
RM
4662013-04-29 Roland McGrath <roland@hack.frob.com>
467
468 * io/fchdir.c (__fchdir): Renamed from fchdir.
469 (fchdir): Define as weak alias.
470
f2da7793
JM
4712013-04-29 Joseph Myers <joseph@codesourcery.com>
472
473 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
474 (ERRNO_EDOM): Likewise.
475 (ERRNO_ERANGE): Likewise.
476 (noErrnoTests): New variable.
477 (init_max_error): Set errno to 0.
478 (test_single_errno): New function.
479 (test_errno): Likewise.
480 (check_float_internal): Call test_errno. Set errno to 0.
481 (check_complex): Refer to errno tests in comment.
482 (check_int): Call test_errno. Set errno to 0.
483 (check_long): Likewise.
484 (check_bool): Likewise.
485 (check_longlong): Likewise.
486 (cos_test): Use ERRNO_* flags for errno tests instead of
487 check_int.
488 (expm1_test): Likewise.
489 (fmod_test): Likewise.
490 (ilogb_test): Likewise.
491 (lgamma_test): Likewise.
492 (pow_test): Likewise.
493 (remainder_test): Likewise.
494 (sin_test): Likewise.
495 (tan_test): Likewise.
496 (yn_test): Likewise.
497 (initialize): Set errno to 0.
498 (main): Print number of errno tests.
499 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
500
b1a36ceb
AJ
5012013-04-29 Andreas Jaeger <aj@suse.de>
502
c3ed8088
AJ
503 [BZ #15084]
504 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
505 and RES_USEVC.
506
f1a24198
AJ
507 [BZ #15085]
508 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
509 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
510 unimplemented.
511
9ce3b2cb
AJ
512 [BZ #15380]
513 * stdlib/random.c (__initstate): Return NULL if
514 __initstate fails.
515
f1a24198 516 [BZ #15086]
b1a36ceb
AJ
517 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
518 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
519 RES_SNGLKUPREOP.
520
7e7b6f36
AZ
5212013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
522
523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
524
4d14f449
JM
5252013-04-29 Joseph Myers <joseph@codesourcery.com>
526
527 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
528 of individual tests.
529 (casin_test): Likewise.
530 (casinh_test): Likewise.
531
5b4217d7
JM
5322013-04-27 Joseph Myers <joseph@codesourcery.com>
533
534 [BZ #15409]
535 * math/s_catan.c (__catan): Handle arguments with large real or
536 imaginary part separately without squaring.
537 * math/s_catanf.c (__catanf): Likewise.
538 * math/s_catanh.c (__catanh): Likewise.
539 * math/s_catanhf.c (__catanhf): Likewise.
540 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
541 and redefine.
542 (__catanhl): Handle arguments with large real or imaginary part
543 separately without squaring.
544 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
545 and redefine.
546 (__catanl): Handle arguments with large real or imaginary part
547 separately without squaring.
548 * math/libm-test.inc (catan_test): Add more tests.
549 (catanh_test): Likewise.
550 * sysdeps/i386/fpu/libm-test-ulps: Update.
551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
552
4220c3ef
AJ
5532013-04-27 Andreas Jaeger <aj@suse.de>
554
555 [BZ #15007]
556 * stdlib/stdlib.h: Update guards for qecvt.
557 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
558 <stdlib.h>.
559
4721b2d1
AM
5602013-04-27 Allan McRae <allan@archlinux.org>
561
562 * sysdeps/i386/fpu/libm-test-ulps: Update.
563
f0302940
JM
5642013-04-26 Joseph Myers <joseph@codesourcery.com>
565
9457fd95
JM
566 [BZ #15406]
567 * math/s_catan.c: Include <float.h>.
568 (__catan): Ensure underflow exception occurs for underflowed
569 result.
570 * math/s_catanf.c: Include <float.h>.
571 (__catanf): Ensure underflow exception occurs for underflowed
572 result.
573 * math/s_catanh.c: Include <float.h>.
574 (__catanh): Ensure underflow exception occurs for underflowed
575 result.
576 * math/s_catanhf.c: Include <float.h>.
577 (__catanhf): Ensure underflow exception occurs for underflowed
578 result.
579 * math/s_catanhl.c: Include <float.h>.
580 (__catanhl): Ensure underflow exception occurs for underflowed
581 result.
582 * math/s_catanl.c: Include <float.h>.
583 (__catanl): Ensure underflow exception occurs for underflowed
584 result.
585 * math/libm-test.inc (catan_test): Add more tests.
586 (catanh_test): Likewise.
587
f0302940
JM
588 [BZ #15405]
589 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
590 underflowed result.
591 * math/s_ccoshf.c (__ccoshf): Likewise.
592 * math/s_ccoshl.c (__ccoshl): Likewise.
593 * math/s_csin.c (__csin): Likewise.
594 * math/s_csinf.c (__csinf): Likewise.
595 * math/s_csinh.c (__csinh): Likewise.
596 * math/s_csinhf.c (__csinhf): Likewise.
597 * math/s_csinhl.c (__csinhl): Likewise.
598 * math/s_csinl.c (__csinl): Likewise.
599 * math/libm-test.inc (ccos_test): Add more tests.
600 (ccosh_test): Likewise.
601 (csin_test): Likewise.
602 (csinh_test): Likewise.
603
aa630f59
AZ
6042013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
605
606 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
607 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
608 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
609 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
610 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
611 powerpc/power5+/fpu folders.
612 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
613
614
1b835983
MT
6152013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
616
617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
618
73709b26
JM
6192013-04-25 Joseph Myers <joseph@codesourcery.com>
620
621 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
622 additions to variable.
623 [$(config-machine) = x86_64] (modules-names): Likewise.
624 ($(objpfx)tst-audit3): Remove dependency.
625 ($(objpfx)tst-audit3.out): Likewise.
626 ($(objpfx)tst-audit4): Likewise.
627 ($(objpfx)tst-audit4.out): Likewise.
628 ($(objpfx)tst-audit5): Likewise.
629 ($(objpfx)tst-audit5.out): Likewise.
630 ($(objpfx)tst-audit6): Likewise.
631 ($(objpfx)tst-audit6.out): Likewise.
632 ($(objpfx)tst-audit7): Likewise.
633 ($(objpfx)tst-audit7.out): Likewise.
634 (tst-audit3-ENV): Remove variable.
635 (tst-audit4-ENV): Likewise.
636 (tst-audit5-ENV): Likewise.
637 (tst-audit6-ENV): Likewise.
638 (tst-audit7-ENV): Likewise.
639 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
640 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
641 addition to variable.
642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
644 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
646 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
647 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
648 tst-audit3, tst-audit4 and tst-audit5.
649 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
650 tst-audit6 and tst-audit7.
651 [$(subdir) = elf] (modules-names): Add audit modules for those
652 tests.
653 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
654 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
655 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
656 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
657 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
658 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
659 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
660 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
661 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
662 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
663 [$(subdir) = elf] (tst-audit3-ENV): New variable.
664 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
665 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
666 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
667 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
668 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
669 Likewise.
670 [$(subdir) = elf && $(config-cflags-avx) = yes]
671 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
672 [$(subdir) = elf && $(config-cflags-avx) = yes]
673 (CFLAGS-tst-auditmod4a.c): Likewise.
674 [$(subdir) = elf && $(config-cflags-avx) = yes]
675 (CFLAGS-tst-auditmod4b.c): Likewise.
676 [$(subdir) = elf && $(config-cflags-avx) = yes]
677 (CFLAGS-tst-auditmod6b.c): Likewise.
678 [$(subdir) = elf && $(config-cflags-avx) = yes]
679 (CFLAGS-tst-auditmod6c.c): Likewise.
680 [$(subdir) = elf && $(config-cflags-avx) = yes]
681 (CFLAGS-tst-auditmod7b.c): Likewise.
682 * elf/tst-audit3.c: Move to ...
683 * sysdeps/x86_64/tst-audit3.c: ... here.
684 * elf/tst-audit4.c: Move to ...
685 * sysdeps/x86_64/tst-audit4.c: ... here.
686 * elf/tst-audit5.c: Move to ...
687 * sysdeps/x86_64/tst-audit5.c: ... here.
688 * elf/tst-audit6.c: Move to ...
689 * sysdeps/x86_64/tst-audit6.c: ... here.
690 * elf/tst-audit7.c: Move to ...
691 * sysdeps/x86_64/tst-audit7.c: ... here.
692 * elf/tst-auditmod3a.c: Move to ...
693 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
694 * elf/tst-auditmod3b.c: Move to ...
695 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
696 * elf/tst-auditmod4a.c: Move to ...
697 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
698 * elf/tst-auditmod4b.c: Move to ...
699 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
700 * elf/tst-auditmod5a.c: Move to ...
701 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
702 * elf/tst-auditmod5b.c: Move to ...
703 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
704 * elf/tst-auditmod6a.c: Move to ...
705 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
706 * elf/tst-auditmod6b.c: Move to ...
707 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
708 * elf/tst-auditmod6c.c: Move to ...
709 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
710 * elf/tst-auditmod7a.c: Move to ...
711 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
712 * elf/tst-auditmod7b.c: Move to ...
713 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
714
1ef74943
PP
7152013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
716
717 [BZ #15366]
718 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
719 define unconditionally.
720 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
721 define unconditionally.
722 (INT8_C, INT16_C, etc.): Likewise.
723
93fd48c5
MR
7242013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
725
ae9552cf
MR
726 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
727 __ehdr_start with hidden visibility.
728
93fd48c5
MR
729 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
730
418601aa
CD
7312013-04-24 Carlos O'Donell <carlos@redhat.com>
732
733 * math/libm-test.inc (cos_test): Use accurate hex constants.
734 (sincost_test): Likewise.
735
2f38fbfe
JM
7362013-04-24 Joseph Myers <joseph@codesourcery.com>
737
5e221800
JM
738 * math/libm-test.inc (catan_test): Add more tests.
739 (catanh_test): Likewise.
740
77f143fd
JM
741 * math/s_catanf.c (__catanf): Use suffixed floating-point
742 constants.
743 * math/s_catanhf.c (__catanhf): Likewise.
744 * math/s_catanhl.c (__catanhl): Likewise.
745 * math/s_catanl.c (__catanl): Likewise.
746
2f38fbfe
JM
747 [BZ #15394]
748 * math/s_catan.c (__catan): Calculate imaginary part of result
749 with log1p not log unless computing log of number close to 0.
750 * math/s_catanf.c (__catanf): Likewise.
751 * math/s_catanl.c (__catanl): Likewise.
752 * math/s_catanh.c (__catanh): Calculate real part of result with
753 log1p not log unless computing log of number close to 0.
754 * math/s_catanhf.c (__catanhf): Likewise.
755 * math/s_catanhl.c (__catanhl): Likewise.
756 * math/libm-test.inc (catan_test): Add more tests.
757 (catanh_test): Likewise.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
760
45d69176
SP
7612013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
762
763 * benchtests/Makefile: Mention files in which fast and slow
764 paths of math functions are implemented.
765
87f51853
RM
7662013-04-23 Roland McGrath <roland@hack.frob.com>
767
768 * sysdeps/posix/timespec_get.c: New file.
769
3c026539
AZ
7702013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
771
772 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
773 POWER.
774 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
775 for POWER.
776 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
777 powerpc/power5/fpu folders.
778 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
779 * benchtests/Makefile: Add modf testcase.
780 * benchtests/bench-modf.c: New file: Benchmark test for mo
781
ff491d14
SP
7822013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
783
784 [BZ #14888]
785 * time/Makefile (tests): Add tst-strptime-whitespace.
786 * time/strptime_l.c (get_number): Use ISSPACE.
787 (__strptime_internal): Likewise.
788 * time/tst-strptime-whitespace.c: New test case.
789
7ed3f4e8
AS
7902013-04-23 Andreas Schwab <schwab@linux-m68k.org>
791
792 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
793 member.
794 (_nss_files_init): Set it here.
795
5c95f7b6
HC
7962013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
797
798 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
799 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
800 unsigned.
801
d34c9158
JBG
8022013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
803
804 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
805
2169712d
SP
8062013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
807
808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
809 size just once.
810
29c5de99
DM
8112013-04-21 David S. Miller <davem@davemloft.net>
812
813 * po/ru.po: Update Russion translation from translation project.
814
ccdad15d
AC
8152013-04-17 Adam Conrad <adconrad@0c3.net>
816
817 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
818 and setfsgid.
819
0f122b8d
CD
8202013-04-17 Carlos O'Donell <carlos@redhat.com>
821
5c5b07da 822 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 823 * configure: Regenerate.
5c5b07da 824 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
825 Add example to error message.
826 * sysdeps/i386/configure: Regenerate.
827
037714dd
SP
8282013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
829
830 * benchtests/Makefile (bench): Add cos, tan, slowcos and
831 slowtan.
832 * benchtests/cos-inputs: New file.
833 * benchtests/slowcos-inputs: New file.
834 * benchtests/slowcos.c: New file.
835 * benchtests/slowtan-inputs: New file.
836 * benchtests/slowtan.c: New file.
837 * benchtests/tan-inputs: New file.
838
e913141d
RM
8392013-04-16 Roland McGrath <roland@hack.frob.com>
840
841 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
842 considered kosher.
843
a2964074
SP
8442013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
845
4856bcd2
SP
846 * benchtests/Makefile: Include cppflags-iterator.mk to add
847 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
848
a2964074
SP
849 * Makefile.in (bench-clean): New target.
850 * benchtests/Makefile (bench-clean): Likewise.
851
9fbf9aca
DH
8522013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
853
854 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
855
207d1e2a
TS
8562013-04-15 Thomas Schwinge <thomas@codesourcery.com>
857
858 * stdio-common/tstdiomisc.c: Fix coding-style violation.
859
306dfba9
AS
8602013-04-15 Andreas Schwab <schwab@suse.de>
861
862 * nscd/grpcache.c (cache_addgr): Properly check for short write.
863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
864 * nscd/pwdcache.c (cache_addpw): Likewise.
865 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
866 more than recsize.
867
206a6699
SP
8682013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
869
870 * benchtests/Makefile (bench): Write all output to
871 bench-out.tmp together.
872
0582f6b3
AS
8732013-04-15 Andreas Schwab <schwab@suse.de>
874
875 * nscd/nscd.c (main): Don't fork again after closing files.
876
acb4325f
SP
8772013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
878
5cb26d0a
SP
879 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
880
acb4325f
SP
881 * benchtests/Rules (bench-deps): Collect dependencies into a
882 single variable. Add Makefile to dependencies.
883 ($(objpfx)bench-%.c): Depend on bench-deps.
884
47792506
RM
8852013-04-12 Roland McGrath <roland@hack.frob.com>
886 Xavier Roche <roche+kml2@exalead.com>
887
888 [BZ #15361]
889 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
890 just that it's a file descriptor.
891 * manual/llio.texi (Synchronizing AIO Operations): Update description
892 for EBADF error from aio_fsync.
893
8fc1bee5
SP
8942013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
895
896 * Rules (bench): Move target definition...
897 * benchtests/Makefile: ... here.
898
aba5e333
CD
8992013-04-11 Carlos O'Donell <carlos@redhat.com>
900
901 * math/libm-test.inc (cos_test): Fix PI/2 test.
902 (sincos_test): Likewise.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
904 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
905
273cdee8
AS
9062013-04-11 Andreas Schwab <schwab@suse.de>
907
6ecec3b6
AS
908 [BZ #13988]
909 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
910 accept exponent character only when digits were seen.
911 * stdio-common/Makefile (tests): Add bug26.
912 * stdio-common/bug26.c: New file.
913
273cdee8
AS
914 [BZ #14293]
915 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
916 non-freeable.
917
8da491f5
SP
9182013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
919
01dc6df9
SP
920 * Makeconfig (rtld-prefix): Define built linker prefix.
921 * Rules (run-bench): Use it.
922 * math/Makefile (run-regen-ulps): Likewise.
923
8da491f5
SP
924 * Rules (bench): Remove eval.
925
abe7f530
SP
9262013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
927 Roland McGrath <roland@hack.frob.com>
928 Ondrej Bilka <neleai@seznam.cz>
929
930 [BZ #15346]
931 * time/getdate.c: Include ctype.h and alloca.h.
932 (__getdate_r): Trim leading and trailing spaces of input.
933 * time/tst-getdate.c (tests): Add tests with leading and
934 trailing spaces.
935
61c23e62
RM
9362013-04-08 Roland McGrath <roland@hack.frob.com>
937
938 [BZ #14280]
939 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
940 when computing value.
941
7208a313
CD
9422013-04-06 Carlos O'Donell <carlos@redhat.com>
943
085b2d41
CD
944 * math/README.libm-test (How can I generate "libm-test-ulps"?):
945 Use testrun.sh to run libm tests.
946
7208a313
CD
947 [BZ #15309]
948 * elf/dl-open.c (dl_open_worker): memset all of seen array.
949
872c0acd
MM
9502013-04-06 Marko Myllynen <myllynen@redhat.com>
951
952 [BZ #15264]
953 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
954
26510bdd
CD
9552013-04-06 Carlos O'Donell <carlos@redhat.com>
956
957 * Makefile.in (regen-ulps): New target.
958 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
959 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
960 [ifneq (no,$(PERL)] (regen-ulps): New target.
961 [ifeq (no,$(PERL)] (regen-ulps): New target.
962 * math/libm-test.inc (ulps_file_name): Define.
963 (output_dir): New variable.
964 (options): Add "output-dir" option.
965 (parse_opt): Handle 'o' case.
966 (main): If output_dir is non-NULL use it as a prefix
967 otherwise use "".
968 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
969
a01f19c8
CD
9702013-04-06 Carlos O'Donell <carlos@redhat.com>
971
972 [BZ #10060, #10062]
973 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
974 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
975 fail configure if __sync_val_compare_and_swap is not inlined.
976 * sysdeps/i386/configure: Regenerate.
977 * configure.in: Build for i686 when configured for i386.
978 * configure: Regenerate.
979 * README: Remove i386 reference.
980
b7a329a5
CD
9812013-04-06 Carlos O'Donell <carlos@redhat.com>
982
983 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
985
bf0f50df
TS
9862013-04-05 Thomas Schwinge <thomas@codesourcery.com>
987
ee091edf
TS
988 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
989 (lmsnanval): New variables.
990 (F): Add conversion tests.
991 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
992 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
993
a8b792d6
TS
994 * stdio-common/tstdiomisc.c (F): Properly collect individual
995 tests' results.
996
a1cbf437
TS
997 [BZ #14686, #15336]
998 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
999 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1000 Instead, use input NaN values or generate a qNaN by arithmetic
1001 operation. Also fix bugs to comply with the standard.
1002 * math/libm-test.inc (remainder_test): Add more tests.
1003
8b43a0c9
TS
1004 [BZ #15335, #15342]
1005 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1007 input NaN values or generate a qNaN by arithmetic operation.
1008
d91da4ce
TS
1009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1010 unreachable code.
1011
bf0f50df
TS
1012 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1013 definitions.
1014
05e166c8
JM
10152013-04-03 Joseph Myers <joseph@codesourcery.com>
1016
1017 [BZ #14478]
1018 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1019 underflowed result.
1020 * math/s_cexpf.c (__cexpf): Likewise.
1021 * math/s_cexpl.c (__cexpl): Likewise.
1022 * math/libm-test.inc (cexp_test): Add more tests.
1023
1cef1b19
AS
10242013-04-03 Andreas Schwab <schwab@suse.de>
1025
1026 [BZ #15330]
1027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1028 order arrays from heap if bigger than alloca cutoff.
1029
74d87055
TS
10302013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1031
1032 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1033 (SNAN_TESTS_double): Refer to GCC PR56831.
1034 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1035 GCC PR56828.
1036
d755bba4
SP
10372013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1038
90d5d5bb
SP
1039 * Rules (bench): Move bench.out after the run is complete.
1040
73e0cd5d
SP
1041 * Rules (bench): Echo currently running benchmark.
1042
64aabd4b
SP
1043 * benchtests/Makefile (bench): Add atan and slowatan.
1044 * benchtests/atan-inputs: New file.
1045 * benchtests/slowatan-inputs: New file.
1046 * benchtests/slowatan.c: New file.
1047
c871eccd
SP
1048 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1050 its value.
1051
d755bba4
SP
1052 [BZ #15305]
1053 * sysdeps/unix/sysv/linux/kernel-features.h
1054 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1055 __ASSUME_XFS_RESTRICTED_CHOWN.
1056 * sysdeps/unix/sysv/linux/pathconf.c
1057 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1058 Save and restore errno.
1059
52ce4860
JM
10602013-04-02 Joseph Myers <joseph@codesourcery.com>
1061
1062 [BZ #15327]
1063 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1064 arguments using __kernel_casinh.
1065 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1066 arguments using __kernel_casinhf.
1067 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1068 arguments using __kernel_casinhl.
1069 * math/libm-test.inc (cacosh_test): Add more tests.
1070 * sysdeps/i386/fpu/libm-test-ulps: Update.
1071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1072
81f311c2
SP
10732013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1074
e7906a47
SP
1075 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1077
92e3664b
SP
1078 * bench/Makefile (bench): Add sin and slowsin.
1079 * benchtests/sin-inputs: New file.
1080 * benchtests/slowsin-inputs: New file.
1081 * benchtests/slowsin.c: New file.
1082
81f311c2
SP
1083 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1084 (bench): Add slowexp and slowpow.
1085 (exp-ITER): Increase iterations.
1086 (pow-ITER): Likewise.
1087 * benchtests/exp-inputs: Change input.
1088 * benchtests/pow-inputs: Likewise.
1089 * benchtests/slowexp-inputs: New file.
1090 * benchtests/slowexp.c: New file.
1091 * benchtests/slowpow-inputs: New file.
1092 * benchtests/slowpow.c: New file.
1093
ab0f1aa9
AZ
10942013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1095
1096 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1097 instructions.
1098 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1099 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1100 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1101 * benchtests/Makefile: Add rint benchtest.
1102 * benchtests/rint-inputs: Input for rint benchtest.
1103
57267616
TS
11042013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1105
1106 * Versions.def (libm): Add GLIBC_2.18.
1107 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1108 hidden libm prototypes.
1109 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1110 * math/Makefile (libm-calls): Add s_issignaling.
1111 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1112 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1113 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1114 declaration.
1115 * math/math.h [__USE_GNU] (issignaling): New macro.
1116 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1117 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1118 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1119 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1120 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1121 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1122 * manual/arith.texi (issignaling): New section.
1123 * manual/libm-err-tab.pl (@all_functions): Update comment.
1124 * math/gen-libm-test.pl (parse_args): Apply special handling for
1125 issignaling.
1126 * math/libm-test.inc (print_float, issignaling_test): New
1127 functions.
1128 (check_float_internal): Add issignaling checks.
1129 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1130 default definition.
1131 * sysdeps/powerpc/math-tests.h: New file.
1132 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1133 tests.
1134 * math/test-snan.c (TEST_FUNC): Likewise.
1135
6142896d
DM
11362013-03-30 David S. Miller <davem@davemloft.net>
1137
1138 * po/de.po: Update from translation team.
1139
ccc8cadf
JM
11402013-03-30 Joseph Myers <joseph@codesourcery.com>
1141
1142 [BZ #10357]
1143 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1144 imaginary part less than 1.0 and real part less than 0.5
1145 specially.
1146 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1147 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1148 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1149 (cacos_test): Add more tests.
1150 (casin_test): Likewise.
1151 (casinh_test): Likewise.
1152 * sysdeps/i386/fpu/libm-test-ulps: Update.
1153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1154
0f6a8d4b
SP
11552013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1156
0d1029de
SP
1157 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1158 ONE with its value.
1159
c2d94018
SP
1160 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1161 (__pow_mp): Replace ONE and MONE with their values.
1162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1163 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1164 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1165 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1167 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1168
27ec37f1
SP
1169 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1170
a64d7e0e
SP
1171 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1172 (__pow_mp): Replace ZERO and MZERO with their values.
1173 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1174 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1175 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1177 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1178 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1179 (__sqr): Likewise.
1180
d26dd3eb
SP
1181 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1182
0f6a8d4b
SP
1183 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1184
e57b0c61
RM
11852013-03-28 Roland McGrath <roland@hack.frob.com>
1186
1187 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1188 Declare with __attribute__ ((weak)).
1189 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1190 Call __call_tls_dtors only if it's not NULL.
1191
356b3480
RM
11922013-03-28 Roland McGrath <roland@hack.frob.com>
1193
288f7d79
RM
1194 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1195 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1196 magic __ehdr_start linker symbol if it's defined.
1197 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1198 them up here if it was already done.
1199
dc0a0263
RM
1200 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1201 (_dl_aux_init): Use const in cast when setting it.
1202 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1203 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1204 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1205
3d3436ae
RM
1206 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1207 Declare them here.
1208 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1209 * csu/libc-tls.c: Nor here.
1210 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1211
356b3480
RM
1212 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1213 (__libc_message): Never call vsyslog.
1214
b0f1246a
AM
12152013-03-28 Alan Modra <amodra@gmail.com>
1216
1217 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1218 Define as empty.
1219 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1220 Likewise.
1221
fbbe2b9a
AZ
12222013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1223
1224 [BZ #15214]
1225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1226 underflow.
1227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1228
1728ab37
SP
12292013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1230
7a86be6e
SP
1231 [BZ #15304]
1232 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1233 Don't add gid passed as argument.
1234
1728ab37
SP
1235 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1236
3a7182a1
JM
12372013-03-27 Joseph Myers <joseph@codesourcery.com>
1238
1239 [BZ #15307]
1240 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1241 imaginary part between 1.0 and 1.5 and real part less than 0.5
1242 specially.
1243 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1244 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1245 * math/libm-test.inc (cacos_test): Add more tests.
1246 (casin_test): Likewise.
1247 (casinh_test): Likewise.
1248 * sysdeps/i386/fpu/libm-test-ulps: Update.
1249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1250
6f2e90e7
SP
12512013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1252
5739f705
SP
1253 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1254 constants.
1255 (norm): Likewise.
1256 (denorm): Likewise.
1257 (__dbl_mp): Likewise.
1258 (add_magnitudes): Likewise.
1259 (sub_magnitudes): Likewise.
1260 (__add): Likewise.
1261 (__sub): Likewise.
1262 (__mul): Likewise.
1263 (__sqr): Likewise.
1264 (__inv): Likewise.
1265 (__dvd): Likewise.
1266
e375e83d
SP
1267 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1268 commented code.
1269 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1270 (__dubcos): Likewise.
1271 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1272 (__ieee754_acos): Likewise.
1273 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1274 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1275 (__exp1): Likewise.
1276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1278 (log1): Likewise.
1279 (my_log2): Likewise.
1280 (checkint): Likewise.
1281 * sysdeps/ieee754/dbl-64/e_remainder.c
1282 (__ieee754_remainder): Likewise.
1283 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1284 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1285 (bsloww): Likewise.
1286 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1287
6f2e90e7
SP
1288 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1289 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1290 MANTISSA_STORE_T to store computations on mantissa. Use
1291 macros for rounding and division.
1292 (denorm): Likewise.
1293 (__dbl_mp): Likewise.
1294 (add_magnitudes): Likewise.
1295 (sub_magnitudes): Likewise.
1296 (__mul): Likewise.
1297 (__sqr): Likewise.
1298 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1299 powers of two in terms of TWOPOW macro.
1300 (mp_no): Make type of mantissa as MANTISSA_T.
1301 [!RADIXI]: Define RADIXI.
1302 [!TWO52]: Define TWO52.
1303 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1304
fce14d4e
AZ
13052013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306
1307 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1308 llroundl symbol when building for PPC32.
1309
9ad027fb
MW
13102013-03-24 Mark H Weaver <mhw@netris.org>
1311
1312 * manual/arith.texi (Normalization Functions): Fix prototypes for
1313 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1314
e42a38dd
AZ
13152013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316
1317 [BZ #13889]
1318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1319 high value to check if expl overflow.
1320 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1321 to check for underflow and overflow.
1322 * math/libm-test.inc: Add exp test.
1323
2e0fb521
DL
13242013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1325
1326 [BZ #11120]
1327 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1328 with NOT_IN_libc.
1329
b5784d95
AZ
13302013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1331
1332 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1333 symbol.
1334
5aa4a1a1
TS
13352013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1336
bdef0be7
TS
1337 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1338 wrap blocks consisting of several statements.
1339
5aa4a1a1
TS
1340 * sysdeps/generic/math-tests.h: New file.
1341 * sysdeps/i386/fpu/math-tests.h: Likewise.
1342 * math/test-snan.c: Include it.
1343 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1344
98c48fe5
JM
13452013-03-21 Joseph Myers <joseph@codesourcery.com>
1346
1347 [BZ #15285]
1348 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1349 (__ieee754_j0l): Do not improve calculations using cos of twice
1350 input for inputs above LDBL_MAX / 2.0L.
1351 (__ieee754_y0l): Likewise.
1352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1353 (__ieee754_j1l): Do not improve calculations using cos of twice
1354 input for inputs above LDBL_MAX / 2.0L.
1355 (__ieee754_y1l): Likewise.
1356 * math/libm-test.inc (j0_test): Add another test.
1357 (j1_test): Likewise.
1358 (y0_test): Likewise.
1359 (y1_test): Likewise.
1360 * sysdeps/i386/fpu/libm-test-ulps: Update.
1361
3775a8bc
SP
13622013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1363
1364 * Rules ($(objpfx)bench-%.c): Include code from a C source
1365 file.
1366
0a1b2ae6
JM
13672013-03-21 Joseph Myers <joseph@codesourcery.com>
1368
1369 [BZ #15287]
1370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1371 imaginary part 1.0 and real part less than 0.5 specially.
1372 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1373 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1374 * math/libm-test.inc (cacos_test): Add more tests.
1375 (casin_test): Likewise.
1376 (casinh_test): Likewise.
1377 * sysdeps/i386/fpu/libm-test-ulps: Update.
1378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1379
b33d4ce4
SP
13802013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1381
1382 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1383 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1384
bef0b507
JM
13852013-03-20 Joseph Myers <joseph@codesourcery.com>
1386
1387 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1388 * config.make.in (config-cflags-sse4): Remove variable.
1389 (config-cflags-avx): Likewise.
1390 (config-cflags-sse2avx): Likewise.
1391 (config-cflags-novzeroupper): Likewise.
1392 (config-asflags-i686): Likewise.
1393 (have-mfma4): Likewise.
1394 (have-as-vis3): Likewise.
1395 (MIG): Likewise.
1396 * configure.in (MIG): Do not AC_SUBST.
1397 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1398 (libc_cv_cc_sse4): Do not AC_SUBST.
1399 (libc_cv_cc_avx): Likewise.
1400 (libc_cv_cc_sse2avx): Likewise.
1401 (libc_cv_cc_novzeroupper): Likewise.
1402 (libc_cv_cc_fma4): Likewise.
1403 (libc_cv_as_i686): Likewise.
1404 (libc_cv_sparc_as_vis3): Likewise.
1405 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1406 LIBC_CONFIG_VAR.
1407 (config-asflags-i686): Likewise.
1408 (config-cflags-avx): Likewise.
1409 (config-cflags-sse2avx): Likewise.
1410 (have-mfma4): Likewise.
1411 (config-cflags-novzeroupper): Likewise.
1412 * sysdeps/mach/configure.in (MIG): Likewise.
1413 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1414 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1415 LIBC_CONFIG_VAR.
1416 (config-cflags-avx): Likewise.
1417 (config-cflags-sse2avx): Likewise.
1418 (have-mfma4): Likewise.
1419 (config-cflags-novzeroupper): Likewise.
1420 * configure: Regenerated.
1421 * sysdeps/i386/configure: Likewise.
1422 * sysdeps/mach/configure: Likewise.
1423 * sysdeps/sparc/configure: Likewise.
1424 * sysdeps/x86_64/configure: Likewise.
1425
912cc4b3
RM
14262013-03-20 Roland McGrath <roland@hack.frob.com>
1427
1428 [BZ #14812]
1429 * locale/programs/localedef.c (options): Put N_ translation marker
1430 on argument names, not just descriptions.
1431
04eed2b0
MS
14322013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1433
1434 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1435
a065ceff
OB
14362013-03-20 Ondřej Bílka <neleai@seznam.cz>
1437
9bb2a810 1438 [BZ #14176]
a065ceff
OB
1439 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1440
a600e5ce
RM
14412013-03-19 Roland McGrath <roland@hack.frob.com>
1442
1443 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1444 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1445 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1446 [!BEFORE_ABORT] (before_abort): New function.
1447 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1448 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1449 (writev_for_fatal): New function.
1450 (WRITEV_FOR_FATAL): New macro; call that.
1451 (backtrace_and_maps): New function.
1452 (BEFORE_ABORT): New macro; call that.
1453 (struct str_list): Type removed.
1454 (__libc_message, __libc_fatal): Functions removed.
1455 Include <sysdeps/posix/libc_fatal.c> instead.
1456
6b18bea6
JM
14572013-03-19 Joseph Myers <joseph@codesourcery.com>
1458
1459 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1460 constants.
1461 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1462 double constants.
1463
aaa8cb4b
AS
14642013-03-19 Andreas Schwab <schwab@suse.de>
1465
44673770
AS
1466 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1467 * sysdeps/gnu/configure: Regenerate.
1468
aaa8cb4b
AS
1469 * configure.in: Substitute libc_cv_rtlddir.
1470 * configure: Regenerate.
1471 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1472 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1473 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1474 * elf/Makefile (install-others, CFLAGS-interp.c)
1475 (ldso_install, common-ldd-rewrite): Likewise.
1476 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1477 $(inst_slibdir)/$(rtld-installed-name).
1478 * scripts/rellns-sh: Add -p option.
1479 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1480 for source.
1481
d3cfc668
SP
14822013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1483
1484 * manual/nptl.texi: Renamed to ...
1485 * manual/threads.texi: ... this.
1486 * manual/Makefile (chapters): Update.
1487
0e2b9cdd
RM
14882013-03-18 Roland McGrath <roland@hack.frob.com>
1489
1490 [BZ #14812]
1491 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1492 on argument names, not just descriptions.
0e2b9cdd
RM
1493 * malloc/memusagestat.c (options): Likewise.
1494 * nss/getent.c (options): Likewise.
63270c24
RM
1495
14962013-03-18 Benno Schulenberg <bensberg@justemail.net>
1497
1498 [BZ #14812]
1499 * iconv/iconv_prog.c (options): Put N_ translation marker
1500 on argument names, not just descriptions.
1501 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1502
b2e1393c
OB
15032013-03-18 Ondrej Bilka <neleai@seznam.cz>
1504
1505 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1506 implementation which is faster on all x86_64 architectures.
1507 Tested on AMD, Intel Nehalem, SNB, IVB.
1508 * sysdeps/x86_64/strnlen.S: Likewise.
1509
1510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1511 Remove all multiarch strlen and strnlen versions.
1512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1513 Remove strlen and strnlen related parts.
1514
1515 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1516 Inline strlen part.
1517 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1518
1519 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1520 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1521 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1522 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1523 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1524 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1525
ec4ff04d
CD
15262013-03-17 Carlos O'Donell <carlos@redhat.com>
1527
1528 * manual/memory.texi (Malloc Tunable Parameters):
1529 Sort parameters alphabetically. Add comments for missing entries.
1530
cd18e90a
DM
15312013-03-17 David S. Miller <davem@davemloft.net>
1532
1533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1534
2a185d32
JM
15352013-03-16 Joseph Myers <joseph@codesourcery.com>
1536
d2f9799e
JM
1537 [BZ #15283]
1538 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1539 for arguments at most half maximum finite value.
1540 * math/libm-test.inc (j0_test): Add more tests.
1541 (j1_test): Likewise.
1542 (y0_test): Likewise.
1543 (y1_test): Likewise.
1544 * sysdeps/i386/fpu/libm-test-ulps: Update.
1545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1546
2a185d32
JM
1547 [BZ #14155]
1548 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1549 1 / x and functions P and Q for arguments above 0x1p256L.
1550 (__ieee754_y0l): Likewise.
1551 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1552 (__ieee754_y1l): Likewise.
1553 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1554 (j1_test): Likewise.
1555 (y0_test): Likewise.
1556 (y1_test): Likewise.
1557
6cbec759
TS
15582013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1559
1560 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1561 variable.
1562
bc16e260
RM
15632013-03-15 Roland McGrath <roland@hack.frob.com>
1564
aefc9b8c
RM
1565 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1566 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1567 zero since it's initialized to EXEC_PAGESIZE.
1568
bc16e260
RM
1569 * sysdeps/unix/sysv/linux/ldsodefs.h
1570 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1571 * sysdeps/generic/ldsodefs.h: ... here.
1572
a57da955
TS
15732013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1574
af00a34d
TS
1575 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1576
495ded2c
TS
1577 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1578 math/test-snan.c.
1579 * math/test-snan.c: Renamed from
1580 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1581 * math/Makefile (tests): Add test-snan.
1582 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1583 test-powerpc-snan.
1584
777b0332
TS
1585 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1586 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1587 functions.
1588 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1589 __builtin_nan family of functions.
1590 * math/libm-test.inc (initialize): Initialize qnan_value with
1591 __builtin_nan family of functions.
1592 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1593 Remove variables.
1594 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1595 Remove functions.
1596 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1597 storage class. Initialize qNaN_var and sNaN_var with
1598 __builtin_nan and __builtin_nans families of functions,
1599 respectively.
1600
64d063b8
TS
1601 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1602 (sqrt_test): Remove duplicate test with qNaN input.
1603 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1604 (round_test, signbit_test, significand_test): Note missing +/-Inf
1605 as well as qNaN tests.
1606
67e971f1
TS
1607 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1608 qNaN_var. Fix a few strings, too.
1609 * math/libm-test.inc (nan_value): Rename to qnan_value.
1610 * math/gen-libm-test.pl (%beautify): Adjust to that.
1611 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1612 * math/test-misc.c (main): Likewise.
1613 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1614 to __qnan_bytes, and __qnan_union, respectively.
1615 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1616 Likewise.
1617 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1618 and lqnanval, respectively.
1619 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1620 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1621 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1622 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1623
64487e12
TS
1624 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1625 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1626 doubles.
1627
e015e27b
TS
1628 * math/test-misc.c (main): Fix copy'n'pastos.
1629 * misc/tst-efgcvt.c (special): Likewise.
1630
a57da955
TS
1631 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1632 Remove declarations.
1633
1e380345
SP
16342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1635
1636 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1637 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1638 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1639 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1640
ef26eece
AZ
16412013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642
1643 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1644 macro to return vdso values correctly in IFUNC implementations.
1645 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1646 Optimization by using IFUNC.
1647
8cfdb7e0
SP
16482013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1649 Richard Henderson <rth@redhat.com>
1650 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1651
1652 * Makefile.in (bench): New target.
1653 * NEWS: Mention the benchmark framework.
1654 * Rules (bench): Likewise.
1655 (binaries-bench): Generate binaries for functions to
1656 benchmark.
1657 * benchtests/Makefile: New makefile for benchmark tests.
1658 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1659 programs.
1660 * benchtests/exp-inputs: New input file for EXP function.
1661 * benchtests/pow-inputs: New input file for POW function.
1662 * scripts/bench.pl: New script to generate source files for
1663 benchmark programs.
1664
bcda9880
SP
16652013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1666
d22ca8cd
SP
1667 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1668 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1669 computations on mantissa. Use macros for rounding and
1670 division.
1671 (denorm): Likewise.
1672 (__dbl_mp): Likewise.
1673 (add_magnitudes): Likewise.
1674 (sub_magnitudes): Likewise.
1675 (__mul): Likewise.
1676 (__sqr): Likewise.
1677 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1678 powers of two in terms of TWOPOW macro.
1679 (mp_no): Make type of mantissa as MANTISSA_T.
1680 [!RADIXI]: Define RADIXI.
1681 [!TWO52]: Define TWO52.
1682 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1683
bcda9880
SP
1684 * manual/nptl.texi (cindex): Modify threads to pthreads.
1685
06d5adfb
JM
16862013-03-15 Joseph Myers <joseph@codesourcery.com>
1687
1688 * sysdeps/x86_64/preconfigure: Regenerated.
1689
41c7328e
JM
16902013-03-14 Joseph Myers <joseph@codesourcery.com>
1691
1692 [BZ #14155]
1693 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1694 0x1p28 and above.
1695 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1696 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1697 0x1p28 and above.
1698 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1699 * math/libm-test.inc (j0_test): Do not allow one spurious
1700 underflow exception.
1701 (y1_test): Likewise.
1702
e25cfa60
SP
17032013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1704
0409959c
SP
1705 * manual/Makefile (chapters): Add nptl.
1706 * manual/debug.texi (Debugging Support): Add link to Threads
1707 chapter.
1708 * manual/nptl.texi: New file.
1709
e25cfa60
SP
1710 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1711
58a1335e
PB
17122013-03-14 Petr Baudis <pasky@ucw.cz>
1713
1714 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1715 for non-NULL pointer before the memory validity test. Pointed
1716 out by Holger Brunck <holger.brunck@keymile.com>.
1717
9dc7c64f
AS
17182013-03-13 Andreas Schwab <schwab@suse.de>
1719
1720 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1721 instead of .os.
1722
54206aa6
JM
17232013-03-13 Joseph Myers <joseph@codesourcery.com>
1724
1725 * timezone/zic.c: Update from tzcode 2013b.
1726
e98cdb38
CD
17272013-03-12 Carlos O'Donell <carlos@redhat.com>
1728
1729 * manual/install.texi (Configuring and compiling):
1730 Mention i686 and i586.
1731 * INSTALL: Regenerate.
1732
9967e003
RM
17332013-03-12 Roland McGrath <roland@hack.frob.com>
1734
1735 * sysdeps/init_array/elf-init.c: New file.
1736 * csu/elf-init.c
1737 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1738 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1739
1740 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1741 __gmon_start__ as global, but as static with a .preinit_array pointer.
1742 * sysdeps/init_array/gmon-start.c: New file. Use that.
1743 * sysdeps/init_array/crti.S: New file, empty except for comments.
1744 * sysdeps/init_array/crtn.S: Likewise.
1745
e6b5a293 17462013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1747
1748 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1749 definining bcopy.
80f844c9
OB
1750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1751 Remove Prefer_SSE_for_memop.
1752 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1753 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1754 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1756 memset-x86-64.
80f844c9 1757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1758 Remove bzero, memset ifunc support.
80f844c9
OB
1759 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1760 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1761 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1762 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1763
fb6b0fcb
AS
17642013-03-11 Andreas Schwab <schwab@suse.de>
1765
1766 [BZ #15234]
1767 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1768 by SHLIB_COMPAT.
1769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1770 (GLIBC_2.16): Remove pthread_atfork.
1771
3e6bd4b1
PP
17722013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1773
1774 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1775 (ptestcases.h): Likewise.
1776
222d7f00
RM
17772013-03-08 Roland McGrath <roland@hack.frob.com>
1778
1779 * Makeconfig ($(common-objpfx)config.status): Depend on
1780 sysdeps/*/preconfigure{,.in} too.
1781
1ba4f030
JM
17822013-03-08 Joseph Myers <joseph@codesourcery.com>
1783
a222d91a
JM
1784 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1785 (__free_hook): Use void * instead of __malloc_ptr_t.
1786 (__malloc_hook): Likewise.
1787 (__realloc_hook): Likewise.
1788 (__memalign_hook): Likewise.
1789 (__after_morecore_hook): Likewise.
1790 * malloc/arena.c (save_malloc_hook): Likewise.
1791 (save_free_hook): Likewise.
1792 * malloc/hooks.c (malloc_hook_ini): Likewise.
1793 (realloc_hook_ini): Likewise.
1794 (memalign_hook_ini): Likewise.
1795 * malloc/malloc.c (malloc_hook_ini): Likewise.
1796 (realloc_hook_ini): Likewise.
1797 (memalign_hook_ini): Likewise.
1798 (__free_hook): Likewise.
1799 (__malloc_hook): Likewise.
1800 (__realloc_hook): Likewise.
1801 (__memalign_hook): Likewise.
1802 (__libc_malloc): Likewise.
1803 (__libc_free): Likewise.
1804 (__libc_realloc): Likewise.
1805 (__libc_memalign): Likewise.
1806 (__libc_valloc): Likewise.
1807 (__libc_pvalloc): Likewise.
1808 (__libc_calloc): Likewise.
1809 (__posix_memalign): Likewise.
1810 * malloc/morecore.c (__sbrk): Likewise.
1811 (__default_morecore): Likewise.
1812
5cc45e10
JM
1813 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1814
dd54b864
JM
1815 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1816 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1817 __malloc_ptrdiff_t.
1818
1ba4f030
JM
1819 * malloc/malloc.h (__malloc_size_t): Remove macro.
1820 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1821 __malloc_size_t.
1822 (old_memalign_hook): Likewise.
1823 (old_realloc_hook): Likewise.
1824 (struct hdr): Likewise.
1825 (flood): Likewise.
1826 (mallochook): Likewise.
1827 (memalignhook): Likewise.
1828 (reallochook): Likewise.
1829 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1830 (tr_old_realloc_hook): Likewise.
1831 (tr_old_memalign_hook): Likewise.
1832 (tr_mallochook): Likewise.
1833 (tr_reallochook): Likewise.
1834 (tr_memalignhook): Likewise.
1835
edf66e57
AZ
18362013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1837
1838 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1839 default_ldbl_pack and using as default implementation.
1840 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1841 implementation.
1842 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1843 redundant definition.
1844 (ldbl_insert_mantissa): Likewise.
1845 (ldbl_canonicalize): Likewise.
1846 (ldbl_nearbyint): Likewise.
1847 (ldbl_pack): Rename to ldbl_pack_ppc.
1848 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1849 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1850 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1851
6d9145d8
SP
18522013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1853
1854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1855 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1857 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1859 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1860 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1861 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1862
4dd4e157
AJ
18632013-03-07 Andreas Jaeger <aj@suse.de>
1864
1865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1866 bits/mman-linux.h.
1867
adbb8027
SP
18682013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1869
ce544b5b
SP
1870 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1871 Include mpa.h and declare __MPEXP.
1872 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1873 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1874 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1875 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1876 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1877 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1878 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1879
4cc149fd
SP
1880 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1881 (__slowpow): Use long double EXPL and LOGL functions to
1882 compute POW.
1883 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1884 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1886 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1887 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1888 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1889
e6ebd4a7
SP
1890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1891 intermediate variable to calculate exponent.
1892 (__sqr): Likewise.
1893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1894 Likewise.
1895 (__sqr): Likewise.
1896
82a9811d
SP
1897 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1898 [!NO__SQR]: Define __sqr.
1899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1900 and NO__SQR. Remove all code except __mul and __sqr. Include
1901 sysdeps/ieee754/dbl-64/mpa.c.
1902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1903
adbb8027
SP
1904 [BZ #12723]
1905 * posix/Makefile (tests): Add tst-pathconf.
1906 * posix/tst-pathconf.c: New test case.
1907 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1908 _PC_PIPE_BUF.
1909 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1910
39120df9
PF
19112013-03-06 Patsy Franklin <pfrankli@redhat.com>
1912
1913 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1914
67525cb8
AJ
19152013-03-06 Andreas Jaeger <aj@suse.de>
1916
664a9ce4
AJ
1917 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1918 definition via __MAP_ANONYMOUS.
1919
8e39047d
AJ
1920 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1921 it's not part of Linux headers.
1922
67525cb8
AJ
1923 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1924 (MAP_HUGE_MASK): Define.
1925
1926 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1927 Define.
1928 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1930 Define.
1931 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1932 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1933 Define.
1934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1935 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1936 Define.
1937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1938
1939 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1940 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1941 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1942 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1943 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1944 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1945
1946 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1947 Handle f2fs.
1948
1949 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1950 Handle f2fs and efivarfs.
1951
1952 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1953 f2fs.
1954
1955 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1956 (EFIVARFS_MAGIC): Add.
1957 (F2FS_LINK_MAX): Add.
1958
e1b42695
PP
19592013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1960
1961 * stdio-common/vfprintf.c: Replace __builtin_expect with
1962 __glibc_unlikely.
1963
2d67d91a
JM
19642013-03-06 Joseph Myers <joseph@codesourcery.com>
1965
1966 [BZ #13550]
1967 * sysdeps/generic/bp-sym.h: Remove file.
1968 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1969 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1970 <bp-sym.h> and <bp-asm.h>.
1971 (__longjmp): Don't use BP_SYM.
1972 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1973 and <bp-asm.h>.
1974 (memcpy): Don't use BP_SYM.
1975 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1976 <bp-sym.h> and <bp-asm.h>.
1977 (memcpy): Don't use BP_SYM.
1978 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1979 <bp-asm.h>.
1980 (memcpy): Don't use BP_SYM.
1981 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1982 <bp-asm.h>.
1983 (memset): Don't use BP_SYM.
1984 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1985 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1986 (__bzero): Don't use BP_SYM.
1987 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1988 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1989 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1990 <bp-sym.h> and <bp-asm.h>.
1991 (memcmp): Don't use BP_SYM. Remove comment about bounded
1992 pointers.
1993 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1994 <bp-sym.h> and <bp-asm.h>.
1995 (memcpy): Don't use BP_SYM.
1996 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1997 <bp-sym.h> and <bp-asm.h>.
1998 (memset): Don't use BP_SYM.
1999 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2000 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2001 (__bzero): Don't use BP_SYM.
2002 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2003 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2004 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2005 <bp-sym.h> and <bp-asm.h>.
2006 (strncmp): Don't use BP_SYM. Remove comment about bounded
2007 pointers.
2008 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2009 <bp-sym.h> and <bp-asm.h>.
2010 (memcpy): Don't use BP_SYM.
2011 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2012 <bp-sym.h> and <bp-asm.h>.
2013 (memset): Don't use BP_SYM.
2014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2016 (__bzero): Don't use BP_SYM.
2017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2019 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2020 <bp-sym.h> and <bp-asm.h>.
2021 (__memchr): Don't use BP_SYM.
2022 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2023 <bp-sym.h> and <bp-asm.h>.
2024 (memcmp): Don't use BP_SYM. Remove comment about bounded
2025 pointers.
2026 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2027 <bp-sym.h> and <bp-asm.h>.
2028 (memcpy): Don't use BP_SYM.
2029 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2030 <bp-sym.h> and <bp-asm.h>.
2031 (__mempcpy): Don't use BP_SYM.
2032 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2033 <bp-sym.h> and <bp-asm.h>.
2034 (__memrchr): Don't use BP_SYM.
2035 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2036 <bp-sym.h> and <bp-asm.h>.
2037 (memset): Don't use BP_SYM.
2038 (__bzero): Likewise.
2039 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2040 <bp-sym.h> and <bp-asm.h>.
2041 (__rawmemchr): Don't use BP_SYM.
2042 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2043 <bp-sym.h> and <bp-asm.h>.
2044 (__STRCMP): Don't use BP_SYM.
2045 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2046 <bp-sym.h> and <bp-asm.h>.
2047 (strchr): Don't use BP_SYM.
2048 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2049 <bp-sym.h> and <bp-asm.h>.
2050 (__strchrnul): Don't use BP_SYM.
2051 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2052 <bp-sym.h> and <bp-asm.h>.
2053 (strlen): Don't use BP_SYM.
2054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2055 <bp-sym.h> and <bp-asm.h>.
2056 (strncmp): Don't use BP_SYM. Remove comment about bounded
2057 pointers.
2058 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2059 <bp-sym.h> and <bp-asm.h>.
2060 (__strnlen): Don't use BP_SYM.
2061 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2062 <bp-sym.h> and <bp-asm.h>.
2063 (__GI__setjmp): Don't use BP_SYM.
2064 (_setjmp): Likewise.
2065 (__sigsetjmp): Likewise.
2066 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2067 (L(start_addresses)): Don't use BP_SYM.
2068 (_start): Likewise.
2069 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2070 <bp-asm.h>.
2071 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2072 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2073 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2074 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2075 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2076 <bp-asm.h>.
2077 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2078 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2079 about bounded pointers.
2080 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2081 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2082 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2083 <bp-asm.h>.
2084 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2085 about bounded pointers. Remove GKM FIXME comments.
2086 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2087 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2088 <bp-asm.h>.
2089 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2090 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2091 Remove GKM FIXME comments.
2092 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2093 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2094 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2095 <bp-asm.h>.
2096 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2097 about bounded pointers. Remove GKM FIXME comment.
2098 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2099 and <bp-asm.h>.
2100 (strncmp): Don't use BP_SYM. Remove comment about bounded
2101 pointers.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2103 <bp-sym.h> and <bp-asm.h>.
2104 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2106 <bp-sym.h> and <bp-asm.h>.
2107 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2108 comment.
2109
cdcf361f
PP
21102013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2111
2112 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2113 call free(NULL).
2114
3c4a2b15
DM
21152013-03-05 David S. Miller <davem@davemloft.net>
2116
2117 * po/es.po: Update from translation team.
2118
cdcf361f 21192013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2120
2121 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2122 <bits/mman-linux.h>.
2123 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2124 is fine.
2125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2126 <bits/mman-linux.h> to end of file.
2127 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2128 is fine.
2129 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2130 <bits/mman-linux.h> to end of file.
2131 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2132 is fine.
2133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2134 <bits/mman-linux.h> to end of file.
2135
2136 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2137 (MCL_CURRENT, MCL_FUTURE): Define here.
2138
5f67c04f
AK
21392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2140
8a4473cc 2141 [BZ #15232]
5f67c04f
AK
2142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2143 attribute_hidden.
2144 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2145
c3e94a95
AK
21462013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2147
2148 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2149 fourth parameter needed for rt_sigprocmask syscall.
2150 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2151 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2152 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2153 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2154 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2155 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2156
cfb6382a
JM
21572013-03-04 Joseph Myers <joseph@codesourcery.com>
2158
2159 [BZ #13550]
2160 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2161 comment about bounded pointers.
2162 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2163 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2164
539d8e01
AJ
21652013-03-04 Andreas Jaeger <aj@suse.de>
2166
2167 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2168 common definitions.
2169
2170 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2171 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2172 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2173 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2176
2e167a70 21772013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2178
2179 [BZ #15055]
2180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2181 __ieee754_sqrl instead of __sqrl.
2182
68508633
JM
21832013-03-01 Joseph Myers <joseph@codesourcery.com>
2184
2185 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2186 * sysdeps/powerpc/fpu_control.h: ... here.
2187 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2188 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2189 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2190 * sysdeps/powerpc/bits/mathinline.h: ... here.
2191
7775448e
RM
21922013-03-01 Roland McGrath <roland@hack.frob.com>
2193
2194 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2195 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2196 to just [NEED_DL_SYSINFO_DSO].
2197 * elf/dl-support.c: Likewise.
2198 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2199 * elf/rtld.c (dl_main): Likewise.
2200 * elf/setup-vdso.h (setup_vdso): Likewise.
2201 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2202 * sysdeps/unix/sysv/linux/dl-sysdep.c
2203 (_dl_discover_osversion): Likewise.
2204
4e9b5995
CD
22052013-03-01 Carlos O'Donell <carlos@redhat.com>
2206
2207 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2208 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2209
e23872c8
SP
22102013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2211
e5c74c63
SP
2212 * NEWS: Mention libm performance improvements and non-x86 PI
2213 futex support.
2214
e23872c8
SP
2215 * csu/libc-start.c (__pthread_initialize_minimal): Change
2216 function arguments.
2217 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2218
b5510883
JM
22192013-02-28 Joseph Myers <joseph@codesourcery.com>
2220
2221 [BZ #13550]
2222 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2223 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2224 <bp-sym.h> and <bp-asm.h>.
2225 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2226 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2227 and <bp-asm.h>.
2228 (memcpy): Don't use BP_SYM.
2229 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2230 <bp-asm.h>.
2231 (__mpn_add_n): Don't use BP_SYM.
2232 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2233 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2234 and <bp-asm.h>.
2235 (__mpn_addmul_1): Don't use BP_SYM.
2236 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2237 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2238 <bp-sym.h>.
2239 (_setjmp): Don't use BP_SYM.
2240 (__novmx_setjmp): Likewise.
2241 (__GI__setjmp): Likewise.
2242 (__vmx_setjmp): Likewise.
2243 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2244 <bp-sym.h>.
2245 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2246 (__bzero): Don't use BP_SYM.
2247 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2248 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2249 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2250 <bp-sym.h> and <bp-asm.h>.
2251 (memcpy): Don't use BP_SYM.
2252 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2253 <bp-sym.h> and <bp-asm.h>.
2254 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2255 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2256 <bp-sym.h> and <bp-asm.h>.
2257 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2258 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2259 <bp-asm.h>.
2260 (__mpn_lshift): Don't use BP_SYM.
2261 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2262 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2263 <bp-asm.h>.
2264 (memset): Don't use BP_SYM.
2265 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2266 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2267 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2268 <bp-asm.h>.
2269 (__mpn_mul_1): Don't use BP_SYM.
2270 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2272 <bp-sym.h> and <bp-asm.h>.
2273 (memcmp): Don't use BP_SYM.
2274 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2275 <bp-sym.h> and <bp-asm.h>.
2276 (memcpy): Don't use BP_SYM.
2277 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2278 <bp-sym.h> and <bp-asm.h>.
2279 (memset): Don't use BP_SYM.
2280 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2281 <bp-sym.h> and <bp-asm.h>.
2282 (strncmp): Don't use BP_SYM.
2283 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2284 <bp-sym.h> and <bp-asm.h>.
2285 (memcpy): Don't use BP_SYM.
2286 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2287 <bp-sym.h> and <bp-asm.h>.
2288 (memset): Don't use BP_SYM.
2289 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2290 <bp-sym.h> and <bp-asm.h>.
2291 (__memchr): Don't use BP_SYM.
2292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2293 <bp-sym.h> and <bp-asm.h>.
2294 (memcmp): Don't use BP_SYM.
2295 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2296 <bp-sym.h> and <bp-asm.h>.
2297 (memcpy): Don't use BP_SYM.
2298 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2299 <bp-sym.h> and <bp-asm.h>.
2300 (__mempcpy): Don't use BP_SYM.
2301 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2302 <bp-sym.h> and <bp-asm.h>.
2303 (__memrchr): Don't use BP_SYM.
2304 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2305 <bp-sym.h> and <bp-asm.h>.
2306 (memset): Don't use BP_SYM.
2307 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2308 <bp-sym.h> and <bp-asm.h>.
2309 (__rawmemchr): Don't use BP_SYM.
2310 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2311 <bp-sym.h> and <bp-asm.h>.
2312 (__STRCMP): Don't use BP_SYM.
2313 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2314 <bp-sym.h> and <bp-asm.h>.
2315 (strchr): Don't use BP_SYM.
2316 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2317 <bp-sym.h> and <bp-asm.h>.
2318 (__strchrnul): Don't use BP_SYM.
2319 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2320 <bp-sym.h> and <bp-asm.h>.
2321 (strlen): Don't use BP_SYM.
2322 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2323 <bp-sym.h> and <bp-asm.h>.
2324 (strncmp): Don't use BP_SYM.
2325 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2326 <bp-sym.h> and <bp-asm.h>.
2327 (__strnlen): Don't use BP_SYM.
2328 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2329 <bp-asm.h>.
2330 (__mpn_rshift): Don't use BP_SYM.
2331 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2332 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2333 <bp-sym.h> and <bp-asm.h>.
2334 (__sigsetjmp): Don't use BP_SYM.
2335 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2336 (L(start_addresses)): Don't use BP_SYM.
2337 (_start): Likewise.
2338 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2339 <bp-asm.h>.
2340 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2341 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2342 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2343 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2344 <bp-asm.h>.
2345 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2346 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2347 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2348 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2349 <bp-asm.h>.
2350 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2351 comments.
2352 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2353 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2354 <bp-asm.h>.
2355 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2356 FIXME comments.
2357 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2358 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2359 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2360 <bp-asm.h>.
2361 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2362 comment.
2363 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2364 and <bp-asm.h>.
2365 (strncmp): Don't use BP_SYM,
2366 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2367 <bp-asm.h>.
2368 (__mpn_sub_n): Don't use BP_SYM.
2369 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2370 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2371 and <bp-asm.h>.
2372 (__mpn_submul_1): Don't use BP_SYM.
2373 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2375 <bp-sym.h> and <bp-asm.h>.
2376 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2378 <bp-sym.h> and <bp-asm.h>.
2379 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2380 comment.
2381
8d19fe64
SP
23822013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2383
2384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2385 Use ZK to minimize writes to Z.
2386 (sub_magnitudes): Simplify code a bit.
2387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2388 Use ZK to minimize writes to Z.
2389 (sub_magnitudes): Simplify code a bit.
2390
85bd816a
RM
23912013-02-27 Roland McGrath <roland@hack.frob.com>
2392
2393 * csu/gmon-start.c: Add special exception to license text.
2394
b5977bf2
RH
23952013-02-27 Richard Henderson <rth@redhat.com>
2396
2397 * scripts/config.guess: Update from config.git.
2398 * scripts/config.sub: Likewise.
2399
11d6e2f2
SP
24002013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2401
09c14ed2
SP
2402 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2403
a688864e
SP
2404 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2405
6295157a
SP
2406 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2407
b8de2202
SP
2408 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2409
11d6e2f2
SP
2410 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2411
7e80ddb8
RM
24122013-02-26 Roland McGrath <roland@hack.frob.com>
2413
2414 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2415 [$(build-shared = yes].
7e80ddb8 2416
7da6d9ed
SP
24172013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2418
45f05884
SP
2419 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2420 (__mul): Reduce iterations for calculating mantissa.
2421
2236d359
SP
2422 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2423 MPTWO.
2424 (__mpranred): Likewise.
2425
7da6d9ed
SP
2426 [BZ #15160]
2427 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2428 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2429
b7688c42
PE
24302013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2431
2432 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2433 Define __attribute__.
2434
53a5c423
SP
24352013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2436
2437 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2438 unused.
2439 * posix/regex_internal.h (__attribute): Remove.
2440 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2441 (re_string_context_at): Likewise.
2442 (bitset_not): Use __attribute__ and mark function as possibly
2443 unused.
2444 (bitset_merge): Likewise.
2445 (bitset_mask): Likewise.
2446 (re_string_char_size_at): Likewise.
2447 (re_string_wchar_at): Likewise.
2448 (re_string_elem_size_at): Likewise.
2449
60f5a8b5
SP
24502013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2451
2a983a2e
SP
2452 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2453 code.
2454 (cc32): Likewise.
2455
e69804d1
SP
2456 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2457 (__acr): Likewise.
2458 (__cpy): Likewise.
2459 (norm): Likewise.
2460 (denorm): Likewise.
2461 (__dbl_mp): Likewise.
2462 (add_magnitudes): Likewise.
2463 (sub_magnitudes): Likewise.
2464 (__mul): Likewise.
2465 (__inv): Likewise.
2466
2f22a1e8
SP
2467 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2468 style.
2469
8930ddc7
SP
2470 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2471 style.
2472
dc60cb11
SP
2473 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2474 code.
2475
60f5a8b5
SP
2476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2477 up changes with default code.
2478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2479 Likewise.
2480
b4d1fd33
AM
24812013-02-24 Allan McRae <allan@archlinux.org>
2482
faf6f8bc
AM
2483 * manual/socket.texi (The Internet Namespace): Order menu items
2484 to match that in the file.
2485
b4d1fd33
AM
2486 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2487 node listing of the info page menu.
2488
2366713d
JM
24892013-02-21 Joseph Myers <joseph@codesourcery.com>
2490
2491 [BZ #13550]
2492 * sysdeps/i386/bp-asm.h: Remove file.
2493 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2494 (PARMS): Do not use macros from bp-asm.h.
2495 (S1): Likewise.
2496 (S2): Likewise.
2497 (SIZE): Likewise.
2498 (__mpn_add_n): Do not use BP_SYM
2499 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2500 "bp-asm.h".
2501 (PARMS): Do not use macros from bp-asm.h.
2502 (S1): Likewise.
2503 (SIZE): Likewise.
2504 (__mpn_addmul_1): Do not use BP_SYM
2505 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2506 "bp-asm.h".
2507 (PARMS): Do not use macros from bp-asm.h.
2508 (SIGMSK): Likewise.
2509 (_setjmp): Likewise. Do not use BP_SYM.
2510 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2511 "bp-asm.h".
2512 (PARMS): Do not use macros from bp-asm.h.
2513 (SIGMSK): Likewise.
2514 (setjmp): Likewise. Do not use BP_SYM.
2515 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2516 "bp-asm.h".
2517 (PARMS): Do not use macros from bp-asm.h.
2518 (__frexp): Do not use BP_SYM.
2519 (frexp): Likewise.
2520 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2521 "bp-asm.h".
2522 (PARMS): Do not use macros from bp-asm.h.
2523 (__frexpf): Do not use BP_SYM.
2524 (frexpf): Likewise.
2525 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2526 "bp-asm.h".
2527 (PARMS): Do not use macros from bp-asm.h.
2528 (__frexpl): Do not use BP_SYM.
2529 (frexpl): Likewise.
2530 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2531 "bp-asm.h".
2532 (PARMS): Do not use macros from bp-asm.h.
2533 (__remquo): Do not use BP_SYM.
2534 (remquo): Likewise.
2535 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2536 "bp-asm.h".
2537 (PARMS): Do not use macros from bp-asm.h.
2538 (__remquof): Do not use BP_SYM.
2539 (remquof): Likewise.
2540 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2541 "bp-asm.h".
2542 (PARMS): Do not use macros from bp-asm.h.
2543 (__remquol): Do not use BP_SYM.
2544 (remquol): Likewise.
2545 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2546 "bp-asm.h".
2547 (PARMS): Do not use macros from bp-asm.h.
2548 (DEST): Likewise.
2549 (SRC): Likewise.
2550 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2551 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2552 "bp-asm.h".
2553 (PARMS): Do not use macros from bp-asm.h.
2554 (strlen): Do not use BP_SYM.
2555 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2556 "bp-asm.h".
2557 (PARMS): Do not use macros from bp-asm.h.
2558 (S1): Likewise.
2559 (S2): Likewise.
2560 (SIZE): Likewise.
2561 (__mpn_add_n): Do not use BP_SYM.
2562 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2563 "bp-asm.h".
2564 (PARMS): Do not use macros from bp-asm.h.
2565 (S1): Likewise.
2566 (SIZE): Likewise.
2567 (__mpn_addmul_1): Do not use BP_SYM.
2568 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2569 weak_alias.
2570 (bzero): Likewise.
2571 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2572 "bp-asm.h".
2573 (PARMS): Do not use macros from bp-asm.h.
2574 (S): Likewise.
2575 (SIZE): Likewise.
2576 (__mpn_lshift): Do not use BP_SYM.
2577 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2578 "bp-asm.h".
2579 (PARMS): Do not use macros from bp-asm.h.
2580 (DEST): Likewise.
2581 (SRC): Likewise.
2582 (LEN): Likewise.
2583 (memcpy): Likewise. Do not use BP_SYM.
2584 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2585 libc_hidden_def and weak_alias.
2586 (mempcpy): Do not use BP_SYM in weak_alias.
2587 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2588 "bp-asm.h".
2589 (PARMS): Do not use macros from bp-asm.h.
2590 (DEST): Likewise.
2591 (LEN): Likewise.
2592 [!BZERO_P] (CHR): Likewise.
2593 (memset): Likewise. Do not use BP_SYM.
2594 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2595 "bp-asm.h".
2596 (PARMS): Do not use macros from bp-asm.h.
2597 (S1): Likewise.
2598 (SIZE): Likewise.
2599 (__mpn_mul_1): Do not use BP_SYM.
2600 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2601 "bp-asm.h".
2602 (PARMS): Do not use macros from bp-asm.h.
2603 (S): Likewise.
2604 (SIZE): Likewise.
2605 (__mpn_rshift): Do not use BP_SYM.
2606 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2607 "bp-asm.h".
2608 (PARMS): Do not use macros from bp-asm.h.
2609 (STR): Likewise.
2610 (CHR): Likewise.
2611 (strchr): Likewise. Do not use BP_SYM.
2612 (index): Do not use BP_SYM in weak_alias.
2613 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2614 "bp-asm.h".
2615 (PARMS): Do not use macros from bp-asm.h.
2616 (DEST): Likewise.
2617 (SRC): Likewise.
2618 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2619 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2620 "bp-asm.h".
2621 (PARMS): Do not use macros from bp-asm.h.
2622 (strlen): Do not use BP_SYM.
2623 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2624 "bp-asm.h".
2625 (PARMS): Do not use macros from bp-asm.h.
2626 (S1): Likewise.
2627 (S2): Likewise.
2628 (SIZE): Likewise.
2629 (__mpn_sub_n): Do not use BP_SYM.
2630 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2631 "bp-asm.h".
2632 (PARMS): Do not use macros from bp-asm.h.
2633 (S1): Likewise.
2634 (SIZE): Likewise.
2635 (__mpn_submul_1): Do not use BP_SYM.
2636 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2637 "bp-asm.h".
2638 (PARMS): Do not use macros from bp-asm.h.
2639 (S1): Likewise.
2640 (S2): Likewise.
2641 (SIZE): Likewise.
2642 (__mpn_add_n): Do not use BP_SYM.
2643 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2644 weak_alias.
2645 (bzero): Likewise.
2646 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2647 "bp-asm.h".
2648 (PARMS): Do not use macros from bp-asm.h.
2649 (BLK2): Likewise.
2650 (LEN): Likewise.
2651 (memcmp): Do not use BP_SYM.
2652 (bcmp): Do not use BP_SYM in weak_alias.
2653 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2654 "bp-asm.h".
2655 (PARMS): Do not use macros from bp-asm.h.
2656 (DEST): Likewise.
2657 (SRC): Likewise.
2658 (LEN): Likewise.
2659 (memcpy): Likewise. Do not use BP_SYM.
2660 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2661 "bp-asm.h".
2662 (PARMS): Do not use macros from bp-asm.h.
2663 (DEST): Likewise.
2664 (SRC): Likewise.
2665 (LEN): Likewise.
2666 (memmove): Likewise. Do not use BP_SYM.
2667 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2668 "bp-asm.h".
2669 (PARMS): Do not use macros from bp-asm.h.
2670 (DEST): Likewise.
2671 (SRC): Likewise.
2672 (LEN): Likewise.
2673 (__mempcpy): Likewise. Do not use BP_SYM.
2674 (mempcpy): Do not use BP_SYM in weak_alias.
2675 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2676 "bp-asm.h".
2677 (PARMS): Do not use macros from bp-asm.h.
2678 (DEST): Likewise.
2679 (LEN): Likewise.
2680 [!BZERO_P] (CHR): Likewise.
2681 (memset): Likewise. Do not use BP_SYM.
2682 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2683 "bp-asm.h".
2684 (PARMS): Do not use macros from bp-asm.h.
2685 (STR2): Likewise.
2686 (strcmp): Do not use BP_SYM.
2687 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2688 "bp-asm.h".
2689 (PARMS): Do not use macros from bp-asm.h.
2690 (STR): Likewise.
2691 (DELIM): Likewise.
2692 [USE_AS_STRTOK_R] (SAVE): Likewise.
2693 (FUNCTION): Likewise. Do not use BP_SYM.
2694 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2695 aliases.
2696 (strtok_r): Likewise.
2697 (__GI___strtok_r): Likewise.
2698 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2699 (PARMS): Do not use macros from bp-asm.h.
2700 (S): Likewise.
2701 (SIZE): Likewise.
2702 (__mpn_lshift): Do not use BP_SYM.
2703 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2704 (PARMS): Do not use macros from bp-asm.h.
2705 (STR): Likewise.
2706 (CHR): Likewise.
2707 (__memchr): Do not use BP_SYM.
2708 (memchr): Do not use BP_SYM in weak_alias.
2709 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2710 (PARMS): Do not use macros from bp-asm.h.
2711 (BLK2): Likewise.
2712 (LEN): Likewise.
2713 (memcmp): Do not use BP_SYM.
2714 (bcmp): Do not use BP_SYM in weak_alias.
2715 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2716 (PARMS): Do not use macros from bp-asm.h.
2717 (S1): Likewise.
2718 (SIZE): Likewise.
2719 (__mpn_mul_1): Do not use BP_SYM.
2720 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2721 "bp-asm.h".
2722 (PARMS): Do not use macros from bp-asm.h.
2723 (STR): Likewise.
2724 (CHR): Likewise.
2725 (__rawmemchr): Do not use BP_SYM.
2726 (rawmemchr): Do not use BP_SYM in weak_alias.
2727 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2728 (PARMS): Do not use macros from bp-asm.h.
2729 (S): Likewise.
2730 (SIZE): Likewise.
2731 (__mpn_rshift): Do not use BP_SYM.
2732 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2733 (PARMS): Do not use macros from bp-asm.h.
2734 (SIGMSK): Likewise.
2735 (__sigsetjmp): Likewise. Do not use BP_SYM.
2736 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2737 (_start): Do not use BP_SYM.
2738 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2739 (PARMS): Do not use macros from bp-asm.h.
2740 (DEST): Likewise.
2741 (SRC): Likewise.
2742 (__stpcpy): Likewise. Do not use BP_SYM.
2743 (stpcpy): Do not use BP_SYM in weak_alias.
2744 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2745 "bp-asm.h".
2746 (PARMS): Do not use macros from bp-asm.h.
2747 (DEST): Likewise.
2748 (SRC): Likewise.
2749 (LEN): Likewise.
2750 (__stpncpy): Likewise. Do not use BP_SYM.
2751 (stpncpy): Do not use BP_SYM in weak_alias.
2752 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2753 (PARMS): Do not use macros from bp-asm.h.
2754 (STR): Likewise.
2755 (CHR): Likewise.
2756 (strchr): Likewise. Do not use BP_SYM.
2757 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2758 "bp-asm.h".
2759 (PARMS): Do not use macros from bp-asm.h.
2760 (STR): Likewise.
2761 (CHR): Likewise.
2762 (__strchrnul): Likewise. Do not use BP_SYM.
2763 (strchrnul): Do not use BP_SYM in weak_alias.
2764 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2765 "bp-asm.h".
2766 (PARMS): Do not use macros from bp-asm.h.
2767 (STOP): Likewise.
2768 (strcspn): Do not use BP_SYM.
2769 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2770 "bp-asm.h".
2771 (PARMS): Do not use macros from bp-asm.h.
2772 (STR): Likewise.
2773 (STOP): Likewise.
2774 (strpbrk): Likewise. Do not use BP_SYM.
2775 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2776 "bp-asm.h".
2777 (PARMS): Do not use macros from bp-asm.h.
2778 (STR): Likewise.
2779 (CHR): Likewise.
2780 (strrchr): Likewise. Do not use BP_SYM.
2781 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2782 (PARMS): Do not use macros from bp-asm.h.
2783 (SKIP): Likewise.
2784 (strspn): Do not use BP_SYM.
2785 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2786 (PARMS): Do not use macros from bp-asm.h.
2787 (STR): Likewise.
2788 (DELIM): Likewise.
2789 (SAVE): Likewise.
2790 (FUNCTION): Likewise. Do not use BP_SYM.
2791 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2792 aliases.
2793 (strtok_r): Likewise.
2794 (__GI___strtok_r): Likewise.
2795 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2796 (PARMS): Do not use macros from bp-asm.h.
2797 (S1): Likewise.
2798 (S2): Likewise.
2799 (SIZE): Likewise.
2800 (__mpn_sub_n): Do not use BP_SYM.
2801 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2802 "bp-asm.h".
2803 (PARMS): Do not use macros from bp-asm.h.
2804 (S1): Likewise.
2805 (SIZE): Likewise.
2806 (__mpn_submul_1): Do not use BP_SYM.
2807 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2808 <bp-sym.h>.
2809 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2810 and <bp-asm.h>.
2811 (PARMS): Do not use macros from bp-asm.h.
2812 (FLAGS): Likewise.
2813 (PTID): Likewise.
2814 (TLS): Likewise.
2815 (CTID): Likewise.
2816 (__clone): Do not use BP_SYM.
2817 (clone): Do not use BP_SYM in weak_alias.
2818 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2819 and <bp-asm.h>.
2820 (PARMS): Do not use macros from bp-asm.h.
2821 (LEN): Likewise.
2822 (__mmap64): Do not use BP_SYM.
2823 (mmap64): Do not use BP_SYM in weak_alias.
2824 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2825 <bp-sym.h> and <bp-asm.h>.
2826 (PARMS): Do not use macros from bp-asm.h.
2827 (__posix_fadvise64_l64): Do not use BP_SYM.
2828 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2829 (PARMS): Do not use macros from bp-asm.h.
2830 (NSOPS): Likewise.
2831 (semtimedop): Do not use BP_SYM.
2832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2833 and <bp-asm.h>.
2834
582a3cff
AM
28352013-02-21 Allan McRae <allan@archlinux.org>
2836
2837 * manual/message.texi (Charset conversion in gettext):
2838 Move @end statement to beginning of line.
2839
bab8a695
SP
28402013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2841
80945231
SP
2842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2843 static.
2844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2845 Likewise.
2846
bab8a695
SP
2847 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2848 (denorm): Likewise.
2849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2851
e21d7aa7
AK
28522013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2853
2854 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2855 tail-call to the resolved function if pltexit isn't needed.
2856
4c7a4263
SP
28572013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2858
2859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2860 or Y being zero as being unlikely.
2861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2862 Likewise.
2863
41f49342
CD
28642013-02-20 Carlos O'Donell <carlos@redhat.com>
2865
2866 * manual/nss.texi (System Databases and Name Service Switch):
2867 Remove frobnicate @pxref.
2868
50022a93
TS
28692013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2870
2871 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2872 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2873
08cbd996
PM
28742013-02-20 Petr Machata <pmachata@redhat.com>
2875
2876 * elf/elf.h (R_ARM_TARGET1): New macro.
2877 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2878 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2879 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2880 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2881 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2882 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2883 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2884 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2885 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2886 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2887 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2888 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2889 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2890 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2891 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2892 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2893 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2894 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2895 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2896 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2897 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2898 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2899 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2900 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2901 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2902 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2903 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2904 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2905 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2906 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2907 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2908 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2909 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2910 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2911 (R_ARM_THM_GOT_BREL12): Likewise.
2912 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2913 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2914 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2915 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2916 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2917 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2918 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2919 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2920 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2921
c7b275d6
TS
29222013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2923
2924 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2925 __attribute_used__ to __attribute__ ((unused)).
2926
20cd7fb3
SP
29272013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2928
2929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2930 powerpc mpa.c.
2931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2932 comment formatting.
2933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2934
92945b52
JM
29352013-02-19 Joseph Myers <joseph@codesourcery.com>
2936
2937 [BZ #13550]
2938 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2939 Remove macro.
2940 (ENTER): Remove both macro definitions.
2941 (LEAVE): Likewise.
2942 (CHECK_BOUNDS_LOW): Likewise.
2943 (CHECK_BOUNDS_HIGH): Likewise.
2944 (CHECK_BOUNDS_BOTH): Likewise.
2945 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2946 (RETURN_BOUNDED_POINTER): Likewise.
2947 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2948 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2949 (POP_ERRNO_LOCATION_RETURN): Likewise.
2950 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2951 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2952 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2953 macros.
2954 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2955 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2956 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2957 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2958 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2959 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2960 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2961 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2962 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2963 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2964 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2965 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2966 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2967 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2968 removed macros.
2969 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2970 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2971 macros.
2972 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2973 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2974 * sysdeps/i386/i586/memset.S (memset): Likewise.
2975 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2976 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2977 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2978 macros.
2979 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2980 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2981 Change uses of L(2) to L(out).
2982 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2983 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2984 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2985 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2986 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2987 removed macros.
2988 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2989 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2990 macros.
2991 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2992 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2993 (RETURN): Do not use macro LEAVE.
2994 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2995 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2996 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2997 * sysdeps/i386/i686/memset.S (memset): Likewise.
2998 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2999 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3000 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3001 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3002 Likewise.
3003 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3004 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3005 L(1_2) and L(1_3) into L(1).
3006 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3007 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3008 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3009 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3010 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3011 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3012 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3013 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3014 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3015 macros.
3016 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3017 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3018 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3019 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3020 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3021 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3022 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3023 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3024 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3025 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3026 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3027 * sysdeps/i386/strspn.S (strspn): Likewise.
3028 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3029 conditional code.
3030 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3031 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3032 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3033 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3034 L(1_3) into L(1_1).
3035 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3036 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3037 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3038 macros.
3039 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3040
2389741a
JJ
30412013-02-19 Jakub Jelinek <jakub@redhat.com>
3042
3043 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3044 macro.
3045
2016b3cd
SP
30462013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3047
e4f22324
SP
3048 * math/atest-exp.c (exp_mpn): Remove ROUND.
3049 * math/atest-exp2.c (exp_mpn): Likewise.
3050 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3051
2016b3cd
SP
3052 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3053 * stdlib/tst-tls-atexit-lib.c: Likewise.
3054 * stdlib/tst-tls-atexit.c: Likewise.
3055
4be9b544
MF
30562013-02-18 Mike Frysinger <vapier@gentoo.org>
3057
3058 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3059 and __attribute_alloc_size__.
3060
2f62b9ee
MF
30612013-02-18 Mike Frysinger <vapier@gentoo.org>
3062
3063 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3064 __attribute_alloc_size__.
3065 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3066 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3067
6ff444c4
MF
30682013-02-18 Mike Frysinger <vapier@gentoo.org>
3069
3070 * include/programs/xmalloc.h: New file.
3071 * catgets/gencat.c: Include it.
3072 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3073 * elf/pldd.c: Likewise.
3074 * iconv/iconv_charmap.c: Likewise.
3075 * iconv/iconvconfig.c: Likewise.
3076 * iconv/strtab.c: Likewise.
3077 * locale/programs/locale.c: Likewise.
3078 * locale/programs/localedef.h: Likewise.
3079 * locale/programs/simple-hash.c: Likewise.
3080 * nscd/nscd.h: Likewise.
3081 * nss/makedb.c: Likewise.
3082 * sysdeps/generic/ldconfig.h: Likewise.
3083
be179c8a
SP
30842013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3085
ba384f6e
SP
3086 * Versions.def: Add GLIBC_2.18.
3087 * include/link.h (struct link_map): New member l_tls_dtor_count.
3088 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3089 (__call_tls_dtors): Likewise.
3090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3091 __cxa_thread_atexit_impl.
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3093 Likewise.
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3095 Likewise.
3096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3097 Likewise.
3098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3099 Likewise.
3100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3102 Likewise.
3103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3104 Likewise.
3105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3107 Likewise.
3108 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3109 (tests): Add test case tst-tls-atexit.
3110 (modules-names): Add shared library for tst-tls-atexit.
3111 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3112 (GLIBC_PRIVATE): Add __call_tls_dtors.
3113 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3114 for libstdc++.
3115 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3116 * stdlib/tst-tls-atexit.c: New test case.
3117 * stdlib/tst-tls-atexit-lib.c: New test case.
3118
ffaa74cf 3119 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3120
be179c8a
SP
3121 * elf/Versions (ld): Add _dl_find_dso_for_object.
3122 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3123 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3124 (dl_open_worker): Use _dl_find_dso_for_object.
3125 * elf/dl-sym.c (do_sym): Likewise.
3126 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3127
f78b5caa
AK
31282013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3129
3130 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3131 Syntactic changes only.
3132 (_dl_runtime_profile): Do a tail-call to the resolved function.
3133
29691210
JM
31342013-02-17 Joseph Myers <joseph@codesourcery.com>
3135
3136 [BZ #13550]
3137 * sysdeps/x86_64/bp-asm.h: Remove file.
3138 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3139 <bp-sym.h> and <bp-asm.h>.
3140 (__clone): Do not use BP_SYM.
3141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3142 <bp-sym.h> and <bp-asm.h>.
3143 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3144 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3145 "bp-asm.h".
3146 (_setjmp): Do not use BP_SYM.
3147 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3148 "bp-asm.h".
3149 (setjmp): Do not use BP_SYM.
3150 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3151 libc_hidden_def.
3152 (mempcpy): Do not use BP_SYM in weak_alias.
3153 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3154 "bp-asm.h".
3155 (strchr): Do not use BP_SYM.
3156 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3157 "bp-asm.h".
3158 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3159 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3160 (_start): Do not use BP_SYM.
3161 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3162 "bp-asm.h".
3163 (strcat): Do not use BP_SYM.
3164 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3165 "bp-asm.h".
3166 (STRCMP): Do not use BP_SYM.
3167 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3168 "bp-asm.h".
3169 (STRCPY): Do not use BP_SYM.
3170 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3171 "bp-asm.h".
3172 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3173 "bp-asm.h".
3174 (FUNCTION): Do not use BP_SYM.
3175 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3176 weak_alias.
3177 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3178
f238fd19
AJ
31792013-02-17 Andreas Jaeger <aj@suse.de>
3180
3181 * time/Versions: Sort entries.
3182 * string/Versions: Likewise.
3183 * resolv/Versions: Likewise.
3184 * posix/Versions: Likewise.
3185 * iconv/Versions: Likewise.
3186 * elf/Versions: Likewise.
3187 * wcsmbs/Versions: Likewise.
3188
bd07f23c 31892013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3190
22af19f9
SP
3191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3192 loop termination condition.
3193
4709fe76
SP
3194 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3195 variable to calculate EZ.
3196 (__sqr): Likewise.
2d0e0f29
SP
3197
3198 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3199 the lower precision input.
3200
daaa7713
JM
32012013-02-15 Joseph Myers <joseph@codesourcery.com>
3202
3203 [BZ #13550]
3204 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3205 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3206 (run-via-rtld-prefix): Do not handle %-bp tests.
3207 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3208 (all-object-suffixes): Remove .ob.
3209 (bppfx): Remove variable.
3210 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3211 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3212 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3213 [$(build-bounded) = yes] (libtype.ob): Likewise.
3214 * Makerules (elide-routines.ob): Remove variable.
3215 (do-tests-clean): Do not handle *-bp.out.
3216 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3217 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3218 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3219 (tests): Do not include $(tests-bp.out).
3220 (xtests): Do not include $(xtests-bp.out).
3221 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3222 [$(build-bounded) = yes] ($(addprefix
3223 $(objpfx),$(binaries-bounded))): Remove rule.
3224 ($(objpfx)%-bp.out): Remove rule.
3225 * config.make.in (build-bounded): Remove variable.
3226 * crypt/Makefile [$(build-bounded) = yes]
3227 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3228 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3229 append to variable.
3230 [$(build-bounded) = yes] (install-lib): Likewise.
3231 [$(build-bounded) = yes] (generated): Likewise.
3232 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3233 Remove rule.
3234 * intl/Makefile [$(build-bounded) = yes]
3235 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3236 * math/Makefile [$(build-bounded) = yes]
3237 ($(tests:%=$(objpfx)%-bp): Likewise.
3238 * misc/Makefile [$(build-bounded) = yes]
3239 ($(objpfx)tst-tsearch-bp): Likewise.
3240 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3241 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3242 Remove dependency.
3243 * string/Makefile (o-objects.ob): Remove variable.
3244 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3245 (CFLAGS-.ob): Remove variable.
3246 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3247 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3248 both definitions of variable.
3249 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3250 (ASFLAGS-.ob): Remove variable.
3251
e97ed6dd
JM
32522013-02-14 Joseph Myers <joseph@codesourcery.com>
3253
2bdd4ca6
JM
3254 [BZ #13550]
3255 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3256 Remove __BOUNDED_POINTERS__ from condition.
3257 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3258 * string/bits/string2.h [!__NO_STRING_INLINES &&
3259 !__BOUNDED_POINTERS__]: Likewise.
3260 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3261 Likewise.
3262 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3263 Remove conditional code.
3264 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3265 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3266 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3267 condition.
3268
e97ed6dd
JM
3269 [BZ #13550]
3270 * csu/libc-start.c: Do not include <bp-sym.h>.
3271 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3272 * elf/dl-open.c: Do not include <bp-sym.h>.
3273 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3274 * math/fegetenv.c: Do not include <bp-sym.h>.
3275 (fegetenv): Do not use BP_SYM in versioned symbols.
3276 * nptl/sysdeps/pthread/bits/libc-lockP.h
3277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3278 <bp-sym.h>.
3279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3280 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3282 (__pthread_mutex_destroy): Likewise.
3283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3284 (__pthread_mutex_lock): Likewise.
3285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3286 (__pthread_mutex_trylock): Likewise.
3287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3288 (__pthread_mutex_unlock): Likewise.
3289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3290 (__pthread_mutexattr_init): Likewise.
3291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3292 (__pthread_mutexattr_destroy): Likewise.
3293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3294 (__pthread_mutexattr_settype): Likewise.
3295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3296 (__pthread_rwlock_init): Likewise.
3297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3298 (__pthread_rwlock_destroy): Likewise.
3299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3300 (__pthread_rwlock_rdlock): Likewise.
3301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3302 (__pthread_rwlock_tryrdlock): Likewise.
3303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3304 (__pthread_rwlock_wrlock): Likewise.
3305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3306 (__pthread_rwlock_trywrlock): Likewise.
3307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3308 (__pthread_rwlock_unlock): Likewise.
3309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3310 (__pthread_key_create): Likewise.
3311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3312 (__pthread_setspecific): Likewise.
3313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3314 (__pthread_getspecific): Likewise.
3315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3316 Likewise.
3317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3318 (_pthread_cleanup_push_defer): Likewise.
3319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3320 (_pthread_cleanup_pop_restore): Likewise.
3321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3322 (pthread_setcancelstate): Likewise.
3323 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3324 <bp-sym.h>.
3325 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3326 (memchr): Do not use BP_SYM in weak_alias.
3327 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3328 (fegetenv): Do not use BP_SYM in versioned symbols.
3329 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3330 (fesetenv): Do not use BP_SYM in versioned symbols.
3331 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3332 (feupdateenv): Do not use BP_SYM in versioned symbols.
3333 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3334 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3335 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3336 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3337 (open64): Do not use BP_SYM in weak_alias.
3338 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3339 (fegetenv): Do not use BP_SYM in versioned symbols.
3340 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3341 (fesetenv): Do not use BP_SYM in versioned symbols.
3342 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3343 (feupdateenv): Do not use BP_SYM in versioned symbols.
3344 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3345 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3346 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3347 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3348 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3349 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3350 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3351 <bp-sym.h>.
3352 (__libc_start_main): Do not use BP_SYM.
3353
d6752ccd
SP
33542013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3355
cb57ce60
SP
3356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3357 redundant return line.
3358 (norm): Likewise.
3359 (denorm): Likewise.
3360 (dbl_mp): Likewise.
3361 (sub_magnitudes): Likewise.
3362 (__add): Likewise.
3363 (__sub): Likewise.
3364 (__mul): Likewise.
3365 (__inv): Likewise.
3366 (__dvd): Likewise.
3367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3368 (norm): Likewise.
3369 (denorm): Likewise.
3370 (dbl_mp): Likewise.
3371 (sub_magnitudes): Likewise.
3372 (__add): Likewise.
3373 (__sub): Likewise.
3374 (__mul): Likewise.
3375 (__inv): Likewise.
3376 (__dvd): Likewise.
3377
f414520d
SP
3378 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3379 instead of __mul.
3380 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3381 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3382 (cc32): Likewise.
3383
d6752ccd
SP
3384 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3385 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3387 of __mul for squares.
3388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3389 function
3390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3391 Likewise.
3392 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3393 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3394
70d9946a
JM
33952013-02-13 Joseph Myers <joseph@codesourcery.com>
3396
3397 [BZ #13550]
3398 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3399 code.
3400 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3401 prototype or function definition. Rename ubp_* variables and
3402 parameters. Remove argv definitions conditional on
3403 [__BOUNDED_POINTERS__].
3404 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3405 * elf/dl-runtime.c (_dl_fixup): Likewise.
3406 * include/set-hooks.h (RUN_HOOK): Likewise.
3407 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3408 definition.
3409 * string/strcpy.c (strcpy): Do not use __unbounded.
3410 * sysdeps/generic/frame.h (struct layout): Likewise.
3411 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3412 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3413 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3414 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3415 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3416 (__backtrace): Likewise.
3417 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3418 use __ptrvalue.
3419 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3420 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3421 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3422 Likewise.
3423 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3424 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3425 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3426 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3427 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3428 Do not use __unbounded.
3429 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3430 Rename __unboundedrlimits parameter to rlimits in prototype.
3431 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3432 Do not use __unbounded.
3433 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3434 not use __ptrvalue.
3435 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3436 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3437 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3438 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3439 __ptrvalue or __unbounded.
3440 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3441 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3442 use __unbounded.
3443 (__new_msgctl): Do not use __ptrvalue.
3444 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3445 __unbounded.
3446 (__libc_msgrcv): Do not use __ptrvalue.
3447 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3448 startup_info): Do not use __unbounded.
3449 (__libc_start_main): Likewise. Rename ubp_* variables and
3450 parameters. Remove argv definitions conditional on
3451 [__BOUNDED_POINTERS__].
3452 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3453 __ptrvalue.
3454 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3455 use __unbounded.
3456 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3457 or __ptrvalue.
3458 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3459 use __unbounded.
3460 (__new_shmctl): Do not use __ptrvalue.
3461 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3462 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3463 Likewise.
3464 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3465 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3466 (__libc_sigaction): Likewise.
3467 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3468 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3469 Likewise.
3470 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3471
cc7834d6
OB
34722013-02-13 Ondřej Bílka <neleai@seznam.cz>
3473
ffb1ec7b 3474 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3475
3476 * string/mempcpy.c: Implement by calling memcpy.
3477
bdf02814
SP
34782013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3479
c2af38aa
SP
3480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3481
4e92d59e
SP
3482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3483 evaluation.
3484
909279a5
SP
3485 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3486 values in the mantissa.
3487
bdf02814
SP
3488 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3489 minimize writes to Z.
3490 (sub_magnitudes): Simplify code a bit.
3491
cd525923
RM
34922013-02-12 Roland McGrath <roland@hack.frob.com>
3493
3494 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3495 from the message. The linker prefixes all warnings with that already.
3496
7e2f0d2d
AS
34972013-02-12 Andreas Schwab <schwab@suse.de>
3498
a445af0b
AS
3499 [BZ #15078]
3500 * posix/regexec.c (extend_buffers): Add parameter min_len.
3501 (check_matching): Pass minimum needed length.
3502 (clean_state_log_if_needed): Likewise.
3503 (get_subexp): Likewise.
3504 * posix/Makefile (tests): Add bug-regex34.
3505 (bug-regex34-ENV): Define.
3506 * posix/bug-regex34.c: New file.
3507
7e2f0d2d
AS
3508 [BZ #11561]
3509 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3510 elements compare against the byte sequence of it, not its name.
3511 * posix/Makefile (tests): Add bug-regex35.
3512 (bug-regex35-ENV): Define.
3513 * posix/bug-regex35.c: New file.
3514
a175b684
TV
35152013-02-11 Tom de Vries <tom@codesourcery.com>
3516
3517 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3518 comment.
3519 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3520 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3521 (CHECK_EOL): Add undef.
3522
310998fe 35232013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3524
3525 * bits/stdlib-bsearch.h: New file.
3526 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3527 * stdlib/stdlib.h: Likewise.
41eda41d 3528
8ded91fb
RM
35292013-02-11 Roland McGrath <roland@hack.frob.com>
3530
3531 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3532 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3533 declaration.
3534 * manual/search.texi (Array Search Function): Add missing const in
3535 lfind prototype.
3536 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3537 declaration to use rlim_t.
3538 (Basic Scheduling Functions): Remove erroneous const from
3539 sched_getparam prototype. Remove erroneous * from
3540 sched_get_priority_max and sched_get_priority_min prototypes.
3541 (Resource Usage): Fix summary @comment on vtimes to refer to
3542 sys/vtimes.h rather than vtimes.h.
3543 Add missing *s in vtimes prototype.
3544 (Limits on Resources): Fix ulimit prototype to return long int.
3545 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3546 prototypes to use long int rather than double.
3547 (BSD Random): Fix initstate and setstate to use char *, not void *.
3548 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3549 prototype to make second argument 'struct aiocb64 *const[]'.
3550 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3551 (Status of AIO Operations): Remove erroneous const in aio_return and
3552 aio_return64 prototypes.
3553 (Synchronizing I/O): Fix sync prototype to return void.
3554 * manual/startup.texi (Suboptions): Remove an erroneous const in
3555 getsubopt prototype.
3556 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3557 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3558 use size_t rather than int.
3559 (Scanning All Users): Likewise for getpwent_r.
3560 (Setting Groups): Add missing const to setgroups prototype.
3561 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3562 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3563 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3564 'const void *' rather than 'const char *'.
3565 (Host Address Functions): Likewise for inet_ntop.
3566 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3567 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3568 ssize_t for return value.
3569 (Sending Data): Likewise for send, sendto, sendmsg.
3570 (Socket Option Functions): Add a missing const in setsockopt prototype.
3571 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3572 use wchar_t for the argument.
3573 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3574 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3575 take no arguments.
3576 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3577 double/float/long double for second argument.
3578 Fix return types of significand, significandf, significandl.
3579 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3580 argument in fchmod prototype.
3581 (File Owner): Use uid_t and gid_t in fchown prototype.
3582 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3583 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3584 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3585 use 'const struct dirent **' as argument types to CMP function pointer
3586 argument.
3587 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3588 (File Times): Fix summary magic @comment for struct utimbuf and utime
3589 to refer to utime.h, not time.h.
3590 * manual/string.texi (Argz Functions): Add missing const in
3591 argz_extract and argz_next prototypes.
3592 (Finding Tokens in a String): Likewise for basename.
3593 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3594 (Copying and Concatenation): Fix typo in wmemmove prototype.
3595 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3596 (Signal Stack): Remove erroneous const in sigstack prototype.
3597 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3598 prototype.
3599 (Simple Calendar Time): Likewise for stime.
3600 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3601 prototype.
3602 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3603 say sys/sysctl.h instead.
3604 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3605 and vsyslog prototypes.
3606
fe77fe6d
TV
36072013-02-11 Tom de Vries <tom@codesourcery.com>
3608
3609 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3610 Remove.
3611
3a09b620
RM
36122013-02-11 Roland McGrath <roland@hack.frob.com>
3613
3614 * misc/sys/mman.h: Fix typo in mremap comment.
3615
550a0b89
RM
36162013-02-08 Roland McGrath <roland@hack.frob.com>
3617
3618 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3619 the '\0' terminator.
3620
a2da1673
JM
36212013-02-08 Joseph Myers <joseph@codesourcery.com>
3622
3623 [BZ #13550]
3624 * debug/segfault.c: Don't include <bp-checks.h>.
3625 * sysdeps/generic/bp-checks.h: Remove file.
3626 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3627 (__GETDENTS): Don't use CHECK_N.
3628 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3629 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3630 (__getgroups): Don't use CHECK_N.
3631 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3632 (setgroups): Don't use CHECK_N.
3633 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3634 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3635 (__libc_msgrcv): Don't use CHECK_N.
3636 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3637 (__libc_msgsnd): Don't use CHECK_N.
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3639 <bp-checks.h>.
3640 (__libc_pread): Don't use CHECK_N.
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3642 include <bp-checks.h>.
3643 (__libc_pread64): Don't use CHECK_N.
3644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3645 include <bp-checks.h>.
3646 (__libc_pwrite): Don't use CHECK_N.
3647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3648 include <bp-checks.h>.
3649 (__libc_pwrite64): Don't use CHECK_N.
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3651 <bp-checks.h>.
3652 (__libc_pread): Don't use CHECK_N.
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3654 include <bp-checks.h>.
3655 (__libc_pread64): Don't use CHECK_N.
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3657 include <bp-checks.h>.
3658 (__libc_pwrite): Don't use CHECK_N.
3659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3660 include <bp-checks.h>.
3661 (__libc_pwrite64): Don't use CHECK_N.
3662 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3663 (do_pread): Don't use CHECK_N.
3664 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3665 (do_pread64): Don't use CHECK_N.
3666 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3667 (do_pwrite): Don't use CHECK_N.
3668 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3669 (do_pwrite64): Don't use CHECK_N.
3670 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3671 (__libc_readv): Don't use CHECK_N.
3672 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3673 (semop): Don't use CHECK_N.
3674 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3675 <bp-checks.h>.
3676 (semtimedop): Don't use CHECK_N.
3677 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3678 (__libc_pread): Don't use CHECK_N.
3679 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3680 <bp-checks.h>.
3681 (__libc_pread64): Don't use CHECK_N.
3682 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3683 <bp-checks.h>.
3684 (__libc_pwrite): Don't use CHECK_N.
3685 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3686 <bp-checks.h>.
3687 (__libc_pwrite64): Don't use CHECK_N.
3688 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3689 <bp-checks.h>.
3690 (__libc_msgrcv): Don't use CHECK_N.
3691 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3692 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3693 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3694 (__libc_writev): Don't use CHECK_N.
3695
b84660a8
RM
36962013-02-08 Roland McGrath <roland@hack.frob.com>
3697
7f3e75f8
RM
3698 * string/strcpy.c: Removed unused variable.
3699
b84660a8
RM
3700 * Makeconfig (+sysdep-includes): Define with := rather than =.
3701 Use an existing include/ subdir of each sysdeps dir before it.
3702
471514d3
CD
37032013-02-08 Carlos O'Donell <carlos@redhat.com>
3704
3705 * nscd/connection.c (register_traced_file): Comment function.
3706 [HAVE_INOTIFY] (union __inev): Define.
3707 [HAVE_INOTIFY] (inotify_check_files): New function.
3708 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3709 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3710 clear_db_cache.
3711 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3712
b2d3c3be
CD
37132013-02-08 Carlos O'Donell <carlos@redhat.com>
3714
3715 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3716 loaded if not already and that a failure is permanent.
3717
b39949d2
CD
37182013-02-08 Carlos O'Donell <carlos@redhat.com>
3719
ddacd1db 3720 [BZ #15006]
b39949d2
CD
3721 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3722 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3723
b2c9eff4
JM
37242013-02-08 Joseph Myers <joseph@codesourcery.com>
3725
f3aae3f3
JM
3726 [BZ #13550]
3727 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3728 (CHECK_1_NULL_OK): Likewise.
3729 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3730 (__fxstat): Do not use CHECK_1.
3731 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3732 <bp-checks.h>.
3733 (___fxstat64): Do not use CHECK_1.
3734 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3735 <bp-checks.h>.
3736 (__fxstatat): Do not use CHECK_1.
3737 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3738 <bp-checks.h>.
3739 (__fxstatat64): Do not use CHECK_1.
3740 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3741 <bp-checks.h>.
3742 (__fxstat): Do not use CHECK_1.
3743 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3744 <bp-checks.h>.
3745 (__fxstatat): Do not use CHECK_1.
3746 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3747 <bp-checks.h>.
3748 (__getresgid): Do not use CHECK_1.
3749 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3750 <bp-checks.h>.
3751 (__getresuid): Do not use CHECK_1.
3752 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3753 <bp-checks.h>.
3754 (__lxstat): Do not use CHECK_1.
3755 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3756 <bp-checks.h>.
3757 (__old_msgctl): Do not use CHECK_1.
3758 (__new_msgctl): Likewise.
3759 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3760 <bp-checks.h>.
3761 (__new_setrlimit): Do not use CHECK_1.
3762 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3763 <bp-checks.h>.
3764 (__old_shmctl): Do not use CHECK_1.
3765 (__new_shmctl): Likewise.
3766 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3767 <bp-checks.h>.
3768 (__xstat): Do not use CHECK_1.
3769 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3770 (__lxstat): Do not use CHECK_1.
3771 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3772 <bp-checks.h>.
3773 (___lxstat64): Do not use CHECK_1.
3774 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3775 (__old_msgctl): Do not use CHECK_1.
3776 (__new_msgctl): Likewise.
3777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3778 <bp-checks.h>.
3779 (__gettimeofday): Do not use CHECK_1.
3780 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3781 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3782 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3783 <bp-checks.h>.
3784 (__gettimeofday): Do not use CHECK_1.
3785 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3786 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3787 (__new_shmctl): Do not use CHECK_1.
3788 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3789 <bp-checks.h>.
3790 (do_sigtimedwait): Do not use CHECK_1.
3791 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3792 <bp-checks.h>.
3793 (do_sigwaitinfo): Do not use CHECK_1.
3794 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3795 <bp-checks.h>.
3796 (msgctl): Do not use CHECK_1.
3797 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3798 <bp-checks.h>.
3799 (shmctl): Do not use CHECK_1.
3800 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3801 (ustat): Do not use CHECK_1.
3802 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3803 <bp-checks.h>.
3804 (__fxstat): Do not use CHECK_1.
3805 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3806 <bp-checks.h>.
3807 (__fxstatat): Do not use CHECK_1.
3808 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3809 <bp-checks.h>.
3810 (__lxstat): Do not use CHECK_1.
3811 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3812 <bp-checks.h>.
3813 (__xstat): Do not use CHECK_1.
3814 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3815 (__xstat): Do not use CHECK_1.
3816 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3817 (___xstat64): Do not use CHECK_1.
3818
b2c9eff4
JM
3819 [BZ #13550]
3820 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3821 definitions.
3822 (CHECK_BOUNDS_HIGH): Likewise.
3823 * string/strcpy.c: Do not include <bp-checks.h>.
3824 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3825
f1d70dad
RM
38262013-02-07 Roland McGrath <roland@hack.frob.com>
3827
3828 * nscd/nscd-client.h (__nscd_drop_map_ref):
3829 Add __attribute__ ((unused)).
3830 * nis/nss-nisplus.h (niserr2nss): Likewise.
3831
3832 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3833 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3834
3835 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3836 Remove inline keyword.
3837 * include/rounding-mode.h (round_away): Likewise.
3838 * libio/wfileops.c (adjust_wide_data): Likewise.
3839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3840 (__m128i_strloadu_tolower): Likewise.
3841 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3842 (__m128i_strloadu_tolower): Likewise.
3843 * time/mktime.c (ydhms_diff): Likewise.
3844 * locale/elem-hash.h (elem_hash): Likewise.
3845 * locale/setlocale.c (setdata): Likewise.
3846 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3847 (re_string_wchar_at): Likewise.
3848 (bitset_not, bitset_merge, bitset_mask): Likewise.
3849 [!(__GNUC__ > 3)] (inline): Remove macro.
3850 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3851 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3852 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3853 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3854 * string/memcmp.c (memcmp_bytes): Likewise.
3855 * locale/programs/locarchive.c (compute_hashval): Likewise.
3856 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3857 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3858 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3859 * nss/getent.c (print_rpc, print_protocols): Likewise.
3860 (print_passwd, print_group, print_aliases): Likewise.
3861 * nis/nss-nisplus.h (niserr2nss): Likewise.
3862 * nscd/connections.c (restart_p): Likewise.
3863 Change return type to bool.
3864
eab55bfb
RM
38652013-02-05 Roland McGrath <roland@hack.frob.com>
3866
7bd642f5
RM
3867 * Makeconfig (all-Depend-files): Add existing
3868 $(sorted-subdirs:=/Depend) files.
3869 (all-subdirs): Remove nss.
3870 * sysdeps/unix/inet/Subdirs: Add it here instead.
3871 * hesiod/Depend: New file.
3872
573c29b2
RM
3873 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3874 instead of calling alloca.
3875
b2e25af0
RM
3876 * io/lseek.c (__lseek): Rename to __libc_lseek.
3877 Define __lseek as an alias.
3878
eab55bfb
RM
3879 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3880
9a0d1941
CD
38812013-02-04 Carlos O'Donell <carlos@redhat.com>
3882
3883 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3884 else clause and remove check for non-standard endianness.
3885
b83bbec4
DM
38862013-02-04 David S. Miller <davem@davemloft.net>
3887
3888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3889
6277fdab
JM
38902013-02-04 Joseph Myers <joseph@codesourcery.com>
3891
3892 [BZ #13550]
3893 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3894 (__ubp_memchr): Remove prototype.
3895 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3896 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3897 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3898 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3899 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3900 Remove alias.
3901 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3902 (__ubp_memchr): Likewise.
3903 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3904 (__ubp_memchr): Likewise.
3905 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3906 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3907 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3908 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3909 CHECK_STRING.
3910 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3911 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3912 (__getcwd): Do not use CHECK_STRING.
3913 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3914 <bp-checks.h>.
3915 (__real_chown): Do not use CHECK_STRING.
3916 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3917 <bp-checks.h>.
3918 (fchownat): Do not use CHECK_STRING.
3919 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3920 CHECK_STRING.
3921 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3922 <bp-checks.h>.
3923 (__lchown): Do not use CHECK_STRING.
3924 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3925 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3926 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3927 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3929 include <bp-checks.h>.
3930 (truncate64): Do not use CHECK_STRING.
3931 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3932 <bp-checks.h>.
3933 (__real_chown): Do not use CHECK_STRING.
3934 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3935 <bp-checks.h>.
3936 (__lchown): Do not use CHECK_STRING.
3937 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3938 <bp-checks.h>.
3939 (__chown): Do not use CHECK_STRING.
3940 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3941 <bp-checks.h>.
3942 (truncate64): Do not use CHECK_STRING.
3943 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3944 Likewise.
3945 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3946 (__xmknod): Do not use CHECK_STRING.
3947 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3948 <bp-checks.h>.
3949 (__xmknodat): Do not use CHECK_STRING.
3950 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3951 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3952
903ae060
AS
39532013-02-04 Andreas Schwab <schwab@suse.de>
3954
3955 [BZ #14142]
3956 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3957 * include/netdb.h: Likewise for h_errno.
3958 * elf/tst-stackguard1.c: Include <tls.h>.
3959
542f9466
JK
39602013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3961
3962 * elf/link.h (struct link_map): Extend the l_addr comment.
3963 * include/link.h (struct link_map): Likewise.
3964
e782a927
JM
39652013-02-01 Joseph Myers <joseph@codesourcery.com>
3966
3967 [BZ #13550]
3968 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3969 (BOUNDED_1): Remove macro.
3970 * debug/backtrace.c: Don't include <bp-checks.h>.
3971 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3972 (__backtrace): Likewise.
3973 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3974 <bp-checks.h>.
3975 (__backtrace): Don't use BOUNDED_1.
3976 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3977 <bp-checks.h>.
3978 (__backtrace): Don't use BOUNDED_1.
3979 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3980 (__backtrace): Don't use BOUNDED_1.
3981 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3982 (shmat): Don't use BOUNDED_N.
3983
8cf28c5e
JM
39842013-01-31 Joseph Myers <joseph@codesourcery.com>
3985
3a7ac8a0
JM
3986 [BZ #13550]
3987 * sysdeps/generic/bp-start.h: Remove file.
3988 * csu/libc-start.c: Don't include <bp-start.h>.
3989 (LIBC_START_MAIN): Set up __environ directly instead of using
3990 INIT_ARGV_and_ENVIRON.
3991 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3992 <bp-start.h>.
3993
f3499f95
JM
3994 [BZ #13550]
3995 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3996 definitions.
3997 (CHECK_FCNTL): Likewise.
3998 (CHECK_N_PAGES): Likewise.
3999
32a45bea
JM
4000 [BZ #13550]
4001 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4002 definitions.
4003 (CHECK_SIGSET_NULL_OK): Likewise.
4004 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4005 <bp-checks.h>.
4006 (sigpending): Don't use CHECK_SIGSET.
4007 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4008 <bp-checks.h>.
4009 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4010 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4011 <bp-checks.h>.
4012 (do_sigsuspend): Don't use CHECK_SIGSET.
4013 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4014 use CHECK_SIGSET.
4015 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4016 (do_sigwait): Don't use CHECK_SIGSET.
4017 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4018 use CHECK_SIGSET.
4019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4020 include <bp-checks.h>.
4021 (sigpending): Don't use CHECK_SIGSET.
4022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4023 include <bp-checks.h>.
4024 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4025 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4026 <bp-checks.h>.
4027 (sigpending): Don't use CHECK_SIGSET.
4028 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4029 <bp-checks.h>.
4030 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4031
2e8a5c8c
JM
4032 [BZ #13550]
4033 * sysdeps/generic/bp-semctl.h: Remove file.
4034 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4035 <bp-checks.h> and <bp-semctl.h>.
4036 (__old_semctl): Don't use CHECK_SEMCTL.
4037 (__new_semctl): Likewise.
4038 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4039 and <bp-semctl.h>.
4040 (__old_semctl): Don't use CHECK_SEMCTL.
4041 (__new_semctl): Likewise.
4042 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4043 <bp-checks.h> and <bp-semctl.h>.
4044 (__old_semctl): Don't use CHECK_SEMCTL.
4045 (__new_semctl): Likewise.
4046 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4047 <bp-checks.h> and <bp-semctl.h>.
4048 (semctl): Don't use CHECK_SEMCTL.
4049
c2d54929
JM
4050 [BZ #13550]
4051 * Makerules (elide-bp-thunks): Remove variable.
4052 (elide-routines.oS): Don't use $(elide-bp-thunks).
4053 (elide-routines.os): Likewise.
4054 (elide-routines.o): Likewise.
4055 (elide-routines.op): Likewise.
4056 (elide-routines.og): Likewise.
4057 (objects): Don't use $(bp-thunks).
4058 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4059 include.
4060 (common-generated): Do not add s-proto-bp.d.
4061 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4062 (int): Likewise.
4063 (typ): Likewise.
4064 Do not generate makefile rules for bounded-pointer thunks.
4065 * sysdeps/generic/bp-thunks.h: Remove file.
4066 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4067 * sysdeps/unix/s-proto-bp.S: Likewise.
4068
8cf28c5e
JM
4069 [BZ #15062]
4070 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4071 parts of result separately when argument is not close to line from
4072 -i to i and one part of argument is small.
4073 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4074 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4075 * math/libm-test.inc (cacos_test): Add more tests.
4076 (casin_test): Likewise.
4077 (casinh_test): Likewise.
4078 * sysdeps/i386/fpu/libm-test-ulps: Update.
4079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4080
c4e33b8d
DM
40812013-01-31 David S. Miller <davem@davemloft.net>
4082
4083 * po/de.po: Update from translation team.
4084
3b60b421
MK
40852013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4086
4087 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4088
bb931195
TS
40892013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4090
b5a5da23
TS
4091 * configure.in (_AC_PROG_CC_C89): New definition.
4092 * configure: Regenerate.
4093
bb931195
TS
4094 * configure.in (AC_PROG_CPP): New definition.
4095 * configure: Regenerate.
4096
8c53a12c
JM
40972013-01-23 Joseph Myers <joseph@codesourcery.com>
4098
4099 * debug/tst-backtrace.h: New file.
4100 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4101 (ret): Remove variable.
4102 (x): Likewise.
4103 (FAIL): Remove macro.
4104 (NO_INLINE): Likewise.
4105 (fn1): Use match function instead of strstr.
4106 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4107 (ret): Remove variable.
4108 (x): Likewise.
4109 (FAIL): Remove macro.
4110 (NO_INLINE): Likewise.
4111 (fn): Use match function instead of strstr.
4112 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4113 (ret): Remove variable.
4114 (x): Likewise.
4115 (FAIL): Remove macro.
4116 (NO_INLINE): Likewise.
4117 (handle_signal): Use match function instead of strstr.
4118 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4119 (ret): Remove variable.
4120 (x): Likewise.
4121 (FAIL): Remove macro.
4122 (NO_INLINE): Likewise.
4123 (handle_signal): Use match function instead of strstr.
4124
4858fa2a
RM
41252013-01-23 Roland McGrath <roland@hack.frob.com>
4126
4127 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4128
bae8e7f5
DM
41292013-01-23 David S. Miller <davem@davemloft.net>
4130
4131 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4132 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4133 argument of CAS if possible.
4134 * sysdeps/sparc/sparc64/bits/atomic.h
4135 (__arch_compare_and_exchange_val_32_acq): Likewise.
4136 (__arch_compare_and_exchange_val_64_acq): Likewise.
4137
9cbbc4ae
PT
41382013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4139
4140 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4141 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4142 Include <limits.h>.
67b3f58c 4143 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4144
5655a0b5
AC
41452013-01-23 Adam Conrad <adconrad@0c3.net>
4146
4147 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4148 (LDFLAGS-tst-array5): Likewise.
4149
052aff95
JM
41502013-01-23 Joseph Myers <joseph@codesourcery.com>
4151
4152 [BZ #15036]
4153 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4154 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4155 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4156 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4157
7c1e01aa
DM
41582013-01-21 David S. Miller <davem@davemloft.net>
4159
4160 * sysdeps/sparc/backtrace.c: New file.
4161 * sysdeps/sparc/sparc32/backtrace.h: New file.
4162 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4163 * sysdeps/sparc/sparc64/backtrace.h: New file.
4164 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4165 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4166 -funwind-tables.
4167
ab087e0a
AS
41682013-01-21 Andreas Schwab <schwab@suse.de>
4169
4170 [BZ #15020]
4171 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4172 closed its stdout.
4173
ed689c2f
AS
41742013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4175
4176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4177 "mpa2.h".
4178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4179
31d470ac
JM
41802013-01-18 Joseph Myers <joseph@codesourcery.com>
4181 Mark Mitchell <mark@codesourcery.com>
4182 Tom de Vries <tom@codesourcery.com>
4183 Paul Pluzhnikov <ppluzhnikov@google.com>
4184
4185 * debug/tst-backtrace2.c: New file.
4186 * debug/tst-backtrace3.c: Likewise.
4187 * debug/tst-backtrace4.c: Likewise.
4188 * debug/tst-backtrace5.c: Likewise.
4189 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4190 (CFLAGS-tst-backtrace3.c): Likewise.
4191 (CFLAGS-tst-backtrace4.c): Likewise.
4192 (CFLAGS-tst-backtrace5.c): Likewise.
4193 (LDFLAGS-tst-backtrace2): Likewise.
4194 (LDFLAGS-tst-backtrace3): Likewise.
4195 (LDFLAGS-tst-backtrace4): Likewise.
4196 (LDFLAGS-tst-backtrace5): Likewise.
4197 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4198 tst-backtrace4 and tst-backtrace5.
4199
90567f30 42002013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4201 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4202
4203 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4204 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4205 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4206 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4208 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4209 "+r" and remove output regs list as redundant. Add explicit inline
4210 asm to specify register of return val to work around compiler codegen
4211 bug. Remove (int) cast on return value. Add return type parameter to
4212 use in macro so that this macro does not truncate return value for
4213 64-bit values.
4214 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4215 pass to INTERNAL_VSYSCALL_NCS.
4216 (INLINE_VSYSCALL): Add 'long int' as return type to
4217 INTERNAL_VSYSCALL_NCS macro invocation.
4218 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4219 INTERNAL_VSYSCALL_NCS macro invocation.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4221
d3b9ea61
SP
42222013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4223
0b57daeb
SP
4224 [BZ #14496]
4225 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4226 Fix application of SIMD FP exception mask.
4227
caa99d06
SP
4228 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4229 mp_no from a power of two.
4230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4231 __mpexp_twomm1. Use __pow_mp.
4232
d3b9ea61
SP
4233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4234 multiplication.
4235
1dbaee3c
DM
42362013-01-17 David S. Miller <davem@davemloft.net>
4237
4238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4239
728d7b43
JM
42402013-01-17 Joseph Myers <joseph@codesourcery.com>
4241
4242 [BZ #15023]
4243 * include/complex.h: Condition contents on [!_COMPLEX_H].
4244 (__kernel_casinhf): New prototype.
4245 (__kernel_casinh): Likewise.
4246 (__kernel_casinhl): Likewise.
4247 * math/Makefile (libm_calls): Add k_casinh.
4248 * math/k_casinh.c: New file.
4249 * math/k_casinhf.c: Likewise.
4250 * math/k_casinhl.c: Likewise.
4251 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4252 finite nonzero arguments.
4253 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4254 finite nonzero arguments.
4255 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4256 finite nonzero arguments.
4257 * math/s_casinh.c: Do not include <float.h>.
4258 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4259 * math/s_casinhf.c: Do not include <float.h>.
4260 (__casinhf): Move code for finite nonzero arguments to
4261 k_casinhf.c.
4262 * math/s_casinhl.c: Do not include <float.h>.
4263 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4264 redefine.
4265 (__casinhl): Move code for finite nonzero arguments to
4266 k_casinhl.c.
4267 * math/libm-test.inc (cacos_test): Add more tests.
4268 * sysdeps/i386/fpu/libm-test-ulps: Update.
4269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4270
2a26ef3a
PT
42712013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4272
4273 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4274 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4275 [!HAVE_MREMAP]: Remove [defined linux] case.
4276 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4277
a897655d
SP
42782013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4279
4280 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4281
881ebe89 42822013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4283
4284 * elf/elf.h (R_386_SIZE32): New relocation.
4285 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4286 R_386_SIZE32.
4287 (elf_machine_rela): Likewise.
4288 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4289 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4290
59981e9b
JM
42912013-01-17 Joseph Myers <joseph@codesourcery.com>
4292
4293 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4294 (FP_FAST_FMA): Do not define.
4295 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4296 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4297 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4298 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4299 !_SOFT_FLOAT]: Likewise.
4300 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4301 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4302 value.
4303 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4304 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4305 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4306 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4307 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4308 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4309 file.
4310
cfa8054f
AS
43112013-01-16 Andreas Schwab <schwab@suse.de>
4312
4313 [BZ #14327]
4314 * include/stdlib.h (__mktemp): Add declaration.
4315 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4316 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4317
dd930cc5
SP
43182013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4319
881ebe89
SP
4320 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4321 definitions.
4322 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4323 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4324 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4325 definitions here.
4326 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4327 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4328 definitions.
4329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4330 and ONE.
4331 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4332 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4333 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4334 definitions.
4335 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4336 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4337 definitions.
4338 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4339
dd930cc5
SP
4340 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4341
c19a9f89
DM
43422013-01-15 David S. Miller <davem@davemloft.net>
4343
1aa61767
DM
4344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4345 trunc{,f} to libm-sysdep_routes.
4346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4348 file.
4349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4351 file.
4352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4353 file.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4356 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4357 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4358 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4359 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4360 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4361 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4362
c42d5e98
DM
4363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4364 nearbyint{,f} to libm-sysdep_routes.
4365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4367 New file.
4368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4369 file.
4370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4371 New file.
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4373 file.
4374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4376 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4377 file.
4378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4379 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4380 file.
4381 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4382 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4383 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4384
c19a9f89
DM
4385 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4386 libc_feholdexcept and libc_fesetenv.
4387
357679d2
MF
43882013-01-15 Mike Frysinger <vapier@gentoo.org>
4389
4390 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4391
65a82e3d
DM
43922013-01-14 David S. Miller <davem@davemloft.net>
4393
8b954ab9
DM
4394 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4395 (SPARC_ASM_VIS2_IFUNC): Likewise.
4396 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4398 use of 'siam' instruction.
4399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4400 Likewise.
4401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4402 Likewise.
4403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4404 Likewise.
4405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4410 file.
4411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4412 file.
4413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4414 file.
4415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4416 file.
4417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4422 new VIS2 routines.
4423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4426 Likewise.
4427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4432 routines to libm-sysdep_routines.
4433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4434
65a82e3d
DM
4435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4436 fdim/fdimf to libm-sysdep_routines.
4437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4438 file.
4439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4441 file.
4442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4445 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4446 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4447 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4448 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4449
e34ab705
SP
44502013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4451
2a91b573
SP
4452 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4453 to optimize copies.
4454
1066a534
SP
4455 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4458
e34ab705
SP
4459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4460 local variable MPTWO.
4461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4462 Likewise.
4463
aba5e596
MF
44642013-01-13 Mike Frysinger <vapier@gentoo.org>
4465
4466 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4467 GLOB_NOESCAPE.
4468
e557e9e5
MF
44692013-01-13 Mike Frysinger <vapier@gentoo.org>
4470
4471 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4472
0428cec9
MF
44732013-01-13 Mike Frysinger <vapier@gentoo.org>
4474
4475 * manual/pattern.texi (glob_t): Document gl_flags.
4476 (glob64_t): Likewise.
4477
8794a964
DM
44782013-01-11 David S. Miller <davem@davemloft.net>
4479
66438c3f
RM
4480 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4481 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4482 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4483 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4484 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4485 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4486 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4487 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4488 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4489 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4490 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4491 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4492 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4493
4ae4244d
DM
4494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4495 sparc V9 rather than using V8 code.
4496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4498
8794a964
DM
4499 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4500 Move to...
4501 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4502 Here.
4503
6270516e
RM
45042013-01-11 Roland McGrath <roland@hack.frob.com>
4505
4506 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4507 not in the main loop.
4508 * configure: Regenerated.
4509
6a57d931
JM
45102013-01-11 Joseph Myers <joseph@codesourcery.com>
4511
4512 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4513 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4514 to just #else.
4515 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4516 [!__GLIBC_HAVE_LONG_LONG] case.
4517 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4518 condition to just #else.
4519 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4520 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4521 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4522 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4523 unconditional.
4524 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4525 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4526 #elif condition to just #else.
4527 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4528 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4529 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4530 #elif condition to just #else.
4531
0e8529e9
SE
45322013-01-11 Steve Ellcey <sellcey@mips.com>
4533
4534 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4535 (EF_MIPS_ARCH_64): Fix value.
4536 (EF_MIPS_ARCH_32R2): New.
4537 (EF_MIPS_ARCH_64R2): New.
4538
740b3dbe
L
45392013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4540
4541 * Makeconfig (+link-pie-before-libc): New.
4542 (+link-pie-after-libc): Likewise.
4543 (+link-pie-tests): Likewise.
4544 (+link-pie): Rewritten.
4545 (link-before-libc): Remove $(config-LDFLAGS).
4546 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4547 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4548 (config-LDFLAGS): Renamed to ...
4549 (rtld-LDFLAGS): This.
4550 (rtld-tests-LDFLAGS): New macro.
4551 (link-libc-rpath-link): Likewise.
4552 (link-libc-tests-rpath-link): Likewise.
4553 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4554 (link-libc): Prepand $(link-libc-rpath-link).
4555 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4556 (test-program-prefix): New macro.
4557 (test-via-rtld-prefix): Likewise.
4558 (test-program-cmd): Likewise.
4559 (host-test-program-cmd): Likewise.
4560 * Makefile ($(common-objpfx)testrun.sh): Replace
4561 $(run-program-prefix) with $(test-program-prefix).
4562 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4563 $(rtld-LDFLAGS).
4564 ($(common-objpfx)shlib.lds): Likewise.
4565 (build-module-helper): Likewise.
4566 ($(common-objpfx)format.lds): Likewise.
4567 * Rules (binaries-pie-tests): New.
4568 (binaries-pie-notests): Likewise.
4569 (binaries-pie): Rewritten.
4570 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4571 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4572 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4573 (make-test-out): Replace $(host-built-program-cmd) with
4574 $(host-test-program-cmd).
4575 * config.make.in (build-hardcoded-path-in-tests): New variable.
4576 * configure.in (--enable-hardcoded-path-in-tests): New configure
4577 option.
4578 (hardcoded_path_in_tests): New AC_SUBST.
4579 * configure: Regenerated.
4580 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4581 $(built-program-cmd) with $(test-program-cmd).
4582 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4583 (test_program_cmd): This.
4584 * elf/Makefile ($(objpfx)order.out): Run test with
4585 $(test-program-prefix).
4586 ($(objpfx)order2.out): Likewise.
4587 ($(objpfx)tst-initorder.out): Likewise.
4588 ($(objpfx)tst-initorder2.out): Likewise.
4589 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4590 $(test-program-cmd).
4591 ($(objpfx)tst-array1-static.out): Likewise.
4592 ($(objpfx)tst-array2.out): Likewise.
4593 ($(objpfx)tst-array3.out): Likewise.
4594 ($(objpfx)tst-array4.out): Likewise.
4595 ($(objpfx)tst-array5.out): Likewise.
4596 ($(objpfx)tst-array5-static.out): Likewise.
4597 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4598 $(test-program-cmd).
4599 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4600 $(run-program-prefix) with $(test-program-prefix).
4601 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4602 (test_program_prefix): This.
4603 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4604 $(run-program-prefix) with $(test-program-prefix).
4605 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4606 (test_program_prefix): This.
4607 * iconvdata/tst-tables.sh: Likewise.
4608 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4609 $(run-program-prefix) with $(test-program-prefix).
4610 ($(objpfx)tst-translit.out): Likewise.
4611 ($(objpfx)tst-gettext2.out): Likewise.
4612 ($(objpfx)tst-gettext4.out): Likewise.
4613 ($(objpfx)tst-gettext6.out): Likewise.
4614 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4615 (test_program_prefix): This.
4616 * intl/tst-gettext2.sh: Likewise.
4617 * intl/tst-gettext4.sh Likewise.
4618 * intl/tst-gettext6.sh: Likewise.
4619 * intl/tst-translit.sh: Likewise.
4620 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4621 with $(test-program-cmd).
4622 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4623 $(run-program-prefix) with $(test-program-prefix).
4624 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4625 (test_program_prefix): This.
4626 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4627 $(run-program-prefix) with $(test-program-prefix).
4628 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4629 (test_program_prefix): This.
4630 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4631 * posix/Makefile ($(objpfx)globtest.out): Replace
4632 $(run-via-rtld-prefix) and $(test-wrapper) with
4633 $(test-program-prefix) and $(test-via-rtld-prefix).
4634 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4635 $(test-program-prefix).
4636 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4637 $(host-test-program-cmd).
4638 (tst-spawn-ARGS): Likewise.
4639 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4640 $(test-program-prefix).
4641 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4642 (test_via_rtld_prefix): This.
4643 (test_wrapper): Renamed to ...
4644 (test_program_prefix): This.
4645 (run_program_prefix): Replaced by test_program_prefix.
4646 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4647 (test_program_prefix): This.
4648 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4649 with $(host-test-program-cmd).
4650 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4651 $(run-program-prefix) with $(test-program-prefix).
4652 ($(objpfx)tst-printf.out): Likewise.
4653 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4654 $(test-program-cmd).
4655 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4656 (test_program_prefix): This.
4657 * stdio-common/tst-unbputc.sh: Likewise.
4658 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4659 $(run-program-prefix) with $(test-program-prefix).
4660 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4661 (test_program_prefix): This.
4662 * string/Makefile ($(objpfx)tst-svc.out): Replace
4663 $(built-program-cmd) with $(test-program-cmd).
4664
c6fe55cf
AJ
46652013-01-11 Andreas Jaeger <aj@suse.de>
4666
4667 [BZ #15003]
4668 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4669 value. Sync with Linux 3.7.
4670
9e6919c8
DM
46712013-01-10 David S. Miller <davem@davemloft.net>
4672
4673 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4676
1c9f1a02
RM
46772013-01-10 Roland McGrath <roland@hack.frob.com>
4678
4679 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4680 never set.
4681 * configure: Regenerated.
4682
b9de2dde
DM
46832013-01-10 David S. Miller <davem@davemloft.net>
4684
4685 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4686 sparc V9 rather than using V8 code.
4687 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4688 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4689
e7f68ef4
RM
46902013-01-10 Roland McGrath <roland@hack.frob.com>
4691
4692 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4693 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4694 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4695 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4696 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4697 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4698 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4699 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4700 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4701 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4702 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4703 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4704 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4705 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4706 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4707 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4708 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4709 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4710 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4711 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4712 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4713 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4714 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4715 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4716 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4717 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4718 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4719
5a47cc9c
DM
47202013-01-10 David S. Miller <davem@davemloft.net>
4721
4722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4723
4cf8f209
L
47242013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4725
4726 * posix/Makefile (tests-static): New variable.
4727 (tests): Add $(tests-static).
4728 (tst-exec-static-ARGS): New variable.
4729 (tst-spawn-static-ARGS): Likewise.
4730 * posix/tst-exec-static.c: New file.
4731 * posix/tst-spawn-static.c: Likewise.
4732 * posix/tst-exec.c: Support run directly.
4733 * posix/tst-spawn.c: Likewise.
4734
fed0faa1
JM
47352013-01-10 Joseph Myers <joseph@codesourcery.com>
4736
828beb13
JM
4737 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4738 long.
4739 * math/bits/mathcalls.h (llrint): Likewise.
4740 (llround): Likewise.
4741 * stdlib/stdlib.h (struct drand48_data): Likewise.
4742 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4743 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4744 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4745 Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4747 Likewise.
4748 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4749 (elf_greg_t): Likewise.
4750 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4751 (__jmp_buf): Likewise.
4752 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4753 definitions.
4754 (llrint): Likewise, for all definitions.
4755 (llrintl): Likewise.
4756
fed0faa1
JM
4757 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4758 Remove [__GNUC__] condition.
4759 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4760 condition to just [__USE_ISOC99].
4761 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4762
1a20cb20
L
47632013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4764
4765 [BZ #14200]
4766 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4767 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4768 defined.
4769 (_POSIX_V6_ILP32_OFF32): Likewise.
4770 (_XBS5_ILP32_OFF32): Likewise.
4771 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4772 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4773
751b85f7
SP
47742013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4775
7490eb81
SP
4776 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4777
751b85f7
SP
4778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4779 doubles __mpexp_twomm1. Adjust usage.
4780 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4781 Remove.
4782
988197f0
AS
47832013-01-10 Andreas Schwab <schwab@suse.de>
4784
4785 [BZ #14964]
4786 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4787 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4788
e83d7298
DM
47892013-01-09 David S. Miller <davem@davemloft.net>
4790
034ed64b 4791 [BZ #15003]
e83d7298
DM
4792 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4793 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4794 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4795 TCP_FASTOPEN): Define.
4796 (tcp_repair_opt): New structure.
4797 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4798 enum values.
4799 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4800 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4801 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4802 (tcp_cookie_transactions): New structure.
4803
d5e0b9bd
AB
48042013-01-09 Anton Blanchard <anton@samba.org>
4805
4806 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4807 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4809 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4810
0c07e3ea
JM
48112013-01-09 Joseph Myers <joseph@codesourcery.com>
4812
4813 * include/features.h (__USE_ANSI): Remove.
4814
232f7002
RM
48152013-01-09 Roland McGrath <roland@hack.frob.com>
4816
ad98e30c
RM
4817 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4818
232f7002
RM
4819 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4820
950c99ca
SP
48212013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4822
b5792741
SP
4823 * sysdeps/s390/fpu/libm-test-ulps: Update.
4824
47cf2278
SP
4825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4826
950c99ca
SP
4827 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4828 (__acr): Likewise.
4829 (__cpy): Likewise.
4830 (norm): Likewise.
4831 (denorm): Likewise.
4832 (__mp_dbl): Likewise.
4833 (__dbl_mp): Likewise.
4834 (add_magnitudes): Likewise.
4835 (sub_magnitudes): Likewise.
4836 (__add): Likewise.
4837 (__sub): Likewise.
4838 (__mul): Likewise.
4839 (__inv): Likewise.
4840 (__dvd): Likewise.
4841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4842 (__acr): Likewise.
4843 (__cpy): Likewise.
4844 (norm): Likewise.
4845 (denorm): Likewise.
4846 (__mp_dbl): Likewise.
4847 (__dbl_mp): Likewise.
4848 (add_magnitudes): Likewise.
4849 (sub_magnitudes): Likewise.
4850 (__add): Likewise.
4851 (__sub): Likewise.
4852 (__mul): Likewise.
4853 (__inv): Likewise.
4854 (__dvd): Likewise.
4855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4856 (__acr): Likewise.
4857 (__cpy): Likewise.
4858 (norm): Likewise.
4859 (denorm): Likewise.
4860 (__mp_dbl): Likewise.
4861 (__dbl_mp): Likewise.
4862 (add_magnitudes): Likewise.
4863 (sub_magnitudes): Likewise.
4864 (__add): Likewise.
4865 (__sub): Likewise.
4866 (__mul): Likewise.
4867 (__inv): Likewise.
4868 (__dvd): Likewise.
4869
eede9df9
JM
48702013-01-08 Joseph Myers <joseph@codesourcery.com>
4871
4872 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4873 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4874 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4875 2 && __USE_EXTERN_INLINES]: Likewise.
4876
c40ea3d9
AJ
48772013-01-08 Andreas Jaeger <aj@suse.de>
4878
4879 [BZ# 14985]
4880 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4881 Remove.
4882 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4883 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4884
2ccdea26
AB
48852013-01-07 Anton Blanchard <anton@samba.org>
4886
4887 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4888 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4889 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4890 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4891 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4892 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4893 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4894 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4896 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4898 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4900 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4901 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4903 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4905 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4907 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4908 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4909 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4910 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4911 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4912 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4913 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4914 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4916 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4917 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4919 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4920 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4921 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4923 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4924 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4927 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4929 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4930
a9708fed
JM
49312013-01-07 Joseph Myers <joseph@codesourcery.com>
4932
375607b9
JM
4933 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4934 (__MALLOC_PMT): Likewise.
4935 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4936 [__GNUC__], only on [_LIBC].
4937 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4938 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4939 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4940 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4941 forward declaration.
4942 (realloc_hook_ini): Likewise.
4943 (memalign_hook_ini): Likewise.
4944 (__libc_memalign): Do not use __MALLOC_PMT in variable
4945 declaration.
4946 (__libc_valloc): Likewise.
4947 (__libc_pvalloc): Likewise.
4948 (__libc_calloc): Likewise.
4949 (__posix_memalign): Likewise.
4950
a9708fed
JM
4951 [BZ #14996]
4952 * math/s_casinh.c: Include <float.h>.
4953 (__casinh): Do not do computation with squaring and square root
4954 for large arguments.
4955 * math/s_casinhf.c: Include <float.h>.
4956 (__casinhf): Do not do computation with squaring and square root
4957 for large arguments.
4958 * math/s_casinhl.c: Include <float.h>.
4959 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4960 (__casinhl): Do not do computation with squaring and square root
4961 for large arguments.
4962 * math/libm-test.inc (casin_test): Add more tests.
4963 (casinh_test): Likewise.
4964 * sysdeps/i386/fpu/libm-test-ulps: Update.
4965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4966
afec409a
L
49672013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4968
4969 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4970 (__x86_64_raw_data_cache_size): Likewise.
4971 (__x86_64_data_cache_size_half): Likewise.
4972 (__x86_64_raw_data_cache_size_half): Likewise.
4973 (__x86_64_shared_cache_size): Likewise.
4974 (__x86_64_raw_shared_cache_size): Likewise.
4975 (__x86_64_shared_cache_size_half): Likewise.
4976 (__x86_64_raw_shared_cache_size_half): Likewise.
4977 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4978 to ...
4979 (__x86_data_cache_size): This.
4980 (__x86_64_raw_data_cache_size): Renamed to ...
4981 (__x86_raw_data_cache_size): This.
4982 (__x86_64_data_cache_size_half): Renamed to ...
4983 (__x86_data_cache_size_half): This.
4984 (__x86_64_raw_data_cache_size_half): Renamed to ...
4985 (__x86_raw_data_cache_size_half): This.
4986 (__x86_64_shared_cache_size): Renamed to ...
4987 (__x86_shared_cache_size): This.
4988 (__x86_64_raw_shared_cache_size): Renamed to ...
4989 (__x86_raw_shared_cache_size): This.
4990 (__x86_64_shared_cache_size_half): Renamed to ...
4991 (__x86_shared_cache_size_half): This.
4992 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4993 (__x86_raw_shared_cache_size_half): This.
4994 * sysdeps/x86_64/memcpy.S: Updated.
4995 * sysdeps/x86_64/memset.S: Likewise.
4996 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4997 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4999
0b3986d0
DM
50002013-01-04 David S. Miller <davem@davemloft.net>
5001
5002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5003
e47686e9
AS
50042013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5005
d643bac1
AS
5006 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5007 1 to avoid redefinition warning.
5008 (__USE_GNU): Don't define.
5009 (init_signaling_nan): Protoize.
5010
e47686e9
AS
5011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5012
b18decba
SP
50132013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5014
fffb407f
SP
5015 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5017 (__cpymn): Likewise.
5018 (norm): Remove commented code.
5019 (denorm): Likewise.
5020 (__mp_dbl): Likewise.
5021 (__inv): Likewise.
5022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5023 (__cpymn): Likewise.
5024 (norm): Remove commented code.
5025 (denorm): Likewise.
5026 (__mp_dbl): Likewise.
5027 (__inv): Likewise.
5028
b18decba
SP
5029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5030 mp_no value for 1.0 and 2.0.
5031 (norm): Use RADIXI instead of radixi.d.
5032 (denorm): Likewise.
5033 (__mul): Use 0.0 instead of zero.d.
5034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5035 mp_no value for 1.0 and 2.0.
5036 (norm): Use RADIXI instead of radixi.d.
5037 (denorm): Likewise.
5038 (__mul): Use 0.0 instead of zero.d.
5039
cdc1c96f
JM
50402013-01-04 Joseph Myers <joseph@codesourcery.com>
5041
5042 [BZ #14994]
5043 * math/s_casinh.c (__casinh): Reduce finite argument to first
5044 quadrant then set signs of results at the end.
5045 * math/s_casinhf.c (__casinhf): Likewise.
5046 * math/s_casinhl.c (__casinhl): Likewise.
5047 * math/libm-test.inc (casin_test): Add more tests.
5048 (casinh_test): Likewise.
5049 * sysdeps/i386/fpu/libm-test-ulps: Update.
5050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5051
302913e1
SP
50522013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5053
6420d207
SP
5054 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5055
a9e48ab4
SP
5056 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5057
b7837264
SP
5058 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5059 declarations.
5060 (denorm): Likewise.
5061 (__mp_dbl): Likewise.
5062 (__inv): Likewise.
5063
f8af25d2
SP
5064 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5065 and adjust the header comment.
5066
302913e1
SP
5067 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5068 variable name from declaration.
5069
5d7dd1ca
L
50702013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5071
5072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5073 Initialize COMMON_CPUID_INDEX_7 element.
5074 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5075 (CPUID_RTM): Likewise.
5076 (HAS_RTM): Likewise.
5077 (COMMON_CPUID_INDEX_7): New enum.
5078
2f5f40f4
AS
50792013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5080
5081 [BZ #14981]
5082 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5083 size is zero, record memory as freed.
5084
4056f4a0
AJ
50852013-01-03 Andreas Jaeger <aj@suse.de>
5086
5087 * po/ia.po: Add new Interlingua translation.
5088
ab15736f 50892012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5090
5091 * locale/programs/localedef.c: Fix description of '--posix' flag.
5092
568035b7
JM
50932013-01-02 Joseph Myers <joseph@codesourcery.com>
5094
e6898b8d
JM
5095 * NEWS: Update dates in second copyright notice.
5096 * README: Update copyright dates in example.
5097 * manual/libc.texinfo: Update copyright dates.
5098 * scripts/test-installation.pl: Update copyright date in --version
5099 output.
5100
0e2f9562
JM
5101 * hurd/ctty-input.c: Fix copyright notice formatting.
5102 * hurd/ctty-output.c: Likewise.
5103 * hurd/dtable.c: Likewise.
5104 * hurd/hurd-raise.c: Likewise.
5105 * hurd/hurdprio.c: Likewise.
5106 * hurd/msgportdemux.c: Likewise.
5107 * misc/sys/file.h: Likewise.
5108 * misc/sys/ioctl.h: Likewise.
5109 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5110 * sysdeps/mach/hurd/chdir.c: Likewise.
5111 * sysdeps/mach/hurd/fchdir.c: Likewise.
5112 * sysdeps/mach/hurd/rename.c: Likewise.
5113 * sysdeps/mach/hurd/rmdir.c: Likewise.
5114 * sysdeps/mach/hurd/seekdir.c: Likewise.
5115 * sysdeps/mach/hurd/setsid.c: Likewise.
5116 * sysdeps/posix/wait3.c: Likewise.
5117
568035b7
JM
5118 * All files with FSF copyright notices: Update copyright dates
5119 using scripts/update-copyrights.
5120 * intl/plural.c: Regenerated.
5121 * locale/programs/charmap-kw.h: Likewise.
5122 * locale/programs/locfile-kw.h: Likewise.
5123
da08f647
SP
51242013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5125
0f5477af
SP
5126 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5127 four values.
5128
44e0d4c2
SP
5129 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5130 calculation loop and add branch prediction.
5131
4d55b4e5
SP
5132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5133 check access beyond bounds of m1np.
5134
da08f647
SP
5135 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5136 MPTWO.
5137 (__inv): Remove local variable MPTWO to use the global
5138 constant.
5139 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5140 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5141 variable MPTWO.
5142 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5143 MP3HALFS static const.
5144
8e051029
DM
51452013-01-01 David S. Miller <davem@davemloft.net>
5146
5147 * po/ca.po: Update from translation team.
5148
f4cf5f2d
JM
51492013-01-01 Joseph Myers <joseph@codesourcery.com>
5150
5151 * scripts/update-copyrights: New file.
5152 * Makeconfig: Reformat copyright notice.
5153 * ctype/ctype.h: Likewise.
5154 * debug/swprintf_chk.c: Likewise.
5155 * elf/dl-cache.c: Likewise.
5156 * elf/dl-debug.c: Likewise.
5157 * elf/dl-object.c: Likewise.
5158 * grp/initgroups.c: Likewise.
5159 * hurd/Makefile: Likewise.
5160 * hurd/hurd/signal.h: Likewise.
5161 * hurd/hurdfault.c: Likewise.
5162 * hurd/hurdioctl.c: Likewise.
5163 * hurd/hurdlookup.c: Likewise.
5164 * hurd/intr-msg.c: Likewise.
5165 * iconv/gconv_open.c: Likewise.
5166 * libio/swprintf.c: Likewise.
5167 * locale/lc-ctype.c: Likewise.
5168 * locale/nl_langinfo.c: Likewise.
5169 * mach/Machrules: Likewise.
5170 * mach/Makefile: Likewise.
5171 * malloc/obstack.h: Likewise.
5172 * manual/Makefile: Likewise.
5173 * manual/tsort.awk: Likewise.
5174 * misc/bits/stab.def: Likewise.
5175 * nis/nis_print_group_entry.c: Likewise.
5176 * nis/nis_table.c: Likewise.
5177 * nis/nss_compat/compat-pwd.c: Likewise.
5178 * nis/nss_compat/compat-spwd.c: Likewise.
5179 * po/Makefile: Likewise.
5180 * posix/fnmatch.c: Likewise.
5181 * posix/regex.h: Likewise.
5182 * resolv/Makefile: Likewise.
5183 * resolv/nss_dns/dns-network.c: Likewise.
5184 * resolv/res_hconf.c: Likewise.
5185 * scripts/gen-sorted.awk: Likewise.
5186 * soft-fp/soft-fp.h: Likewise.
5187 * stdio-common/printf.h: Likewise.
5188 * stdlib/monetary.h: Likewise.
5189 * stdlib/random.c: Likewise.
5190 * stdlib/random_r.c: Likewise.
5191 * sysdeps/generic/Makefile: Likewise.
5192 * sysdeps/gnu/Makefile: Likewise.
5193 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5195 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5197 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5200 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5203 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5205 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5206 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5207 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5208 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5209 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5210 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5213 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5214 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5221 * sysdeps/mach/hurd/errnos.awk: Likewise.
5222 * sysdeps/mach/hurd/fork.c: Likewise.
5223 * sysdeps/mach/hurd/getcwd.c: Likewise.
5224 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5225 * sysdeps/mach/hurd/mmap.c: Likewise.
5226 * sysdeps/mach/hurd/utimes.c: Likewise.
5227 * sysdeps/mach/hurd/xmknod.c: Likewise.
5228 * sysdeps/posix/profil.c: Likewise.
5229 * sysdeps/posix/readdir_r.c: Likewise.
5230 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5231 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5232 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5233 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5235 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5236 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5237 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5239 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5240 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5241 * sysdeps/pthread/lio_listio.c: Likewise.
5242 * sysdeps/sparc/dl-procinfo.h: Likewise.
5243 * sysdeps/unix/i386/sysdep.S: Likewise.
5244 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5245 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5246 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5247 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5249 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5250 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5251 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5252 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5253 * sysdeps/wordsize-32/divdi3.c: Likewise.
5254 * time/sys/time.h: Likewise.
5255 * wcsmbs/Makefile: Likewise.
5256
0549fbba
DM
52572013-01-01 David S. Miller <davem@davemloft.net>
5258
a141f1a7
DM
5259 * po/fr.po: Update from translation team.
5260
0549fbba
DM
5261 * catgets/gencat.c: Update copyright year.
5262 * csu/version.c: Likewise.
5263 * debug/catchsegv.sh: Likewise.
5264 * debug/pcprofiledump.c: Likewise.
5265 * debug/xtrace.sh: Likewise.
5266 * elf/ldconfig.c: Likewise.
5267 * elf/ldd.bash.in: Likewise.
5268 * elf/pldd.c: Likewise.
5269 * elf/sotruss.ksh: Likewise.
5270 * elf/sprof.c: Likewise.
5271 * iconv/iconv_prog.c: Likewise.
5272 * iconv/iconvconfig.c: Likewise.
5273 * locale/programs/locale.c: Likewise.
5274 * locale/programs/localedef.c: Likewise.
5275 * login/programs/pt_chown.c: Likewise.
5276 * malloc/memusage.sh: Likewise.
5277 * malloc/memusagestat.c: Likewise.
5278 * malloc/mtrace.pl: Likewise.
5279 * nscd/nscd.c: Likewise.
5280 * nss/getent.c: Likewise.
5281 * nss/makedb.c: Likewise.
5282 * posix/getconf.c: Likewise.
5283
18ea052c
SP
52842012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5285
5286 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5287 numbers.
5288
9c89fca6
MF
52892012-12-30 Mike Frysinger <vapier@gentoo.org>
5290
5291 * math/bits/mathcalls.h (modf): Use __nonnull.
5292
085ec079
SP
52932012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5294
5295 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5296 (split): Use macro CN instead of the bare value.
5297 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5298 could be used.
5299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5300 instead of the bare value.
5301 (power1): Likewise.
5302
6d9f97e1
SP
53032012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5304
d63f73be
SP
5305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5306 __ATAN_TWOM.
5307 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5308
6d9f97e1
SP
5309 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5310 their values.
5311 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5312 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5313 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5314 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5315
4c4febf5
AJ
53162012-12-28 Andreas Jaeger <aj@suse.de>
5317
af5843ef
AJ
5318 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5319 values are from Linux 3.7.
5320
4c4febf5
AJ
5321 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5322 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5323
99136f82
SP
53242012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5325
2f216c3c 5326 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5327 TRUE case.
5328
99136f82
SP
5329 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5330 (norm): Likewise.
5331 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5332 variables with preprocessor constants.
5333 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5334 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5335 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5336
7fffbdff
BH
53372012-12-27 Bruno Haible <bruno@clisp.org>
5338
5339 [BZ #14317]
5340 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5341 only if needed.
5342
b76eb5f0
SP
53432012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5344
31a7fe5c
SP
5345 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5346 and use variable directly.
5347 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5348
b76eb5f0
SP
5349 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5350 MPONE.
5351 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5353 variable MPONE.
5354 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5356 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5357 include directive. Remove local variable MPONE.
5358 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5359 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5361
2c8bfe7d
DM
53622012-12-25 David S. Miller <davem@davemloft.net>
5363
5364 * version.h (RELEASE): Set to "development".
5365 (VERSION): Set to "2.17.90".
5366 * NEWS: Add 2.18 section.
5367
147d03b0
DM
53682012-12-21 David S. Miller <davem@davemloft.net>
5369
5370 * po/hr.po: Update from translation team.
5371
a8ebb2b9
AK
53722012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5373
5374 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5375
95b4f1b6
SE
53762012-12-19 Steve Ellcey <sellcey@mips.com>
5377
b2d94007 5378 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5379
cedb2a90
MS
53802012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5381
5382 * manual/contrib.texi (Contributors): Spelling correction.
5383
bbf527d6
DM
53842012-12-15 David S. Miller <davem@davemloft.net>
5385
5386 * po/ru.po: Update from translation team.
5387
bc38c906
DM
53882012-12-13 David S. Miller <davem@davemloft.net>
5389
85429b1a
DM
5390 * NEWS: Mention IFUNC testsuite enhancements.
5391
d283e353
DM
5392 * po/pl.po: Update from translation team.
5393 * po/bg.po: Likewise.
5394
bc38c906
DM
5395 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5396 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5397
a181b0d7
DM
53982012-12-11 David S. Miller <davem@davemloft.net>
5399
4641d57e
DM
5400 * po/sv.po: Update from translation team.
5401
f7bc6495
DM
5402 * po/vi.po: Update from translation team.
5403
6fc9048f
DM
5404 * po/cs.po: Update from translation team.
5405
a181b0d7
DM
5406 * po/de.po: Update from translation team.
5407 * po/eo.po: Likewise.
5408 * po/nl.po: Likewise.
5409
f70bfe80
SP
54102012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5411
3c8b4190
SP
5412 [BZ #14246]
5413 * manual/argp.texi (Argp Helper Functions): Move node to follow
5414 Argp Parsing State.
5415
f70bfe80
SP
5416 [BZ #14872]
5417 * manual/conf.texi (Limits on File System Capacity): Mention if
5418 terminating null is included in the max size.
5419
188f0adf
AJ
54202012-12-10 Andreas Jaeger <aj@suse.de>
5421
5422 * po/cs.po: Update from translation team.
5423
56e7d3ad
SP
54242012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
5426 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5427 void pointer and cast to uintptr_t.
5428 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5429 path.
5430 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5431 * sysdeps/s390/s390-64/memset.S: Likewise.
5432
76f2d2ea 54332012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5434
5435 [BZ #14833]
5436 * menual/message.texi (Message Translation): Fix typos.
5437 (Helper programs for gettext): Likewise.
5438
67cbf9a2
AS
54392012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5440
5441 [BZ #14898]
5442 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5443 Change to -1.
5444
682d0e9a
DM
54452012-12-07 David S. Miller <davem@davemloft.net>
5446
5447 * po/libc.pot: Update.
5448
573cd484
RH
54492012-12-07 Richard Henderson <rth@redhat.com>
5450
7e9da188 5451 [BZ #10114]
573cd484
RH
5452 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5453 normal/normal case to before the switch.
5454 (_FP_DIV): Likewise.
5455
e933a943
MF
54562012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5457 Mike Frysinger <vapier@gentoo.org>
5458
5459 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5460 check for __NR_fadvise64_64.
5461
82123268
CM
54622012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5463
5464 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5465 0, not just to plain "0" as a statement.
5466 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5467 with cw.
5468
d9814526
JM
54692012-12-06 Joseph Myers <joseph@codesourcery.com>
5470
5471 * NEWS: Use sourceware.org in Bugzilla URL.
5472
7728c574
SP
54732012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5474
f16946dd
SP
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5476 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5477
5704bbcb
SP
5478 * stdio-common/tst-put-error.c (do_test): Add newline to the
5479 padded test to ensure flush.
5480
17aa0516
JL
54812012-12-05 Jeff Law <law@redhat.com>
5482
5483 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5484
363313b5
JM
54852012-12-05 Joseph Myers <joseph@codesourcery.com>
5486
effbd42a
JM
5487 * README: Don't refer to ports add-on as distributed separately.
5488 Mention AArch64 in list of systems supported in the ports add-on.
5489
87600365
JM
5490 * LICENSES: Add more non-FSF copyright and license notices.
5491
a0d7066a
JM
5492 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5493 ((unused)).
5494
66ca5a5b
JM
5495 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5496
363313b5
JM
5497 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5498 10000 as width of padded output.
5499
b37984ad
JM
55002012-12-04 Joseph Myers <joseph@codesourcery.com>
5501
9003570a
JM
5502 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5503
b37984ad
JM
5504 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5505 variable LX with __attribute__ ((unused)).
5506 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5507 Likewise.
5508 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5511 with __attribute__ ((unused)).
5512
c8df52ec
DM
55132012-12-04 David S. Miller <davem@abraco.davemloft.net>
5514
5515 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5516
b3b099af
JM
55172012-12-04 Joseph Myers <joseph@codesourcery.com>
5518
c33aa6e3
JM
5519 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5520 (CFLAGS-nldbl-acos.c): New variable.
5521 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5522 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5523 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5524 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5525 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5526 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5527 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5528 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5529 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5530 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5531 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5532 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5533 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5534 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5535 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5536 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5537 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5538 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5539 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5540 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5541 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5542 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5543 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5544 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5545 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5546 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5547 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5548 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5549 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5550 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5551 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5552 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5553 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5554 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5555 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5556 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5557 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5558 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5559 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5560 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5561 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5562 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5563 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5564 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5565 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5566 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5567 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5568 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5569 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5570 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5571 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5572 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5573 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5574 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5575 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5576 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5577 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5578 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5579 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5580 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5581 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5582 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5583 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5584 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5585 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5586 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5587 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5588 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5589 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5590 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5591 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5592 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5593 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5594 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5595 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5596 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5597 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5598 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5599 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5600 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5601 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5602 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5603 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5604 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5605 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5606 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5607 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5608 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5609 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5610 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5611 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5612 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5613 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5614 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5615 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5616 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5617 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5618
20f0018d
JM
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5620 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5621
b3b099af
JM
5622 [BZ #14914]
5623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5624 whole low double instead of just low 47 bits when splitting values
5625 into two parts.
5626
029264d1
AM
56272012-12-03 Allan McRae <allan@archlinux.org>
5628
5629 * manual/stdio.texi (Predefined Printf Handlers): Remove
5630 @hsep and @vsep usage.
5631
c9d6789e
MF
56322012-12-03 Mike Frysinger <vapier@gentoo.org>
5633
5634 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5635 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5636
4b7634a5
JL
56372012-12-03 Jeff Law <law@redhat.com>
5638
5639 * time/sys/time.h (settimeofday): Do not mark TV argument
5640 as __nonnull.
5641
eb6cbd24
MF
56422012-12-01 Mike Frysinger <vapier@gentoo.org>
5643
5644 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5645 when currently writing and seek to current position when not.
5646 * libio/Makefile (tests): Remove bug-fclose1.
5647 * libio/bug-fclose1.c: Delete.
5648
f638872a
JM
56492012-12-01 Joseph Myers <joseph@codesourcery.com>
5650
5651 * manual/arith.texi (feenableexcept): Fix typo.
5652 (fedisableexcept): Likewise.
5653
48085d14
RM
56542012-11-30 Roland McGrath <roland@hack.frob.com>
5655
5656 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5657 second, differently-typed declaration, rather than a cast.
5658
1a538b9f
SP
56592012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5660
5661 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5662 * include/rpc/svc.h: ... here.
5663
d07f2ff1 56642012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5665
5666 [BZ #13013]
5667 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5668 depending n and resplen2 to catch cases where answer
5669 equals answerp2.
5670
c93ec1f0
CD
56712012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5672
5673 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5674 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5675
37db69de
MF
56762012-11-29 Mike Frysinger <vapier@gentoo.org>
5677
5678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5679
e10c4e4f
RM
56802012-11-29 Roland McGrath <roland@hack.frob.com>
5681
5682 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5683
2af1b328
JL
56842012-11-28 Jeff Law <law@redhat.com>
5685
5686 [BZ #13761]
5687 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5688 dataset_temporary. Track alloca usage into alloca_used.
5689 If dataset is large allocate and release it via malloc/free.
5690
111db5b1
FW
56912012-06-04 Florian Weimer <fweimer@redhat.com>
5692
f06cc227 5693 [BZ #14197]
111db5b1
FW
5694 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5695
dd694abd
DM
56962012-11-28 David S. Miller <davem@davemloft.net>
5697
5698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5699
9984dd01
JM
57002012-11-28 Joseph Myers <joseph@codesourcery.com>
5701
5702 [BZ #14803]
5703 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5704 of pi/2 rounded to nearest to 64 bits.
5705 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5706 nearest to 64 bits.
5707 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5708 bits.
5709
14bc93a9
JL
57102012-11-28 Jeff Law <law@redhat.com>
5711 Martin Osvald <mosvald@redhat.com>
5712
5713 [BZ #14889]
5714 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5715 * sunrpc/svc.c: Include time.h.
5716 (__svc_accept_failed): New function.
5717 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5718 any reason other than EINTR, call __svc_accept_failed.
5719 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5720 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5721
e3c6aa3a
AS
57222012-11-28 Andreas Schwab <schwab@suse.de>
5723
5724 * scripts/abilist.awk: Also handle indirect functions in .opd
5725 section.
5726
1bead169
JM
57272012-11-28 Joseph Myers <joseph@codesourcery.com>
5728
5729 [BZ #13881]
5730 * sysdeps/x86/fpu/powl_helper.c: New file.
5731 * sysdeps/x86/fpu/Makefile: Likewise.
5732 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5733 (p3): New object.
5734 (__ieee754_powl): Use __powl_helper for finite arguments except
5735 integer exponents below 8.
5736 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5737 (p3): New object.
5738 (__ieee754_powl): Use __powl_helper for finite arguments except
5739 integer exponents below 8.
5740 * math/libm-test.inc (pow_test): Add more tests and enable some
5741 previously disabled tests.
5742 * sysdeps/i386/fpu/libm-test-ulps: Update.
5743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5744
0817d63d
SP
57452012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5746 Carlos O'Donell <carlos_odonell@mentor.com>
5747
5748 * nss/makedb.c (is_prime): Assert that input is odd and greater
5749 than 4. Note that fact in a comment too.
5750 (next_prime): Add 4 to input.
5751
de2fd463
SP
57522012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5753
5754 [BZ #11741]
5755 * libio/Makefile (tests): Add test case tst-fwrite-error.
5756 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5757 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5758 * libio/tst-fwrite-error.c: New test case.
5759
c515fb51
L
57602012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5761
5762 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5763 before casting to void *.
5764 * include/libc-internal.h (__pointer_type): New macro.
5765 (__integer_if_pointer_type_sub): Likewise.
5766 (__integer_if_pointer_type): Likewise.
5767 (cast_to_integer): Likewise.
5768 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5769 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5770 before casting to atomic64_t.
5771 (atomic_exchange_acq): Likewise.
5772 (__arch_exchange_and_add_body): Likewise.
5773 (__arch_add_body): Likewise.
5774 (atomic_add_negative): Likewise.
5775 (atomic_add_zero): Likewise.
5776
4cf77aa9
JM
57772012-11-26 Joseph Myers <joseph@codesourcery.com>
5778
5779 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5780 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5781 (add_fdes): Likewise.
5782 (linear_search_fdes): Likewise.
5783 (binary_search_unencoded_fdes): Likewise.
5784
d260b3b4
AS
57852012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5786
5787 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5788
67060746
AC
57892012-11-24 Adam Conrad <adconrad@0c3.net>
5790
5791 * configure.in: Autodetect C++ header directories.
5792 * configure: Regenerated.
5793
800938a1
MF
57942012-11-23 Mike Frysinger <vapier@gentoo.org>
5795
5796 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5797
4e6e34e6
AS
57982012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5799
5800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5801
7c7feb47
JM
58022012-11-22 Joseph Myers <joseph@codesourcery.com>
5803
7184dcdf
JM
5804 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5805 LDBL_MANT_DIG == 106]: Disable some tests.
5806 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5807 Likewise.
5808 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5809 Likewise.
5810
0a42601f
JM
5811 [BZ #14871]
5812 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5813 input for small inputs. Return +/- pi/2 for large inputs.
5814 * math/libm-test.inc (atan_test): Add more tests.
5815
79c9b9fe
JM
5816 * sysdeps/generic/unwind-dw2-fde-glibc.c
5817 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5818 __attribute__ ((unused)).
5819
c60d3bf2
JM
5820 [BZ #14645]
5821 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5822 x * y if x and y are nonzero and z is zero.
5823
ef1e0867
JM
5824 [BZ #14811]
5825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5826 nonzero exponents with absolute value below 0x1p-117 to +/-
5827 0x1p-117.
5828
1468ded3
JM
5829 [BZ #14869]
5830 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5831 up arguments below 2**-450, not just those below 2**-500.
5832 * math/libm-test.inc (hypot_test): Add another test.
5833
8e27e3cc
JM
5834 [BZ #14868]
5835 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5836 Return a+b for ratio over 2**120, not 2**60.
5837 * math/libm-test.inc (hypot_test): Add another test.
5838
c9c0279b
JM
5839 * math/libm-test.inc (clog_test): Use
5840 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5841 (clog10_test): Likewise.
5842
7c7feb47
JM
5843 [BZ #6778]
5844 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5845
fff1530e
AS
58462012-11-22 Andreas Schwab <schwab@suse.de>
5847
5848 * sysdeps/i386/fpu/libm-test-ulps: Update.
5849
94558d30
PT
58502012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5851
5852 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5853 printf output with newline.
5854
7e1be741
L
58552012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5856
6bfea974
L
5857 [BZ #14865]
5858 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5859 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5860 -z nodlopen, -z initfirst and -z execstack support.
5861 * configure: Regenerated.
5862
7e1be741
L
5863 * elf/elf.h (DF_1_NODIRECT): New macro.
5864 (DF_1_IGNMULDEF): Likewise.
5865 (DF_1_NOKSYMS): Likewise.
5866 (DF_1_NOHDR): Likewise.
5867 (DF_1_EDITED): Likewise.
5868 (DF_1_NORELOC): Likewise.
5869 (DF_1_SYMINTPOSE): Likewise.
5870 (DF_1_GLOBAUDIT): Likewise.
5871 (DF_1_SINGLETON): Likewise.
5872 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5873 DT_1_SUPPORTED_MASK bits.
5874 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5875
105ce2ce
CD
58762012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5877
5878 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5879
123be9de
TS
58802012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5881
d072f3f7
TS
5882 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5883 macro.
5884
123be9de
TS
5885 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5886 (sendmmsg): Move declarations...
5887 * socket/sys/socket.h: ... here.
5888 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5889 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5890 include it from...
5891 * socket/recvmmsg.c: ... this new file.
5892 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5893 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5894 definition of __sendmmsg hidden.
5895 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5896 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5897 Move ENOSYS stub into and include it from...
5898 * socket/sendmmsg.c: ... this new file.
5899 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5900 (sysdep_routines): Move recvmmsg and sendmmsg...
5901 * socket/Makefile (routines): ... here.
5902 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5903 (GLIBC_PRIVATE): Add __sendmmsg.
5904 * include/sys/socket.h (__sendmmsg): Add declarations.
5905 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5906 sendmmsg.
5907
cf9a5d18
JM
59082012-11-20 Joseph Myers <joseph@codesourcery.com>
5909
5910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5911 variable I1 with __attribute__ ((unused)).
5912 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5913
ecd4caf9
JM
59142012-11-19 Joseph Myers <joseph@codesourcery.com>
5915
be14d48f
JM
5916 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5917 DUMMY variables with __attribute__ ((unused)).
5918
ecd4caf9
JM
5919 * bits/byteswap.h: Include <bits/types.h>.
5920 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5921
986cab95
PT
59222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5923
5924 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5925 string_t. Do not manually set errno.
5926 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5927 length with __strnlen. Make sure to both set errno and return it on
5928 failure.
5929
6d33cc9d
DM
59302012-11-19 David S. Miller <davem@davemloft.net>
5931
5932 With help from Joseph Myers.
5933 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5934 very large arguments properly.
5935 * math/libm-test.inc (atan_test): New tests.
5936 (atan2_test): New tests.
5937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5939
ee663277
JM
59402012-11-19 Joseph Myers <joseph@codesourcery.com>
5941
877f2d8e
JM
5942 [BZ #14856]
5943 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5944 Define to 3.
5945
116fc08a
JM
5946 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5947 [POSIX] (EADDRNOTAVAIL): Likewise.
5948 [POSIX] (EAFNOSUPPORT): Likewise.
5949 [POSIX] (EALREADY): Likewise.
5950 [POSIX] (ECONNABORTED): Likewise.
5951 [POSIX] (ECONNREFUSED): Likewise.
5952 [POSIX] (ECONNRESET): Likewise.
5953 [POSIX] (EDESTADDRREQ): Likewise.
5954 [POSIX] (EDQUOT): Likewise.
5955 [POSIX] (EHOSTUNREACH): Likewise.
5956 [POSIX] (EIDRM): Likewise.
5957 [POSIX] (EISCONN): Likewise.
5958 [POSIX] (ELOOP): Likewise.
5959 [POSIX] (EMULTIHOP): Likewise.
5960 [POSIX] (ENETDOWN): Likewise.
5961 [POSIX] (ENETUNREACH): Likewise.
5962 [POSIX] (ENOBUFS): Likewise.
5963 [POSIX] (ENODATA): Likewise.
5964 [POSIX] (ENOLINK): Likewise.
5965 [POSIX] (ENOMSG): Likewise.
5966 [POSIX] (ENOPROTOOPT): Likewise.
5967 [POSIX] (ENOSR): Likewise.
5968 [POSIX] (ENOSTR): Likewise.
5969 [POSIX] (ENOTCONN): Likewise.
5970 [POSIX] (ENOTSOCK): Likewise.
5971 [POSIX] (EOPNOTSUPP): Likewise.
5972 [POSIX] (EOVERFLOW): Likewise.
5973 [POSIX] (EPROTO): Likewise.
5974 [POSIX] (EPROTONOSUPPORT): Likewise.
5975 [POSIX] (EPROTOTYPE): Likewise.
5976 [POSIX] (ESTALE): Likewise.
5977 [POSIX] (ETIME): Likewise.
5978 [POSIX] (ETXTBSY): Likewise.
5979 [POSIX] (EWOULDBLOCK): Likewise.
5980 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5981 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5982 [POSIX] (SEEK_CUR): Likewise.
5983 [POSIX] (SEEK_END): Likewise.
5984 [POSIX || UNIX98] (mode_t): Do not require.
5985 [POSIX] (off_t): Likewise.
5986 [POSIX] (pid_t): Likewise.
5987 [POSIX] (sys/stat.h): Do not allow header.
5988 [POSIX] (unistd.h): Likewise.
5989 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5990 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5991 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5992 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5993 require.
5994 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5995 sigevent): Specify elements.
5996 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5997 entry.
5998 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5999 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6000
a483863f
JM
6001 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6002 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6003 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6004 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6005 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6006 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6007 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6008 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6009 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6010 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6011 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6012 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6013 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6014 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6015 Likewise.
6016 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6017 Likewise.
6018 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6019 Likewise.
6020 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6021 Likewise.
6022 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6023 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6025 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6026 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6027 Specify lower bound on value.
6028 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6029 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6030 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6031 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6032 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6033 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6034 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6035 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6036 value.
6037 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6038 as optional.
6039 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6040 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6041 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6042 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6043 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6044 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6045 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6046 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6047 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6048 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6049 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6050 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6051 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6052 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6053 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6054 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6055 entry.
6056 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6057 optional.
6058 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6059 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6060 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6061 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6062 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6063 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6064 Likewise.
6065 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6066 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6067 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6068 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6069 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6070 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6071 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6072 as optional.
6073 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6075 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6076 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6077 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6078 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6079 specify as optional.
6080 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6081 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6082 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6083 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6084 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6085 [XPG3] (NL_LANGMAX): Likewise.
6086 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6087 [POSIX || XPG3] (NL_NMAX): Likewise.
6088 [POSIX || XPG3] (NL_SETMAX): Likewise.
6089 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6090 [XPG3] (NZERO): Likewise.
6091 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6092 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6093 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6094 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6095 (REG_ERANGE): Expect.
6096 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6097 optional-constant.
6098 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6099 Use (void) in prototype.
6100 [POSIX] (*_t): Allow.
6101 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6102 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6103 (WRDE_BADVAL): Expect.
6104
5ba924e3
JM
6105 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6106 expect.
6107 [XPG3 || XPG4] (O_RSYNC): Likewise.
6108 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6109 Likewise.
6110 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6111 [XPG3 || XPG4] (sigqueue): Likewise.
6112 [XPG3 || XPG4] (sigtimedwait): Likewise.
6113 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6114 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6115 [XPG3 || XPG4] (vsnprintf): Likewise.
6116 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6117 Likewise.
6118 [XPG3 || XPG4] (blksize_t): Likewise.
6119 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6120 Likewise.
6121 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6122 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6123 [XPG3 || XPG4] (struct itimerspec): Likewise.
6124 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6125 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6126 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6127 [XPG3 || XPG4] (clockid_t): Likewise.
6128 [XPG3 || XPG4] (timer_t): Likewise.
6129 [XPG3 || XPG4] (clock_getres): Likewise.
6130 [XPG3 || XPG4] (clock_gettime): Likewise.
6131 [XPG3 || XPG4] (clock_settime): Likewise.
6132 [XPG3 || XPG4] (nanosleep): Likewise.
6133 [XPG3 || XPG4] (timer_create): Likewise.
6134 [XPG3 || XPG4] (timer_delete): Likewise.
6135 [XPG3 || XPG4] (timer_gettime): Likewise.
6136 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6137 [XPG3 || XPG4] (timer_settime): Likewise.
6138 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6139 [XPG3 || XPG4] (getlogin_r): Likewise.
6140 [XPG3 || XPG4] (pread): Likewise.
6141 [XPG3 || XPG4] (pthread_atfork): Likewise.
6142 [XPG3 || XPG4] (pwrite): Likewise.
6143
ee663277
JM
6144 [BZ #14835]
6145 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6146 <bits/siginfo.h>.
6147
942caa16
PT
61482012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6149
e19af380
PT
6150 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6151 finalizing MALLSTREAM.
6152
942caa16
PT
6153 * sysdeps/mach/hurd/syncfs.c: New file.
6154
cfde9b46
SP
61552012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6156
6157 [BZ #14719]
6158 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6159 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6160 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6161 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6162 (_nss_dns_gethostbyname4_r): Likewise.
6163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6164 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6165
f6da27e5
PH
61662012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6167
6168 [BZ #13763]
6169 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6170
6665d4a2
SM
61712012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6172
1f51ee92
SM
6173 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6174 * elf/cache.c (print_entry): Print ",AArch64" for
6175 FLAG_AARCH64_LIB64
6176
6665d4a2
SM
6177 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6178 * elf/cache.c (print_entry): Print ",hard-float" for
6179 FLAG_ARM_LIBHF.
6180
05b227bd
DM
61812012-11-18 David S. Miller <davem@davemloft.net>
6182
6183 With help from Joseph Myers.
6184 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6185 cutoff to 2**-13.
6186 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6187 cutoff to 2**-25.
6188 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6189 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6190 small.
6191 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6192 * math/libm-test.inc (y0_test): New tests.
6193 (y1_test): New tests.
6194 * sysdeps/i386/fpu/libm-test-ulps: Update.
6195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6197
786b0b67
AS
61982012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6199
6200 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6201 64-bit targets.
6202 * configure: Regenerated.
6203
8e18b86d
DM
62042012-11-17 David S. Miller <davem@davemloft.net>
6205
6206 [BZ #14811]
6207 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6208 nonzero exponents with absolute value below 0x1p-128 to +/-
6209 0x1p-128.
6210
531f1ae0
JM
62112012-11-17 Joseph Myers <joseph@codesourcery.com>
6212
12df29e2
JM
6213 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6214
150dc1a0
JM
6215 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6216
531f1ae0
JM
6217 * posix/getconf-speclist.c: New file.
6218 * posix/posix-envs.def: Likewise.
6219 * posix/confstr.c (START_ENV_GROUP): New macro.
6220 (END_ENV_GROUP): Likewise.
6221 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6222 (KNOWN_PRESENT_ENV_STRING): Likewise.
6223 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6224 (UNKNOWN_ENVIRONMENT): Likewise.
6225 (confstr): Include posix-envs.def instead of handling
6226 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6227 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6228 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6229 (END_ENV_GROUP): Likewise.
6230 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6231 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6232 (UNKNOWN_ENVIRONMENT): Likewise.
6233 (__sysconf): Include posix-envs.def instead of handling associated
6234 cases directly here.
6235 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6236 preprocessing getconf-speclist.c rather than running getconf or
6237 generating empty file.
6238
a93f9cbc
PT
62392012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6240
6241 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6242
d64d9f87
AL
62432012-11-16 Andrej Lajovic <natrij@gmail.com>
6244
6245 [BZ #14672]
6246 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6247
447885eb
DM
62482012-11-16 David S. Miller <davem@davemloft.net>
6249
6250 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6251 smaller than LDBL_EPSILON/2.0L, just return xm1.
6252
bcbf9830
L
62532012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6254
6255 * elf/tst-array1.c (init): Set constructor priority to 1000.
6256 (fini): Set destructor priority to 1000.
6257 * elf/tst-array2dep.c: Likewise.
6258
2b766585
SP
62592012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6260
6261 [BZ #11741]
6262 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6263 (_IO_new_file_xsputn): Also return EOF if none of the input
6264 data was written when overflow failed.
6265 * libio/iopadn.c (_IO_padn): Likewise.
6266 * libio/iowpadn.c (_IO_wpadn): Likewise.
6267 * stdio-common/tst-put-error.c: Add copyright notice.
6268 (do_test): Add case for printing padded string.
6269 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6270 _IO_padn returned error.
6271 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6272 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6273 return EOF.
6274
b1848fde
SP
62752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6276
6277 * libio/libioP.h: Add comment note that the references to C++
6278 bits are now obsolete.
6279
2fd89785
MS
62802012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6281
6282 * math/libm-test.inc (check_complex): Use asprintf.
6283
e3ea5409
JM
62842012-11-14 Joseph Myers <joseph@codesourcery.com>
6285
6286 * debug/pcprofiledump.c (print_version): Update copyright year.
6287 * malloc/memusagestat.c (print_version): Likewise.
6288
2e64d265
L
62892012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6290
6291 [BZ #14831]
6292 * elf/Makefile (tests): Add tst-audit8.
6293 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6294 ($(objpfx)tst-audit8.out): New target.
6295 (tst-audit8-ENV): New variable.
6296 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6297 audit if l_reloc_result is NULL.
6298 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6299 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6300 * elf/tst-audit8.c: New file.
6301
c485e4d2
MS
63022012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6303
6304 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6305 * misc/Makefile (CFLAGS-select.c): Define.
6306 * posix/Makefile (CFLAGS-pause.c): Define.
6307
3a0d900a
DM
63082012-11-13 David S. Miller <davem@davemloft.net>
6309
6310 * crypt/Makefile: Move test targets after toplevel Rules
6311 inclusion. Grab any necessary sysdep routines when linking.
6312 * crypt/md5.c (md5_process_block): Remove define, we will always
6313 name it __md5_process_block.
6314 (md5_finish_ctx): Update md5_process_block call.
6315 (md5_stream): Likewise.
6316 (md5_process_bytes): Likewise.
6317 (md5_process_block): Rename to __md5_process_block and move to ...
6318 * crypt/md5-block.c: ... here.
6319 * crypt/sha256.c (sha256_process_block): Move to ...
6320 * crypt/sha256-block.c: ... here.
6321 * crypt/sha512.c (sha512_process_block): Move to ...
6322 * crypt/sha512-block.c: ... here.
6323 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6324 path.
6325 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6326 * sysdeps/sparc/sparc64/multiarch/Makefile
6327 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6328 crypt subdir.
6329 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6330 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6331 multiarch changes.
6332 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6333 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6334 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6335 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6336 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6337 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6338 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6339 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6340 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6341 file.
6342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6343 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6344 file.
6345 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6346
8ca89318
JM
63472012-11-13 Joseph Myers <joseph@codesourcery.com>
6348
e27d476a
JM
6349 * timezone/tzselect.ksh: Update from tzcode git revision
6350 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6351 * timezone/zdump.c: Likewise.
6352 * timezone/zic.c: Likewise.
6353 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6354 in TZVERSION setting, not $(PKGVERSION).
6355 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6356 REPORT_BUGS_TO settings.
6357
8ca89318
JM
6358 [BZ #14838]
6359 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6360 macro.
6361
47594329
MS
63622012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6363
6364 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6365 detection to immediately after _FP_ROUND().
6366 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6367 bits are 0.
6368
640ac3f1
DM
63692012-11-11 David S. Miller <davem@davemloft.net>
6370
6371 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6372 inttypes.h
6373 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6374 __close rather than their public counterparts.
6375
3d2577bb
JM
63762012-11-10 Joseph Myers <joseph@codesourcery.com>
6377
6378 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6379 file.
6380 [UNIX98] (sem_timedwait): Do not expect.
6381 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6382 [XPG4 || UNIX98] (sockatmark): Do not expect.
6383 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6384 (clock_getcpuclockid): Do not expect.
6385 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6386 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6387 Do not expect.
6388 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6389 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6390 [UNIX98] (vwscanf): Likewise.
6391 [UNIX98] (vswscanf): Likewise.
6392
fb1ae1ee
JM
63932012-11-09 Joseph Myers <joseph@codesourcery.com>
6394
9ec6f8bd
JM
6395 * timezone/version.h: Remove file.
6396 * timezone/README: Do not refer to version.h.
6397 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6398 $(objpfx)version.h.
6399 ($(objpfx)zdump.o): Likewise.
c3f81911 6400 ($(objpfx)version.h): New target.
9ec6f8bd 6401
0aa8f8a1
JM
6402 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6403 2012i.
6404 * timezone/README: Don't mention modification to tzselect.ksh.
6405 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6406 work on unmodified tzselect.ksh. Substitute version numbers in
6407 tzselect.ksh.
6408
4e87147f
JM
6409 * Makefile (format-me): Remove.
6410 (INSTALL): Adjust indentation. Use commands directly instead of
6411 using $(format-me).
6412
8b748aed
JM
6413 * aclocal.m4 (ACX_PKGVERSION): New macro.
6414 (ACX_BUGURL): Likewise.
6415 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6416 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6417 (REPORT_BUGS_TO): Likewise.
6418 * configure: Regenerated.
6419 * config.h.in (PKGVERSION): New macro.
6420 (REPORT_BUGS_TO): Likewise.
6421 * config.make.in (PKGVERSION): New variable.
6422 (PKGVERSION_TEXI): Likewise.
6423 (REPORT_BUGS_TO): Likewise.
6424 (REPORT_BUGS_TEXI): Likewise.
6425 * Makefile (format-me): Use -I$(common-objpfx)manual.
6426 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6427 ($(common-objpfx)manual/%): New target.
6428 (manual/%): Remove target.
6429 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6430 (print_version): Use PKGVERSION.
6431 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6432 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6433 and REPORT_BUGS_TO.
6434 ($(objpfx)xtrace): Likewise.
6435 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6436 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6437 (print_version): Use PKGVERSION.
6438 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6439 (do_version): Use PKGVERSION.
6440 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6441 REPORT_BUGS_TO.
6442 (common-ldd-rewrite): Likewise.
6443 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6444 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6445 (print_version): Use PKGVERSION.
6446 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6447 * elf/pldd.c (argp_program_bug_address): Remove variable.
6448 (more_help): New function.
6449 (argp): Use more_help.
6450 (print_version): Use PKGVERSION.
6451 * elf/sln.c (main): Use PKGVERSION.
6452 (usage): Use REPORT_BUGS_TO.
6453 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6454 (top level): Use PKGVERSION.
6455 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6456 (print_version): Use PKGVERSION.
6457 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6458 (print_version): Use PKGVERSION.
6459 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6460 (print_version): Use PKGVERSION.
6461 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6462 (print_version): Use PKGVERSION.
6463 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6464 (print_version): Use PKGVERSION.
6465 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6466 (print_version): Use PKGVERSION.
6467 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6468 and BUGURL.
6469 ($(objpfx)memusage): Likewise.
6470 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6471 (do_version): Use PKGVERSION.
6472 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6473 (print_version): Use PKGVERSION.
6474 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6475 ($PKGVERSION): New variable.
6476 ($REPORT_BUGS_TO): Likewise.
6477 (usage): Use $REPORT_BUGS_TO.
6478 (top level): Use $PKGVERSION.
6479 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6480 ($(objpfx)pkgvers.texi): New rule.
6481 ($(objpfx)stamp-pkgvers): Likewise.
6482 * manual/install.texi: Include pkgvers.texi.
6483 (--with-pkgversion): Document new configure option.
6484 (--with-bugurl): Likewise.
6485 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6486 than necessarily for this particular distribution. Use
6487 REPORT_BUGS_TO for where to report bugs.
6488 * INSTALL: Regenerated.
6489 * manual/libc.texinfo: Include pkgvers.texi.
6490 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6491 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6492 (print_version): Use PKGVERSION.
6493 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6494 (print_version): Use PKGVERSION.
6495 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6496 (print_version): Use PKGVERSION.
6497 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6498 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6499 macro.
6500 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6501 (print_version): Use PKGVERSION.
6502 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6503 (print_version): Use PKGVERSION.
6504 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6505 and PKGVERSION.
6506
92e4b6a9
JM
6507 * timezone/checktab.awk: Update from tzcode 2012i.
6508 * timezone/ialloc.c: Likewise.
6509 * timezone/private.h: Likewise.
6510 * timezone/scheck.c: Likewise.
6511 * timezone/tzfile.h: Likewise.
6512 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6513 (TZVERSION): Hardcode tzcode version number.
6514 * timezone/zdump.c: Update from tzcode 2012i.
6515 * timezone/zic.c: Likewise.
6516 * timezone/version.h: New file.
6517 * timezone/README: Describe version.h. Update upstream location.
6518
9bde902c
JM
6519 [BZ #14824]
6520 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6521 (mktemp): Enable declaration.
6522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6526 Likewise.
6527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6528 Likewise.
6529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6530 Likewise.
6531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6532 Likewise.
6533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6534 Likewise.
6535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6536 Likewise.
6537
fb1ae1ee
JM
6538 [BZ #14821]
6539 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6540 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6541 for copies of such integer values.
6542 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6543 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6544
2c1adbcb
AJ
65452012-11-09 Andreas Jaeger <aj@suse.de>
6546
6547 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6548 definitions and declarations that are provided by
6549 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6550
d0f8457e
AK
65512012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6552
3a235abb 6553 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6554 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6555 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6556 definition.
6557
57241e26
MS
65582012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6559
6560 * elf/elf.h: Update comment before AArch64 relocations.
6561
60e8270d
DM
65622012-11-07 David S. Miller <davem@davemloft.net>
6563
6564 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6565 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6566 (__start_context): Declare.
6567 (__makecontext_ret): Delete.
6568 (__makecontext): Hook up __start_context instead of
6569 __makecontext_ret.
6570 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6571 (sysdep_routines): Add __start_context when in stdlib.
6572
0fbb0fbc
JM
65732012-11-07 Joseph Myers <joseph@codesourcery.com>
6574
6575 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6576 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6577 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6578 hardcoded "nm".
6579 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6580 (READELF): New variable. Use it instead of hardcoded "readelf".
6581
eb48db7e
L
65822012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6583
6584 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6585 * sysdeps/x86/Makefile: Here.
6586 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6587 * sysdeps/x86/tst-xmmymm.sh: This.
6588
05bcf62a
JM
65892012-11-07 Joseph Myers <joseph@codesourcery.com>
6590
c4b6cf53
JM
6591 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6592 expectations.
6593 [UNIX98] (pthread_barrier_t): Do not expect.
6594 [UNIX98] (pthread_barrierattr_t): Likewise.
6595 [UNIX98] (pthread_spinlock_t): Likewise.
6596 [UNIX98] (pthread_barrier_destroy): Likewise.
6597 [UNIX98] (pthread_barrier_init): Likewise.
6598 [UNIX98] (pthread_barrier_wait): Likewise.
6599 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6600 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6601 [UNIX98] (pthread_barrierattr_init): Likewise.
6602 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6603 [UNIX98] (pthread_getcpuclockid): Likewise.
6604 [UNIX98] (pthread_mutex_timedlock): Likewise.
6605 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6606 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6607 [UNIX98] (pthread_sigmask): Likewise.
6608 [UNIX98] (pthread_spin_destroy): Likewise.
6609 [UNIX98] (pthread_spin_init): Likewise.
6610 [UNIX98] (pthread_spin_lock): Likewise.
6611 [UNIX98] (pthread_spin_trylock): Likewise.
6612 [UNIX98] (pthread_spin_unlock): Likewise.
6613 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6614 Do not expect.
6615 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6616 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6617 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6618 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6619 [XPG3 || XPG4] (pthread_key_t): Likewise.
6620 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6621 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6622 [XPG3 || XPG4] (pthread_once_t): Likewise.
6623 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6624 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6625 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6626 [XPG3 || XPG4] (pthread_t): Likewise.
6627
cbe6e120
JM
6628 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6629 not expect.
6630 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6631
1b126443
JM
6632 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6633 Change function return type to int.
6634
b961a573
JM
6635 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6636 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6637 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6638 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6639 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6640 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6641 [!POSIX] (posix_madvise): Likewise.
6642 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6643 && !UNIX98].
6644 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6645 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6646 (mode_t): Likewise.
6647 (posix_mem_offset): Likewise.
6648 (posix_typed_mem_get_info): Likewise.
6649 (posix_typed_mem_open): Likewise.
6650
9e188909
JM
6651 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6652 Change condition to [XOPEN2K8].
6653
05bcf62a
JM
6654 * conform/conformtest.pl: Preprocess allow-header data with -x c
6655 instead of from stdin.
6656 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6657 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6658 [C99-based standards] (cerfc): Likewise.
6659 [C99-based standards] (cexp2): Likewise.
6660 [C99-based standards] (cexpm1): Likewise.
6661 [C99-based standards] (clog10): Likewise.
6662 [C99-based standards] (clog1p): Likewise.
6663 [C99-based standards] (clog2): Likewise.
6664 [C99-based standards] (clgamma): Likewise.
6665 [C99-based standards] (ctgamma): Likewise.
6666 [C99-based standards] (cerff): Likewise.
6667 [C99-based standards] (cerfcf): Likewise.
6668 [C99-based standards] (cexp2f): Likewise.
6669 [C99-based standards] (cexpm1f): Likewise.
6670 [C99-based standards] (clog10f): Likewise.
6671 [C99-based standards] (clog1pf): Likewise.
6672 [C99-based standards] (clog2f): Likewise.
6673 [C99-based standards] (clgammaf): Likewise.
6674 [C99-based standards] (ctgammaf): Likewise.
6675 [C99-based standards] (cerfl): Likewise.
6676 [C99-based standards] (cerfcl): Likewise.
6677 [C99-based standards] (cexp2l): Likewise.
6678 [C99-based standards] (cexpm1l): Likewise.
6679 [C99-based standards] (clog10l): Likewise.
6680 [C99-based standards] (clog1pl): Likewise.
6681 [C99-based standards] (clog2l): Likewise.
6682 [C99-based standards] (clgammal): Likewise.
6683 [C99-based standards] (ctgammal): Likewise.
6684 * conform/data/inttypes.h-data [C99-based standards]: Include
6685 stdint.h-data. Remove all expectations for stdint.h contents.
6686 [C99-based standards] (PRI*): Do not allow.
6687 [C99-based standards] (SCN*): Likewise.
6688 [C99-based standards] (*_t): Likewise.
6689 [C99-based-standards] (PRId8): Expect macro.
6690 [C99-based-standards] (PRIi8): Likewise.
6691 [C99-based-standards] (PRIo8): Likewise.
6692 [C99-based-standards] (PRIu8): Likewise.
6693 [C99-based-standards] (PRIx8): Likewise.
6694 [C99-based-standards] (PRIX8): Likewise.
6695 [C99-based-standards] (SCNd8): Likewise.
6696 [C99-based-standards] (SCNi8): Likewise.
6697 [C99-based-standards] (SCNo8): Likewise.
6698 [C99-based-standards] (SCNu8): Likewise.
6699 [C99-based-standards] (SCNx8): Likewise.
6700 [C99-based-standards] (PRIdLEAST8): Likewise.
6701 [C99-based-standards] (PRIiLEAST8): Likewise.
6702 [C99-based-standards] (PRIoLEAST8): Likewise.
6703 [C99-based-standards] (PRIuLEAST8): Likewise.
6704 [C99-based-standards] (PRIxLEAST8): Likewise.
6705 [C99-based-standards] (PRIXLEAST8): Likewise.
6706 [C99-based-standards] (SCNdLEAST8): Likewise.
6707 [C99-based-standards] (SCNiLEAST8): Likewise.
6708 [C99-based-standards] (SCNoLEAST8): Likewise.
6709 [C99-based-standards] (SCNuLEAST8): Likewise.
6710 [C99-based-standards] (SCNxLEAST8): Likewise.
6711 [C99-based-standards] (PRIdFAST8): Likewise.
6712 [C99-based-standards] (PRIiFAST8): Likewise.
6713 [C99-based-standards] (PRIoFAST8): Likewise.
6714 [C99-based-standards] (PRIuFAST8): Likewise.
6715 [C99-based-standards] (PRIxFAST8): Likewise.
6716 [C99-based-standards] (PRIXFAST8): Likewise.
6717 [C99-based-standards] (SCNdFAST8): Likewise.
6718 [C99-based-standards] (SCNiFAST8): Likewise.
6719 [C99-based-standards] (SCNoFAST8): Likewise.
6720 [C99-based-standards] (SCNuFAST8): Likewise.
6721 [C99-based-standards] (SCNxFAST8): Likewise.
6722 [C99-based-standards] (PRId16): Likewise.
6723 [C99-based-standards] (PRIi16): Likewise.
6724 [C99-based-standards] (PRIo16): Likewise.
6725 [C99-based-standards] (PRIu16): Likewise.
6726 [C99-based-standards] (PRIx16): Likewise.
6727 [C99-based-standards] (PRIX16): Likewise.
6728 [C99-based-standards] (SCNd16): Likewise.
6729 [C99-based-standards] (SCNi16): Likewise.
6730 [C99-based-standards] (SCNo16): Likewise.
6731 [C99-based-standards] (SCNu16): Likewise.
6732 [C99-based-standards] (SCNx16): Likewise.
6733 [C99-based-standards] (PRIdLEAST16): Likewise.
6734 [C99-based-standards] (PRIiLEAST16): Likewise.
6735 [C99-based-standards] (PRIoLEAST16): Likewise.
6736 [C99-based-standards] (PRIuLEAST16): Likewise.
6737 [C99-based-standards] (PRIxLEAST16): Likewise.
6738 [C99-based-standards] (PRIXLEAST16): Likewise.
6739 [C99-based-standards] (SCNdLEAST16): Likewise.
6740 [C99-based-standards] (SCNiLEAST16): Likewise.
6741 [C99-based-standards] (SCNoLEAST16): Likewise.
6742 [C99-based-standards] (SCNuLEAST16): Likewise.
6743 [C99-based-standards] (SCNxLEAST16): Likewise.
6744 [C99-based-standards] (PRIdFAST16): Likewise.
6745 [C99-based-standards] (PRIiFAST16): Likewise.
6746 [C99-based-standards] (PRIoFAST16): Likewise.
6747 [C99-based-standards] (PRIuFAST16): Likewise.
6748 [C99-based-standards] (PRIxFAST16): Likewise.
6749 [C99-based-standards] (PRIXFAST16): Likewise.
6750 [C99-based-standards] (SCNdFAST16): Likewise.
6751 [C99-based-standards] (SCNiFAST16): Likewise.
6752 [C99-based-standards] (SCNoFAST16): Likewise.
6753 [C99-based-standards] (SCNuFAST16): Likewise.
6754 [C99-based-standards] (SCNxFAST16): Likewise.
6755 [C99-based-standards] (PRId32): Likewise.
6756 [C99-based-standards] (PRIi32): Likewise.
6757 [C99-based-standards] (PRIo32): Likewise.
6758 [C99-based-standards] (PRIu32): Likewise.
6759 [C99-based-standards] (PRIx32): Likewise.
6760 [C99-based-standards] (PRIX32): Likewise.
6761 [C99-based-standards] (SCNd32): Likewise.
6762 [C99-based-standards] (SCNi32): Likewise.
6763 [C99-based-standards] (SCNo32): Likewise.
6764 [C99-based-standards] (SCNu32): Likewise.
6765 [C99-based-standards] (SCNx32): Likewise.
6766 [C99-based-standards] (PRIdLEAST32): Likewise.
6767 [C99-based-standards] (PRIiLEAST32): Likewise.
6768 [C99-based-standards] (PRIoLEAST32): Likewise.
6769 [C99-based-standards] (PRIuLEAST32): Likewise.
6770 [C99-based-standards] (PRIxLEAST32): Likewise.
6771 [C99-based-standards] (PRIXLEAST32): Likewise.
6772 [C99-based-standards] (SCNdLEAST32): Likewise.
6773 [C99-based-standards] (SCNiLEAST32): Likewise.
6774 [C99-based-standards] (SCNoLEAST32): Likewise.
6775 [C99-based-standards] (SCNuLEAST32): Likewise.
6776 [C99-based-standards] (SCNxLEAST32): Likewise.
6777 [C99-based-standards] (PRIdFAST32): Likewise.
6778 [C99-based-standards] (PRIiFAST32): Likewise.
6779 [C99-based-standards] (PRIoFAST32): Likewise.
6780 [C99-based-standards] (PRIuFAST32): Likewise.
6781 [C99-based-standards] (PRIxFAST32): Likewise.
6782 [C99-based-standards] (PRIXFAST32): Likewise.
6783 [C99-based-standards] (SCNdFAST32): Likewise.
6784 [C99-based-standards] (SCNiFAST32): Likewise.
6785 [C99-based-standards] (SCNoFAST32): Likewise.
6786 [C99-based-standards] (SCNuFAST32): Likewise.
6787 [C99-based-standards] (SCNxFAST32): Likewise.
6788 [C99-based-standards] (PRId64): Likewise.
6789 [C99-based-standards] (PRIi64): Likewise.
6790 [C99-based-standards] (PRIo64): Likewise.
6791 [C99-based-standards] (PRIu64): Likewise.
6792 [C99-based-standards] (PRIx64): Likewise.
6793 [C99-based-standards] (PRIX64): Likewise.
6794 [C99-based-standards] (SCNd64): Likewise.
6795 [C99-based-standards] (SCNi64): Likewise.
6796 [C99-based-standards] (SCNo64): Likewise.
6797 [C99-based-standards] (SCNu64): Likewise.
6798 [C99-based-standards] (SCNx64): Likewise.
6799 [C99-based-standards] (PRIdLEAST64): Likewise.
6800 [C99-based-standards] (PRIiLEAST64): Likewise.
6801 [C99-based-standards] (PRIoLEAST64): Likewise.
6802 [C99-based-standards] (PRIuLEAST64): Likewise.
6803 [C99-based-standards] (PRIxLEAST64): Likewise.
6804 [C99-based-standards] (PRIXLEAST64): Likewise.
6805 [C99-based-standards] (SCNdLEAST64): Likewise.
6806 [C99-based-standards] (SCNiLEAST64): Likewise.
6807 [C99-based-standards] (SCNoLEAST64): Likewise.
6808 [C99-based-standards] (SCNuLEAST64): Likewise.
6809 [C99-based-standards] (SCNxLEAST64): Likewise.
6810 [C99-based-standards] (PRIdFAST64): Likewise.
6811 [C99-based-standards] (PRIiFAST64): Likewise.
6812 [C99-based-standards] (PRIoFAST64): Likewise.
6813 [C99-based-standards] (PRIuFAST64): Likewise.
6814 [C99-based-standards] (PRIxFAST64): Likewise.
6815 [C99-based-standards] (PRIXFAST64): Likewise.
6816 [C99-based-standards] (SCNdFAST64): Likewise.
6817 [C99-based-standards] (SCNiFAST64): Likewise.
6818 [C99-based-standards] (SCNoFAST64): Likewise.
6819 [C99-based-standards] (SCNuFAST64): Likewise.
6820 [C99-based-standards] (SCNxFAST64): Likewise.
6821 [C99-based-standards] (PRIdMAX): Likewise.
6822 [C99-based-standards] (PRIiMAX): Likewise.
6823 [C99-based-standards] (PRIoMAX): Likewise.
6824 [C99-based-standards] (PRIuMAX): Likewise.
6825 [C99-based-standards] (PRIxMAX): Likewise.
6826 [C99-based-standards] (PRIXMAX): Likewise.
6827 [C99-based-standards] (SCNdMAX): Likewise.
6828 [C99-based-standards] (SCNiMAX): Likewise.
6829 [C99-based-standards] (SCNoMAX): Likewise.
6830 [C99-based-standards] (SCNuMAX): Likewise.
6831 [C99-based-standards] (SCNxMAX): Likewise.
6832 [C99-based-standards] (PRIdPTR): Likewise.
6833 [C99-based-standards] (PRIiPTR): Likewise.
6834 [C99-based-standards] (PRIoPTR): Likewise.
6835 [C99-based-standards] (PRIuPTR): Likewise.
6836 [C99-based-standards] (PRIxPTR): Likewise.
6837 [C99-based-standards] (PRIXPTR): Likewise.
6838 [C99-based-standards] (SCNdPTR): Likewise.
6839 [C99-based-standards] (SCNiPTR): Likewise.
6840 [C99-based-standards] (SCNoPTR): Likewise.
6841 [C99-based-standards] (SCNuPTR): Likewise.
6842 [C99-based-standards] (SCNxPTR): Likewise.
6843 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6844 allow.
6845 * conform/data/stdint.h-data: Update comments to clarify
6846 requirements.
6847 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6848 type.
6849 [C99-based standards] (INT8_MAX): Likewise.
6850 [C99-based standards] (INT16_MIN): Likewise.
6851 [C99-based standards] (INT16_MAX): Likewise.
6852 [C99-based standards] (INT32_MIN): Likewise.
6853 [C99-based standards] (INT32_MAX): Likewise.
6854 [C99-based standards] (INT64_MIN): Likewise.
6855 [C99-based standards] (INT64_MAX): Likewise.
6856 [C99-based standards] (UINT8_MAX): Likewise.
6857 [C99-based standards] (UINT16_MAX): Likewise.
6858 [C99-based standards] (UINT32_MAX): Likewise.
6859 [C99-based standards] (UINT64_MAX): Likewise.
6860 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6861 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6862 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6863 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6864 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6865 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6866 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6867 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6868 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6869 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6870 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6871 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6872 [C99-based standards] (INT_FAST8_MIN): Likewise.
6873 [C99-based standards] (INT_FAST8_MAX): Likewise.
6874 [C99-based standards] (INT_FAST16_MIN): Likewise.
6875 [C99-based standards] (INT_FAST16_MAX): Likewise.
6876 [C99-based standards] (INT_FAST32_MIN): Likewise.
6877 [C99-based standards] (INT_FAST32_MAX): Likewise.
6878 [C99-based standards] (INT_FAST64_MIN): Likewise.
6879 [C99-based standards] (INT_FAST64_MAX): Likewise.
6880 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6881 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6882 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6883 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6884 [C99-based standards] (INTPTR_MIN): Likewise.
6885 [C99-based standards] (INTPTR_MAX): Likewise.
6886 [C99-based standards] (UINTPTR_MAX): Likewise.
6887 [C99-based standards] (INTMAX_MIN): Likewise.
6888 [C99-based standards] (INTMAX_MAX): Likewise.
6889 [C99-based standards] (UINTMAX_MAX): Likewise.
6890 [C99-based standards] (PTRDIFF_MIN): Likewise.
6891 [C99-based standards] (PTRDIFF_MAX): Likewise.
6892 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6893 [C99-based standards] (SIZE_MAX): Likewise.
6894 [C99-based standards] (WCHAR_MAX): Likewise.
6895 [C99-based standards] (WINT_MAX): Likewise.
6896 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6897 constraint on value.
6898 [C99-based standards] (WCHAR_MIN): Likewise.
6899 [C99-based standards] (WINT_MIN): Likewise.
6900 [C99-based standards] (*_t): Allow.
6901 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6902 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6903 Include math.h-data and complex.h-data. Remove all expectations
6904 of math.h and complex.h contents.
6905 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6906 at end of line.
6907 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6908 (struct tm): Expect tag.
6909 [C99-based-standards] (wcstof): Expect function.
6910 [C99-based-standards] (wcstold): Likewise.
6911 [C99-based-standards] (wcstoll): Likewise.
6912 [C99-based-standards] (wcstoull): Likewise.
6913 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6914 macro-int-constant. Specify type.
6915 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6916 constraint on value.
6917 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6918 Specify type.
6919 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6920 Specify value.
6921 [ISO C standards]: Do not allow headers.
6922 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6923 wcs[abcdefghijklmnopqrstuvwxyz]*.
6924 [ISO C standards] (*_t): Do not allow.
6925 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6926 Expect function.
6927 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6928 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6929 Specify type.
6930 [ISO C standards]: Do not allow headers.
6931 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6932 is[abcdefghijklmnopqrstuvwxyz]*.
6933 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6934 to[abcdefghijklmnopqrstuvwxyz]*.
6935 [ISO C standards] (*_t): Do not allow.
6936 * conform/data/stdalign.h-data: New file.
6937 * conform/data/stdbool.h-data: Likewise.
6938 * conform/data/stdnoreturn.h-data: Likewise.
6939
7514feb8
RM
69402012-11-07 Roland McGrath <roland@hack.frob.com>
6941
6942 [BZ #14815]
6943 * manual/filesys.texi (Directory Entries): Typo fix.
6944 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6945
19b2ecfc
MS
69462012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6947
6948 * elf/elf.h (EM_AARCH64): New macro.
6949 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6950 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6951 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6952 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6953 (R_AARCH64_TLSDESC): Likewise.
6954 (NT_ARM_TLS): Likewise.
6955 (NT_ARM_HW_BREAK): Likewise.
6956 (NT_ARM_HW_WATCH): Likewise.
6957
60e235ee
JM
69582012-11-07 Joseph Myers <joseph@codesourcery.com>
6959
6960 [BZ #14811]
6961 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6962 (__ieee754_powl): Saturate nonzero exponents with absolute value
6963 below 0x1p-79 to +/- 0x1p-79.
6964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6965 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6966 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6967 nonzero exponents with absolute value below 0x1p-32 to +/-
6968 0x1p-32.
6969 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6970 (__ieee754_powl): Saturate nonzero exponents with absolute value
6971 below 0x1p-79 to +/- 0x1p-79.
6972 * math/libm-test.inc (pow_test): Add more tests.
6973
0ab234b7
AK
69742012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6975
6976 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6977 _dl_s390_cap_flags with kernel. Increase string length.
6978 (_dl_s390_platforms): Add z196 and zEC12.
6979
45832f74
JM
69802012-11-07 Joseph Myers <joseph@codesourcery.com>
6981
6982 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6983 Change XOPEN21K to XOPEN2K.
6984
19218757
MK
69852012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6986
6987 * string/memmove.c: Use memcpy when possible.
6988
c5f45721
AJ
69892012-11-06 Andreas Jaeger <aj@suse.de>
6990
6991 * po/eo.po: Update from translation team.
6992
82477c28
JM
69932012-11-06 Joseph Myers <joseph@codesourcery.com>
6994
6995 [BZ #14793]
6996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6997 exponent and small x and y exponents, scale x or y up. Increase
6998 by 2 the exponent used in scaling up.
6999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7001 * math/libm-test.inc (fma_test): Add more tests.
7002 (fma_test_towardzero): Likewise.
7003 (fma_test_downward): Likewise.
7004 (fma_test_upward): Likewise.
7005
99252c8c
JM
70062012-11-05 Joseph Myers <joseph@codesourcery.com>
7007
acfa885f
JM
7008 [BZ #14805]
7009 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7010 fenv_t *.
7011
99252c8c
JM
7012 [BZ #14801]
7013 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7014 namespace for names of struct fields.
7015 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7016 fenv_t fields.
7017 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7018 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7019
d6d98dea
ST
70202012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7021
7022 [BZ #3665]
7023 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7024
e10bb107
TS
70252012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7026
7027 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7028 PTR_DEMANGLE.
7029
7030 [BZ #5246]
7031 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7032 PTR_DEMANGLE.
7033
a0c2940d
JM
70342012-11-04 Joseph Myers <joseph@codesourcery.com>
7035
7036 [BZ #14797]
7037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7038 definitely overflow as x * y not x * y + z.
7039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7041 * math/libm-test.inc (fma_test): Add more tests.
7042 (fma_test_towardzero): Likewise.
7043 (fma_test_downward): Likewise.
7044 (fma_test_upward): Likewise.
7045
b830319d
TS
70462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7047
7048 [BZ #157]
7049
7050 * include/stub-tag.h: Remove file.
7051 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7052 '#include' of it.
7053 * manual/maint.texi (Porting): Don't reference it.
7054 * Makerules ($(objpfx)stubs): Likewise.
7055 * dirent/closedir.c: Don't include <stub-tag.h>.
7056 * dirent/dirfd.c: Likewise.
7057 * dirent/fdopendir.c: Likewise.
7058 * dirent/getdents.c: Likewise.
7059 * dirent/getdents64.c: Likewise.
7060 * dirent/opendir.c: Likewise.
7061 * dirent/readdir.c: Likewise.
7062 * dirent/readdir64.c: Likewise.
7063 * dirent/readdir64_r.c: Likewise.
7064 * dirent/readdir_r.c: Likewise.
7065 * dirent/rewinddir.c: Likewise.
7066 * dirent/seekdir.c: Likewise.
7067 * dirent/telldir.c: Likewise.
7068 * gmon/profil.c: Likewise.
7069 * grp/setgroups.c: Likewise.
7070 * inet/if_index.c: Likewise.
7071 * io/access.c: Likewise.
7072 * io/chdir.c: Likewise.
7073 * io/chmod.c: Likewise.
7074 * io/chown.c: Likewise.
7075 * io/close.c: Likewise.
7076 * io/dup.c: Likewise.
7077 * io/dup2.c: Likewise.
7078 * io/dup3.c: Likewise.
7079 * io/euidaccess.c: Likewise.
7080 * io/faccessat.c: Likewise.
7081 * io/fchdir.c: Likewise.
7082 * io/fchmod.c: Likewise.
7083 * io/fchmodat.c: Likewise.
7084 * io/fchown.c: Likewise.
7085 * io/fchownat.c: Likewise.
7086 * io/fcntl.c: Likewise.
7087 * io/flock.c: Likewise.
7088 * io/fstatfs.c: Likewise.
7089 * io/fstatfs64.c: Likewise.
7090 * io/fstatvfs.c: Likewise.
7091 * io/fstatvfs64.c: Likewise.
7092 * io/futimens.c: Likewise.
7093 * io/fxstat.c: Likewise.
7094 * io/fxstat64.c: Likewise.
7095 * io/fxstatat.c: Likewise.
7096 * io/fxstatat64.c: Likewise.
7097 * io/getcwd.c: Likewise.
7098 * io/isatty.c: Likewise.
7099 * io/lchmod.c: Likewise.
7100 * io/lchown.c: Likewise.
7101 * io/link.c: Likewise.
7102 * io/linkat.c: Likewise.
7103 * io/lseek.c: Likewise.
7104 * io/lseek64.c: Likewise.
7105 * io/lxstat64.c: Likewise.
7106 * io/mkdir.c: Likewise.
7107 * io/mkdirat.c: Likewise.
7108 * io/mkfifo.c: Likewise.
7109 * io/mkfifoat.c: Likewise.
7110 * io/open.c: Likewise.
7111 * io/open64.c: Likewise.
7112 * io/openat.c: Likewise.
7113 * io/openat64.c: Likewise.
7114 * io/pipe.c: Likewise.
7115 * io/pipe2.c: Likewise.
7116 * io/poll.c: Likewise.
7117 * io/posix_fadvise.c: Likewise.
7118 * io/posix_fadvise64.c: Likewise.
7119 * io/posix_fallocate.c: Likewise.
7120 * io/posix_fallocate64.c: Likewise.
7121 * io/read.c: Likewise.
7122 * io/readlink.c: Likewise.
7123 * io/readlinkat.c: Likewise.
7124 * io/rmdir.c: Likewise.
7125 * io/sendfile.c: Likewise.
7126 * io/sendfile64.c: Likewise.
7127 * io/statfs.c: Likewise.
7128 * io/statfs64.c: Likewise.
7129 * io/statvfs.c: Likewise.
7130 * io/statvfs64.c: Likewise.
7131 * io/symlink.c: Likewise.
7132 * io/symlinkat.c: Likewise.
7133 * io/ttyname.c: Likewise.
7134 * io/ttyname_r.c: Likewise.
7135 * io/umask.c: Likewise.
7136 * io/unlink.c: Likewise.
7137 * io/unlinkat.c: Likewise.
7138 * io/utime.c: Likewise.
7139 * io/utimensat.c: Likewise.
7140 * io/write.c: Likewise.
7141 * io/xmknod.c: Likewise.
7142 * io/xmknodat.c: Likewise.
7143 * io/xstat.c: Likewise.
7144 * io/xstat64.c: Likewise.
7145 * login/getpt.c: Likewise.
7146 * login/grantpt.c: Likewise.
7147 * login/unlockpt.c: Likewise.
7148 * math/e_acoshl.c: Likewise.
7149 * math/e_acosl.c: Likewise.
7150 * math/e_asinl.c: Likewise.
7151 * math/e_atan2l.c: Likewise.
7152 * math/e_atanhl.c: Likewise.
7153 * math/e_coshl.c: Likewise.
7154 * math/e_expl.c: Likewise.
7155 * math/e_fmodl.c: Likewise.
7156 * math/e_gammal_r.c: Likewise.
7157 * math/e_hypotl.c: Likewise.
7158 * math/e_j0l.c: Likewise.
7159 * math/e_j1l.c: Likewise.
7160 * math/e_jnl.c: Likewise.
7161 * math/e_lgammal_r.c: Likewise.
7162 * math/e_log10l.c: Likewise.
7163 * math/e_log2l.c: Likewise.
7164 * math/e_logl.c: Likewise.
7165 * math/e_powl.c: Likewise.
7166 * math/e_rem_pio2l.c: Likewise.
7167 * math/e_sinhl.c: Likewise.
7168 * math/e_sqrtl.c: Likewise.
7169 * math/fclrexcpt.c: Likewise.
7170 * math/fedisblxcpt.c: Likewise.
7171 * math/feenablxcpt.c: Likewise.
7172 * math/fegetenv.c: Likewise.
7173 * math/fegetexcept.c: Likewise.
7174 * math/fegetround.c: Likewise.
7175 * math/feholdexcpt.c: Likewise.
7176 * math/fesetenv.c: Likewise.
7177 * math/fesetround.c: Likewise.
7178 * math/feupdateenv.c: Likewise.
7179 * math/fgetexcptflg.c: Likewise.
7180 * math/fraiseexcpt.c: Likewise.
7181 * math/fsetexcptflg.c: Likewise.
7182 * math/ftestexcept.c: Likewise.
7183 * math/k_cosl.c: Likewise.
7184 * math/k_rem_pio2l.c: Likewise.
7185 * math/k_sinl.c: Likewise.
7186 * math/k_tanl.c: Likewise.
7187 * math/s_asinhl.c: Likewise.
7188 * math/s_atanl.c: Likewise.
7189 * math/s_cbrtl.c: Likewise.
7190 * math/s_erfl.c: Likewise.
7191 * math/s_expm1l.c: Likewise.
7192 * math/s_log1pl.c: Likewise.
7193 * math/s_tanhl.c: Likewise.
7194 * misc/acct.c: Likewise.
7195 * misc/brk.c: Likewise.
7196 * misc/chflags.c: Likewise.
7197 * misc/chroot.c: Likewise.
7198 * misc/fchflags.c: Likewise.
7199 * misc/fgetxattr.c: Likewise.
7200 * misc/flistxattr.c: Likewise.
7201 * misc/fremovexattr.c: Likewise.
7202 * misc/fsetxattr.c: Likewise.
7203 * misc/fsync.c: Likewise.
7204 * misc/ftruncate.c: Likewise.
7205 * misc/futimes.c: Likewise.
7206 * misc/futimesat.c: Likewise.
7207 * misc/getdomain.c: Likewise.
7208 * misc/getdtsz.c: Likewise.
7209 * misc/gethostid.c: Likewise.
7210 * misc/gethostname.c: Likewise.
7211 * misc/getloadavg.c: Likewise.
7212 * misc/getpagesize.c: Likewise.
7213 * misc/getsysstats.c: Likewise.
7214 * misc/getxattr.c: Likewise.
7215 * misc/gtty.c: Likewise.
7216 * misc/ioctl.c: Likewise.
7217 * misc/lgetxattr.c: Likewise.
7218 * misc/listxattr.c: Likewise.
7219 * misc/llistxattr.c: Likewise.
7220 * misc/lremovexattr.c: Likewise.
7221 * misc/lsetxattr.c: Likewise.
7222 * misc/lutimes.c: Likewise.
7223 * misc/madvise.c: Likewise.
7224 * misc/mincore.c: Likewise.
7225 * misc/mlock.c: Likewise.
7226 * misc/mlockall.c: Likewise.
7227 * misc/mmap.c: Likewise.
7228 * misc/mprotect.c: Likewise.
7229 * misc/msync.c: Likewise.
7230 * misc/munlock.c: Likewise.
7231 * misc/munlockall.c: Likewise.
7232 * misc/munmap.c: Likewise.
7233 * misc/preadv.c: Likewise.
7234 * misc/preadv64.c: Likewise.
7235 * misc/ptrace.c: Likewise.
7236 * misc/pwritev.c: Likewise.
7237 * misc/pwritev64.c: Likewise.
7238 * misc/readv.c: Likewise.
7239 * misc/reboot.c: Likewise.
7240 * misc/remap_file_pages.c: Likewise.
7241 * misc/removexattr.c: Likewise.
7242 * misc/revoke.c: Likewise.
7243 * misc/select.c: Likewise.
7244 * misc/setdomain.c: Likewise.
7245 * misc/setegid.c: Likewise.
7246 * misc/seteuid.c: Likewise.
7247 * misc/sethostid.c: Likewise.
7248 * misc/sethostname.c: Likewise.
7249 * misc/setregid.c: Likewise.
7250 * misc/setreuid.c: Likewise.
7251 * misc/setxattr.c: Likewise.
7252 * misc/sstk.c: Likewise.
7253 * misc/stty.c: Likewise.
7254 * misc/swapoff.c: Likewise.
7255 * misc/swapon.c: Likewise.
7256 * misc/sync.c: Likewise.
7257 * misc/syncfs.c: Likewise.
7258 * misc/syscall.c: Likewise.
7259 * misc/truncate.c: Likewise.
7260 * misc/ualarm.c: Likewise.
7261 * misc/usleep.c: Likewise.
7262 * misc/ustat.c: Likewise.
7263 * misc/utimes.c: Likewise.
7264 * misc/vhangup.c: Likewise.
7265 * misc/writev.c: Likewise.
7266 * posix/_exit.c: Likewise.
7267 * posix/alarm.c: Likewise.
7268 * posix/execve.c: Likewise.
7269 * posix/fexecve.c: Likewise.
7270 * posix/fork.c: Likewise.
7271 * posix/fpathconf.c: Likewise.
7272 * posix/getaddrinfo.c: Likewise.
7273 * posix/getegid.c: Likewise.
7274 * posix/geteuid.c: Likewise.
7275 * posix/getgid.c: Likewise.
7276 * posix/getgroups.c: Likewise.
7277 * posix/getlogin.c: Likewise.
7278 * posix/getlogin_r.c: Likewise.
7279 * posix/getpgid.c: Likewise.
7280 * posix/getpid.c: Likewise.
7281 * posix/getppid.c: Likewise.
7282 * posix/getresgid.c: Likewise.
7283 * posix/getresuid.c: Likewise.
7284 * posix/getsid.c: Likewise.
7285 * posix/getuid.c: Likewise.
7286 * posix/glob64.c: Likewise.
7287 * posix/nanosleep.c: Likewise.
7288 * posix/pathconf.c: Likewise.
7289 * posix/pause.c: Likewise.
7290 * posix/posix_madvise.c: Likewise.
7291 * posix/pread.c: Likewise.
7292 * posix/pread64.c: Likewise.
7293 * posix/pwrite.c: Likewise.
7294 * posix/pwrite64.c: Likewise.
7295 * posix/sched_getaffinity.c: Likewise.
7296 * posix/sched_getp.c: Likewise.
7297 * posix/sched_gets.c: Likewise.
7298 * posix/sched_primax.c: Likewise.
7299 * posix/sched_primin.c: Likewise.
7300 * posix/sched_rr_gi.c: Likewise.
7301 * posix/sched_setaffinity.c: Likewise.
7302 * posix/sched_setp.c: Likewise.
7303 * posix/sched_sets.c: Likewise.
7304 * posix/sched_yield.c: Likewise.
7305 * posix/setgid.c: Likewise.
7306 * posix/setlogin.c: Likewise.
7307 * posix/setpgid.c: Likewise.
7308 * posix/setresgid.c: Likewise.
7309 * posix/setresuid.c: Likewise.
7310 * posix/setsid.c: Likewise.
7311 * posix/setuid.c: Likewise.
7312 * posix/sleep.c: Likewise.
7313 * posix/spawni.c: Likewise.
7314 * posix/sysconf.c: Likewise.
7315 * posix/times.c: Likewise.
7316 * posix/wait.c: Likewise.
7317 * posix/wait3.c: Likewise.
7318 * posix/wait4.c: Likewise.
7319 * posix/waitpid.c: Likewise.
7320 * resolv/gai_sigqueue.c: Likewise.
7321 * resource/getpriority.c: Likewise.
7322 * resource/getrlimit.c: Likewise.
7323 * resource/getrusage.c: Likewise.
7324 * resource/nice.c: Likewise.
7325 * resource/setpriority.c: Likewise.
7326 * resource/setrlimit.c: Likewise.
7327 * resource/ulimit.c: Likewise.
7328 * rt/aio_cancel.c: Likewise.
7329 * rt/aio_fsync.c: Likewise.
7330 * rt/aio_read.c: Likewise.
7331 * rt/aio_sigqueue.c: Likewise.
7332 * rt/aio_suspend.c: Likewise.
7333 * rt/aio_write.c: Likewise.
7334 * rt/clock_getres.c: Likewise.
7335 * rt/clock_gettime.c: Likewise.
7336 * rt/clock_nanosleep.c: Likewise.
7337 * rt/clock_settime.c: Likewise.
7338 * rt/lio_listio.c: Likewise.
7339 * rt/mq_close.c: Likewise.
7340 * rt/mq_getattr.c: Likewise.
7341 * rt/mq_notify.c: Likewise.
7342 * rt/mq_open.c: Likewise.
7343 * rt/mq_receive.c: Likewise.
7344 * rt/mq_send.c: Likewise.
7345 * rt/mq_setattr.c: Likewise.
7346 * rt/mq_timedreceive.c: Likewise.
7347 * rt/mq_timedsend.c: Likewise.
7348 * rt/mq_unlink.c: Likewise.
7349 * rt/shm_open.c: Likewise.
7350 * rt/shm_unlink.c: Likewise.
7351 * rt/timer_create.c: Likewise.
7352 * rt/timer_delete.c: Likewise.
7353 * rt/timer_getoverr.c: Likewise.
7354 * rt/timer_gettime.c: Likewise.
7355 * rt/timer_settime.c: Likewise.
7356 * setjmp/__longjmp.c: Likewise.
7357 * setjmp/setjmp.c: Likewise.
7358 * signal/kill.c: Likewise.
7359 * signal/killpg.c: Likewise.
7360 * signal/raise.c: Likewise.
7361 * signal/sigaction.c: Likewise.
7362 * signal/sigaltstack.c: Likewise.
7363 * signal/sigblock.c: Likewise.
7364 * signal/sigignore.c: Likewise.
7365 * signal/sigintr.c: Likewise.
7366 * signal/signal.c: Likewise.
7367 * signal/sigpause.c: Likewise.
7368 * signal/sigpending.c: Likewise.
7369 * signal/sigqueue.c: Likewise.
7370 * signal/sigreturn.c: Likewise.
7371 * signal/sigset.c: Likewise.
7372 * signal/sigsetmask.c: Likewise.
7373 * signal/sigstack.c: Likewise.
7374 * signal/sigsuspend.c: Likewise.
7375 * signal/sigtimedwait.c: Likewise.
7376 * signal/sigvec.c: Likewise.
7377 * signal/sigwait.c: Likewise.
7378 * signal/sigwaitinfo.c: Likewise.
7379 * signal/sysv_signal.c: Likewise.
7380 * socket/accept.c: Likewise.
7381 * socket/accept4.c: Likewise.
7382 * socket/bind.c: Likewise.
7383 * socket/connect.c: Likewise.
7384 * socket/getpeername.c: Likewise.
7385 * socket/getsockname.c: Likewise.
7386 * socket/getsockopt.c: Likewise.
7387 * socket/isfdtype.c: Likewise.
7388 * socket/listen.c: Likewise.
7389 * socket/recv.c: Likewise.
7390 * socket/recvfrom.c: Likewise.
7391 * socket/recvmsg.c: Likewise.
7392 * socket/send.c: Likewise.
7393 * socket/sendmsg.c: Likewise.
7394 * socket/sendto.c: Likewise.
7395 * socket/setsockopt.c: Likewise.
7396 * socket/shutdown.c: Likewise.
7397 * socket/sockatmark.c: Likewise.
7398 * socket/socket.c: Likewise.
7399 * socket/socketpair.c: Likewise.
7400 * stdio-common/ctermid.c: Likewise.
7401 * stdio-common/cuserid.c: Likewise.
7402 * stdio-common/remove.c: Likewise.
7403 * stdio-common/rename.c: Likewise.
7404 * stdio-common/renameat.c: Likewise.
7405 * stdio-common/tempname.c: Likewise.
7406 * stdlib/getcontext.c: Likewise.
7407 * stdlib/makecontext.c: Likewise.
7408 * stdlib/setcontext.c: Likewise.
7409 * stdlib/swapcontext.c: Likewise.
7410 * stdlib/system.c: Likewise.
7411 * streams/fattach.c: Likewise.
7412 * streams/fdetach.c: Likewise.
7413 * streams/getmsg.c: Likewise.
7414 * streams/getpmsg.c: Likewise.
7415 * streams/putmsg.c: Likewise.
7416 * streams/putpmsg.c: Likewise.
7417 * sysdeps/unix/bsd/getpt.c: Likewise.
7418 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7419 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7420 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7422 Likewise.
7423 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7424 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7425 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7426 * sysvipc/msgctl.c: Likewise.
7427 * sysvipc/msgget.c: Likewise.
7428 * sysvipc/msgrcv.c: Likewise.
7429 * sysvipc/msgsnd.c: Likewise.
7430 * sysvipc/semctl.c: Likewise.
7431 * sysvipc/semget.c: Likewise.
7432 * sysvipc/semop.c: Likewise.
7433 * sysvipc/semtimedop.c: Likewise.
7434 * sysvipc/shmat.c: Likewise.
7435 * sysvipc/shmctl.c: Likewise.
7436 * sysvipc/shmdt.c: Likewise.
7437 * sysvipc/shmget.c: Likewise.
7438 * termios/tcdrain.c: Likewise.
7439 * termios/tcflow.c: Likewise.
7440 * termios/tcflush.c: Likewise.
7441 * termios/tcgetattr.c: Likewise.
7442 * termios/tcgetpgrp.c: Likewise.
7443 * termios/tcsendbrk.c: Likewise.
7444 * termios/tcsetattr.c: Likewise.
7445 * termios/tcsetpgrp.c: Likewise.
7446 * time/adjtime.c: Likewise.
7447 * time/clock.c: Likewise.
7448 * time/getitimer.c: Likewise.
7449 * time/gettimeofday.c: Likewise.
7450 * time/setitimer.c: Likewise.
7451 * time/settimeofday.c: Likewise.
7452 * time/stime.c: Likewise.
7453 * time/time.c: Likewise.
7454
74552012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7456
a20492cf
PT
7457 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7458 /usr/old/bin.
7459
72e182e3
PT
7460 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7461 instead of spaces.
7462 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7463
fbeafede
JM
74642012-11-03 Joseph Myers <joseph@codesourcery.com>
7465
5b5b04d6
JM
7466 [BZ #14796]
7467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7468 FE_TONEAREST before applying Dekker multiplication and Knuth
7469 addition. Clear inexact exceptions and check for exact zero
7470 results afterwards.
7471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7472 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7474 * math/libm-test.inc (fma_test): Add more tests.
7475 (fma_test_towardzero): Likewise.
7476 (fma_test_downward): Likewise.
7477 (fma_test_upward): Likewise.
7478 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7479 function.
7480 (libc_fesetround): New macro.
7481 (libc_fesetroundf): Likewise.
7482 (libc_fesetroundl): Likewise.
7483 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7484 function.
7485 (libc_fesetround_387): Likewise.
7486 (libc_fesetroundf): New macro.
7487 (libc_fesetround): Likewise.
7488 (libc_fesetroundl): Likewise.
7489 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7490 function.
7491 (libc_fesetroundf): New macro.
7492 (libc_fesetround): Likewise.
7493 (libc_fesetroundl): Likewise.
7494 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7495 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7496 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7497 libm_hidden_ver.
7498 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7499 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7500 libm_hidden_def.
7501 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7502 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7503 libm_hidden_ver.
7504 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7505 libm_hidden_def.
7506
fbeafede
JM
7507 [BZ #3439]
7508 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7509 integer constant usable in #if and use that to give value to enum
7510 constant.
7511 (FE_DIVBYZERO): Likewise.
7512 (FE_UNDERFLOW): Likewise.
7513 (FE_OVERFLOW): Likewise.
7514 (FE_INVALID): Likewise.
7515 (FE_INVALID_SNAN): Likewise.
7516 (FE_INVALID_ISI): Likewise.
7517 (FE_INVALID_IDI): Likewise.
7518 (FE_INVALID_ZDZ): Likewise.
7519 (FE_INVALID_IMZ): Likewise.
7520 (FE_INVALID_COMPARE): Likewise.
7521 (FE_INVALID_SOFTWARE): Likewise.
7522 (FE_INVALID_SQRT): Likewise.
7523 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7524 (FE_TONEAREST): Likewise.
7525 (FE_TOWARDZERO): Likewise.
7526 (FE_UPWARD): Likewise.
7527 (FE_DOWNWARD): Likewise.
7528 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7529 (FE_DIVBYZERO): Likewise.
7530 (FE_OVERFLOW): Likewise.
7531 (FE_UNDERFLOW): Likewise.
7532 (FE_INEXACT): Likewise.
7533 (FE_TONEAREST): Likewise.
7534 (FE_DOWNWARD): Likewise.
7535 (FE_UPWARD): Likewise.
7536 (FE_TOWARDZERO): Likewise.
7537 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7538 (FE_UNDERFLOW): Likewise.
7539 (FE_OVERFLOW): Likewise.
7540 (FE_DIVBYZERO): Likewise.
7541 (FE_INVALID): Likewise.
7542 (FE_TONEAREST): Likewise.
7543 (FE_TOWARDZERO): Likewise.
7544 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7545 (FE_OVERFLOW): Likewise.
7546 (FE_UNDERFLOW): Likewise.
7547 (FE_DIVBYZERO): Likewise.
7548 (FE_INEXACT): Likewise.
7549 (FE_TONEAREST): Likewise.
7550 (FE_TOWARDZERO): Likewise.
7551 (FE_UPWARD): Likewise.
7552 (FE_DOWNWARD): Likewise.
7553 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7554 (FE_DIVBYZERO): Likewise.
7555 (FE_OVERFLOW): Likewise.
7556 (FE_UNDERFLOW): Likewise.
7557 (FE_INEXACT): Likewise.
7558 (FE_TONEAREST): Likewise.
7559 (FE_DOWNWARD): Likewise.
7560 (FE_UPWARD): Likewise.
7561 (FE_TOWARDZERO): Likewise.
7562
105ca950
CM
75632012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7564
7565 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7566
a542b389
AS
75672012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7568
7569 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7570 commands. Quote $PWD.
7571 (blacklist_exports): Don't use remove_newlines. Replace "declare
7572 -x" by "export".
7573 (remove_newlines): Remove.
7574
f62c8abc
L
75752012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7576
7577 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7578 * stdlib/stdlib.h (atof): Moved to ...
7579 * include/bits/stdlib-float.h: Here. New file.
7580 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7581 * stdlib/bits/stdlib-float.h: New file.
7582 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7583 -mno-sse -mno-mmx.
7584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7585 <xmmintrin.h>.
7586
0155d5b2
JM
75872012-11-02 Joseph Myers <joseph@codesourcery.com>
7588
a68d0680
JM
7589 * conform/conformtest.pl (@headers): Add fenv.h.
7590 * conform/data/fenv.h-data: New file.
7591 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7592 include of <math/fenv.h>.
7593
caf7f573
JM
7594 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7595 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7596 && !UNIX98]. Enables tests for XOPEN2K8.
7597 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7598 POSIX2008]: Likewise.
7599
6c073ad6
JM
7600 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7601 (struct rusage): Do not expect type or its members.
7602
0155d5b2
JM
7603 [BZ #3439]
7604 * math/math.h (FP_NAN): Define macro to integer constant usable in
7605 #if and use that to give value to enum constant.
7606 (FP_INFINITE): Likewise.
7607 (FP_ZERO): Likewise.
7608 (FP_SUBNORMAL): Likewise.
7609 (FP_NORMAL): Likewise.
7610
b5dcacb4
AS
76112012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7612
7613 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7614 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7615 arguments.
7616
f7934be8
RM
76172012-11-02 Roland McGrath <roland@hack.frob.com>
7618
7619 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7620 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7621 autoconf-time if not.
7622 * configure.in: Remove AC_PREREQ.
7623
d7d08bde
TMQMF
76242012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7625
7626 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7627 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7628 of the internal implementation.
7629
dcdae19a
JM
76302012-11-02 Joseph Myers <joseph@codesourcery.com>
7631
7632 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7633 except include of <misc/sys/syslog.h>.
7634
d6cffd3e
AS
76352012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7636
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7638 function returns with a NULL context exit with zero.
7639
b3563932
TMQMF
76402012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7641
7642 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7643
b288a93d
L
76442012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7645
7646 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7647 (run_program_cmd): This.
7648 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7649 (tst_langinfo): New variable. Use it.
7650
a2421a68
SAS
76512012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7652
7653 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7654 floating point opcodes.
7655
6f796e1b
TS
76562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7657
7402596b
TS
7658 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7659 variable.
7660
d0d4f868
TS
7661 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7662
6f796e1b
TS
7663 * sysdeps/mach/hurd/powerpc: Remove directory.
7664 * sysdeps/mach/powerpc: Likewise.
7665
4da224a2
AS
76662012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7667
7668 * scripts/check-local-headers.sh: Ignore c++ headers.
7669
341dd673
TS
76702012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7671
7672 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7673 __libc_cleanup_region_start argument.
7674
473611b2
JM
76752012-11-01 Joseph Myers <joseph@codesourcery.com>
7676
7677 [BZ #14784]
7678 [BZ #14785]
7679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7680 x * y using scaling, not as x * y + z.
7681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7683 * math/libm-test.inc (fma_test): Add more tests.
7684 (fma_test_towardzero): Likewise.
7685 (fma_test_downward): Likewise.
7686 (fma_test_upward): Likewise.
7687
4078da3d
TS
76882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7689
7690 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7691
903252aa
JM
76922012-10-31 Joseph Myers <joseph@codesourcery.com>
7693
7694 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7695 New variable.
7696
cbc818d0
TS
76972012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7698
7699 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7700
5a03cb1e
AS
77012012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7702
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7704 Fix sort order.
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7706 Likewise.
7707
90aff2ff
TMQMF
77082012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7709
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7711 Fix the order of the list for glibc 2.17.
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7713 Likewise.
7714
1818fcb7
AS
77152012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7716
7717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7718
ef82f4da
JM
77192012-10-31 Joseph Myers <joseph@codesourcery.com>
7720
16a0e2ec
JM
7721 [BZ #14610]
7722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7723 for low part of x being zero before using __atanl (y).
7724 * math/libm-test.inc (atan2_test): Add another test.
7725
0eb69512
JM
7726 * manual/install.texi (Configuring and compiling): Document
7727 general use of test-wrapper and test-wrapper-env.
7728 * INSTALL: Regenerated.
7729
ef82f4da
JM
7730 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7731 (__fma): Do not extract and scale down low bits on after-rounding
7732 systems when result rounded to normal precision would have normal
7733 exponent.
7734 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7735 (__fmal): Do not extract and scale down low bits on after-rounding
7736 systems when result rounded to normal precision would have normal
7737 exponent.
7738 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7739 (__fmal): Do not extract and scale down low bits on after-rounding
7740 systems when result rounded to normal precision would have normal
7741 exponent.
7742 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7743 macro.
7744 (fma_test): Add more tests.
7745 (fma_test_towardzero): Likewise.
7746 (fma_test_downward): Likewise.
7747 (fma_test_upward): Likewise.
7748
954ef0d9
L
77492012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7750
7751 * sysdeps/i386/tininess.h: Renamed to ...
7752 * sysdeps/x86/tininess.h: This.
7753 * sysdeps/x86_64/tininess.h: Removed.
7754
df61ffb2
JM
77552012-10-30 Joseph Myers <joseph@codesourcery.com>
7756
7757 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7758 input. Use $(build-program-cmd).
7759 ($(objpfx)tst-array1-static.out): Likewise.
7760 ($(objpfx)tst-array2.out): Likewise.
7761 ($(objpfx)tst-array3.out): Likewise.
7762 ($(objpfx)tst-array4.out): Likewise.
7763 ($(objpfx)tst-array5.out): Likewise.
7764 ($(objpfx)tst-array5-static.out): Likewise.
7765
01767843
CM
77662012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7767
47cc1490
CM
7768 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7769 if defined.
7770
01767843
CM
7771 * nss/nsswitch.h (nss_interface_function): Provide new
7772 macro for use with NSS functions.
7773 * grp/initgroups.c: Use new macro.
7774 * nss/getXXbyYY.c: Likewise.
7775 * nss/getXXbyYY_r.c: Likewise.
7776 * nss/getXXent.c: Likewise.
7777 * nss/getXXent_r.c: Likewise.
7778 * sysdeps/posix/getaddrinfo.c: Likewise.
7779
8321aa97
AJ
77802012-10-30 Andreas Jaeger <aj@suse.de>
7781
7782 * po/ru.po: Update Russion translation from translation project.
7783
2a27fd6d
JM
77842012-10-30 Joseph Myers <joseph@codesourcery.com>
7785
8627a232
JM
7786 [BZ #14152]
7787 [BZ #14783]
7788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7789 result and shift together with sticky bit instead of replicating
7790 round-to-nearest rounding.
7791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7793 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7794 missing underflow exceptions.
7795 (fma_test_towardzero): Add more tests.
7796 (fma_test_downward): Likewise.
7797 (fma_test_upward): Likewise.
7798
2a27fd6d
JM
7799 [BZ #14047]
7800 * sysdeps/generic/tininess.h: New file.
7801 * sysdeps/i386/tininess.h: Likewise.
7802 * sysdeps/sh/tininess.h: Likewise.
7803 * sysdeps/x86_64/tininess.h: Likewise.
7804 * stdlib/tst-strtod-underflow.c: Likewise.
7805 * stdlib/tst-tininess.c: Likewise.
7806 * stdlib/strtod_l.c: Include <tininess.h>.
7807 (round_and_return): Do not set errno for exact underflow cases.
7808 Force an underflow exception when setting errno for underflow.
7809 Determine underflow based on rounding to normal precision if
7810 TININESS_AFTER_ROUNDING.
7811 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7812 ERANGE for exact underflow cases.
7813 * stdlib/Makefile (tests): Add tst-tininess and
7814 tst-strtod-underflow.
7815 ($(objpfx)tst-tininess): Use $(link-libm).
7816 ($(objpfx)tst-strtod-underflow): Likewise.
7817
e7170363
AJ
78182012-10-30 Andreas Jaeger <aj@suse.de>
7819
e5088dc6
AJ
7820 [BZ#14767]
7821 * elf/Makefile (tests): Remove conditional for have-initfini-array
7822 since this is now always required and the variable does not exist
7823 anymore.
7824 (tests-static): Likewise.
7825 (modules-names): Likewise.
7826
e7170363 7827 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7828
7829 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7830 merged with constructor/destructor.
7831 (init_array): Likewise.
7832 * elf/tst-array2dep.c (fini_array): Likewise.
7833 (init_array): Likewise.
7834
60457d8a
MF
78352012-10-29 Mike Frysinger <vapier@gentoo.org>
7836
7837 * manual/message.texi: Delete @cartouche tags.
7838
8bece752
PT
78392012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7840
94ce799f
PT
7841 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7842 EOPNOTSUPP.
7843 * sysdeps/mach/hurd/fsync.c: Likewise.
7844
8bece752
PT
7845 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7846 [_POSIX_REALTIME_SIGNALS]: Change condition to
7847 [_POSIX_REALTIME_SIGNALS > 0].
7848
86ebe6b1
AJ
78492012-10-27 Andreas Jaeger <aj@suse.de>
7850
7851 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7852 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7854 [__WORDSIZE != 64]: Likewise.
7855
54399c08
L
78562012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7857
7858 * iconvdata/tst-table.sh: Remove ${SHELL}.
7859 * iconvdata/tst-tables.sh: Likewise.
7860
e2211bed
DM
78612012-10-25 David S. Miller <davem@davemloft.net>
7862
7863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7864 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7865 of strtoull.
7866
f303f97c
DM
7867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7868 ifunc-impl-list.c
7869 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7870 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7871 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7872 file.
7873
1e9d84cd
RM
78742012-10-25 Roland McGrath <roland@hack.frob.com>
7875
7876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7877 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7878 __getdirentries.
7879
df381762
JM
78802012-10-25 Joseph Myers <joseph@codesourcery.com>
7881 Jim Blandy <jimb@codesourcery.com>
7882
7883 * scripts/cross-test-ssh.sh: New file.
7884 * manual/install.texi (Configuring and compiling): Document use of
7885 cross-test-ssh.sh.
7886 * INSTALL: Regenerated.
7887
bff64913
PT
78882012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7889
7890 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7891 EOPNOTSUPP.
7892
25fe8932
JM
78932012-10-25 Joseph Myers <joseph@codesourcery.com>
7894
7895 * Makeconfig (run-program-prefix): Fix comment.
7896
cc1290d0
JM
78972012-10-24 Joseph Myers <joseph@codesourcery.com>
7898 Jim Blandy <jimb@codesourcery.com>
7899
7900 * Makeconfig (test-wrapper): New variable,
7901 (test-wrapper-env): Likewise.
7902 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7903 (run-built-tests): Define to yes.
7904 (run-program-prefix): Use $(test-wrapper).
7905 (built-program-cmd): Likewise.
7906 * Rules (make-test-out): Use $(test-wrapper-env) and
7907 $(host-built-program-cmd).
7908 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7909 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7910 tst-pathopt.sh.
7911 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7912 $(test-wrapper-env) to tst-rtld-load-self.sh.
7913 ($(objpfx)order2.out): Use $(test-wrapper).
7914 ($(objpfx)tst-initorder.out): Likewise.
7915 ($(objpfx)tst-initorder2.out): Likewise.
7916 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7917 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7918 (test_wrapper_env): New variable. Use it to run ld.so.
7919 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7920 Use it to run ld.so.
7921 (test_wrapper_env): Likewise.
7922 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7923 $(test-wrapper) to run-iconv-test.sh.
7924 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7925 (ICONV): Use $test_wrapper.
7926 * posix/Makefile ($(objpfx)globtest.out): Pass
7927 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7928 globtest.sh, not $(run-program-prefix).
7929 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7930 (test_wrapper): Likewise.
7931 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7932 set together with run_via_rtld_prefix.
7933 (run_program_prefix): Define in terms of test_wrapper and
7934 run_via_rtld_prefix.
7935
6e6249d0
RM
79362012-10-24 Roland McGrath <roland@hack.frob.com>
7937
7938 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7939 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7940 Targets removed.
7941
7942 [BZ #14743]
7943 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7944 Declare __clock_getres, __clock_gettime, __clock_settime,
7945 __clock_nanosleep, and __clock_getcpuclockid.
7946 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7947 Remove librt_hidden_def (clock_gettime).
7948 * sysdeps/unix/clock_gettime.c: Likewise.
7949 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7950 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7951 * rt/clock_getres.c: Define __clock_getres as an alias.
7952 * sysdeps/posix/clock_getres.c: Likewise.
7953 * rt/clock_settime.c: Define __clock_settime as an alias.
7954 * sysdeps/unix/clock_settime.c: Likewise.
7955 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7956 * sysdeps/unix/clock_nanosleep.c: Likewise.
7957 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7958 * rt/clock-compat.c: New file.
7959 * rt/Makefile (librt-routines): Add clock-compat and move
7960 $(clock-routines) to ...
7961 (routines): ... here, new variable.
7962 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7963 Don't add get_clockfreq here.
7964 * rt/Versions (libc: GLIBC_2.17): New version set.
7965 Add clock_* symbols here.
7966 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7968 (GLIBC_2.17): Add clock_* symbols.
7969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7973 Likewise.
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7975 Likewise.
7976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7980 * NEWS: Mention the move.
7981
7982 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7983 Use __open, __read, __close rather than their public counterparts.
7984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7985 (__get_clockfreq_via_cpuinfo): Likewise.
7986 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7987 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7988
7989 * config.h.in (HAVE_IFUNC): New #undef.
7990 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7991 was successful.
7992 * configure: Regenerated.
7993
0cae3f4b
MF
79942012-10-24 Mike Frysinger <vapier@gentoo.org>
7995
7996 * configure.in: Move READELF check to start of file.
7997 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7998 libc_cv_asm_gnu_indirect_function in the process.
7999 * configure: Regenerated.
8000
8175a253
MF
80012012-10-24 Mike Frysinger <vapier@gentoo.org>
8002
8003 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8004 send the output to /dev/null.
8005 (libc_cv_cc_with_libunwind): Likewise.
8006 (libc_cv_as_noexecstack): Likewise.
8007 * configure: Regenerate.
8008
0708a7d1
JM
80092012-10-24 Joseph Myers <joseph@codesourcery.com>
8010
10b40d85
JM
8011 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8012
0708a7d1
JM
8013 * posix/globtest.sh (TMPDIR): Do not set.
8014 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8015 (testout): Likewise.
8016
9fddec1a
AJ
80172012-10-24 Andreas Jaeger <aj@suse.de>
8018
3a8db22f
AJ
8019 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8020 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8021 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8022 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8023 posix_fadvise64, posix_fallocate64.
8024
9fddec1a
AJ
8025 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8026 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8027 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8028 Likewise.
8029 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8030 Likewise.
8031 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8032
8033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8034 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8035 <bits/fcntl-linux.h>.
8036 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8037
8038 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8039 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8040 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8041 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8042 [__WORDSIZE != 64]: Likewise.
8043
ebfd1bbd
JM
80442012-10-23 Joseph Myers <joseph@codesourcery.com>
8045
03ac099f
JM
8046 * Makeconfig (run-built-tests): New variable.
8047 * Rules [$(cross-compiling) = yes]: Change condition to
8048 [$(run-built-tests) = no].
8049 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8050 to [$(run-built-tests) = yes].
8051 * elf/Makefile [$(cross-compiling) = no]: Likewise
8052 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8053 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8054 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8055 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8056 * io/Makefile [$(cross-compiling) = no]: Likewise.
8057 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8058 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8059 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8060 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8061 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8062 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8063 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8064 * string/Makefile [$(cross-compiling) = no]: Likewise.
8065
ebfd1bbd
JM
8066 * posix/Makefile ($(objpfx)globtest.out): Pass
8067 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8068 $(rtld-installed-name).
8069 * posix/globtest.sh (elf_objpfx): Remove variable.
8070 (rtld_installed_name): Likewise.
8071 (library_path): Likewise.
8072 (run_program_prefix): New variable. Use for running globtest
8073 binary.
8074
166bca24
JB
80752012-10-23 Jim Blandy <jimb@codesourcery.com>
8076 Joseph Myers <joseph@codesourcery.com>
8077
8078 * Makeconfig (host-built-program-cmd): New variable.
8079 * elf/Makefile (tst-stackguard1-ARGS): Use
8080 $(host-built-program-cmd).
8081 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8082 (tst-spawn-ARGS): Likewise.
8083 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8084
88866099
JM
80852012-10-23 Joseph Myers <joseph@codesourcery.com>
8086 Jim Blandy <jimb@codesourcery.com>
8087
8088 * Makeconfig (run-via-rtld-prefix): New variable.
8089 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8090 (built-program-cmd): Likewise.
8091
b4b4c296
AJ
80922012-10-22 Andreas Jaeger <aj@suse.de>
8093
8094 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8095 __O_RSYNC if it exists, otherwise to O_SYNC.
8096
6fb54a22
JB
80972012-10-22 Jim Blandy <jimb@codesourcery.com>
8098 Joseph Myers <joseph@codesourcery.com>
8099
8100 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8101 /dev/null.
8102 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8103 from /dev/null
8104 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8105 /dev/null.
8106
481b90b9
AJ
81072012-10-22 Andreas Jaeger <aj@suse.de>
8108
2a0e2669
AJ
8109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8110 Define always.
8111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8112
76e38f9a
AJ
8113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8114 bits/fcntl-linux.h.
8115
7cd37b43
AJ
8116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8117 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8118
481b90b9
AJ
8119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8120 to __O_LARGEFILE.
8121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8122 to __O_LARGEFILE.
8123
aba75984
JB
81242012-10-21 Jim Blandy <jimb@codesourcery.com>
8125 Joseph Myers <joseph@codesourcery.com>
8126
8127 * config.make.in (NM): New variable.
8128
88d4247f
AJ
81292012-10-21 Andreas Jaeger <aj@suse.de>
8130
8131 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8132 definitions and declarations that are provided by
8133 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8134
f2eed205
L
81352012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8136
8137 [BZ #14683]
8138 * elf/Makefile (tests-static): Add tst-leaks1-static.
8139 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8140 ($(objpfx)tst-leaks1-static): New rule.
8141 ($(objpfx)tst-leaks1-static-mem): Likewise.
8142 (tst-leaks1-static-ENV): New macro.
8143 * elf/dl-open.c (dl_open_worker): Check the main application
8144 only if SHARED is defined.
8145 * elf/tst-leaks1-static.c: New file.
8146
335e6931
AJ
81472012-10-20 Andreas Jaeger <aj@suse.de>
8148
8149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8150 generic values for Linux.
8151 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8152 and declarations that are provided by <bits/fcntl-linux.h> and
8153 include <bits/fcntl-linux.h>.
8154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8156
ac5c94d3
RM
81572012-10-20 Roland McGrath <roland@hack.frob.com>
8158
8159 * io/fcntl.h: Move include of <bits/types.h> to the top and
8160 include it unconditionally.
8161
de54b33a
L
81622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8163
228cfb01
L
8164 * wcsmbs/Makefile (tests-ifunc): New variable.
8165 (tests): Add $(tests-ifunc).
8166 * wcsmbs/test-wcschr-ifunc.c: New file.
8167 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8168 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8169 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8170 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8171 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8172
69f07e5f
L
8173 * string/Makefile (tests-ifunc): New variable.
8174 (tests): Add $(tests-ifunc).
8175 * string/test-memccpy.c (TEST_NAME): New macro.
8176 * string/test-memchr.c (TEST_NAME): Likewise.
8177 * string/test-memcmp.c (TEST_NAME): Likewise.
8178 * string/test-memcpy.c (TEST_NAME): Likewise.
8179 * string/test-memmem.c (TEST_NAME): Likewise.
8180 * string/test-memmove.c (TEST_NAME): Likewise.
8181 * string/test-memset.c (TEST_NAME): Likewise.
8182 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8183 * string/test-stpcpy.c (TEST_NAME): Likewise.
8184 * string/test-stpncpy.c (TEST_NAME): Likewise.
8185 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8186 * string/test-strcasestr.c (TEST_NAME): Likewise.
8187 * string/test-strcat.c (TEST_NAME): Likewise.
8188 * string/test-strchr.c (TEST_NAME): Likewise.
8189 * string/test-strcmp.c(TEST_NAME): Likewise.
8190 * string/test-strcpy.c (TEST_NAME): Likewise.
8191 * string/test-strcspn.c (TEST_NAME): Likewise.
8192 * string/test-strlen.c (TEST_NAME): Likewise.
8193 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8194 * string/test-strncmp.c (TEST_NAME): Likewise.
8195 * string/test-strncpy.c (TEST_NAME): Likewise.
8196 * string/test-strnlen.c (TEST_NAME): Likewise.
8197 * string/test-strpbrk.c (TEST_NAME): Likewise.
8198 * string/test-strrchr.c (TEST_NAME): Likewise.
8199 * string/test-strspn.c (TEST_NAME): Likewise.
8200 * string/test-strstr.c (TEST_NAME): Likewise.
8201 * string/test-bcopy-ifunc.c: New file.
8202 * string/test-bzero-ifunc.c: Likewise.
8203 * string/test-memccpy-ifunc.c: Likewise.
8204 * string/test-memchr-ifunc.c: Likewise.
8205 * string/test-memcmp-ifunc.c: Likewise.
8206 * string/test-memcpy-ifunc.c: Likewise.
8207 * string/test-memmem-ifunc.c: Likewise.
8208 * string/test-memmove-ifunc.c: Likewise.
8209 * string/test-mempcpy-ifunc.c: Likewise.
8210 * string/test-memset-ifunc.c: Likewise.
8211 * string/test-rawmemchr-ifunc.c: Likewise.
8212 * string/test-stpcpy-ifunc.c: Likewise.
8213 * string/test-stpncpy-ifunc.c: Likewise.
8214 * string/test-strcasecmp-ifunc.c: Likewise.
8215 * string/test-strcasestr-ifunc.c: Likewise.
8216 * string/test-strcat-ifunc.c: Likewise.
8217 * string/test-strchr-ifunc.c: Likewise.
8218 * string/test-strchrnul-ifunc.c: Likewise.
8219 * string/test-strcmp-ifunc.c: Likewise.
8220 * string/test-strcpy-ifunc.c: Likewise.
8221 * string/test-strcspn-ifunc.c: Likewise.
8222 * string/test-strlen-ifunc.c: Likewise.
8223 * string/test-strncasecmp-ifunc.c: Likewise.
8224 * string/test-strncat-ifunc.c: Likewise.
8225 * string/test-strncmp-ifunc.c: Likewise.
8226 * string/test-strncpy-ifunc.c: Likewise.
8227 * string/test-strnlen-ifunc.c: Likewise.
8228 * string/test-strpbrk-ifunc.c: Likewise.
8229 * string/test-strrchr-ifunc.c: Likewise.
8230 * string/test-strspn-ifunc.c: Likewise.
8231 * string/test-strstr-ifunc.c: Likewise.
8232
de54b33a
L
8233 * debug/Makefile (tests-ifunc): New variable.
8234 (tests): Add $(tests-ifunc).
8235 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8236 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8237 * debug/test-stpcpy_chk-ifunc.c: New file.
8238 * debug/test-strcpy_chk-ifunc.c: Likewise.
8239
88481c16
SP
82402012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8241
8242 [BZ #13601]
8243 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8244 header is not read in.
8245
135948bd
JM
82462012-10-19 Joseph Myers <joseph@codesourcery.com>
8247
89f1c388
JM
8248 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8249 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8250 directly. Pass built executable to script as
8251 $(built-program-cmd).
8252 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8253 $testprogram without using LD_LIBRARY_PATH and $ldso.
8254
e40a0d21
JM
8255 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8256 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8257 $(rtld-installed-name).
8258 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8259 (rtld_installed_name): Likewise.
8260 (library_path): Likewise.
8261 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8262 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8263 $(run-program-prefix) to tst-tables.sh.
8264 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8265 it to run tst-table-from and tst-table-to.
8266 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8267 Pass it to tst-table.sh.
8268 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8269 $(run-program-prefix) to tst-gettext.sh.
8270 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8271 tst-translit.sh.
8272 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8273 tst-gettext2.sh.
8274 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8275 to run tst-gettext.
8276 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8277 to run tst-gettext2.
8278 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8279 to run tst-translit.
8280 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8281 $(run-program-prefix) to tst-mtrace.sh.
8282 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8283 to run tst-mtrace.
8284 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8285 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8286 $(rtld-installed-name).
8287 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8288 (rtld_installed_name): Likewise.
8289 (run_program_prefix): New variable. Use it to run wordexp-test.
8290
728e272a
JM
8291 * Makeconfig (ARCH): Remove all definitions.
8292 (machine): Likewise.
8293 [ARCH]: Remove conditional code.
8294 [!objdir]: Give error.
8295 [!objdir] (objpfx): Remove.
8296 [!objdir] (common-objpfx): Likewise.
8297 [!objdir] (common-objdir): Likewise.
8298 * configure.in (config_makefile): Remove. Hardcode Makefile in
8299 AC_CONFIG_FILES call.
8300 * configure: Regenerated.
8301
d528cdcf
JM
8302 [BZ #13888]
8303 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8304 or TMPDIR.
8305 (testout): Likewise.
8306
135948bd
JM
8307 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8308 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8309 $(rtld-installed-name).
8310 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8311 (rtld_installed_name): Likwise.
8312 (runit): Remove function.
8313 (run_getconf): New variable, Use it for running getconf binary.
8314
38c78296
L
83152012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8316
8317 [BZ #14716]
8318 * string/test-memmem.c (check_result): New function.
8319 (do_one_test): Use it.
8320 (check1): New function.
8321 (test_main): Use it.
8322
d077f65f
MT
83232012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8324
8325 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8326
ced52c71
JM
83272012-10-18 Joseph Myers <joseph@codesourcery.com>
8328
8329 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8330 (_G_LSEEK64): Likewise.
8331 (_G_MMAP64): Likewise.
8332 (_G_FSTAT64): Likewise.
8333 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8334 (_G_LSEEK64): Likewise.
8335 (_G_MMAP64): Likewise.
8336 (_G_FSTAT64): Likewise.
8337 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8338 unconditional. Call __mmap64 directly.
8339 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8340 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8341 __lseek64 directly.
8342 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8343 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8344 __mmap64 directly.
8345 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8346 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8347 __lseek64 directly.
8348 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8349 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8350 __lseek64 directly.
8351 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8352 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8353 __lseek64 directly.
8354 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8355 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8356 __fxstat64 directly.
8357 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8358 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8359 unconditional.
8360 (freopen64) [!_G_OPEN64]: Remove conditional code.
8361 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8362 unconditional.
8363 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8364 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8365 unconditional.
8366 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8367 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8368 unconditional.
8369 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8370 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8371 unconditional.
8372 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8373 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8374 unconditional.
8375 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8376 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8377 unconditional.
8378 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8379 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8380 unconditional.
8381 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8382
b741de23
SP
83832012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8384
8385 [BZ #12140]
8386 * manual/memory.texi (Malloc Tunable Parameters): Add note
8387 about free list pointers overwriting some perturb bytes.
8388 Wording suggested by Roland McGrath.
8389
f9b9d9c9
JM
83902012-10-17 Joseph Myers <joseph@codesourcery.com>
8391
8392 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8393 (lgamma_test): Likewise.
8394 (tgamma_test): Likewise.
8395
172a631a
FW
83962012-10-16 Florian Weimer <fweimer@redhat.com>
8397
8398 [BZ #14700]
8399 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8400 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8401
e9f37252
MK
84022012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8403
8404 * NEWS: Mention BZ #14716.
8405 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8406 when removing AVAILABLE1_USES_J macro.
8407
d394eb74
L
84082012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8409
8410 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8411 (__bswap_64): __uint64_t for unsigned 64-bit int.
8412
ca38dc17
AS
84132012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8414
8415 * include/string.h (memmem): Declare libc hidden alias.
8416 * string/memmem.c (memmem): Define libc hidden alias.
8417 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8418 __read, __close instead of open, read, close.
8419
9a387d1f
L
84202012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8421
ac49ecaf
L
8422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8423 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8424 global and hidden.
8425 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8426 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8427 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8428 Likewise.
8429 (__rawmemchr_sse2): Likewise.
8430 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8431 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8432 (__strchr_sse2): Likewise.
8433 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8434 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8435 (__strcasecmp_sse2): Likewise.
8436 (__strncasecmp_sse2): Likewise.
8437 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8438 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8439 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8440 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8441 (__strrchr_sse2): Likewise.
8442 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8443 ifunc-impl-list.c.
8444 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8445 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8446 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8447 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8448 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8449 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8450 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8451 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8452 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8453 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8454 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8455 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8456 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8457 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8458 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8459 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8460 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8461 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8462 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8463 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8464 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8465 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8466 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8467 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8468 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8469 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8470 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8471 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8472 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8473 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8474
b090e8ea
L
8475 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8476 global and hidden.
8477 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8478 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8479 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8480 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8481 Likewise.
8482 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8483 Likewise.
8484 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8485 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8486 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8487 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8488 ifunc-impl-list.c.
8489 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8490 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8491 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8493 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8494 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8495 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8502 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8503 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8504 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8505 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8507 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8508 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8514 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8515 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8516 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8517 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8518 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8519 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8520 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8521 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8522 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8523 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8524 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8525 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8526 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8527 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8528 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8529 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8530
11dd4af6
L
8531 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8532 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8533 * include/ifunc-impl-list.h: New file.
8534 * misc/ifunc-impl-list.c: Likewise.
8535 * misc/Makefile (routines): Add ifunc-impl-list.
8536 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8537 * string/test-string.h: Include <ifunc-impl-list.h>.
8538 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8539 impl_array): New variables.
8540 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8541 are defined.
8542 (test_init): Call __libc_ifunc_impl_list to initialize
8543 func_list if TEST_IFUNC and TEST_NAME are defined.
8544
9a387d1f
L
8545 * string/Makefile (strop-tests): Add bcopy and bzero.
8546 * string/test-bcopy.c: New file.
8547 * string/test-bzero.c: Likewise.
8548 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8549 defined.
8550 * string/test-memset.c: Support bzero test if TEST_BZERO is
8551 defined.
8552 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8553 __libc_memmove.
8554 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8555 __libc_memset.
8556 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8557 of memset.
8558
472371b9
JM
85592012-10-10 Joseph Myers <joseph@codesourcery.com>
8560
1e4a9536
JM
8561 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8562 * configure: Regenerated.
8563
d173d12e
JM
8564 * Makeconfig (+link-static-before-libc): Don't include
8565 $(link-static-libc).
8566
472371b9
JM
8567 * libio/libio.h (_IO_pos_t): Remove.
8568
89a3ad0b
AO
85692012-10-10 Alexandre Oliva <aoliva@redhat.com>
8570
8571 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8572 McGrath.
8573
e7451425
AO
85742012-10-10 Alexandre Oliva <aoliva@redhat.com>
8575
8576 * crypt/crypt-entry.c: Include fips-private.h.
8577 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8578 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8579 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8580 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8581
4ba74a35
AO
85822012-10-10 Alexandre Oliva <aoliva@redhat.com>
8583
8584 * crypt/crypt-private.h: Include stdbool.h.
8585 (_ufc_setup_salt_r): Return bool.
8586 * crypt/crypt-entry.c: Include errno.h.
8587 (__crypt_r): Return NULL with EINVAL for bad salt.
8588 * crypt/crypt_util.c (bad_for_salt): New.
8589 (_ufc_setup_salt_r): Check that salt is long enough and within
8590 the specified alphabet.
8591 * crypt/badsalttest.c: New file.
8592 * crypt/Makefile (tests): Add it.
8593 ($(objpfx)badsalttest): New.
8594
f96f1242
MK
85952012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8596
8597 * NEWS: Add entry for BZ #14602.
8598
0e8e0c1c
JM
85992012-10-09 Joseph Myers <joseph@codesourcery.com>
8600
8601 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8602 type-generic.
8603 * math/libm-test.inc: Update comment listing what functions and
8604 macros are tested.
8605 (isgreater_test): New function.
8606 (isgreaterequal_test): Likewise.
8607 (isless_test): Likewise.
8608 (islessequal_test): Likewise.
8609 (islessgreater_test): Likewise.
8610 (isunordered_test): Likewise.
8611 (main): Call the new functions.
8612
273edc5e
RM
86132012-10-09 Roland McGrath <roland@hack.frob.com>
8614
b8493de0
RM
8615 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8616 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8617 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8618 * sysdeps/i386/configure: Regenerated.
8619 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8620 * sysdeps/mach/configure: Regenerated.
8621 * sysdeps/mach/hurd/configure: Regenerated.
8622 * sysdeps/powerpc/configure: Regenerated.
8623 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8624 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8625 * sysdeps/s390/s390-32/configure: Regenerated.
8626 * sysdeps/s390/s390-64/configure: Regenerated.
8627 * sysdeps/sh/configure: Regenerated.
8628 * sysdeps/sparc/configure: Regenerated.
8629 * sysdeps/unix/sysv/linux/configure: Regenerated.
8630 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8631 * sysdeps/x86_64/configure: Regenerated.
8632
273edc5e
RM
8633 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8634 defined. Don't check if MAP is NULL.
8635
c8450f70
JM
86362012-10-09 Joseph Myers <joseph@codesourcery.com>
8637
8638 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8639 (_G_stat64): Likewise.
8640 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8641 (_G_stat64): Likewise.
8642 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8643 instead of struct _G_stat64.
8644 * libio/fileops.c (mmap_remap_check): Likewise.
8645 (decide_maybe_mmap): Likewise.
8646 (_IO_new_file_seekoff): Likewise.
8647 (_IO_file_stat): Likewise.
8648 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8649 _G_off64_t.
8650 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8651 instead of struct _G_stat64.
8652 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8653
57e605ba
MK
86542012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8655
8656 [BZ #14602]
8657 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8658 Replace with ...
8659 (CHECK_EOL): New macro.
8660 (two_way_short_needle): Check beginning of haystack for EOL. Use
8661 CHECK_EOL.
8662 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8663 Replace with CHECK_EOL.
8664 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8665 Replace with CHECK_EOL.
8666
ef1bb361
JM
86672012-10-08 Joseph Myers <joseph@codesourcery.com>
8668
8669 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8670 type-generic.
8671 * math/libm-test.inc: Update comment listing what functions and
8672 macros are tested.
8673 (finite_test): New function.
8674 (isinf_test): Likewise.
8675 (isnan_test): Likewise.
8676 (fpclassify_test): Test subnormal input.
8677 (isfinite_test): Likewise.
8678 (isnormal_test): Likewise.
8679 (main): Call the new functions.
8680
55f11534
JN
86812012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8682
8683 [BZ #14660]
8684 * Makerules (%.dynsym): Force C locale when running
8685 $(OBJDUMP) --dynamic-syms.
8686
1ab29350
AS
86872012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8688
8689 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8690 <stdint.h>.
8691
f1ecb7ef
DM
86922012-10-06 David S. Miller <davem@davemloft.net>
8693
8694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8695 upper 32-bits of the length value in %o2 since we use branch-on-register
8696 tests which consider the entire 64-bit register.
8697
5d41d91a
L
86982012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8699
8700 * string/test-strstr.c (check2): Add a test for page boundary.
8701
3baddb72
DM
87022012-10-05 David S. Miller <davem@davemloft.net>
8703
8704 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8705 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8706 file.
8707 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8708 sysdep_routines.
8709 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8710 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8711 and bzero when HWCAP_SPARC_CRYPTO is present.
8712
9cee5585
L
87132012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8714
d7e0dab9
L
8715 [BZ #14602]
8716 * string/test-strstr.c (check2): New function.
8717 (test_main): Call check2.
8718
03759f47
L
8719 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8720 and bug-strchr1.
8721 * string/bug-strcasestr1.c (do_test): Moved to ...
8722 * string/test-strcasestr.c (check1): Here. New function.
8723 (do_one_test): Break out result checking code into ...
8724 (check_result): This. New function.
8725 (do_one_test): Call check_result.
8726 (test_main): Call check1.
8727 * string/bug-strchr1.c (do_test): Moved to ...
8728 * string/test-strchr.c (check1): Here. New function.
8729 (do_one_test): Break out result checking code into ...
8730 (check_result): This. New function.
8731 (do_one_test): Call check_result.
8732 (test_main): Call check1.
8733 * string/bug-strstr1.c (main): Moved to ...
046f153e 8734 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8735 (do_one_test): Break out result checking code into ...
8736 (check_result): This. New function.
8737 (do_one_test): Call check_result.
8738 (test_main): Call check1.
8739 * string/bug-strcasestr1.c: Removed.
8740 * string/bug-strchr1.c: Likewise.
8741 * string/bug-strstr1.c: Likewise.
8742
53cea63e
L
8743 * elf/Makefile (dl-routines): Add hwcaps.
8744 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8745 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8746 (_dl_important_hwcaps): Moved to ...
8747 * elf/dl-hwcaps.c: Here. New file.
8748 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8749
9cee5585 8750 [BZ #14557]
bb859b06
L
8751 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8752 if IS_IN_rtld isn't defined.
8753
9cee5585
L
8754 * elf/dl-support.c (_dl_sysinfo_map): New.
8755 Include "get-dynamic-info.h" and "setup-vdso.h".
8756 (_dl_non_dynamic_init): Call setup_vdso.
8757 * elf/dynamic-link.h: Don't include <assert.h>.
8758 (elf_get_dynamic_info): Moved to ...
8759 * elf/get-dynamic-info.h: Here. New file.
8760 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8761 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8762 * elf/setup-vdso.h: Here. New file.
8763 * elf/rtld.c: Include "setup-vdso.h".
8764 (dl_main): Call setup_vdso.
8765
23c31b76
JM
87662012-10-05 Joseph Myers <joseph@codesourcery.com>
8767
28234b07
JM
8768 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8769 creal in comment listing functions tested. List finite, isinf,
8770 isnan, isless, islessequal, isgreater, isgreaterequal,
8771 islessgreater, isunordered, lgamma_r and pow10 as functions and
8772 macros not tested. Mention which functions not tested are aliases
8773 for other functions. Fix typo. Note that signs of NaNs are not
8774 tested.
8775
23c31b76
JM
8776 * scripts/config.guess: Update from config.git.
8777 * scripts/config.sub: Likewise.
8778
9043e228
RM
87792012-10-04 Roland McGrath <roland@hack.frob.com>
8780
8781 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8782 * misc/madvise.c (madvise): Renamed to __madvise.
8783 Make madvise a weak alias.
8784 * include/sys/mman.h: Declare __madvise.
8785 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8786 * sysdeps/unix/syscalls.list
8787 (madvise): Make __madvise the strong name, and madvise a weak alias.
8788 * sysdeps/unix/sysv/linux/syscalls.list
8789 (madvise, mmap): Remove redundant entries.
8790 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8791 * malloc/malloc.c (mtrim): Likewise.
8792 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8793
f57f8055
RM
87942012-10-03 Roland McGrath <roland@hack.frob.com>
8795
8796 * sysdeps/mach/hurd/dl-cache.c: File removed.
8797 * config.h.in (USE_LDCONFIG): New #undef.
8798 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8799 * configure: Regenerated.
8800 * elf/Makefile (dl-routines): Add dl-cache only under
8801 [$(use-ldconfig) = yes].
8802 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8803 cache on [USE_LDCONFIG].
8804 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8805 [USE_LDCONFIG].
8806 * elf/rtld.c (dl_main): Likewise.
8807
5bb0c10a
PT
88082012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8809
8810 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8811 _SC_LEVEL4_CACHE_LINESIZE.
8812
010188c6
RM
88132012-10-03 Roland McGrath <roland@hack.frob.com>
8814
8815 * sysdeps/unix/bsd/confstr.h: File removed.
8816
b6c5ec07
AO
88172012-10-02 Alexandre Oliva <aoliva@redhat.com>
8818
8819 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8820 sys/sdt-config.h.
8821
408223d4
RM
88222012-10-02 Roland McGrath <roland@hack.frob.com>
8823
8824 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8825 Make 'mapoff' field ElfW(Off) rather than off_t.
8826
bb9510dc
DL
88272012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8828
fc997c6e
DL
8829 * nscd/Makefile: Remove nscd-cflags and all its users.
8830 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8831 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8832
bb9510dc
DL
8833 [BZ #10631]
8834 * malloc.c (malloc_printerr): Clarify error message.
8835
05699367
L
88362012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8837
8838 [BZ #14648]
8839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8840 Set bit_FMA_Usable if FMA is supported.
8841 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8842 macro.
8843 (bit_FMA4_Usable): Updated.
8844 (index_FMA_Usable): New macro.
8845 (CPUID_FMA): Likewise
8846 (HAS_FMA): Defined with bit_FMA_Usable.
8847
51367701
RM
88482012-10-01 Roland McGrath <roland@hack.frob.com>
8849
8850 * bits/types.h (__swblk_t): Type removed.
8851 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8852 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8854 (__SWBLK_T_TYPE): Likewise.
8855 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8856 (__SWBLK_T_TYPE): Likewise.
8857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8858 (__SWBLK_T_TYPE): Likewise.
8859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8860 (__SWBLK_T_TYPE): Likewise.
8861
4d57bf63 88622012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8863 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8864
8865 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8866 (xdr_mapname): Use YPMAXMAP as maxsize.
8867 (xdr_peername): Use YPMAXPEER as maxsize.
8868 (xdr_keydat): Use YPAXRECORD as maxsize.
8869 (xdr_valdat): Use YPMAXRECORD as maxsize.
8870
93c65d43
RM
88712012-10-01 Roland McGrath <roland@hack.frob.com>
8872
497a03d6
RM
8873 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8874
93c65d43
RM
8875 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8876 * csu/init-first.c: ... here.
8877 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8878 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8879 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8881 * sysdeps/i386/init-first.c: File removed.
8882 * sysdeps/sh/init-first.c: File removed.
8883
bec749fd
JM
88842012-10-01 Joseph Myers <joseph@codesourcery.com>
8885
8886 [BZ #14645]
8887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8888 if x * y might underflow to zero and z is zero.
8889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8891 * math/libm-test.inc (min_subnorm_value): New variable.
8892 (fma_test): Add more tests.
8893 (fma_test_towardzero): Likewise.
8894 (fma_test_downward): Likewise
8895 (fma_test_upward): Likewise.
8896 (initialize): Set min_subnorm_value.
8897
8ec5b013
JM
88982012-09-29 Joseph Myers <joseph@codesourcery.com>
8899
8900 [BZ #14638]
8901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8902 0 + 0.
8903 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8904 mode for addition resulting in exact zero.
8905 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8907 exact 0 + 0.
8908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8910 * math/libm-test.inc (fma_test): Add more tests.
8911 (fma_test_towardzero): New function.
8912 (fma_test_downward): Likewise.
8913 (fma_test_upward): Likewise.
8914 (main): Call the new functions.
8915
b1fa802e
DM
89162012-09-28 David S. Miller <davem@davemloft.net>
8917
8918 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8919
d3b9fd9e
RM
89202012-09-28 Roland McGrath <roland@hack.frob.com>
8921
ea4d37b3
RM
8922 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8923 instead of SIGALRM.
8924
ac51c949
RM
8925 * sysdeps/gnu/_G_config.h: Moved to ...
8926 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8927 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8928 * sysdeps/generic/_G_config.h: ... here.
8929
28c195f7
RM
8930 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8931
848917f9
RM
8932 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8933
6bacf05b
RM
8934 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8935 Conditionalize target on [libnss_test1.so-version].
8936
91363dbb
RM
8937 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8938
cc87f7d8
RM
8939 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8940 (elfobjdir): Move out of conditionals.
8941
b1c608fe
RM
8942 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8943 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8944 (__nss_lookup_function): Conditionalize label remove_from_tree on
8945 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8946
1d9a6d96
DM
89472012-09-28 David S. Miller <davem@davemloft.net>
8948
8949 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8950 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8951 file.
8952 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8953 sysdep_routines.
8954 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8956 when HWCAP_SPARC_CRYPTO is present.
8957
72581615
PT
89582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8959
8960 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8961
715a900c
JL
89622012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8963
8964 [BZ #6530]
8965 * stdio-common/vfprintf.c (process_string_arg): Revert
8966 2000-07-22 change.
8967
89682011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8969
8970 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8971 for testcase.
8972 * stdio-common/tst-sprintf.c: Include <locale.h>
8973 (main): Test sprintf's handling of incomplete multibyte
8974 characters.
8975
9bac1d86
L
89762012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8977
8978 * elf/dl-runtime.c (VERSYMIDX): Removed.
8979 * elf/dl-version.c (VERSYMIDX): Likewise.
8980 * elf/do-rel.h (VERSYMIDX): Likewise.
8981 (VALIDX): Likewise.
8982 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8983 * elf/rtld.c (VALIDX): Likewise.
8984 (ADDRIDX): Likewise.
9bac1d86
L
8985 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8986 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8987 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8988 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8989 (VALIDX): Likewise.
8990 (ADDRIDX): Likewise.
9bac1d86 8991
b31606c0
PT
89922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8993
8994 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8995
11541177
JL
89962012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8997
8998 [BZ #11438]
8999 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9000 to global scope.
9001 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9002 addresses are in the same scope as 192.0.2/24.
9003 * posix/gai.conf: Document new scope table defaults.
9004
adb26fae
SP
90052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9006
9007 [BZ #5298]
9008 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9009 for ftell. Compute offsets from write pointers instead.
9010 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9011
4573c6b0
SP
90122012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9013
9014 [BZ #14543]
9015 * libio/Makefile (tests): New test case tst-fseek.
9016 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9017 combination works in wide mode.
9018 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9019 state when the external buffer state changes.
9020
aa9bbfe6
DM
90212012-09-27 David S. Miller <davem@davemloft.net>
9022
9023 [BZ #14376]
9024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9025 pass reloc->r_addend in as the 'high' argument to
9026 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9027
784421e7
DM
9028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9029
c39bc8b8
PT
90302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9031
9032 * rt/tst-aio2.c: Include <pthread.h>.
9033 * rt/tst-aio3.c: Likewise.
9034
1ccc2399
SE
90352012-09-27 Steve Ellcey <sellcey@mips.com>
9036
9037 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9038
31ed4153
L
90392012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9040
25f5f885
L
9041 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9042 contents on [SHARED].
31ed4153 9043
b7bfe116
MP
90442012-09-26 Marek Polacek <polacek@redhat.com>
9045
9046 [BZ #14530]
9047 [BZ #13741]
9048 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9049 for C++ and GCC <4.3 as well as for non GCC compilers.
9050
43c4edba
MT
90512012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9052
9053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9054
6a1bf82f
RM
90552012-09-25 Roland McGrath <roland@hack.frob.com>
9056
9057 * Makefile.in (all, install): Declare with .PHONY.
9058 Reported by Michael Hope <michael.hope@linaro.org>.
9059
8ad11b9a
TMQMF
90602012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9061
9062 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9063 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9064 system header.
9065 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9066 Likewise.
9067 (sydep_routines): Add the new and the internal functions.
9068 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9069 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9071 (GLIBC_2.17): Add the new function.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9073 (GLIBC_2.17): Likewise.
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9075 (GLIBC_2.17): Likewise.
9076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9077 (GLIBC_2.17): Likewise.
9078 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9079
7e2fca8d
AM
90802012-09-25 Alan Modra <amodra@gmail.com>
9081
9082 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9083 Add release barrier before setting once_control to say
9084 initialisation is done. Add hints on lwarx. Use macro in
9085 place of isync.
9086 (clear_once_control): Add release barrier.
9087
b87c4b24
JM
90882012-09-25 Joseph Myers <joseph@codesourcery.com>
9089
d032e0d2
JM
9090 [BZ #13629]
9091 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9092 specially.
9093 * math/s_clog10.c (__clog10): Likewise.
9094 * math/s_clog10f.c (__clog10f): Likewise.
9095 * math/s_clog10l.c (__clog10l): Likewise.
9096 * math/s_clogf.c (__clogf): Likewise.
9097 * math/s_clogl.c (__clogl): Likewise.
9098 * math/Makefile (libm-calls): Add x2y2m1.
9099 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9100 (__x2y2m1): Likewise.
9101 (__x2y2m1l): Likewise.
9102 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9103 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9106 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9107 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9108 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9109 * sysdeps/i386/fpu/libm-test-ulps: Update.
9110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9111
b87c4b24
JM
9112 [BZ #14621]
9113 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9114 int as type of variable DEPTH.
9115 (glob): Use size_t instead of int as type of variables NEWCOUNT
9116 and OLD_PATHC.
9117
6d3bf199
LD
91182012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9119
22bf5c17
LD
9120 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9121 Add s_sincosf-sse2.
9122 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9123 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9124 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9125 macros for using routine as __sincosf_ia32.
9126 Use macro for function declaration and weak_alias.
9127 * sysdeps/i386/fpu/libm-test-ulps: Update.
9128
9129 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9131
9132 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9133 subnormal argument.
9134 * math/s_cexpf.c (__cexpf): Likewise.
9135 * math/s_csinf.c (__csinf): Likewise.
9136 * math/s_csinhf.c (__csinhf): Likewise.
9137 * math/s_ctanf.c (__ctanf): Likewise.
9138 * math/s_ctanhf.c (__ctanhf): Likewise.
9139 * math/s_ccosh.c (__ccoshf): Likewise.
9140 * math/s_cexp.c (__cexpl): Likewise.
9141 * math/s_csin.c (__csin): Likewise.
9142 * math/s_csinh.c (__csinh): Likewise.
9143 * math/s_ctan.c (__ctan): Likewise.
9144 * math/s_ctanh.c (ctanh): Likewise.
9145 * math/s_ccoshl.c (__ccoshl): Likewise.
9146 * math/s_cexpl.c (__cexpl): Likewise.
9147 * math/s_csinl.c (__csinl): Likewise.
9148 * math/s_csinhl.c (__csinhl): Likewise.
9149 * math/s_ctanl.c (__ctanl): Likewise.
9150 * math/s_ctanhl.c (__ctanhl): Likewise.
9151
203e5603
JM
91522012-09-25 Joseph Myers <joseph@codesourcery.com>
9153
9154 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9155 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9156 (_IO_off_t): Define to __off_t, not _G_off_t.
9157 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9158 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9159 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9160 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9161 type of __dummy and __dummy2 fields.
9162 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9163 (_G_ssize_t): Likewise.
9164 (_G_off_t): Likewise.
9165 (_G_pid_t): Likewise.
9166 (_G_uid_t): Likewise.
9167 (_G_wchar_t): Likewise.
9168 (_G_wint_t): Likewise.
9169 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9170 (_G_ssize_t): Likewise.
9171 (_G_off_t): Likewise.
9172 (_G_pid_t): Likewise.
9173 (_G_uid_t): Likewise.
9174 (_G_wchar_t): Likewise.
9175 (_G_wint_t): Likewise.
9176 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9177 (_G_ssize_t): Likewise.
9178 (_G_off_t): Likewise.
9179 (_G_pid_t): Likewise.
9180 (_G_uid_t): Likewise.
9181 (_G_wchar_t): Likewise.
9182 (_G_wint_t): Likewise.
9183
9fab36eb
SP
91842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9185
9186 * malloc/arena.c: Include malloc-sysdep.h.
9187 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9188 is sufficient to shrink the heap or an unmap is needed.
9189 * sysdeps/generic/malloc-sysdep.h: New file. Define
9190 new function check_may_shrink_heap.
9191 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9192 new function check_may_shrink_heap.
9193
2b4f00d1
SP
91942012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9195
9196 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9197 comments.
9198
9a9028b1
DL
91992012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9200
57c69bef
DL
9201 * catgets/test-gencat.sh: Add "set -e".
9202 * elf/tst-pathopt.sh: Likewise.
9203 * grp/tst_fgetgrent.sh: Likewise.
9204 * iconvdata/run-iconv-test.sh: Likewise.
9205 * intl/tst-gettext.sh: Likewise.
9206 * intl/tst-gettext2.sh: Likewise.
9207 * intl/tst-gettext4.sh: Likewise.
9208 * intl/tst-gettext6.sh: Likewise.
9209 * intl/tst-translit.sh: Likewise.
9210 * io/ftwtest-sh: Likewise.
9211 * libio/test-freopen.sh: Likewise.
9212 * malloc/tst-mtrace.sh: Likewise.
9213 * posix/globtest.sh: Likewise.
9214 * posix/tst-getconf.sh: Likewise.
9215 * posix/wordexp-tst.sh: Likewise.
9216 * stdio-common/tst-printf.sh: Likewise.
9217 * stdio-common/tst-unbputc.sh: Likewise.
9218 * stdlib/tst-fmtmsg.sh: Likewise.
9219 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9220 * catgets/Makefile: Do not specify -e option when running
9221 testsuite shell scripts.
9222 * elf/Makefile: Likewise.
9223 * grp/Makefile: Likewise.
9224 * iconvdata/Makefile: Likewise.
9225 * intl/Makefile: Likewise.
9226 * io/Makefile: Likewise.
9227 * libio/Makefile: Likewise.
9228 * malloc/Makefile: Likewise.
9229 * posix/Makefile: Likewise.
9230 * stdio-common/Makefile: Likewise.
9231 * stdlib/Makefile: Likewise.
9232 * sysdeps/x86_64/Makefile: Likewise.
9233
9a9028b1
DL
9234 * io/ftwtest-sh: Add copyright header.
9235 * posix/globtest.sh: Likewise.
9236 * posix/tst-getconf.sh: Likewise.
9237 * posix/wordexp-tst.sh: Likewise.
9238 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9239
ced6f16e
L
92402012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9241
94b32c39
L
9242 [BZ #13679]
9243 * Makeconfig (+link): Defined as $(+link-static) if
9244 $(build-shared) isn't yes.
9245 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9246 isn't yes.
9247 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9248
189e935b
L
9249 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9250
ced6f16e
L
9251 [BZ #14562]
9252 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9253 new chunk size with MALLOC_ALIGN_MASK.
9254
a9f8e53a
JM
92552012-09-24 Joseph Myers <joseph@codesourcery.com>
9256
9257 [BZ #5044]
9258 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9259 <rounding-mode.h>.
9260 (__printf_fphex): Determine rounding using get_rounding_mode and
9261 round_away.
9262 * stdio-common/tst-printf-round.c (struct hex_test): New
9263 structure.
9264 (hex_tests): New variable.
9265 (test_hex_in_one_mode): New function.
9266 (do_test): Also run tests for hex float output.
9267
43153109
JM
92682012-09-21 Joseph Myers <joseph@codesourcery.com>
9269
9270 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9271 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9272 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9273 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9274 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9275 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9276 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9277 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9278
8a26625d
JM
92792012-09-20 Joseph Myers <joseph@codesourcery.com>
9280
9281 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9282 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9283 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9284 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9285
f3fd569c
DL
92862012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9287
9288 [BZ #14579]
9289 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9290 mode only.
9291 * elf/tst-rtld-load-self.sh: New test.
9292 * elf/Makefile: Run it.
9293
63bbedd4
JM
92942012-09-18 Joseph Myers <joseph@codesourcery.com>
9295
9296 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9297 (tst-writev-ENV): Remove.
9298 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9299
626f8b6a
CM
93002012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9301
9302 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9303
b7aaa4d6
JM
93042012-09-17 Joseph Myers <joseph@codesourcery.com>
9305
9306 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9307 unconditional.
9308 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9309 Likewise.
9310 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9311 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9312 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9313 Likewise.
9314
65513990
L
93152012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9316
9317 [BZ #14587]
9318 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9319 * config.make.in (have-cpp-asm-debuginfo): Removed.
9320 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9321 * configure: Regenerated.
9322
784761be
JM
93232012-09-14 Joseph Myers <joseph@codesourcery.com>
9324
9325 [BZ #5044]
9326 * stdio-common/printf_fp.c: Include <stdbool.h> and
9327 <rounding-mode.h>.
9328 (___printf_fp): Determine rounding using get_rounding_mode and
9329 round_away.
9330 * stdio-common/tst-printf-round.c: New file.
9331 * stdio-common/Makefile (tests): Add tst-printf-round.
9332 (link-libm): New variable.
9333 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9334
9503345f
L
93352012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9336
9337 [BZ #14576]
9338 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9339 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9340 Likewise.
9341 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9342 Likewise.
9343
ad35fc00
JM
93442012-09-13 Joseph Myers <joseph@codesourcery.com>
9345
9346 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9347 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9348 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9349 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9350
6c9b0f68
JM
93512012-09-12 Joseph Myers <joseph@codesourcery.com>
9352
9353 [BZ #14518]
9354 * include/rounding-mode.h: New file.
9355 * sysdeps/generic/get-rounding-mode.h: Likewise.
9356 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9357 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9358 (MAX_VALUE): New macro.
9359 (MIN_VALUE): Likewise.
9360 (overflow_value): New function.
9361 (underflow_value): Likewise.
9362 (round_and_return): Use overflow_value and underflow_value to
9363 determine return values in overflow and underflow cases. Use
9364 round_away to determine rounding depending on rounding mode.
9365 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9366 determine return values in overflow and underflow cases.
9367 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9368 (struct test_results): New structure.
9369 (struct test): Use struct test_results to store expected results
9370 for all rounding modes.
9371 (TEST): Include expected results for all rounding modes.
9372 (test_in_one_mode): New function.
9373 (do_test): Use test_in_one_mode to compute and check results.
9374 Check results for all rounding modes.
9375 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9376 $(link-libm).
9377
19fcedd5
AM
93782012-12-09 Allan McRae <allan@archlinux.org>
9379
1e9d84cd 9380 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9381
8bbfd2f1
JM
93822012-09-11 Joseph Myers <joseph@codesourcery.com>
9383
9384 * sysdeps/generic/_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 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9393 (_G_int32_t): Likewise.
9394 (_G_uint16_t): Likewise.
9395 (_G_uint32_t): Likewise.
9396 (_G_HAVE_BOOL): Likewise.
9397 (_G_HAVE_ATEXIT): Likewise.
9398 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9399 (_G_HAVE_IO_FILE_OPEN): Likewise.
9400 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9401 (_G_int32_t): Likewise.
9402 (_G_uint16_t): Likewise.
9403 (_G_uint32_t): Likewise.
9404 (_G_HAVE_BOOL): Likewise.
9405 (_G_HAVE_ATEXIT): Likewise.
9406 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9407 (_G_HAVE_IO_FILE_OPEN): Likewise.
9408
b1dc5912
L
94092012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9410
9411 * csu/libc-tls.c: Update copyright years.
9412
0e886ef9
JM
94132012-09-10 Joseph Myers <joseph@codesourcery.com>
9414
28361c5e
JM
9415 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9416 [!_G_USING_THUNKS]: Remove conditional code.
9417 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9418 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9419
0e886ef9
JM
9420 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9421 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9422 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9423 (_G_VTABLE_LABEL_PREFIX): Likewise.
9424 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9425 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9426 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9427 (_G_VTABLE_LABEL_PREFIX): Likewise.
9428 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9429 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9430 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9431 (_G_VTABLE_LABEL_PREFIX): Likewise.
9432 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9433
bcba7aa2
L
94342012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9435
9436 * libio/Makefile: Include ../Makeconfig before tests.
9437 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9438 only if $(build-shared) is yes.
9439
06585ee8
L
9440 * iconv/gconv_db.c: Update copyright years.
9441
80ccd52c
LD
94422012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9443
9444 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9445 unwind info if defined PIC. Fix special cases description.
9446 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9447
9448 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9449 DP_HI_MASK entry.
9450 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9451
691bc9c1
L
94522012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9453
3d9b46b3
L
9454 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9455
de2139a9
L
9456 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9457 is NULL.
9458
5ca78dd0
L
9459 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9460 (LDLIBS-tst-chk4): This.
9461 (LDFLAGS-tst-chk5): Renamed to ...
9462 (LDLIBS-tst-chk5): This.
9463 (LDFLAGS-tst-chk6): Renamed to ...
9464 (LDLIBS-tst-chk6): This.
9465 (LDFLAGS-tst-lfschk4): Renamed to ...
9466 (LDLIBS-tst-lfschk4): This.
9467 (LDFLAGS-tst-lfschk5): Renamed to ...
9468 (LDLIBS-tst-lfschk5): This.
9469 (LDFLAGS-tst-lfschk6): Renamed to ...
9470 (LDLIBS-tst-lfschk6): This.
9471
691bc9c1
L
9472 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9473 on $(common-objpfx)soversions.mk.
9474
65cafb1c
JM
94752012-09-07 Joseph Myers <joseph@codesourcery.com>
9476
9477 [BZ #10014]
9478 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9479 example host name.
9480
c78ab094
SP
94812012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9482
9483 * malloc/arena.c (arena_get_retry): New function that gets
9484 another arena for the caller to try its request on.
9485 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9486 current arena cannot fulfill the request.
9487 (__libc_memalign): Likewise.
9488 (__libc_memalign): Likewise.
9489 (__libc_pvalloc): Likewise.
9490 (__libc_calloc): Likewise.
9491
01f49f59
JT
94922012-09-05 John Tobey <john.tobey@gmail.com>
9493
9494 [BZ #13542]
9495 * manual/arith.texi (Operations on Complex): Fix description
9496 of carg branch cut.
9497
4c23fed5
JM
94982012-09-06 Joseph Myers <joseph@codesourcery.com>
9499
1d3c8572
JM
9500 [BZ #10014]
9501 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9502 host name.
9503
4c23fed5
JM
9504 [BZ #10038]
9505 * manual/memory.texi (Memory): Make order of menu items match
9506 order of sections.
9507
04570aaa
L
95082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9509
9510 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9511 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9512 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9513
b80af2f4
L
95142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9515
9516 * csu/libc-tls.c (static_dtv): Renamed to ...
9517 (_dl_static_dtv): This. Make it global.
9518 (_dl_initial_dtv): Removed.
9519 (__libc_setup_tls): Updated.
9520 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9521 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9522 DL_INITIAL_DTV.
9523
2abe9f15
PM
95242012-09-06 Petr Machata <pmachata@redhat.com>
9525
9526 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9527 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9528 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9529 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9530
0948c3af
L
95312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9532
9533 [BZ #14545]
9534 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9535 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9536 freeing dtv[-1].
9537
a5055ad1
L
95382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9539
9540 [BZ #14544]
9541 * Makeconfig (link-static-before-libc): Replace $(+prector)
9542 with $(+prectorT).
9543 (link-static-after-libc): Replace $(+postctor) with
9544 $(+postctorT).
9545 (link-bounded): Replace $(+prector)/$(+postctor) with
9546 $(+prectorT)/$(+postctorT).
9547 (+prectorT): New macro.
9548 (+postctorT): Likewise.
9549
ed8c2ecd
JM
95502012-09-06 Joseph Myers <joseph@codesourcery.com>
9551
9552 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9553 (round_str): Handle values above the maximum for IBM long double
9554 as inexact.
9555 * stdlib/tst-strtod-round.c (tests): Regenerated.
9556
14c996c8
AK
95572012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9558
9559 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9560 assembler flag.
9561 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9562 zarch_nohighgprs around the zarch optimized routines.
9563 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9564 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9565 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9566 for zarch.
9567
430d6ce6
DM
95682012-09-05 David S. Miller <davem@davemloft.net>
9569
9570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9571
ff04dda4
DM
9572 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9573 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9574 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9575 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9576 entries.
9577
24d4e01b
AO
95782012-09-05 Alexandre Oliva <aoliva@redhat.com>
9579
9580 * malloc/arena.c: Fold copyright years.
9581 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9582
61d58174
AO
95832012-09-05 Alexandre Oliva <aoliva@redhat.com>
9584
9585 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9586
20196a5e
AO
95872012-09-05 Alexandre Oliva <aoliva@redhat.com>
9588
9589 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9590
5c447383
AO
95912012-09-05 Alexandre Oliva <aoliva@redhat.com>
9592
9593 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9594 change internal state upon failure.
9595
fad64255
AO
95962012-09-05 Alexandre Oliva <aoliva@redhat.com>
9597
9598 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9599 * malloc/memusage.c (mmap): Likewise.
9600 (mmap64, mremap): Likewise. Adjust name in comment.
9601
1ffb8c90
SP
96022012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9603
9604 * libio/fileops.c: Fix typos in comments.
9605 * libio/oldfileops.c: Likewise.
9606 * libio/wfileops.c: Likewise.
9607
6ef9cc37
SP
96082012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9609
9610 [BZ #1349]
9611 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9612 (tst-malloc-usable-ENV): Set environment for test case.
9613 * malloc/hooks.c (malloc_check_get_size): New function to get
9614 requested size.
9615 * malloc/malloc.c (musable): Use malloc_check_get_size.
9616 * malloc/tst-malloc-usable.c: New test case.
9617
4d038ae3
AS
96182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9619
9620 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9621
c4e85184
AM
96222012-09-05 Allan McRae <allan@archlinux.org>
9623
b9dafc56 9624 [BZ #13966]
c4e85184
AM
9625 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9626 determine header location.
9627 * configure: Regenerated.
9628
e1343020
AS
96292012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9630
9631 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9632 float format.
9633 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9634 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9635 format.
e1343020
AS
9636 (test): Regenerate.
9637
0a9f1987
DM
96382012-09-04 David S. Miller <davem@davemloft.net>
9639
9640 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9641 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9642 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9643
29237804
FW
96442012-09-04 Florian Weimer <fweimer@redhat.com>
9645
9646 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9647 failures.
9648
edb3cb88
FW
9649 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9650
60160d83
JM
96512012-09-04 Joseph Myers <joseph@codesourcery.com>
9652
9653 [BZ #9914]
9654 * libio/iogetdelim.c: Include <limits.h>.
9655 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9656 + len + 1 would overflow.
9657
bcd6c8dc
AJ
96582012-09-03 Andreas Jaeger <aj@suse.de>
9659
9660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9661 * sysdeps/i386/fpu/libm-test-ulps: Update.
9662
4ffffbd2
LD
96632012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9664
9665 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9666 Add s_sinf-sse2, s_conf-sse2.
9667
9668 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9669 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9670 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9671 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9672
9673 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9674 for using routine as __sinf_ia32.
9675 Use macro for function declaration and weak_alias.
9676 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9677 for using routine as __cosf_ia32.
9678 Use macro for function declaration and weak_alias.
9679
9680 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9681 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9682
9683 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9684 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9686
9687 * math/libm-test.inc (cos_test): Add more test cases.
9688 (sin_test): Likewise.
9689 (sincos_test): Likewise.
9690
511fa286
AK
96912012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9692
9693 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9694 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9695 hidden.
9696 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9697
5f30cfec
L
96982012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9699
9700 [BZ #14538]
9701 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9702 first element of the GOT.
9703 (elf_machine_load_address): Return the difference between
9704 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9705
0786794f
AM
97062012-09-01 Allan McRae <allan@archlinux.org>
9707
5f30cfec
L
9708 [BZ #13412]
9709 * configure.in (AWK): Require gawk version 3.0 or later.
9710 * configure: Regenerated.
0786794f 9711
26889eac
JM
97122012-09-01 Joseph Myers <joseph@codesourcery.com>
9713
9714 * sysdeps/unix/sysv/linux/kernel-features.h
9715 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9716 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9717 [__NR_clock_getres]: Make code unconditional.
9718 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9719 (clock_getcpuclockid): Remove code left unreachable by removal of
9720 conditionals.
9721 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9722 code unconditional.
9723 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9724 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9725 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9726 Make code unconditional.
9727 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9728 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9729 * sysdeps/unix/sysv/linux/clock_settime.c
9730 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9731 conditional code.
9732 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9733 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9734
d22e28b0
L
97352012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9736
9737 [BZ #14476]
9738 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9739 scripts/test-installation.pl.
9740
9741 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9742 and $ld_so_version if it is set.
9743
050af9c4
SP
97442012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9745
9746 [BZ #14516]
9747 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9748 failure if reading from procfs failed.
9749 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9750
ad845c0b
JM
97512012-08-27 Joseph Myers <joseph@codesourcery.com>
9752
9753 * sysdeps/unix/sysv/linux/kernel-features.h
9754 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9755 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9756 Remove conditional code.
9757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9758 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9759 Remove conditional code.
9760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9761 * sysdeps/unix/sysv/linux/i386/fxstat.c
9762 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9764 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9765 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9767 * sysdeps/unix/sysv/linux/i386/lxstat.c
9768 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9770 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9771 Remove conditional code.
9772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9773 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9774 Remove conditional code.
9775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9776 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9777 <kernel-features.h>.
9778 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9779 Remove.
9780 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9781 Remove conditional code.
9782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9783 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9784 Remove conditional.
9785
5dbf56af
MF
97862012-08-27 Mike Frysinger <vapier@gentoo.org>
9787
9788 [BZ #5400]
9789 * NEWS: Add fixed bug number.
9790
d6e70f43
JM
97912012-08-27 Joseph Myers <joseph@codesourcery.com>
9792
7efb4737
JM
9793 [BZ #14519]
9794 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9795 underflowing exponent in case of negative sign.
9796 * stdlib/tst-strtod-round-data: Add more tests.
9797 * stdlib/tst-strtod-round.c (tests): Regenerated.
9798
af92131a
JM
9799 [BZ #3479]
9800 * stdlib/strtod_l.c (NDIG): Remove.
9801 (HEXNDIG): Likewise.
9802 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9803 smallest representable value.
9804 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9805 lie within an exact representation of 1/2 ulp of the result.
9806 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9807 unconditionally.
9808 (TENS_P9_IDX): Define unconditionally.
9809 (TENS_P9_SIZE): Likewise.
9810 (TENS_P10_IDX): Likewise.
9811 (TENS_P10_SIZE): Likewise.
9812 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9813 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9814 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9815 entries for 10^2^13 and 10^2^14.
9816 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9817 (TENS_P13_IDX): Define.
9818 (TENS_P13_SIZE): Likewise.
9819 (TENS_P14_IDX): Likewise.
9820 (TENS_P14_SIZE): Likewise.
9821 (_fpioconst_pow10): Change array size to
9822 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9823 unconditional.
9824 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9825 1024]: Add entries for 10^2^13 and 10^2^14.
9826 [LAST_POW10 > _LAST_POW10]: Remove #error.
9827 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9828 (_fpioconst_pow10): Change array size to
9829 FPIOCONST_POW10_ARRAY_SIZE.
9830 * stdlib/gen-fpioconst.c: New file.
9831 * stdlib/gen-tst-strtod-round.c: Likewise.
9832 * stdlib/tst-strtod-round-data: Likewise.
9833 * stdlib/tst-strtod-round.c: Likewise.
9834 * stdlib/Makefile (tests): Add tst-strtod-round.
9835
d6e70f43
JM
9836 [BZ #14459]
9837 * stdlib/strtod_l.c: Include <stdint.h>.
9838 (NDEBUG): Do not define.
9839 (round_and_return): Change EXPONENT parameter to type intmax_t.
9840 Rearrange calculations to avoid internal overflow possibilities.
9841 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9842 Rearrange calculations to avoid internal overflow possibilities.
9843 Assert that number fits inside MPNSIZE limbs.
9844 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9845 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9846 calculations and add assertions to avoid internal overflow
9847 possibilities. Add casts to avoid signed/unsigned operations.
9848 * stdlib/tst-strtod-overflow.c: New file.
9849 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9850
1f529f7d
MP
98512012-08-25 Marek Polacek <polacek@redhat.com>
9852
9853 * time/time.h: Fix some typos in comments.
9854
59a629f1
RM
98552012-08-23 Roland McGrath <roland@hack.frob.com>
9856
9857 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9858 * posix/tst-rfc3484-2.c: Likewise.
9859 * posix/tst-rfc3484-3.c: Likewise.
9860
d3bafbc9
SM
98612012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9862
9863 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9864 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9865
4efcc022
JM
98662012-08-23 Joseph Myers <joseph@codesourcery.com>
9867
9868 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9869 #include of fxstatat64.c.
9870
3cc3ef96
RM
98712012-08-22 Roland McGrath <roland@hack.frob.com>
9872
f04e2132
RM
9873 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9874 * shadow/getspent_r.c: Likewise.
9875 * shadow/getspnam.c: Likewise.
9876 * shadow/getspnam_r.c: Likewise.
9877 * gshadow/getsgent.c: Likewise.
9878 * gshadow/getsgent_r.c: Likewise.
9879 * gshadow/getsgnam.c: Likewise.
9880 * gshadow/getsgnam_r.c: Likewise.
9881 * inet/getnetbyad.c: Likewise.
9882 * inet/getnetbyad_r.c: Likewise.
9883 * inet/getnetbynm.c: Likewise.
9884 * inet/getnetbynm_r.c: Likewise.
9885 * inet/getnetent.c: Likewise.
9886 * inet/getnetent_r.c: Likewise.
9887 * inet/getproto.c: Likewise.
9888 * inet/getproto_r.c: Likewise.
9889 * inet/getprtent.c: Likewise.
9890 * inet/getprtent_r.c: Likewise.
9891 * inet/getprtname.c: Likewise.
9892 * inet/getprtname_r.c: Likewise.
9893 * inet/getrpcbyname.c: Likewise.
9894 * inet/getrpcbyname_r.c: Likewise.
9895 * inet/getrpcbynumber.c: Likewise.
9896 * inet/getrpcbynumber_r.c: Likewise.
9897 * inet/getrpcent.c: Likewise.
9898 * inet/getrpcent_r.c: Likewise.
9899 * inet/getaliasent.c: Likewise.
9900 * inet/getaliasent_r.c: Likewise.
9901 * inet/getaliasname.c: Likewise.
9902 * inet/getaliasname_r.c: Likewise.
9903 * nscd/getgrgid_r.c: Likewise.
9904 * nscd/getgrnam_r.c: Likewise.
9905 * nscd/gethstbyad_r.c: Likewise.
9906 * nscd/gethstbynm3_r.c: Likewise.
9907 * nscd/getpwnam_r.c: Likewise.
9908 * nscd/getpwuid_r.c: Likewise.
9909 * nscd/getsrvbynm_r.c: Likewise.
9910 * nscd/getsrvbypt_r.c: Likewise.
9911 * nscd/gai.c: Likewise.
9912
c53d909c
RM
9913 * configure.in (build_nscd): New substituted variable, set
9914 by --disable-build-nscd and defaults to $use_nscd.
9915 * configure: Regenerated.
9916 * config.make.in (build-nscd): New substituted variable.
9917 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9918 Change conditional to require [$(build-nscd) = yes] as well.
9919 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9920
3cc3ef96
RM
9921 [BZ# 13696]
9922 * configure.in (use_nscd): New substituted variable, set by
9923 --disable-nscd. If enabled, define USE_NSCD.
9924 * configure: Regenerated.
9925 * config.h.in: Add USE_NSCD.
9926 * config.make.in (use-nscd): New substituted variable.
9927 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9928 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9929 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9930 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9931 (CFLAGS-getgrnam_r.c): Likewise.
9932 (CFLAGS-initgroups.c): Likewise.
9933 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9934 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9935 Variables removed.
9936 * inet/getnetgrent_r.c
9937 (nscd_setnetgrent): New function, broken out of ...
9938 (setnetgrent): ... here. Call it.
9939 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9940 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9941 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9942 * nscd/Makefile (routines, aux): Move definitions after include of
9943 Makeconfig. Conditionalize on [$(use-nscd) != no].
9944 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9945 Conditionalize on [USE_NSCD].
9946 (is_nscd, nscd_init_cb): Likewise.
9947 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9948 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9949 * nss/nss_db/db-init.c: Likewise.
9950 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9951 [USE_NSCD].
9952 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9953 (make_request): Use it.
9954 (cache_valid_p): New function.
9955 (__check_pf): Use it.
9956 * NEWS: Add item for --disable-nscd.
9957
07e51550
DL
99582012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9959
9960 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9961 to support sed >= 4.2.1-20-ga9bf076.
9962 * configure: Regenerated.
9963
35a5b08b
RM
99642012-08-22 Roland McGrath <roland@hack.frob.com>
9965
9966 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9967 Conditionalize whole body on [IREL].
9968
8479f23a
JL
99692012-08-22 Jeff Law <law@redhat.com>
9970
9971 [BZ #14505]
9972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9973 if the family is PF_UNSPEC.
9974
48da0b21
MF
99752012-08-22 Mike Frysinger <vapier@gentoo.org>
9976
9977 * Makerules (lib-version): Rename from V.
9978 (install-lib-nosubdir): Change V to lib-version.
9979
15d0da8c
WS
99802012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9981
9982 [BZ #14252]
9983 * powerpc32/power6/wcschr.c: New file.
9984 * powerpc32/power6/wcscpy.c: New file.
9985 * powerpc32/power6/wcsrchr.c: New file.
9986 * powerpc64/power6/wcschr.c: New file.
9987 * powerpc64/power6/wcscpy.c: New file.
9988 * powerpc64/power6/wcsrchr.c: New file.
9989
bcca0895
MK
99902012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9991
9992 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9993 (two_way_short_needle): Use it.
5a4aaa33
RM
9994 * string/strstr.c (AVAILABLE1_USES_J): Define.
9995 * string/strcasestr.c: Likewise.
99677e57
MK
9996
9997 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9998 array references.
9999 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10000
400726de
MK
10001 [BZ #11607]
10002 * NEWS: Add an entry.
10003 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10004 define their defaults.
10005 (two_way_short_needle): Detect end-of-string on-the-fly.
10006 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10007 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10008 * string/bug-strcasestr1.c: New test.
10009 * string/Makefile: Run it.
10010
20a71f2c
MK
100112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10012
10013 [BZ #11607]
10014 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10015 the first character.
10016
21ad0558
RM
100172012-08-21 Roland McGrath <roland@hack.frob.com>
10018
10019 * csu/elf-init.c (__libc_csu_irel): Function removed.
10020 * csu/libc-start.c (apply_irel): New function.
10021 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10022
0e1d9911
JM
100232012-08-21 Joseph Myers <joseph@codesourcery.com>
10024
10025 * sysdeps/unix/sysv/linux/kernel-features.h
10026 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10027 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10028 <kernel-features.h>.
10029 [__NR_fadvise64_64]: Make code unconditional.
10030 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10031 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10032 !__NR_fadvise64_64)]: Likewise.
10033 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10034 !__NR_fadvise64_64))]: Likewise.
10035 [__NR_fadvise64]: Make code unconditional.
10036 [!__NR_fadvise64]: Remove conditional code.
10037 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10038 <kernel-features.h>.
10039 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10040 unconditional.
10041 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10042 conditional code.
10043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10044 not include <kernel-features.h>.
10045 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10046 unconditional.
10047 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10048 conditional code.
10049 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10050 include <kernel-features.h>.
10051 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10052 unconditional.
10053 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10054 conditional code.
10055
14a50c9d
WS
100562012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10057
10058 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10059 slight instruction rearrangements per scrollpipe analysis.
10060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10061
c0f4faf0
RM
100622012-08-20 Roland McGrath <roland@hack.frob.com>
10063
696da859
RM
10064 * manual/syslog.texi (syslog; vsyslog, closelog):
10065 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10066 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10067
c0f4faf0
RM
10068 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10069 DSOCAPS to match condition on defining it.
10070
348363b2
JM
100712012-08-20 Joseph Myers <joseph@codesourcery.com>
10072
a35cbf28
JM
10073 * sysdeps/unix/sysv/linux/kernel-features.h
10074 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10076 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10077 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10079 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10080 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10082 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10083 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10084
445f7ecd
JM
10085 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10086 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10087
348363b2
JM
10088 * sysdeps/unix/sysv/linux/kernel-features.h
10089 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10090 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10091 unconditional.
10092 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10093 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10094 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10095 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10096 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10097 Make code unconditional.
10098 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10099 (__mmap64) [!__NR_mmap2]: Likewise.
10100 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10101 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10102 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10103 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10104 [__NR_mmap2]: Make code unconditional.
10105 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10106 (__mmap64) [!__NR_mmap2]: Likewise.
10107
bc5bc0e5
AK
101082012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10109
10110 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10111
88d506de
AJ
101122012-08-18 Andreas Jaeger <aj@suse.de>
10113
10114 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10115
493387d2
MF
101162012-08-18 Mike Frysinger <vapier@gentoo.org>
10117
10118 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10119 * include/unistd.h (__have_sock_cloexec): Likewise.
10120 (__have_pipe2): Likewise.
10121 (__have_dup3): Likewise.
10122
a277af22
MF
101232012-08-18 Mike Frysinger <vapier@gentoo.org>
10124
10125 [BZ #9685]
10126 * include/unistd.h (__have_pipe2): Change define into an extern int.
10127 (__have_dup3): Likewise.
10128 * socket/have_sock_cloexec.c: Include fcntl.h.
10129 (__have_pipe2): New variable.
10130 (__have_dup3): Likewise.
10131
fdab8fd3
MF
101322012-08-17 Mike Frysinger <vapier@gentoo.org>
10133
10134 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10135
31035e80
MP
101362012-08-17 Marek Polacek <polacek@redhat.com>
10137
10138 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10139 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10140
3bd9e993
RM
101412012-08-17 Roland McGrath <roland@hack.frob.com>
10142
c91c505f
RM
10143 * configure.in: Add AC_SUBST for sysheaders.
10144 * configure: Regenerated.
10145 * config.make.in (sysheaders): New substituted variable.
10146
7c6f9d53
RM
10147 * sysdeps/unix/mkfifo.c: Moved ...
10148 * sysdeps/posix/mkfifo.c: ... here.
10149 * sysdeps/unix/mkfifoat.c: Moved ...
10150 * sysdeps/posix/mkfifoat.c: ... here.
10151
10152 * sysdeps/unix/utime.c: Moved ...
10153 * sysdeps/posix/utime.c: ... here.
10154
10155 * sysdeps/unix/time.c: Moved ...
10156 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10157 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10158 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10159
10160 * sysdeps/unix/nice.c: Moved ...
10161 * sysdeps/posix/nice.c: ... here.
10162
10163 * sysdeps/unix/alarm.c: Moved ...
10164 * sysdeps/posix/alarm.c: ... here.
10165
3bd9e993
RM
10166 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10167
d1f09384
JL
101682012-08-17 Jeff Law <law@redhat.com>
10169
10170 * intl/Makefile (codeset_mo): New variable.
10171 ($(codeset_mo)): New target.
10172 (tst-codeset.out): Depend on that. Remove explicit rule.
10173 (tst-gettext3.out, tst-gettext5.out): Likewise.
10174 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10175 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10176 * intl/tst-codeset.sh: Remove.
10177 * intl/tst-gettext3.sh: Likewise.
10178 * intl/tst-gettext5.sh: Likewise.
10179
2ae1ae5c
RM
101802012-08-17 Roland McGrath <roland@hack.frob.com>
10181
c31fdb83
RM
10182 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10183 * sysdeps/unix/syscalls.list: ... here.
10184
a0844057
RM
10185 * sysdeps/posix/getaddrinfo.c
10186 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10187 (gaiconf_init, gaiconf_reload): Use them.
10188 [!_STATBUF_ST_NSEC]
10189 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10190 Define using time_t rather than struct timespec.
10191
750c1f2a
RM
10192 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10193 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10194 Macros removed.
10195 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10196 [!NO_THREADS].
10197 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10198 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10199 Likewise.
10200
2ae1ae5c
RM
10201 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10202 __libc_cleanup_push argument.
10203
e66a42f5
RM
10204 * bits/param.h: New file.
10205 * misc/sys/param.h: New file.
10206 * include/sys/param.h: New file.
10207 * misc/Makefile (headers): Add bits/param.h.
10208 * sysdeps/generic/sys/param.h: File removed.
10209 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10210 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10211 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10212 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10213
b7c08a66
RM
10214 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10215 last change.
10216
b2e1c562
RM
10217 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10218 [_IO_MTSAFE_IO].
10219 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10220 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10221 New macros.
10222
c75ccd4c
RM
10223 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10224 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10225 rather than -D_IO_MTSAFE_IO conditionally.
10226 * stdio-common/Makefile (CPPFLAGS): Likewise.
10227 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10228 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10229 Use $(libio-mtsafe).
10230 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10231 of -D_IO_MTSAFE_IO.
10232 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10233 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10234 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10235 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10236 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10237 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10238 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10239 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10240 (CFLAGS-fread_u_chk.c): Likewise.
10241 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10242 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10243 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10244 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10245 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10246 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10247 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10248 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10249 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10250
10251 * libio/Makefile: Test [$(libc-reentrant) = yes]
10252 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10253
10254 * Makeconfig
10255 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10256 * sysdeps/pthread/configure: File removed.
10257 * sysdeps/pthread/Makeconfig: New file.
10258 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10259 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10260
d9195db8
GB
102612012-08-16 Gary Benson <gbenson@redhat.com>
10262
10263 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10264 unmapping the first object in a namespace.
10265
86466cd9
RM
102662012-08-16 Roland McGrath <roland@hack.frob.com>
10267
10268 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10269 (__internal_setnetgrent): ... this. Add internal_function to
10270 definition. Add libc_hidden_def.
10271 (setnetgrent): Update caller.
10272 (internal_endnetgrent): Renamed to ...
10273 (__internal_endnetgrent): ... this. Add internal_function to
10274 definition. Add libc_hidden_def.
10275 (endnetgrent): Update caller.
10276 (internal_getnetgrent_r): Renamed to ...
10277 (__internal_getnetgrent_r): ... this. Add internal_function to
10278 definition. Add libc_hidden_def.
10279 (__getnetgrent_r): Update caller.
10280 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10281
c3c8283c
JM
102822012-08-16 Joseph Myers <joseph@codesourcery.com>
10283
10284 * stdlib/longlong.h: Update from GCC.
10285
db1ee0a8
RM
102862012-08-16 Roland McGrath <roland@hack.frob.com>
10287
10288 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10289 on _QL, which is set by umul_ppmm but never used.
10290 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10291 variables, which are set by GMP macros but never used.
10292 * stdio-common/_itowa.c (_itowa): Likewise.
10293 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10294 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10295
30f69637
CD
102962012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10297
10298 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10299 struct La_sh_regs is not constant.
10300 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10301 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10302 and struct La_sparc64_regs are not constant.
10303
93a78ac4
JM
103042012-08-16 Joseph Myers <joseph@codesourcery.com>
10305
10306 * sysdeps/unix/sysv/linux/kernel-features.h
10307 (__ASSUME_POSIX_TIMERS): Remove.
10308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10309 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10310 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10311 Make code unconditional.
10312 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10313 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10314 Make code unconditional.
10315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10316 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10317 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10319 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10320 Make code unconditional.
10321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10322 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10323 (__libc_missing_posix_timers): Remove.
10324
dd924cd7
RM
103252012-08-15 Roland McGrath <roland@hack.frob.com>
10326
4b4f2771
RM
10327 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10328 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10329
601c888b
RM
10330 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10331
176790a7
RM
10332 * elf/dl-sym.c: Include <stdlib.h>.
10333
329bc018
RM
10334 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10335 constants, which avoids warnings in 32-bit builds.
10336
e04e272d
RM
10337 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10338 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10339
952bf94a
RM
10340 * misc/lseek.c: File moved to ...
10341 * io/lseek.c: ... here.
10342
7c99b50a
RM
10343 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10344
dd924cd7
RM
10345 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10346 shifting LEN more than 31 bits at once.
10347
b3f479a8
LD
103482012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10349
10350 [BZ #14195]
8c4ae0d4
RM
10351 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10352 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10353 * string/test-strncasecmp.c (check1): Renamed to...
10354 (bz12205): ...this.
10355 (bz14195): Add new testcase for two empty input strings and N > 0.
10356 (test_main): Call new testcase, adapt for renamed function.
10357
9c55864e
AJ
103582012-08-15 Andreas Jaeger <aj@suse.de>
10359
10360 [BZ #14090]
10361 * crypt/md5test2.c: New test, based on test supplied by Serge
10362 Belyshev <belyshev@depni.sinp.msu.ru>.
10363 * crypt/Makefile (xtests): Add md5test-giant..
10364 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10365
02dcb6c5
PE
103662012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10367
10368 [BZ #14090]
10369 * crypt/md5.c (md5_process_block): Don't assume the buffer
10370 length is less than 2**32.
10371 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10372 length is less than 2**64.
10373
a3f95dcc
RM
103742012-08-15 Roland McGrath <roland@hack.frob.com>
10375
be75d758
RM
10376 * string/str-two-way.h: Include <sys/param.h>.
10377 (MAX): Macro removed.
10378
7312ca90
RM
10379 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10380 Move #define and #undef of memmove to just before and after
10381 including <string.h>.
10382
9a0a5486
RM
10383 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10384 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10385 and after including <string.h>. Move declarations of
10386 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10387 to before #include "string/memmove.c".
10388
67cc348d
RM
10389 * include/dirent.h: Declare __getdirentries.
10390
a3f95dcc
RM
10391 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10392 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10393
ca98e171
MF
103942012-08-14 Mike Frysinger <vapier@gentoo.org>
10395
10396 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10397 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10398 * sysdeps/i386/configure: Regenerated.
10399 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10400 STABS_CURRENT_FILE, and STABS_FUN.
10401 (END): Remove call to STABS_FUN_END.
10402 (STABS_CURRENT_FILE1): Delete.
10403 (STABS_CURRENT_FILE): Likewise.
10404 (STABS_FUN): Likewise.
10405 (STABS_FUN_END): Likewise.
10406 (STABS_FUN2): Likewise.
10407 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10408 * sysdeps/x86_64/configure: Regenerated.
10409
5908bf46
RM
104102012-08-14 Roland McGrath <roland@hack.frob.com>
10411
10412 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10413 * elf/dl-lookup.c: Likewise.
5908bf46 10414
f2c05b9e
JM
104152012-08-14 Joseph Myers <joseph@codesourcery.com>
10416
10417 * sysdeps/unix/sysv/linux/kernel-features.h
10418 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10419 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10420 unconditionally.
10421 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10422 unconditionally.
10423 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10424 condition on __ASSUME_CLONE_THREAD_FLAGS.
10425
e11f5155
AJ
104262012-08-14 Andreas Jaeger <aj@suse.de>
10427
10428 * sysdeps/i386/fpu/libm-test-ulps: Update.
10429
51a9ba86
MK
104302012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10431
2fdd4f78
AJ
10432 * include/atomic.h (atomic_exchange_and_add): Split into ...
10433 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10434 New atomic macros.
51a9ba86 10435
ba6cba9e
MT
104362012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10437
10438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10439
42443a47
JL
104402012-08-13 Jeff Law <law@redhat.com>
10441
10442 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10443 null byte in the output string.
10444
121dce05
JM
104452012-08-10 Joseph Myers <joseph@codesourcery.com>
10446
10447 * sysdeps/unix/sysv/linux/kernel-features.h
10448 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10449 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10450 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10452 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10453 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10454 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10455
bf51f568
JL
104562012-08-09 Jeff Law <law@redhat.com>
10457
10458 [BZ #13939]
10459 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10460 When avoid_arena is set, don't retry in the that arena. Pick the
10461 next one, whatever it might be.
10462 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10463 (arena_lock): Pass in new parameter to arena_get2.
10464 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10465 arena_get2.
10466 (__libc_malloc): Unify retrying after main arena failure with
10467 __libc_memalign version.
10468 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10469
f85fa270
L
104702012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10471
10472 [BZ #14166]
10473 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10474 to __redirect_strstr.
10475 (__strstr_sse42): Use typeof __redirect_strstr.
10476 (__strstr_ia32): Likewise.
10477 (__libc_strstr): New prototype.
10478 (strstr): Renamed to ...
10479 (__libc_strstr): This.
10480 (strstr): New strong alias of __libc_strstr.
10481 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10482 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10483 __redirect_time.
10484 Include <time.h>.
10485 (__libc_time): New prototype.
10486 (time_ifunc): Replace time with __libc_time.
10487 (time): New strong alias and hidden definition of __libc_time.
10488 (__GI_time): Remove strong alias.
10489 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10490 Include <stddef.h>.
10491 (memmove): Redefined to __redirect_memmove.
10492 (__memmove_sse2): Use typeof __redirect_memmove.
10493 (__memmove_ssse3): Likewise.
10494 (__memmove_ssse3_back): Likewise.
10495 (__libc_memmove): New prototype.
10496 (memmove): Renamed to ...
10497 (__libc_memmove): This.
10498 (memmove): New strong alias of __libc_memmove.
10499
33b4a91e
MS
105002012-08-08 Mark Salter <msalter@redhat.com>
10501
10502 * elf/elf.h
10503 (R_MN10300_TLS_GD): Define.
10504 (R_MN10300_TLS_LD): Likewise.
10505 (R_MN10300_TLS_LDO): Likewise.
10506 (R_MN10300_TLS_GOTIE): Likewise.
10507 (R_MN10300_TLS_IE): Likewise.
10508 (R_MN10300_TLS_LE): Likewise.
10509 (R_MN10300_TLS_DTPMOD): Likewise.
10510 (R_MN10300_TLS_DTPOFF): Likewise.
10511 (R_MN10300_TLS_TPOFF): Likewise.
10512 (R_MN10300_SYM_DIFF): Likewise.
10513 (R_MN10300_ALIGN): Likewise.
10514 (R_MN10300_NUM): Update.
10515
b36137f1
JM
105162012-08-08 Joseph Myers <joseph@codesourcery.com>
10517
10518 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10519 Remove.
10520
cdd915fd
RM
105212012-08-08 Roland McGrath <roland@hack.frob.com>
10522
a2433aac
RM
10523 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10524
cdd915fd
RM
10525 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10526 sysdeps/unix -> sysdeps/posix move.
10527 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10528
bf9b740a
AM
105292012-08-07 Allan McRae <allan@archlinux.org>
10530
10531 [BZ #14303]
10532 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10533 (SUNOS_CPP): Likewise.
10534 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10535 not found.
10536 (open_input): Call CPP using execvp.
10537
93df14ee
JM
105382012-08-07 Joseph Myers <joseph@codesourcery.com>
10539
10540 * sysdeps/unix/sysv/linux/kernel-features.h
10541 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10542 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10543 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10544 (__ASSUME_WAITID_SYSCALL): Likewise.
10545 * sysdeps/unix/sysv/linux/dl-execstack.c
10546 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10547 code unconditional.
10548 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10549 conditional code.
10550 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10551 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10552 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10553 code.
10554 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10555 unconditional.
10556 [__ASSUME_WAITID_SYSCALL]: Likewise.
10557 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10558
d34689de
RM
105592012-08-07 Roland McGrath <roland@hack.frob.com>
10560
a281decc
RM
10561 * sysdeps/unix/closedir.c: Renamed to ...
10562 * sysdeps/posix/closedir.c: ... here.
10563 * sysdeps/unix/dirfd.c: Renamed to ...
10564 * sysdeps/posix/dirfd.c: ... here.
10565 * sysdeps/unix/dirstream.h: Renamed to ...
10566 * sysdeps/posix/dirstream.h: ... here.
10567 * sysdeps/unix/fdopendir.c: Renamed to ...
10568 * sysdeps/posix/fdopendir.c: ... here.
10569 * sysdeps/unix/opendir.c: Renamed to ...
10570 * sysdeps/posix/opendir.c: ... here.
10571 * sysdeps/unix/readdir.c: Renamed to ...
10572 * sysdeps/posix/readdir.c: ... here.
10573 * sysdeps/unix/readdir_r.c: Renamed to ...
10574 * sysdeps/posix/readdir_r.c: ... here.
10575 * sysdeps/unix/rewinddir.c: Renamed to ...
10576 * sysdeps/posix/rewinddir.c: ... here.
10577 * sysdeps/unix/seekdir.c: Renamed to ...
10578 * sysdeps/posix/seekdir.c: ... here.
10579 * sysdeps/unix/telldir.c: Renamed to ...
10580 * sysdeps/posix/telldir.c: ... here.
10581 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10582 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10583 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10584 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10585
22895b47
RM
10586 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10587 * bits/fcntl.h: ... here.
10588
707a53b6
RM
10589 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10590 not 0.
10591 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10592 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10593 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10594 (struct flock): Move l_start, l_len to the beginning.
10595 Use __pid_t for l_pid.
10596 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10597 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10598 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10599 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10600 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10601 [__USE_LARGEFILE64] (struct flock64): New type.
10602 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10603
f0bd3e25
RM
10604 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10605 * bits/dirent.h: ... here.
10606
d34689de
RM
10607 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10608 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10609
6dad2c06
JM
106102012-08-07 Joseph Myers <joseph@codesourcery.com>
10611
10612 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10613 Change from 2.6.0 to 2.6.16.
10614 * sysdeps/unix/sysv/linux/configure: Regenerated.
10615 * sysdeps/unix/sysv/linux/kernel-features.h
10616 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10617 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10618 version.
10619 (__ASSUME_UTIMES): Likewise.
10620 (__ASSUME_CLONE_STOPPED): Remove.
10621 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10622 architectures, not kernel version.
10623 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10624 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10625 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10626 (__ASSUME_WAITID_SYSCALL): Likewise.
10627 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10628 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10629 * README: State 2.6.16 as minimum Linux kernel version. Do not
10630 refer to older versions.
10631
03af9520
RM
106322012-08-06 Roland McGrath <roland@hack.frob.com>
10633
8e49df1d
RM
10634 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10635 Define alphasort64 as an alias.
10636 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10637 Define versionsort64 as an alias.
10638 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10639 Define scandir64 as an alias.
10640 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10641 Define scandirat64 as an alias.
10642 * dirent/alphasort64.c (alphasort64):
10643 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10644 * dirent/versionsort64.c: Likewise.
10645 * dirent/scandir64.c: Likewise.
10646 * dirent/scandirat64.c: Likewise.
10647 * sysdeps/wordsize-64/alphasort.c: File removed.
10648 * sysdeps/wordsize-64/alphasort64.c: File removed.
10649 * sysdeps/wordsize-64/scandir.c: File removed.
10650 * sysdeps/wordsize-64/scandir64.c: File removed.
10651 * sysdeps/wordsize-64/scandirat.c: File removed.
10652 * sysdeps/wordsize-64/scandirat64.c: File removed.
10653 * sysdeps/wordsize-64/versionsort.c: File removed.
10654 * sysdeps/wordsize-64/versionsort64.c: File removed.
10655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10656 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10658 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10660 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10662 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10663
10664 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10666 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10668 [defined __arch64__ || defined __sparcv9]
10669 (__INO_T_MATCHES_INO64_T): New macro.
10670 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10671 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10672 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10673 * sysdeps/unix/sysv/linux/bits/dirent.h
10674 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10675 (_DIRENT_MATCHES_DIRENT64): New macro.
10676
03af9520
RM
10677 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10678 Define lockf64 as an alias.
10679 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10680 Define fseeko64 as an alias.
10681 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10682 Define ftello64 as an alias.
10683 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10684 Define _IO_fgetpos64 and fgetpos64 as aliases.
10685 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10686 Define _IO_fsetpos64 and fsetpos64 as aliases.
10687 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10688 Conditionalize body on this.
10689 * libio/fseeko64.c: Likewise.
10690 * libio/ftello64.c: Likewise.
10691 * libio/iofgetpos64.c: Likewise.
10692 * libio/iofsetpos64.c: Likewise.
10693 * sysdeps/wordsize-64/lockf.c: File removed.
10694 * sysdeps/wordsize-64/lockf64.c: File removed.
10695 * sysdeps/wordsize-64/fseeko.c: File removed.
10696 * sysdeps/wordsize-64/fseeko64.c: File removed.
10697 * sysdeps/wordsize-64/ftello.c: File removed.
10698 * sysdeps/wordsize-64/ftello64.c: File removed.
10699 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10700 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10701 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10702 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10704 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10705 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10706 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10707 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10708 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10709 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10710 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10711 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10712 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10713
10714 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10716 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10718 [defined __arch64__ || defined __sparcv9]
10719 (__OFF_T_MATCHES_OFF64_T): New macro.
10720 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10721 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10723 (__OFF_T_MATCHES_OFF64_T): New macro.
10724
c5757acd
L
107252012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10726
10727 * stdlib/secure-getenv.c (__secure_getenv): Replace
10728 GLIBC_2_16 with GLIBC_2_17.
10729
3a31811e
L
107302012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10731
10732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10734
faa2bccb
DM
107352012-08-03 David S. Miller <davem@davemloft.net>
10736
10737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10738
85fe1997
JM
107392012-08-03 Joseph Myers <joseph@codesourcery.com>
10740
10741 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10742 Remove.
10743 (__ASSUME_CORRECT_SI_PID): Likewise.
10744 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10745 (__ASSUME_TMPFS_NAME): Likewise.
10746 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10747 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10748 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10749 (HAVE_AUX_SECURE): Make definition unconditional.
10750 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10751 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10752
4f75b7a0
RM
107532012-08-03 Roland McGrath <roland@hack.frob.com>
10754
10755 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10756 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10757 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10758 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10759 __eloop_threshold instead of SYMLOOP_MAX.
10760
10761 * sysdeps/generic/eloop-threshold.h: New file.
10762 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10763 of MAXSYMLINKS.
10764 * elf/chroot_canon.c (chroot_canon): Likewise.
10765
7aab07e4
JM
107662012-08-03 Joseph Myers <joseph@codesourcery.com>
10767
10768 [BZ #13717]
10769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10770 Change to 2.6.0 everywhere.
10771 * sysdeps/unix/sysv/linux/configure: Regenerated.
10772 * sysdeps/unix/sysv/linux/kernel-features.h
10773 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10774 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10775 kernel versions.
10776 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10777 (__ASSUME_FUTEX_REQUEUE): Remove.
10778 (__ASSUME_STATFS64): Define unconditionally.
10779 (__ASSUME_AT_SECURE): Likewise.
10780 (__ASSUME_CORRECT_SI_PID): Likewise.
10781 (__ASSUME_TGKILL): Define without depending on kernel version for
10782 i386.
10783 (__ASSUME_UTIMES): Likewise.
10784 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10785 kernel version.
10786 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10787 (__ASSUME_TMPFS_NAME): Likewise.
10788 * README: Update reference to Linux kernel versions.
10789
b67e9372
MP
107902012-08-02 Marek Polacek <polacek@redhat.com>
10791
1f529f7d 10792 [BZ# 14150]
b67e9372
MP
10793 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10794 libc_cv_asm_type_prefix with %.
10795 * configure: Regenerated.
d2441631
RM
10796 * include/libc-symbols.h: Remove comment about
10797 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10798 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10799 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10800 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10801 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10802 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10803 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10804 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10805 * elf/tst-unique2mod1.c: Likewise.
10806 * elf/tst-unique1mod2.c: Likewise.
10807 * elf/tst-unique1mod1.c: Likewise.
10808 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10809 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10810 Replace ASM_TYPE_DIRECTIVE with .type.
10811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10812 * sysdeps/i386/sysdep.h: Likewise.
10813 * sysdeps/x86_64/sysdep.h: Likewise.
10814 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10816 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10817 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10818 * sysdeps/powerpc/powerpc32/sysdep.h:
10819 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10820 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10821 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10822 * sysdeps/i386/fpu/e_powf.S: Likewise.
10823 * sysdeps/i386/fpu/e_expl.S: Likewise.
10824 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10825 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10826 * sysdeps/i386/fpu/e_pow.S: Likewise.
10827 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10829 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10830 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10831 * sysdeps/i386/fpu/e_log2.S: Likewise.
10832 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10833 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10834 * sysdeps/i386/fpu/e_powl.S: Likewise.
10835 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10836 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10837 * sysdeps/i386/fpu/e_logl.S: Likewise.
10838 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10839 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10840 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10841 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10842 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10843 * sysdeps/i386/fpu/e_log.S: Likewise.
10844 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10845 * sysdeps/i386/fpu/e_logf.S: Likewise.
10846 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10847 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10848 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10849 * sysdeps/i386/fpu/e_log10.S: Likewise.
10850 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10851 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10852 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10853 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10854 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10855 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10856 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10857 * sysdeps/i386/i686/strtok.S: Likewise.
10858 * sysdeps/i386/i386-mcount.S: Likewise.
10859 * sysdeps/i386/strtok.S: Likewise.
10860 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10861 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10862 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10863 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10864 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10865 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10866 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10867 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10868 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10869 * sysdeps/x86_64/_mcount.S: Likewise.
10870 * sysdeps/x86_64/strtok.S: Likewise.
10871 * sysdeps/sh/_mcount.S: Likewise.
10872
2747bf9a
RM
108732012-08-01 Roland McGrath <roland@hack.frob.com>
10874
10875 * libio/iofopen.c: Include <fcntl.h>.
10876 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10877 (_IO_fopen64, fopen64): Define as aliases.
10878 * libio/iofopen64.c: Include <fcntl.h>.
10879 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10880 Conditionalize body on this.
10881 * sysdeps/wordsize-64/iofopen.c: File removed.
10882 * sysdeps/wordsize-64/iofopen64.c: File removed.
10883
3fb791b8
MP
108842012-08-01 Marek Polacek <polacek@redhat.com>
10885
10886 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10887 Use dlfcn directly instead of a variable.
10888 (binfmt-subdir): Do not define.
10889 (dlfcn): Likewise.
10890
a9f1039f
JM
108912012-08-01 Joseph Myers <joseph@codesourcery.com>
10892
23bddc06
JM
10893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10894 Remove all definitions.
10895 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10896 <kernel-features.h>.
10897 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10898 (miss_F_GETOWN_EX): Remove all definitions.
10899 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10900 macro definition.
10901 [!__ASSUME_FCNTL64]: Remove conditional code.
10902 [__ASSUME_FCNTL64]: Make code unconditional.
10903 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10904 <kernel-features.h>.
10905 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10906 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10907 (lockf64) [__NR_fcntl64]: Make code unconditional.
10908 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10909
a9f1039f
JM
10910 * sysdeps/unix/sysv/linux/kernel-features.h
10911 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10912 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10913 Make code unconditional.
10914 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10915 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10917 [__NR_vfork]: Make code unconditional.
10918 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10919 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10921 [__NR_vfork]: Make code unconditional.
10922 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10923 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10924
09c0ee5f
RM
109252012-08-01 Roland McGrath <roland@hack.frob.com>
10926
48aec5b9
RM
10927 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10928 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10929
cd97c966
RM
10930 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10931 Define mkstemp64 as an alias.
3f55550c
RM
10932 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10933 Define mkstemps64 as an alias.
cd97c966
RM
10934 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10935 Define mkostemp64 as an alias.
b8625cfc
RM
10936 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10937 Define mkostemps64 as an alias.
cd97c966
RM
10938 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10939 Conditionalize body on this.
10940 * misc/mkostemp64.c: Likewise.
b8625cfc 10941 * misc/mkostemps64.c: Likewise.
3f55550c 10942 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10943 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10944 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10945 * sysdeps/wordsize-64/mkostemp.c: File removed.
10946 * sysdeps/wordsize-64/mkstemp.c: File removed.
10947 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10949 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10950 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10951
09c0ee5f
RM
10952 [BZ #14138]
10953 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10954 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10955 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10956 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10957
10958 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10959 compat_symbol macros from <shlib-compat.h> rather than the underlying
10960 default_symbol_version and symbol_version macros, so that DEFAULT
10961 lines in shlib-versions are respected.
10962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10963
7e66ee51
FW
109642012-08-01 Florian Weimer <fweimer@redhat.com>
10965
10966 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10967 Declare with warn_unused_result.
10968 (setgid, setregid, setegid, setresgid): Likewise.
10969 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10970 Likewise.
10971 * WUR-REPORT: Remove set*id functions.
10972
d2a54255
PT
109732012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10974
10975 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10976
7ecdb005
RM
109772012-07-31 Roland McGrath <roland@hack.frob.com>
10978
789bd351
RM
10979 * include/sys/socket.h (__libc_accept, __libc_accept4):
10980 Add attribute_hidden.
10981 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10982
40ce302d
RM
10983 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10984 use of PTR_MANGLE.
10985 * inet/getnetgrent_r.c (setup): Likewise.
10986
7ecdb005
RM
10987 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10988
e2eabb2c
DM
109892012-07-31 David S. Miller <davem@davemloft.net>
10990
10991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10992
d0419dbf
JM
109932012-07-31 Joseph Myers <joseph@codesourcery.com>
10994
10995 [BZ #13629]
10996 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10997 value between 1.0 and 2.0 and smaller part has absolute value less
10998 than 1.0.
10999 * math/s_clog10.c (__clog10): Likewise.
11000 * math/s_clog10f.c (__clog10f): Likewise.
11001 * math/s_clog10l.c (__clog10l): Likewise.
11002 * math/s_clogf.c (__clogf): Likewise.
11003 * math/s_clogl.c (__clogl): Likewise.
11004 * math/libm-test.inc (clog_test): Add more tests.
11005 (clog10_test): Likewise.
11006 * sysdeps/i386/fpu/libm-test-ulps: Update.
11007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11008
2bc13872
FW
110092012-07-31 Florian Weimer <fweimer@redhat.com>
11010
11011 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11012 Exit with zero in case no suitable GID is found, and write a
11013 message to standard error.
11014
bea9b193
RM
110152012-07-30 Roland McGrath <roland@hack.frob.com>
11016
11017 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11018 rather than to 1.
11019 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11020 (MAXPATHLEN): Removed.
11021 (NOGROUP, NODEV): New macros.
11022 (setbit, clrbit, isset, isclr): New macros.
11023 (howmany, roundup, powerof2): New macros.
11024 (DEV_BSIZE): New macro.
11025
11026 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11027 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11028
11029 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11030 definition on [!__NO_LONG_DOUBLE_MATH].
11031
11032 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11033 PTR_MANGLE and PTR_DEMANGLE.
11034
11035 * socket/accept4.c (accept4): Rename to __libc_accept4.
11036 Define accept4 as a weak alias.
11037
11038 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11039 on [_DIRENT_HAVE_D_TYPE].
11040 * io/ftw.c (ftw_dir): Likewise.
11041
11042 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11043
11044 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11045
11046 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11047 Use the BSD numbers rather than the arbitrary ones we had.
11048 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11049 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11050 (SIGXCPU, SIGXFSZ): New macros.
11051 (_NSIG): Now 32.
11052
11053 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11054 initializer on [_LIBC_REENTRANT].
11055
11056 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11057 definitions inside [_POSIX_MAPPED_FILES].
11058
11059 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11060
11061 * dirent/opendir.c: Include <fcntl.h>.
11062
11063 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11064 (__libc_getspecific): Likewise.
11065 (__libc_key_create): Likewise.
11066
11067 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11068 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11069 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11070 (tmpfile64): Define as alias.
11071 * sysdeps/wordsize-64/tmpfile.c: File removed.
11072 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11073 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11075
11076 * stdio-common/vfscanf.c: Include <stdbool.h>.
11077 * nss/makedb.c: Likewise.
11078 * stdio-common/_i18n_number.h: Likewise.
11079 * argp/argp-help.c: Likewise.
11080 * posix/wordexp.c: Likewise.
11081 * sysdeps/posix/spawni.c: Likewise.
11082 * nss/nss_files/files-initgroups.c: Likewise.
11083 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11084 * nss/nss_files/files-initgroups.c: Likewise.
11085 * nss/nss_db/db-netgrp.c: Likewise.
11086 * nss/nss_db/db-initgroups.c: Likewise.
11087 * io/fchmodat.c: Include <sys/stat.h>.
11088
11089 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11090 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11091
11092 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11093 [HAVE_MMAP].
11094
11095 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11096 Add multiple inclusion protection.
11097
e5abc686
DM
110982012-07-27 David S. Miller <davem@davemloft.net>
11099
11100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11101
815e6fa3
GB
111022012-07-27 Gary Benson <gbenson@redhat.com>
11103
11104 [BZ #14298]
11105 * elf/rtld.c: Include <stap-probe.h>.
11106 (dl_main): Added static probes "init_start" and "init_complete".
11107 * elf/dl-load.c: Include <stap-probe.h>.
11108 (lose): Take new parameter "nsid".
11109 Added static probe "map_failed".
11110 (_dl_map_object_from_fd): Pass namespace id to lose.
11111 Added static probe "map_start".
11112 (open_verify): Pass namespace id to lose.
11113 * elf/dl-open.c: Include <stap-probe.h>.
11114 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11115 and "reloc_complete".
11116 * elf/dl-close.c: Include <stap-probe.h>.
11117 (_dl_close_worker): Added static probes "unmap_start" and
11118 "unmap_complete".
11119 * elf/rtld-debugger-interface.txt: New file documenting the above.
11120
9f98c16c
RM
111212012-07-26 Roland McGrath <roland@hack.frob.com>
11122
11123 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11124 rather than a string variable.
11125 * sunrpc/rpc_main.c (h_output): Likewise.
11126 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11127
f3c22df3
PT
111282012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11129
11130 * inet/check_native.c: New file.
11131
3129cfc6
JM
111322012-07-26 Joseph Myers <joseph@codesourcery.com>
11133
da865e95
JM
11134 [BZ #13629]
11135 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11136 if larger part has absolute value 1.0.
11137 * math/s_clog10.c (__clog10): Likewise.
11138 * math/s_clog10f.c (__clog10f): Likewise.
11139 * math/s_clog10l.c (__clog10l): Likewise.
11140 * math/s_clogf.c (__clogf): Likewise.
11141 * math/s_clogl.c (__clogl): Likewise.
11142 * math/libm-test.inc (clog_test): Add more tests.
11143 (clog10_test): Likewise.
11144 * sysdeps/i386/fpu/libm-test-ulps: Update.
11145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11146
3129cfc6
JM
11147 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11148 (pltexit): Likewise.
11149 (La_regs): Likewise.
11150 (La_retval): Likewise.
11151 (int_retval): Likewise.
11152 Update #error for removed macros to refer only to definitions in
11153 tst-audit.h.
11154 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11155 macro.
11156 (pltexit): Likewise.
11157 (La_regs): Likewise.
11158 (La_retval): Likewise.
11159 (int_retval): Likewise.
11160 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11161 macro.
11162 (pltexit): Likewise.
11163 (La_regs): Likewise.
11164 (La_retval): Likewise.
11165 (int_retval): Likewise.
11166 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11167 macro.
11168 (pltexit): Likewise.
11169 (La_regs): Likewise.
11170 (La_retval): Likewise.
11171 (int_retval): Likewise.
11172 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11173 macro.
11174 (pltexit): Likewise.
11175 (La_regs): Likewise.
11176 (La_retval): Likewise.
11177 (int_retval): Likewise.
11178 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11179 macro.
11180 (pltexit): Likewise.
11181 (La_regs): Likewise.
11182 (La_retval): Likewise.
11183 (int_retval): Likewise.
11184 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11185 macro.
11186 (pltexit): Likewise.
11187 (La_regs): Likewise.
11188 (La_retval): Likewise.
11189 (int_retval): Likewise.
11190 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11191 macro definitions in tst-audit.h.
11192 * sysdeps/i386/tst-audit.h: New file.
11193 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11194 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11195 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11196 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11197 * sysdeps/sh/tst-audit.h: Likewise.
11198 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11199 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11200 * sysdeps/x86_64/tst-audit.h: Likewise.
11201
bfc07087
AJ
112022012-07-26 Andreas Jaeger <aj@suse.de>
11203
b1b2aaf8
AJ
11204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11205 ptrace.
11206
11207 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11208 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11209 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11210 PTRACE_O_MASK.
11211 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11212 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11213 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11214
bfc07087
AJ
11215 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11216 value.
11217
11218 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11219 _sigsys.
11220 (si_call_addr, si_syscall, si_arch): Define new macro.
11221 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11222 _sigsys.
11223 (si_call_addr, si_syscall, si_arch): Define new marcro.
11224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11225 _sigsys.
11226 (si_call_addr, si_syscall, si_arch): Define new macro.
11227 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11228 _sigsys.
11229 (si_call_addr, si_syscall, si_arch): Define new macro.
11230
89b4b02f
JM
112312012-07-25 Joseph Myers <joseph@codesourcery.com>
11232
11233 [BZ #13717]
11234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11235 Change to 2.4.21 where previously 2.4.1.
11236 * sysdeps/unix/sysv/linux/configure: Regenerated.
11237 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11238 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11239 Linux kernel version.
11240 (__ASSUME_STD_AUXV): Remove.
11241 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11242 kernel version.
11243 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11244 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11245 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11246 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11247 (__ASSUME_NETLINK_SUPPORT): Likewise.
11248 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11249 (__no_netlink_support): Remove conditional definition.
11250 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11251 Remove.
11252 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11253 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11254 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11255 (if_nameindex_ioctl): Remove.
11256 (if_nameindex_netlink): Do not handle __no_netlink_support.
11257 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11258 code.
11259 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11260 Remove conditional code.
11261 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11262 code.
11263 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11264 unconditional.
11265 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11266 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11267 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11268 Remove.
11269 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11270 [!__ASSUME_STD_AUXV]: Remove conditional code.
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11272 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11273 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11275 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11276 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11277 code.
11278 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11280 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11281 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11282 conditional code.
11283 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11286 code.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11288 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11289 conditional code.
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11291 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11292 code unconditional.
11293 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11294 conditional code.
11295 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11296 unconditional.
11297 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11298 conditional code.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11300 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11301 unconditional.
11302 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11303 conditional code.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11305 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11306 code unconditional.
11307 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11308 conditional code.
11309 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11310 unconditional.
11311 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11312 conditional code.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11314 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11315 code unconditional.
11316 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11317 conditional code.
11318 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11319 unconditional.
11320 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11321 conditional code.
11322
842a39cd
AS
113232012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11324
11325 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11326 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11327 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11328 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11329 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11330 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11331 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11332 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11333 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11334 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11335 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11336 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11337 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11338 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11339 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11340 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11341 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11342 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11343 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11345 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11346 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11347 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11348
84b3fd84
FW
113492012-07-25 Florian Weimer <fweimer@redhat.com>
11350
11351 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11352 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11353 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11354 Introduce __libc_secure_getenv.
0c7936d5
FW
11355 * stdlib/Versions (2.17): Add secure_getenv
11356 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11357 * stdlib/secure-getenv.c: Rename __secure_getenv to
11358 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11359 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11360 * stdlib/tst-secure-getenv.c: New.
11361 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11362 * manual/startup.texi (Environment Access): Document
11363 secure_getenv.
84b3fd84
FW
11364 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11365 __libc_secure_getenv.
11366 * inet/ruserpass.c (ruserpass): Likewise.
11367 * malloc/mtrace.c (mtrace): Likewise.
11368 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11369 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11370 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11371 * sysdeps/posix/tempname.c: Likewise. Evaluate
11372 HAVE_SECURE_GETENV.
11373 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11374 __secure_getenv to __libc_secure_getenv.
84b3fd84 11375 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11377 Likewise.
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11379 Likewise.
11380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11387
56e49b71
JM
113882012-07-25 Joseph Myers <joseph@codesourcery.com>
11389
11390 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11391 (struct La_i86_retval): Likewise.
11392 (struct La_x86_64_regs): Likewise.
11393 (struct La_x86_64_retval): Likewise.
11394 (struct La_x32_regs): Likewise.
11395 (struct La_x32_retval): Likewise.
11396 (struct La_ppc32_regs): Likewise.
11397 (struct La_ppc32_retval): Likewise.
11398 (struct La_ppc64_regs): Likewise.
11399 (struct La_ppc64_retval): Likewise.
11400 (struct La_sh_regs): Likewise.
11401 (struct La_sh_retval): Likewise.
11402 (struct La_s390_32_regs): Likewise.
11403 (struct La_s390_32_retval): Likewise.
11404 (struct La_s390_64_regs): Likewise.
11405 (struct La_s390_64_retval): Likewise.
11406 (struct La_sparc32_regs): Likewise.
11407 (struct La_sparc32_retval): Likewise.
11408 (struct La_sparc64_regs): Likewise.
11409 (struct La_sparc64_retval): Likewise.
11410 (struct audit_ifaces): Remove architecture-specific pltenter and
11411 pltexit members.
11412 * sysdeps/i386/ldsodefs.h: New file.
11413 * sysdeps/powerpc/ldsodefs.h: Likewise.
11414 * sysdeps/s390/ldsodefs.h: Likewise.
11415 * sysdeps/sh/ldsodefs.h: Likewise.
11416 * sysdeps/sparc/ldsodefs.h: Likewise.
11417 * sysdeps/x86_64/ldsodefs.h: Likewise.
11418
354691b7
MP
114192012-07-25 Marek Polacek <polacek@redhat.com>
11420
11421 [BZ #6808]
11422 * math/libm-test.inc (yn_test): Add another test.
11423 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11424 to ERANGE when the result is +-Inf.
11425 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11426 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11427 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11428 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11429
bf9e2071
JM
114302012-07-24 Joseph Myers <joseph@codesourcery.com>
11431
11432 * conform/data/time.h-data (NULL): Use macro-constant. Require
11433 equal to 0.
11434 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11435 clock_t.
11436 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11437
57633811
TS
114382012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11439
11440 * configure.in <sysdeps resolving>: Correct printing
11441 Implies_before.
11442 * configure: Regenerate.
11443
c23c33b0
TS
114442012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11445
11446 * math/w_ilogb.c: Include <limits.h>.
11447 * math/w_ilogbl.c: Likewise.
11448
b5982523
JM
114492012-07-20 Joseph Myers <joseph@codesourcery.com>
11450
11451 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11452 va_copy. Document allowing for unavailable va_copy only as
11453 pre-C99 compatibility.
11454 * manual/string.texi (Copying and Concatenation): Use va_copy
11455 instead of __va_copy in concat example.
11456
ac4ea442
PT
114572012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11458
11459 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11460 (__sendto): Use create_address_port. Initialize APORT and deallocate
11461 it if not null.
11462
f98eafbd
PT
11463 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11464 with O_NOLINK passed to __file_name_lookup.
11465
898c7aab
PT
11466 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11467 with O_NOLINK passed to __file_name_lookup.
11468
0ced335a
PT
11469 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11470 negative N or less than NGIDS.
11471
b3404dbd
PT
11472 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11473 type to string_t. Set ERANGE as errno and return it if NAME is not big
11474 enough. Use memcpy instead of strncpy.
11475
0f48659e
JM
114762012-07-20 Joseph Myers <joseph@codesourcery.com>
11477
11478 * elf/Makefile (check-data): Remove.
11479 (localplt.data): New vpath directive.
11480 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11481 instead of $(check-data).
11482 * scripts/data/localplt-generic.data: Move to ...
11483 * sysdeps/generic/localplt.data: ... here.
11484 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11485 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11486 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11488 ... here.
11489 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11491 ... here.
11492 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11494 ... here.
11495 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11497 ... here.
11498 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11500 ... here.
11501 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11503 ... here.
11504
d37cbdaa
AZ
115052012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11506
11507 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11508 PPC32 and PPC64 files.
11509 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11510 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11511
46f85fc2
AK
115122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11513
11514 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11515 __makecontext_ret to ...
11516 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11517 ... here and call exit if uc_link is NULL. New file.
11518 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11519 __makecontext_ret.S.
11520 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11521 __makecontext_ret to ...
11522 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11523 ... here and call exit if uc_link is NULL. New file.
11524 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11525 __makecontext_ret.S.
11526
08f43f9b
AK
115272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11528
11529 * elf/elf.h (R_390_IRELATIVE): New definition.
11530 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11531 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11532 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11533 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11534 (elf_machine_lazy_rel): Likewise.
11535 * sysdeps/s390/dl-irel.h: New file.
11536 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11537 * sysdeps/s390/s390-64/memset.S: New asm code.
11538 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11539 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11540 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11541 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11542 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11543 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11544 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11545 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11546 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11547 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11548 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11549 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11550 * sysdeps/s390/s390-32/memset.S: New asm code.
11551 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11552
3b05db33
MP
115532012-07-17 Marek Polacek <polacek@redhat.com>
11554
11555 [BZ #14349]
11556 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11557 * sysdeps/s390/s390-64/configure.in: Likewise.
11558 * sysdeps/sparc/configure.in: Likewise.
11559 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11560 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11561 * sysdeps/i386/configure.in: Likewise.
11562 * sysdeps/x86_64/configure.in: Likewise.
11563 * sysdeps/sh/configure.in: Likewise.
11564 * sysdeps/s390/s390-32/configure: Regenerated.
11565 * sysdeps/s390/s390-64/configure: Likewise.
11566 * sysdeps/x86_64/configure: Likewise.
11567 * sysdeps/sh/configure: Likewise.
11568 * sysdeps/powerpc/powerpc64/configure: Likewise.
11569 * sysdeps/powerpc/powerpc32/configure: Likewise.
11570 * sysdeps/sparc/configure: Likwise.
11571 * sysdeps/i386/configure: Likewise.
11572
a66877c6
MP
11573 * elf/dl-open.c: Comment fixes.
11574
cfc82fd8
JM
115752012-07-17 Joseph Myers <joseph@codesourcery.com>
11576
bd29910a
JM
11577 * Makefile [CXX] (check-data): Remove.
11578 [CXX] (c++-types.data): New vpath directive.
11579 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11580 vpath. Do not allow for C++ type data being missing.
11581 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11582 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11583 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11584 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11585 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11586 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11587 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11589 ... here.
11590 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11592 ... here.
11593 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11595 ... here.
11596 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11598 ... here.
11599 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11601 ... here.
11602 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11604 ... here.
11605 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11607 ... here.
11608 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11610
cfc82fd8
JM
11611 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11612 definitions to architecture-specific files.
11613 (TLS_IE): Likewise.
11614 (TLS_LD): Likewise.
11615 (TLS_GD): Likewise.
11616 * sysdeps/i386/tls-macros.h: New file.
11617 * sysdeps/powerpc/tls-macros.h: Likewise.
11618 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11619 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11620 * sysdeps/sh/tls-macros.h: Likewise.
11621 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11622 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11623 * sysdeps/x86_64/tls-macros.h: Likewise.
11624
f7db3170
TS
116252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11626
07cbfc23
TS
11627 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11628 zero value for regular exit case.
11629
f7db3170
TS
11630 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11631 (__start_context): Preserve zero value for regular exit case.
11632
dc97c227
TS
116332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11634 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11635
11636 * manual/setjmp.texi (setcontext): Clarify normal process
11637 termination when uc_link is the null pointer.
11638 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11639 exit call.
11640
d0cd7d02
AS
116412012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11642
11643 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11644 preprocessor. Test for each exception mask separately.
11645
dd318934
AJ
116462012-07-16 Andreas Jaeger <aj@suse.de>
11647
11648 * po/ru.po: Update from translation team.
11649
8048311a
JM
116502012-07-15 Joseph Myers <joseph@codesourcery.com>
11651
11652 * conform/data/string.h-data (NULL): Use macro-constant. Require
11653 equal to 0.
11654 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11655 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11656 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11657 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11659
b637d46e
AJ
116602012-07-13 Andreas Jaeger <aj@suse.de>
11661
11662 * po/fr.po: Update from translation team.
11663
541428fe
MP
116642012-07-12 Marek Polacek <polacek@redhat.com>
11665
11666 [BZ #14173]
11667 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11668 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11669 loop condition.
11670
ec332e94
JM
116712012-07-12 Joseph Myers <joseph@codesourcery.com>
11672
11673 [BZ #13717]
11674 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11675 Change to 2.4.1 where previously 2.4.0.
11676 * sysdeps/unix/sysv/linux/configure: Regenerated.
11677 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11678 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11679 version.
11680 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11681 (__ASSUME_AT_CLKTCK): Remove.
11682 (__ASSUME_AT_PAGESIZE): Likewise.
11683 (__ASSUME_AT_XID): Likewise.
11684 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11685 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11686 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11687 unconditionally.
11688 (HAVE_AUX_PAGESIZE): Likewise.
11689 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11690 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11691 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11692
7b6e99be
JB
116932012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11694
11695 [BZ #14307]
11696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11697 the temporary buffer used to invoke __gethostbyname2_r,
11698 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11699 host_data / struct gaih_addrtuple.
11700 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11701 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11702 header file nss/nsswitch.h.
11703 * nss/nsswitch.h (global scope): Add definition of implementation
11704 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11705 resolv/nss_dns/dns-host.c).
11706
608404eb
AJ
117072012-07-11 Andreas Jaeger <aj@suse.de>
11708
11709 * po/fr.po: Update from translation team.
11710
71220aca
AJ
11711 * po/sv.po: Update from translation team
11712 * po/fr.po: Another update from translation team.
11713
28cfe843
AZ
117142012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11715
11716 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11717 for subnormals or multiply small sinh result by itself.
11718 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11720
6b90f981
DM
117212012-07-11 David S. Miller <davem@davemloft.net>
11722
11723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11724
c6825772
AS
117252012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11726
11727 [BZ #14347]
11728 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11729 (INTERNAL_MARK): Shift it here.
11730
7b8e0d49
MP
117312012-07-10 Marek Polacek <polacek@redhat.com>
11732
11733 [BZ #14151]
11734 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11735 libc_cv_asm_global_directive with .globl.
11736 * configure: Regenerated.
11737 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11738 with .globl.
11739 * sysdeps/i386/configure: Regenerated.
11740 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11741 with .globl.
11742 * sysdeps/x86_64/configure: Regenerated.
11743 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11744 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11745 * elf/tst-unique2mod2.c: Likewise.
11746 * elf/tst-unique2mod1.c: Likewise.
11747 * elf/tst-unique1mod2.c: Likewise.
11748 * elf/tst-unique1mod1.c: Likewise.
11749 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11750 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11751 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11752 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11753 * sysdeps/mach/sysdep.h: Likewise.
11754 * sysdeps/i386/sysdep.h: Likewise.
11755 * sysdeps/i386/i386-mcount.S: Likewise.
11756 * sysdeps/x86_64/_mcount.S: Likewise.
11757 * sysdeps/x86_64/sysdep.h: Likewise.
11758 * sysdeps/sh/_mcount.S: Likewise.
11759 * sysdeps/sh/sysdep.h: Likewise.
11760 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11761 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11762 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11763 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11764 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11765 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11766 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11767 * locale/localeinfo.h: Likewise.
11768 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11769 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11770
6c55cda3
RM
117712012-07-09 Roland McGrath <roland@hack.frob.com>
11772
11773 [BZ #14336]
11774 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11775 system".
11776 * manual/message.texi (The Uniforum approach): Likewise.
11777 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11778 (glibc iconv Implementation): Likewise.
11779
638a572e
JM
117802012-07-09 Joseph Myers <joseph@codesourcery.com>
11781
11782 [BZ #14337]
11783 * math/s_clog.c (__clog): Avoid scaling a value down where that
11784 could result in underflow.
11785 * math/s_clog10.c (__clog10): Likewise.
11786 * math/s_clog10f.c (__clog10f): Likewise.
11787 * math/s_clog10l.c (__clog10l): Likewise.
11788 * math/s_clogf.c (__clogf): Likewise.
11789 * math/s_clogl.c (__clogl): Likewise.
11790 * math/libm-test.inc (clog_test): Add more tests.
11791 (clog10_test): Likewise.
11792 * sysdeps/i386/fpu/libm-test-ulps: Update.
11793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11794
261f4859
AS
117952012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11796
0abaf3e4
AS
11797 [BZ #14283]
11798 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11799 by 7 not 8 to examine high bit of fractional part.
11800
261f4859
AS
11801 [BZ #14042]
11802 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11803 for call to __mcount_internal.
11804 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11805 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11806 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11807
f17ac40d
JM
118082012-07-06 Joseph Myers <joseph@codesourcery.com>
11809
9ad63c23
JM
11810 [BZ #14154]
11811 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11812 approximation for values within 0x1p-13f of an odd multiple of
11813 pi/4.
11814 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11815 exception. Add more tests.
11816 * sysdeps/i386/fpu/libm-test-ulps: Update.
11817
f17ac40d
JM
11818 [BZ #6778]
11819 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11820 inputs and return -1 for them. Do not check for +Inf in case not
11821 reachable for +Inf.
11822 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11823 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11824 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11825 and return -1 for them. Do not check for +Inf in case not
11826 reachable for +Inf.
11827 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11828 define.
11829 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11830 and return -1 for them. Do not check for +Inf in case not
11831 reachable for +Inf.
11832 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11833 spurious underflow.
11834 * sysdeps/i386/fpu/libm-test-ulps: Update.
11835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11836
fb21f89b
MF
118372012-07-06 Mike Frysinger <vapier@gentoo.org>
11838
11839 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11840
cdfe2c5e
JM
118412012-07-05 Joseph Myers <joseph@codesourcery.com>
11842
11843 [BZ #14157]
11844 [BZ #14331]
11845 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11846 could result in spurious underflow. Scale down values above
11847 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11848 * math/s_csqrtf.c (__csqrtf): Likewise.
11849 * math/s_csqrtl.c (__csqrtl): Likewise.
11850 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11851 spurious underflow.
11852 * sysdeps/i386/fpu/libm-test-ulps: Update.
11853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11854
70d35b67
AS
118552012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11856
704bc459
AS
11857 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11858 xopen-msg.sed.
11859 * catgets/xopen-msg.awk: New file.
11860 * catgets/xopen-msg.sed: Removed.
11861
70d35b67
AS
11862 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11863 po2text.sed.
11864 * intl/po2test.awk: New file.
11865 * intl/po2test.sed: Removed.
11866
ca61cf32
JM
118672012-07-04 Joseph Myers <joseph@codesourcery.com>
11868
11869 [BZ #14328]
11870 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11871 or multiply small sinh result by itself.
11872 * math/s_ctanf.c (__ctanf): Likewise.
11873 * math/s_ctanh.c (__ctanh): Likewise.
11874 * math/s_ctanhf.c (__ctanhf): Likewise.
11875 * math/s_ctanhl.c (__ctanhl): Likewise.
11876 * math/s_ctanl.c (__ctanl): Likewise.
11877 * math/libm-test.inc (ctan_test_tonearest): New function.
11878 (ctan_test_towardzero): Likewise.
11879 (ctan_test_downward): Likewise.
11880 (ctan_test_upward): Likewise.
11881 (ctanh_test_tonearest): Likewise.
11882 (ctanh_test_towardzero): Likewise.
11883 (ctanh_test_downward): Likewise.
11884 (ctanh_test_upward): Likewise.
11885 (main): Call these new functions.
11886 * sysdeps/i386/fpu/libm-test-ulps: Update.
11887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11888
ca48a46a
MF
118892012-07-03 Mike Frysinger <vapier@gentoo.org>
11890
11891 * .gitignore: Delete /ports entry.
11892
9d63d37d
AJ
118932012-07-03 Andreas Jaeger <aj@suse.de>
11894
11895 * po/bg.po: Update from translation team.
11896 * po/cs.po: Likewise.
11897 * po/de.po: Likewise.
11898 * po/hr.po: Likewise.
11899 * po/nl.pl: Likewise.
11900 * po/pl.po: Likewise.
11901 * po/vi.po: Likewise.
11902
370ca3d2
JM
119032012-07-03 Joseph Myers <joseph@codesourcery.com>
11904
95f5a9a8
JM
11905 * Makeconfig [!+link] (+link-before-libc): New variable.
11906 [!+link] (+link-after-libc): Likewise.
11907 [!+link] (+link-tests): Likewise.
11908 [!+link] (+link): Define in terms of $(+link-before-libc) and
11909 $(+link-after-libc).
11910 [!+link-static] (+link-static-before-libc): New variable.
11911 [!+link-static] (+link-static-after-libc): Likewise.
11912 [!+link-static] (+link-static-tests): Likewise.
11913 [!+link-static] (+link-static): Define in terms of
11914 $(+link-static-before-libc) and $(+link-static-after-libc).
11915 [build-shared] (link-libc-before-gnulib): New variable.
11916 [build-shared] (link-libc-tests): Likewise.
11917 [build-shared] (link-libc): Define in terms of
11918 $(link-libc-before-gnulib).
11919 [!build-shared] (link-libc-tests): New variable.
11920 (link-libc-static-tests): New variable.
11921 [!gnulib] (gnulib-arch): New variable.
11922 [!gnulib] (gnulib-tests): Likewise.
11923 [!gnulib] (static-gnulib-arch): Likewise.
11924 [!gnulib] (static-gnulib-tests): Likewise.
11925 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11926 Define with "=" instead of ":=".
11927 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11928 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11929 * Rules (binaries-all-notests): New variable.
11930 (binaries-all-tests): Likewise.
11931 (binaries-static-notests): Likewise.
11932 (binaries-static-tests): Likewise.
11933 (binaries-all): Define using $(binaries-all-notests) and
11934 $(binaries-all-tests).
11935 (binaries-static): Define using $(binaries-static-notests) and
11936 $(binaries-static-tests).
11937 (binaries-shared-tests): New variable.
11938 (binaries-shared-notests): Likewise.
11939 (binaries-shared): Remove variable.
11940 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11941 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11942 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11943 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11944 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11945 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11946 * elf/Makefile (sln-modules): New variable.
11947 (extra-objs): Add $(sln-modules:=.o).
11948 (ldconfig-modules): Add static-stubs.
11949 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11950 * elf/static-stubs.c: New file.
11951
7a845b2c
JM
11952 [BZ #14283]
11953 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11954 by 7 not 8 to examine high bit of fractional part. Use volatile
11955 variables when splitting into final array of floats if
11956 __FLT_EVAL_METHOD__ != 0.
11957 * math/libm-test.inc (cos_test): Add another test.
11958 (sin_test): Likewise.
11959 * sysdeps/i386/fpu/libm-test-ulps: Update.
11960
e2283f38
JM
11961 [BZ #14273]
11962 * math/libm-test.inc (cosh_test): Add more tests.
11963
370ca3d2
JM
11964 * version.h (RELEASE): Set to "development".
11965 (VERSION): Set to "2.16.90".
11966
ee9247c3
CD
119672012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11968
11969 * NEWS: Update copyright. Remove last-updated date.
11970 Mention math library bug fixes and timezone data changes.
11971 * README: Mention GNU/Hurd, x32, and HPPA support status.
11972
4648c381
TS
119732012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11974
11975 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11976
aac78a43
AJ
119772012-06-27 Andreas Jaeger <aj@suse.de>
11978
11979 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11980
ed3dbfad
AJ
119812012-06-25 Andreas Jaeger <aj@suse.de>
11982
11983 * sysdeps/s390/fpu/libm-test-ulps: Update.
11984
4d0ee855
AS
119852012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11986 Thomas Schwinge <thomas@codesourcery.com>
11987
11988 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11989 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11991 fanotify_mark.
11992
af1bce34
TS
119932012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11994
a9fa33ba
TS
11995 * sysdeps/mach/start.c: Remove file.
11996 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11997 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11998 * sysdeps/sh/init-first.c: Likewise.
11999
58f902b8
TS
12000 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12001 registers for frame unwinding purposes, add CFI directives.
12002 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12004 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12005 Likewise.
12006
1518f58b
TS
12007 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12008 __fortify_fail returning.
12009 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12010
db9b5059
TS
12011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12012 sysdeps/sh/____longjmp_chk.S.
12013 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12014 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12015 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12016 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12017
967705fe
TS
12018 * sysdeps/sh/abort-instr.h: New file.
12019 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12020 process in case exit returns.
12021
a9def8c4
TS
12022 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12023 initialize the GOT register before use.
12024
2a649725
TS
12025 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12026 calculation of ARGC > 4.
12027
af1bce34
TS
12028 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12029 meaningful names to some local labels.
12030
d230f50a
KK
120312012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12032 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12033
12034 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12035 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12036 (__arch_compare_and_exchange_val_16_acq): Likewise.
12037 (__arch_compare_and_exchange_val_32_acq): Likewise.
12038 (atomic_exchange_and_add): Fix gUSA sequence.
12039 (atomic_add): Likewise.
12040 (atomic_add_negative): Likewise.
12041 (atomic_add_zero): Likewise.
12042 (atomic_bit_test_set): Likewise.
12043
0479b305
AS
120442012-06-22 Andreas Schwab <schwab@redhat.com>
12045
12046 [BZ #13579]
12047 * include/link.h (struct link_map): Add l_free_initfini.
12048 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12049 l_initfini.
12050 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12051 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12052 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12053 set.
12054
0e3933b9
CD
120552012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12056
12057 * configure.in: Use AC_LANG_SOURCE.
12058 * configure: Regenerate.
12059
4248b1b1
RM
120602012-06-22 Roland McGrath <roland@hack.frob.com>
12061
12062 * configure.in (libc_cv_localstatedir): New substituted variable.
12063 * configure: Regenerated.
12064 * config.make.in (localstatedir): New variable, substituted from
12065 libc_cv_localstatedir.
12066 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12067 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12068 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12069 * sysdeps/gnu/configure: Regenerated.
12070
006dd861
JL
120712012-06-21 Jeff Law <law@redhat.com>
12072
12073 [BZ #14277]
12074 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12075 free. Simplify list management for _LIBC case.
12076
79662d42
JM
120772012-06-21 Joseph Myers <joseph@codesourcery.com>
12078
b7abb4bf
JM
12079 [BZ #14273]
12080 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12081 Clear sign bit of 64-bit integer value before comparing against
12082 overflow value.
12083
79662d42
JM
12084 * sysdeps/mach/configure: Regenerated.
12085
1f150908
L
120862012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12087
12088 [BZ #14278]
12089 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12090
28363bbf
JL
120912012-06-21 Jeff Law <law@redhat.com>
12092
12093 [BZ #13882]
12094 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12095 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12096 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12097 * elf/dl-open.c (dl_open_worker): Likewise.
12098
09615db4
CD
120992012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12100
12101 * scripts/list-sources.sh: Scan PORTS for translations.
12102 * po/libc.pot: Regenerated.
12103
2174c6dd
AJ
121042012-06-21 Andreas Jaeger <aj@suse.de>
12105
12106 [BZ #12194]
12107 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12108 warning.
12109 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12110 * bits/byteswap-16.h (__bswap_16): Likewise.
12111 * bits/byteswap.h (__bswap_constant_16): Likewise.
12112
3ee947b1
L
121132012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12114
12115 [BZ #14117]
a2f34833
L
12116 * sysdeps/i386/fpu_control.h: Removed.
12117 * sysdeps/x86_64/fpu_control.h: Moved to ...
12118 * sysdeps/x86/fpu_control.h: Here.
12119
3ee947b1
L
12120 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12121 (_FPU_SETCW): Likewise.
12122
ed1825f8
L
121232012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12124
25f1282a
L
12125 [BZ #14117]
12126 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12127 * sysdeps/x86/fpu/bits/mathinline.h: This.
12128 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12129
ed1825f8
L
12130 [BZ #14050]
12131 [BZ #14117]
12132 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12133 functions if __x86_64__ is defined.
12134
36d54b74
CLT
121352012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12136
12137 * string/endian.h: Add !__ASSEMBLER__ condition for including
12138 conversion interfaces.
12139
10285c21
JM
121402012-06-15 Joseph Myers <joseph@codesourcery.com>
12141
12142 [BZ #14241]
12143 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12144 of ABS(x) in calculating zero to negative powers other than odd
12145 integers.
12146 * math/libm-test.inc (pow_test): Add more tests.
12147
06c5abbd
AJ
121482012-06-15 Andreas Jaeger <aj@suse.de>
12149
12150 * manual/contrib.texi (Contributors): Update entry of Liubov
12151 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12152 Machado Filho.
12153
a3aeac40
CH
121542012-06-15 Cyril Hrubis <metan@ucw.cz>
12155
12156 * string/string.h: Add __wur to GNU version of strerror_r.
12157
49bdf4c1
L
121582012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12159
12160 [BZ #14229]
12161 * string/Makefile (tests): Add tst-strtok_r.
12162 * string/tst-strtok_r.c: New file.
12163 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12164 RAX_LP/RDX_LP on SAVE_PTR.
12165
834f9b8d
RM
121662012-06-14 Roland McGrath <roland@hack.frob.com>
12167
12168 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12169
75fa1921
JM
121702012-06-14 Joseph Myers <joseph@codesourcery.com>
12171
12172 * libm_test.inc (csqrt_test): Allow more spurious underflow
12173 exceptions.
12174 (j0_test): Likewise.
12175 (j1_test): Likewise.
12176 (y0_test): Likewise.
12177 (y1_test): Likewise.
12178
771766df
CD
121792012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12180
12181 * po/Makefile (libc.pot): Use UTF-8 charset.
12182
ceb9e56b
PP
121832012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12184
12185 [BZ #14210]
12186 Suppress sign-conversion warning from FD_SET.
12187 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12188 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12189 not unsigned long int.
12190 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12191
ddb28975
L
121922012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12193
12194 [BZ #14050]
12195 [BZ #14117]
12196 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12197 __extern_always_inline instead of __extern_inline.
12198 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12199 (__signbit): Likewise.
12200 (__signbitl): Support C++ namespace.
12201 (lrintf): New inline function.
12202 (lrint): Likewise.
12203 (llrintf): Likewise.
12204 (llrint): Likewise.
12205 (fmaxf): Likewise.
12206 (fmax): Likewise.
12207 (fminf): Likewise.
12208 (fmin): Likewise.
12209 (rint): Likewise.
12210 (rintf): Likewise.
12211 (ceil): Likewise.
12212 (ceilf): Likewise.
12213 (floor): Likewise.
12214 (floorf): Likewise.
12215 (nearbyint): Likewise.
12216 (nearbyintf): Likewise.
12217
d7b4fb26
TS
122182012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12219
12220 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12221 non-default versions.
12222
eb55f5c2
RM
122232012-06-11 Roland McGrath <roland@hack.frob.com>
12224
12225 [BZ #14218]
12226 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12227
366af02c
TS
122282012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12229
99ff6e5c
TS
12230 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12231 (FE_UPWARD, FE_DOWNWARD): Don't define.
12232 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12233 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12234
366af02c
TS
12235 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12236 reading it.
12237 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12238 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12239
793ea851
KK
122402012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12241
12242 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12244 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12245 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12246
a728a38f
L
122472012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12248
12249 [BZ #14117]
c08010c7
L
12250 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12251 * sysdeps/i386/fpu/Implies: New file.
12252 * sysdeps/x86_64/fpu/Implies: Likewise.
12253 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12254 * sysdeps/x86/fpu/bits/fenv.h: This.
12255
a728a38f
L
12256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12257 __SSE_MATH__.
12258
6e230d11
SP
122592012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12260
12261 [BZ #14134]
12262 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12263 character 0xffff that matches the last element of the
12264 conversion table.
12265
1b671feb
AZ
122662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12267
12268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12269 fmodl commit.
12270
6043738b
AZ
122712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12272
12273 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12274 values higher than 25.6283.
12275
34ae0b32
AZ
122762012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12277
12278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12279 subnormal exponent extraction and add some __builtin_expect.
12280 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12281 Fix for subnormal mantissa calculation.
12282
1214ec8f
MF
122832012-06-04 Mike Frysinger <vapier@gentoo.org>
12284
12285 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12286 cpu2 is -1 and errno is not ENOSYS.
12287
f3d1f93c
L
122882012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12289
12290 [BZ #14117]
0e4a3cd7
L
12291 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12292 * sysdeps/x86/bits/string.h: This.
12293 * sysdeps/x86_64/bits/string.h: Removed.
12294
6704c645
L
12295 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12296 if not compiling for x86-64, but compiling for >= i486.
12297
48495318
L
12298 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12299 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12300
14adcbfc
L
12301 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12302 New macro from Linux kernel 3.4.0.
12303 (FP_XSTATE_MAGIC2): Likewise.
12304 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12305 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12306 (struct _fpx_sw_bytes): New struct.
12307 (struct _xsave_hdr): Likewise.
12308 (struct _ymmh_state): Likewise.
12309 (struct _xstate): Likewise.
12310
68e408ab
L
12311 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12312 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12313 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12314 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12315 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12316 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12317
f3d1f93c
L
12318 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12319 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12320 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12321 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12322 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12323 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12324
d9dc34cd
TMQMF
123252012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12326
12327 [BZ #13743]
12328 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12329 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12330 (sysdep_headers): Include sys/platform/ppc.h.
12331 * sysdeps/powerpc/test-gettimebase.c: Test for
12332 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12333 * manual/Makefile (appendices): Include platform.texi.
12334 * manual/contrib.texi (Contributors): Update @node pointers.
12335 * manual/maint.texi (Maintenance): Likewise.
12336 (Platform): New node.
12337 * manual/platform.texi: New file. Document the new features.
12338
4af3879c
SP
123392012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12340 Jakub Jelinek <jakub@redhat.com>
12341
12342 [BZ #14188]
12343 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12344 where __builtin_expect is unavailable.
12345
2fd6ff13
DM
123462012-06-03 David S. Miller <davem@davemloft.net>
12347
12348 * stdlib/longlong.h: Updated from GCC.
12349
173f7220
AS
123502012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12351
12352 [BZ #14042]
12353 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12354 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12355 __mcount_internal.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12357 (GLIBC_2.16): Likewise.
12358
f34a1c6f
L
123592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12360
12361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12362
88a4576f
JM
123632012-06-01 Joseph Myers <joseph@codesourcery.com>
12364
ea32bcdd
JM
12365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12366 (default-abi): New variable.
12367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12368 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12369 variable.
12370 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12371 Likewise.
12372 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12373 Likewise.
12374 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12375 Likewise.
12376
88a4576f
JM
12377 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12378 definition. Document in comment.
12379
402fe938
DM
123802012-06-01 David S. Miller <davem@davemloft.net>
12381
12382 * stdlib/longlong.h: Updated from GCC.
12383
3553723f
L
123842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12385
12386 [BZ #14117]
3bd872c4
L
12387 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12388 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12389 sys/debugreg.h sys/io.h here.
12390 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12391 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12392 sys/io.h.
12393 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12394 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12395 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12396 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12397 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12398 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12399
3553723f
L
12400 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12401 Define only if __x86_64__ is defined.
12402
4842e4fe
JM
124032012-06-01 Joseph Myers <joseph@codesourcery.com>
12404
c5bfe3d5
JM
12405 [BZ #14048]
12406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12407 Use int64_t for variable i.
12408 * math/libm-test.inc (fmod_test): Add more tests.
12409
4842e4fe
JM
12410 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12411 z computation is not scheduled after fetestexcept.
12412 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12413 Use math_force_eval instead of asm to ensure calculation scheduled
12414 before exception test.
12415 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12416 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12417
efb73488
AJ
124182012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12419
12420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12421 computation is not scheduled after fetestexcept.
12422
29bcce7c
L
124232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12424
12425 [BZ #14117]
12426 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12427 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12428
73a68f94
AZ
124292012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12430
12431 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12432 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12433
67b6df78
L
124342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12435
edf2933a 12436 [BZ #14117]
ebc64a18
L
12437 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12438 <bits/wordsize.h>.
12439 (__WCHAR_MIN): Support __WORDSIZE == 64.
12440 (__WCHAR_MAX): Likewise.
12441
edf2933a
L
12442 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12443 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12444
57c6cf40
L
12445 [BZ #14183]
12446 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12447 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12448
67b6df78 12449 [BZ #14117]
8eb6281e
L
12450 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12451 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12452
aac639f4
L
12453 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12454 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12455
67b6df78
L
12456 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12457 Defined to 1 if __x86_64__ isn't defined.
12458 (_STAT_VER_LINUX_OLD): New.
12459 (st_atime): Remove duplicate.
12460 (st_mtime): Likewise.
12461 (st_ctime): Likewise.
12462
1c2cfe81
DM
124632012-05-31 David S. Miller <davem@davemloft.net>
12464
12465 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12466 entries.
12467
5be8418c
AS
124682012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12469
e7725326
AS
12470 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12471 gen-libm-test.pl.
12472
5be8418c
AS
12473 [BZ #14132]
12474 * elf/dl-reloc.c: Include <_itoa.h>.
12475 (_dl_reloc_bad_type): Remove use of INTUSE.
12476 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12477 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12478 * stdio-common/psiginfo.c (psiginfo): Likewise.
12479 * stdio-common/psignal.c (psignal): Likewise.
12480 * string/strsignal.c (strsignal): Likewise.
12481 * include/signal.h (_sys_siglist): Declare hidden proto.
12482 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12483 INTVARDEF with libc_hidden_data_def.
12484 * stdio-common/itoa-udigits.c: Likewise.
12485 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12486 (_itoa_lower_digits_internal): Remove declaration.
12487 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12488 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12489 (_sys_sigabbrev_internal): Remove aliases.
12490 (_sys_siglist): Define hidden alias.
12491
507352f1
MT
124922012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12493
12494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12495 bits/sysctl.h.
12496
42bbb1c3
L
124972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12498
12499 [BZ #14117]
6bd784b6
L
12500 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12501 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12502
8bca20f0
L
12503 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12504 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12505 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12506 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12507 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12508 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12509
f9e890a9
L
12510 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12511 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12512 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12513
471101a1
L
12514 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12515 with __addr.
12516 (insw): Likewise.
12517 (insl): Likewise.
12518 (outsb): Likewise.
12519 (outsw): Likewise.
12520 (outsl): Likewise.
12521
6451c862
L
12522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12523 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12524 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12525
a254b8c9
L
12526 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12527 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12529 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12530 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12531 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12532
b8dfdd92
L
12533 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12534 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12535
578cd270
L
12536 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12537 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12538
de662f5f
L
12539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12541 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12542
25653439
L
12543 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12544 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12545 to ...
12546 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12547
6bad24a0
L
12548 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12549 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12550 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12551
42bbb1c3
L
12552 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12553 for x86-64.
12554 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12555
2d10d547
JM
125562012-05-31 Joseph Myers <joseph@codesourcery.com>
12557
12558 * math/math.h (M_El): Use two more decimal places.
12559 (M_LOG2El): Likewise.
12560 (M_LOG10El): Likewise.
12561 (M_LN2l): Likewise.
12562 (M_LN10l): Likewise.
12563 (M_PIl): Likewise.
12564 (M_PI_2l): Likewise.
12565 (M_PI_4l): Likewise.
12566 (M_1_PIl): Likewise.
12567 (M_2_PIl): Likewise.
12568 (M_2_SQRTPIl): Likewise.
12569 (M_SQRT2l): Likewise.
12570 (M_SQRT1_2l): Likewise.
12571
f230c29b
DM
125722012-05-31 David S. Miller <davem@davemloft.net>
12573
12574 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12575 values between float registers.
12576 * sysdeps/sparc/sparc64/memset.S: Likewise.
12577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12578
fed806c3
MF
125792012-05-31 Mike Frysinger <vapier@gentoo.org>
12580
12581 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12582 -D_FORTIFY_SOURCE=1.
12583 (CPPFLAGS-tst-longjmp_chk.c): Define.
12584 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12585 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12586 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12587 CFLAGS-tst-wchar-h.c.
12588
30917259
MP
125892012-05-31 Marek Polacek <polacek@redhat.com>
12590
12591 [BZ #14132]
12592 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12593 __endmntent_internal): Remove declaration.
12594 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12595 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12596 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12597
1c58d5dc
DM
125982012-05-30 David S. Miller <davem@davemloft.net>
12599
12600 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12601 (___Q_simulate_exceptions): Use real FP ops rather than writing
12602 into the %fsr.
12603 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12604 Likewise.
12605
7dc00e0d
L
126062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12607
12608 [BZ #14117]
0bd53985
L
12609 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12610 * sysdeps/x86/bits/xtitypes.h: This.
12611
3a257e66
L
12612 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12613 * sysdeps/x86/bits/wordsize.h: This.
12614
62f62904
L
12615 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12616 * sysdeps/x86/bits/huge_vall.h: This.
12617
404fe9d9
L
12618 * sysdeps/i386/bits/select.h: Removed.
12619 * sysdeps/x86_64/bits/select.h: Renamed to ...
12620 * sysdeps/x86/bits/select.h: This.
12621
d48d0446
L
12622 * sysdeps/i386/bits/setjmp.h: Removed.
12623 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12624 * sysdeps/x86/bits/setjmp.h: This.
12625
7dc00e0d
L
12626 * sysdeps/i386/bits/mathdef.h: Removed.
12627 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12628 * sysdeps/x86/bits/mathdef.h: This.
12629
03277f8f
AS
126302012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12631
12632 [BZ #14132]
12633 * include/sys/socket.h (__connect_internal)
12634 (__libc_sa_len_internal): Remove declaration.
12635 (__connect, __libc_sa_len): Declare hidden_proto.
12636 (SA_LEN): Remove use of INTUSE.
12637 * socket/connect.c: Add libc_hidden_def.
12638 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12639 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12640 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12641 alias.
12642 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12643 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12644 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12645 of adding _internal alias.
12646
13764867
L
126472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12648
12649 [BZ #14117]
6bd97696
L
12650 * sysdeps/i386/bits/link.h: Removed.
12651 * sysdeps/i386/bits/linkmap.h: Likewise.
12652 * sysdeps/x86_64/bits/link.h: Renamed to ...
12653 * sysdeps/x86/bits/link.h: This.
12654 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12655 * sysdeps/x86/bits/linkmap.h: This.
12656
f726f0bb
L
12657 * sysdeps/i386/bits/endian.h: Removed.
12658 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12659 * sysdeps/x86/bits/endian.h: This.
12660
13764867
L
12661 * sysdeps/i386/bits/byteswap.h: Removed.
12662 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12663 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12664 * sysdeps/x86/bits/byteswap.h: This.
12665 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12666 * sysdeps/x86/bits/byteswap-16.h: This.
12667 * sysdeps/i386/Implies: Add x86.
12668 * sysdeps/x86_64/Implies: Likewise.
12669
ae251b0b
DM
126702012-05-30 David S. Miller <davem@davemloft.net>
12671
12672 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12673 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12674 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12675 (FP_TRAPPING_EXCEPTIONS): Define.
12676 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12677 (FP_TRAPPING_EXCEPTIONS): Define.
12678 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12679 subnormals only when inexact has been signalled or underflow
12680 exceptions are enabled.
12681 (_FP_PACK_CANONICAL): Likewise.
12682
d5c90867
L
126832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12684
12685 [BZ #14183]
12686 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12687 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12688
63f1549e
RH
126892012-05-30 Richard Henderson <rth@twiddle.net>
12690
8d8f2279
RH
12691 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12692 with #ifndef NOT_IN_libc.
12693
63f1549e
RH
12694 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12695 marked to avoid plt entry.
12696
0ab0291b
L
126972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12698
12699 [BZ #14112]
12700 * Makeconfig (default-abi): New macro.
12701 (abi-includes): Likewise.
12702 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12703 $(abi-$(default-abi)-lib-soname) for soname if defined.
12704 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12705 abi-variants.
12706 * Makefile (installed-stubs): Likewise.
12707 * include/stubs-biarch.h: Removed.
12708 * scripts/lib-names.awk: Only handle one library at a time.
12709 * scripts/soversions.awk: Remove WORDSIZE support.
12710 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12711 entries.
12712 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12713 Removed.
12714 (syscall-list-default-condition): Likewise.
12715 (syscall-list-default-condition): Likewise.
12716 (syscall-list-includes): Likewise.
12717 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12718 syscall-list-* with abi-*. Handle undefined abi-variants.
12719 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12720 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12721 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12722 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12723 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12724 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12725 Removed.
12726 (syscall-list-32-options): Likewise.
12727 (syscall-list-32-condition): Likewise.
12728 (syscall-list-64-options): Likewise.
12729 (syscall-list-64-condition): Likewise.
12730 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12731 macro.
12732 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12733 Renamed to ...
12734 (abi-*): This.
12735 (abi-64-ld-soname): New macro.
12736 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12737 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12738 Renamed to ...
12739 (abi-*): This.
12740 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12741 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12742
4da0431d
JM
127432012-05-30 Joseph Myers <joseph@codesourcery.com>
12744
3a85279c
JM
12745 * sysdeps/unix/sysv/linux/kernel-features.h
12746 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12747 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12748 include <kernel-features.h>.
12749 [!__NR_ftruncate64]: Remove conditional code.
12750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12751 [__NR_ftruncate64]: Make code unconditional.
12752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12753 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12754 include <kernel-features.h>.
12755 [!__NR_ftruncate64]: Remove conditional code.
12756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12757 [__NR_ftruncate64]: Make code unconditional.
12758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12760 include <kernel-features.h>.
12761 [!__NR_ftruncate64]: Remove conditional code.
12762 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12763 [__NR_ftruncate64]: Make code unconditional.
12764 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12766 include <kernel-features.h>.
12767 [!__NR_ftruncate64]: Remove conditional code.
12768 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12769 [__NR_ftruncate64]: Make code unconditional.
12770 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12771
4da0431d
JM
12772 * configure.in (libc_cv_fpie): Weaken to a compile test using
12773 LIBC_TRY_CC_OPTION.
12774 * configure: Regenerated.
12775
11ef492c
AK
127762012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12777
12778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12782 Refreshed.
12783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12789 Refreshed.
12790
d66ef399
DM
127912012-05-27 David S. Miller <davem@davemloft.net>
12792
12793 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12794 (___Q_zero): New.
12795 (__Q_simulate_exceptions): Return void. Change to simulate
12796 exceptions by writing into the %fsr.
12797 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12798 (__Qp_handle_exceptions): Likewise.
12799 (numbers): Delete.
12800 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12801 __Qp_handle_exceptions.
12802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12803 __Qp_handle_exceptions.
12804 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12805 as unused and give dummy FP_RND_NEAREST initializer.
12806 (FP_INHIBIT_RESULTS): Define.
12807 (___Q_simulate_exceptions): Update declaration.
12808 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12809 formatting.
12810 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12811 as unused and give dummy FP_RND_NEAREST initializer.
12812 (__Qp_handle_exceptions): Update declaration.
12813 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12814 formatting.
12815
04fb54b5
TS
128162012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12817
12818 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12819 the temporary FPU control word.
12820 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12821 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12822 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12823 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12824 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12825 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12826 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12827 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12828 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12829 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12830 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12831
3f99608f
KK
128322012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12833
12834 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12835 fields.
12836
65a4de4e
CLT
128372012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12838
12839 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12840 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12841 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12842 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12843 Likewise.
12844 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12845 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12846 Likewise.
12847
15749d40
UD
128482012-05-27 Ulrich Drepper <drepper@gmail.com>
12849
12850 * po/h.po: Update from translation team.
12851
25dbcb27
AS
128522012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12853
3d3f8e55
AS
12854 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12855
25dbcb27
AS
12856 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12857 handling of denormals.
12858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12859 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12860 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12861 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12865 Likewise.
12866
7ad47a80 128672012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12868
12869 [BZ #14152]
12870 * math/libm-test.inc (fma_test): Don't always expect underflow
12871 exception.
12872
9c6ea9fa
SP
128732012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12874
12875 [BZ #12416]
12876 * elf/tst-execstack.c: Include stackinfo.h.
12877 (do_test): Adjust test case to ensure that pthread_getattr_np
12878 behaviour remains the same after marking stack executable.
12879
a8239222
JM
128802012-05-25 Joseph Myers <joseph@codesourcery.com>
12881
12882 * sysdeps/unix/sysv/linux/kernel-features.h
12883 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12884 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12885 kernel-features.h.
12886 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12887 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12888 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12889 kernel-features.h.
12890 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12891 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12892
918b5606
L
128932012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12894
12895 * configure.in: Define the default includes to being none.
12896 * configure: Regenerated.
12897
3a097cc7
RM
128982012-05-25 Roland McGrath <roland@hack.frob.com>
12899
8422c9a5
RM
12900 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12901 * sysdeps/x86_64/setjmp.S: Likewise.
12902 * sysdeps/i386/bsd-setjmp.S: Likewise.
12903 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12904 * sysdeps/i386/setjmp.S: Likewise.
12905 * sysdeps/i386/__longjmp.S: Likewise.
12906 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12907 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12908
3a097cc7
RM
12909 * include/stap-probe.h: New file.
12910 * configure.in: Handle --enable-systemtap.
12911 * configure: Regenerated.
12912 * config.h.in (USE_STAP_PROBE): New #undef.
12913 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12914 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12915 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12916
21708942
JM
129172012-05-25 Joseph Myers <joseph@codesourcery.com>
12918
12919 [BZ #13717]
12920 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12921 to 2.4.0 where earlier.
12922 * sysdeps/unix/sysv/linux/configure: Regenerated.
12923 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12924 <kernel-features.h>.
12925 [__ASSUME_32BITUIDS]: Make code unconditional.
12926 [!__ASSUME_32BITUIDS]: Remove conditional code.
12927 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12928 <kernel-features.h>.
12929 [__ASSUME_32BITUIDS]: Make code unconditional.
12930 [!__ASSUME_32BITUIDS]: Remove conditional code.
12931 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12932 [__ASSUME_32BITUIDS]: Make code unconditional.
12933 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12934 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
12959 <kernel-features.h>.
12960 [__ASSUME_32BITUIDS]: Make code unconditional.
12961 [!__ASSUME_32BITUIDS]: Remove conditional code.
12962 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12963 <kernel-features.h>.
12964 [__ASSUME_32BITUIDS]: Make code unconditional.
12965 [!__ASSUME_32BITUIDS]: Remove conditional code.
12966 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12967 <kernel-features.h>.
12968 [__ASSUME_32BITUIDS]: Make code unconditional.
12969 [!__ASSUME_32BITUIDS]: Remove conditional code.
12970 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12971 <kernel-features.h>.
12972 [__ASSUME_32BITUIDS]: Make code unconditional.
12973 [!__ASSUME_32BITUIDS]: Remove conditional code.
12974 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12975 <kernel-features.h>.
12976 [__NR_setresgid] (__setresgid): Do not declare.
12977 [__ASSUME_32BITUIDS]: Make code unconditional.
12978 [!__ASSUME_32BITUIDS]: Remove conditional code.
12979 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12980 <kernel-features.h>.
12981 [__NR_setresuid] (__setresuid): Do not declare.
12982 [__ASSUME_32BITUIDS]: Make code unconditional.
12983 [!__ASSUME_32BITUIDS]: Remove conditional code.
12984 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
13009 <kernel-features.h>.
13010 [__ASSUME_32BITUIDS]: Make code unconditional.
13011 [!__ASSUME_32BITUIDS]: Remove conditional code.
13012 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13013 <kernel-features.h>.
13014 [__ASSUME_32BITUIDS]: Make code unconditional.
13015 [!__ASSUME_32BITUIDS]: Remove conditional code.
13016 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13017 <kernel-features.h>.
13018 [__ASSUME_32BITUIDS]: Make code unconditional.
13019 [!__ASSUME_32BITUIDS]: Remove conditional code.
13020 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13021 <kernel-features.h>.
13022 [__ASSUME_32BITUIDS]: Make code unconditional.
13023 [!__ASSUME_32BITUIDS]: Remove conditional code.
13024 * sysdeps/unix/sysv/linux/kernel-features.h
13025 (__ASSUME_SETRESUID_SYSCALL): Remove.
13026 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13027 (__ASSUME_32BITUIDS): Likewise.
13028 (__ASSUME_LDT_WORKS): Likewise.
13029 (__ASSUME_O_DIRECTORY): Likewise.
13030 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13031 architecture but not kernel version.
13032 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13033 (__ASSUME_MMAP2_SYSCALL): Likewise.
13034 (__ASSUME_STAT64_SYSCALL): Likewise.
13035 (__ASSUME_IPC64): Likewise.
13036 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13037 <kernel-features.h>.
13038 [__ASSUME_32BITUIDS]: Make code unconditional.
13039 [!__ASSUME_32BITUIDS]: Remove conditional code.
13040 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13041 <kernel-features.h>.
13042 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13043 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13044 132096]: Remove conditional code.
13045 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13046 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13047 <kernel-features.h>.
13048 [__ASSUME_32BITUIDS]: Make code unconditional.
13049 [!__ASSUME_32BITUIDS]: Remove conditional code.
13050 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13051 <kernel-features.h>.
13052 [__ASSUME_32BITUIDS]: Make code unconditional.
13053 [!__ASSUME_32BITUIDS]: Remove conditional code.
13054 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13055 <kernel-features.h>.
13056 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13057 unconditional.
13058 (__setresgid): Do not declare.
13059 [__ASSUME_32BITUIDS]: Make code unconditional.
13060 [!__ASSUME_32BITUIDS]: Remove conditional code.
13061 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13062 <kernel-features.h>.
13063 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13064 unconditional.
13065 (__setresuid): Do not declare.
13066 [__ASSUME_32BITUIDS]: Make code unconditional.
13067 [!__ASSUME_32BITUIDS]: Remove conditional code.
13068 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13069 <kernel-features.h>.
13070 [__ASSUME_32BITUIDS]: Make code unconditional.
13071 [!__ASSUME_32BITUIDS]: Remove conditional code.
13072 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13073 <kernel-features.h>.
13074 [__ASSUME_32BITUIDS]: Make code unconditional.
13075 [!__ASSUME_32BITUIDS]: Remove conditional code.
13076
a386f1cc
RH
130772012-05-25 Richard Henderson <rth@twiddle.net>
13078
13079 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13080 dl_hwcap to ifunc resolver.
13081 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13082 elf_ifunc_invoke.
13083 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13084 dl_hwcap to ifunc resolver.
13085 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13086
b6550497
JM
130872012-05-24 Joseph Myers <joseph@codesourcery.com>
13088
13089 [BZ #14153]
13090 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13091 for |x| <= 2**-26, not 2**-57.
13092 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13093 exception.
13094
b0bc23a1
JL
130952012-05-24 Jeff Law <law@redhat.com>
13096
13097 * stdio-common/Makefile (tests): Add bug25.
13098 * stdio-common/bug25.c: New test.
13099
347c92e9
L
131002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13101
13102 [BZ #13576]
13103 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13104 multiple of MALLOC_ALIGNMENT in size.
13105 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13106
6bcc8b3f
JM
131072012-05-24 Joseph Myers <joseph@codesourcery.com>
13108
13109 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13110 Require >= 256.
13111 (FILENAME_MAX): Use macro-int-constant.
13112 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13113 (_IOFBF): Use macro-int-constant.
13114 (_IOLBF): Likewise.
13115 (_IONBF): Likewise.
13116 (SEEK_CUR): Likewise.
13117 (SEEK_END): Likewise.
13118 (SEEK_SET): Likewise.
13119 (TMP_MAX): Likewise.
13120 (EOF): Use macro-int-constant. Require < 0.
13121 (NULL): Use macro-constant. Require == 0.
13122 (stdin): Require type to be FILE *.
13123 (stdout): Likewise.
13124 (stderr): Likewise.
13125 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13126 macro-int-constant.
13127 (EXIT_SUCCESS): Likewise.
13128 (NULL): Use macro-constant. Require == 0.
13129 (RAND_MAX): Use macro-int-constant.
13130 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13131 [C99-based standards] (strtof): Require function.
13132 [C99-based standards] (strtold): Likewise.
13133 [C99-based standards] (strtoll): Likewise.
13134 [C99-based standards] (strtoull): Likewise.
13135 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13136 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13137 [ISO || ISO99 || ISO11] (math.h): Likewise.
13138 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13139 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13140 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13141
d18ea0c5
AS
131422012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13143
13144 [BZ #14132]
56d25bb8
AS
13145 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13146 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13147 * intl/dgettext.c (DCGETTEXT): Likewise.
13148 * intl/gettext.c (DCGETTEXT): Likewise.
13149 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13150 * posix/regex_internal.h (gettext): Likewise.
13151 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13152 Remove declaration.
13153 * include/argz.h (__argz_count_internal)
13154 (__argz_stringify_internal): Remove declaration.
13155 (__argz_count, __argz_stringify): Declare hidden proto.
13156 * intl/dcgettext.c: Remove use of INTDEF.
13157 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13158 * string/argz-stringify.c: Likewise.
13159 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13160 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13161 Declare hidden proto.
d18ea0c5
AS
13162 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13163 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13164 Declare hidden proto.
13165 * include/stdio.h (__asprintf_internal): Don't declare.
13166 (__asprintf): Don't define as macro. Declare hidden proto.
13167 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13168 (__fsetlocking): Declare hidden proto.
13169 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13170 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13171 hidden proto.
13172 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13173 (_IO_setlinebuf): Remove use of INTUSE.
13174 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13175 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13176 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13177 Remove declaration.
13178 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13179 (_IO_do_flush): Remove use of INTUSE.
13180 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13181 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13182 (_IO_adjust_column, _IO_least_wmarker)
13183 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13184 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13185 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13186 (_IO_default_doallocate, _IO_wdefault_doallocate)
13187 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13188 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13189 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13190 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13191 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13192 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13193 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13194 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13195 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13196 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13197 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13198 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13199 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13200 proto.
13201 (_IO_flush_all_internal, _IO_adjust_column_internal)
13202 (_IO_default_uflow_internal, _IO_default_finish_internal)
13203 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13204 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13205 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13206 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13207 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13208 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13209 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13210 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13211 (_IO_file_close_internal, _IO_file_close_it_internal)
13212 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13213 (_IO_file_init_internal, _IO_file_attach_internal)
13214 (_IO_file_fopen_internal, _IO_file_read_internal)
13215 (_IO_file_sync_internal, _IO_file_seek_internal)
13216 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13217 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13218 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13219 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13220 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13221 (_IO_list_all_internal, _IO_link_in_internal)
13222 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13223 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13224 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13225 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13226 (_IO_do_write_internal, _IO_padn_internal)
13227 (_IO_getline_info_internal, _IO_getline_internal)
13228 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13229 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13230 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13231 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13232 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13233 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13234 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13235 with libc_hidden_ver, remove use of INTUSE.
13236 * libio/genops.c: Likewise.
13237 * libio/freopen.c: Likewise.
13238 * libio/freopen64.c: Likewise.
13239 * libio/iofclose.c: Likewise.
13240 * libio/iofdopen.c: Likewise.
13241 * libio/iofflush.c: Likewise.
13242 * libio/iofflush_u.c: Likewise.
13243 * libio/iofgets.c: Likewise.
13244 * libio/iofgets_u.c: Likewise.
13245 * libio/iofopen.c: Likewise.
13246 * libio/iofopncook.c: Likewise.
13247 * libio/iofread.c: Likewise.
13248 * libio/iofread_u.c: Likewise.
13249 * libio/ioftell.c: Likewise.
13250 * libio/iofwrite.c: Likewise.
13251 * libio/iogetline.c: Likewise.
13252 * libio/iogets.c: Likewise.
13253 * libio/iogetwline.c: Likewise.
13254 * libio/iopadn.c: Likewise.
13255 * libio/iopopen.c: Likewise.
13256 * libio/ioseekoff.c: Likewise.
13257 * libio/ioseekpos.c: Likewise.
13258 * libio/iosetbuffer.c: Likewise.
13259 * libio/iosetvbuf.c: Likewise.
13260 * libio/ioungetc.c: Likewise.
13261 * libio/ioungetwc.c: Likewise.
13262 * libio/iovdprintf.c: Likewise.
13263 * libio/iovsprintf.c: Likewise.
13264 * libio/iovsscanf.c: Likewise.
13265 * libio/memstream.c: Likewise.
13266 * libio/obprintf.c: Likewise.
13267 * libio/oldfileops.c: Likewise.
13268 * libio/oldiofclose.c: Likewise.
13269 * libio/oldiofdopen.c: Likewise.
13270 * libio/oldiofopen.c: Likewise.
13271 * libio/oldiopopen.c: Likewise.
13272 * libio/oldstdfiles.c: Likewise.
13273 * libio/putc.c: Likewise.
13274 * libio/setbuf.c: Likewise.
13275 * libio/setlinebuf.c: Likewise.
13276 * libio/stdfiles.c: Likewise.
13277 * libio/strops.c: Likewise.
13278 * libio/vasprintf.c: Likewise.
13279 * libio/vscanf.c: Likewise.
13280 * libio/vsnprintf.c: Likewise.
13281 * libio/vswprintf.c: Likewise.
13282 * libio/wfiledoalloc.c: Likewise.
13283 * libio/wfileops.c: Likewise.
13284 * libio/wgenops.c: Likewise.
13285 * libio/wmemstream.c: Likewise.
13286 * libio/wstrops.c: Likewise.
13287 * libio/__fpurge.c: Likewise.
13288 * libio/__fsetlocking.c: Likewise.
13289 * assert/assert.c: Likewise.
13290 * debug/fgets_chk.c: Likewise.
13291 * debug/fgets_u_chk.c: Likewise.
13292 * debug/fread_chk.c: Likewise.
13293 * debug/fread_u_chk.c: Likewise.
13294 * debug/gets_chk.c: Likewise.
13295 * debug/obprintf_chk.c: Likewise.
13296 * debug/vasprintf_chk.c: Likewise.
13297 * debug/vdprintf_chk.c: Likewise.
13298 * debug/vsnprintf_chk.c: Likewise.
13299 * debug/vsprintf_chk.c: Likewise.
13300 * malloc/mtrace.c: Likewise.
13301 * misc/error.c: Likewise.
13302 * misc/syslog.c: Likewise.
13303 * stdio-common/asprintf.c: Likewise.
13304 * stdio-common/fxprintf.c: Likewise.
13305 * stdio-common/getw.c: Likewise.
13306 * stdio-common/isoc99_fscanf.c: Likewise.
13307 * stdio-common/isoc99_scanf.c: Likewise.
13308 * stdio-common/isoc99_vfscanf.c: Likewise.
13309 * stdio-common/isoc99_vscanf.c: Likewise.
13310 * stdio-common/isoc99_vsscanf.c: Likewise.
13311 * stdio-common/printf-prs.c: Likewise.
13312 * stdio-common/printf_fp.c: Likewise.
13313 * stdio-common/printf_fphex.c: Likewise.
13314 * stdio-common/printf_size.c: Likewise.
13315 * stdio-common/putw.c: Likewise.
13316 * stdio-common/scanf.c: Likewise.
13317 * stdio-common/sprintf.c: Likewise.
13318 * stdio-common/tmpfile.c: Likewise.
13319 * stdio-common/vfprintf.c: Likewise.
13320 * stdio-common/vfscanf.c: Likewise.
13321 * stdlib/strfmon_l.c: Likewise.
13322 * sunrpc/openchild.c: Likewise.
13323 * sunrpc/xdr_stdio.c: Likewise.
13324 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13325 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13326
d6c33fda
RM
133272012-05-24 Roland McGrath <roland@hack.frob.com>
13328
c1487492
RM
13329 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13330
13331 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13332 in the third column, to generate for the shared library an IFUNC
13333 that uses _dl_vdso_vsym.
13334 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13335 * Makeconfig (object-suffixes-noshared): New variable.
13336
13337 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13338 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13339 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13340 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13341
d6c33fda
RM
13342 [BZ #14132]
13343 * include/sys/time.h (__gettimeofday): Remove macro.
13344 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13345 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13346 Remove INTDEF.
13347 (__gettimeofday): Add libc_hidden_def.
13348 (gettimeofday): Add libc_hidden_weak.
13349 * sysdeps/mach/gettimeofday.c: Likewise.
13350 * sysdeps/posix/gettimeofday.c: Likewise.
13351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13352 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13353 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13354 (__gettimeofday_internal): Remove strong_alias.
13355 (__gettimeofday): Add libc_hidden_def.
13356 (gettimeofday): Add libc_hidden_weak.
13357 * sysdeps/unix/syscalls.list (gettimeofday):
13358 Remove __gettimeofday_internal alias.
13359
b5a2bbe6
L
133602012-05-24 Daniel Jacobowitz <drow@false.org>
13361 H.J. Lu <hongjiu.lu@intel.com>
13362
13363 [BZ #12495]
13364 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13365 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13366 (largebin_index_32_big): New.
13367 (largebin_index): Use it for 16-byte alignment.
13368 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13369 correction with front_misalign.
13370
cfba4fda
L
133712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13372
7f907421
L
13373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13375 Likewise.
13376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13377 Likewise.
13378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13379 Likewise.
13380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13381 Likewise.
13382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13383 Likewise.
13384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13385 Likewise.
13386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13387 Likewise.
13388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13389 Likewise.
13390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13391 Likewise.
13392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13393 Likewise.
13394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13395 Likewise.
13396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13397 Likewise.
13398
cfba4fda
L
13399 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13400 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13401
80bad0cc
JM
134022012-05-24 Joseph Myers <joseph@codesourcery.com>
13403
7a25eb06
JM
13404 [BZ #10846]
13405 [BZ #14036]
13406 * math/libm-test.inc (exp_test): Add test from bug 14036.
13407 (pow_test): Add test from bug 10846.
13408
795405f9
JM
13409 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13410 and other flags.
13411 (special_function): Do not include flags in test name.
13412 (parse_args): Likewise.
13413 * sysdeps/i386/fpu/libm-test-ulps: Update.
13414 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13415 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13416 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13418
80bad0cc
JM
13419 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13420 exceptions.
13421 * math/libm-test.inc ("Philosophy"): Update comment about
13422 exception testing.
13423 (UNDERFLOW_EXCEPTION): New macro.
13424 (UNDERFLOW_EXCEPTION_OK): Likewise.
13425 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13426 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13427 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13428 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13429 (INVALID_EXCEPTION_OK): Update value.
13430 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13431 (OVERFLOW_EXCEPTION_OK): Likewise.
13432 (IGNORE_ZERO_INF_SIGN): Likewise.
13433 (test_exceptions): Handle underflow exceptions.
13434 (acos_test): Update for underflow exception expectations.
13435 (cexp_test): Likewise.
13436 (clog_test): Likewise.
13437 (clog10_test): Likewise.
13438 (csqrt_test): Likewise.
13439 (ctan_test): Likewise.
13440 (ctanh_test): Likewise.
13441 (exp_test): Likewise.
13442 (exp10_test): Likewise.
13443 (exp2_test): Likewise.
13444 (expm1_test): Likewise.
13445 (fma_test): Likewise.
13446 (j0_test): Likewise.
13447 (jn_test): Likewise.
13448 (nexttoward_test): Likewise.
13449 (pow_test): Likewise.
13450 (scalbn_test): Likewise.
13451 (scalbln_test): Likewise.
13452 (tan_test): Likewise.
13453 (y1_test): Likewise.
13454 * sysdeps/i386/fpu/libm-test-ulps: Update.
13455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13456
9e0e3d0b
DM
134572012-05-23 David S. Miller <davem@davemloft.net>
13458
13459 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13460 (__libc_sigaction): Remove unused local variables.
13461
ccd0a08f
L
134622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13463
13464 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13465
62bdf9a6
PE
134662012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13467
f8591f80
PE
13468 mktime: avoid signed integer overflow
13469 * time/mktime.c (__mktime_internal): Do not mishandle the case
13470 where diff == INT_MIN.
13471
94c7d826
PE
13472 mktime: simplify computation of average
13473 * time/mktime.c (ranged_convert): Use new time_t_avg function
13474 instead of rolling our own (probably-slower) code.
13475
ce73d683
PE
13476 mktime: do not assume signed right shift propagates sign bit
13477 * time/mktime.c (isdst_differ): New static function.
13478 (__mktime_internal): No need to normalize tm_isdst now.
13479 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13480 tm_isdst values.
13481
72a22e59
PE
13482 mktime: merge another wrapv change from gnulib
13483 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13484 from some compilers.
13485
68605433
PE
13486 mktime: remove incorrect attempt at unusual arithmetics
13487 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13488 The code didn't really work on such machines anyway.
13489 (TYPE_MINIMUM): Assume two's complement.
13490 (twos_complement_arithmetic): Verify that long_int and time_t
13491 are two's complement (or unsigned, in the latter case).
13492
03cf7fe3
PE
13493 mktime: check signed shifts on long_int and time_t, too
13494 * time/mktime.c (SHR): Check that shifts work as desired
13495 on the types long_int and time_t too, as SHR is used on
13496 such types.
13497
f04dfbc2
PE
13498 mktime: do not assume 'long' is wide enough
13499 * time/mktime.c (verify): Move decl up.
13500 (long_int): New type.
13501 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13502 to remove assumption in the code that 'long' is wide enough to
13503 store year values. This assumption is not true on x32 and on
13504 some non-glibc platforms.
13505
62bdf9a6
PE
13506 mktime: merge wrapv change from gnulib
13507 * time/mktime.c (WRAPV): New macro.
13508 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13509 (guess_time_tm, __mktime_internal): Do not assume that signed
13510 integer overflow wraps around; modern compilers generate code
13511 where this assumption is no longer valid.
13512
5e292e4f
L
135132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13514
13515 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13516 Replace "jmp L(pseudo_end)" with "ret".
13517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13518 Likewise.
13519
8caf8c87
AJ
135202012-05-23 Andreas Jaeger <aj@suse.de>
13521
13522 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13523 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13524
1a09dc56
AJ
135252012-05-23 Andreas Jaeger <aj@suse.de>
13526 Maximilian Attems <max@stro.at>
13527
13528 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13529 New macros.
13530
1c87aba0
L
135312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13532
13533 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13534 code so that pseudo_end is just ret and the stack pointer is
13535 correct also for static library in error case.
13536
40e45bd5
JM
135372012-05-23 Joseph Myers <joseph@codesourcery.com>
13538
c2670533
JM
13539 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13540 move to syscalls.list.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13545
40e45bd5
JM
13546 * manual/install.texi (Running make install): Do not mention Linux
13547 kernel version for which pt_chown is not needed.
13548 (Linux): Do not mention problems with nscd with 2.0 kernels.
13549 * INSTALL: Regenerated.
13550
be08eda5
AJ
135512012-05-23 Andreas Jaeger <aj@suse.de>
13552
13553 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13554 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13555 macro.
13556 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13558 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13560 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13562 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13564 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13566 * sysdeps/unix/sysv/linux/bits/in.h
13567 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13568
a6a056bb
RM
135692012-05-22 Roland McGrath <roland@hack.frob.com>
13570
13571 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13572 (PREPARE_VERSION): Just use assert instead, it will be elided
13573 under [NDEBUG] anyway.
13574
c9009328
L
135752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13576
13577 * sysdeps/unix/sysv/linux/Makefile: Include
13578 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13579 (sysdep_routines): Remove sysctl.
c9009328
L
13580 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13581 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13582 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13583 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13584 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13585
73338355
AJ
135862012-05-22 Andreas Jaeger <aj@suse.de>
13587
13588 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13589 that pseudo_end is just ret and the stack pointer is correct also
13590 for static library in error case.
13591
d44638b0
PP
135922012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13593
13594 [BZ #14122]
13595 * nss/nsswitch.c (defconfig_entries): New variable.
13596 (__nss_database_lookup): Don't leak defconfig entries.
13597 (nss_parse_service_list): Don't leak on error paths.
13598 (free_database_entries): New function.
13599 (free_defconfig): New function.
13600 (free_mem): Move common code to free_database_entries.
13601
31a39bd8
L
136022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13603
da0331a8
L
13604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13605 Add arch_prctl.
13606 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13607
31a39bd8
L
13608 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13609 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13611 New macro.
13612 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13613 (INTERNAL_SYSCALL_TYPES): Likewise.
13614 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13615 (LOAD_REGS_TYPES_[1-6]): Likewise.
13616 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13617 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13618
45470df3
AZ
136192012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13620
13621 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13622 copysignl for GLIBC_2_0.
13623 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13624 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13626 logbl for GLIBC_2_0.
13627 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13628 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13629
98a61bcb
L
136302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13631
a4f6e481
L
13632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13633 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13634
f63d5db6
L
13635 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13636 Use "neg %eax".
13637
98a61bcb
L
13638 * time/mktime.c: Update copyright years.
13639
95770f14
PE
136402012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13641
6226efbd
PE
13642 mktime: merge comment-quoting-style change from gnulib
13643 * time/mktime.c: Quote 'like this' in comments.
13644 The GNU coding standards suggest that we no longer quote `like this',
13645 as "`" and "'" are typically rendered asymmetrically nowadays.
13646 The typical gnulib style is to quote 'like this' when quoting
13647 code, and "like this" when quoting English.
13648
b99e4f78
PE
13649 * time/mktime.c (compile-command): Add "-I.".
13650
643e01e6
PE
13651 mktime: merge mktime-internal.h change from gnulib
13652 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13653
2554247d
PE
13654 mktime: merge time_r change from gnulib
13655 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13656
826dd0ab
PE
13657 mktime: merge DEBUG change from gnulib
13658 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13659 case system <time.h> has a #define.
13660
bd83aabe
PE
13661 mktime: merge <sys/types.h> change from gnulib
13662 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13663 since <time.t> is now guaranteed to define time_t.
13664
95770f14
PE
13665 mktime: merge HAVE_CONFIG_H change from gnulib
13666 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13667
5e1a27a9
L
136682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13669
0e44a77e
L
13670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13671 Use "neg %eax".
13672
5e1a27a9
L
13673 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13674 __rlim_t cast.
13675 (struct rusage): Use anonymous union to pad each field to
13676 __syscall_slong_t.
13677
46259bec
DM
136782012-05-21 David S. Miller <davem@davemloft.net>
13679
13680 * Makefules (o-iterator): Remove .s cases.
13681 (compile-command.s): Delete.
13682 (COMPILE.s): Delete.
13683 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13684
59f0c22e
JM
136852012-05-21 Joseph Myers <joseph@codesourcery.com>
13686
13687 * configure.in (libc_cv_predef_stack_protector): Only consider
13688 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13689 * configure: Regenerated.
13690
20c07380
L
136912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13692
bbb3154b
L
13693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13694 New macro. Use R*LP on int and pointer.
13695 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13696 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13697 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13698 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13699
20c07380
L
13700 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13701 [__WORDSIZE_TIME64_COMPAT32] instead of
13702 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13703 (struct utmp): Likewise.
13704 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13705 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13706 Renamed to ...
13707 (__WORDSIZE_TIME64_COMPAT32): This.
13708 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13709 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13710 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13711 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13712 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13713 (__WORDSIZE_TIME64_COMPAT32): New macro.
13714
d8d1017e
AJ
137152012-05-21 Andreas Jaeger <aj@suse.de>
13716
13717 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13718 only if [SHARED]. Add prototype for __wcschr_ia32.
13719
6c7fb145
RM
137202012-05-21 Roland McGrath <roland@hack.frob.com>
13721
13722 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13723 of %rbp unmolested in the jmp_buf while mangling the low bits.
13724 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13725 unmolested high bits of %rbp while demangling the low bits.
13726 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13727
66274218
AJ
137282012-05-21 Andreas Jaeger <aj@suse.de>
13729
07c58f8f
AJ
13730 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13731 * sunrpc/svc_simple.c: Use it for registerrpc.
13732 * sunrpc/xcrypt.c: Use it for passwd2des.
13733
66274218
AJ
13734 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13735
61f65140
L
137362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13737
13738 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13739 Don't define if [__SYSCALL_WORDSIZE != 32].
13740 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13741 New macro.
13742
5fefb436
AJ
137432012-05-21 Bruno Haible <bruno@clisp.org>
13744 Andreas Jaeger <aj@suse.de>
13745
13746 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13747 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13748 inptr and inend for must_buffer_ch.
13749 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13750 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13751 * stdio-common/Makefile (tests): Remove bug15.
13752 (bug15-ENV): Remove macro.
13753 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13754 anymore.
13755
d8e272ab
AJ
137562012-05-19 Andreas Jaeger <aj@suse.de>
13757 Roland McGrath <roland@hack.frob.com>
13758
13759 * manual/contrib.texi: Completely rewritten. It contains now an
13760 alphabetical list of contributors and their contributions.
13761
4a56a162
RH
137622012-05-21 Richard Henderson <rth@twiddle.net>
13763
13764 * misc/getauxval.c (__getauxval): Use unsigned long int.
13765 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13766 (getauxval): Use unsigned long int.
13767
d024d23c
L
137682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13769
13770 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13771
cbc00a03
RM
137722012-05-21 Roland McGrath <roland@hack.frob.com>
13773
13774 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13775 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13776 __alignof__ (long double).
13777
478143fa
AZ
137782012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13779
13780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13781
c7683a6d
RH
137822012-05-20 Richard Henderson <rth@twiddle.net>
13783
13784 * misc/getauxval.c: New file.
13785 * misc/sys/auxv.h: New file.
13786 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13787 (routines): Add getauxval.
13788 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13789 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13790 * elf/dl-sysdep.c (_dl_auxv): Remove.
13791 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13792 * elf/dl-support.c (_dl_auxv): New variable.
13793 (_dl_aux_init): Initialize it.
13794 * manual/startup.texi (Auxiliary Vector): New node.
13795 * sysdeps/generic/bits/hwcap.h: New file.
13796 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13797 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13798 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13799 * sysdeps/sparc/sysdep.h: ... here. Include it.
13800 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13803 Update.
c7683a6d
RH
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13807 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13812
a6f1845d
AZ
138132012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13814
13815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13816
cbcbe830
DM
138172012-05-19 David S. Miller <davem@davemloft.net>
13818
13819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13820
e0b16cc2
JM
138212012-05-19 Joseph Myers <joseph@codesourcery.com>
13822
13823 [BZ #14123]
13824 * math/s_ccosh.c: Include <float.h>
13825 (__ccosh): Avoid internal overflow calculating sinh and cosh
13826 values before multiplying by sin and cos values.
13827 * math/s_ccoshf.c: Likewise.
13828 * math/s_ccoshl.c: Likewise.
13829 * math/s_csin.c: Likewise.
13830 * math/s_csinf.c: Likewise.
13831 * math/s_csinl.c: Likewise.
13832 * math/s_csinh.c: Likewise.
13833 * math/s_csinhf.c: Likewise.
13834 * math/s_csinhl.c: Likewise.
13835 * math/libm-test.inc (ccos_test): Add more tests.
13836 (ccosh_test): Likewise.
13837 (csin_test): Likewise.
13838 (csinh_test): Likewise.
13839 * sysdeps/i386/fpu/libm-test-ulps: Update.
13840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13841
6ad13e08
L
138422012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13843
f66f0ce8
L
13844 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13845 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13846
6ad13e08
L
13847 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13848
b1d072a7
JM
138492012-05-19 Joseph Myers <joseph@codesourcery.com>
13850
13851 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13852 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13853 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13854 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13855 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13856 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13857 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13858 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13859 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13860 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13861 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13862 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13863 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13864 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13865 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13866 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13867 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13868 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13869 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13870 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13871 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13872 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13873 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13874 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13875 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13876 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13877 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13878 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13879 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13880 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13881 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13882
9eae47cb
AJ
138832012-05-18 Andreas Jaeger <aj@suse.de>
13884
13885 * csu/.gitignore: Delete.
13886
bb07f69f
L
138872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13888
13889 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13890 (timex): Use __syscall_slong_t.
13891
e6bdb741
AJ
138922012-05-18 Andreas Jaeger <aj@suse.de>
13893 Carlos O'Donell <carlos_odonell@mentor.com>
13894
13895 * manual/install.texi (Configuring and compiling): Update
13896 description about files modified in the source directory.
d6c33fda 13897 * INSTALL: Regenerated.
e6bdb741 13898
1b74487e
L
138992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13900
13901 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13902 value. Use "or" to set return value to -1.
13903 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13904 negate return value.
13905
a88b64b9
TMQMF
139062012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13907
13908 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13909 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13910 failure if the compiler has Graphite support disabled.
13911 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13912 Likewise.
13913 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13914 CFLAGS-memmove.c): Likewise.
13915 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13916 Likewise.
13917
3707636e
L
139182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13919
610b8622
L
13920 * sysdeps/x86_64/x32/_itoa.h: New file.
13921
7cd195df
L
13922 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13923 getdents system call only if kernel and user dirents have the
13924 same d_ino and d_off.
13925
94b07d20
L
13926 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13927 LLONG_MAX != LONG_MAX.
13928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13929 (_fitoa_word): Likewise.
13930
18298070
L
13931 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13932 years.
13933 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13934 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13935 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13936
553c7ea4
L
13937 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13938 include <bits/wordsize.h>. Check __x86_64__ instead of
13939 __WORDSIZE.
13940 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13941 if __x86_64__ is defined. Use anonymous union on fpstate.
13942
3707636e
L
13943 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13944 anonymous union.
13945
b53ef01a
AS
139462012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13947
37fb1dc0
AS
13948 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13949 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13950 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13951 Refer to _rtld_local_ro instead of _rtld_global_ro.
13952 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13953 Likewise.
13954 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13955 Likewise.
13956 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13957 Likewise.
13958 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13959 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13960 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13961
b53ef01a
AS
13962 * sysdeps/powerpc/powerpc32/dl-machine.c
13963 (__elf_machine_runtime_setup) [PROF]: Don't reference
13964 _dl_prof_resolve.
13965
7a185db2
AJ
139662012-05-18 Andreas Jaeger <aj@suse.de>
13967
13968 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13969 function only available for GCCs before 3.4 since GCC 3.4
13970 introduced a builtin.
13971 (lrint): Likewise.
13972 (llrintf): Likewise.
13973 (llrint): Likewise.
13974 (fmaxf): Likewise.
13975 (fmax): Likewise.
13976 (fminf): Likewise.
13977 (fmin): Likewise.
13978 (rint): Likewise.
13979 (rintf): Likewise.
13980 (nearbyint): Likewise.
13981 (nearbyintf): Likewise.
13982 (ceil): Likewise.
13983 (ceilf): Likewise.
13984 (floor): Likewise.
13985 (floorf): Likewise.
13986
3e5aef87
L
139872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13988
428bd707
L
13989 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13990 on both fields and cast pointer to __syscall_ulong_t.
13991
3e5aef87
L
13992 * bits/types.h (__fsword_t): New type.
13993 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13994 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13996 (__FSWORD_T_TYPE): Likewise.
13997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13998 (__FSWORD_T_TYPE): Likewise.
13999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14000 (__FSWORD_T_TYPE): Likewise.
14001 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14002 (__FSWORD_T_TYPE): Likewise.
14003 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14004 __SWORD_TYPE with __fsword_t.
14005 (statfs64): Likewise.
14006
1ba7c3dc
DM
140072012-05-17 David S. Miller <davem@davemloft.net>
14008
14009 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14010
59910343
AJ
140112012-05-17 Andreas Jaeger <aj@suse.de>
14012
14013 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14014 warning.
14015
2e4c1e9e
L
140162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14017
14018 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14019
de7f5ce7
AJ
140202012-05-17 Andreas Jaeger <aj@suse.de>
14021
14022 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14023 when it is used.
14024
286abc3d
CM
140252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14026
14027 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14028
477cc68e
L
140292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14030
14031 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14032 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14033
1a0994f5
CD
140342012-05-17 Andreas Jaeger <aj@suse.de>
14035 Carlos O'Donell <carlos_odonell@mentor.com>
14036
14037 [BZ #14059]
14038 * sysdeps/x86_64/multiarch/init-arch.h
14039 (bit_YMM_Usable): Rename to...
14040 (bit_AVX_Usable): ... this.
14041 (bit_FMA4_Usable): New macro.
14042 (bit_XMM_state): New macro.
14043 (bit_YMM_state): New macro.
14044 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14045 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14046 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14047 (CPUID_OSXSAVE): New macro.
14048 (CPUID_AVX): New macro.
14049 (CPUID_FMA4): New macro.
14050 (index_YMM_Usable): Rename to...
14051 (index_AVX_Usable): ... this.
14052 (HAS_AVX): Use HAS_ARCH_FEATURE.
14053 (HAS_FMA4): Likewise.
14054 (HAS_YMM_USABLE): Remove.
14055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14056 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14057 are present.
14058 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14059 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14060 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14061 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14062 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14063
0af797de
CM
140642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14065
14066 * math/libm-test.c: Support platforms without multiple rounding modes.
14067 * math/bug-nextafter.c: Support platforms without FP exceptions.
14068 * math/bug-nexttoward.c: Likewise.
14069 * math/test-fenv.c: Likewise.
14070 * math/test-misc.c: Likewise.
14071 * stdlib/bug-getcontext.c: Likewise.
14072
e39745ff
AJ
140732012-05-17 Andreas Jaeger <aj@suse.de>
14074
14075 * manual/examples/search.c (critter_cmp): Change signature to
14076 avoid warnings.
14077 * manual/string.texi (Collation Functions): Likewise.
14078
48970aba
L
140792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14080
14081 * bits/types.h: Fold copyright years.
14082 * bits/typesizes.h: Likewise.
14083 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14087 * time/time.h: Likewise.
14088
bedee953
PP
140892012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14090
14091 [BZ #208]
14092 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14093 in instead of returning them. Return void.
14094 (__libc_mallinfo): Accumulate over all arenas.
14095 (__malloc_stats): Adjust for change in int_mallinfo interface.
14096
61653dfb
RM
140972012-05-16 Roland McGrath <roland@hack.frob.com>
14098
30b99d79
RM
14099 [BZ #10375]
14100 * configure.in (NM): Add AC_CHECK_TOOL for it.
14101 (libc_extra_cflags): New substituted variable.
14102 Check for -fstack-protector being used implicitly.
14103 * configure: Regenerated.
14104 * config.make.in (config-extra-cflags): New variable,
14105 gets @libc_extra_cflags@.
14106 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14107
61653dfb
RM
14108 [BZ #10375]
14109 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14110 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14111 * configure: Regenerated.
14112 * config.make.in (CPPUNDEFS): New substituted variable.
14113 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14114 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14115 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14116
661768bb
L
141172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14118
14119 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14120 (mq_attr): Use __syscall_slong_t.
14121
d4261567
L
141222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14123
14124 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14125 Check __x86_64__ instead of __WORDSIZE.
14126 (_STAT_VER_LINUX): Likewise.
14127 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14128 __syscall_ulong_t and __syscall_slong_t.
14129 (stat64): Likewise.
14130
cf3ff365
L
141312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14132
14133 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14134
76cf3e4d
L
141352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14136
14137 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14138
a637753a
L
141392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14140
14141 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14142 __syscall_ulong_t.
14143
d5e05119
L
14144 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14145 include <bits/wordsize.h>. Check __x86_64__ instead of
14146 __WORDSIZE.
14147 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14148 defined.
14149 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14150
f62ee380
L
14151 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14152 include <bits/wordsize.h>. Check __x86_64__ instead of
14153 __WORDSIZE.
14154 (user_regs_struct): Use "__extension__ unsigned long long"
14155 instead of "unsigned long" if __x86_64__ is defined.
14156 (user): Likewise. Pad after pointer field if __ILP32__ is
14157 defined.
14158
4e124ced
JM
141592012-05-16 Joseph Myers <joseph@codesourcery.com>
14160
6a3951a0
JM
14161 * configure.in (makeinfo): Require version 4.5 or later. Allow
14162 versions 5 to 9.
14163 * configure: Regenerated.
14164 * manual/install.texi (texinfo): Increase version requirement to
14165 4.5 or later.
14166 * INSTALL: Regenerated.
14167
4e124ced
JM
14168 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14169
953ca31a
L
141702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14171
14172 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14173
617aca05
L
14174 * sysdeps/x86_64/x32/ffs.c: New file.
14175
5762f7ae
L
14176 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14177 __syscall_ulong_t.
14178 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14179 defined. Use __syscall_ulong_t.
14180 (shminfo): Use __syscall_ulong_t.
14181 (shm_info): Likewise.
14182
a26b6856
L
14183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14184 __syscall_ulong_t.
14185
cb2b9ef7
L
14186 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14187 <bits/wordsize.h>.
14188 (msgqnum_t): Use __syscall_ulong_t.
14189 (msglen_t): Likewise.
14190 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14191 __syscall_ulong_t.
14192
34683bb0
L
14193 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14194 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14195
84a68786
L
14196 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14197
48baa5f1
L
14198 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14199 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14200
180be88b
L
14201 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14202 __syscall_slong_t.
14203
5e90c8ad
L
14204 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14205 include <bits/wordsize.h>. Check __x86_64__ instead of
14206 __WORDSIZE.
14207
23dfb58b
L
14208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14209 "unsigned long long int" if __x86_64__ is defined.
14210 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14211
ce5d54b0
L
14212 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14213 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14214 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14215
13dc9eac
L
14216 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14217 <stdint.h>.
14218 (GET_PC): Cast to uintptr_t first.
14219 (GET_FRAME): Likewise.
14220 (GET_STACK): Likewise.
14221
a7895d15
L
14222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14224 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14226 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14228 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14229 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14230 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14231 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14233 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14235 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14236 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14238 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14239 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14240 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14241 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14242 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14243 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14245 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14247 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14249 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14251
656416c9
AS
142522012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14253
5bd66283
AS
14254 * Makerules (+depfiles): Also collect depfiles from .oS in
14255 $(extra-objs).
14256 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14257 .oS, $(libnldbl-routines)).
14258
656416c9
AS
14259 * Makerules (native-compile-mkdep-flags): Define.
14260 * sunrpc/Makefile (extra-objs): Add $(addprefix
14261 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14262 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14263 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14264 calling $(make-target-directory).
14265
a46f2169
L
142662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14267
14268 * bits/types.h (__snseconds_t): Removed.
14269 * time/time.h (struct timespec): Replace __snseconds_t with
14270 __syscall_slong_t.
14271 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14272 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14273 Likewise.
14274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14275 (__SNSECONDS_T_TYPE): Likewise.
14276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14277 (__SNSECONDS_T_TYPE): Likewise.
14278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14279 (__SNSECONDS_T_TYPE): Likewise.
14280
6af6528b
L
142812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14282
14283 * sysdeps/mach/hurd/bits/typesizes.h
14284 (__SYSCALL_SLONG_TYPE): New macro.
14285 (__SYSCALL_ULONG_TYPE): Likewise.
14286
de986b56
L
142872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14288
14289 * bits/types.h (__syscall_slong_t): New type.
14290 (__syscall_ulong_t): Likewise.
14291
14292 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14293 (__SYSCALL_ULONG_TYPE): Likewise.
14294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14295 (__SYSCALL_SLONG_TYPE): Likewise.
14296 (__SYSCALL_ULONG_TYPE): Likewise.
14297 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14298 (__SYSCALL_SLONG_TYPE): Likewise.
14299 (__SYSCALL_ULONG_TYPE): Likewise.
14300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14301 (__SYSCALL_SLONG_TYPE): Likewise.
14302 (__SYSCALL_ULONG_TYPE): Likewise.
14303
85736dc7
L
143042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14305
14306 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14307 Add sigaltstack-offsets.sym.
14308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14309 <sigaltstack-offsets.h>.
14310 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14311 longjmp_msg pointer.
14312 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14313 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14314 signal stack.
14315 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14316
cc03b296
JM
143172012-05-15 Joseph Myers <joseph@codesourcery.com>
14318
a9538892
JM
14319 * elf/stackguard-macros.h: Remove file.
14320 * sysdeps/generic/stackguard-macros.h: New file.
14321 * sysdeps/i386/stackguard-macros.h: Likewise.
14322 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14323 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14324 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14325 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14326 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14327 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14328 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14329 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14330 <elf/stackguard-macros.h>.
14331
cc03b296
JM
14332 [BZ #14109]
14333 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14334 __aligned__ in attribute.
14335 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14336 (gregset_t): Likewise.
14337
93171016
L
143382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14339
14340 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14341 * sysdeps/x86_64/64/Implies-after: Here. New file.
14342 * sysdeps/x86_64/x32/Implies-after: New file.
14343
d86813a0
L
143442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14345
14346 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14347 and access return value for _dl_profile_fixup. Use R10_LP to
14348 load frame size.
14349
2953ec75
L
143502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14351
14352 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14353
3b550e9e
L
143542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14355
14356 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14357 * sysdeps/x86_64/x32/sysdep.h: New file.
14358
eda41706
L
143592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14360
14361 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14362 * sysdeps/x86_64/setjmp.S: Likewise.
14363
9ea01d93
AZ
143642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14365
14366 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14367 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14368 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14369 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14370 remove unused global constant.
14371
02a91938
CM
143722012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14373
14374 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14375 include of <not-cancel.h>.
14376
6540185f
RM
143772012-05-15 Roland McGrath <roland@hack.frob.com>
14378
14379 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14380
509072a0
AJ
143812012-05-15 Jeff Law <law@redhat.com>
14382 Andreas Jaeger <aj@suse.de>
14383
14384 [BZ #13594]
14385 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14386 out from...
14387 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14388 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14389 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14390 code changing __hst_map_handle.map.
14391
ba75122d
RM
143922012-05-15 Roland McGrath <roland@hack.frob.com>
14393
14394 * configure.in (sysnames): Look for Implies-before and Implies-after
14395 files.
14396 * configure: Regenerated.
14397
890d8bd8
L
143982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14399
14400 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14401 8-byte data alignment with LP_SIZE alignment.
14402
f6ee6623
L
144032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14404
14405 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14406 into R10_LP.
14407
ea2626f6
L
144082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14409
14410 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14411
085f715e
L
144122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14413
14414 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14415 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14417 Likewise.
14418 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14419
be8498fc
L
144202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14421
14422 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14423 (stackinfo_sub_sp): Likewise.
14424
70bc83b9
L
144252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14426
14427 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14428 RAX_LP.
14429
9bc0b730
L
144302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14431
14432 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14433 into R*_LP.
14434
6d2850e7
L
144352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14436
14437 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14438 sizes into R*_LP.
14439
3cb84561
L
144402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14441
14442 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14443
54e2ed81
L
144442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14445
14446 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14447 into R11_LP and load __x86_64_shared_cache_size_half into
14448 R8_LP.
14449
8a17f349
L
144502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14451
14452 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14453 R8_LP.
14454
777b1eea
AZ
144552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14456
14457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14458 logb for POWER7.
14459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14460 logbf for POWER7.
14461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14462 logbl for POWER7.
14463 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14464 powerpc32/power7/fpu/s_logb.c via #include.
14465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14466 powerpc32/power7/fpu/s_logbf.c via #include.
14467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14468 powerpc32/power7/fpu/s_logbl.c via #include.
14469
d20d4ac2
JM
144702012-05-15 Joseph Myers <joseph@codesourcery.com>
14471
14472 * README.libm: Remove file.
14473
6cdef1ab
L
144742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14475
14476 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14477 count for x32. Use R*_LP and omit operand-size suffix.
14478
0b254d8f
L
144792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14480
14481 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14482 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14483 * sysdeps/x86_64/x32/shlib-versions: New file.
14484
ceb809dc
RM
144852012-05-14 Roland McGrath <roland@hack.frob.com>
14486
14487 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14488 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14489 Use _dl_fatal_printf instead.
14490
37f1abd4
JM
144912012-05-14 Joseph Myers <joseph@codesourcery.com>
14492
14493 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14494 set if not set by the user. Do not allow for being unset.
14495 * sysdeps/unix/sysv/linux/configure: Regenerated.
14496
11de3a33
L
144972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14498
14499 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14500 the `q' suffix from lea and replace .quad with ASM_ADDR.
14501
e02f153a
L
145022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14503
14504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14505 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14506 instead of $17.
14507 (PTR_DEMANGLE): Likewise.
14508
520ae0fd
L
145092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14510
14511 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14512 (LP_OP): Likewise.
14513 (ASM_ADDR): Likewise.
14514 (RAX_LP): Likewise.
14515 (RBP_LP): Likewise.
14516 (RBX_LP): Likewise.
14517 (RCX_LP): Likewise.
14518 (RDI_LP): Likewise.
14519 (RSI_LP): Likewise.
14520 (RSP_LP): Likewise.
14521 (R8_LP): Likewise.
14522 (R9_LP): Likewise.
14523 (R10_LP): Likewise.
14524 (R10_LP): Likewise.
14525 (R11_LP): Likewise.
14526 (R12_LP): Likewise.
14527 (R13_LP): Likewise.
14528 (R14_LP): Likewise.
14529 (R15_LP): Likewise.
14530
b985be81
L
145312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14532
14533 * sysdeps/x86_64/x32/dl-machine.h: New file.
14534
6a4888ff
AJ
145352012-05-14 Andreas Jaeger <aj@suse.de>
14536
14537 * manual/Makefile (subdir): Remove export of subdir.
14538 (all): Remove target.
14539 (.PHONY): Remove all from list.
14540 (mkinstalldirs): Remove.
14541 (.PHONY): Remove installdirs from list.
14542 ($(inst_infodir)/libc.info): Use make-target-directory.
14543 (installdirs): Remove.
14544 (subdir_%): Remove.
14545 (glibc-targets): Remove.
14546 (lib): Remove.
14547 (stubs): Remove.
14548 ($(objpfx)stubs ../po/manual.pot): Remove.
14549 ($(objpfx)stamp%): Remove.
14550 (make-target-directory): Remove.
14551 (subdir_install): Remove.
14552 (routines): Remove.
14553 (aux): Remove.
14554 (sources): Remove.
14555 (objects): Remove.
14556 (headers): Remove.
14557
14558 [BZ #13750]
14559 * manual/.gitignore: Remove, it's not needed anymore.
14560 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14561 all files in it.
14562 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14563 directory.
14564 (texis): Renamed to $(objpfx)texis.
14565 (texis-path): New, contains path to generated files.
14566 (chapters.%): Use texis-path for complete path, add extra argument
14567 libc-texinfo.sh.
14568 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14569 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14570 (summary,texi, stamp-summary): Use complete path of
14571 files. Generate files in build dir.
14572 (dir-add.texi): Build in build dir.
14573 (libm-err.texi,stamp-libm-err): Likewise.
14574 (version.texi, stamp-version): Likewise.
14575 (.%c.texi): Likewise.
14576 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14577 (mostlyclean): Remove target.
14578 (realclean): Remove target.
14579 (generated): Add new variable with contents from mostlyclean and
14580 realclean, remove entries duplicated in common-mostlyclean, add
14581 stamp-libm-err and stamp-version.
14582 (generated-dirs): Add libc directory.
14583 ($(inst_infodir)/libc.info): Install files from build dir.
14584
14585 * manual/install.texi (Configuring and compiling): Adjust since
14586 the info files are not part of the tar ball anymore.
14587
7ac77294
AJ
145882012-05-14 Andreas Jaeger <aj@suse.de>
14589
14590 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14591 variable.
14592
ffb7875d
JM
145932012-05-14 Joseph Myers <joseph@codesourcery.com>
14594
14595 [BZ #13717]
14596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14597 to 2.2.0 where earlier.
14598 * sysdeps/unix/sysv/linux/configure: Regenerated.
14599 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14600 Remove conditional code.
14601 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14602 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14603 Remove conditional code.
14604 [!__NR_lchown]: Likewise.
14605 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14606 [__NR_lchown]: Likewise.
14607 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14608 comment referencing __ASSUME_LCHOWN_SYSCALL.
14609 * sysdeps/unix/sysv/linux/i386/sigaction.c
14610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14612 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14613 Remove conditional code.
14614 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14615 (__protocol_available): Remove #if 0 code.
14616 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14617 conditional code.
14618 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14619 * sysdeps/unix/sysv/linux/kernel-features.h
14620 (__ASSUME_GETCWD_SYSCALL): Don't define.
14621 (__ASSUME_REALTIME_SIGNALS): Likewise.
14622 (__ASSUME_PREAD_SYSCALL): Likewise.
14623 (__ASSUME_PWRITE_SYSCALL): Likewise.
14624 (__ASSUME_POLL_SYSCALL): Likewise.
14625 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14626 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14627 non-SPARC.
14628 (__ASSUME_SIOCGIFNAME): Don't define.
14629 (__ASSUME_MSG_NOSIGNAL): Likewise.
14630 (__ASSUME_SENDFILE): Define unconditionally.
14631 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14632 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14633 conditional code.
14634 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14635 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14636 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14637 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14638 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14639 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14640 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14645 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14651 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14657 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14663 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14665 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14666 Remove conditional code.
14667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14668 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14669 Remove conditional code.
14670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14671 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14672 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14673 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14674 Remove conditional code.
14675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14676 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14677 Remove conditional code.
14678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14679 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14680 Remove conditional code.
14681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14682 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14683 Remove conditional code.
14684 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14685 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14686 Remove conditional code.
14687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14688 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14689 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14691 * sysdeps/unix/sysv/linux/sigaction.c
14692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14694 * sysdeps/unix/sysv/linux/sigpending.c
14695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14697 * sysdeps/unix/sysv/linux/sigprocmask.c
14698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14700 * sysdeps/unix/sysv/linux/sigsuspend.c
14701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14703 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14704 (__libc_missing_rt_sigs): Remove.
14705 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14706 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14707 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14708 Remove conditional code.
14709 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14710 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14711 return 1.
14712 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14713 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14714 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14715 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14716
1bfb7291
AJ
147172012-05-14 Andreas Jaeger <aj@suse.de>
14718
caae5a81
AJ
14719 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14720 it's not used in glibc.
14721 (__coshm1): Likewise.
14722 (__acosh1p): Likewise.
14723 (__sgn): Likewise.
14724
1bfb7291
AJ
14725 * manual/string.texi (Copying and Concatenation): Add missing
14726 variable in concat example.
14727 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14728
c044d724
L
147292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14730
144c5467 14731 [BZ #14103]
c044d724
L
14732 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14733 __builtin_clzl with __builtin_clzll.
14734
2523c62b
L
147352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14736
14737 [BZ #14104]
14738 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14739 libc_freeres_ptr.
14740
d7bb4c42
LD
147412012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14742
14743 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14744 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14745 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14746 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14747
9dc4e1fb
MF
147482012-05-14 Mike Frysinger <vapier@gentoo.org>
14749
14750 * NEWS: Update ia64 info.
14751
c7df0112
AS
147522012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14753
14754 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14755 used as bcopy.
14756
dc70356c
TS
147572012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14758
14759 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14760 * sysdeps/unix/syscalls.list (dup3): Likewise.
14761 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14762 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14763
9fb1a21f
L
147642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14765
14766 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14767 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14768
4822a2a5
L
147692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14770
14771 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14772 thread pointer.
14773 (TLS_IE): Use mov/add instead of movq/addq to load thread
14774 pointer.
14775 (TLS_GD_PREFIX): New.
14776 (TLS_GD): Use it.
14777
842b81d6
DM
147782012-05-11 David S. Miller <davem@davemloft.net>
14779
14780 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14781 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14782 (_FPU_SETCW): Likewise.
14783
1cf463cd
L
147842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14785
14786 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14787 is 32-byte aligned.
14788
60cc4a18
AS
147892012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14790
14791 [BZ #11837]
14792 * iconvdata/gb18030.c: Update tables.
14793 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14794 characters specially.
14795 (BODY for TO_LOOP): Add encoding of missing ranges.
14796
febb44a4
TS
147972012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14798
14799 [BZ #13673]
14800 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14801 * sysdeps/mach/hurd/dup3.c: Likewise.
14802 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14803 * sysdeps/powerpc/memmove.c:: Likewise.
14804
0a10fb9e
L
148052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14806
14807 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14808 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14809
df8a552f
L
148102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14811
14812 * elf/elf.h (R_X86_64_RELATIVE64): New.
14813 (R_X86_64_NUM): Updated.
14814 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14815 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14816 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14817 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14818 tst-quad1pie tst-quad2pie
14819 (modules-names): Add tst-quadmod1 tst-quadmod2.
14820 ($(objpfx)tst-quad1): New dependency.
14821 ($(objpfx)tst-quad2): Likewise.
14822 ($(objpfx)tst-quad1pie): Likewise.
14823 ($(objpfx)tst-quad2pie): Likewise.
14824 * sysdeps/x86_64/tst-quad1.c: New file.
14825 * sysdeps/x86_64/tst-quad1pie.c: New file.
14826 * sysdeps/x86_64/tst-quad2.c: Likewise.
14827 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14828 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14829 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14830 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14831 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14832
f34d6f84
ST
148332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14834
f42d41d1
ST
14835 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14836 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14837 * streams/stropts.h (t_scalar_t): Define type.
14838
3c3571fc
ST
14839 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14840 (_PATH_PRESERVE): Set to "/var/lib".
14841 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14842
61f06bd3
ST
14843 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14844 instead of int.
14845
918d4d71
ST
14846 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14847 if __dir_mkfile succeeded.
14848
f34d6f84
ST
14849 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14850 checking for _hurd_dtablesize. Unlock it right after having
14851 finished _hurd_dtable allocation.
14852
10589b4a
TS
148532012-05-10 Thomas Schwinge <thomas@schwinge.name>
14854
674cdbc7
TS
14855 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14856 * sysdeps/mach/hurd/configure: Regenerated.
14857 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14858 special-casing to...
14859 * sysdeps/gnu/configure.in: ... this new file.
14860 * sysdeps/unix/sysv/linux/configure: Regenerated.
14861 * sysdeps/gnu/configure: New generated file.
14862
8e41b99f
TS
14863 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14864 for Linux: use nsec instead of usec, as well as:
14865 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14866 members of type struct timespec.
14867 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14868 New macros.
14869 (struct stat64): Likewise.
14870 (_STATBUF_ST_NSEC): New macro.
14871 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14872
10589b4a
TS
14873 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14874 __strtoul_internal rather than strtoul.
14875
63643c85
PT
148762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14877
14878 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14879 and reject them.
14880
3faebe6a
ST
148812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14882
14883 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14884 which preserves existing values.
14885 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14886
c6474b07
PT
148872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14888
14889 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14890 TIMEOUT values. Return EINVAL for NFDS values either negative or
14891 greater than FD_SETSIZE.
14892
1043890b
ST
148932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14894
14895 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14896 allocated, call __vm_protect to finish enabling the existing space, and
14897 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14898 allocate the remainder.
14899
37ed8b9b
PT
149002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14901
14902 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14903 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14904
db653660
ST
149052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14906
37ed8b9b
PT
14907 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14908 sysdeps/mach/hurd/readlink.c.
b29d4053 14909
db653660
ST
14910 * posix/tst-sysconf.c (posix_options): Only use
14911 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14912 _POSIX_SYNCHRONIZED_IO when they are defined
14913 * sysdeps/mach/hurd/bits/posix_opt.h:
14914 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14915 (_XOPEN_REALTIME): Undefine macro.
14916 (_XOPEN_REALTIME_THREADS): Undefine macro.
14917 (_XOPEN_SHM): Undefine macro.
14918 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14919 macro to -1.
14920 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14921 macro to -1.
14922 (_POSIX_ASYNC_IO): Undefine macro.
14923 (_POSIX_PRIORITIZED_IO): Undefine macro.
14924 (_POSIX_SPIN_LOCKS): Define macro to -1.
14925
ee16e894
ST
14926 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14927 SA_NODEFER, SA_RESETHAND.
14928 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14929 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14930 F_DUPFD_CLOEXEC.
14931
6103ae3b
TS
149322012-05-10 Thomas Schwinge <thomas@schwinge.name>
14933
14934 * elf/Makefile (pldd-modules): Define unconditionally.
14935
80b4e5f3
TS
149362012-05-10 Thomas Schwinge <thomas@schwinge.name>
14937
14938 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14939
edadcbd6
ST
149402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14941
14942 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14943 Return ENOENT when name is empty.
14944 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14945
80694780
TS
149462012-05-10 Thomas Schwinge <thomas@schwinge.name>
14947
1792c087
TS
14948 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14949
80694780
TS
14950 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14951
6b645f0d
ST
149522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14953
80694780
TS
14954 Fix mlock in all cases except non-readable pages.
14955 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14956 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14957
6b645f0d
ST
14958 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14959 (__mkdir): When path is `/', just fail with EEXIST.
14960 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14961
e468f8a3
TS
149622012-05-10 Thomas Schwinge <thomas@schwinge.name>
14963
14964 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14965 <sys/uio.h> (for writev).
14966 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14967 and <sys/param.h> (for MIN).
14968
a4186cff
PT
149692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14970
14971 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14972 REQUESTED_TIME. Properly set the remaining time and return EINTR
14973 if interrupted.
14974
510bbf14
TS
149752012-05-10 Thomas Schwinge <thomas@schwinge.name>
14976
14977 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14978 Depend on against $(link-rpcuserlibs).
14979
5d5722e8
ST
149802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14981
a4186cff
PT
14982 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14983 (__libc_stack_end): Do not use attribute_relro.
14984 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14985 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14986 to libthread-provided value.
a4186cff
PT
14987 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14988 attribute_relro.
5d5722e8 14989
37233df9
TS
149902012-05-10 Thomas Schwinge <thomas@schwinge.name>
14991
be971a2b
TS
14992 [BZ #3748]
14993 * bits/libc-lock.h (__libc_once_get): New macro.
14994 * sysdeps/mach/bits/libc-lock.h: Likewise.
14995 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14996 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14997 instead of using implementation details.
14998
37233df9
TS
14999 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15000 * libio/freopen.c: Likewise.
15001 * libio/freopen64.c: Likewise.
15002 * misc/syslog.c: Likewise.
15003 * nscd/connections.c: Likewise.
15004 * nscd/netgroupcache.c: Likewise.
15005 * sysdeps/posix/getcwd.c: Likewise.
15006
38de94a5
RM
150072012-05-10 Roland McGrath <roland@hack.frob.com>
15008
15009 * math/w_ilogbf.c: Add #include <limits.h>.
15010
67530489
ST
150112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15012
a4186cff 15013 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15014 path instead of returning without unlocking.
15015
67530489
ST
15016 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15017 immediate-write ioctls.
15018 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15019
5aa3a74a
TS
150202012-05-10 Thomas Schwinge <thomas@schwinge.name>
15021
18bad2ae
TS
15022 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15023 __builtin_frame_address instead of making assumptions about the
15024 location of the return address relative to DATA. Force early load of
15025 the return address.
15026 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15027 __builtin_frame_address.
15028
5aa3a74a
TS
15029 dup3 for GNU Hurd.
15030 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15031 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15032 implement dup3 and do some further code clean-ups.
15033 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15034 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15035
ecd0de9a
ST
150362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15037
cd9fa985
ST
15038 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15039
a4186cff
PT
15040 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15041 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15042 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15043 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15044 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15045 d->port.lock.
802ca5a5 15046
a4186cff
PT
15047 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15048 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15049 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15050
bcf55240
TS
150512012-05-10 Thomas Schwinge <thomas@schwinge.name>
15052
6960eb42
TS
15053 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15054 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15055 definitions.
15056
eb43375f
TS
15057 accept4 for GNU Hurd.
15058 * include/sys/socket.h (__libc_accept4): New prototype.
15059 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15060 to implement __libc_accept4.
15061 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15062 __libc_accept4.
15063 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15064
bcf55240
TS
15065 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15066 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15067 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15068 signal-defines.sym.
15069
6178c55b
ST
150702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15071
a4186cff 15072 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15073
6f080c2f
TS
150742012-05-10 Thomas Schwinge <thomas@schwinge.name>
15075
15076 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15077 assertion on O_CLOEXEC flag.
15078 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15079 * hurd/intern-fd.c: Likewise.
15080 * hurd/port2fd.c: Likewise.
15081
bcfe3a54
ST
150822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15083
15084 [BZ #3906]
15085 * bits/in.h (IPV6_PKTINFO): Define new macro.
15086 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15087
89c9aa49
AZ
150882012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15089
15090 [BZ #13954]
15091 [BZ #13955]
15092 [BZ #13956]
15093 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15094 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15095 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15096 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15098 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15099 * math/libm-test.inc (logb_test) : Additional logb tests.
15100
021db4be
AJ
151012012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15102 Andreas Jaeger <aj@suse.de>
15103
15104 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15105 * configure: Regenerated.
15106 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15107 * config.make.in (link-obsolete-rpc): New substituted variable.
15108 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15109 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15110 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15111 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15112 so that libc.a contains the symbols.
15113 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15114 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15115 * sunrpc/auth_none.c: Likewise.
15116 * sunrpc/auth_unix.c: Likewise.
15117 * sunrpc/authdes_prot.c: Likewise.
15118 * sunrpc/authuxprot.c: Likewise.
15119 * sunrpc/clnt_gen.c: Likewise.
15120 * sunrpc/clnt_perr.c: Likewise.
15121 * sunrpc/clnt_raw.c: Likewise.
15122 * sunrpc/clnt_simp.c: Likewise.
15123 * sunrpc/clnt_tcp.c: Likewise.
15124 * sunrpc/clnt_udp.c: Likewise.
15125 * sunrpc/clnt_unix.c: Likewise.
15126 * sunrpc/des_crypt.c: Likewise.
15127 * sunrpc/des_soft.c: Likewise.
15128 * sunrpc/get_myaddr.c: Likewise.
15129 * sunrpc/key_call.c: Likewise.
15130 * sunrpc/key_prot.c: Likewise.
15131 * sunrpc/netname.c: Likewise.
15132 * sunrpc/pm_getmaps.c: Likewise.
15133 * sunrpc/pm_getport.c: Likewise.
15134 * sunrpc/pmap_clnt.c: Likewise.
15135 * sunrpc/pmap_prot.c: Likewise.
15136 * sunrpc/pmap_prot2.c: Likewise.
15137 * sunrpc/pmap_rmt.c: Likewise.
15138 * sunrpc/publickey.c: Likewise.
15139 * sunrpc/rpc_cmsg.c: Likewise.
15140 * sunrpc/rpc_common.c: Likewise.
15141 * sunrpc/rpc_dtable.c: Likewise.
15142 * sunrpc/rpc_prot.c: Likewise.
15143 * sunrpc/rpc_thread.c: Likewise.
15144 * sunrpc/rtime.c: Likewise.
15145 * sunrpc/svc.c: Likewise.
15146 * sunrpc/svc_auth.c: Likewise.
15147 * sunrpc/svc_raw.c: Likewise.
15148 * sunrpc/svc_run.c: Likewise.
15149 * sunrpc/svc_tcp.c: Likewise.
15150 * sunrpc/svc_udp.c: Likewise.
15151 * sunrpc/svc_unix.c: Likewise.
15152 * sunrpc/svcauth_des.c: Likewise.
15153 * sunrpc/xcrypt.c: Likewise.
15154 * sunrpc/xdr.c: Likewise.
15155 * sunrpc/xdr_array.c: Likewise.
15156 * sunrpc/xdr_float.c: Likewise.
15157 * sunrpc/xdr_intXX_t.c: Likewise.
15158 * sunrpc/xdr_mem.c: Likewise.
15159 * sunrpc/xdr_rec.c: Likewise.
15160 * sunrpc/xdr_ref.c: Likewise.
15161 * sunrpc/xdr_sizeof.c: Likewise.
15162 * sunrpc/xdr_stdio.c: Likewise.
15163
b5c086a2
RM
151642012-05-10 Roland McGrath <roland@hack.frob.com>
15165
15166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15167 change. Update copyright years.
15168
6d74dd09
JM
151692012-05-10 Joseph Myers <joseph@codesourcery.com>
15170
15171 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15172
28e72501
MK
151732012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15174 Joseph Myers <joseph@codesourcery.com>
15175 Paul Pluzhnikov <ppluzhnikov@google.com>
15176
15177 [BZ #14012]
15178 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15179 requiring rpcgen.
15180 [cross-compiling] (extra-libs): Likewise.
15181 [cross-compiling] (extra-libs-others): Likewise.
15182 [cross-compiling] (librpcsvc-routines): Likewise.
15183 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15184 [cross-compiling] (omit-deps): Likewise.
15185 (sunrpc-CPPFLAGS): New variable.
15186 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15187 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15188 (cross-rpcgen-objs): New variable.
15189 (extra-objs): Append $(cross-rpcgen-objs).
15190 ($(cross-rpcgen-objs)): New rule.
15191 ($(objpfx)cross-rpcgen): Likewise.
15192 (rpcgen-cmd): Define to use $(built-program-file). Expand
15193 comment.
15194 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15195 ($(objpfx)x%.stmp): Likewise.
15196 * sunrpc/proto.h [IS_IN_build] (_): Define.
15197 [IS_IN_build] (_libc_intl_domainname): Likewise.
15198
c8c59454
L
151992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15200
15201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15202 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15203 and R_X86_64_TPOFF64.
15204
6f27cd16
JM
152052012-05-10 Joseph Myers <joseph@codesourcery.com>
15206
15207 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15208 sysdeps/unix/sysv/syscalls.list.
15209 (stime): Likewise.
15210 (utime): Likewise.
15211 * sysdeps/unix/sysv/syscalls.list: Remove file.
15212
02467e1c
PE
152132012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15214
15215 [BZ #3440]
15216 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15217 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15218 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15219 (__LC_IDENTIFICATION): Make these macros useful in #if
15220 expressions, as required by C99.
15221
da392631
AS
152222012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15223
15224 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15225 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15226 after this.
15227
8115f29b
L
152282012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15229
15230 * stdlib/longlong.h: Updated from GCC.
15231
bdd74070
AJ
152322012-05-09 Andreas Jaeger <aj@suse.de>
15233
edfe0dbe
AJ
15234 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15235 default is first entry.
15236 (run_mode): Set type.
15237 (main): Remove informal message about syslog.
15238 (options): Fix typo.
15239
bcfe3a54
ST
15240 [BZ #14053]
15241 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15242 to asm.
bcfe3a54
ST
15243 (lrint): Likewise.
15244 (llrintf): Likewise.
15245 (llrint): Likewise.
15246 (rint): Likewise.
15247 (rintf): Likewise.
15248 (nearbyint): Likewise.
15249 (nearbyintf): Likewise.
bdd74070 15250
91d8d69e
AJ
152512012-05-09 Andreas Jaeger <aj@suse.de>
15252 Pedro Alves <palves@redhat.com>
15253
15254 * nscd/nscd.c (run_mode): Use enum.
15255 (main): Cleanup coding style issue.
15256
bb90b80b
AJ
152572012-05-09 Alexandre Oliva <aoliva@redhat.com>
15258 Andreas Jaeger <aj@suse.de>
15259
bcfe3a54
ST
15260 * nscd/nscd.c (go_background): Replaced with...
15261 (run_mode): ... this.
bb90b80b 15262 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15263 (options): Add -F --foreground.
15264 (main): Implement it.
15265 (parse_opt): Parse it.
bb90b80b 15266
1a4b75a1
AJ
152672012-05-09 Andreas Jaeger <aj@suse.de>
15268
15269 [BZ #14083]
15270 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15271 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15272 -Wconversion warning.
15273 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15274 Likewise.
15275
b1cc2472
JM
152762012-05-09 Joseph Myers <joseph@codesourcery.com>
15277
15278 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15279 == 0.
15280 (LC_ALL): Use macro-int-constant.
15281 (LC_COLLATE): Likewise.
15282 (LC_CTYPE): Likewise.
15283 (LC_MESSAGES): Likewise.
15284 (LC_MONETARY): Likewise.
15285 (LC_NUMERIC): Likewise.
15286 (LC_TIME): Likewise.
15287 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15288 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15290 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15291 Specify type.
15292 [C99-based standards] (float_t): Expect type.
15293 [C99-based standards] (double_t): Expect type.
15294 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15295 type.
15296 [C99-based standards] (HUGE_VALL): Likewise.
15297 [C99-based standards] (INFINITY): Likewise.
15298 [C99-based standards] (NAN): Likewise.
15299 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15300 [C99-based standards] (FP_NAN): Likewise.
15301 [C99-based standards] (FP_NORMAL): Likewise.
15302 [C99-based standards] (FP_SUBNORMAL): Likewise.
15303 [C99-based standards] (FP_ZERO): Likewise.
15304 [C99-based standards] (FP_FAST_FMA): Use
15305 optional-macro-int-constant. Specify type. Require == 1.
15306 [C99-based standards] (FP_FAST_FMAF): Likewise.
15307 [C99-based standards] (FP_FAST_FMAL): Likewise.
15308 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15309 [C99-based standards] (FP_ILOGBNAN): Likewise.
15310 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15311 Specify type.
15312 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15313 [C99-based standards] (math_errhandling): Specify type.
15314 [ISO99 || ISO11] (signgam): Do not allow.
15315 [non-C99-based standards] (copysignf): Do not allow.
15316 [non-C99-based standards] (exp2f): Likewise.
15317 [non-C99-based standards] (log2f): Likewise.
15318 [non-C99-based standards] (modff): Allow.
15319 [non-C99-based standards] (erff): Do not allow.
15320 [non-C99-based standards] (erfcf): Likewise.
15321 [non-C99-based standards] (gammaf): Likewise.
15322 [non-C99-based standards] (hypotf): Likewise.
15323 [non-C99-based standards] (j0f): Likewise.
15324 [non-C99-based standards] (j1f): Likewise.
15325 [non-C99-based standards] (jnf): Likewise.
15326 [non-C99-based standards] (lgammaf): Likewise.
15327 [non-C99-based standards] (tgammaf): Likewise.
15328 [non-C99-based standards] (y0f): Likewise.
15329 [non-C99-based standards] (y1f): Likewise.
15330 [non-C99-based standards] (ynf): Likewise.
15331 [non-C99-based standards] (isnanf): Likewise.
15332 [non-C99-based standards] (acoshf): Likewise.
15333 [non-C99-based standards] (asinhf): Likewise.
15334 [non-C99-based standards] (atanhf): Likewise.
15335 [non-C99-based standards] (cbrtf): Likewise.
15336 [non-C99-based standards] (expm1f): Likewise.
15337 [non-C99-based standards] (ilogbf): Likewise.
15338 [non-C99-based standards] (log1pf): Likewise.
15339 [non-C99-based standards] (logbf): Likewise.
15340 [non-C99-based standards] (nextafterf): Likewise.
15341 [non-C99-based standards] (remainderf): Likewise.
15342 [non-C99-based standards] (rintf): Likewise.
15343 [non-C99-based standards] (scalbf): Likewise.
15344 [non-C99-based standards] (copysignl): Likewise.
15345 [non-C99-based standards] (exp2l): Likewise.
15346 [non-C99-based standards] (log2l): Likewise.
15347 [non-C99-based standards] (modfl): Allow.
15348 [non-C99-based standards] (erfl): Do not allow.
15349 [non-C99-based standards] (erfcl): Likewise.
15350 [non-C99-based standards] (gammal): Likewise.
15351 [non-C99-based standards] (hypotl): Likewise.
15352 [non-C99-based standards] (j0l): Likewise.
15353 [non-C99-based standards] (j1l): Likewise.
15354 [non-C99-based standards] (jnl): Likewise.
15355 [non-C99-based standards] (lgammal): Likewise.
15356 [non-C99-based standards] (tgammal): Likewise.
15357 [non-C99-based standards] (y0l): Likewise.
15358 [non-C99-based standards] (y1l): Likewise.
15359 [non-C99-based standards] (ynl): Likewise.
15360 [non-C99-based standards] (isnanl): Likewise.
15361 [non-C99-based standards] (acoshl): Likewise.
15362 [non-C99-based standards] (asinhl): Likewise.
15363 [non-C99-based standards] (atanhl): Likewise.
15364 [non-C99-based standards] (cbrtl): Likewise.
15365 [non-C99-based standards] (expm1l): Likewise.
15366 [non-C99-based standards] (ilogbl): Likewise.
15367 [non-C99-based standards] (log1pl): Likewise.
15368 [non-C99-based standards] (logbl): Likewise.
15369 [non-C99-based standards] (nextafterl): Likewise.
15370 [non-C99-based standards] (remainderl): Likewise.
15371 [non-C99-based standards] (rintl): Likewise.
15372 [non-C99-based standards] (scalbl): Likewise.
15373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15374 [non-C99-based standards] (FP_*): Do not allow.
15375 [C99-based standards] (FP_*): Change to
15376 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15377 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15378 allow.
15379 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15380 (SIG_ERR): Likewise.
15381 [X/Open-based standards] (SIG_HOLD): Likewise.
15382 (SIG_IGN): Likewise.
15383 (SIGABRT): Use macro-int-constant. Specify type. Require
15384 positive value.
15385 (SIGFPE): Likewise.
15386 (SIGILL): Likewise.
15387 (SIGINT): Likewise.
15388 (SIGSEGV): Likewise.
15389 (SIGTER): Likewise.
15390 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15391 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15392 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15393 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15394 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15395 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15396 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15397 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15398 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15399 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15400 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15401 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15402 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15403 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15404 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15405 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15406 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15407 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15408 [X/Open-based standards] (SIGTRAP): Likewise.
15409 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15410 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15411 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15412 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15413 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15414 allow.
15415
b9f1922d
IW
154162012-05-08 Ian Wienand <ianw@vmware.com>
15417
15418 [BZ #14080]
15419 * time/tzset.c (__tzset_parse_tz): Update default rules for
15420 daylight time changes in the Energy Policy Act of 2005.
15421
1db86e88
AJ
154222012-05-09 Andreas Jaeger <aj@suse.de>
15423
15424 [BZ #13983]
15425 * elf/ldconfig.c (parse_conf): Change string to make clear that
15426 ldconfig only issued a warning if ld.so.conf does not exist.
15427
dee4a4e3
DM
154282012-05-08 David S. Miller <davem@davemloft.net>
15429
ee0db190
DM
15430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15431 movxtod instead of popping the value on the stack.
15432
dee4a4e3
DM
15433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15434
6a43ec98
CD
154352012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15436
15437 * config.h.in: Add HAVE_ARM_PCS_VFP.
15438
05c2c961
RMG
154392012-05-08 Roland Mc Grath <roland@hack.frob.com>
15440
bcfe3a54
ST
15441 [BZ #13979]
15442 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15443 checking but the checks are disabled for any reason.
05c2c961 15444
4b30f61a
L
154452012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15446
15447 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15448 and ELF64_R_TYPE with ELFW(R_TYPE).
15449
eee2bc67
JM
154502012-05-08 Joseph Myers <joseph@codesourcery.com>
15451
7ea5391a
JM
15452 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15453 (ulimit): Likewise.
15454
eee2bc67
JM
15455 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15456 (settimeofday): Likewise.
15457
abb66a67
MF
154582012-05-08 Mike Frysinger <vapier@gentoo.org>
15459
15460 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15461 a struct th_u2 inside the union, and move tu_block/tu_code into
15462 a new th_u3 union of tu_block/tu_code inside of that. Move
15463 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15464 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15465 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15466 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15467 (th_stuff): Change to th_u1.tu_stuff.
15468 (th_data): Define.
15469 (th_msg): Change to th_u1.th_u2.tu_data.
15470
7f18b530
DM
154712012-05-07 David S. Miller <davem@davemloft.net>
15472
05760585
DM
15473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15474
7f18b530
DM
15475 [BZ #14074]
15476 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15477 (SETUP_PIC_REG): Use it.
15478 (SETUP_PIC_REG_LEAF): Use it.
15479
495fd99f
JM
154802012-05-07 Joseph Myers <joseph@codesourcery.com>
15481
15482 [BZ #13885]
15483 [BZ #13923]
15484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15485 USE_AS_EXPM1L.
15486 (EXPL_FINITE): Likewise.
15487 (FLDLOG): Likewise.
15488 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15489 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15490 e_expl.S.
15491 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15492 USE_AS_EXPM1L.
15493 (EXPL_FINITE): Likewise.
15494 (FLDLOG): Likewise.
15495 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15496 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15497 e_expl.S.
15498 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15499 test of -max_value argument for long double.
15500 * sysdeps/i386/fpu/libm-test-ulps: Update.
15501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15502
6693d694
DM
155032012-05-06 David S. Miller <davem@davemloft.net>
15504
15505 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15506 quad soft-float symbols whose references which are compiler
15507 generated.
15508 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15509
6c23e11c
JM
155102012-05-06 Joseph Myers <joseph@codesourcery.com>
15511
d8b82cad
JM
15512 [BZ #13884]
15513 [BZ #13914]
15514 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15515 USE_AS_EXP10L.
15516 (EXPL_FINITE): Likewise.
15517 (FLDLOG): Likewise.
15518 (c0): Likewise.
15519 (c1): Likewise.
15520 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15521 Adjust comments for base varying.
15522 (__expl_finite): Change alias to EXPL_FINITE.
15523 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15524 e_expl.S.
15525 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15526 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15528 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15529 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15530 USE_AS_EXP10L.
15531 (EXPL_FINITE): Likewise.
15532 (FLDLOG): Likewise.
15533 (c0): Likewise.
15534 (c1): Likewise.
15535 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15536 Adjust comments for base varying.
15537 (__expl_finite): Change alias to EXPL_FINITE.
15538 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15539 tests for bugs.
15540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15541
6c23e11c
JM
15542 [BZ #14064]
15543 * math/libm-test.inc (check_float_internal): Correct ulp
15544 calculation for subnormal expected results.
15545
29ba805c
AJ
155462012-05-06 Andreas Jaeger <aj@suse.de>
15547
15548 * Makeconfig (+math-flags): New, set to -frounding-math.
15549 (+cflags): Add +math-flags so that all of glibc gets compiled with
15550 it.
15551
15552 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15553
7b17aeda
JM
155542012-05-05 Joseph Myers <joseph@codesourcery.com>
15555
5779f134
JM
15556 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15557 Disable one test.
15558
41498f4d
JM
15559 [BZ #13787]
15560 [BZ #13922]
15561 [BZ #14036]
15562 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15563 (__ieee754_expl): Allow for and saturate large arguments.
15564 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15565 (u_threshold): Likewise.
15566 (__exp): Call __ieee754_exp before checking for overflow and
15567 underflow.
15568 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15569 (u_threshold): Likewise.
15570 (__expf): Call __ieee754_expf before checking for overflow and
15571 underflow.
15572 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15573 (u_threshold): Likewise.
15574 (__expl): Call __ieee754_expl before checking for overflow and
15575 underflow.
15576 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15577 (__ieee754_expl): Allow for and saturate large arguments.
15578 * math/libm-test.inc (exp_test): Add another test. Do not allow
15579 missing overflow exception on overflow.
15580 (expm1_test): Do not allow missing overflow exception on overflow.
15581
6698b8bf
JM
15582 * sysdeps/i386/fpu/e_expl.c: Move to ...
15583 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15584 rather than using inline asm.
15585 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15586 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15587 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15588
7b17aeda
JM
15589 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15590 (nice): Likewise.
15591 (poll): Likewise.
15592 (signal): Likewise.
15593 (time): Likewise.
15594 (times): Likewise.
15595
f7c85819
JM
155962012-05-04 Joseph Myers <joseph@codesourcery.com>
15597
15598 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15599 sysdeps/unix/common/syscalls.list.
15600 (fchmod): Likewise.
15601 (fchown): Likewise.
15602 (ftruncate): Likewise.
15603 (getrusage): Likewise.
15604 (gettimeofday): Likewise.
15605 (setpgid): Likewise.
15606 (setregid): Likewise.
15607 (setreuid): Likewise.
15608 (sigaction): Likewise.
15609 (truncate): Likewise.
15610 (vhangup): Likewise.
15611 * sysdeps/unix/common/syscalls.list: Remove file.
15612 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15613 * sysdeps/unix/sysv/linux/Implies: Likewise.
15614
336270d0
L
156152012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15616
15617 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15619 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15620 Moved to ...
15621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15622 Here.
15623 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15624 to ...
15625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15626 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15627 to ...
15628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15629 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15630 to ...
15631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15632 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15633 to ...
15634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15635 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15636 to ...
15637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15638 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15639 to ...
15640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15641 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15642 to ...
15643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15644 Here.
15645 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15646 to ...
15647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15648 Here.
15649 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15650 to ...
15651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15652 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15653 Moved to ...
15654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15655 Here.
15656 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15657 to ...
15658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15659
d128e450
JM
156602012-05-04 Joseph Myers <joseph@codesourcery.com>
15661
fa8ee516
JM
15662 * sysdeps/unix/common/bits/dirent.h: Remove file.
15663 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15664
d128e450
JM
15665 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15666 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15667 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15668 * sysdeps/unix/bsd/isatty.c: Likewise.
15669 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15670 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15671 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15672
ff8faaf0 156732012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15674
62881be4 15675 [BZ #13563]
31dc8730
AZ
15676 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15677 long double comparison inaccuracies.
15678 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15680
6fef930c
AS
156812012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15682
15683 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15685
8f203e6c
JM
156862012-05-04 Joseph Myers <joseph@codesourcery.com>
15687
15688 [BZ #14049]
15689 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15690 nonzero digits before rounding a hex value.
15691 * stdlib/tst-strtod.c (tests): Add another test.
15692
5197d9c2
AK
156932012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15694
15695 * sysdeps/s390/fpu/libm-test-ulps: Update.
15696
f0c1dedf
AJ
156972012-05-03 Andreas Jaeger <aj@suse.de>
15698
15699 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15700 does not get optimized out.
15701 (malloc_opt_barrier): New.
15702
a65ef2ae 157032012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15704 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15705
2b942cb7 15706 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15707 intermediate file deletion.
2b942cb7 15708 (generated): Add .symlist files.
a65ef2ae 15709
54b71e02
JM
157102012-05-03 Joseph Myers <joseph@codesourcery.com>
15711
15712 [BZ #13775]
15713 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15714 Redirect under this condition.
15715 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15716 [__USE_GNU] (__dprintf_chk): Not under this condition.
15717 [__USE_GNU] (__vdprintf_chk): Likewise.
15718 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15719 under this condition.
15720 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15721 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15722 [__USE_XOPEN2K8] (vdprintf): Likewise.
15723 [__USE_GNU] (__dprintf_chk): Not under this condition.
15724 [__USE_GNU] (__vdprintf_chk): Likewise.
15725 [__USE_GNU] (dprintf): Likewise.
15726 [__USE_GNU] (vdprintf): Likewise.
15727
d3dfcc41
RM
157282012-05-03 Roland McGrath <roland@hack.frob.com>
15729
15730 * elf/Makefile (common-generated): Set this instead of generated for
15731 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15732 $(all-built-dso)-derived lists.
15733
7ac30cc5
AJ
157342012-05-03 Andreas Jaeger <aj@suse.de>
15735
0c51e550
AJ
15736 * sysdeps/i386/fpu/libm-test-ulps: Update.
15737
7ac30cc5
AJ
15738 * FAQ: Removed.
15739 * FAQ.in: Likewise.
15740 * scripts/gen-FAQ.pl: Likewise.
15741 * manual/install.texi (Installation): Point to online location of
15742 FAQ.
15743 * Makefile (files-for-dist): Remove FAQ.
15744 (FAQ): Remove.
15745
d4c2917f
AM
157462012-05-02 Allan McRae <allan@archlinux.org>
15747
15748 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15749 (LDFLAGS-reldepmod5.so): Likewise.
15750 (LDFLAGS-reldep6mod1.so): Likewise.
15751 (LDFLAGS-reldep6mod4.so): Likewise.
15752 (LDFLAGS-reldep8mod3.so): Likewise.
15753 (LDFLAGS-unload4mod1.so): Likewise.
15754 (LDFLAGS-unload4mod2.so): Likewise.
15755 (LDFLAGS-tst-initorder): Likewise.
15756 (LDFLAGS-tst-initordera2.so): Likewise.
15757 (LDFLAGS-tst-initordera3.so): Likewise.
15758 (LDFLAGS-tst-initordera4.so): Likewise.
15759 (LDFLAGS-tst-initorderb2.so): Likewise.
15760 (LDFLAGS-noload): Likewise.
15761 (LDFLAGS-next): Likewise.
15762 (LDFLAGS-order2mod1.so): Likewise.
15763 (LDFLAGS-order2mod2.so): Likewise.
15764 (LDFLAGS-tst-initorder2): Likewise.
15765 (LDFLAGS-tst-initorder2a.so): Likewise.
15766 (LDFLAGS-tst-initorder2b.so): Likewise.
15767 (LDFLAGS-tst-initorder2c.so): Likewise.
15768 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15769
d77f993f
DM
157702012-05-02 David S. Miller <davem@davemloft.net>
15771
15772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15773
171a70b4
PP
157742012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15775
15776 [BZ #14055]
15777 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15778
0be196ad
AJ
157792012-05-02 Andreas Jaeger <aj@suse.de>
15780
15781 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15782 since we manipulate rounding mode.
15783 (CPPFLAGS-test-idouble.c): Likewise.
15784 (CPPFLAGS-test-ifloat.c): Likewise.
15785 (CFLAGS-test-ldouble.c): Likewise.
15786 (CFLAGS-test-double.c): Likewise.
15787 (CFLAGS-test-float.c): Likewise.
15788 (CFLAGS-test-misc.c): Likewise.
15789 (CFLAGS-test-test-fenv.c): Likewise.
15790
4f9d04aa
AZ
157912012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15792
2b942cb7
RM
15793 [BZ #2550]
15794 [BZ #2570]
15795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15796 comparisons to determine direction to adjust input.
4f9d04aa 15797
82a79e7d
RM
157982012-05-01 Roland McGrath <roland@hack.frob.com>
15799
f5a01ca9
RM
15800 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15801 output to the target.
15802
90fe4186
RM
15803 * scripts/localplt.awk: New file.
15804 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15805 (check-localplt-CFLAGS): Variable removed.
15806 ($(all-built-dso:=.jmprel)): New static pattern rule.
15807 (generated): Add those targets.
15808 (localplt-built-dso): New variable.
15809 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15810
15811 * elf/check-localplt.c: File removed.
15812
82397ed6
RM
15813 * scripts/check-execstack.awk: New file.
15814 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15815 (check-execstack-CFLAGS): Variable removed.
15816 ($(objpfx)check-execstack.h): Target removed.
15817 ($(objpfx)execstack-default): New target.
15818 (generated): Add that instead of check-execstack.h.
15819 ($(all-built-dso:=.phdr)): New static pattern rule.
15820 (generated): Add those targets.
15821 * elf/check-execstack.c: File removed.
15822
82a79e7d
RM
15823 * scripts/check-textrel.awk: New file.
15824 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15825 (check-textrel-CFLAGS): Variable removed.
15826 (all-built-dso): Use := to define.o
15827 ($(all-built-dso:=.dyn)): New static pattern rule.
15828 (generated): Add those targets.
15829 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15830 * config.make.in (READELF): New substituted variable.
15831 * elf/check-textrel.c: File removed.
15832
62fde54f 158332012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15834
615605c9
JM
15835 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15836 allow.
15837 * conform/data/ctype.h-data [C99-based standards] (isblank):
15838 Expect function.
15839 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15840 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15842 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15843 Specify type. Require positive value.
15844 (EILSEQ): Likewise.
15845 (ERANGE): Likewise.
15846 [ISO || POSIX] (EILSEQ): Do not expect.
15847 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15848 Specify type. Require positive value.
15849 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15850 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15851 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15852 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15853 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15854 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15855 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15856 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15857 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15858 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15859 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15860 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15861 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15862 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15863 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15864 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15865 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15866 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15867 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15868 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15869 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15870 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15871 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15872 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15873 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15874 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15875 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15876 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15877 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15878 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15879 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15880 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15881 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15882 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15883 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15884 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15885 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15886 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15887 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15888 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15889 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15890 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15891 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15892 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15893 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15894 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15895 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15896 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15897 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15898 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15899 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15900 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15901 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15902 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15903 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15904 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15905 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15906 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15907 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15908 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15909 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15910 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15911 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15912 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15913 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15914 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15915 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15916 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15917 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15918 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15919 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15920 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15921 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15922 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15923 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15924 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15925 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15926 Require >= 2.
15927 (FLT_ROUNDS): Expect as macro, not constant.
15928 (FLT_MANT_DIG): Use macro-int-constant.
15929 (DBL_MANT_DIG): Likewise.
15930 (LDBL_MANT_DIG): Likewise.
15931 (FLT_DIG): Likewise.
15932 (DBL_DIG): Likewise.
15933 (LDBL_DIG): Likewise.
15934 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15935 (DBL_MIN_EXP): Likewise.
15936 (LDBL_MIN_EXP): Likewise.
15937 (FLT_MAX_EXP): Use macro-int-constant.
15938 (DBL_MAX_EXP): Likewise.
15939 (LDBL_MAX_EXP): Likewise.
15940 (FLT_MAX_10_EXP): Likewise.
15941 (DBL_MAX_10_EXP): Likewise.
15942 (LDBL_MAX_10_EXP): Likewise.
15943 (FLT_MAX): Use macro-constant.
15944 (DBL_MAX): Likewise.
15945 (LDBL_MAX): Likewise.
15946 (FLT_EPSILON): Use macro-constant. Give upper bound.
15947 (DBL_EPSILON): Likewise.
15948 (LDBL_EPSILON): Likewise.
15949 (FLT_MIN): Likewise.
15950 (DBL_MIN): Likewise.
15951 (LDBL_MIN): Likewise.
15952 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15953 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15954 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15955 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15956 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15957 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15958 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15959 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15960 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15961 [ISO11] (FLT_TRUE_MIN): Likewise.
15962 [ISO11] (LDBL_TRUE_MIN): Likewise.
15963 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15964 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15965 (SCHAR_MIN): Use macro-int-constant. Specify type.
15966 (SCHAR_MAX): Likewise.
15967 (UCHAR_MAX): Likewise.
15968 (CHAR_MIN): Likewise.
15969 (CHAR_MAX): Likewise.
15970 (MB_LEN_MAX): Use macro-int-constant.
15971 (SHRT_MIN): Use macro-int-constant. Specify type.
15972 (SHRT_MAX): Likewise.
15973 (USHRT_MAX): Likewise.
15974 (INT_MAX): Likewise.
15975 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15976 bound negative.
15977 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15978 bound with "U".
15979 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15980 bound with "L".
15981 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15982 bound negative. Suffix upper bound with "L".
15983 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15984 bound with "UL".
15985 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15986 Specify type.
15987 [C99-based standards] (LLONG_MAX): Likewise.
15988 [C99-based standards] (ULLONG_MAX): Likewise.
15989 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15990 == 0.
15991 [ISO11] (max_align_t): Require type.
15992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15993
c9140a62
JM
15994 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15995 from $CFLAGS, without defining away __attribute__ calls.
15996 (checknamespace): Use $CFLAGS_namespace.
15997
9af0bf29
JM
15998 * conform/conformtest.pl (@keywords): Only include C99 keywords
15999 for standards based on C99 or C11.
16000
343222a2
JM
16001 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16002 Disable tests.
16003 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16004 UNIX98]: Likewise.
16005
661f8cf0
JM
16006 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16007 usability of symbols in #if.
16008
ee74b9cb
JM
16009 * conform/conformtest.pl: If macro or constant types start
16010 "promoted:", expect the symbol to be of the following type
16011 promoted by the integer promotions.
62fde54f 16012
aafc49b3
JM
16013 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16014 in one place. Also handle "macro-constant".
16015
fefdf574
JM
16016 * conform/conformtest.pl: Only accept expected macro values with
16017 "==". Parse all "macro" lines in one place.
16018 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16019
f2d922fe
JM
16020 * conform/conformtest.pl: Handle braced types on "constant" lines
16021 instead of handling "typed-constant".
16022 * conform/data/signal.h-data: Use "constant" instead of
16023 "typed-constant".
16024
d22956c9
JM
16025 * conform/conformtest.pl: Handle "optional-" at start of lines in
16026 one place rather than duplicating several cases. Handle each
16027 format of "macro" line with initial "optional-".
16028
028e2e38
JM
16029 * conform/conformtest.pl: Only accept expected constant or
16030 optional-constant values with "==". Parse all "constant" lines in
16031 one place. Parse all "optional-constant" lines in one place.
16032 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16033 * conform/data/fmtmsg.h-data: Likewise.
16034 * conform/data/netinet/in.h-data: Likewise.
16035 * conform/data/tar.h-data: Likewise.
16036 * conform/data/limits.h-data: Use "==" form on "constant" and
16037 "optional-constant" lines.
16038
1b8f2850
JM
16039 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16040 Use -std=c99 for XOPEN2K.
16041 (@knownproblems): Remove.
16042 (newtoken): Don't check %isknown.
16043
a05a144b
JM
16044 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16045 Do not expect macro.
16046 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16047 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16048 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16049 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16050 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16051 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16052 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16054 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16055 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16056 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16057 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16058 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16059 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16060 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16061 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16062 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16063 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16064 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16065 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16066 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16067 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16068 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16069 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16070 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16071 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16072 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16075 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16076 [XPG3] (acosh): Likewise.
16077 [XPG3] (asinh): Likewise.
16078 [XPG3] (atanh): Likewise.
16079 [XPG3] (cbrt): Likewise.
16080 [XPG3] (expm1): Likewise.
16081 [XPG3] (ilogb): Likewise.
16082 [XPG3] (log1p): Likewise.
16083 [XPG3] (logb): Likewise.
16084 [XPG3] (nextafter): Likewise.
16085 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16086 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16087 [XPG3] (remainder): Likewise.
16088 [XPG3] (rint): Likewise.
16089 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16090 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16091 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16092 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16093 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16094 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16095 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16096 [UNIX98 || XOPEN2K] (scalb): Expect.
16097 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16098 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16099 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16100 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16101 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16102 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16103 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16104 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16105 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16106 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16107 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16108 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16109 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16110 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16111 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16112 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16113 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16115 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16116 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16117 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16118 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16119 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16120 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16121 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16122 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16123 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16124 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16125 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16126 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16127 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16128 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16129 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16130 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16131 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16132 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16133 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16134 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16135 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16136 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16137 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16138 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16139 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16140 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16141 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16142 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16143 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16144 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16145 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16146 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16147 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16148 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16149 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16150 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16151 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16152 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16153 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16154 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16155 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16156 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16157 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16158 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16159 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16160 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16161 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16162 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16163 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16164 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16165 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16166 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16167 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16168 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16169 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16170 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16171 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16172 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16173 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16174 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16175 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16176 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16177 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16178 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16179 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16180 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16181 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16182 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16183 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16184 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16185 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16186 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16187 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16188 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16189 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16190 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16191 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16192 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16193 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16194 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16195 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16196 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16197 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16198 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16199 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16200 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16201 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16202 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16203 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16204 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16205 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16206 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16207 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16208 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16209 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16210 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16211 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16212 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16213 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16214 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16215 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16216 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16217 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16218 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16219 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16220 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16221 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16222 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16223 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16224 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16225 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16226 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16227 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16228 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16229 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16230 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16231 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16232 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16233 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16234
73c5ebe3
JM
16235 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16236 _XOPEN_SOURCE_EXTENDED for XPG4.
16237
39c33b6c
JM
16238 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16239
62fde54f
JM
16240 * Makeconfig (localtime): Remove variable.
16241 (inst_localtime-file): Likewise.
16242
0741d64c
AS
162432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16244
16245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16246 Update.
16247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16248 Update.
16249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16250 Update.
16251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16252 Update.
16253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16254 Update.
16255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16256 Update.
16257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16258 Update.
16259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16260 Update.
16261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16262 Update.
16263
7cb029ee
JM
162642012-05-01 Joseph Myers <joseph@codesourcery.com>
16265
16266 [BZ #2550]
16267 [BZ #2570]
16268 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16269 comparisons to determine direction to adjust input.
16270 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16271 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16272 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16273 Likewise.
16274 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16275 Likewise.
16276 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16277 Likewise.
16278 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16279 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16280 Likewise.
16281 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16282 Likewise.
16283 * math/libm-test.inc (nexttoward_test): Add more tests.
16284
412bd966
AS
162852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16286
16287 [BZ #14040]
16288 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16289 in version GLIBC_2.1, not GLIBC_2.0.
16290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16291 Likewise.
16292
9568c0c2
JM
162932012-04-30 Joseph Myers <joseph@codesourcery.com>
16294
adfbc8ac
JM
16295 [BZ #13942]
16296 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16297 (1 - x) * (1 + x).
16298 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16299 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16300 * math/libm-test.inc (acos_test): Add more tests.
16301 (asin_test): Likewise.
16302 * sysdeps/i386/fpu/libm-test-ulps: Update.
16303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16304
5ba3cc69
JM
16305 [BZ #14034]
16306 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16307 of square root.
16308 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16309 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16310 * math/libm-test.inc (acos_test_tonearest): New function.
16311 (acos_test_towardzero): Likewise.
16312 (acos_test_downward): Likewise.
16313 (acos_test_upward): Likewise.
16314 (asin_test_tonearest): Likewise.
16315 (asin_test_towardzero): Likewise.
16316 (asin_test_downward): Likewise.
16317 (asin_test_upward): Likewise.
16318 (main): Call the new functions.
16319 * sysdeps/i386/fpu/libm-test-ulps: Update.
16320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16321
9568c0c2
JM
16322 [BZ #13884]
16323 [BZ #13924]
16324 * math/e_exp10.c: Include <float.h>.
16325 (__ieee754_exp10): Handle underflow here rather than multiplying
16326 large negative argument by M_LN10.
16327 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16328 of __ieee754_expf.
16329 * math/e_exp10l.c: Include <float.h>.
16330 (__ieee754_exp10l): Handle underflow here rather than multiplying
16331 large negative argument by M_LN10l.
16332 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16333 spurious overflow exception on underflow.
16334
5ac3ea17
MP
163352012-04-29 Marek Polacek <polacek@redhat.com>
16336
16337 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16338 (__fortify_function): New macro.
16339 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16340 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16341 __extern_always_inline.
16342 * libio/bits/stdio2.h: Likewise.
16343 * libio/bits/stdio.h: Likewise.
16344 * string/string.h: Likewise.
16345 * string/bits/string3.h: Likewise.
16346 * include/stdio.h: Likewise.
16347 * stdlib/bits/stdlib.h: Likewise.
16348 * stdlib/stdlib.h: Likewise.
16349 * rt/bits/mqueue2.h: Likewise.
16350 * rt/mqueue.h: Likewise.
16351 * posix/bits/unistd.h: Likewise.
16352 * posix/unistd.h: Likewise.
16353 * io/bits/poll2.h: Likewise.
16354 * io/bits/fcntl2.h: Likewise.
16355 * io/fcntl.h: Likewise.
16356 * io/sys/poll.h: Likewise.
16357 * misc/bits/syslog.h: Likewise.
16358 * misc/bits/syslog-ldbl.h: Likewise.
16359 * misc/sys/syslog.h: Likewise.
16360 * socket/bits/socket2.h: Likewise.
16361 * socket/sys/socket.h: Likewise.
16362 * debug/tst-chk1.c: Likewise.
16363 * wcsmbs/bits/wchar2.h: Likewise.
16364 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16365 * wcsmbs/wchar.h: Likewise.
16366
ecf0ebfb
AJ
163672012-04-29 Andreas Jaeger <aj@suse.de>
16368
16369 * Makerules (tests): Remove enable-check-abi protection.
16370 (check-abi-warn): Remove.
16371 (check-abi-%): Remove check-abi-warn usage.
16372
16373 * configure.in: Remove check-abi configure option.
16374 * configure: Regenerated.
16375 * config.make.in (enable-check-abi): Remove.
16376
6d5c57fa
AS
163772012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16378
24c5d07e 16379 [BZ #14033]
ded5180a
AS
16380 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16381 double functions to double *_finite functions.
16382
7e0d315d
AS
16383 [BZ #13941]
16384 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16385 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16386 LDBL_MIN_EXP.
16387 * stdio-common/Makefile (tests): Add tst-sprintf3.
16388 * stdio-common/tst-sprintf3.c: New file.
16389
6d5c57fa
AS
16390 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16391 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16392
0749ff8b
JM
163932012-04-28 Joseph Myers <joseph@codesourcery.com>
16394
16395 * conform/conformtest.pl: Remove duplicate typed-constant
16396 handling.
16397
8dbd5d7b
DM
163982012-04-28 David S. Miller <davem@davemloft.net>
16399
16400 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16401 (check-abi-%): Remove AWK script prerequisite and explicit
16402 abilist directory.
16403 (check-abi): Rewrite to just diff the symlist with the abilist.
16404 (config-tls, config-abi-config): Delete, no longer used.
16405 (update-abi-%): Remove AWK script and explicit abilist directory.
16406 (update-abi): Rewrite to simply compare and conditionally copy the
16407 symlist and the sysdep abilist file. Remove update-abi-config
16408 checks.
16409 * abilist/ld.abilist: Remove.
16410 * abilist/libBrokenLocale.abilist: Remove.
16411 * abilist/libanl.abilist: Remove.
16412 * abilist/libcrypt.abilist: Remove.
16413 * abilist/libdl.abilist: Remove.
16414 * abilist/librt.abilist: Remove.
16415 * abilist/libthread_db.abilist: Remove.
16416 * abilist/libutil.abilist: Remove.
16417 * scripts/extract-abilist.awk: Remove.
16418 * scripts/merge-abilist.awk: Remove.
16419 * sysdeps/generic/libcidn.abilist: New file.
16420 * sysdeps/generic/libnss_compat.abilist: New file.
16421 * sysdeps/generic/libnss_db.abilist: New file.
16422 * sysdeps/generic/libnss_dns.abilist: New file.
16423 * sysdeps/generic/libnss_files.abilist: New file.
16424 * sysdeps/generic/libnss_hesiod.abilist: New file.
16425 * sysdeps/generic/libnss_nis.abilist: New file.
16426 * sysdeps/generic/libnss_nisplus.abilist: New file.
16427 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16428 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16429 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16430 file.
16431 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16432 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16433 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16434 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16435 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16436 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16437 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16438 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16439 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16440 file.
16441 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16442 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16443 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16444 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16445 file.
16446 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16447 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16448 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16449 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16450 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16451 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16452 file.
16453 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16454 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16455 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16456 file.
16457 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16459 New file.
16460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16461 New file.
16462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16463 New file.
16464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16465 New file.
16466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16467 New file.
16468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16469 New file.
16470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16471 New file.
16472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16473 New file.
16474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16475 New file.
16476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16477 New file.
16478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16479 New file.
16480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16481 New file.
16482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16483 New file.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16485 file.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16487 New file.
16488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16489 New file.
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16491 file.
16492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16493 New file.
16494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16495 New file.
16496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16497 file.
16498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16499 New file.
16500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16501 New file.
16502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16503 New file.
16504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16505 New file.
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16507 New file.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16509 New file.
16510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16512 file.
16513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16514 New file.
16515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16516 file.
16517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16518 file.
16519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16520 file.
16521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16522 file.
16523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16524 file.
16525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16526 New file.
16527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16528 file.
16529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16530 file.
16531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16532 New file.
16533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16534 file.
16535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16537 file.
16538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16539 New file.
16540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16541 file.
16542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16543 file.
16544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16545 file.
16546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16547 file.
16548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16549 file.
16550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16551 New file.
16552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16553 file.
16554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16555 file.
16556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16557 New file.
16558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16559 file.
16560 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16561 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16562 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16563 file.
16564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16565 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16566 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16567 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16568 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16569 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16570 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16571 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16572 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16573 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16576 file.
16577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16578 New file.
16579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16580 file.
16581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16582 file.
16583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16584 file.
16585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16586 file.
16587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16588 file.
16589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16590 New file.
16591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16592 New file.
16593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16594 file.
16595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16596 New file.
16597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16598 file.
16599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16601 file.
16602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16603 New file.
16604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16605 file.
16606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16607 file.
16608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16609 file.
16610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16611 file.
16612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16613 file.
16614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16615 New file.
16616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16617 New file.
16618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16619 file.
16620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16621 New file.
16622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16623 file.
16624
41d73a1b
JM
166252012-04-28 Joseph Myers <joseph@codesourcery.com>
16626
16627 * conform/conformtest.pl: Fix typo in handling typed-constant from
16628 allow-header.
16629
28aeeda4
JM
166302012-04-27 Joseph Myers <joseph@codesourcery.com>
16631
adae8f5e
JM
16632 * README: Cut down references to pre-2.6 Linux kernels and
16633 Linuxthreads. Update lists of configurations in libc and ports
16634 and sort alphabetically. Say "or newer" with Linux kernel version
16635 requirements.
16636
28aeeda4
JM
16637 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16638
a462cb63
RA
166392012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16640
16641 [BZ #887]
16642 * math/libm-test.inc (logb_test_downward): New test to expose
16643 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16644 rounding mode.
16645
6ad3493e
JM
166462012-04-27 Joseph Myers <joseph@codesourcery.com>
16647
16648 [BZ #14027]
16649 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16650 to be done.
16651 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16652 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16653
2ce4f015
JM
166542012-04-26 Joseph Myers <joseph@codesourcery.com>
16655
5aeb141a
JM
16656 * sysdeps/unix/i386/brk.S: Remove file.
16657 * sysdeps/unix/i386/dl-brk.S: Likewise.
16658 * sysdeps/unix/i386/pipe.S: Likewise.
16659 * sysdeps/unix/i386/sigreturn.S: Likewise.
16660 * sysdeps/unix/i386/syscall.S: Likewise.
16661 * sysdeps/unix/i386/vfork.S: Likewise.
16662 * sysdeps/unix/i386/wait.S: Likewise.
16663
7143acae
JM
16664 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16665 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16666
2ce4f015
JM
16667 * configure.in (arm*-none*): Do not allow without
16668 --enable-hacker-mode.
16669 (netbsd*): Remove case setting base_os.
16670 (386bsd*): Likewise.
16671 (freebsd*): Likewise.
16672 (bsdi*): Likewise.
16673 (osf*): Likewise.
16674 (sunos*): Likewise.
16675 (ultrix*): Likewise.
16676 (newsos*): Likewise.
16677 (dynix*): Likewise.
16678 (*bsd*): Likewise.
16679 (sysv*): Likewise.
16680 (isc*): Likewise.
16681 (esix*): Likewise.
16682 (sco*): Likewise.
16683 (minix*): Likewise.
16684 (irix4*): Likewise.
16685 (irix6*): Likewise.
16686 (solaris[2-9]*): Likewise.
16687 (none): Likewise.
16688 * configure: Regenerated.
16689
0ac229c8
AZ
166902012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16691
16692 [BZ #11521]
16693 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16694 overflow or cancellation in calculating denominator.
16695 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16697 down expression to avoid unexpected rounding in newer GCCs.
16698 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16699
33f244f4
DM
167002012-04-26 David S. Miller <davem@davemloft.net>
16701
16702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16703 long-double compat symbols.
16704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16717
cfa1f3e8
DM
167182012-04-25 David S. Miller <davem@davemloft.net>
16719
16720 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16721 HWCAP_* values only after the memory barriers have been defined.
16722 (atomic_full_barrier): Define.
16723 (atomic_read_barrier): Define.
16724 (atomic_write_barrier): Define.
16725
6e236b92
SP
167262012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16727
16728 * shlib-versions: Add libgcc_s version information.
16729 * sysdeps/generic/libgcc_s.h: Remove.
16730 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16731 libgcc_s.h.
16732 * sysdeps/gnu/unwind-resume.c: Likewise.
16733 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16734
aab39a09
DM
167352012-04-25 David S. Miller <davem@davemloft.net>
16736
16737 * sysdeps/unix/sparc/brk.S: Delete.
16738 * sysdeps/unix/sparc/dl-brk.S: Delete.
16739 * sysdeps/unix/sparc/pipe.S: Delete.
16740 * sysdeps/unix/sparc/sysdep.S: Delete.
16741 * sysdeps/unix/sparc/sysdep.h: Delete.
16742 * sysdeps/unix/sparc/vfork.S: Delete.
16743 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16744 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16745 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16746 ret_ERRVAL, r0, r1, MOVE): Define.
16747 (JUMPTARGET): Remove.
16748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16749 sysdeps/unix/sparc/sysdep.h
16750 (ENTRY, END): Remove.
16751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16752
a3cc4f48
JM
167532012-04-25 Joseph Myers <joseph@codesourcery.com>
16754
2ed8cda2
JM
16755 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16756 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16757 -DIS_IN_build.
16758
35d76d59
JM
16759 * timezone/README: Update upstream location and email address for
16760 tzcode and tzdata.
16761 * timezone/zdump.c: Update from tzcode 2012b.
16762 * timezone/zic.c: Likewise.
16763
a3cc4f48
JM
16764 * configure.in (libc_cv_as_needed): Remove test.
16765 * configure: Regenerated.
16766 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16767 conditional definition.
16768 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16769 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16770 * config.make.in (have-as-needed): Remove variable.
16771
ceab42c3
SP
167722012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16773 Paul Pluzhnikov <ppluzhnikov@google.com>
16774
16775 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16776 strings correctly.
16777
3ce2865f
CLT
167782012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16779
16780 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16781 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16782 * sysdeps/sh/strlen.S: Likewise.
16783
f37e0d68
JM
167842012-04-24 Joseph Myers <joseph@codesourcery.com>
16785
ae186e9a
JM
16786 * sysdeps/unix/fork.S: Remove file.
16787 * sysdeps/unix/i386/fork.S: Likewise.
16788 * sysdeps/unix/sparc/fork.S: Likewise.
16789
b96914af
JM
16790 * sysdeps/unix/system.c: Remove file.
16791 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16792
f37e0d68
JM
16793 * sysdeps/unix/getegid.S: Remove file.
16794 * sysdeps/unix/geteuid.S: Likewise.
16795
87ef29ca
RM
167962012-04-24 Roland McGrath <roland@hack.frob.com>
16797
83bcd236
RM
16798 * scripts/check-localplt.awk: New file.
16799 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16800 of diff.
16801 * scripts/data/localplt-generic.data: Add a comment.
16802
87ef29ca
RM
16803 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16804 NODE when __dir_mkfile failed.
16805 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16806 Reported by Ludovic Courtès <ludo@gnu.org>.
16807
e5a6e567
AJ
168082012-04-24 Andreas Jaeger <aj@suse.de>
16809
16810 * Makerules (common-clean): Also remove gen-as-const-headers
16811 files.
16812
c1820385
JM
168132012-04-24 Joseph Myers <joseph@codesourcery.com>
16814
16815 * Makerules (native-compile): Do not change working directory for
16816 build. Use $(OUTPUT_OPTION) in command.
16817 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16818
94e02fc4
AZ
168192012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16820
16821 [BZ #13886]
16822 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16823 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16824 * math/libm-test.inc (floor_test): Add more tests.
16825 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16826
3a533ca3
JM
168272012-04-24 Joseph Myers <joseph@codesourcery.com>
16828
940ab4b3
JM
16829 * sysdeps/unix/getdents.c: Remove file.
16830 * sysdeps/unix/sysv/getdents.c: Likewise.
16831 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16832
90e037bd
JM
16833 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16834 sysdeps/unix/mman/syscalls.list.
16835 (mmap): Likewise.
16836 (mprotect): Likewise.
16837 (msync): Likewise.
16838 (munmap): Likewise.
16839 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16840 * sysdeps/unix/mman/syscalls.list: Remove.
16841 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16842
3a533ca3
JM
16843 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16844 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16845 * configure: Regenerated.
16846 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16847 $(libgcc_s_suffix).
16848 * config.make.in (libgcc_s_suffix): Remove variable.
16849
1ad743de
JM
168502012-04-23 Joseph Myers <joseph@codesourcery.com>
16851
4ad451e2
JM
16852 * sysdeps/unix/sysv/gethostname.c: Move to ...
16853 * sysdeps/posix/gethostname.c: ... here.
16854
5e37ce39
JM
16855 * sysdeps/unix/execve.S: Remove file.
16856
1ad743de
JM
16857 * sysdeps/unix/_exit.S: Remove file.
16858
4e681b5b
AJ
168592012-04-23 Andreas Jaeger <aj@suse.de>
16860
16861 [BZ #13739]
16862 * manual/Makefile: Remove make dist support, there's no
16863 need for a stand-alone documentation tar ball.
16864 (TEXI2DVI): Define always, it's not in Makeconfig.
16865 (dist): Removed.
16866 (tar-it): Removed.
16867 (edition): Removed.
16868 (glibc-doc-$(edition).tar): Removed
16869 (%.Z): Removed.
16870 (%.gz): Removed.
16871 (%.uu): Removed.
16872 (ETAGS): Remove, it's in Makeconfig.
16873 (move-if-change): Remove, it's in Makeconfig.
16874
38686a03 168752012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16876
16877 [BZ #13970]
16878 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16879 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16880 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16881 (strtod_l, strtof_l, strtold_l): Remove __wur.
16882 It is not necessarily an error to ignore strtol's return value.
16883 One can reliably look at the stored endptr to decide whether
16884 the number had valid syntax.
16885
7c0616fa
AJ
168862012-04-21 Andreas Jaeger <aj@suse.de>
16887
803cb6b7 16888 [BZ #13739]
7c0616fa
AJ
16889 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16890
b0fe253f
JM
168912012-04-21 Joseph Myers <joseph@codesourcery.com>
16892
16893 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16894 * sysdeps/unix/sysv/Versions: Remove file.
16895
8280f22d
MT
168962012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16897
16898 [BZ #13927]
16899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16900
75ce411f 169012012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16902
16903 [BZ #7064]
16904 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16905 version from __vm86.
16906
097d59fa
JM
169072012-04-20 Joseph Myers <joseph@codesourcery.com>
16908
a90f3bcb
JM
16909 * sysdeps/unix/common/lxstat.c: Remove file.
16910 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16911
edc7ea78
JM
16912 * sysdeps/unix/sysv/Makefile: Remove file.
16913
cb78c221
JM
16914 * sysdeps/unix/sysv/direct.h: Remove file.
16915
efa6a45f
JM
16916 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16917 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16918 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16919 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16920 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16921 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16922 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16923
9c9f2d0c
JM
16924 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16925
4541c83b
JM
16926 * sysdeps/unix/xmknod.c: Remove file.
16927 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16928
f5d153a0
JM
16929 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16930
aa746595
JM
16931 * sysdeps/unix/sysv/i386/time.S: Remove file.
16932
cce5905e
JM
16933 * sysdeps/unix/fxstat.c: Remove file.
16934 * sysdeps/unix/xstat.c: Likewise.
16935 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16936
37fa3841
JM
16937 * sysdeps/unix/sysv/sigaction.c: Remove file.
16938
ff1962a3
JM
16939 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16940 (sysdep_headers): Remove variable.
16941 [termio.h not in sysdep_headers] (generated): Likewise.
16942 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16943 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16944 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16945 * sysdeps/unix/sysv/tcflow.c: Likewise.
16946 * sysdeps/unix/sysv/tcflush.c: Likewise.
16947 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16948 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16949 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16950 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16951 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16952
e7740d31
JM
16953 * sysdeps/unix/siglist.c: Remove file.
16954
ee06f18b
JM
16955 * sysdeps/unix/getppid.S: Remove file.
16956
097d59fa
JM
16957 * sysdeps/unix/mkdir.c: Remove file.
16958 * sysdeps/unix/rmdir.c: Likewise.
16959
ff3d51ec
AS
169602012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16961
16962 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16963 ERR_MAX value.
16964 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16965 errlist-compat value.
16966
50f81fd7
DM
169672012-04-18 David S. Miller <davem@davemloft.net>
16968
16969 * sysdeps/generic/memcopy.h (reg_char): Delete.
16970 * debug/strcat_chk.c: Use char, not reg_char.
16971 * debug/strcpy_chk.c: Likewise.
16972 * debug/strncat_chk.c: Likewise.
16973 * debug/strncpy_chk.c: Likewise.
16974 * string/memchr.c: Likewise.
16975 * string/memrchr.c: Likewise.
16976 * string/rawmemchr.c: Likewise.
16977 * string/strcat.c: Likewise.
16978 * string/strchr.c: Likewise.
16979 * string/strchrnul.c: Likewise.
16980 * string/strcmp.c: Likewise.
16981 * string/strcpy.c: Likewise.
16982 * string/strncat.c: Likewise.
16983 * string/strncmp.c: Likewise.
16984 * string/strncpy.c: Likewise.
16985
8ff41c46
WS
169862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16987
16988 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16989 __builtin_memcopy is called when src and dest ranges are known to not
16990 overlap.
16991
6b652f46
WS
169922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16993
16994 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16995 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16996 fwd_align_merge macro call.
16997 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16998 bwd_align_merge macro call.
16999 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17000
b282631e
WS
170012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17002
17003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17004 bwd_align_merge macros.
17005 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17006 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17008
95aa737c
DM
170092012-04-18 David S. Miller <davem@davemloft.net>
17010
17011 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17012
7a99a614
AJ
170132012-04-18 Andreas Jaeger <aj@suse.de>
17014
17015 [BZ# 6794]
17016 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17017 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17018 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17019
17020 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17021 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17022 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17023
17024 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17025 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17026 Adjust for changed ldbl-128 files.
17027
17028 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17029 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17031
e5270c23
DM
170322012-04-17 David S. Miller <davem@davemloft.net>
17033
17034 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17035
fb5e92c9
AS
170362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17037
17038 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17039 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17040 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17041 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17042 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17043 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17044
76da7265
AZ
170452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17046
17047 [BZ #6794]
17048 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17049 * math/libm-test.inc: Add ilogb errno and exception tests.
17050 * math/w_ilogb.c: New file: ilogb wrapper.
17051 * math/w_ilogbf.c: New file: ilogbf wrapper.
17052 * math/w_ilogbl.c: New file: ilogbl wrapper.
17053 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17054 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17055 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17056 exception being thrown with 0.0 as argument.
17057 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17058 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17059 exception being thrown with 0.0 as argument.
17060 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17061 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17062 exception being thrown with 0.0 as argument.
17063 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17064 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17065 exception being thrown with 0.0 as argument.
17066 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17067 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17068 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17069 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17071 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17072 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17073 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17074 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17075
0396e69d
PB
170762012-04-17 Petr Baudis <pasky@ucw.cz>
17077
17078 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17079 with altivec.
17080
750b5926
MP
170812012-04-16 Marek Polacek <polacek@redhat.com>
17082
17083 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17084
751728a1
MP
170852012-04-16 Marek Polacek <polacek@redhat.com>
17086
17087 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17088 operands of fdivp instruction.
17089
34a27407
L
170902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17091
17092 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17093 * elf/tst-auditmod3b.c: Likewise.
17094 * elf/tst-auditmod4b.c: Likewise.
17095 * elf/tst-auditmod5b.c: Likewise.
17096 * elf/tst-auditmod6b.c: Likewise.
17097 * elf/tst-auditmod6c.c: Likewise.
17098 * elf/tst-auditmod7b.c: Likewise.
17099 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17100 * sysdeps/x86_64/preconfigure.in: Likewise.
17101 * sysdeps/x86_64/preconfigure: Regenerated.
17102
7e73e17d
L
171032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17104
17105 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17106 __ILP32__.
17107
c7a6ab72
AB
171082012-04-13 Antoine Balestrat <merkil33@gmail.com>
17109
17110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17111 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17112
a9e8e0e0
CL
171132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17114
17115 [BZ #13973]
17116 * locale/iso-639.def: Fix gl language name. Spotted by
17117 Yaron Shahrabani.
17118
ec98af7d
RM
171192012-04-12 Roland McGrath <roland@hack.frob.com>
17120
17121 [BZ #2074]
17122 * libio/libio.h (__io_write_fn): Update comment.
17123
247c3ede
PB
171242012-04-12 Petr Baudis <pasky@ucw.cz>
17125
17126 [BZ #2074]
17127 * stdio.texi (Hook Functions): The user provided writer function
17128 is not allowed to return -1.
17129
55939d6d
DM
171302012-04-11 David S. Miller <davem@davemloft.net>
17131
17132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17133
90020f5a
MF
171342012-04-11 Mike Frysinger <vapier@gentoo.org>
17135
17136 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17137 Add a leading slash to rtkaio.
17138
288f9098
JM
171392012-04-11 Jim Meyering <meyering@redhat.com>
17140
90020f5a
MF
17141 [BZ #11959]
17142 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17143 It is not necessarily an error to ignore fwrite's return
17144 value. One can reliably use ferror to test for errors after
17145 the fact.
288f9098 17146
4be2b570
L
171472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17148
17149 * bits/types.h (__snseconds_t): New type.
17150 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17151
17152 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17154 (__SNSECONDS_T_TYPE): Likewise.
17155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17156 (__SNSECONDS_T_TYPE): Likewise.
17157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17158 (__SNSECONDS_T_TYPE): Likewise.
17159
288f9098 171602012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17161
17162 [BZ #2636]
17163 * manual/time.texi (Processor Time): Return type of times is
17164 elapsed real time since an arbitrary point in the past.
17165 (CPU Time): Move CLK_TCK from here...
17166 (Processor Time): ...to here. Correct description.
17167 * manual/conf.texi (Constants for Sysconf): Correct description of
17168 _SC_CLK_TCK.
17169
d7dd4413
DM
171702012-04-10 David S. Miller <davem@davemloft.net>
17171
17172 [BZ #13967]
17173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17174 where the is a gap between DT_REL(A) and DT_JMPREL.
17175
b46068fc
L
171762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17177
17178 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17179 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17180 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17181
73d65cc3
SP
171822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17183
17184 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17185 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17186 (dl_main): Handle --inhibit-cache.
17187 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17188 _dl_inhibit_cache.
17189 * elf/dl-load.c (_dl_map_object): Use it.
17190 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17191
bcc8d661
JM
171922012-04-09 Joseph Myers <joseph@codesourcery.com>
17193
8f9a2fae
JM
17194 [BZ #13872]
17195 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17196 (__ieee754_powl): Saturate large exponents rather than testing for
17197 overflow of y*log2(x).
17198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17199 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17200 exceptions.
17201
bcc8d661
JM
17202 [BZ #11521]
17203 * math/s_ctan.c: Include <float.h>.
17204 (__ctan): Avoid internal overflow or cancellation in calculating
17205 denominator.
17206 * math/s_ctanf.c: Likewise.
17207 * math/s_ctanl.c: Likewise.
17208 * math/s_ctanh.c: Likewise.
17209 * math/s_ctanhf.c: Likewise.
17210 * math/s_ctanhl.c: Likewise.
17211 * math/libm-test.inc (ctan_test): Add more tests.
17212 (ctanh_test): Likewise.
17213 * sysdeps/i386/fpu/libm-test-ulps: Update.
17214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17215
823fbbb4
AJ
172162012-04-09 Andreas Jaeger <aj@suse.de>
17217
03879793
AJ
17218 [BZ #6894]
17219 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17220 is an optional BSD extension.
17221
823fbbb4
AJ
17222 [BZ #10254]
17223 * manual/stdio.texi (Opening Streams): Document additional fopen
17224 parameters.
17225
8de131cb
RM
172262012-04-09 Roland McGrath <roland@hack.frob.com>
17227
17228 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17229 %eax without telling the compiler.
17230
c0ed9d7d
CD
172312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17232
17233 [BZ # 13963]
17234 * manual/install.texi: Use sourceware.org.
17235
c483f6b4
JM
172362012-04-09 Joseph Myers <joseph@codesourcery.com>
17237
d7dd9453
JM
17238 [BZ #13873]
17239 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17240 (__ieee754_pow): Generate overflow and underflow using huge*huge
17241 and tiny*tiny rather than just returning constant infinity or zero
17242 for large exponents.
17243 * math/libm-test.inc (pow_test): Require overflow exceptions for
17244 applicable cases of large exponents.
17245
c483f6b4
JM
17246 [BZ #706]
17247 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17248 (__ieee754_pow): Use iterative multiplication algorithm only for
17249 integer exponents with absolute value below 1024. Check for odd
17250 integer exponents when using algorithm for real exponents.
17251 * math/libm-test.inc (pow_test): Add more tests.
17252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17253
d2de7579
JM
172542012-04-08 Joseph Myers <joseph@codesourcery.com>
17255
17256 [BZ #13705]
17257 * math/libm-test.inc (exp_test): Do not allow overflow exception
17258 on underflow test.
17259
f77f1232
AJ
172602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17261
17262 [BZ #13705]
17263 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17264 instead of __kernel_standard_f.
17265
3884932b
MF
172662012-04-08 Mike Frysinger <vapier@gentoo.org>
17267
17268 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17269 * sysdeps/x86_64/memset_chk.S: Likewise.
17270
54472e9c
AJ
172712012-04-08 Andreas Jaeger <aj@suse.de>
17272
6ab0fbfc
AJ
17273 [BZ #10153]
17274 * manual/startup.texi (Environment Access): Describe return value
17275 for putenv and setenv.
17276
61efba8c
AJ
17277 [BZ #6895]
17278 * manual/filesys.texi (Directory Entries): Add description for
17279 DT_LNK.
17280
95c3f29a
AJ
17281 [BZ #6890]
17282 * manual/filesys.texi (Directory Entries): Clarify that it's file
17283 system not operating system in the description of DT_UNKNOWN.
17284
54472e9c
AJ
17285 [BZ #6578]
17286 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17287
624254b1
SC
172882012-04-08 Stephen Compall <s11@member.fsf.org>
17289
17290 [BZ #6649]
17291 * manual/llio.texi (Opening and Closing Files): Add cross
17292 reference to explain mode argument.
17293
1e4920e0
MF
172942012-04-07 Mike Frysinger <vapier@gentoo.org>
17295
17296 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17297 * sysdeps/x86_64/memset_chk.S: Likewise.
17298
5ed848f3
DM
172992012-04-07 David S. Miller <davem@davemloft.net>
17300
17301 * elf/elf.h (R_SPARC_WDISP10): Define.
17302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17303 R_SPARC_SIZE32.
17304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17305 R_SPARC_SIZE64 and R_SPARC_H34.
17306
96154cd8
CD
173072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17308
17309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17310 conditions and remove no longer applicable assertion.
17311
9904dc47
L
173122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17313
17314 * bits/byteswap.h: Include <features.h>.
17315 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17316 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17317
f8887d0a
L
173182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17319
17320 * bits/byteswap.h (__bswap_16): Removed.
17321 Include <bits/byteswap-16.h> to get __bswap_16.
17322 * sysdeps/i386/bits/byteswap.h: Likewise.
17323 * sysdeps/s390/bits/byteswap.h: Likewise.
17324 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17325 * bits/byteswap-16.h: New file.
17326 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17327 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17328 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17329 * string/Makefile (headers): Add bits/byteswap-16.h.
17330
62470f60
PP
173312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17332
17333 [BZ #13895]
17334 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17335 extra indirection.
17336 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17337 * nss/tst-nss-static.c: New.
17338
4dad7bab
RM
173392012-04-06 Robert Millan <rmh@gnu.org>
17340
17341 [BZ #6486]
17342 * manual/llio.texi (File Position Primitive): lseek
17343 refers to WHENCE when it really means OFFSET.
17344
e9142a17
AJ
173452012-04-06 Andreas Jaeger <aj@suse.de>
17346
2c040eff
AJ
17347 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17348 strncmp declarations.
17349
e9142a17
AJ
17350 * abilist/libc.abilist: Add __poll and __ppoll.
17351
ff9f1c5f
DM
173522012-04-05 David S. Miller <davem@davemloft.net>
17353
dcd2ae90
DM
17354 * scripts/check-local-headers.sh: Accept a host triplet in the
17355 path matched by the exclude regexp.
17356
993eb054
DM
17357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17358 definition.
17359 * sysdeps/powerpc/powerpc32/dl-machine.h
17360 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17361 * sysdeps/s390/s390-32/dl-machine.h
17362 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17363 * sysdeps/sparc/sparc32/dl-machine.h
17364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17365 * sysdeps/sparc/sparc64/dl-machine.h
17366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17367
ff9f1c5f
DM
17368 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17369 lazy binding.
48e2e132 17370 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17371 undefined symbol errors.
17372
48e2e132 17373 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17374 DT_NEEDED entries.
17375
e80d6f94
MM
173762012-04-05 Michael Matz <matz@suse.de>
17377
17378 [BZ #13592]
17379 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17380
349fa79f
AJ
173812012-04-05 Andreas Jaeger <aj@suse.de>
17382
17383 [BZ #13908]
17384 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17385 comment.
17386
f402708f
KK
173872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17388
17389 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17390 which ROUND is no valid rounding mode.
17391
2ecccfc9
KK
173922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17393
17394 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17395 read again.
17396 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17397
8a53f50f
KK
173982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17399
17400 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17401 an exception using FPU order intentionally.
17402
174032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17404
17405 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17406 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17407 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17408 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17409
d653abb7
SJ
174102012-04-05 Simon Josefsson <simon@josefsson.org>
17411
17412 [BZ #12340]
17413 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17414 EINVAL when BUFLEN is too smal.
17415
c3b1bf7d
TS
174162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17417
17418 [BZ #13553]
17419 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17420 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17421
b1aa60f3
AJ
174222012-04-03 Andreas Jaeger <aj@suse.de>
17423
c3b1bf7d 17424 [BZ #13938]
67f60a26
AJ
17425 * manual/setjmp.texi (System V contexts): Fix sentence.
17426
b1aa60f3
AJ
17427 [BZ #13926]
17428 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17429 New macro for this case.
17430 [!__GNUC__] (__bswap_64): New inline function for this case.
17431 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17432 * bits/byteswap.h: Likewise.
17433 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17434 ull, guard with __GLIBC_HAVE_LONG_LONG.
17435
17436 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17437 __GLIBC_HAVE_LONG_LONG.
17438
17439 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17440 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17441
39c59c35
TMQMF
174422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17443
17444 [BZ #13691]
17445 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17446 inptr and inend, rather than using last_ch.
17447
135ffda8
DM
174482012-04-02 David S. Miller <davem@davemloft.net>
17449
17450 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17451 * stdio-common/printf-parse.h (read_int): Change return type to
17452 'int', return -1 on INT_MAX overflow.
17453 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17454 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17455 overflows INT_MAX. Check for overflow of in-format-string precision
17456 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17457 SIZE_MAX not INT_MAX for integer overflow test.
17458 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17459 skip the construct in the format string but do not record anything.
17460 * stdio-common/bug22.c: Adjust to test both width/prevision
17461 INT_MAX overflow as well as total length INT_MAX overflow. Check
17462 explicitly for proper errno values.
17463
228c019e
TS
174642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17465
302cadd3
TS
17466 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17467 CHAR_MAX.
17468 * string/test-strcmp.c [! WIDE]: Likewise.
17469 * time/tst-mktime2.c: Likewise for INT_MAX.
17470 * string/test-string.h: #include <sys/param.h> for MIN.
17471
228c019e
TS
17472 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17473 * sysdeps/i386/init-first.c (init): Likewise.
17474 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17475 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17476 * sysdeps/sh/init-first.c (init): Likewise.
17477
cfa633f5
UD
174782012-04-01 Ulrich Drepper <drepper@gmail.com>
17479
17480 * po/ru.po: Update from translation team.
d1635ef8 17481 * po/vi.po: Likewise.
cfa633f5 17482
6cd0a5ea
SP
174832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17484
17485 * resolv/nss_dns/dns-host.c: Merge copyright years.
17486
4b43400f
LD
174872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17488
17489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17490 Optimize memcpy with prefetch if
17491 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17492 src, dst pointers have unequal 16 byte alignments.
17493
48c41d04
SP
174942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17495
17496 [BZ #13928]
17497 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17498 from a CNAME entry and return the minimum ttl for the query.
17499 (gaih_getanswer_slice): Likewise.
17500
b8dc394d
JL
175012012-03-30 Jeff Law <law@redhat.com>
17502
17503 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17504 due to long keys.
17505 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17506 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17507
2f5a5ed0
JL
17508 * resolv/nss_dns/dns-host.c: Update copyright year.
17509
1d39e359
UD
175102012-03-30 Ulrich Drepper <drepper@gmail.com>
17511
c030f70c 17512 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17513 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17514
1d39e359
UD
17515 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17516 comments for sendmmsg.
17517
175182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17519
17520 [BZ #13691]
17521 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17522 with only 1 character between 0x0041 and 0x01b0.
17523 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17524 * wcsmbs/tst-mbsnrtowcs.c: New file.
17525
20fde227
DM
175262012-03-29 David S. Miller <davem@davemloft.net>
17527
17528 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17529 small copies by hand.
17530
984a4237
JL
175312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17532
17533 [BZ #13761]
17534 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17535 _nss_compat_initgroups_dyn): Fall back to malloc/free
17536 for large group memberships.
17537
18c9d62b
DM
175382012-03-28 David S. Miller <davem@davemloft.net>
17539
88d85d4f
DM
17540 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17541 that branches into memcpy.
17542 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17543 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17545 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17547 bits.
17548 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17549 implementation too.
17550 * sysdeps/sparc/mempcpy.S: New file.
17551
e5aa83e1
DM
17552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17553 the IFUNC routine in the libc case.
17554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17555
88570753
DM
17556 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17557 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17558 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17559 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17560 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17561 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17562 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17563 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17564
249d7567
DM
17565 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17566 loop to 256 bytes instead of 64 bytes and fix test signedness.
17567
18c9d62b
DM
17568 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17569 * sysdeps/sparc/sparc32/Makefile: rather than here...
17570 * sysdeps/sparc/sparc64/Makefile: and here.
17571
05f3d1f6
UD
175722012-03-28 Ulrich Drepper <drepper@gmail.com>
17573
17574 * malloc/mallocbug.c: Avoid warnings about unused variables.
17575
86ae07a8
JL
175762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17577
17578 [BZ #13760]
17579 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17580 in the right place. Discard and retry query if response is
17581 larger than input buffer size.
17582
41bf21a1
JM
175832012-03-28 Joseph Myers <joseph@codesourcery.com>
17584
d6270972
JM
17585 [BZ #369]
17586 [BZ #2678]
17587 [BZ #3866]
17588 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17589 x for large integer exponent.
17590 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17591 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17592 sign of result as needed afterwards.
17593 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17595 result for underflowing pow the same as for overflow.
17596 (__kernel_standard_l): Handle powl overflow and underflow here
17597 rather than calling __kernel_standard.
17598 * math/libm-test.inc (pow_test): Add more tests.
17599
414fca03 17600 [BZ #3868]
41bf21a1
JM
17601 [BZ #13879]
17602 [BZ #13910]
17603 [BZ #13911]
17604 [BZ #13912]
17605 [BZ #13913]
17606 [BZ #13915]
17607 [BZ #13916]
17608 [BZ #13917]
17609 [BZ #13918]
17610 [BZ #13919]
17611 [BZ #13920]
17612 [BZ #13921]
17613 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17614 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17615 (__kernel_standard_l): New function.
17616 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17617 __kernel_standard.
17618 * math/w_acosl.c (__acosl): Likewise.
17619 * math/w_asinl.c (__asinl): Likewise.
17620 * math/w_atan2l.c (__atan2l): Likewise.
17621 * math/w_atanhl.c (__atanhl): Likewise.
17622 * math/w_coshl.c (__coshl): Likewise.
17623 * math/w_exp10l.c (__exp10l): Likewise.
17624 * math/w_exp2l.c (__exp2l): Likewise.
17625 * math/w_fmodl.c (__fmodl): Likewise.
17626 * math/w_hypotl.c (__hypotl): Likewise.
17627 * math/w_j0l.c (__j0l, __y0l): Likewise.
17628 * math/w_j1l.c (__j1l, __y1l): Likewise.
17629 * math/w_jnl.c (__jnl, __ynl): Likewise.
17630 * math/w_lgammal.c (__lgammal): Likewise.
17631 * math/w_log10l.c (__log10l): Likewise.
17632 * math/w_log2l.c (__log2l): Likewise.
17633 * math/w_logl.c (__logl): Likewise.
17634 * math/w_powl.c (__powl): Likewise.
17635 * math/w_remainderl.c (__remainderl): Likewise.
17636 * math/w_scalbl.c (sysv_scalbl): Likewise.
17637 * math/w_sinhl.c (__sinhl): Likewise.
17638 * math/w_sqrtl.c (__sqrtl): Likewise.
17639 * math/w_tgammal.c (__tgammal): Likewise.
17640 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17641 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17642 * math/libm-test.inc (acos_test): Add more tests.
17643 (acosh_test): Likewise.
17644 (asin_test): Likewise.
17645 (atanh_test): Likewise.
17646 (exp_test): Likewise.
17647 (exp10_test): Likewise.
17648 (exp2_test): Likewise.
17649 (expm1_test): Likewise.
17650 (lgamma_test): Likewise.
17651 (log_test): Likewise.
17652 (log10_test): Likewise.
17653 (log1p_test): Likewise.
17654 (log2_test): Likewise.
17655 (pow_test): Do not allow some spurious overflow exceptions.
17656 (sqrt_test): Add more tests.
17657 (tgamma_test): Likewise.
17658 (y0_test): Likewise.
17659 (y1_test): Likewise.
17660 (yn_test): Likewise.
17661
dd62fda6
AB
176622012-03-27 Anton Blanchard <anton@samba.org>
17663
17664 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17665 MAP_HUGETLB.
17666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17667 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17669
1e3cdfda
AJ
176702012-03-27 David S. Miller <davem@davemloft.net>
17671
b855ab85
DM
17672 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17673
1e3cdfda
AJ
17674 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17675 have-as-vis3 check.
17676
176772012-03-27 Andreas Jaeger <aj@suse.de>
17678
17679 * sysdeps/x86_64/elf/configure.in: Moved to ...
17680 * sysdeps/x86_64/configure.in: ... here.
17681 * sysdeps/x86_64/elf/start.S: Moved to ...
17682 * sysdeps/x86_64/start.S: ... here.
17683 * sysdeps/x86_64/elf/configure: Delete.
17684
17685 * sysdeps/x86_64/configure.in: Merge contents from
17686 sysdeps/i386/configure.in (without i686 check).
17687
17688 * sysdeps/i386/elf/Versions: Merge into ...
17689 * sysdeps/i386/Versions: ... this.
17690 * sysdeps/i386/elf/Versions: Delete file.
17691 * sysdeps/i386/elf/start.S: Moved to ...
17692 * sysdeps/i386/start.S: ...here.
17693 * sysdeps/i386/elf/configure.in: Merge into...
17694 * sysdeps/i386/configure.in: ...here.
17695 * sysdeps/i386/elf/configure.in: Delete file.
17696 * sysdeps/i386/elf/configure: Delete file.
17697
17698 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17699 * debug/backtracesyms.c: ... here.
17700 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17701 * debug/backtracesymsfd.c: ... here.
17702 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17703 * sysdeps/generic/ifunc-sel.h: ... here.
17704
17705 * sysdeps/unix/i386/start.c: Delete file.
17706 * sysdeps/unix/sparc/start.c: Delete file.
17707 * sysdeps/unix/start.c: Delete file.
17708
17709 * sysdeps/sh/elf/configure.in: Moved to ...
17710 * sysdeps/sh/configure.in: ... here.
17711 * sysdeps/sh/elf/start.S: Moved to ...
17712 * sysdeps/sh/start.S: ... here.
17713 * sysdeps/sh/elf/configure: Delete file.
17714
17715 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17716 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17717 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17718 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17719 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17720 * sysdeps/powerpc/powerpc64/start.S: here.
17721 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17722 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17723 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17724 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17725 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17726
17727 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17728 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17729 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17730 * sysdeps/powerpc/powerpc32/start.S: ... here.
17731 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17732 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17733 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17734
17735 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17736 * sysdeps/powerpc/ifunc-sel.h: ... here.
17737 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17738 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17739
17740 * sysdeps/sparc/elf/configure.in: Moved to ...
17741 * sysdeps/sparc/configure.in: ... here.
17742 * sysdeps/sparc/elf/configure: Delete file.
17743 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17744 * sysdeps/sparc/sparc32/start.S: ... here.
17745 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17746 * sysdeps/sparc/sparc64/start.S: ... here.
17747 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17748 * sysdeps/sparc/sparc32/Makefile: ... this.
17749 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17750 * sysdeps/sparc/sparc64/Makefile: ... this.
17751
17752 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17753 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17754 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17755 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17756 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17757 * sysdeps/s390/s390-32/setjmp.S: ... here.
17758 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17759 * sysdeps/s390/s390-32/configure.in: ... here.
17760 * sysdeps/s390/s390-32/elf/configure: Delete file.
17761 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17762 * sysdeps/s390/s390-32/start.S: ... here.
17763
17764 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17765 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17766 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17767 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17768 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17769 * sysdeps/s390/s390-64/setjmp.S: ... here.
17770 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17771 * sysdeps/s390/s390-64/configure.in: ... here
17772 * sysdeps/s390/s390-64/elf/configure: Delete file.
17773 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17774 * sysdeps/s390/s390-64/start.S: ... here.
17775 * sysdeps/s390/s390-64/elf/configure: Delete.
17776
17777 * configure.in: Remove support for elf directories in sysdeps.
17778
17779 * configure: Regenerated.
17780 * sysdeps/i386/configure: Regenerated.
17781 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17782 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17783 * sysdeps/s390/s390-32/configure: Regenerated.
17784 * sysdeps/s390/s390-64/configure: Regenerated.
17785 * sysdeps/sh/configure: Regenerated.
17786 * sysdeps/sparc/configure: Regenerated.
17787 * sysdeps/x86_64/configure: Regenerated.
17788
a3f61311
AS
177892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17790
c876e002
AS
17791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17792
a3f61311
AS
17793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17794 denormal result into account.
17795
ac4c54f0
RM
177962012-03-25 Roland McGrath <roland@hack.frob.com>
17797
17798 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17799 Reported by Allan McRae <allan@archlinux.org>.
17800
6a9b9c02
JL
178012012-03-23 Jeff Law <law@redhat.com>
17802
17803 * nss/getnssent.c (__nss_getent): Fix typo.
17804
4c42a0c1
DM
178052012-03-23 David S. Miller <davem@davemloft.net>
17806
17807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17808
1532c7ac
L
178092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17810
17811 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17812 to pad to uint64_t for each field.
17813 (dl_tls_index): Replace unsigned long with uint64_t.
17814
3ff42526
PP
178152012-03-23 Daniel Jacobowitz <dmj@google.com>
17816 Paul Pluzhnikov <ppluzhnikov@google.com>
17817
17818 [BZ #6528]
17819 * grp/Makefile (otherlibs): Don't set it.
17820 * inet/Makefile (otherlibs): Likewise.
17821 * login/Makefile (otherlibs): Likewise.
17822 * nscd/Makefile (otherlibs): Likewise.
17823 * posix/Makefile (otherlibs): Likewise.
17824 * pwd/Makefile (otherlibs): Likewise.
17825 * rt/Makefile (otherlibs): Likewise.
17826 * sunrpc/Makefile (otherlibs): Likewise.
17827 * nss/Makefile (otherlibs): Likewise.
17828 Add libnss_files to routines and static-only-routines.
17829 ($(objpfx)getent): Remove rule.
17830 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17831 static-only-routines.
17832
7c69cd14
JM
178332012-03-22 Joseph Myers <joseph@codesourcery.com>
17834
17835 [BZ #13892]
17836 * math/s_cexp.c: Include <float.h>.
17837 (__cexp): Handle exp result overflowing not necessarily
17838 overflowing both real and imaginary parts of result.
17839 * math/s_cexpf.c: Likewise.
17840 * math/s_cexpl.c: Likewise.
17841 * math/libm-test.inc (cexp_test): Add more tests.
17842 * sysdeps/i386/fpu/libm-test-ulps: Update.
17843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17844
81b035fe
L
178452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17846
17847 * include/link.h (ELFW): New macro.
17848 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17849 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17850
1da7940c
L
178512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17852
17853 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17854 with uint64_t.
17855
b749dbb9
L
178562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17857
17858 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17859 declaration.
17860 (struct La_x32_retval): Likewise.
17861
2ff87f3f
L
178622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17863
17864 * sysdeps/x86_64/preconfigure.in: New file.
17865 * sysdeps/x86_64/preconfigure: New generated file.
17866
c0df8e69
JM
178672012-03-22 Joseph Myers <joseph@codesourcery.com>
17868
48e44791
JM
17869 [BZ #13824]
17870 * math/e_exp2l.c: Include <float.h>.
17871 (__ieee754_exp2l): Handle overflow and underflow cases
17872 separately. Only pass fractional part of argument to
17873 __ieee754_expl.
17874 * math/libm-test.inc (exp2_test): Add more tests.
17875
c0df8e69
JM
17876 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17877 negating x to take absolute value.
17878 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17879 Likewise.
17880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17882 Likewise.
17883 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17884 computing low part if x was negated.
17885 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17886
c8e43ba7
L
178872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17888
17889 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17890 la_x32_gnu_pltexit.
17891 (pltexit): Cast int_retval to ptrdiff_t.
17892 * elf/tst-auditmod3b.c: Likewise.
17893 * elf/tst-auditmod4b.c: Likewise.
17894 * elf/tst-auditmod5b.c: Likewise.
17895 * elf/tst-auditmod6b.c: Likewise.
17896 * elf/tst-auditmod6c.c: Likewise.
17897 * elf/tst-auditmod7b.c: Likewise.
17898
17899 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17900 and x32_gnu_pltexit.
17901
17902 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17903 __ELF_NATIVE_CLASS.
17904 (La_x32_regs): New macro.
17905 (La_x32_retval): Likewise.
17906 (la_x32_gnu_pltenter): New function prototype.
17907 (la_x32_gnu_pltexit): Likewise.
17908
7998fa78
AS
179092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17910
dcb33988
AS
17911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17912 exponent.
17913
233fc563
AS
17914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17915
7998fa78
AS
17916 * configure.in (libc_cv_cc_nofma): Check for option to disable
17917 generation of FMA instructions.
17918 * configure: Regenerate.
17919 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17920 * sysdeps/ieee754/dbl-64/Makefile: New file.
17921 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17922 Remove brandred-fma4.
17923 (CFLAGS-brandred-fma4.c): Remove.
17924 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17925 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17926 define.
17927 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17928 define.
17929
8e95c99a
L
179302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17931
17932 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17933 LLONG_MAX != LONG_MAX.
17934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17935 (_fitoa_word): Likewise.
17936 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17937 LLONG_MAX != LONG_MAX.
17938 * stdio-common/_itowa.h: Include <_itoa.h>.
17939 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17940 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17941 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17942 only if not defined.
17943 (_ITOA_WORD_TYPE): Likewise.
17944 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17945 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17946
6f4db457
DM
179472012-03-21 David S. Miller <davem@davemloft.net>
17948
17949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17950
7785fe5a
L
179512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17952
17953 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17954 of x86_64 when setting libc_cv_slibdir, libdir and
17955 libc_cv_localedir.
17956 * sysdeps/unix/sysv/linux/configure: Regenerated.
17957
4535cd55
JM
179582012-03-21 Joseph Myers <joseph@codesourcery.com>
17959
17960 * manual/lang.texi (Old Varargs): Remove section.
17961 (How Variadic): Update menu.
17962 (va_start): Do not mention varargs.h.
17963
17228132
TS
179642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17965 Joseph Myers <joseph@codesourcery.com>
17966
17967 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17968 link test.
17969 * configure: Regenerated.
17970
8149f976
TS
179712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17972
05f3d1f6
UD
17973 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17974 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17975 conformtest.pl
8149f976 17976
1a4ac776
JM
179772012-03-21 Joseph Myers <joseph@codesourcery.com>
17978
be22ce65
JM
17979 * NOTES: Remove.
17980 * Makefile (files-for-dist): Remove NOTES.
17981 (NOTES): Remove rule.
17982 * README: Don't refer to NOTES.
17983 * manual/creature.texi: Don't include macros.texi.
17984 * manual/intro.texi (creature.texi): Remove comment referring to
17985 NOTES.
17986
40b601fb
JM
17987 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17988 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17989 * configure: Regenerated.
17990 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17991 LIBC_TRY_CC_OPTION.
17992 (libc_cv_as_i686): Likewise.
17993 (libc_cv_cc_avx): Likewise.
17994 (libc_cv_cc_sse2avx): Likewise.
17995 (libc_cv_cc_fma4): Likewise.
17996 (libc_cv_cc_novzeroupper): Likewise.
17997 * sysdeps/i386/configure: Regenerated.
17998
1a4ac776
JM
17999 [BZ #13883]
18000 * sysdeps/i386/fpu/s_cexp.S: Remove.
18001 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18002 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18003 * math/libm-test.inc (cexp_test): Add more tests.
18004 * sysdeps/i386/fpu/libm-test-ulps: Update.
18005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18006
a458e7fe
AM
180072012-03-21 Allan McRae <allan@archlinux.org>
18008
18009 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18010
0cb7efc5
JM
180112012-03-21 Joseph Myers <joseph@codesourcery.com>
18012
18013 [BZ #13871]
18014 * math/w_exp2.c: Do not include <float.h>.
18015 (o_threshold, u_threshold): Remove.
18016 (__exp2): Calculate result before checking finiteness and calling
18017 __kernel_standard.
18018 * math/w_exp2f.c: Likewise.
18019 * math/w_exp2l.c: Likewise.
18020 * math/libm-test.inc (exp2_test): Require overflow exception for
18021 1e6 input.
2460d3aa
JM
18022
18023 [BZ #3866]
18024 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18025 range of signed 64-bit integers before using fistpll. Remove
18026 checks for whether integers fit in mantissa bits.
18027 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18028 the range of signed 32-bit integers before using fistpl. Remove
18029 checks for whether integers fit in mantissa bits.
18030 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18031 (__ieee754_powl): Test for y outside the range of signed 64-bit
18032 integers before using fistpll. Reduce 64-bit values to 63-bit
18033 ones as needed.
18034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18035 divide-by-zero is raised for zero to large negative powers.
18036 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18037 (__ieee754_powl): Test for y outside the range of signed 64-bit
18038 integers before using fistpll. Reduce 64-bit values to 63-bit
18039 ones as needed.
18040 * math/libm-test.inc (pow_test): Add more tests.
18041
eb96ffb0
L
180422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18043
18044 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18045 <stdio-common/_itoa.h>.
18046 * debug/segfault.c: Likewise.
18047 * elf/dl-cache.c: Likewise.
18048 * elf/dl-minimal.c: Likewise.
18049 * elf/dl-misc.c: Likewise.
18050 * elf/dl-sysdep.c: Likewise.
18051 * elf/dl-version.c: Likewise.
18052 * elf/rtld.c: Likewise.
18053 * hurd/hurdsock.c: Likewise.
18054 * hurd/lookup-retry.c: Likewise.
18055 * malloc/malloc.c: Likewise.
18056 * malloc/mtrace.c: Likewise.
18057 * nscd/nscd_getgr_r.c: Likewise.
18058 * nscd/nscd_getpw_r.c: Likewise.
18059 * nscd/nscd_getserv_r.c: Likewise.
18060 * posix/getopt_init.c: Likewise.
18061 * posix/wordexp.c: Likewise.
18062 * stdio-common/_itoa.c: Likewise.
18063 * stdio-common/printf_fphex.c: Likewise.
18064 * stdio-common/vfprintf.c: Likewise.
18065 * string/_strerror.c: Likewise.
18066 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18067 * sysdeps/i386/i686/hp-timing.h: Likewise.
18068 * sysdeps/mach/_strerror.c: Likewise.
18069 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18070 * sysdeps/mach/hurd/sethostid.c: Likewise.
18071 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18072 * sysdeps/mach/xpg-strerror.c: Likewise.
18073 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18075 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18076 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18077 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18078 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18080 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18081 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18082 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18083 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18084 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18085 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18087 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18088 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18089 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18090 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18091 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18092 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18093 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18094
18095 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18096
18097 * stdio-common/_itoa.h: Moved to ...
18098 * sysdeps/generic/_itoa.h: Here.
18099
18100 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18101
18102 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18103 instead of "_itoa.h" and "_itowa.h".
18104 * stdio-common/vfprintf.: Likewise.
18105
d1af992d
L
181062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18107
18108 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18109 <bits/wordsize.h>.
18110 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18111 (__signbit): Likwise.
18112 (llrintf): Likwise.
18113 (llrint): Likwise.
18114
114883e0
L
181152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18116
18117 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18118 __WORDSIZE != 64.
18119
c135cc1b
JM
181202012-03-20 Joseph Myers <joseph@codesourcery.com>
18121
18122 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18123 OVERFLOW_EXCEPTION_OK.
18124 * math/libm-test.inc ("Philosophy"): Update comment about
18125 exception testing.
18126 (OVERFLOW_EXCEPTION): Define.
18127 (OVERFLOW_EXCEPTION_OK): Likewise.
18128 (INVALID_EXCEPTION_OK): Renumber.
18129 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18130 (IGNORE_ZERO_INF_SIGN): Likewise.
18131 (test_exceptions): Handle FE_OVERFLOW.
18132 (exp10_test): Expect overflow exceptions.
18133 (exp2_test): Likewise.
18134 (expm1_test): Likewise.
18135 (nextafter_test): Likewise.
18136 (pow_test): Likewise.
18137 (scalbn_test): Likewise.
18138 (scalbln_test): Likewise.
18139
95443d88
L
181402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18141
18142 * sysdeps/x86_64/bits/atomic.h
18143 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18144 64bit integer.
18145 (atomic_exchange_acq): Likewise.
18146 (__arch_exchange_and_add_body): Likewise.
18147 (__arch_add_body): Likewise.
18148 (atomic_add_negative): Likewise.
18149 (atomic_add_zero): Likewise.
18150
490df6c4
L
181512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18152
c2722551 18153 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18154 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18155
5e52b189
L
181562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18157
18158 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18159 Check __x86_64__ instead of __WORDSIZE.
18160
a9879d4c
L
181612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18162
18163 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18164
5df98260
DM
181652012-03-19 David S. Miller <davem@davemloft.net>
18166
e1497744
DM
18167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18168
5df98260
DM
18169 * sysdeps/sparc/fpu/fenv_private.h: New file.
18170 * sysdeps/sparc/fpu/math_private.h: Use it.
18171 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18172 Remove.
18173 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18174 (libc_feholdexcept_setroundl): Remove.
18175 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18176 Remove.
18177 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18178 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18179
b4c35121
L
181802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18181
18182 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18183 int64_t instead of long int.
18184 (INSERT_WORDS64): Likwise.
18185
56965fd7
L
181862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18187
18188 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18189 _Unwind_GetCFA return to _Unwind_Ptr first.
18190
83d1aec8
JM
181912012-03-19 Joseph Myers <joseph@codesourcery.com>
18192
1897ad44
JM
18193 [BZ #13629]
18194 * math/s_clog.c: Include <float.h>.
18195 (__clog): Scale large or subnormal inputs.
18196 * math/s_clogf.c: Likewise.
18197 * math/s_clogl.c: Likewise.
18198 * math/s_clog10.c: Include <float.h>.
18199 (M_LOG10_2): Define.
18200 (__clog10): Scale large or subnormal inputs.
18201 * math/s_clog10f.c: Likewise.
18202 * math/s_clog10l.c: Likewise.
18203 * math/libm-test.inc (clog_test): Add more tests.
18204 (clog10_test): Likewise.
18205 * sysdeps/i386/fpu/libm-test-ulps: Update.
18206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18207
7726d6a9
JM
18208 [BZ #11451]
18209 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18210 x and y.
18211 * math/libm-test.inc (atan2_test): Add another test.
18212
83d1aec8
JM
18213 * Makerules (common-objdir-compile): Remove.
18214 * sysdeps/unix/Makefile (config-generated): Do not add
18215 $(unix-generated) to variable.
18216 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18217 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18218 Remove rule.
18219 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18220 Likewise.
18221 [generic bits/local_lim.h] (before-compile): Do not append to
18222 variable.
18223 [generic bits/local_lim.h] (common-generated): Likewise.
18224 [generic sys/param.h] (before-compile): Do not append to variable.
18225 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18226 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18227 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18228 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18229 include.
18230 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18231 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18232 [generic sys/param.h] ($(addprefix
18233 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18234 [generic sys/param.h] (common-generated): Do not append to
18235 variable.
18236 [generic sys/param.h] (sysdep_headers): Likewise.
18237 [generic bits/errno.h] (before-compile): Do not append to
18238 variable.
18239 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18240 rule.
18241 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18242 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18243 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18244 [generic bits/errno.h] (common-generated): Do not append to
18245 variable.
18246 [generic bits/ioctls.h] (before-compile): Do not append to
18247 variable.
18248 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18249 rule.
18250 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18251 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18252 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18253 rule.
18254 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18255 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18256 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18257 [generic bits/ioctls.h] (common-generated): Do not append to
18258 variable.
18259 [generic sys/syscall.h] (syscall.h): Remove variable.
18260 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18261 rule.
18262 [generic sys/syscall.h] (before-compile): Do not append to
18263 variable.
18264 [generic sys/syscall.h] (common-generated): Likewise.
18265 * sysdeps/unix/errnos-tmpl.c: Remove file.
18266 * sysdeps/unix/errnos.awk: Likewise.
18267 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18268 * sysdeps/unix/ioctls.awk: Likewise.
18269 * sysdeps/unix/mk-local_lim.c: Likewise.
18270 * sysdeps/unix/snarf-ioctls: Likewise.
18271
4851a949
RH
182722012-03-19 Richard Henderson <rth@twiddle.net>
18273
bd37f2ee
RH
18274 * sysdeps/i386/fpu/fenv_private.h: New file.
18275 * sysdeps/i386/fpu/math_private.h: Use it.
18276 (math_opt_barrier, math_force_eval): Remove.
18277 (libc_feholdexcept_setround_53bit): Remove.
18278 (libc_feupdateenv_53bit): Remove.
18279 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18280 (math_opt_barrier, math_force_eval): Remove.
18281 (libc_feholdexcept): Remove.
18282 (libc_feholdexcept_setround): Remove.
18283 (libc_fetestexcept, libc_fesetenv): Remove.
18284 (libc_feupdateenv_test): Remove.
18285 (libc_feupdateenv, libc_feholdsetround): Remove.
18286 (libc_feresetround): Remove.
18287
d0adc922
RH
18288 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18289 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18290
0fe0f1f8
RH
18291 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18292 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18293 (libc_feupdateenv_testl): New.
18294 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18295 (libc_feupdateenv_testf): New.
18296 (libc_feupdateenv): Use libc_feupdateenv_test.
18297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18299
eb92c487
RH
18300 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18301 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18302 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18303 (libc_feresetround_noex): New.
18304 (libc_feresetround_noexf): New.
18305 (libc_feresetround_noexl): New.
18306 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18307 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18308 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18309 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18310 SET_RESTORE_ROUND.
18311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18313 (__cos): Likewise.
18314 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18315 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18316 SET_RESTORE_ROUND_NOEX.
18317 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18318 SET_RESTORE_ROUND_NOEXF.
18319 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18320 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18321 (libc_feholdsetroundf): New.
18322 (libc_feresetround, libc_feresetroundf): New.
18323
7d2e8012
RH
18324 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18325 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18326 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18327
b4dabbb4
RH
18328 * sysdeps/generic/math_private.h: Include <fenv.h>.
18329 (default_libc_feholdexcept): New.
18330 (default_libc_feholdexcept_setround): New.
18331 (default_libc_fesetenv, default_libc_feupdateenv): New.
18332 (libc_feholdexcept): Only define if undefined.
18333 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18334 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18335 (libc_feholdexcept_setroundl): Likewise.
18336 (libc_feholdexcept_setround_53bit): Likewise.
18337 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18338 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18339 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18340 (libc_feupdateenv_53bit): Likewise.
18341 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18342 (libc_feholdexcept): Convert from macro to inline function.
18343 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18344 (libc_fesetenv, libc_feupdateenv): Likewise.
18345
4851a949
RH
18346 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18347 not previously defined.
18348 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18349 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18350 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18351 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18352 * sysdeps/ieee754/flt-32/math_private.h: New file.
18353 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18354 math_private.h below SET_FLOAT_WORD.
18355 (__isnan, __isinf_ns, __finite): Remove.
18356 (__isnanf, __isinf_nsf, __finitef): Remove.
18357
e79d442e
AS
183582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18359
18360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18361
90b80344
DM
183622012-03-17 David S. Miller <davem@davemloft.net>
18363
18364 [BZ #6471]
18365 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18366 for 2.16.
18367
edc21804
DM
183682012-03-16 David S. Miller <davem@davemloft.net>
18369
77e927af
DM
18370 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18371 warnings.
18372
374976dd
DM
18373 [BZ #6471]
18374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18375 properly.
18376 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18377 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18378 sysdep_routines when subdir is sysvipc.
18379 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18380 __getshmlba helper.
18381
edc21804
DM
18382 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18383
473c3ef3
L
183842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18385
18386 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18387 [__LP64__].
18388
eb0f39b6
L
183892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18390
18391 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18392 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18393 (__lround): Renamed to ...
18394 (__llround): This. Replace long int with long long int.
18395 Define lround functions as aliases of llround functions.
18396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18397
6b6cd74b
L
183982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18399
18400 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18401 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18402 adresses to uintptr_t. Replace "long int" and "unsigned long
18403 int" with "greg_t" on va_arg.
18404
f1a77b01
L
184052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18406
18407 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18408 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18409
18410 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18411 Move e_machine check before EI_CLASS check. Handle x32
18412 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18413 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18414 SKIP_EM_IA_64 and include
18415 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18416
18417 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18418 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18419 (add_system_dir): New macro.
18420
18421 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18422 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18423
11b90b9f
JM
184242012-03-16 Joseph Myers <joseph@codesourcery.com>
18425
c36e1d23
JM
18426 [BZ #2551]
18427 [BZ #2552]
18428 [BZ #2553]
18429 [BZ #2554]
18430 [BZ #2562]
18431 [BZ #2563]
18432 [BZ #2565]
18433 [BZ #2566]
18434 [BZ #2576]
18435 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18436 (y0): Likewise.
18437 * math/w_j0f.c (j0f): Likewise.
18438 (y0f): Likewise.
18439 * math/w_j0l.c (__j0l): Likewise.
18440 (__y0l): Likewise.
18441 * math/w_j1.c (j1): Likewise.
18442 (y1): Likewise.
18443 * math/w_j1f.c (j1f): Likewise.
18444 (y1f): Likewise.
18445 * math/w_j1l.c (__j1l): Likewise.
18446 (__y1l): Likewise.
18447 * math/w_jn.c (jn): Likewise.
18448 (yn): Likewise.
18449 * math/w_jnf.c (jnf): Likewise.
18450 (ynf): Likewise.
18451 * math/w_jnl.c (__jnl): Likewise.
18452 (__ynl): Likewise.
18453 * math/libm-test.inc (j0_test): Add more tests.
18454 (j1_test): Likewise.
18455 (jn_test): Likewise. Add trailing semicolon to existing test.
18456 (y0_test): Likewise.
18457 (y1_test): Likewise.
18458 * sysdeps/i386/fpu/libm-test-ulps: Update.
18459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18460
11b90b9f
JM
18461 [BZ #13851]
18462 [BZ #13854]
18463 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18464 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18465 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18466 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18467 (__tanl): Set errno for infinite argument.
18468 * sysdeps/i386/fpu/mptan.c: Remove.
18469 * sysdeps/i386/fpu/s_tan.S: Likewise.
18470 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18471 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18472 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18473 * math/libm-test.inc (tan_test): Add more tests and enable more
18474 tests for double and long double.
18475 * sysdeps/i386/fpu/libm-test-ulps: Update.
18476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18477
6a1bd2a1
JK
184782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18479
18480 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18481 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18482
10a803e0
RM
184832012-03-16 Roland McGrath <roland@hack.frob.com>
18484
18485 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18486 * configure.in: Use it for both main tree and add-ons.
18487 * configure: Regenerated.
18488
f196c7f7
L
184892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18490
18491 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18492
8848d99d
JM
184932012-03-16 Joseph Myers <joseph@codesourcery.com>
18494
96cbe7f4
JM
18495 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18496 in comment.
18497
8848d99d
JM
18498 [BZ #13851]
18499 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18500 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18501 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18502 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18503 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18504 infinite argument.
18505 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18507 != 0 for prec == 2.
18508 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18509 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18510 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18511 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18512 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18513 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18514 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18515 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18516 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18517 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18518 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18519 * math/libm-test.inc (cos_test): Add more tests and enable more
18520 tests for long double.
18521 (sin_test): Likewise.
18522 (sincos_test): Likewise.
18523 * sysdeps/i386/fpu/libm-test-ulps: Update.
18524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18525
dd7f4703
DM
185262012-03-16 David S. Miller <davem@davemloft.net>
18527
18528 * sysdeps/sparc/fpu/math_private.h: New file.
18529
006f1daa
DM
185302012-03-15 David S. Miller <davem@davemloft.net>
18531
c0c83bc8
DM
18532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18533 file.
e6a62e18 18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18536 file.
e6a62e18
DM
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18543 sysdep routines.
18544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18545
88cb87d9
DM
18546 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18547 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18548
006f1daa 18549 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18551 sparc-ifunc.h
006f1daa 18552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18554 Likewise.
18555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18556 Likewise.
006f1daa
DM
18557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18561 Likewise.
006f1daa
DM
18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18567 Likewise.
18568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18569 Likewise.
006f1daa
DM
18570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18594
11e0098e
AS
185952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18596
18597 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18598 scaling.
18599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18600
e85b09d0
AJ
186012012-03-15 Andreas Jaeger <aj@suse.de>
18602
18603 [BZ #13852]
18604 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18605 ieee754/flt-32 implementation for sin, cos and sincos.
18606 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18607 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18608 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18609 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18610 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18611 ieee754/flt-32 implementation for tan.
18612
18613 * math/libm-test.inc (cos_test): Enable some large input tests for
18614 float as well
18615 (sin_test): Likewise.
18616 (sincos_test): Likewise.
18617 (tan_test): Add tests for large input.
18618
18619 * sysdeps/i386/fpu/libm-test-ulps: Update.
18620
81c64153
AJ
186212012-03-15 Andreas Jaeger <aj@suse.de>
18622
18623 [BZ #13658]
18624 * math/libm-test.inc (cos_test): Add more test cases.
18625 (sin_test): Likewise.
18626 (sincos_test): Likewise.
18627
7bbfa5c6
AJ
186282012-03-15 Andreas Jaeger <aj@suse.de>
18629
18630 [BZ #13837]
18631 * math/libm-test.inc (cos_test): Add a test case for large input
18632 value.
18633 (sin_test): Likewise.
18634 (sincos_test): Likewise.
18635
186362012-03-15 Andreas Jaeger <aj@suse.de>,
18637 Joseph Myers <joseph@codesourcery.com>
18638
18639 [BZ #13658]
0671f479 18640 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18641 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18642 * sysdeps/i386/fpu/branred.c: Likewise.
18643 * sysdeps/i386/fpu/dosincos.c: Likewise.
18644 * sysdeps/i386/fpu/mpa.c: Likewise.
18645 * sysdeps/i386/fpu/s_cos.S: Likewise.
18646 * sysdeps/i386/fpu/s_sin.S: Likewise.
18647 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18648 * sysdeps/i386/fpu/sincos32.c: Likewise.
18649
18650 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18651 Define.
18652 (libc_feupdateenv_53bit): Define.
18653 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18654 Define.
18655 (libc_feupdateenv_53bit): Define.
18656
18657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18658 53 bit (without extend i386 double precision).
18659
18660 * math/libm-test.inc (sincos_test): Add tests for large input.
18661 (sin): Likewise.
18662 (cos): Likewise.
18663
18664 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18665
9cad04ea
AS
186662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18667
18668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18669
f7062b9a
DM
186702012-03-15 David S. Miller <davem@davemloft.net>
18671
18672 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18673 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18674 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18675 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18688 file.
f7062b9a 18689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18691 file.
f7062b9a 18692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18694 file.
f7062b9a 18695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18697 file.
f7062b9a
DM
18698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18700 fmin/fmax sysdep routines.
18701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18702
7bd951ff
DM
187032012-03-14 David S. Miller <davem@davemloft.net>
18704
559398ab
DM
18705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18734 routines.
18735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18736 file.
559398ab 18737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18739 file.
559398ab 18740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18742 file.
559398ab 18743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18745 file.
559398ab 18746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18748 file.
559398ab 18749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18751 file.
18752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18753 file.
18754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18755 file.
18756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18757 file.
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18759 New file.
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18761 file.
18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18763 file.
559398ab 18764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18766 file.
559398ab 18767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18769 file.
559398ab 18770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18772 file.
559398ab 18773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18775 VIS3 routines.
559398ab
DM
18776
18777 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18778 New file.
18779
5a1c1e32
DM
18780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18781
eae47a36
DM
18782 * sysdeps/sparc/configure.in: New file.
18783 * sysdeps/sparc/configure: Generate.
18784 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18785 * configure: Regenerate.
18786 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18787 * config.make.in (have-as-vis3): New.
18788 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18789 available use -Av9d instead of -Av9a.
18790 * sysdeps/sparc/sparc64/Makefile: Likewise.
18791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18793 New file.
18794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18795 file.
18796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18797 New file.
18798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18799 file.
eae47a36
DM
18800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18805
c0c83bc8
DM
18806 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18807 fzeros/fnegs to load 0x80000000 into a float register instead of
18808 using the stack.
7bd951ff
DM
18809 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18810
bd951ccb
JM
188112012-03-14 Joseph Myers <joseph@codesourcery.com>
18812
18813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18814 bits/syscall.h.
18815 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18816 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18817 ($(inst_includedir)/bits/syscall.h): Remove rule.
18818 ($(objpfx)bits/syscall.d): Include instead of
18819 $(objpfx)syscall-list.d.
18820 (generated): Change syscall-list.h and syscall-list.d to
18821 bits/syscall.h and bits/syscall.d.
18822
bb4e6db2
RM
188232012-03-14 Roland McGrath <roland@hack.frob.com>
18824
18825 [BZ #13846]
18826 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18827
aa4a2ae1
JM
188282012-03-14 Joseph Myers <joseph@codesourcery.com>
18829
e456826d
JM
18830 [BZ #13841]
18831 * math/s_csqrt.c: Include <float.h>.
18832 (__csqrt): Scale large or subnormal inputs.
18833 * math/s_csqrtf.c: Likewise.
18834 * math/s_csqrtl.c: Likewise.
18835 * math/libm-test.inc (csqrt_test): Add more tests.
18836 * sysdeps/i386/fpu/libm-test-ulps: Update.
18837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18838
aa4a2ae1
JM
18839 [BZ #13840]
18840 * math/libm-test.inc (hypot_test): Add more tests.
18841
7c10fd35
DM
188422012-03-13 David S. Miller <davem@davemloft.net>
18843
18844 [BZ #13840]
18845 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18846 double-precision for the calculation instead of scaling.
18847
f453b98b
JM
188482012-03-13 Joseph Myers <joseph@codesourcery.com>
18849
18850 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18851 manipulate bits before adding and subtracting TWO52[sx].
18852 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18853 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18854 Likewise.
18855 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18856
09a3453f
DM
188572012-03-13 David S. Miller <davem@davemloft.net>
18858
8e59da90
DM
18859 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18860 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18862 rtld-global-offsets.h
18863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18864
2a8ab7f2
DM
18865 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18866 large parameters.
18867
10f62770
DM
18868 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18869
5f0bdb18
DM
18870 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18871 'err' in the ifdef scope in which it is actually used.
18872
09a3453f
DM
18873 * nss/nss_db/db-init.c: Include string.h
18874
b4b2eb5e
DM
188752012-03-12 David S. Miller <davem@davemloft.net>
18876
98bb2f1c
DM
18877 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18878 masking out of the most significant byte of random value used.
18879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18880 Fix coding style in previous change.
18881
b4b2eb5e
DM
18882 * sysdeps/unix/sysv/linux/kernel-features.h
18883 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18884 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18885 expression.
18886 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18887 later.
18888
6e226b09
DM
188892012-03-11 David S. Miller <davem@davemloft.net>
18890
a1bcbd40
DM
18891 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18892 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18894 for 'resultvar' otherwise things get truncated on 64-bit.
18895
cb9d6174
DM
18896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18897 Fix masking out of the most significant byte of random value used.
18898
6e226b09
DM
18899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18900
058c132d
AS
189012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18902
18903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18904
2d2cd515
DM
189052012-03-09 David S. Miller <davem@davemloft.net>
18906
18907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18908 variables with appropriate CPP guards.
18909 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18910 frame pointer, not the stack pointer. Correct layout comments. Fix test
18911 on resulting framesize and the management of the outregs buffer for pltexit.
18912 Preserve floating point return values across _dl_call_pltexit call.
18913 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18914 framesize and the management of the outregs buffer for pltexit.
18915 Preserve floating point return values across _dl_call_pltexit
18916 call.
18917 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18918 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18919 (print_exit): Fix format string for return register value.
18920
9a07f9d0
JM
189212012-03-10 Joseph Myers <joseph@codesourcery.com>
18922
18923 * sunrpc/Makefile (others): Add rpcgen.
18924 ($(objpfx)rpcgen): Remove special build rule and dependency on
18925 libc.
18926 * sunrpc/rpcgen.c: New file.
18927
547b5e30
PE
189282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18929
c524201a
PE
18930 [BZ #13673]
18931 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18932 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18933 * sysdeps/i386/crti.S: Likewise.
18934 * sysdeps/i386/crtn.S: Likewise.
18935 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18936 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18937 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18938 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18939 * sysdeps/sh/crti.S: Likewise.
18940 * sysdeps/sh/crtn.S: Likewise.
18941 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18942
7b6235f2
PE
18943 [BZ #13673]
18944 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18945 with URL.
18946 * locale/programs/locfile-kw.gperf: Likewise.
18947 * locale/programs/charmap-kw.h: Regenerated.
18948 * locale/programs/locfile-kw.h: Likewise.
18949
547b5e30
PE
18950 [BZ #13673]
18951 * intl/plural.y: Replace FSF snail mail address with URL.
18952 * intl/plural.c: Regenerated.
18953
5f0a5dae
RH
189542012-03-09 Richard Henderson <rth@twiddle.net>
18955
18956 * include/math_private.h: Remove file.
18957 * math/math_private.h: Move file ...
18958 * sysdeps/generic/math_private.h: ... here.
18959
b8c03620
RH
18960 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18961 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18963
4e234f5d 18964 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18965 and <math_private.h>.
18966 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18967 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18968 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18969 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18970 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18971 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18972 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18980 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18981 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18988 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18990 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18991 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18992 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18993 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18998 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18999 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19003 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19004 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19005 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19006 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19007 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19008 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19009 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19010 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19012 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19013 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19015 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19016 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19017 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19018 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19019 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19020 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19021 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19023 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19024 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19025 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19027 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19029 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19030 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19040 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19046 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19048 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19050 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19053 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19054 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19055 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19056 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19057 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19059 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19060 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19061 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19062 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19063 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19064 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19066 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19067 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19068 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19069 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19070 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19071 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19072 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19073 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19074 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19076 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19077 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19078 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19079 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19080 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19081 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19082 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19083 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19084 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19085 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19087 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19089 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19091 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19093 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19094 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19095 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19096 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19097 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19098 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19099 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19100 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19101 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19102 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19103 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19104 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19105 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19106 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19107 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19108 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19109 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19110 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19111 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19112 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19113 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19114 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19115 * sysdeps/ieee754/k_standard.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19122 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19123 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19124 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19125 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19126 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19128 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19129 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19130 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19132 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19133 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19136 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19137 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19147 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19154 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19155 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19158 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19161 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19164 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19167 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19168 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19169 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19171 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19172 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19173 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19174 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19175 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19176 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19177 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19178 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19183 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19188 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19189 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19190 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19192 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19193 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19195 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19196 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19198 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19202 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19212 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19213 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19214 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19215 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19223 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19230 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19232 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19233 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19234 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19235 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19237 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19238 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19239 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19241 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19249 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19252 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19253 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19255 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19256 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19257 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19258 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19259 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19265 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19266 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19267 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19271 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19272 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19273 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19274 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19275 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19276 * sysdeps/ieee754/s_lib_version.c: Likewise.
19277 * sysdeps/ieee754/s_matherr.c: Likewise.
19278 * sysdeps/ieee754/s_signgam.c: Likewise.
19279 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19280 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19281 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19282 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19283 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19284 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19285 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19286 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19287 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19288 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19289 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19290 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19291 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19292 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19293 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19294 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19296 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19297 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19300
1991fa03
JM
193012012-03-09 Joseph Myers <joseph@codesourcery.com>
19302
19303 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19304 * sunrpc/rpc_main.c: Likewise.
19305 * sunrpc/rpc_svcout.c: Likewise.
19306
60d6f5a6
DM
193072012-03-09 David S. Miller <davem@davemloft.net>
19308
19309 * include/math_private.h: New file.
19310
4962050e
JM
193112012-03-09 Joseph Myers <joseph@codesourcery.com>
19312
02a6f887
JM
19313 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19314 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19315 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19316 from <bits/socket_type.h>.
19317 (enum __socket_type): Don't define here.
19318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19320 bits/socket_type.h.
19321
c6e013c1
JM
19322 [BZ #13566]
19323 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19324 checking __USE_GNU.
19325
4962050e
JM
19326 * Makerules ($(inst_includedir)/%.h): New rule.
19327 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19328 (install-others): Remove variable setting.
19329 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19330
38842f45
RH
193312012-03-08 Richard Henderson <rth@twiddle.net>
19332
67bb6da6
RH
19333 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19334 from macro to inline function; merge with the
19335 !__LIBC_INTERNAL_MATH_INLINES version.
19336 (__ieee754_sqrtf): Likewise.
19337
15194b4b
RH
19338 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19339 to inline function.
19340 (__rintf, __floor, __floorf): Likewise.
19341
64e21ede
RH
19342 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19343 macro to inline function.
19344 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19345
38842f45
RH
19346 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19347 not <math/math_private.h>.
19348
c64bf5fe
DM
193492012-03-08 David S. Miller <davem@davemloft.net>
19350
19351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19352 copyright year.
19353 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19354
82d86f28
TS
193552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19356
19357 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19358 normalization.
19359 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19360 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19361
aea5d727
UD
193622012-03-08 Ulrich Drepper <drepper@gmail.com>
19363
19364 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19365 be defined individually, they must be defined as a block. Define
19366 S for printing a string instead of hidint the different by using a
19367 macro for adding the 'l'.
19368 * stdio-common/tst-fphex-wide.c: Adjust.
19369
70bca0a3
MP
193702012-03-07 Marek Polacek <polacek@redhat.com>
19371
19372 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19373
65b81130
MP
193742012-03-08 Marek Polacek <polacek@redhat.com>
19375
19376 [BZ #13806]
19377 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19378 * stdio-common/tst-fphex.c: Define a few macros to make the
19379 test reusable. Use them.
19380 * stdio-common/tst-fphex-wide.c: New file.
19381
07037eeb
JM
193822012-03-08 Joseph Myers <joseph@codesourcery.com>
19383
a7a93d50
JM
19384 [BZ #6911]
19385 * manual/macros.texi (gnusystems): New macro.
19386 (nongnusystems): Likewise.
19387 (gnulinuxhurdsystems): Likewise.
19388 (gnuhurdsystems): Likewise..
19389 (gnulinuxsystems): Likewise.
19390 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19391 variants of the GNU system, not "GNU system".
19392 * manual/conf.texi: Likewise.
19393 * manual/errno.texi: Likewise. Update example of errno macro
19394 expansion.
19395 * manual/filesys.texi: Likewise.
19396 (getumask): Document as specific to GNU/Hurd.
19397 * manual/install.texi: Likewise. Reword some references to
19398 GNU/Linux.
19399 * manual/intro.texi: Likewise.
19400 * manual/io.texi: Likewise.
19401 (File Name Portability): Detail which constraints are inapplicable
19402 to all GNU systems and which are only inapplicable to GNU/Hurd.
19403 * manual/job.texi: Likewise.
19404 * manual/llio.texi: Likewise.
19405 (O_NOCTTY): Document as present on GNU/Linux.
19406 * manual/maint.texi: Likewise.
19407 * manual/memory.texi: Likewise.
19408 * manual/pattern.texi: Likewise.
19409 * manual/pipe.texi: Likewise.
19410 * manual/process.texi: Likewise.
19411 * manual/resource.texi: Likewise.
19412 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19413 child on GNU/Hurd.
19414 * manual/setjmp.texi: Likewise.
19415 * manual/signal.texi: Likewise.
19416 * manual/startup.texi: Likewise.
19417 * manual/stdio.texi: Likewise.
19418 * manual/terminal.texi: Likewise.
19419 (ONLCR): Document as POSIX.
19420 (OXTABS): Document availability on GNU/Linux as XTABS.
19421 (ONOEOT): Document availability separately from other bits.
19422 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19423 * manual/time.texi: Likewise.
19424 * manual/users.texi: Likewise.
19425 * INSTALL: Regenerated.
19426 * sysdeps/gnu/errlist.c: Regenerated.
19427
07037eeb
JM
19428 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19429 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19430 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19431 puts.
19432 * configure: Regenerated.
19433
d1d3431a
JM
194342012-03-07 Joseph Myers <joseph@codesourcery.com>
19435
af6a1e37
JM
19436 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19437 default includes instead of AC_HEADER_CHECK.
19438 * sysdeps/i386/configure: Regenerated.
19439
d1d3431a
JM
19440 [BZ #10716]
19441 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19442 * math/s_cacoshf.c (__cacoshf): Likewise.
19443 * math/s_cacoshl.c (__cacoshl): Likewise.
19444 * math/s_casinh.c (__casinh): Set signs of result from argument.
19445 * math/s_casinhf.c (__casinhf): Likewise.
19446 * math/s_casinhl.c (__casinhl): Likewise.
19447 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19448 (casinh_test): Add more tests.
19449 * sysdeps/i386/fpu/libm-test-ulps: Update.
19450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19451
482ff4da
UD
194522012-03-07 Ulrich Drepper <drepper@gmail.com>
19453
872fda05
UD
19454 * po/zh_TW.po: Update from translation team.
19455
a4300c7a
UD
19456 * login/Makefile (distribute): Remove variable.
19457 * catgets/Makefile: Likewise.
19458 * mach/Makefile: Likewise.
19459 * malloc/Makefile: Likewise.
19460 * misc/Makefile: Likewise.
19461 * iconv/Makefile: Likewise.
19462 * nscd/Makefile: Likewise.
19463 * hurd/Makefile: Likewise.
19464 * manual/Makefile: Likewise.
19465 * locale/Makefile: Likewise.
19466 * intl/Makefile: Likewise.
19467 * conform/Makefile: Likewise.
19468 * nss/Makefile: Likewise.
19469 * time/Makefile: Likewise.
19470 * soft-fp/Makefile: Likewise.
19471 * dirent/Makefile: Likewise.
19472 * gmon/Makefile: Likewise.
19473 * po/Makefile: Likewise.
19474 * rt/Makefile: Likewise.
19475 * socket/Makefile: Likewise.
19476 * math/Makefile: Likewise.
19477 * signal/Makefile: Likewise.
19478 * debug/Makefile: Likewise.
19479 * elf/Makefile: Likewise.
19480 * timezone/Makefile: Likewise.
19481 * stdlib/Makefile: Likewise.
19482 * iconvdata/Makefile: Likewise.
19483 * sunrpc/Makefile: Likewise.
19484 * io/Makefile: Likewise.
19485 * argp/Makefile: Likewise.
19486 * inet/Makefile: Likewise.
19487 * hesiod/Makefile: Likewise.
19488 * grp/Makefile: Likewise.
19489 * csu/Makefile: Likewise.
19490 * wctype/Makefile: Likewise.
19491 * crypt/Makefile: Likewise.
19492 * libio/Makefile: Likewise.
19493 * string/Makefile: Likewise.
19494 * nis/Makefile: Likewise.
19495 * resolv/Makefile: Likewise.
19496 * stdio-common/Makefile: Likewise.
19497 * wcsmbs/Makefile: Likewise.
19498 * dlfcn/Makefile: Likewise.
19499 * posix/Makefile: Likewise.
19500
3b7c4e74 19501 [BZ #6959]
482ff4da
UD
19502 * timezone/Makefile: Don't install timezone files, just the programs
19503 and scripts.
19504
f72ed77d
UD
195052012-03-06 Ulrich Drepper <drepper@gmail.com>
19506
a000466f
UD
19507 * nss/databases.def: Add missing gshadow entry.
19508
f72ed77d
UD
19509 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19510
a53b7a4e
MP
195112012-03-06 Marek Polacek <polacek@redhat.com>
19512
19513 [BZ #13726]
19514 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19515 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19516 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19517 * stdio-common/tst-long-dbl-fphex.c: New file.
19518
e9258400
DM
195192012-03-06 David S. Miller <davem@davemloft.net>
19520
19521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19522 (set_obp_int): New function.
19523 (get_obp_int): New function.
19524 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19525 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19526 Avoid unused variable warnings on 'val' and use builtin_expect.
19527 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19528 __builtin_expect.
e9258400
DM
19529 (INLINE_CLONE_SYSCALL): Likewise.
19530
3bd2c723
DM
195312012-03-05 David S. Miller <davem@davemloft.net>
19532
19533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19534
bbb78d03
AS
195352012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19536
884c5db4
AS
19537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19538
bbb78d03
AS
19539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19540 only for |x| >= 40.
19541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19542
1c9f702a 195432012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19544
19545 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19546 Replace gettimeofday with __vdso_gettimeofday.
19547
7be16f82
RM
19548 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19549 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19550 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19551
19552 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19553 time with __vdso_time.
19554
ed58a00f
JM
195552012-03-05 Joseph Myers <joseph@codesourcery.com>
19556
19557 * manual/lang.texi (size_t): Note types to which size_t may be
19558 equivalent with the GNU C Library, but do not describe when
19559 differences between them are significant.
19560
30ee4ced
AJ
195612012-03-05 Andreas Jaeger <aj@suse.de>
19562
19563 * sysdeps/i386/fpu/libm-test-ulps: Update.
19564
b7cd39e8
JM
195652012-03-05 Joseph Myers <joseph@codesourcery.com>
19566
19567 [BZ #3976]
19568 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19569 (__ieee754_pow): Save and restore rounding mode and use
19570 round-to-nearest for main computations.
19571 * math/libm-test.inc (pow_test_tonearest): New function.
19572 (pow_test_towardzero): Likewise.
19573 (pow_test_downward): Likewise.
19574 (pow_test_upward): Likewise.
19575 (main): Call the new functions.
19576 * sysdeps/i386/fpu/libm-test-ulps: Update.
19577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19578
19579 [BZ #3976]
19580 * math/libm-test.inc (cosh_test_tonearest): New function.
19581 (cosh_test_towardzero): Likewise.
19582 (cosh_test_downward): Likewise.
19583 (cosh_test_upward): Likewise.
19584 (sinh_test_tonearest): Likewise.
19585 (sinh_test_towardzero): Likewise.
19586 (sinh_test_downward): Likewise.
19587 (sinh_test_upward): Likewise.
19588 (main): Call the new functions.
19589 * sysdeps/i386/fpu/libm-test-ulps: Update.
19590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19591
6c6a98c9
TV
195922012-03-05 Tom de Vries <tom@codesourcery.com>
19593
19594 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19595 default stack guard is set in last bytes.
19596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19597
21bb2d2e 195982012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19599
21bb2d2e 19600 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19601
21bb2d2e
AJ
19602 [BZ #13656]
19603 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19604 possibly allocate from heap instead of stack.
19605 * stdio-common/bug-vfprintf-nargs.c: New file.
19606 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19607
c6922934
AS
196082012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19609
19610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19611
bc957d53
MP
196122012-03-03 Marek Polacek <polacek@redhat.com>
19613
19614 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19615 * math/math_private.h: Likewise.
19616 * stdlib/tst-strtod.c: Likewise.
19617 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19618 * sysdeps/x86_64/bits/atomic.h: Likewise.
19619
6358490d
DM
196202012-03-02 David S. Miller <davem@davemloft.net>
19621
19622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19626 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19627 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19628 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19629 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19630
01ae168d
RM
196312012-03-02 Roland McGrath <roland@hack.frob.com>
19632
d9a17c07
RM
19633 [BZ #13792]
19634 * manual/examples/README: New file, says the example source files
19635 can be used under GPL>=2.
19636 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19637 line containing just "*/".
19638 * manual/examples/add.c: Add copyright header (GPL>=2).
19639 * manual/examples/argp-ex1.c: Likewise.
19640 * manual/examples/argp-ex2.c: Likewise.
19641 * manual/examples/argp-ex3.c: Likewise.
19642 * manual/examples/argp-ex4.c: Likewise.
19643 * manual/examples/atexit.c: Likewise.
19644 * manual/examples/db.c: Likewise.
19645 * manual/examples/dir.c: Likewise.
19646 * manual/examples/dir2.c: Likewise.
19647 * manual/examples/execinfo.c: Likewise.
19648 * manual/examples/filecli.c: Likewise.
19649 * manual/examples/filesrv.c: Likewise.
19650 * manual/examples/fmtmsgexpl.c: Likewise.
19651 * manual/examples/genpass.c: Likewise.
19652 * manual/examples/inetcli.c: Likewise.
19653 * manual/examples/inetsrv.c: Likewise.
19654 * manual/examples/isockad.c: Likewise.
19655 * manual/examples/longopt.c: Likewise.
19656 * manual/examples/memopen.c: Likewise.
19657 * manual/examples/memstrm.c: Likewise.
19658 * manual/examples/mkfsock.c: Likewise.
19659 * manual/examples/mkisock.c: Likewise.
19660 * manual/examples/mygetpass.c: Likewise.
19661 * manual/examples/pipe.c: Likewise.
19662 * manual/examples/popen.c: Likewise.
19663 * manual/examples/rprintf.c: Likewise.
19664 * manual/examples/search.c: Likewise.
19665 * manual/examples/select.c: Likewise.
19666 * manual/examples/setjmp.c: Likewise.
19667 * manual/examples/sigh1.c: Likewise.
19668 * manual/examples/sigusr.c: Likewise.
19669 * manual/examples/stpcpy.c: Likewise.
19670 * manual/examples/strdupa.c: Likewise.
19671 * manual/examples/strftim.c: Likewise.
19672 * manual/examples/strncat.c: Likewise.
19673 * manual/examples/subopt.c: Likewise.
19674 * manual/examples/swapcontext.c: Likewise.
19675 * manual/examples/termios.c: Likewise.
19676 * manual/examples/testopt.c: Likewise.
19677 * manual/examples/testpass.c: Likewise.
19678 * manual/examples/timeval_subtract.c: Likewise.
19679
01ae168d
RM
19680 [BZ #13792]
19681 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19682 function to ...
19683 * manual/timeval_subtract.c.texi: ... here, new file.
19684
49efa33d
DM
196852012-03-02 David S. Miller <davem@davemloft.net>
19686
19687 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19688
28afd92d
JM
196892012-03-02 Joseph Myers <joseph@codesourcery.com>
19690
804360ed
JM
19691 [BZ #3976]
19692 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19693 (__sin): Save and restore rounding mode and use round-to-nearest
19694 for all computations.
19695 (__cos): Save and restore rounding mode and use round-to-nearest
19696 for all computations.
19697 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19698 <fenv.h>.
19699 (tan): Save and restore rounding mode and use round-to-nearest for
19700 all computations.
19701 * math/libm-test.inc (cos_test_tonearest): New function.
19702 (cos_test_towardzero): Likewise.
19703 (cos_test_downward): Likewise.
19704 (cos_test_upward): Likewise.
19705 (sin_test_tonearest): Likewise.
19706 (sin_test_towardzero): Likewise.
19707 (sin_test_downward): Likewise.
19708 (sin_test_upward): Likewise.
19709 (tan_test_tonearest): Likewise.
19710 (tan_test_towardzero): Likewise.
19711 (tan_test_downward): Likewise.
19712 (tan_test_upward): Likewise.
19713 (main): Call the new functions.
19714 * sysdeps/i386/fpu/libm-test-ulps: Update.
19715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19716
a6d06d7b
JM
19717 [BZ #10135]
19718 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19719 small n, then large n, before computing and testing k+n.
19720 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19722 Likewise.
19723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19724 Likewise.
19725 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19726 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19727 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19728 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19729 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19730 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19732 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19733 * math/libm-test.inc (scalbn_test): Add more tests.
19734 (scalbln_test): Likewise.
19735
07e12bb3
JM
19736 * manual/filesys.texi (mode_t): Describe constraints on size and
19737 signedness, not exact equivalence to a particular type.
19738 (ino_t): Likewise.
19739 (ino64_t): Likewise.
19740 (dev_t): Likewise.
19741 (nlink_t): Likewise.
19742 (blkcnt_t): Likewise.
19743 (blkcnt64_t): Likewise.
19744 * manual/llio.texi (off_t): Likewise.
19745
28afd92d
JM
19746 [BZ #3976]
19747 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19748 (__ieee754_exp): Save and restore rounding mode and use
19749 round-to-nearest for all computations.
19750 * math/libm-test.inc (exp_test_tonearest): New function.
19751 (exp_test_towardzero): Likewise.
19752 (exp_test_downward): Likewise.
19753 (exp_test_upward): Likewise.
19754 (main): Call the new functions.
19755 * sysdeps/i386/fpu/libm-test-ulps: Update.
19756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19757
b1eeb65d
CD
197582012-03-01 Chris Demetriou <cgd@google.com>
19759
19760 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19761 have predictable order.
19762
53362a4b
DM
197632012-03-01 David S. Miller <davem@davemloft.net>
19764
3c969083
DM
19765 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19766
759707de
DM
19767 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19768 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19769 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19770 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19771
dfdb8ff2
DM
19772 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19773 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19774 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19776 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19777 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19778 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19779 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19780 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19781
ead89f96
DM
19782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19783
7f66bd07
DM
19784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19785 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19786 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19787
53362a4b
DM
19788 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19789 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19791 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19792 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19795 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19796 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19797 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19798 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19799 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19800 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19801 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19802 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19804 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19805 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19806 * sysdeps/sparc/elf/configure: Regenerated.
19807
7b1902cb
JM
198082012-03-01 Joseph Myers <joseph@codesourcery.com>
19809
bec039bc
JM
19810 * configure.in (AS, LD): Require binutils 2.20 or later.
19811 * configure: Regenerated.
19812 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19813 as required minimum version.
19814 * INSTALL: Regenerated.
19815
7b1902cb
JM
19816 [BZ #2541]
19817 [BZ #4108]
19818 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19819 before squaring exponent.
19820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19821 bottom long double and 27 bits of top long double before squaring
19822 exponent.
19823 * math/libm-test.inc (erfc_test): Add more tests.
19824 * sysdeps/i386/fpu/libm-test-ulps: Update.
19825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19827
f775c276
KT
198282012-03-01 Kai Tietz <ktietz@redhat.com>
19829
19830 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19831 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19832 containing bit-fields.
19833 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19834 * soft-fp/single.h (_FP_UNION_S): Likewise.
19835 * soft-fp/double.h (_FP_UNION_D): Likewise.
19836
5b8a4d4a
JM
198372012-02-29 Joseph Myers <joseph@codesourcery.com>
19838
0bab47b6
JM
19839 [BZ #13786]
19840 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19841 not include ../strcmp.S.
19842 [USE_AS_STRNCASECMP_L]: Likewise.
19843 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19844 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19845 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19846 (__strncasecmp_l_ia32): Define as alias to
19847 __strncasecmp_l_nonascii.
19848
0fcad3e2
JM
19849 [BZ #5794]
19850 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19851 * sysdeps/i386/fpu/libm-test-ulps: Update.
19852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19853
5b8a4d4a
JM
19854 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19856
8fdceb2e
JL
198572012-02-29 Jeff Law <law@redhat.com>
19858
19859 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19860 out of bounds read.
19861
1f393a11
MP
198622012-02-29 Marek Polacek <polacek@redhat.com>
19863
19864 [BZ #13706]
19865 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19866 * elf/Makefile: Add rules to run tst-unused-dep.out.
19867
8847f037
DM
198682012-02-28 David S. Miller <davem@davemloft.net>
19869
19870 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19871 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19874 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19875 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19876
169d7f11
JM
198772012-02-29 Joseph Myers <joseph@codesourcery.com>
19878
19879 * math/libm-test.inc (llround_test): Move one test from
19880 lround_test. Use TEST_f_L in moved test.
19881 (lround_test): Move misplaced test to llround_test. Add testcase
19882 from bug 2561.
19883
39adf059
UD
198842012-02-28 Ulrich Drepper <drepper@gmail.com>
19885
19886 * sysdeps/x86_64/fpu/e_expf.S: New file.
19887 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19888
71b5d1c5
SB
198892012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19890
19891 [BZ #13637]
19892 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19893 of remain_len that may cause incomplete multi-byte character and
19894 false match.
19895 * posix/bug-regex33.c: New file.
19896 * posix/Makefile (tests): Add bug-regex33.
19897
1f77f049
JM
198982012-02-28 Joseph Myers <joseph@codesourcery.com>
19899
19900 * manual/macros.texi: New file.
19901 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19902 * manual/libc.texinfo: Include macros.texi.
19903 * manual/creatute.texi: Likewise.
19904 * manual/install.texi: Likewise.
19905 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19906 @glibcadj{} in references to the GNU C Library.
19907 * manual/charset.texi: Likewise.
19908 * manual/conf.texi: Likewise.
19909 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19910 when not using those macros.
19911 * manual/creature.texi: Likewise.
19912 * manual/crypt.texi: Likewise.
19913 * manual/errno.texi: Likewise.
19914 * manual/filesys.texi: Likewise.
19915 * manual/header.texi: Likewise.
19916 * manual/install.texi: Likewise.
19917 * manual/intro.texi: Likewise.
19918 * manual/io.texi: Likewise.
19919 * manual/job.texi: Likewise.
19920 * manual/lang.texi: Likewise.
19921 * manual/libc.texiinfo: Likewise.
19922 * manual/llio.texi: Likewise.
19923 * manual/locale.texi: Likewise.
19924 * manual/maint.texi: Likewise.
19925 * manual/math.texi: Likewise.
19926 * manual/memory.texi: Likewise.
19927 * manual/message.texi: Likewise.
19928 * manual/nss.texi: Likewise.
19929 * manual/pattern.texi: Likewise.
19930 * manual/process.texi: Likewise.
19931 * manual/resource.texi: Likewise.
19932 * manual/search.texi: Likewise.
19933 * manual/setjmp.texi: Likewise.
19934 * manual/signal.texi: Likewise.
19935 * manual/socket.texi: Likewise.
19936 * manual/startup.texi: Likewise.
19937 * manual/stdio.texi: Likewise.
19938 * manual/string.texi: Likewise.
19939 * manual/sysinfo.texi: Likewise.
19940 * manual/syslog.texi: Likewise.
19941 * manual/terminal.texi: Likewise.
19942 * manual/time.texi: Likewise.
19943 * manual/users.texi: Likewise.
19944 * INSTALL: Regenerated.
19945 * NOTES: Regenerated.
d40c5d54 19946 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19947
450bf206
AS
199482012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19949
19950 * include/dirent.h: Include <dirstream.h> before
19951 <dirent/dirent.h>.
19952
741a235b
DM
199532012-02-28 David S. Miller <davem@davemloft.net>
19954
19955 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19956 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19957 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19958 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19959
d6b5aa58
DM
199602012-02-27 David S. Miller <davem@davemloft.net>
19961
1aff59a3
DM
19962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19964 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19965 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19966
d6b5aa58
DM
19967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19968 frame pointer instead of stack pointer relative arg slot.
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19972
433f48bf
CD
199732012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19974
19975 [BZ #3992]
19976 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19977
d674b76d
DM
199782012-02-27 David S. Miller <davem@davemloft.net>
19979
19980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19984 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19985 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19986 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19987 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19988
0e7727f7
JM
199892012-02-27 Joseph Myers <joseph@codesourcery.com>
19990
19991 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19992 later. Allow versions 5-9.
43be4ca2 19993 * configure: Regenerated.
0e7727f7
JM
19994 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19995 required minimum version and 4.6 as recommended version. Do not
19996 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19997 * INSTALL: Regenerated.
0e7727f7 19998
a78bc654
DM
199992012-02-27 David S. Miller <davem@davemloft.net>
20000
428d5830
DM
20001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20005 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20006 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20007 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20008 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20009
a78bc654
DM
20010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20011 manipulate bits before adding and subtracting TWO112[sx].
20012 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20013
4579f81c
RM
200142012-02-27 Roland McGrath <roland@hack.frob.com>
20015
36c8acb4
RM
20016 [BZ #13775]
20017 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20018 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20019 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20020 being in POSIX, because they are in 1003.1-2008.
20021
84ad622b
RM
20022 * rt/tst-aio.c: Include <fcntl.h>.
20023 * rt/tst-aio7.c: Likewise.
20024 * rt/tst-aio64.c: Likewise.
20025
4579f81c
RM
20026 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20027
abd923db
JM
200282012-02-27 Joseph Myers <joseph@codesourcery.com>
20029
20030 * manual/install.texi (--with-headers): Describe headers as
20031 interface headers, not private headers.
20032 (Specific advice for GNU/Linux systems): Describe use of headers
20033 from "make headers_install", not private headers from older
20034 kernels.
43be4ca2 20035 * INSTALL: Regenerated.
abd923db
JM
20036 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20037 Change to 2.6.19.
20038 * sysdeps/unix/sysv/linux/configure: Regenerated.
20039
6664049b
JM
20040 * manual/llio.texi (fclean): Remove documentation.
20041
bb8b6697
JM
20042 * manual/Makefile (libc-texi-generated): New variable. Include
20043 version.texi.
20044 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20045 $(libc-texi-generated), not duplicated list of files.
20046 (version.texi, stamp-version): New rules.
20047 (realclean): Remove $(libc-texi-generated), not individual files
20048 from that list. Do not remove dir-add.texinfo.
20049 * manual/libc.texinfo: Comment out uses of edition numbers and
20050 references to printed manual. Remove last-updated dates.
20051 (EDITION): Comment out.
20052 (ISBN): Likewise.
20053 (VERSION, UPDATED): Remove.
20054 (version.texi): Include.
20055
12e5c3b9
AS
200562012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20057
20058 * sysdeps/posix/spawni.c: Include <signal.h>.
20059 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20060 * sysdeps/pthread/aio_fsync.c: Likewise.
20061
4efeffc1 200622012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20063
ba63ba08
UD
20064 * conform/Makefile (tests): Run only when not cross-compiling and
20065 when fast-check is not defined.
20066
d94a4670
UD
20067 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20068 * conform/data/limits.h-data: Fixes for POSIX2008.
20069 * conform/run-conformtest.sh: Run all tests.
20070 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20071 headers.
20072 * include/bits/dlfcn.h: Likewise.
20073 * include/langinfo.h: Likewise.
20074 * include/monetary.h: Likewise.
20075 * include/sys/poll.h: Likewise.
20076
20077 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20078 for __USE_GNU.
20079 * posix/spawn.h: Define __need_sigset_t.
20080 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20081 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20082 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20083 to get sigevent_t only.
20084 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20085 only for __USE_GNU.
20086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20087 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20088 process_vm_writev only for __USE_GNU.
20089 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20090
20091 * conform/Makefile: For now ignore errors from run-conformtest.
20092 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20093 POSIX to avoid namespace pollution. Don't prepend headers.
20094 * conform/data/aio.h-data: Fixes for POSIX testing.
20095 * conform/data/fcntl.h-data: Likewise.
20096 * conform/data/glob.h-data: Likewise.
20097 * conform/data/grp.h-data: Likewise.
20098 * conform/data/pthread.h-data: Likewise.
20099 * conform/data/pwd.h-data: Likewise.
20100 * conform/data/signal.h-data: Likewise.
20101 * conform/data/spawn.h-data: Likewise.
20102 * conform/data/stdio.h-data: Likewise.
20103 * conform/data/stdlib.h-data: Likewise.
20104 * conform/data/stropts.h-data: Likewise.
20105 * conform/data/sys/mman.h-data: Likewise.
20106 * conform/data/sys/stat.h-data: Likewise.
20107 * conform/data/sys/types.h-data: Likewise.
20108 * conform/data/sys/wait.h-data: Likewise.
20109 * conform/data/time.h-data: Likewise.
20110 * conform/data/unistd.h-data: Likewise.
20111 * conform/data/utime.h-data: Likewise.
20112
20113 * io/sys/stat.h: fchmod was always in POSIX.
20114 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20115 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20116 * rt/aio.h: Define __need_timespec before including <time.h>.
20117 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20118 struct. Add forward declaration of pthread_attr_t and use it in
20119 sigevent.
20120 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20121 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20122 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20123 always remove CLK_TCK definition.
20124
c20105c3
AS
201252012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20126
20127 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20128
7a270350
UD
201292012-02-25 Ulrich Drepper <drepper@gmail.com>
20130
31341567
UD
20131 * conform/run-conformtest.sh: New file.
20132 * conform/Makefile: Run run-conformtest for tests.
20133 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20134 support.
20135
20136 * conform/data/uchar.h-data: New file.
20137 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20138 * conform/data/arpa/inet.h-data: Likewise.
20139 * conform/data/assert.h-data: Likewise.
20140 * conform/data/complex.h-data: Likewise.
20141 * conform/data/cpio.h-data: Likewise.
20142 * conform/data/ctype.h-data: Likewise.
20143 * conform/data/dirent.h-data: Likewise.
20144 * conform/data/dlfcn.h-data: Likewise.
20145 * conform/data/errno.h-data: Likewise.
20146 * conform/data/fcntl.h-data: Likewise.
20147 * conform/data/float.h-data: Likewise.
20148 * conform/data/fmtmsg.h-data: Likewise.
20149 * conform/data/fnmatch.h-data: Likewise.
20150 * conform/data/ftw.h-data: Likewise.
20151 * conform/data/glob.h-data: Likewise.
20152 * conform/data/grp.h-data: Likewise.
20153 * conform/data/iconv.h-data: Likewise.
20154 * conform/data/inttypes.h-data: Likewise.
20155 * conform/data/langinfo.h-data: Likewise.
20156 * conform/data/libgen.h-data: Likewise.
20157 * conform/data/limits.h-data: Likewise.
20158 * conform/data/locale.h-data: Likewise.
20159 * conform/data/math.h-data: Likewise.
20160 * conform/data/monetary.h-data: Likewise.
20161 * conform/data/mqueue.h-data: Likewise.
20162 * conform/data/ndbm.h-data: Likewise.
20163 * conform/data/net/if.h-data: Likewise.
20164 * conform/data/netdb.h-data: Likewise.
20165 * conform/data/netinet/in.h-data: Likewise.
20166 * conform/data/nl_types.h-data: Likewise.
20167 * conform/data/poll.h-data: Likewise.
20168 * conform/data/pthread.h-data: Likewise.
20169 * conform/data/pwd.h-data: Likewise.
20170 * conform/data/regex.h-data: Likewise.
20171 * conform/data/sched.h-data: Likewise.
20172 * conform/data/search.h-data: Likewise.
20173 * conform/data/semaphore.h-data: Likewise.
20174 * conform/data/setjmp.h-data: Likewise.
20175 * conform/data/signal.h-data: Likewise.
20176 * conform/data/spawn.h-data: Likewise.
20177 * conform/data/stdarg.h-data: Likewise.
20178 * conform/data/stdio.h-data: Likewise.
20179 * conform/data/stdlib.h-data: Likewise.
20180 * conform/data/string.h-data: Likewise.
20181 * conform/data/strings.h-data: Likewise.
20182 * conform/data/stropts.h-data: Likewise.
20183 * conform/data/sys/ipc.h-data: Likewise.
20184 * conform/data/sys/mman.h-data: Likewise.
20185 * conform/data/sys/msg.h-data: Likewise.
20186 * conform/data/sys/resource.h-data: Likewise.
20187 * conform/data/sys/select.h-data: Likewise.
20188 * conform/data/sys/sem.h-data: Likewise.
20189 * conform/data/sys/shm.h-data: Likewise.
20190 * conform/data/sys/socket.h-data: Likewise.
20191 * conform/data/sys/stat.h-data: Likewise.
20192 * conform/data/sys/statvfs.h-data: Likewise.
20193 * conform/data/sys/time.h-data: Likewise.
20194 * conform/data/sys/timeb.h-data: Likewise.
20195 * conform/data/sys/times.h-data: Likewise.
20196 * conform/data/sys/types.h-data: Likewise.
20197 * conform/data/sys/uio.h-data: Likewise.
20198 * conform/data/sys/un.h-data: Likewise.
20199 * conform/data/sys/utsname.h-data: Likewise.
20200 * conform/data/sys/wait.h-data: Likewise.
20201 * conform/data/syslog.h-data: Likewise.
20202 * conform/data/tar.h-data: Likewise.
20203 * conform/data/termios.h-data: Likewise.
20204 * conform/data/utime.h-data: Likewise.
20205 * conform/data/utmpx.h-data: Likewise.
20206 * conform/data/varargs.h-data: Likewise.
20207 * conform/data/wchar.h-data: Likewise.
20208 * conform/data/wctype.h-data: Likewise.
20209 * conform/data/wordexp.h-data: Likewise.
20210
20211 * include/stropts.h: New file.
20212 * include/uchar.h: New file.
20213 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20214 * include/assert.h: Likewise.
20215 * include/ctype.h: Likewise.
20216 * include/dirent.h: Likewise.
20217 * include/dlfcn.h: Likewise.
20218 * include/fcntl.h: Likewise.
20219 * include/fnmatch.h: Likewise.
20220 * include/glob.h: Likewise.
20221 * include/grp.h: Likewise.
20222 * include/libio.h: Likewise.
20223 * include/locale.h: Likewise.
20224 * include/math.h: Likewise.
20225 * include/net/if.h: Likewise.
20226 * include/netdb.h: Likewise.
20227 * include/netinet/in.h: Likewise.
20228 * include/pthread.h: Likewise.
20229 * include/pwd.h: Likewise.
20230 * include/regex.h: Likewise.
20231 * include/sched.h: Likewise.
20232 * include/search.h: Likewise.
20233 * include/setjmp.h: Likewise.
20234 * include/signal.h: Likewise.
20235 * include/stdio.h: Likewise.
20236 * include/stdlib.h: Likewise.
20237 * include/string.h: Likewise.
20238 * include/sys/cdefs.h: Likewise.
20239 * include/sys/mman.h: Likewise.
20240 * include/sys/msg.h: Likewise.
20241 * include/sys/resource.h: Likewise.
20242 * include/sys/select.h: Likewise.
20243 * include/sys/socket.h: Likewise.
20244 * include/sys/stat.h: Likewise.
20245 * include/sys/statvfs.h: Likewise.
20246 * include/sys/time.h: Likewise.
20247 * include/sys/times.h: Likewise.
20248 * include/sys/uio.h: Likewise.
20249 * include/sys/utsname.h: Likewise.
20250 * include/sys/wait.h: Likewise.
20251 * include/termios.h: Likewise.
20252 * include/time.h: Likewise.
20253 * include/ulimit.h: Likewise.
20254 * include/unistd.h: Likewise.
20255 * include/utime.h: Likewise.
20256 * include/wchar.h: Likewise.
20257 * include/wctype.h: Likewise.
20258 * include/wordexp.h: Likewise.
20259
20260 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20261
7a270350
UD
20262 * time/time.h: TIME_UTC must be a macro.
20263 Make timespec_get available for ISO C11 only as well.
20264
7724defc
UD
202652012-02-24 Ulrich Drepper <drepper@gmail.com>
20266
20267 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20268 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20269
6b1d1d46
JM
202702012-02-24 Joseph Myers <joseph@codesourcery.com>
20271
20272 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20273
0f8bbd69
JM
202742012-02-24 Joseph Myers <joseph@codesourcery.com>
20275
20276 * manual/texinfo.tex: Update to version 2012-01-19.16.
20277
66ab80bc
JM
202782012-02-24 Joseph Myers <joseph@codesourcery.com>
20279
20280 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20281
74981cc5
RM
202822012-02-24 Roland McGrath <roland@hack.frob.com>
20283
ee968201
RM
20284 [BZ #13738]
20285 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20286 * manual/fdl-1.3.texi: New file.
20287 * manual/fdl-1.1.texi: File removed.
20288
74981cc5
RM
20289 [BZ #13738]
20290 * manual/libc.texinfo (FDL_VERSION): New @set.
20291 Use it for mention of FDL in cover text.
20292 (Documentation License): Use it in @include file name.
20293
7bb764bc
JM
202942012-02-22 Joseph Myers <joseph@codesourcery.com>
20295 Roland McGrath <roland@hack.frob.com>
20296
20297 [BZ #5461]
20298 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20299 not LONG_LONG_MAX and LONG_LONG_MIN.
20300 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20301 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20302 name.
20303 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20304
6cbeae47
JM
203052012-02-22 Joseph Myers <joseph@codesourcery.com>
20306
20307 [BZ #2547]
20308 [BZ #11365]
20309 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20310 manipulate bits before adding and subtracting TWO23[sx].
20311 * math/libm-test.inc (nearbyint_test): Add more tests.
20312
fe45ce09
JM
203132012-02-22 Joseph Myers <joseph@codesourcery.com>
20314
20315 [BZ #2548]
20316 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20317 bits before adding and subtracting TWO23[sx].
20318 * math/libm-test.inc (rint_test): Add more tests.
20319 (rint_test_tonearest): Likewise.
20320 (rint_test_towardzero): Likewise.
20321 (rint_test_downward): Likewise.
20322 (rint_test_upward: Likewise.
20323
ff3b3d82
JM
203242012-02-22 Joseph Myers <joseph@codesourcery.com>
20325
20326 [BZ #10110]
20327 * include/stdc-predef.h: New file. Extracted from features.h.
20328 * include/features.h: Include stdc-predef.h.
20329 * Makefile (headers): Add stdc-predef.h.
20330 * CONFORMANCE (Compiler limitations): Update.
20331
ef0aab35
JM
203322012-02-22 Joseph Myers <joseph@codesourcery.com>
20333
20334 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20335
58639409
DM
203362012-02-21 David S. Miller <davem@davemloft.net>
20337
20338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20339 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20340
c0e70b25
DM
203412012-02-20 David S. Miller <davem@davemloft.net>
20342
20343 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20344 using a normal save/restore sequence, rather than allocating a
20345 dummy stack frame just to store a frame pointer and restore.
20346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20347
fb06851d
JM
203482012-02-21 Joseph Myers <joseph@codesourcery.com>
20349
20350 * manual/install.texi: Fix stray word in line-wrapped comment.
20351
7a8b71c3
DM
203522012-02-20 David S. Miller <davem@davemloft.net>
20353
d510c123
DM
20354 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20355 both binutils and gcc support GOTDATA.
20356
0722d7c2
DM
20357 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20358 "rd %pc" in the PIC register setup sequences.
20359
3d2b3019
DM
20360 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20361 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20362 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20363 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20364 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20366 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20367 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20369 (SYSCALL_ERROR_HANDLER): Likewise.
20370 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20371 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20373 (SYSCALL_ERROR_HANDLER): Likewise.
20374
c80098a9
DM
20375 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20376 (HAVE_GCC_GOTDATA): New.
20377 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20378 relocation support in both binutils and gcc.
20379 * sysdeps/sparc/elf/configure: Regenerate.
20380
3a2545a0
DM
20381 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20382 * sysdeps/sparc/sparc32/elf/configure: Delete.
20383 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20384 * sysdeps/sparc/sparc64/elf/configure: Delete.
20385 * sysdeps/sparc/elf/configure.in: New file.
20386 * sysdeps/sparc/elf/configure: Generate.
20387
7a8b71c3
DM
20388 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20389 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20390 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20391 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20392 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20393
f1e86fca
JM
203942012-02-21 Joseph Myers <joseph@codesourcery.com>
20395
20396 * manual/install.texi: Do not mention specific glibc version
20397 numbers.
20398 * manual/libc.texinfo (VERSION, UPDATED): Update.
20399 (@copying): Use @copyright{} and range of years.
20400
0e7dfaef
JM
204012012-02-21 Joseph Myers <joseph@codesourcery.com>
20402
20403 [BZ #13695]
20404 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20405 [crti.S not in sysdirs] (generated): Do not append.
20406 [crti.S not in sysdirs] (omit-deps): Likewise.
20407 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20408 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20409 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20410 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20411 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20412 Likewise.
20413 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20414 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20415 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20416 * csu/defs.awk: Remove file.
20417 * sysdeps/generic/initfini.c: Likewise.
20418 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20419 variable.
20420 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20421 Likewise.
20422
599af3ca
JM
204232012-02-20 Joseph Myers <joseph@codesourcery.com>
20424
20425 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20426 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20427 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20428 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20429 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20430 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20431 <bits/epoll.h>.
20432 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20433 (__EPOLL_PACKED): Define to empty if not defined by
20434 <bits/epoll.h>.
20435 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20437 bits/epoll.h.
20438
0e499750
JM
204392012-02-20 Joseph Myers <joseph@codesourcery.com>
20440
20441 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20442 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20443 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20444 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20445 <bits/timerfd.h>.
20446 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20448 bits/timerfd.h.
20449
5ad91f6e
JM
204502012-02-20 Joseph Myers <joseph@codesourcery.com>
20451
20452 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20453 in C locale.
20454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20455 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20456 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20458
06b99b02
AJ
204592012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20460
20461 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20462 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20463
7638c0fd
AS
204642012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20465
20466 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20467 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20468 defined.
20469 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20470 Likewise.
20471 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20472 entry for 2.16.
20473
92221550
AJ
204742012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20475
20476 * math/w_acos.c: Use non-signaling floating-point comparisons.
20477 * math/w_acosf.c: Likewise.
20478 * math/w_acosh.c: Likewise.
20479 * math/w_acoshf.c: Likewise.
20480 * math/w_acoshl.c: Likewise.
20481 * math/w_acosl.c: Likewise.
20482 * math/w_asin.c: Likewise.
20483 * math/w_asinf.c: Likewise.
20484 * math/w_asinl.c: Likewise.
20485 * math/w_atanh.c: Likewise.
20486 * math/w_atanhf.c: Likewise.
20487 * math/w_atanhl.c: Likewise.
20488 * math/w_exp2.c: Likewise.
20489 * math/w_exp2f.c: Likewise.
20490 * math/w_exp2l.c: Likewise.
20491 * math/w_j0.c: Likewise.
20492 * math/w_j0f.c: Likewise.
20493 * math/w_j0l.c: Likewise.
20494 * math/w_j1.c: Likewise.
20495 * math/w_j1f.c: Likewise.
20496 * math/w_j1l.c: Likewise.
20497 * math/w_jn.c: Likewise.
20498 * math/w_jnf.c: Likewise.
20499 * math/w_log.c: Likewise.
20500 * math/w_log10.c: Likewise.
20501 * math/w_log10f.c: Likewise.
20502 * math/w_log10l.c: Likewise.
20503 * math/w_log2.c: Likewise.
20504 * math/w_log2f.c: Likewise.
20505 * math/w_log2l.c: Likewise.
20506 * math/w_logf.c: Likewise.
20507 * math/w_logl.c: Likewise.
20508 * math/w_sqrt.c: Likewise.
20509 * math/w_sqrtf.c: Likewise.
20510 * math/w_sqrtl.c: Likewise.
20511 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20512 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20513 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20514 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20515 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20516
ebaf36eb
JM
205172012-02-19 Joseph Myers <joseph@codesourcery.com>
20518
20519 [BZ #9739]
20520 * manual/string.texi (strnlen): Use correct parameter name in
20521 equivalent expression.
20522
71c254a6
JM
205232012-02-19 Joseph Myers <joseph@codesourcery.com>
20524
20525 [BZ #11174]
20526 * manual/users.texi (seteuid): Consistently use neweuid for
20527 argument name.
20528
16d2c631
JM
205292012-02-19 Joseph Myers <joseph@codesourcery.com>
20530
20531 [BZ #13704]
20532 * manual/nss.texi (Services in the NSS configuration): Correct
20533 list of services in example configuration file.
20534
cd837b09
NB
205352012-02-19 Nick Bowler <nbowler@draconx.ca>
20536
20537 [BZ #11322]
20538 * manual/arith.texi: Remove statements about negative zero
20539 behaving identically to zero.
20540
02c4bbad
JM
205412012-02-18 Joseph Myers <joseph@codesourcery.com>
20542
20543 [BZ #5993]
20544 * manual/install.texi: Do not document upgrading from libc5.
20545
366842e7
JM
205462012-02-18 Joseph Myers <joseph@codesourcery.com>
20547
20548 [BZ #4596]
20549 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20550
dd54084d
DM
205512012-02-18 David S. Miller <davem@davemloft.net>
20552
20553 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20554 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20555 %o7 across the call.
20556 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20557 instead.
20558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20559 SETUP_PIC_REG_LEAF.
20560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20561 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20562 * sysdeps/sparc/crtn.S: Likewise.
20563
2bcc53a3
UD
205642012-02-17 Ulrich Drepper <drepper@gmail.com>
20565
20566 * aout/Makefile: Remove.
20567
09c093b5
RK
205682012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20569
20570 [BZ #13058]
20571 * manual/examples/argp-ex1.c (main): Format definition in GNU
20572 style.
20573 * manual/examples/argp-ex2.c (main): Likewise.
20574 * manual/examples/argp-ex3.c (main): Likewise.
20575 * manual/examples/argp-ex4.c (main): Likewise.
20576 * manual/examples/longopt.c (main): Use new-style prototype
20577 definition.
20578 * manual/examples/strncat.c (main): Specify return type and use
20579 (void) for arguments.
20580 * manual/examples/subopt.c (main): Use char **argv argument.
20581
2ee633a2
JM
205822012-02-17 Joseph Myers <joseph@codesourcery.com>
20583
20584 [BZ #5077]
20585 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20586 rounding modes.
20587
0520adde
FB
205882012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20589
20590 [BZ #6907]
20591 * manual/string.texi (strchr): Change when strchrnul is
20592 recommended.
20593
3f4081cd
DGM
205942012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20595
20596 [BZ #174]
20597 * manual/locale.texi (setlocale): Document LOCPATH.
20598
d1b10e78
JM
205992012-02-17 Joseph Myers <joseph@codesourcery.com>
20600
20601 [BZ #10210]
20602 * manual/process.texi (execle): Move @dots{} before last argument.
20603
79c6869c
PB
206042012-02-17 Paul Bolle <pebolle@tiscali.nl>
20605
20606 [BZ #12047]
20607 * manual/charset.texi (Generic Charset Conversion): Fix typo
20608 (LC_TYPE -> LC_CTYPE).
20609
cc6e48bc
NB
206102012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20611
20612 [BZ #5805]
20613 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20614 (scalbnf): Likewise.
20615 (scalbnl): Likewise.
20616 (scalbln): Likewise.
20617 (scalblnf): Likewise.
20618 (scalblnl): Likewise.
20619 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20620 (vwarnx): Likewise.
20621 (verr): Likewise.
20622 (verrx): Likewise.
20623 * manual/filesys.texi (telldir): Use braces around return type.
20624 * manual/llio.texi (mmap): Add space after comma.
20625 (mmap64): Likewise.
20626 * manual/math.texi (jn): Use @var{} on parameter names.
20627 (jnf): Likewise.
20628 (jnl): Likewise.
20629 (yn): Likewise.
20630 (ynf): Likewise.
20631 (ynl): Likewise.
20632 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20633 line.
20634 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20635 "...".
20636 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20637 (sched_get_priority_max): Likewise.
20638 * manual/signal.texi (sigvec): Add space after comma.
20639 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20640 names.
20641 (if_indextoname): Likewise.
20642 (if_freenameindex): Likewise.
20643 (sendto): Use ',' instead of '.' in prototype.
20644 * manual/startup.texi (syscall): Use @dots{} instead of literal
20645 "...".
20646 * manual/stdio.texi (__fpending): Separate initial words of
20647 paragraph from @deftypefun line.
20648 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20649 "...".
20650 (vsyslog): Use @var{} on parameter names.
20651 * manual/terminal.texi (stty): Use @var{} on parameter names.
20652 * manual/users.texi (getutmp): Use @var{} on parameter names.
20653 (getutmpx): Likewise.
20654
5b23062f
JM
206552012-02-17 Joseph Myers <joseph@codesourcery.com>
20656
20657 [BZ #6884]
20658 * manual/stdio.texi (fopen): Fix typos in description of
20659 ",ccs=STRING".
20660
8dee4833
AJ
206612012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20662
20663 [BZ #4026]
20664 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20665 get clock_id definition.
20666
9078ce93
TS
206672012-02-17 Thomas Schwinge <thomas@schwinge.name>
20668
20669 [BZ #4822]
20670 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20671 (madvise): Cast every argument to void on its own.
20672
3835c55f
JM
206732012-02-17 Joseph Myers <joseph@codesourcery.com>
20674
20675 [BZ #9902]
20676 * manual/startup.texi (Exit Status): Fix typo.
20677
35c47e37
JM
206782012-02-17 Joseph Myers <joseph@codesourcery.com>
20679
20680 [BZ #10140]
20681 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20682 * manual/examples/argp-ex2.c: Likewise.
20683 * manual/examples/argp-ex3.c: Likewise.
20684
e3b69ca7
RH
206852012-02-16 Richard Henderson <rth@redhat.com>
20686
20687 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20688 * sysdeps/s390/s390-32/initfini.c: Remove.
20689 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20690 * sysdeps/s390/s390-64/initfini.c: Remove.
20691
df83af67
KK
206922012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20693
20694 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20695 compiler output for sysdeps/generic/initfini.c.
20696 * sysdeps/sh/elf/initfini.c: Remove file.
20697
f63f3380
DM
206982012-02-16 David S. Miller <davem@davemloft.net>
20699
fb59b3a4
DM
20700 [BZ #11494]
20701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20702
f63f3380
DM
20703 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20704 * sysdeps/sparc/crti.S: New file.
20705 * sysdeps/sparc/crtn.S: New file.
20706 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20707 * sysdeps/sparc/sparc64/Makefile: Likewise.
20708
df6a4a4a
MF
207092012-02-15 Mike Frysinger <vapier@gentoo.org>
20710
6dd8f3dc 20711 [BZ #3335]
df6a4a4a
MF
20712 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20713
1cac7236
RM
207142012-02-15 Roland McGrath <roland@hack.frob.com>
20715
d2c736f8
RM
20716 [BZ #4822]
20717 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20718
1cac7236
RM
20719 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20720 (write, read, close): Likewise.
20721 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20722
8e475601
JM
207232012-02-15 Joseph Myers <joseph@codesourcery.com>
20724
20725 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20726 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20727 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20728 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20729 <bits/signalfd.h>.
20730 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20732 bits/signalfd.h.
20733
ed656b40
MP
207342012-02-14 Marek Polacek <polacek@redhat.com>
20735
20736 * sysdeps/x86_64/crti.S: New file.
20737 * sysdeps/x86_64/crtn.S: New file.
20738 * sysdeps/x86_64/elf/initfini.c: Remove file.
20739
2a979d3a
JM
207402012-02-13 Joseph Myers <joseph@codesourcery.com>
20741
20742 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20743 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20744 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20745 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20746 <bits/inotify.h>.
20747 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20749 bits/inotify.h.
20750
2a418ac3
JM
207512012-02-13 Joseph Myers <joseph@codesourcery.com>
20752
20753 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20754 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20755 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20756 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20757 <bits/eventfd.h>.
20758 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20759 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20760 bits/eventfd.h.
20761
fb779be7
TS
207622012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20763
e19e83c5
RM
20764 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20765 __feraiseexcept instead of feraiseexcept.
7c35ffed 20766
fb779be7
TS
20767 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20768 nanosleep invocations.
20769 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20770 strings, and add error checking for a nanosleep invocations.
20771
59ba27a6
PE
207722012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20773
20774 Replace FSF snail mail address with URLs, as per GNU coding standards.
20775 Most of the snail mail addresses were wrong anyway, and omitting
20776 them makes the source code easier to maintain. Almost all of the
20777 changes are to license notices and to locale LC_IDENTIFICATION
20778 addresses, except for this one:
20779 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20780 not its snail mail address.
20781
57b957eb
RH
207822012-02-09 Richard Henderson <rth@twiddle.net>
20783
af850b1c
RH
20784 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20785 of kernel-features.h.
20786
57b957eb
RH
20787 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20788
6b73181a
MP
207892012-02-08 Marek Polacek <polacek@redhat.com>
20790
20791 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20792 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20793 * sysdeps/gnu/_G_config.h: Likewise.
20794 * sysdeps/generic/_G_config.h: Likewise.
20795
26ecc33a
AS
207962012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20797
6c6dbc63
AS
20798 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20799 tests.
20800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20801
e216c012
AS
20802 * sysdeps/powerpc/powerpc32/crti.S: New file.
20803 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20804 * sysdeps/powerpc/powerpc64/crti.S: New file.
20805 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20806
26ecc33a
AS
20807 * Makeconfig (have-initfini): Don't set.
20808 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20809 * configure.in (nopic_initfini): Don't substitute.
20810 * config.h.in (HAVE_INITFINI): Don't #undef.
20811 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20812 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20813
3add8e13
JM
208142012-02-08 Joseph Myers <joseph@codesourcery.com>
20815
20816 Support crti.S and crtn.S provided directly by architectures.
20817 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20818 [crti.S in sysdirs] (omit-deps): Likewise.
20819 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20820 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20821 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20822 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20823 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20824 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20825 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20826 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20827 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20828 compiler output for sysdeps/generic/initfini.c.
20829 * sysdeps/i386/elf/Makefile: Remove file.
20830 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20831
a22f12b4
MP
208322012-02-07 Marek Polacek <polacek@redhat.com>
20833
20834 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20835 * sysdeps/gnu/_G_config.h: Likewise.
20836 * sysdeps/mach/hurd/_G_config.h: Likewise.
20837
148cf100
MP
208382012-02-07 Marek Polacek <polacek@redhat.com>
20839
20840 * math/Makefile (tests): Add tst-CMPLX2.
20841 * math/tst-CMPLX2.c: New file.
20842
cfdc0dd7
AS
208432012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20844
84ba42c4
AS
20845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20846
cfdc0dd7
AS
20847 * math/libm-test.inc (jn_test): Add missing L suffix.
20848
622c86f4
MP
208492012-02-06 Marek Polacek <polacek@redhat.com>
20850
20851 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20852 * sysdeps/i386/fpu/e_powf.S: Likewise.
20853 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20854 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20855 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20856 * sysdeps/i386/fpu/e_pow.S: Likewise.
20857 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20858 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20859 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20860 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20861 * sysdeps/i386/fpu/e_log2.S: Likewise.
20862 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20864 * sysdeps/i386/fpu/e_powl.S: Likewise.
20865 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20866 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20867 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20868 * sysdeps/i386/fpu/e_logl.S: Likewise.
20869 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20870 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20871 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20872 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20873 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20874 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20875 * sysdeps/i386/fpu/e_log.S: Likewise.
20876 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20877 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20878 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20879 * sysdeps/i386/fpu/e_logf.S: Likewise.
20880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20881 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20882 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20883 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20884 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20885 * sysdeps/i386/fpu/e_log10.S: Likewise.
20886 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20887 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20888 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20889 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20891 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20892 * sysdeps/i386/asm-syntax.h: Likewise.
20893 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20894 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20895 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20896 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20897 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20898 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20899 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20900 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20901 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20902 * sysdeps/powerpc/sysdep.h: Likewise.
20903 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20904 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20905
d4a54ac6
JM
209062012-02-06 Joseph Myers <joseph@codesourcery.com>
20907
20908 [BZ #411]
20909 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20910
314054ea
JM
209112012-02-06 Joseph Myers <joseph@codesourcery.com>
20912
20913 * sysdeps/i386/sysdep.h: Include <features.h>.
20914 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20915 version.
20916
d8e0ca50
JM
209172012-02-05 Joseph Myers <joseph@codesourcery.com>
20918
20919 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20920 Define.
20921 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20922 LOAD_PIC_REG_STR.
20923
b1da7dd9
JM
209242012-02-03 Joseph Myers <joseph@codesourcery.com>
20925
20926 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20927 (SETUP_PIC_REG): Use GET_PC_THUNK.
20928 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20929 macro.
20930
9a1d9254
JM
209312012-02-03 Joseph Myers <joseph@codesourcery.com>
20932
20933 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20934 for non-PIC compilation.
20935 (SETUP_PIC_REG): Add .p2align directive.
20936 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20937 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20940 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20941 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20942 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20943 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20944 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20945 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20946 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20947 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20948 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20949 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20950 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20951 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20952 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20953 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20954 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20955 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20956 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20958 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20959 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20960 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20962 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20964 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20965 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20966 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20968 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20971 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20972 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20973 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20974 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20975 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20976 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20977
65dc3b75
JM
209782012-02-03 Joseph Myers <joseph@codesourcery.com>
20979
20980 * math/tst-CMPLX.c: Include <stdio.h>.
20981
d55bf177
JM
209822012-01-31 Joseph Myers <joseph@codesourcery.com>
20983
20984 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20985 float.
20986 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20987 * sysdeps/sparc/bits/mathdef.h: Likewise.
20988
69db4f8f
MP
209892012-01-31 Marek Polacek <polacek@redhat.com>
20990
20991 * libio/libio.h: Don't define _PARAMS.
20992 * locale/programs/config.h: Don't define PARAMS.
20993 * stdlib/strtol_l.c: Likewise.
20994 (__strtol_l): Remove PARAMS from the prototype.
20995
41b81892
UD
209962012-01-31 Ulrich Drepper <drepper@gmail.com>
20997
3b49edc0
UD
20998 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20999 names. Just use the correct names. Remove unnecessary wrapper
21000 functions.
21001 * malloc/arena.c: Likewise.
21002 * malloc/hooks.c: Likewise.
21003
41b81892
UD
21004 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21005 ARENA_TEST says not to. Simplify test for creation of a new arena.
21006 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21007
27a25b6e
UD
210082012-01-30 Ulrich Drepper <drepper@gmail.com>
21009
21010 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21011 into tail calls.
21012 (update_get_addr): New function.
21013 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21014 GET_ADDR_MODULE parameter.
21015
c8a89e7d
JM
210162012-01-30 Joseph Myers <joseph@codesourcery.com>
21017
21018 * crypt/cert.c: Remove __STDC__ conditionals.
21019 * crypt/crypt-entry.c: Likewise.
21020 * crypt/crypt_util.c: Likewise.
21021 * libio/filedoalloc.c: Likewise.
21022 * libio/fileops.c: Likewise.
21023 * libio/genops.c: Likewise.
21024 * libio/iofclose.c: Likewise.
21025 * libio/iofdopen.c: Likewise.
21026 * libio/iofopen.c: Likewise.
21027 * libio/iofopen64.c: Likewise.
21028 * libio/iogetdelim.c: Likewise.
21029 * libio/iopopen.c: Likewise.
21030 * libio/obprintf.c: Likewise.
21031 * libio/oldfileops.c: Likewise.
21032 * libio/oldiofclose.c: Likewise.
21033 * libio/oldiofdopen.c: Likewise.
21034 * libio/oldiofopen.c: Likewise.
21035 * libio/oldiopopen.c: Likewise.
21036 * libio/wfiledoalloc.c: Likewise.
21037 * libio/wgenops.c: Likewise.
21038 * locale/programs/xmalloc.c: Likewise.
21039 * misc/syslog.c: Likewise.
21040 * stdio-common/xbug.c: Likewise.
21041 * string/memchr.c: Likewise.
21042 * string/memcmp.c: Likewise.
21043 * string/memrchr.c: Likewise.
21044 * string/rawmemchr.c: Likewise.
21045 * sysdeps/posix/getcwd.c: Likewise.
21046 * time/strftime_l.c: Likewise.
21047
3b100462
JM
210482012-01-30 Joseph Myers <joseph@codesourcery.com>
21049
21050 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21051 * config.make.in (config-cflags-sse2avx): Define.
21052 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21053 Fix typo.
21054
607998af
CM
210552012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21056
21057 * scripts/config.guess: Update from upstream config git repository.
21058 * scripts/config.sub: Likewise.
21059
3601428f
CM
210602012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21061
3ac8b282
CM
21062 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21063 (EM_NUM): Update.
21064 (R_TILEPRO_*, R_TILEGX_*): New macros.
21065
e034841e
CM
21066 * scripts/firstversions.awk: Fix bug in version range handling.
21067
540d7568
CM
21068 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21069
3601428f
CM
21070 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21071
463de862
CM
21072 * include/sys/epoll.h: New file.
21073 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21074 libc_hidden_def.
21075
73139a76
UD
210762012-01-28 Ulrich Drepper <drepper@gmail.com>
21077
96bc5b45
UD
21078 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21079 Avoid unnecessary __WORDSIZE == 64 test.
21080 (fmaxf): Use VEX format if possible.
21081 (fmax): Likewise.
21082 (fminf): Likewise.
21083 (fmin): Likewise.
21084
56f6f6a2
UD
21085 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21086 * math/math_private.h: Remove libc_fegetround* and
21087 libc_fesetround*.
21088 * sysdeps/i386/configure.in: Check for -msse2avx.
21089 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21090 also if SSE2AVX is defined.
21091 Remove libc_fegetround* and libc_fesetround*.
21092 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21093 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21095 of HAS_YMM_USABLE.
21096 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21097 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21098 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21100 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21101
73139a76
UD
21102 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21103
d73f93a4
AZ
211042012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21105
21106 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21107 size is not set.
21108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21109
6ee65ed6
UD
211102012-01-27 Ulrich Drepper <drepper@gmail.com>
21111
21112 [BZ #13618]
21113 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21114 relocation.
21115 * Makeconfig (libm): Define.
21116 * elf/Makefile: Add rules to build and run tst-relsort1.
21117 * elf/tst-relsort1.c: New file.
21118 * elf/tst-relsort1mod1.c: New file.
21119 * elf/tst-relsort1mod2.c: New file.
21120
8db21882
JM
211212012-01-27 Joseph Myers <joseph@codesourcery.com>
21122
21123 * math/s_ldexp.c: Remove __STDC__ conditionals.
21124 * math/s_ldexpf.c: Likewise.
21125 * math/s_ldexpl.c: Likewise.
21126 * math/s_nextafter.c: Likewise.
21127 * math/s_nexttowardf.c: Likewise.
21128 * math/s_significand.c: Likewise.
21129 * math/s_significandf.c: Likewise.
21130 * math/s_significandl.c: Likewise.
21131 * math/w_jnl.c: Likewise.
21132 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21133 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21134 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21135 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21136 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21138 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21154 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21155 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21156 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21157 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21158 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21159 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21160 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21161 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21162 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21163 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21164 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21165 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21166 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21167 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21168 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21169 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21170 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21171 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21172 * sysdeps/ieee754/k_standard.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21174 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21177 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21181 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21184 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21185 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21186 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21187 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21190 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21192 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21193 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21194 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21195 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21196 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21197 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21230 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21233 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21234 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21239 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21244 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21246 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21247 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21248 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21249 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21250 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21251 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21252 * sysdeps/ieee754/s_matherr.c: Likewise.
21253 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21254 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21257
965a54a4
JM
212582012-01-26 Joseph Myers <joseph@codesourcery.com>
21259
21260 * crypt/md5.h: Remove __STDC__ conditionals.
21261 * libio/libioP.h: Likewise.
21262 * locale/programs/config.h: Likewise.
21263 * sysdeps/generic/sysdep.h: Likewise.
21264 * sysdeps/i386/asm-syntax.h: Likewise.
21265 * sysdeps/s390/asm-syntax.h: Likewise.
21266 * sysdeps/unix/sysdep.h: Likewise.
21267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21269
7071ad79
JM
212702012-01-26 Joseph Myers <joseph@codesourcery.com>
21271
21272 * libio/libio.h: Remove __STDC__ conditionals.
21273 * malloc/obstack.h: Likewise.
21274 * math/complex.h: Likewise.
21275 * math/math.h: Likewise.
21276 * sysdeps/generic/_G_config.h: Likewise.
21277 * sysdeps/gnu/_G_config.h: Likewise.
21278 * sysdeps/mach/hurd/_G_config.h: Likewise.
21279 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21280 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21281 * sysdeps/sparc/bits/mathdef.h: Likewise.
21282
afc5ed09
UD
212832012-01-26 Ulrich Drepper <drepper@gmail.com>
21284
21285 [BZ #13583]
21286 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21287 Clean up HAS_* macros.
afc5ed09 21288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21289 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21290 possible.
21291 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21292 HAS_AVX.
21293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21294 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21295 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21296 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21297 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21298
bdb6de1d
JM
212992012-01-25 Joseph Myers <joseph@codesourcery.com>
21300
21301 * elf/tst-unique3.cc (gets): Remove declaration.
21302 * elf/tst-unique3lib.cc (gets): Likewise.
21303 * elf/tst-unique3lib2.cc (gets): Likewise.
21304 * elf/tst-unique4.cc (gets): Likewise.
21305
b15549e6
UD
213062012-01-24 Ulrich Drepper <drepper@gmail.com>
21307
21308 * include/stdio.h: Add C++ protection. Add gets declarations and
21309 definitions.
21310 * debug/tst-chk1.c: Don't declare gets here.
21311 * stdio-common/tst-gets.c: Likewise.
21312
a037381f
JM
213132012-01-24 Joseph Myers <joseph@codesourcery.com>
21314
21315 * posix/glob: Remove directory.
21316
f1d4aa75
JM
213172012-01-24 Joseph Myers <joseph@codesourcery.com>
21318
21319 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21320
81c0c964
PT
213212012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21322
21323 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21324 of the non-standard EPFNOSUPPORT.
21325
0ea698ae
ST
213262011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21327
21328 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21329 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21330 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21331
d220b117
UD
213322012-01-21 Ulrich Drepper <drepper@gmail.com>
21333
21334 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21335
3e1aa84e
UD
213362012-01-20 Ulrich Drepper <drepper@gmail.com>
21337
21338 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21339 transient errors.
21340 * nscd/grpcache.c (cache_addgr): Likewise.
21341 * nscd/hstcache.c (cache_addhst): Likewise.
21342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21343 * nscd/pwdcache.c (cache_addpw): Likewise.
21344 * nscd/servicescache.c (cache_addserv): Likewise.
21345
400aa020
UD
213462012-01-16 Ulrich Drepper <drepper@gmail.com>
21347
d77e7869
UD
21348 * malloc/malloc.c: Various cleanups.
21349 * malloc/hooks.c: Likewise.
21350
400aa020
UD
21351 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21352 * stdlib/bug-fmtmsg1.c: New file.
21353
21354 * stdlib/fmtmsg.c (init): Add missing unlock.
21355 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21356
e0a309cf
MP
213572012-01-12 Marek Polacek <polacek@redhat.com>
21358
21359 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21360 and _GNU_SOURCE.
21361
929d11c7
WS
213622012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21363
21364 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21365 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21366 macro to ensure uniqueness of label name.
21367 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21368 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21369
41d0e869
UD
213702012-01-11 Ulrich Drepper <drepper@gmail.com>
21371
0cc5ed3b
UD
21372 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21373
41d0e869
UD
21374 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21375 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21376 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21378
a47a831a
UD
213792012-01-10 Ulrich Drepper <drepper@gmail.com>
21380
daa891c0
UD
21381 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21382
21383 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21384 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21385 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21386
e58ef0f2
UD
21387 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21388
a47a831a 21389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21390 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21391 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21392 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21393
21394 * math/bits/math-finite.h: Add ldexp support.
21395
a0bfc9c7
MP
213962012-01-10 Marek Polacek <polacek@redhat.com>
21397
21398 * locale/programs/localedef.h (show_archive_content): Add noreturn
21399 attribute.
21400
d6e97a1d
UD
214012012-01-09 Ulrich Drepper <drepper@gmail.com>
21402
21403 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21404
d5835c26
UD
214052012-01-08 Ulrich Drepper <drepper@gmail.com>
21406
e5f484c6
UD
21407 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21408
d5835c26
UD
21409 * io/Makefile (headers): Add bits/poll2.h.
21410
d1f741e9
WS
214112011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21412
21413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21414 typo #include statement.
21415
ec09c1c4
UD
214162012-01-08 Ulrich Drepper <drepper@gmail.com>
21417
21418 * include/sys/cdefs.h: Define __attribute_alloc_size.
21419 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21420 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21421 * elf/pldd.c: Likewise.
21422 * iconv/iconv_charmap.c: Likewise.
21423 * iconv/iconvconfig.c: Likewise.
21424 * iconv/strtab.c: Likewise.
21425 * locale/programs/locale.c: Likewise.
21426 * locale/programs/localedef.h: Likewise.
21427 * locale/programs/simple-hash.c: Likewise.
21428 * nscd/nscd.h: Likewise.
21429 * nss/makedb.c: Likewise.
21430 * sysdeps/generic/ldconfig.h: Likewise.
21431 * locale/programs/localedef.c: Remove xmalloc prototype.
21432 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21433
20b38e03
PP
214342012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21435
21436 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21437 appropriate.
21438
a0da5fe1
UD
214392012-01-08 Ulrich Drepper <drepper@gmail.com>
21440
1d5a644a 21441 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21442 * math/tst-CMPLX.c: New file.
1d5a644a 21443
8784a6db
UD
21444 * math/complex.h (CMPLXL): Fix typo.
21445
d9a216c0
UD
21446 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21447 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21448 GLIBC_2.16.
21449 * debug/tst-chk1.c: Add poll and ppoll tests.
21450 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21451 * include/sys/poll.h: Add hidden proto for ppoll.
21452 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21453 * sysdeps/mach/hurd/ppoll.c: Likewise.
21454 * io/ppoll.c: Likewise.
21455 * debug/poll_chk.c: New file.
21456 * debug/ppoll_chk.c: New file.
21457 * include/bits/poll2.h: New file.
21458 * io/bits/poll2.h: New file.
21459
ac097f5c
UD
21460 [BZ #1350]
21461 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21462
2119dcfa
UD
21463 * configure.in: static is always set to yes. Remove.
21464 * config.make.in: Don't set build-static.
21465 * Makeconfig: Remove use of build-static.
21466 * dlfcn/Makefile: Likewise.
21467 * elf/Makefile: Likewise.
21468 * math/Makefile: Likewise.
21469 * misc/Makefile: Likewise.
21470 * nptl/Makefile: Likewise.
21471 * sysdeps/mach/hurd/Makefile: Likewise.
21472
121766a9
UD
21473 * configure.in: PWD_P is not used anymore.
21474 * config.make.in: Remove PWD_P entry.
21475
51a1d39c 21476 * configure.in: Remove last remnants of RANLIB.
8720d066 21477 No need to check for signed size_t anymore.
215f4bdc
UD
21478 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21479 and IA-64.
3857022a 21480 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21481 * aclocal.m4: Likewise.
21482
d3ed7225
UD
21483 * wcsmbs/mbrtoc16.c: Implement using towc function.
21484 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21485 * wcsmbs/wcsmbsload.c: Likewise.
21486 * iconv/gconv_simple.c: Likewise.
21487 * iconv/gconv_int.h: Likewise.
21488 * iconv/gconv_builtin.h: Likewise.
21489 * iconv/iconv_prog.c: Remove CHAR16 handling.
21490
21491 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21492
21493 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21494
a0da5fe1
UD
21495 * configure.in: Remove --with-elf and --enable-bounded options.
21496 Dont set base_machine for ia64. More non-ELF conditions removed.
21497 Remove testing and setting of leading underscore information.
21498 * config.make.in (build-bounded): Set to no.
21499 * config.h.in: Remove NO_UNDERSCORES entry.
21500 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21501 them.
21502 * csu/start.c: Remove !NO_UNDERSCORE code.
21503 * locale/localeinfo.h: Likewise.
21504 * sysdeps/generic/machine-gmon.h: Likewise.
21505 * sysdeps/generic/sysdep.h: Likewise.
21506 * sysdeps/i386/sysdep.h: Likewise.
21507 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21508 * sysdeps/mach/sysdep.h: Likewise.
21509 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21510 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21511 * sysdeps/sh/sysdep.h: Likewise.
21512 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21513 * sysdeps/unix/i386/sysdep.S: Likewise.
21514 * sysdeps/unix/sparc/start.c: Likewise.
21515 * sysdeps/unix/sparc/sysdep.S: Likewise.
21516 * sysdeps/unix/sparc/sysdep.h: Likewise.
21517 * sysdeps/unix/start.c: Likewise.
21518 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21519 * sysdeps/x86_64/sysdep.h: Likewise.
21520
df78418a
UD
215212012-01-07 Ulrich Drepper <drepper@gmail.com>
21522
a784e502
UD
21523 [BZ #13553]
21524 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21525 for non-gcc.
21526 * argp/argp-fmtstream.h: Use const instead __const.
21527 * argp/argp.h: Likewise.
21528 * assert/assert.h: Likewise.
21529 * bits/fenv.h: Likewise.
21530 * bits/sched.h: Likewise.
21531 * bits/sigset.h: Likewise.
21532 * bits/sigthread.h: Likewise.
21533 * catgets/nl_types.h: Likewise.
21534 * conform/data/pthread.h-data: Likewise.
21535 * crypt/crypt-private.h: Likewise.
21536 * crypt/crypt.h: Likewise.
21537 * crypt/crypt_util.c: Likewise.
21538 * ctype/ctype.h: Likewise.
21539 * debug/execinfo.h: Likewise.
21540 * debug/mbsnrtowcs_chk.c: Likewise.
21541 * debug/mbsrtowcs_chk.c: Likewise.
21542 * debug/wcsnrtombs_chk.c: Likewise.
21543 * debug/wcsrtombs_chk.c: Likewise.
21544 * debug/wcstombs_chk.c: Likewise.
21545 * dirent/dirent.h: Likewise.
21546 * dlfcn/dlfcn.h: Likewise.
21547 * elf/neededtest4.c: Likewise.
21548 * grp/grp.h: Likewise.
21549 * gshadow/gshadow.h: Likewise.
21550 * iconv/gconv.h: Likewise.
21551 * iconv/gconv_int.h: Likewise.
21552 * iconv/gconv_simple.c: Likewise.
21553 * iconv/iconv.h: Likewise.
21554 * iconv/loop.c: Likewise.
21555 * iconv/skeleton.c: Likewise.
21556 * include/aio.h: Likewise.
21557 * include/aliases.h: Likewise.
21558 * include/argz.h: Likewise.
21559 * include/arpa/inet.h: Likewise.
21560 * include/assert.h: Likewise.
21561 * include/dirent.h: Likewise.
21562 * include/dlfcn.h: Likewise.
21563 * include/execinfo.h: Likewise.
21564 * include/fcntl.h: Likewise.
21565 * include/fenv.h: Likewise.
21566 * include/glob.h: Likewise.
21567 * include/grp.h: Likewise.
21568 * include/libintl.h: Likewise.
21569 * include/mntent.h: Likewise.
21570 * include/netdb.h: Likewise.
21571 * include/pwd.h: Likewise.
21572 * include/rpc/netdb.h: Likewise.
21573 * include/sched.h: Likewise.
21574 * include/search.h: Likewise.
21575 * include/shadow.h: Likewise.
21576 * include/signal.h: Likewise.
21577 * include/stdio.h: Likewise.
21578 * include/stdlib.h: Likewise.
21579 * include/string.h: Likewise.
21580 * include/sys/socket.h: Likewise.
21581 * include/sys/stat.h: Likewise.
21582 * include/sys/statfs.h: Likewise.
21583 * include/sys/statvfs.h: Likewise.
21584 * include/sys/syslog.h: Likewise.
21585 * include/sys/time.h: Likewise.
21586 * include/sys/uio.h: Likewise.
21587 * include/time.h: Likewise.
21588 * include/unistd.h: Likewise.
21589 * include/utmp.h: Likewise.
21590 * include/wchar.h: Likewise.
21591 * include/wctype.h: Likewise.
21592 * inet/aliases.h: Likewise.
21593 * inet/arpa/inet.h: Likewise.
21594 * inet/netinet/ether.h: Likewise.
21595 * inet/netinet/in.h: Likewise.
21596 * intl/libintl.h: Likewise.
21597 * io/bits/fcntl2.h: Likewise.
21598 * io/fcntl.h: Likewise.
21599 * io/ftw.h: Likewise.
21600 * io/sys/poll.h: Likewise.
21601 * io/sys/stat.h: Likewise.
21602 * io/sys/statfs.h: Likewise.
21603 * io/sys/statvfs.h: Likewise.
21604 * io/utime.h: Likewise.
21605 * libio/bits/stdio.h: Likewise.
21606 * libio/bits/stdio2.h: Likewise.
21607 * libio/libio.h: Likewise.
21608 * libio/libioP.h: Likewise.
21609 * libio/stdio.h: Likewise.
21610 * locale/lc-ctype.c: Likewise.
21611 * locale/locale.h: Likewise.
21612 * login/utmp.h: Likewise.
21613 * malloc/arena.c: Likewise.
21614 * malloc/malloc.c: Likewise.
21615 * malloc/malloc.h: Likewise.
21616 * malloc/mcheck.c: Likewise.
21617 * malloc/mtrace.c: Likewise.
21618 * math/bits/mathcalls.h: Likewise.
21619 * math/fenv.h: Likewise.
21620 * math/math_private.h: Likewise.
21621 * misc/bits/error.h: Likewise.
21622 * misc/bits/syslog.h: Likewise.
21623 * misc/err.h: Likewise.
21624 * misc/error.h: Likewise.
21625 * misc/fstab.h: Likewise.
21626 * misc/mntent.h: Likewise.
21627 * misc/regexp.h: Likewise.
21628 * misc/search.h: Likewise.
21629 * misc/sgtty.h: Likewise.
21630 * misc/sys/mman.h: Likewise.
21631 * misc/sys/syslog.h: Likewise.
21632 * misc/sys/uio.h: Likewise.
21633 * misc/sys/xattr.h: Likewise.
21634 * misc/ttyent.h: Likewise.
21635 * nis/rpcsvc/ypclnt.h: Likewise.
21636 * nss/nss.h: Likewise.
21637 * posix/bits/unistd.h: Likewise.
21638 * posix/fnmatch.h: Likewise.
21639 * posix/glob.h: Likewise.
21640 * posix/sched.h: Likewise.
21641 * posix/spawn.h: Likewise.
21642 * posix/sys/wait.h: Likewise.
21643 * posix/unistd.h: Likewise.
21644 * posix/wordexp.h: Likewise.
21645 * pwd/pwd.h: Likewise.
21646 * resolv/netdb.h: Likewise.
21647 * resource/sys/resource.h: Likewise.
21648 * rt/aio.h: Likewise.
21649 * rt/bits/mqueue2.h: Likewise.
21650 * rt/mqueue.h: Likewise.
21651 * shadow/shadow.h: Likewise.
21652 * signal/signal.h: Likewise.
21653 * socket/send.c: Likewise.
21654 * socket/sendto.c: Likewise.
21655 * socket/sys/socket.h: Likewise.
21656 * stdio-common/printf.h: Likewise.
21657 * stdlib/bits/stdlib.h: Likewise.
21658 * stdlib/fmtmsg.h: Likewise.
21659 * stdlib/monetary.h: Likewise.
21660 * stdlib/stdlib.h: Likewise.
21661 * stdlib/ucontext.h: Likewise.
21662 * streams/stropts.h: Likewise.
21663 * string/argz.h: Likewise.
21664 * string/bits/string2.h: Likewise.
21665 * string/string.h: Likewise.
21666 * string/strings.h: Likewise.
21667 * sunrpc/rpc/auth.h: Likewise.
21668 * sunrpc/rpc/auth_des.h: Likewise.
21669 * sunrpc/rpc/clnt.h: Likewise.
21670 * sunrpc/rpc/netdb.h: Likewise.
21671 * sunrpc/rpc/pmap_clnt.h: Likewise.
21672 * sunrpc/rpc/xdr.h: Likewise.
21673 * sysdeps/generic/inttypes.h: Likewise.
21674 * sysdeps/generic/net/if.h: Likewise.
21675 * sysdeps/generic/sys/swap.h: Likewise.
21676 * sysdeps/gnu/net/if.h: Likewise.
21677 * sysdeps/gnu/utmpx.h: Likewise.
21678 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21679 * sysdeps/i386/i486/bits/string.h: Likewise.
21680 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21681 * sysdeps/s390/bits/string.h: Likewise.
21682 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21683 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21684 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21685 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21686 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21687 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21688 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21689 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21690 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21691 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21692 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21693 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21694 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21695 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21696 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21697 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21698 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21700 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21701 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21702 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21703 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21704 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21705 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21706 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21707 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21708 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21709 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21710 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21711 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21712 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21713 * sysvipc/sys/ipc.h: Likewise.
21714 * sysvipc/sys/msg.h: Likewise.
21715 * sysvipc/sys/sem.h: Likewise.
21716 * sysvipc/sys/shm.h: Likewise.
21717 * termios/termios.h: Likewise.
21718 * time/sys/time.h: Likewise.
21719 * time/time.h: Likewise.
21720 * wcsmbs/bits/wchar2.h: Likewise.
21721 * wcsmbs/uchar.h: Likewise.
21722 * wcsmbs/wchar.h: Likewise.
21723 * wctype/wctype.h: Likewise.
21724
0269750c
UD
21725 [BZ #13551]
21726 * Makeconfig: Remove all but ELF support including AIX support.
21727 * Makerules: Likewise.
21728 * config.h.in: Likewise.
21729 * config.make.in: Likewise.
21730 * configure: Likewise.
21731 * configure.in: Likewise.
21732 * csu/Makefile: Likewise.
21733 * csu/version.c: Likewise.
21734 * debug/Makefile: Likewise.
21735 * dlfcn/Makefile: Likewise.
21736 * elf/Makefile: Likewise.
21737 * extra-lib.mk: Likewise.
21738 * iconv/Makefile: Likewise.
21739 * include/libc-symbols.h: Likewise.
21740 * include/shlib-compat.h: Likewise.
21741 * resolv/Makefile: Likewise.
21742 * resolv/res_libc.c: Likewise.
21743 * rt/Makefile: Likewise.
21744 * sysdeps/i386/asm-syntax.h: Likewise.
21745 * sysdeps/i386/sysdep.h: Likewise.
21746 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21747 * sysdeps/mach/sysdep.h: Likewise.
21748 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21749 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21750 * sysdeps/s390/asm-syntax.h: Likewise.
21751 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21753 * sysdeps/sh/sysdep.h: Likewise.
21754 * sysdeps/unix/sparc/sysdep.h: Likewise.
21755 * sysdeps/wordsize-32/divdi3.c: Likewise.
21756 * sysdeps/x86_64/sysdep.h: Likewise.
21757
00bbd29b
UD
21758 * argp/Versions: Remove _argp_unlock_xxx.
21759
21760 [BZ #13559]
21761 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21762 * abilist/libBrokenLocale.abilist: Likewise.
21763 * abilist/libanl.abilist: Likewise.
21764 * abilist/libc.abilist: Likewise.
21765 * abilist/libcrypt.abilist: Likewise.
21766 * abilist/libdl.abilist: Likewise.
21767 * abilist/libm.abilist: Likewise.
21768 * abilist/libnsl.abilist: Likewise.
21769 * abilist/libpthread.abilist: Likewise.
21770 * abilist/libresolv.abilist: Likewise.
21771 * abilist/librt.abilist: Likewise.
21772 * abilist/libthread_db.abilist: Likewise.
21773 * abilist/libutil.abilist: Likewise.
21774 * abilist/libnss_db.abilist: New file.
21775
21776 * scripts/abilist.awk: Add support for indirect functions.
21777
a2693a0e
UD
21778 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21779
3f05895f
UD
21780 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21781
ecb6fb48
UD
21782 * shlib-versions: Remove entries for ports architectures.
21783
664f8cb9
UD
21784 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21785 files in ports.
21786 * elf/stackguard-macros.h: Remove support for IA-64.
21787 * elf/tst-auditmod1.c: Likewise.
21788 * sysdeps/generic/ldsodefs.h: Likewise.
21789
7ae81d88
UD
21790 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21791 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21792 configure files.
21793
bdeba135
UD
21794 [BZ #13552]
21795 * configure.in: Remove --enable-omitfp support.
21796 * FAQ.in: Adjust.
21797 * config.make.in: Likewise.
21798 * Makeconfig: Likewise.
21799 * manual/install.texi: Likewise.
21800
d75a0a62
UD
21801 In case anyone cares, the IA-64 architecture could move to ports.
21802 * sysdeps/ia64/*: Removed.
21803 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21804 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21805
dcc9756b
UD
21806 [BZ #13555]
21807 * configure.in: Remove entries for unsupported architectures.
21808
d3761ebc 21809 [BZ #13533]
9954432e
UD
21810 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21811 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21812 routines.
21813 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21814 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21815 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21816 fall back to using wcrtomb.
21817 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21818 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21819 renaming.
21820 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21821 * wcsmbs/tst-c16c32-1.c: New file.
21822
21823 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21824 local variable.
21825
c3a87236
UD
21826 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21827
28926a1b
UD
21828 * elf/tst-unique3.cc: Add explicit declaration of gets.
21829 * elf/tst-unique3lib.cc: Likewise.
21830 * elf/tst-unique3lib2.cc: Likewise.
21831 * elf/tst-unique4.cc: Likewise.
21832
df78418a
UD
21833 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21834
8ecd6b2a
JM
218352012-01-06 Joseph Myers <joseph@codesourcery.com>
21836
21837 [BZ #13566]
21838 * assert/assert.h (static_assert): Don't define for C++.
21839 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21840 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21841
9f115170
UD
218422012-01-03 Ulrich Drepper <drepper@gmail.com>
21843
5e0d0300
UD
21844 * iconv/loop.c (single loop): Fix assertion in storing of
21845 remaining bytes.
21846
9f115170
UD
21847 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21848
81fb02b0
UD
218492012-01-01 Ulrich Drepper <drepper@gmail.com>
21850
21851 * posix/getconf.c: Update copyright year.
21852 * nss/getent.c: Likewise.
a316c1f6 21853 * nss/makedb.c: Likewise.
81fb02b0
UD
21854 * iconv/iconvconfig.c: Likewise.
21855 * iconv/iconv_prog.c: Likewise.
21856 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21857 * elf/pldd.c: Likewise.
21858 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21859 * catgets/gencat.c: Likewise.
21860 * csu/version.c: Likewise.
21861 * elf/ldd.bash.in: Likewise.
21862 * elf/sprof.c (print_version): Likewise.
21863 * locale/programs/locale.c: Likewise.
21864 * locale/programs/localedef.c: Likewise.
a316c1f6 21865 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21866 * nscd/nscd.c (print_version): Likewise.
21867 * debug/xtrace.sh: Likewise.
21868 * malloc/memusage.sh: Likewise.
21869 * malloc/mtrace.pl: Likewise.
21870 * debug/catchsegv.sh: Likewise.
21871
2ba92745
JJ
218722011-12-30 Jakub Jelinek <jakub@redhat.com>
21873
21874 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21875 pure attribute.
21876
dadebdae
UD
218772011-12-24 Ulrich Drepper <drepper@gmail.com>
21878
d3761ebc 21879 [BZ #13533]
db6af3eb
UD
21880 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21881 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21882 transformations.
21883 * iconv/gconv_int.h: Likewise.
21884 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21885 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21886 from libc for GLIBC_2.16.
21887 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21888 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21889 * wcsmbs/uchar.h: Really define mbstate_t.
21890 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21891 * wcsmbs/c16rtomb.c: New file.
21892 * wcsmbs/mbrtoc16.c: New file.
21893 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21894 for C/POSIX locale.
21895 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21896 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21897
dadebdae
UD
21898 * wcsmbs/wchar.h: Add missing __restrict.
21899
67371b56
UD
219002011-12-23 Ulrich Drepper <drepper@gmail.com>
21901
74033a25
UD
21902 [BZ #13532]
21903 * time/Makefile (routines): Add timespec_get.
21904 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21905 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21906 timespec for ISO C11.
21907 * time/timespec_get.c: New file.
21908 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21909 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21910
380d7e87
UD
21911 [BZ #13531]
21912 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21913 * stdlib/stdlib.h: Declare aligned_alloc.
21914 * Versions.def: Add GLIBC_2.16 for libc.
21915 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21916
4e9e7a35
UD
21917 [BZ 13527]
21918 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21919 ISO C11.
21920
380d7e87 21921 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21922 code.
21923
03a71829
UD
21924 [BZ #13528]
21925 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21926
839e283e
UD
21927 [BZ #13529]
21928 * assert/assert.h (static_assert): Define.
21929
ce5294e2 21930 * version.h: Update for 2.16 development version.
90fa7312 21931
8d44e150 21932 [BZ #13526]
d7809905
UD
21933 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21934 _ISOC11_SOURCE.
21935
c0da14cd
UD
21936 * version.h (RELEASE): Bump for 2.15 release.
21937 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21938
530a3249
MP
21939 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21940 Patch by Marek Polacek <mpolacek@redhat.com>.
21941
67371b56
UD
21942 * bits/byteswap.h: Protect long long constants with __extension__.
21943 * sysdeps/i386/bits/byteswap.h: Likewise.
21944 * sysdeps/ia64/bits/byteswap.h: Likewise.
21945 * sysdeps/s390/bits/byteswap.h: Likewise.
21946 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21947
15db4de1
LD
219482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21949
21950 [BZ #13540]
bbe315ea
LD
21951 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21952 destination buffer.
15db4de1
LD
21953 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21954
2b2596b1
MP
219552011-12-23 Marek Polacek <polacek@redhat.com>
21956
21957 * elf/dl-addr.c (determine_info): Add inline keyword.
21958 * elf/tst-auditmod4b.c (check_avx): Likewise.
21959 * elf/tst-auditmod6b.c (check_avx): Likewise.
21960 * elf/tst-auditmod6c.c (check_avx): Likewise.
21961 * elf/tst-auditmod7b.c (check_avx): Likewise.
21962
70c6c246
UD
219632011-12-23 Ulrich Drepper <drepper@gmail.com>
21964
21965 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21966 !__SSE_MATH__.
21967
c044cf14
LD
219682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21969
15db4de1 21970 [BZ #13540]
c044cf14
LD
21971 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21972 processing for last bytes.
21973
6b13d9d9
BH
219742011-08-06 Bruno Haible <bruno@clisp.org>
21975
d455f537
BH
21976 [BZ #13061]
21977 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21978 U+0385, not to U+1FEE.
21979
6b13d9d9
BH
21980 [BZ #13062]
21981 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21982 entry for U+00A5 U+0301.
21983
db910efd
UD
219842011-12-22 Ulrich Drepper <drepper@gmail.com>
21985
27deeafc
UD
21986 [BZ #13166]
21987 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21988 buffer for the output is too small.
21989
aed9d171
UD
21990 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21991 optimization.
21992
db910efd
UD
21993 [BZ #13185]
21994 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21995 SSE flags if possible.
21996
2bd779ae
LD
219972011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21998
e7f9dac3 21999 [BZ #13540]
2bd779ae
LD
22000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22001 processing for last bytes.
22002
154bfc16
JM
220032011-12-22 Joseph Myers <joseph@codesourcery.com>
22004
22005 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22006 (syscall-list-default-options, syscall-list-default-condition)
22007 (syscall-list-includes): Define.
22008 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22009 list of ABIs and options and #if conditions for each ABI. Do not
22010 handle common syscalls between ABIs specially.
22011 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22012 Remove.
22013 (syscall-list-variants, syscall-list-32bit-options)
22014 (syscall-list-32bit-condition, syscall-list-64bit-options)
22015 (syscall-list-64bit-condition): Define.
22016 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22017 (syscall-list-variants, syscall-list-32bit-options)
22018 (syscall-list-32bit-condition, syscall-list-64bit-options)
22019 (syscall-list-64bit-condition): Define.
22020 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22021 Remove.
22022 (syscall-list-variants, syscall-list-32bit-options)
22023 (syscall-list-32bit-condition, syscall-list-64bit-options)
22024 (syscall-list-64bit-condition): Define.
22025 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22026 Remove.
22027 (syscall-list-variants, syscall-list-32bit-options)
22028 (syscall-list-32bit-condition, syscall-list-64bit-options)
22029 (syscall-list-64bit-condition): Define.
22030
21eaf3a5
UD
220312011-12-22 Ulrich Drepper <drepper@gmail.com>
22032
16c6f992
UD
22033 * locale/iso-639.def: Add brx entry.
22034
41043168
UD
22035 [BZ #13328]
22036 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22037 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22038
21eaf3a5
UD
22039 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22040 __feraiseexcept_renamed.
22041
e3a851a2
UD
220422011-12-21 Ulrich Drepper <drepper@gmail.com>
22043
4920765e
UD
22044 [BZ #13538]
22045 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22046 EPOLLET with unsigned values.
22047 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22048 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22049
e3a851a2
UD
22050 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22051 to large cancellation.
22052 * math/s_cacoshf.c: Likewise.
22053 * math/s_cacoshl.c: Likewise.
22054
b27e24b8
RK
220552011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22056
22057 [BZ #13305]
aebefeee 22058 [BZ #12786]
b27e24b8
RK
22059 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22060 * math/s_cacoshf.c: Likewise.
22061 * math/s_cacoshl.c: Likewise.
22062
ee190f67
UD
220632011-12-21 Ulrich Drepper <drepper@gmail.com>
22064
22065 [BZ #13439]
22066 * iconv/gconv.h: Define __GCONV_SWAP.
22067 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22068 * iconvdata/utf-16.c: Likewise.
22069 * iconvdata/utf-32.c: Likewise.
22070
707f25df
AS
220712011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22072
22073 [BZ #13524]
22074 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22075 numerator after shifting it by one limb.
22076
d2daaa1e
RÁE
220772011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22078
22079 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22080 under [__USE_EXTERN_INLINES].
22081
a4647e72
UD
220822011-12-17 Ulrich Drepper <drepper@gmail.com>
22083
22084 [BZ #13446]
22085 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22086
f0b264f1
AZ
220872011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22088
22089 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22090 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22091 optimized code.
22092 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22093 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22094 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22095 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22096 for strncasecmp/strncasecmp_l compilation.
22097 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22098 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22099
8ef4f244
MP
221002011-12-08 Marek Polacek <mpolacek@redhat.com>
22101
22102 [BZ #13484]
22103 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22104 of __asm__.
22105
97ac2654
UD
221062011-12-17 Ulrich Drepper <drepper@gmail.com>
22107
22108 [BZ #13506]
22109 * time/tzfile.c (__tzfile_read): Check values from file header.
22110
91d2a845
WS
221112011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22112
22113 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22114 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22115 * powerpc/powerpc32/dl-start.S: Likewise.
22116 * powerpc/powerpc32/elf/start.S: Likewise.
22117 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22118 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22119 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22120 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22121 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22122 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22123 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22124 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22125 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22126 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22127 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22128 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22129 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22130 * powerpc/powerpc32/memset.S: Likewise.
22131 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22132 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22133 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22134 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22135 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22136 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22137 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22138 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22139 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22140 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22141 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22142 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22143 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22144
a1267ba1
AZ
221452011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22146
22147 * math/libm-test.inc: Added more nearbyint tests.
22148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22152
ad8ac1bd
RL
221532011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22154
22155 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22156 FD_CLOEXEC.
22157
1d3e4b61
UD
221582011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22159
22160 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22161 Add wcscpy-ssse3 wcscpy-c.
22162 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22163 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22164 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22165 * sysdeps/x86_64/wcschr.S: New file.
22166 * sysdeps/x86_64/wcsrchr.S: New file.
22167 * string/test-strcmp.c: Remove checking of wcscmp function for
22168 wrong alignments.
22169 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22170 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22171 wcsrchr-sse2 wcsrchr-c.
22172 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22173 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22174 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22175 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22176 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22177 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22178 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22179 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22180 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22181 * wcsmbc/wcschr.c (WCSCHR): New macro.
22182
5b330a2d
UD
221832011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22184
22185 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22186 * wcsmbs/test-wcsrchr.c: New file.
22187 * string/test-strrchr.c: Add wcsrchr support.
22188 (WIDE): New macro.
22189 * wcsmbs/test-wcscpy.c: New file.
22190 * string/test-strcpy.c: Add wcscpy support.
22191 (WIDE): New macro.
26428b7c 22192
f039c043
UD
221932011-12-10 Ulrich Drepper <drepper@gmail.com>
22194
22195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22196 the inner loop.
22197
850fb039
AS
221982011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22199
22200 [BZ #13472]
22201 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22202
4efbd5cb
UD
222032011-12-04 Ulrich Drepper <drepper@gmail.com>
22204
52ff5dd0 22205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22206 Minor optimizations.
52ff5dd0 22207
4efbd5cb
UD
22208 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22209 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22210 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22211
8a426e12
UD
222122011-12-03 Ulrich Drepper <drepper@gmail.com>
22213
aff2453d
UD
22214 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22215 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22216 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22217 for gcc to avoid warnings.
22218 * inet/Makefile (tests): Add tst-checks.
22219 * inet/tst-checks.c: New file.
22220
22221 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22222 warning.
22223
22224 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22225 __wmemcmp_sse2.
22226
22227 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22228 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22229
8a426e12
UD
22230 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22231
9bea3473
UD
222322011-12-02 Ulrich Drepper <drepper@gmail.com>
22233
3a965496
UD
22234 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22235 problem.
22236
9bea3473
UD
22237 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22238
f101631b
UD
222392011-11-29 Joseph Myers <joseph@codesourcery.com>
22240
22241 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22242 conditional on GCC version.
22243 (__arch_compare_and_exchange_val_8_acq)
22244 (__arch_compare_and_exchange_val_16_acq)
22245 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22246 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22247 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22248
a98275aa
UD
222492011-12-02 Joseph Myers <joseph@codesourcery.com>
22250
22251 * sysdeps/sh/backtrace.c: New file.
22252
d4cc29a2
AS
222532011-12-02 Andreas Schwab <schwab@redhat.com>
22254
22255 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22256 parenthesis.
22257
6257af2d
AS
222582011-12-01 Andreas Schwab <schwab@redhat.com>
22259
22260 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22261 falling back to utime.
22262
b5f44c1a
AS
222632011-11-30 Andreas Schwab <schwab@redhat.com>
22264
22265 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22266 expectations for float.
22267
f3a6cc0a
AS
222682011-11-29 Andreas Schwab <schwab@redhat.com>
22269
22270 * locale/weight.h (findidx): Add parameter len.
22271 * locale/weightwc.h (findidx): Likewise.
22272 * posix/fnmatch_loop.c (FCT): Adjust caller.
22273 * posix/regcomp.c (build_equiv_class): Likewise.
22274 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22275 * posix/regexec.c (check_node_accept_bytes): Likewise.
22276 * string/strcoll_l.c (STRCOLL): Likewise.
22277 * string/strxfrm_l.c (STRXFRM): Likewise.
22278
9d65ea3a
UD
222792011-11-17 Ulrich Drepper <drepper@gmail.com>
22280
22281 * Makefile.in: Remove CVSOPT handling.
22282 * configure.in: Remove use of AC_REVISION.
22283 * iconvdata/Makefile (distribute): No need to filter out CVS.
22284 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22285 handling.
22286
5583a086
AS
222872011-11-16 Andreas Schwab <schwab@redhat.com>
22288
22289 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22290 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22291 [USE_AS_STRNCASECMP_L]: Likewise.
22292 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22293 NO_TLS_DIRECT_SEG_REFS.
22294 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22295 Fix argument offsets for non-PIC.
22296 [USE_AS_STRNCASECMP_L]: Likewise.
22297 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22298 NO_TLS_DIRECT_SEG_REFS.
22299
d62a8200
UD
223002011-11-15 Ulrich Drepper <drepper@gmail.com>
22301
9d65ea3a 22302 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22303 O_CLOEXEC.
22304 * locale/loadlocale.c (_nl_load_locale): Likewise.
22305
09f93bd3
AS
223062011-11-15 Andreas Schwab <schwab@redhat.com>
22307
446514f9
AS
22308 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22309 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22310 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22311 (SYSCALL_GETTIME): Set errno on error.
22312
09f93bd3
AS
22313 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22314 count references to noai6ai_cached.
22315
312be3f9
UD
223162011-11-15 Ulrich Drepper <drepper@gmail.com>
22317
22318 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22319
22320 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22321 FD_CLOEXEC for /proc/self/maps.
22322
22323 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22324 FD_CLOEXEC for /proc/meminfo.
22325
22326 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22327 gai.conf.
22328
22329 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22330 FD_CLOEXEC for given file.
22331
22332 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22333
22334 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22335 FD_CLOEXEC for /etc/hosts.
22336 (_gethtent): Likewise.
22337
22338 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22339
22340 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22341 cancellation and set FD_CLOEXEC for /etc/netgroup.
22342
22343 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22344 reading /etc/publickey.
22345
22346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22347 allow cancellation when reading /etc/group.
22348
22349 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22350 cancellation.
22351 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22352
22353 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22354 when using data file.
22355
22356 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22357
22358 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22359 (write_nis_obj): Use "c" and "e" in fopen.
22360
22361 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22362
22363 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22364
22365 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22366
22367 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22368
22369 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22370 locale.alias.
22371
22372 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22373
22374 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22375
22376 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22377
22378 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22379 file parsing and set FD_CLOEXEC.
22380
82af0fa8
UD
223812011-11-14 Ulrich Drepper <drepper@gmail.com>
22382
22383 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22384
a5fb313c
AS
223852011-11-14 Andreas Schwab <schwab@redhat.com>
22386
22387 * malloc/arena.c (arena_get2): Don't call reused_arena when
22388 _int_new_arena failed.
22389
6abf3465
UD
223902011-11-14 Ulrich Drepper <drepper@gmail.com>
22391
22392 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22393 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22395 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22398 to compile strcasecmp and strncasecmp.
22399 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22400 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22401
22402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22403
76e3966e
UD
224042011-11-13 Ulrich Drepper <drepper@gmail.com>
22405
22406 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22407 locale-defines.sym to gen-as-const-headers.
22408 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22409 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22411 to compile strcasecmp and strncasecmp.
22412 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22413 strcasecmp_l and strncasecmp_l.
22414 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22415 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22416 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22417 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22418 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22419 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22420 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22421 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22422 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22423 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22424 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22425
ab26144e
UD
224262011-11-12 Ulrich Drepper <drepper@gmail.com>
22427
7edb22ef
UD
22428 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22429 result of SYSDEP_GETTIME_CPU to retval.
22430 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22431 parameter list to macro. Remove trailing semicolon. Adjust users.
22432
9694fc44
UD
22433 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22434 variable.
22435
8ad89ef8
UD
22436 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22437 mantissa words.
22438 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22439
0c822ef9
UD
22440 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22441 from unused variable.
22442
874e0564
UD
22443 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22444 DWARF definitions.
22445 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22446 for assembling.
22447
3a2edc79
UD
22448 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22449 over namespaces.
22450
f3c2577f
UD
22451 * sunrpc/rpc_prot.c (rejected): Fix case value.
22452
294ce126
UD
22453 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22454 unsigned long long int to avoid warnings in shift.
22455
5e2b63c6
UD
22456 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22457 of use of trans.
22458 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22459 variable tmp.
22460
e7f4b08e
UD
22461 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22462 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22463 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22464
ab26144e
UD
22465 * nis/nis_table.c (nis_list): Use variable of correct type for
22466 result of __follow_path call.
22467
8a6d5255
AZ
224682011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22469
22470 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22471 of math functions ceil, trunc, floor, round, and sqrt, when
22472 avaliable on the platform.
22473 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22474 name clash.
22475 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22476 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22477 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22478
aaddc98c
MP
224792011-10-30 Marek Polacek <mpolacek@redhat.com>
22480
22481 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22483
95b7042b
RM
224842011-11-11 Roland McGrath <roland@hack.frob.com>
22485
22486 * include/unistd.h: Fix __readlink return type.
22487 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22488
57769839
UD
224892011-11-11 Ulrich Drepper <drepper@gmail.com>
22490
22491 * stdlib/ucontext.h: Undo last change for makecontext.
22492
edc5984d
AS
224932011-11-11 Andreas Schwab <schwab@redhat.com>
22494
98591e58
AS
22495 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22496
edc5984d
AS
22497 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22498 * setjmp/setjmp.h: Mark functions as non-leaf.
22499 * setjmp/bits/setjmp2.h: Likewise.
22500 * stdlib/ucontext.h: Likewise.
22501
77cdc054
AS
225022011-11-10 Andreas Schwab <schwab@redhat.com>
22503
22504 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22505 (reused_arena): Don't check arena limit.
22506 (arena_get2): Atomically check arena limit.
22507
fe72eebd
UD
225082011-11-08 Ulrich Drepper <drepper@gmail.com>
22509
5f078c32
UD
22510 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22511 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22512
fe72eebd
UD
22513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22514 instructions.
22515
ae1bc2fa
AS
225162011-11-07 Andreas Schwab <schwab@redhat.com>
22517
7583a88d
AS
22518 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22519 handler when locking.
22520
ae1bc2fa
AS
22521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22522 Fix size of allocated buffer.
22523
10fb0bfa
AS
225242011-11-04 Andreas Schwab <schwab@redhat.com>
22525
998832a4
AS
22526 [BZ #10103]
22527 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22528 declarations for long double functions.
22529 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22530
10fb0bfa
AS
22531 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22532
3d7ba52b
AS
225332011-11-03 Andreas Schwab <schwab@redhat.com>
22534
a9ae54a1
AS
22535 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22536 installed.
22537
3d7ba52b
AS
22538 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22539 is disabled.
22540
bc8db248
ST
225412011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22542
22543 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22544
45b96dd6
AS
225452011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22546
647776f6
AS
22547 * include/alloca.h (stackinfo_alloca_round): Define.
22548 (extend_alloca): Use it.
22549 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22550 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22551 here.
22552
d91a8b93
AS
22553 * scripts/check-local-headers.sh: Ignore libaudit.h.
22554
45b96dd6
AS
22555 * nscd/Makefile (extra-objs): Make recursively expanded.
22556
432d41ce
UD
225572011-11-01 Ulrich Drepper <drepper@gmail.com>
22558
34372fc6
UD
22559 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22561
fadb59f8
UD
22562 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22563 * posix/tst-rfc3484-2.c: Likewise.
22564 * posix/tst-rfc3484-3.c: Likewise.
22565
78239589
UD
22566 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22567 process_vm_writev.
22568 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22569 process_vm_writev.
22570 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22571 process_vm_writev from libc using GLIBC_2.15 version.
22572
432d41ce
UD
22573 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22574
02f9c6cf
PP
225752011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22576
22577 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22578 stack usage.
22579
3a2c0242
UD
225802011-10-31 Ulrich Drepper <drepper@gmail.com>
22581
f4ec4833
UD
22582 [BZ #13367]
22583 * nss/getent.c (initgroups_keys): Show error message in case no group
22584 names are given.
22585
3a2c0242
UD
22586 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22587 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22588 __bump_nl_timestamp.
22589 * nscd/connections (nscd_init): When host database is served open
22590 netlink socket and request notification about configuration changes.
22591 (main_loop_poll): Track netlink file descriptor and bump timestamp
22592 in case data becomes available.
22593 (main_loop_epoll): Likewise.
22594 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22595 (database_pers_head): Add extra_data fileds.
22596 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22597 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22598 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22599 Adjust caller.
22600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22601 in6ai data, call __free_in6ai.
22602 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22603 Add -DHAVE_NETLINK.
22604 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22605 interface information. Reuse previous data if netlink timestamp
22606 is not changed.
22607 (__bump_nl_timestamp): New function.
22608 (__free_in6ai): New function.
22609
636064eb
UD
226102011-10-30 Ulrich Drepper <drepper@gmail.com>
22611
22612 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22613 close_not_cancel_no_status here.
22614 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22615
9beb2334
UD
226162011-10-29 Ulrich Drepper <drepper@gmail.com>
22617
6ef76f3b
UD
22618 [BZ #13276]
22619 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22620 return value.
22621
0ffc4f3e 22622 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22623 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22624 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22625
cb95113e
UD
226262011-07-03 Andreas Jaeger <aj@suse.de>
22627
22628 [BZ #10709]
22629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22630 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22631 * math/libm-test.inc (sin_test): Add test case.
22632
a1b560ff
UD
226332011-10-29 Ulrich Drepper <drepper@gmail.com>
22634
c9aaface
UD
22635 [BZ #13337]
22636 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22637 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22638
d272e7f1
UD
22639 * elf/chroot_canon.c (chroot_canon): Cleanups.
22640
1bc33071
UD
22641 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22642
1760874d
TJ
22643 [BZ #13335]
22644 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22645 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22646
51d91b18
UD
22647 * string/test-strchr.c: Make usable for strchrnul testing.
22648 * string/test-strchrnul.c: New file.
22649 * string/Makefile (strop-tests): Add strchrnul.
22650
a1b560ff 22651 * po/it.po: Update from translation team.
b611fb81 22652 * po/es.po: Likewise.
a1b560ff 22653
a5b81e1f
UD
226542011-10-28 Ulrich Drepper <drepper@gmail.com>
22655
fd52bc6d
UD
22656 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22657 the three constants needed as parameters. Drop the others.
22658 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22659 __m128i_strloadu_tolower.
52e4b9eb
UD
22660 Create and initialize variable zero and use it in all the places
22661 where _mm_setzero_si128 was used.
fd52bc6d 22662
a5b81e1f
UD
22663 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22664 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22665 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22666 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22667 anymore.
22668 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22669 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22670 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22671 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22672 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22673 __mpranred, __mptan.
22674 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22675 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22676 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22677 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22681 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22682 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22683
b4343346
AS
226842011-10-28 Andreas Schwab <schwab@redhat.com>
22685
0c92d8a8
AS
22686 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22687 redefine if SHARED.
22688 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22689
b4343346
AS
22690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22691 wide char related routines to wcsmbs subdir.
22692
3871f58f
AS
226932011-10-27 Andreas Schwab <schwab@redhat.com>
22694
22695 [BZ #13344]
22696 * misc/sys/cdefs.h (__THROWNL): Define.
22697 * posix/unistd.h: Use __THREADNL instead of __THREAD
22698 for memory synchronization functions.
22699
94d44d9f
RM
227002011-10-26 Roland McGrath <roland@hack.frob.com>
22701
21b64b15 22702 [BZ #13349]
94d44d9f
RM
22703 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22704 doesn't exist.
22705 * manual/stdio.texi (Obstack Streams): Node removed.
22706
f6ce9294
AS
227072011-10-26 Andreas Schwab <schwab@redhat.com>
22708
80479147
AS
22709 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22710 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22711 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22712
f6ce9294
AS
22713 * math/math_private.h (math_force_eval): Allow non-addressable
22714 arguments.
22715 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22716
618280a1
UD
227172011-10-25 Ulrich Drepper <drepper@gmail.com>
22718
e0016b11
UD
22719 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22720 file is not needed.
22721
22722 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22724 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22725 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22726 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22727 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22728 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22729 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22730 Add AVX variants.
22731 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22732 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22733 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22734 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22735 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22736 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22737 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22738 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22739 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22740 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22741 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22742 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22744 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22745 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22746 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22747 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22748 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22749 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22750
22751 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22752 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22753
618280a1
UD
22754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22755 place. Use VEX encoding when compiling for AVX.
22756
37822576
AS
227572011-10-25 Andreas Schwab <schwab@redhat.com>
22758
1f1e1947
AS
22759 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22760 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22761
37822576
AS
22762 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22763
31ea014d
UD
227642011-10-25 Ulrich Drepper <drepper@gmail.com>
22765
d7826aa1 22766 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22767 useless if() expression.
d7826aa1
UD
22768 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22779 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22780 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22783 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22786 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22787
31ea014d
UD
22788 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22789
16437fec
AS
227902011-10-25 Andreas Schwab <schwab@redhat.com>
22791
22792 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22793 condition.
22794 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22795
31d3cc00
UD
227962011-10-25 Ulrich Drepper <drepper@gmail.com>
22797
22798 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22799 .text section. Avoid duplicate constants.
22800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22806 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22808 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22809 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22810 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22811 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22812 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22813 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22814 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22815 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22816 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22817 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22820 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22821 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22822 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22823 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22824 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22825 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22826 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22827 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22828 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22829 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22830 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22840 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22841 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22842 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22843 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22844 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22845
58985aa9
UD
228462011-10-24 Ulrich Drepper <drepper@gmail.com>
22847
202c9deb
UD
22848 * sysdeps/x86_64/dla.h: Move to ...
22849 * sysdeps/x86_64/fpu/dla.h: ...here.
22850 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22851 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22852
af968f62
UD
22853 * config.make.in: Add have-mfma4 entry.
22854 * configure.in: Substitute libc_cv_cc_fma4.
22855 * math/Makefile (dbl-only-routines): Add sincostab.
22856 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22857 Use __sincostab not sincos.
22858 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22859 name is a macro.
22860 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22864 using __copysign.
22865 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22866 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22867 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22868 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22869 and __inv.
22870 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22871 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22872 __copysign.
22873 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22874 define aliases when function name is a macro.
22875 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22876 sysdeps/ieee754/dbl-64/sincos.tbl.
22877 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22878 fma4-enabled routines.
22879 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22880 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22881 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22882 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22883 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22884 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22886 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22887 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22888 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22889 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22890 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22891 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22892 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22894 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22895 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22896 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22897 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22899 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22900 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22901 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22902 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22904 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22905 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22906 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22907 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22908 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22909
58985aa9
UD
22910 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22911 rename.
22912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22919 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22920
a201fbcf
AS
229212011-10-24 Andreas Schwab <schwab@redhat.com>
22922
22923 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22924
fc2ee42a
LD
229252011-10-23 Ulrich Drepper <drepper@gmail.com>
22926
bb3129bd
UD
22927 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22928
0275fff8
UD
22929 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22930 prediction.
22931 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22932
2fa2ae85
UD
22933 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22934 Remove unused variable magic_bits.
22935 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22936
fc2ee42a
LD
22937 * string/strnlen.c: Define and use STRNLEN macro.
22938 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22939 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22941 * wcsmbs/wcslen.c: Define and use WCSLEN.
22942 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22943 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22944 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22945 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22946 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22947 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22948 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22949
ce7dd29f
LD
229502011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22951
22952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22953 strnlen-sse2-no-bsf.
22954 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22955 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22956 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22957 Add strnlen support.
22958 (USE_AS_STRNLEN): New macro.
22959 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22960 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22961 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22962 * sysdeps/x86_64/wcslen.S: New file.
22963
979c70a3
MZ
229642011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22965
22966 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22967 XMM-moves are used for copying on small sizes.
22968
2d09f82f
LD
229692011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22970
22971 * wcsmbs/Makefile (strop-tests): Add wcschr.
22972 * wcsmbs/test-wcschr.c: New file.
22973 * string/test-strchr.c: Update.
22974 Add wcschr support.
22975 (WIDE): New macro.
22976
619fccca
LD
229772011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22978
2d09f82f 22979 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22980 * wcsmbs/test-wcslen.c: New file.
22981 * string/test-strlen.c: Update.
22982 Add wcslen support.
22983 (WIDE): New macro.
22984
09f699ea
UD
229852011-10-23 Ulrich Drepper <drepper@gmail.com>
22986
22987 * po/it.po: Update from translation team.
22988
95584d3b
LD
229892011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22990
22991 * sysdeps/x86_64/wcscmp.S: Update.
22992 Fix wrong comparison semantics.
22993 wcscmp shall use signed comparison not unsigned.
22994 Don't use substraction to avoid overflow bug.
22995 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22996 * wcsmbc/wcscmp.c: Likewise.
22997 * string/test-strcmp.c: Likewise.
22998 Add new tests to check cases with negative values.
22999
c8b3296b
UD
230002011-10-23 Ulrich Drepper <drepper@gmail.com>
23001
23002 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23003 * sysdeps/x86_64/dla.h: ...here. New file.
23004 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23009 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23013
246ad57a
AS
230142011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23015
23016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23017 __ynl_finite aliases.
23018
a1a87169
UD
230192011-10-22 Ulrich Drepper <drepper@gmail.com>
23020
0d355eb7
UD
23021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23022
a1a87169
UD
23023 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23024 define DLA_FMA.
23025 [DLA_FMA] (EMULV): Use DLA_FMA.
23026 [DLA_FMA] (MUL12): Use EMULV.
23027 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23028 that are not needed.
23029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23036
ee2aafe0
AS
230372011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23038
23039 * math/s_nan.c: Undef __nan.
23040 * math/s_nanf.c: Undef __nanf.
23041 * math/s_nanl.c: Undef __nanl.
23042 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23043 "math_private.h".
23044
bc62c2fb
UD
230452011-10-22 Ulrich Drepper <drepper@gmail.com>
23046
77425c63
UD
23047 * math/s_catan.c: Add branch predictions.
23048 * math/s_catanf.c: Likewise.
23049 * math/s_catanh.c: Likewise.
23050 * math/s_catanhf.c: Likewise.
23051 * math/s_catanhl.c: Likewise.
23052 * math/s_catanl.c: Likewise.
23053 * math/s_cexp.c: Likewise.
23054 * math/s_cexpf.c: Likewise.
23055 * math/s_cexpl.c: Likewise.
23056 * math/s_clog.c: Likewise.
23057 * math/s_clog10.c: Likewise.
23058 * math/s_clog10f.c: Likewise.
23059 * math/s_clog10l.c: Likewise.
23060 * math/s_clogf.c: Likewise.
23061 * math/s_clogl.c: Likewise.
23062 * math/s_csqrt.c: Likewise.
23063 * math/s_csqrtf.c: Likewise.
23064 * math/s_csqrtl.c: Likewise.
23065 * math/s_ctanf.c: Likewise.
23066 * math/s_ctanh.c: Likewise.
23067 * math/s_ctanhf.c: Likewise.
23068 * math/s_ctanhl.c: Likewise.
23069 * math/s_ctanl.c: Likewise.
23070
bc62c2fb
UD
23071 * math/math_private.h: Define __nan, __nanf, __nanl.
23072 * math/s_cacosh.c: Include <math_private.h>.
23073 * math/s_cacoshl.c: Likewise.
23074 * math/s_casinh.c: Likewise.
23075 * math/s_casinhf.c: Likewise.
23076 * math/s_casinhl.c: Likewise.
23077 * math/s_ccos.c: Rely entire on ccosh.
23078 * math/s_ccosf.c: Rely entire on ccoshf.
23079 * math/s_ccosl.c: Rely entirely on ccoshl.
23080 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23081 Remove tests for FE_INVALID.
23082 * math/s_ccoshf.c: Likewise.
23083 * math/s_ccoshl.c: Likewise.
23084 * math/s_csin.c: Likewise.
23085 * math/s_csinf.c: Likewise.
23086 * math/s_csinh.c Likewise.
23087 * math/s_csinhf.c: Likewise.
23088 * math/s_csinhl.c: Likewise.
23089 * math/s_csinl.c: Likewise.
23090 * math/s_ctan.c: Likewise.
23091 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23092 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23093 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23094
8ec250a4
UD
230952011-10-21 Ulrich Drepper <drepper@gmail.com>
23096
c196fed8
UD
23097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23098 compilation problems.
23099
8ec250a4
UD
23100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23101 __builtin_expect.
23102
8d4f46c6
UD
231032011-10-20 Ulrich Drepper <drepper@gmail.com>
23104
ed72b654
UD
23105 * sysdeps/i386/configure.in: Test for -mfma4 option.
23106 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23107 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23108 COMMON_CPUID_INDEX_80000001.
23109 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23110 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23111 use it if FMA3 is not supported.
23112 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23113
8d4f46c6
UD
23114 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23115 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23116
d45c60c2
AS
231172011-10-20 Andreas Schwab <schwab@redhat.com>
23118
23119 [BZ #12892]
23120 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23121 it would create a cycle with a link time dependency.
23122
d9a4d2ab
UD
231232011-10-19 Ulrich Drepper <drepper@gmail.com>
23124
855d1560
UD
23125 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23126 instruction.
23127 * string/Makefile (strop-tests): Add rawmemchr.
23128 * string/test-rawmemchr.c: New file.
23129
d9a4d2ab
UD
23130 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23132 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23133 when compiling str{,n}casecmp and when AVX is available. Hook up
23134 new optimized code in initializers.
23135
8f3b1ffe
AS
231362011-10-19 Andreas Schwab <schwab@redhat.com>
23137
23138 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23139 __feraiseexcept instead of feraiseexcept.
23140
d38f1dba
UD
231412011-10-18 Ulrich Drepper <drepper@gmail.com>
23142
d9a8d0ab
UD
23143 * math/math_private.h: Define defaults for libc_fetestexcept and
23144 libc_feupdateenv.
23145 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23146 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23147 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23148 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23149 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23150 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23151 libc_fetestexcept and libc_feupdateenv.
23152
4855e3dd
UD
23153 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23154 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23155 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23156 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23157 libc_feholdexcept_setround.
23158
581d30e3
UD
23159 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23160 Add s_nearbyint-c and s_nearbyintf-c.
23161 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23162 nearbyintf inlines.
23163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23164 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23166 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23167
d38f1dba
UD
23168 * math/math_private.h: Define defaults for libc_fegetround,
23169 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23170 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23171 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23172 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23173 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23174 standard functions.
23175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23176 Remove comments and hacks for old compiler versions.
23177 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23178 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23179 libc_feholdexceptl.
23180
caa6c9d8
AS
231812011-10-18 Andreas Schwab <schwab@redhat.com>
23182
23183 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23184 (__feraiseexcept_renamed): Add __NTH.
23185 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23186 namespace violations.
23187
97c066e6
UD
231882011-10-17 Ulrich Drepper <drepper@gmail.com>
23189
99ce7b04
UD
23190 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23191
1004d182
UD
23192 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23193
228a984d
UD
23194 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23195 recently added interfaces.
23196 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23197
c8553a6a
UD
23198 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23199 about macro parameter expansion.
23200
ed22dcf6
UD
23201 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23202 __NO_MATH_INLINES is defined. Cleanups.
23203
23204 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23205 and __floorf is target has SSE4.1.
23206 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23207 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23208 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23209 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23210
b171c137
UD
23211 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23212 name.
23213 (floorf): Likewise.
23214
97c066e6
UD
23215 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23216
629f62ef
AS
232172011-10-17 Andreas Schwab <schwab@redhat.com>
23218
49a43d80
AS
23219 * misc/sys/cdefs.h: Fix last change.
23220
629f62ef
AS
23221 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23222 database lookup.
23223
e453f6cd
UD
232242011-10-16 Ulrich Drepper <drepper@gmail.com>
23225
aa78043a
UD
23226 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23227
ad0f5cad
UD
23228 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23229 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23230 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23234 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23235 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23236 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23237 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23238 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23239 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23240 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23241 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23242 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23243 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23244 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23245 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23246 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23247 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23248 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23249 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23250
23251 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23252 ceil, ceilf, floor, floorf.
23253
23254 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23255 Perform IRELATIVE relocations last.
23256
e453f6cd
UD
23257 * elf/do-rel.h: Add another parameter nrelative, replacing the
23258 local variable with the same name. Change name of the function
23259 to end in Rel or Rela (uppercase).
23260 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23261 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23262 elf_dynamic_do_##reloc function.
23263
fd5bdc09
UD
232642011-10-15 Ulrich Drepper <drepper@gmail.com>
23265
79b195b5
UD
23266 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23267 is sufficient, at least on modern CPUs.
23268
d4a28569
UD
23269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23270
b61099b5
UD
23271 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23272 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23273
bcf01e6d
UD
23274 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23275 __expl_finite.
23276 * math/bits/math-finite.h: Add entries for exp.
23277 * math/e_expl.c: Add __*_finite alias.
23278 * sysdeps/i386/fpu/e_exp.S: Likewise.
23279 * sysdeps/i386/fpu/e_expf.S: Likewise.
23280 * sysdeps/i386/fpu/e_expl.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23282 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23283 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23286 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23287 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23288
ba1a0d59
UD
23289 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23290 is sufficient, at least on modern CPUs.
23291
fd5bdc09
UD
23292 * ctype/ctype-info.c (__ctype_init): Define.
23293 * include/ctype.h (__ctype_init): Declare.
23294 (__ctype_b_loc): The variable is always initialized.
23295 (__ctype_toupper_loc): Likewise.
23296 (__ctype_tolower_loc): Likewise.
23297 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23298 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23299
7872cfb0
AS
233002011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23301
b468825a
AS
23302 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23303
7872cfb0
AS
23304 * configure.in: Also look in $cxxmachine/include for C++ system
23305 headers.
23306
be13f7bf
LD
233072011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23308
23309 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23310 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23311 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23312 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23313 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23314 (USE_AS_WMEMCMP): New macro.
23315 Fixing indents.
23316 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23317 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23318 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23319 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23321 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23322 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23323 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23324 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23325 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23326 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23327 (USE_AS_WMEMCMP): New macro.
23328 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23329 * sysdeps/string/test-memcmp.c: Update.
23330 Fix simple_wmemcmp.
23331 Add new tests.
23332 * wcsmbs/wmemcmp.c: Update.
23333 (WMEMCMP): New macro.
23334 Fix overflow bug.
23335
556a2007
AJ
233362011-10-12 Andreas Jaeger <aj@suse.de>
23337
23338 [BZ #13268]
23339 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23340
538faaa7
UD
233412011-10-15 Ulrich Drepper <drepper@gmail.com>
23342
ab6737ff
UD
23343 * libio/iofwide.c (do_length): Avoid warning.
23344
538faaa7
UD
23345 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23346
396a21b1
UD
233472011-10-14 Ulrich Drepper <drepper@gmail.com>
23348
cdf2901f
UD
23349 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23350
38ad40ce
UD
23351 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23352 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23353 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23354 * sysdeps/i386/i686/fpu/e_log.S: New file.
23355 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23356 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23357
396a21b1
UD
23358 * ctype/ctype.h: Add support for inlined isXXX functions when
23359 compiling C++ code.
23360
6b1f68c9
AS
233612011-10-14 Andreas Schwab <schwab@redhat.com>
23362
349290c0
AS
23363 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23364
6b1f68c9
AS
23365 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23366
f2282d42
RM
233672011-10-13 Roland McGrath <roland@hack.frob.com>
23368
23369 [BZ #13291]
23370 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23371
5298ffa8
AS
233722011-10-13 Andreas Schwab <schwab@redhat.com>
23373
714fad23
AS
23374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23375 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23376 feraiseexcept.
23377
81dcc7fb
AS
23378 * sysdeps/x86_64/memrchr.S: Check for zero size.
23379
5298ffa8
AS
23380 * string/stratcliff.c: Add memrchr tests.
23381
951fbcec
LD
233822011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23383
23384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23385 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23386 rawmemchr-sse2 rawmemchr-sse2-bsf.
23387 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23388 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23389 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23390 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23391 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23392 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23393 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23394 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23395 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23396 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23397 * string/memrchr.c (MEMRCHR): New macro.
23398
0ac5ae23
UD
233992011-10-12 Ulrich Drepper <drepper@gmail.com>
23400
23401 Add integration with gcc's -ffinite-math-only and optimize wrapper
23402 functions in libm.
23403 * Versions.def: Define GLIBC_2.15 version for libm.
23404 * math/Makefile (headers): Add bits/math-finite.h.
23405 * math/bits/math-finite.h: New file.
23406 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23407 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23408 * math/e_acoshl.c: Add __*_finite alias.
23409 * math/e_acosl.c: Likewise.
23410 * math/e_asinl.c: Likewise.
23411 * math/e_atan2l.c: Likewise.
23412 * math/e_atanhl.c: Likewise.
23413 * math/e_coshl.c: Likewise.
23414 * math/e_exp10.c: Likewise.
23415 * math/e_exp10f.c: Likewise.
23416 * math/e_exp10l.c: Likewise.
23417 * math/e_exp2l.c: Likewise.
23418 * math/e_fmodl.c: Likewise.
23419 * math/e_gammal_r.c: Likewise.
23420 * math/e_hypotl.c: Likewise.
23421 * math/e_j0l.c: Likewise.
23422 * math/e_j1l.c: Likewise.
23423 * math/e_jnl.c: Likewise.
23424 * math/e_lgammal_r.c: Likewise.
23425 * math/e_log10l.c: Likewise.
23426 * math/e_log2l.c: Likewise.
23427 * math/e_logl.c: Likewise.
23428 * math/e_powl.c: Likewise.
23429 * math/e_sinhl.c: Likewise.
23430 * math/e_sqrtl.c: Likewise.
23431 * math/e_scalb.c: Completely rewritten and optimized.
23432 * math/e_scalbf.c: Likewise.
23433 * math/e_scalbl.c: Likewise.
23434 * math/w_acos.c: Likewise.
23435 * math/w_acosf.c: Likewise.
23436 * math/w_acosl.c: Likewise.
23437 * math/w_acosh.c: Likewise.
23438 * math/w_acoshf.c: Likewise.
23439 * math/w_acoshl.c: Likewise.
23440 * math/w_asin.c: Likewise.
23441 * math/w_asinf.c: Likewise.
23442 * math/w_asinl.c: Likewise.
23443 * math/w_atan2.c: Likewise.
23444 * math/w_atan2f.c: Likewise.
23445 * math/w_atan2l.c: Likewise.
23446 * math/w_atanh.c: Likewise.
23447 * math/w_atanhf.c: Likewise.
23448 * math/w_atanhl.c: Likewise.
23449 * math/w_exp10.c: Likewise.
23450 * math/w_exp10f.c: Likewise.
23451 * math/w_exp10l.c: Likewise.
23452 * math/w_fmod.c: Likewise.
23453 * math/w_fmodf.c: Likewise.
23454 * math/w_fmodl.c: Likewise.
23455 * math/w_j0.c: Likewise.
23456 * math/w_j0f.c: Likewise.
23457 * math/w_j0l.c: Likewise.
23458 * math/w_j1.c: Likewise.
23459 * math/w_j1f.c: Likewise.
23460 * math/w_j1l.c: Likewise.
23461 * math/w_jn.c: Likewise.
23462 * math/w_jnf.c: Likewise.
23463 * math/w_log.c: Likewise.
23464 * math/w_logf.c: Likewise.
23465 * math/w_logl.c: Likewise.
23466 * math/w_log10.c: Likewise.
23467 * math/w_log10f.c: Likewise.
23468 * math/w_log10l.c: Likewise.
23469 * math/w_log2.c: Likewise.
23470 * math/w_log2f.c: Likewise.
23471 * math/w_log2l.c: Likewise.
23472 * math/w_pow.c: Likewise.
23473 * math/w_powf.c: Likewise.
23474 * math/w_powl.c: Likewise.
23475 * math/w_remainder.c: Likewise.
23476 * math/w_remainderf.c: Likewise.
23477 * math/w_remainderl.c: Likewise.
23478 * math/w_scalb.c: Likewise.
23479 * math/w_scalbf.c: Likewise.
23480 * math/w_scalbl.c: Likewise.
23481 * math/w_sqrt.c: Likewise.
23482 * math/w_sqrtf.c: Likewise.
23483 * math/w_sqrtl.c: Likewise.
23484 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23485 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23486 used.
23487 * math/math_private.h: Declare __kernel_standard_f.
23488 * math/w_cosh.c: Remove cruft and optimize a bit.
23489 * math/w_coshf.c: Likewise.
23490 * math/w_coshl.c: Likewise.
23491 * math/w_exp2.c: Likewise.
23492 * math/w_exp2f.c: Likewise.
23493 * math/w_exp2l.c: Likewise.
23494 * math/w_hypot.c: Likewise.
23495 * math/w_hypotf.c: Likewise.
23496 * math/w_hypotl.c: Likewise.
23497 * math/w_lgamma.c: Likewise.
23498 * math/w_lgamma_r.c: Likewise.
23499 * math/w_lgammaf.c: Likewise.
23500 * math/w_lgammaf_r.c: Likewise.
23501 * math/w_lgammal.c: Likewise.
23502 * math/w_lgammal_r.c: Likewise.
23503 * math/w_sinh.c: Likewise.
23504 * math/w_sinhf.c: Likewise.
23505 * math/w_sinhl.c: Likewise.
23506 * math/w_tgamma.c: Likewise.
23507 * math/w_tgammaf.c: Likewise.
23508 * math/w_tgammal.c: Likewise.
23509 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23511 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23512 Minor optimizations. Pretty printing. Remove cruft.
23513 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23514 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23515 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23516 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23517 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23518 * sysdeps/i386/fpu/e_asin.S: Likewise.
23519 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23520 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23521 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23522 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23523 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23524 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23525 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23526 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23527 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23528 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23529 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23530 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23531 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23532 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23533 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23534 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23535 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23536 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23537 * sysdeps/i386/fpu/e_log.S: Likewise.
23538 * sysdeps/i386/fpu/e_log10.S: Likewise.
23539 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23540 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23541 * sysdeps/i386/fpu/e_log2.S: Likewise.
23542 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23543 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23544 * sysdeps/i386/fpu/e_logf.S: Likewise.
23545 * sysdeps/i386/fpu/e_logl.S: Likewise.
23546 * sysdeps/i386/fpu/e_pow.S: Likewise.
23547 * sysdeps/i386/fpu/e_powf.S: Likewise.
23548 * sysdeps/i386/fpu/e_powl.S: Likewise.
23549 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23550 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23551 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23552 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23553 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23554 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23555 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23556 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23557 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23562 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23563 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23564 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23565 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23566 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23567 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23568 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23569 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23571 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23572 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23575 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23578 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23579 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23580 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23581 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23582 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23583 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23584 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23585 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23586 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23587 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23588 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23589 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23590 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23592 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23593 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23594 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23595 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23596 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23597 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23598 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23599 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23638 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23641 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23643 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23644 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23646 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23649 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23650 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23651 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23652 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23653 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23654 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23655 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23656 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23657 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23658 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23659 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23660 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23661 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23662 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23663 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23664 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23665 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23666 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23667 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23668 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23669 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23670 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23671 (__isnanf): Likewise.
23672 (__isinf_ns): Likewise.
23673 (__isinf_nsf): Likewise.
23674 (__finite): Likewise.
23675 (__finitef): Likewise.
23676 (__ieee754_sqrt): Define as macro.
23677 (__ieee754_sqrtf): Define as macro.
23678 (__ieee754_sqrtl): Define as macro.
23679 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23680 inlined copy.
23681 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23682 __FINITE_MATH_ONLY__ consistent.
23683 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23684
12cc2fcd
AS
236852011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23686
a843a204
AS
23687 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23688 of rawmemchr.
23689
12cc2fcd
AS
23690 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23691
c853acd5
UD
236922011-10-09 Ulrich Drepper <drepper@gmail.com>
23693
23694 * po/ja.po: Update from translation team.
23695
c658d255
RM
236962011-10-08 Roland McGrath <roland@hack.frob.com>
23697
110946e4
RM
23698 * locale/programs/locarchive.c (prepare_address_space): New function.
23699 (create_archive, enlarge_archive, open_archive): Use it.
23700
50604220
RM
23701 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23702 inside [SHARED], where it is used.
23703
c658d255
RM
23704 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23705
23706 * nss/getent.c (netgroup_keys): Remove unused variable.
23707 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23708
6a621eb7
UD
237092011-10-08 Ulrich Drepper <drepper@gmail.com>
23710
7edb55ce
UD
23711 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23712 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23714 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23715 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23716 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23717 * math/Makefile (libm-calls): Add s_isinf_ns.
23718 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23719 * math/multc3.c: Likewise.
23720 * math/s_casin.c: Likewise.
23721 * math/s_casinf.c: Likewise.
23722 * math/s_casinl.c: Likewise.
23723 * math/s_ccos.c: Likewise.
23724 * math/s_ccosf.c: Likewise.
23725 * math/s_ccosl.c: Likewise.
23726 * math/s_ctan.c: Likewise.
23727 * math/s_ctanf.c: Likewise.
23728 * math/s_ctanh.c: Likewise.
23729 * math/s_ctanhf.c: Likewise.
23730 * math/s_ctanhl.c: Likewise.
23731 * math/s_ctanl.c: Likewise.
23732 * math/w_fmod.c: Likewise.
23733 * math/w_fmodf.c: Likewise.
23734 * math/w_fmodl.c: Likewise.
23735 * math/w_remainder.c: Likewise.
23736 * math/w_remainderf.c: Likewise.
23737 * math/w_remainderl.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23739 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23742 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23743 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23744 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23745 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23746
187da0ae
UD
23747 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23748 of the number.
23749 * stdio-common/printf_fphex.c: Likewise.
23750 * stdio-common/printf_size.c: Likewise.
23751
9277c064
UD
23752 * math/e_exp10.c: Include math_private.h using <...> not "...".
23753 * math/e_exp10f.c: Likewise.
23754 * math/e_exp10l.c: Likewise.
23755 * math/e_exp2l.c: Likewise.
23756 * math/e_j0l.c: Likewise.
23757 * math/e_j1l.c: Likewise.
23758 * math/e_jnl.c: Likewise.
23759 * math/e_lgammal_r.c: Likewise.
23760 * math/e_rem_pio2l.c: Likewise.
23761 * math/e_scalb.c: Likewise.
23762 * math/e_scalbf.c: Likewise.
23763 * math/e_scalbl.c: Likewise.
23764 * math/k_cosl.c: Likewise.
23765 * math/k_sinl.c: Likewise.
23766 * math/k_tanl.c: Likewise.
23767 * math/s_cacoshf.c: Likewise.
23768 * math/s_catan.c: Likewise.
23769 * math/s_catanf.c: Likewise.
23770 * math/s_catanh.c: Likewise.
23771 * math/s_catanhf.c: Likewise.
23772 * math/s_catanhl.c: Likewise.
23773 * math/s_catanl.c: Likewise.
23774 * math/s_ccosh.c: Likewise.
23775 * math/s_ccoshf.c: Likewise.
23776 * math/s_ccoshl.c: Likewise.
23777 * math/s_cexp.c: Likewise.
23778 * math/s_cexpf.c: Likewise.
23779 * math/s_cexpl.c: Likewise.
23780 * math/s_clog.c: Likewise.
23781 * math/s_clog10.c: Likewise.
23782 * math/s_clog10f.c: Likewise.
23783 * math/s_clog10l.c: Likewise.
23784 * math/s_clogf.c: Likewise.
23785 * math/s_clogl.c: Likewise.
23786 * math/s_csin.c: Likewise.
23787 * math/s_csinf.c: Likewise.
23788 * math/s_csinh.c: Likewise.
23789 * math/s_csinhf.c: Likewise.
23790 * math/s_csinhl.c: Likewise.
23791 * math/s_csinl.c: Likewise.
23792 * math/s_csqrt.c: Likewise.
23793 * math/s_csqrtf.c: Likewise.
23794 * math/s_csqrtl.c: Likewise.
23795 * math/s_ctan.c: Likewise.
23796 * math/s_ctanf.c: Likewise.
23797 * math/s_ctanh.c: Likewise.
23798 * math/s_ctanhf.c: Likewise.
23799 * math/s_ctanhl.c: Likewise.
23800 * math/s_ctanl.c: Likewise.
23801 * math/s_ldexp.c: Likewise.
23802 * math/s_ldexpf.c: Likewise.
23803 * math/s_ldexpl.c: Likewise.
23804 * math/s_significand.c: Likewise.
23805 * math/s_significandf.c: Likewise.
23806 * math/s_significandl.c: Likewise.
23807 * math/w_acos.c: Likewise.
23808 * math/w_acosf.c: Likewise.
23809 * math/w_acosh.c: Likewise.
23810 * math/w_acoshf.c: Likewise.
23811 * math/w_acoshl.c: Likewise.
23812 * math/w_acosl.c: Likewise.
23813 * math/w_asin.c: Likewise.
23814 * math/w_asinf.c: Likewise.
23815 * math/w_asinl.c: Likewise.
23816 * math/w_atan2.c: Likewise.
23817 * math/w_atan2f.c: Likewise.
23818 * math/w_atan2l.c: Likewise.
23819 * math/w_atanh.c: Likewise.
23820 * math/w_atanhf.c: Likewise.
23821 * math/w_atanhl.c: Likewise.
23822 * math/w_cosh.c: Likewise.
23823 * math/w_coshf.c: Likewise.
23824 * math/w_coshl.c: Likewise.
23825 * math/w_dremf.c: Likewise.
23826 * math/w_exp10.c: Likewise.
23827 * math/w_exp10f.c: Likewise.
23828 * math/w_exp10l.c: Likewise.
23829 * math/w_exp2.c: Likewise.
23830 * math/w_exp2f.c: Likewise.
23831 * math/w_fmod.c: Likewise.
23832 * math/w_fmodf.c: Likewise.
23833 * math/w_fmodl.c: Likewise.
23834 * math/w_hypot.c: Likewise.
23835 * math/w_hypotf.c: Likewise.
23836 * math/w_hypotl.c: Likewise.
23837 * math/w_j0.c: Likewise.
23838 * math/w_j0f.c: Likewise.
23839 * math/w_j0l.c: Likewise.
23840 * math/w_j1.c: Likewise.
23841 * math/w_j1f.c: Likewise.
23842 * math/w_j1l.c: Likewise.
23843 * math/w_jn.c: Likewise.
23844 * math/w_jnf.c: Likewise.
23845 * math/w_jnl.c: Likewise.
23846 * math/w_lgamma.c: Likewise.
23847 * math/w_lgamma_r.c: Likewise.
23848 * math/w_lgammaf.c: Likewise.
23849 * math/w_lgammaf_r.c: Likewise.
23850 * math/w_lgammal.c: Likewise.
23851 * math/w_lgammal_r.c: Likewise.
23852 * math/w_log.c: Likewise.
23853 * math/w_log10.c: Likewise.
23854 * math/w_log10f.c: Likewise.
23855 * math/w_log10l.c: Likewise.
23856 * math/w_log2.c: Likewise.
23857 * math/w_log2f.c: Likewise.
23858 * math/w_log2l.c: Likewise.
23859 * math/w_logf.c: Likewise.
23860 * math/w_logl.c: Likewise.
23861 * math/w_pow.c: Likewise.
23862 * math/w_powf.c: Likewise.
23863 * math/w_powl.c: Likewise.
23864 * math/w_remainder.c: Likewise.
23865 * math/w_remainderf.c: Likewise.
23866 * math/w_remainderl.c: Likewise.
23867 * math/w_scalb.c: Likewise.
23868 * math/w_scalbf.c: Likewise.
23869 * math/w_scalbl.c: Likewise.
23870 * math/w_sinh.c: Likewise.
23871 * math/w_sinhf.c: Likewise.
23872 * math/w_sinhl.c: Likewise.
23873 * math/w_sqrt.c: Likewise.
23874 * math/w_sqrtf.c: Likewise.
23875 * math/w_sqrtl.c: Likewise.
23876 * math/w_tgamma.c: Likewise.
23877 * math/w_tgammaf.c: Likewise.
23878 * math/w_tgammal.c: Likewise.
23879
6a621eb7
UD
23880 * po/ja.po: Update from translation team.
23881
bf582445
AJ
238822011-09-29 Andreas Jaeger <aj@suse.de>
23883
f9efbf3a
AJ
23884 [BZ #13179]
23885 * sunrpc/netname.c (netname2host): Fix logic.
23886
bf582445
AJ
23887 [BZ #6779]
23888 [BZ #6783]
23889 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23890 correctly.
23891 * math/w_remainder.c (__remainder): Likewise.
23892 * math/w_remainderf.c (__remainderf): Likewise.
23893 * math/libm-test.inc (remainder_test): Add test cases.
23894
48693bea
AK
238952011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23896
23897 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23898 sdiv_qrnnd.
23899
42622229
LD
239002011-10-07 Ulrich Drepper <drepper@gmail.com>
23901
23902 * string/test-memcmp.c: Avoid unncessary #defines.
23903 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23904
093ecf92
LD
239052011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23906
23907 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23908 Use new sse2 version for core i3 - i7 as it's faster
23909 than sse42 version.
23910 (bit_Prefer_PMINUB_for_stringop): New.
23911 * sysdeps/x86_64/rawmemchr.S: Update.
23912 Replace with faster SSE2 version.
23913 * sysdeps/x86_64/memrchr.S: New file.
23914 * sysdeps/x86_64/memchr.S: Update.
23915 Replace with faster SSE2 version.
23916
fde56e5c
MP
239172011-09-12 Marek Polacek <mpolacek@redhat.com>
23918
23919 * elf/dl-load.c (lose): Add cast to avoid warning.
23920
21fd49a9
UD
239212011-10-07 Ulrich Drepper <drepper@gmail.com>
23922
5a06e643
UD
23923 * po/ca.po: Update from translation team.
23924
684ae515
UD
23925 * inet/getnetgrent_r.c: Hook up nscd.
23926 * nscd/Makefile (routines): Add nscd_netgroup.
23927 (nscd-modules): Add netgroupcache.
23928 (CFLAGS-netgroupcache.c): Define.
23929 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23930 (cache_search): Add const to second parameter.
23931 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23932 INNETGR.
23933 (dbs): Add netgrdb entry.
23934 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23935 (verify_persistent_db): Handle netgrdb.
23936 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23937 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23938 GETFDNETGR.
23939 (netgroup_response_header): Define.
23940 (innetgroup_response_header): Define.
23941 (datahead): Add netgroup_response_header and innetgroup_response_header
23942 elements.
23943 * nscd/nscd.conf: Add entries for netgroup cache.
23944 * nscd/nscd.h (dbtype): Add netgrdb.
23945 (_PATH_NSCD_NETGROUP_DB): Define.
23946 (netgroup_iov_disabled): Declare.
23947 (xmalloc, xcalloc, xrealloc): Move declarations here.
23948 (cache_search): Adjust prototype.
23949 Add netgroup-related prototypes.
23950 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23951 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23952 (__nscd_innetgr): Declare.
23953 * nscd/selinux.c (perms): Use access_vector_t as element type and
23954 add netgroup-related initializers.
23955 * nscd/netgroupcache.c: New file.
23956 * nscd/nscd_netgroup.c: New file.
23957 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23958 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23959 For four parameters use innetgr.
23960 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23961 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23962 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23963 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23964
21fd49a9
UD
23965 * nscd/connections.c (register_traced_file): Don't register file
23966 for disabled databases.
23967
054c0457
UD
239682011-10-06 Ulrich Drepper <drepper@gmail.com>
23969
32b63198
UD
23970 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23971
054c0457
UD
23972 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23973 from tree and freeing node.
23974
64031225
JO
239752011-09-25 Jiri Olsa <jolsa@redhat.com>
23976
23977 * nss/nsswitch.c (__nss_database_lookup): Handle
23978 nss_parse_service_list out of memory case.
23979
0490345c
JO
239802011-09-15 Jiri Olsa <jolsa@redhat.com>
23981
23982 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23983 out of memory case.
23984
3a62d00d
AS
239852011-10-04 Andreas Schwab <schwab@redhat.com>
23986
23987 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23988 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23989 pass it down.
23990 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23991 elf_machine_rela, elf_machine_lazy_rel.
23992 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23993 (ELF_DYNAMIC_DO_REL): Likewise.
23994 (ELF_DYNAMIC_DO_RELA): Likewise.
23995 (ELF_DYNAMIC_RELOCATE): Likewise.
23996 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23997 to ELF_DYNAMIC_DO_REL.
23998 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23999 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24000 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24001 elf_machine_rela.
24002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24003 skip_ifunc, don't call ifunc function if non-zero.
24004 (elf_machine_rela): Likewise.
24005 (elf_machine_lazy_rel): Likewise.
24006 (elf_machine_lazy_rela): Likewise.
24007 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24008 (elf_machine_lazy_rel): Likewise.
24009 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24010 Likewise.
24011 (elf_machine_lazy_rel): Likewise.
24012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24013 Likewise.
24014 (elf_machine_lazy_rel): Likewise.
24015 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24016 (elf_machine_lazy_rel): Likewise.
24017 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24018 (elf_machine_lazy_rel): Likewise.
24019 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24020 (elf_machine_lazy_rel): Likewise.
24021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24022 (elf_machine_lazy_rel): Likewise.
24023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24024 (elf_machine_lazy_rel): Likewise.
24025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24026 (elf_machine_lazy_rel): Likewise.
24027
68577918
UD
240282011-09-28 Ulrich Drepper <drepper@gmail.com>
24029
24030 * nss/nss_files/files-init.c (_nss_files_init): Use static
24031 initialization for all the *_traced_file variables.
24032
68822d74
AS
240332011-09-28 Andreas Schwab <schwab@redhat.com>
24034
24035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24036
2056100b
RM
240372011-09-27 Roland McGrath <roland@hack.frob.com>
24038
24039 [BZ #13226]
24040 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24041
32c76b63
AS
240422011-09-27 Andreas Schwab <schwab@redhat.com>
24043
24044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24045 Reread the line before reparsing it.
24046
bf972c9d
AS
240472011-09-26 Andreas Schwab <schwab@redhat.com>
24048
24049 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24050
e057a1b5
JM
240512011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24052 Maxim Kuvyrkov <maxim@codesourcery.com>
24053 Joseph Myers <joseph@codesourcery.com>
24054
24055 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24056 if needed for __stack_chk_guard.
24057
bc7e1c36
RM
240582011-09-19 Roland McGrath <roland@hack.frob.com>
24059
ecb1482f
RM
24060 * sysdeps/posix/spawni.c (script_execute): Always define it.
24061 It will be optimized away if unused.
24062 (maybe_script_execute): New function.
24063 (__spawni): Call it.
24064
bc7e1c36
RM
24065 * Makerules: Don't include tls.make.
24066 (config-tls): Always set to thread.
24067 * tls.make.c: File removed.
24068
1c3b002b
MF
240692011-09-19 Mike Frysinger <vapier@gentoo.org>
24070
24071 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24072 * config.make.in (CPPFLAGS-config): New substituted variable.
24073
2840865d
UD
240742011-09-15 Ulrich Drepper <drepper@gmail.com>
24075
88738eb6
UD
24076 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24077
cbf645a6 24078 [BZ #13192]
2840865d
UD
24079 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24080 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24081
b402e91a
RM
240822011-09-15 Roland McGrath <roland@hack.frob.com>
24083
24084 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24085 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24086 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24087 (CALL_FAIL): Likewise.
24088 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24089 (CALL_FAIL): Macro removed.
24090 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24091
4c1a1f71
UD
240922011-09-15 Ulrich Drepper <drepper@gmail.com>
24093
24094 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24095 for __FINITE_MATH_ONLY__ == 1.
24096
edc121be
AS
240972011-09-15 Andreas Schwab <schwab@redhat.com>
24098
24099 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24100 __ieee754_sqrt instead of sqrt.
24101 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24102 __ieee754_sqrtf instead of sqrtf.
24103 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24104 __floorf instead of floorf.
24105 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24106 __floorf, __truncf instead of floorf, truncf.
24107
cd205654
UD
241082011-09-14 Ulrich Drepper <drepper@gmail.com>
24109
ee4d0315
UD
24110 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24111
cd205654
UD
24112 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24113 __extern_always_inline.
24114 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24115 32-bit.
24116
48b67d71
AS
241172011-09-14 Andreas Schwab <schwab@redhat.com>
24118
24119 * elf/rtld.c (dl_main): Also relocate in dependency order when
24120 doing symbol dependency testing.
24121
1ae12c75
AS
241222011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24123
24124 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24125 Always define `refsym'.
24126
995a80df
AS
241272011-09-13 Andreas Schwab <schwab@redhat.com>
24128
e529793b
AS
24129 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24130 (__FD_ELT): Renamed from __FDELT.
24131 * misc/bits/select2.h (__FD_ELT): Likewise.
24132 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24133 __FD_MASK instead of __FDELT, __FDMASK.
24134 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24135 Likewise.
24136 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24137 Likewise.
24138
52d4fef8
AS
24139 * elf/Makefile (gen-ldd): Fix pattern.
24140
995a80df
AS
24141 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24142 (init_tls): Likewise.
24143
8682f8b0
UD
241442011-09-12 Ulrich Drepper <drepper@gmail.com>
24145
24146 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24147
de82006d
AS
241482011-09-12 Andreas Schwab <schwab@redhat.com>
24149
a7c8e6a1
AS
24150 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24151 `struct cmsghdr *' instead of `void *'.
24152 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24153 Likewise.
24154
0f31fe77
AS
241552011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24156
24157 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24158 if non-absolute.
24159 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24160 ldd_rewrite_script.
0f31fe77 24161
32b4c839
UD
241622011-09-11 Ulrich Drepper <drepper@gmail.com>
24163
83cd1420
UD
24164 * configure.in: Remove --with-tls option.
24165 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24166 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24167 out in case it is missing.
24168 * sysdeps/ia64/elf/configure.in: Likewise.
24169 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24170 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24171 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24172 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24173 * sysdeps/sh/elf/configure.in: Likewise.
24174 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24175 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24176 * sysdeps/x86_64/elf/configure.in: Likewise.
24177 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24178 * sysdeps/mach/hurd/tls.h: Likewise.
24179
633f745d
UD
24180 [BZ #13067]
24181 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24182
f318beb8
UD
24183 [BZ #13090]
24184 * configure.in: Fix use of AC_INIT.
24185
32b4c839
UD
24186 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24187
3ce1f295
UD
241882011-09-10 Ulrich Drepper <drepper@gmail.com>
24189
bb016596
UD
24190 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24191 __set_errno.
8e58439c
UD
24192 * malloc/hooks.c: Likewise.
24193
aebae053 24194 [BZ #11929]
02d46fc4
UD
24195 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24196 variables statically.
24197 (narenas): Initialize.
24198 (list_lock): Initialize.
bb016596
UD
24199 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24200 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24201 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24202 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24203 Add initializers to main_arena and mp_.
24204 (malloc_state): Remove pagesize member. Change all users to use
24205 GLRO(dl_pagesize).
24206
24207 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24208 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24209 is always initialized.
24210
22a89187
UD
24211 * malloc/malloc.c: Removed unused configurations and dead code.
24212 * malloc/arena.c: Likewise.
24213 * malloc/hooks.c: Likewise.
02d46fc4 24214 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24215
d063d164
UD
24216 * include/tls.h: Removed. USE___THREAD must always be defined.
24217 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24218 * elf/dl-libc.c: Likewise.
24219 * elf/dl-tsd.c: Likewise.
24220 * include/errno.h: Likewise.
24221 * include/netdb.h: Likewise.
24222 * include/resolv.h: Likewise.
24223 * inet/herrno-loc.c: Likewise.
24224 * inet/herrno.c: Likewise.
24225 * malloc/arena.c: Likewise.
24226 * malloc/hooks.c: Likewise.
24227 * malloc/malloc.c: Likewise.
24228 * resolv/res-state.c: Likewise.
24229 * resolv/res_libc.c: Likewise.
24230 * sysdeps/i386/dl-machine.h: Likewise.
24231 * sysdeps/ia64/dl-machine.h: Likewise.
24232 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24233 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24234 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24235 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24236 * sysdeps/sh/dl-machine.h: Likewise.
24237 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24238 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24239 * sysdeps/unix/i386/sysdep.S: Likewise.
24240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24241 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24246 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24250 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24251 * sysdeps/x86_64/dl-machine.h: Likewise.
24252 * tls.make.c: Likewise.
24253
3ce1f295
UD
24254 * configure.in: Remove --with-__thread option. Make tests for
24255 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24256 tls_model attribute fail if no support is available. Remove
24257 USE_IN_LIBIO.
24258 * Makeconfig: Adjust for dropped configure option. All features are
24259 now mandatory.
24260 * Makerules: Likewise.
24261 * Versions.def: Likewise.
24262 * argp/argp-fmtstream.c: Likewise.
24263 * argp/argp-fmtstream.h: Likewise.
24264 * argp/argp-help.c: Likewise.
24265 * assert/assert.c: Likewise.
24266 * config.h.in: Likewise.
24267 * config.make.in: Likewise.
24268 * configure: Likewise.
24269 * configure.in: Likewise.
24270 * csu/Versions: Likewise.
24271 * csu/init.c: Likewise.
24272 * elf/tst-audit2.c: Likewise.
24273 * elf/tst-tls10.c: Likewise.
24274 * elf/tst-tls10.h: Likewise.
24275 * elf/tst-tls11.c: Likewise.
24276 * elf/tst-tls12.c: Likewise.
24277 * elf/tst-tls14.c: Likewise.
24278 * elf/tst-tlsmod11.c: Likewise.
24279 * elf/tst-tlsmod12.c: Likewise.
24280 * elf/tst-tlsmod13.c: Likewise.
24281 * elf/tst-tlsmod13a.c: Likewise.
24282 * elf/tst-tlsmod14a.c: Likewise.
24283 * elf/tst-tlsmod15b.c: Likewise.
24284 * elf/tst-tlsmod16a.c: Likewise.
24285 * elf/tst-tlsmod16b.c: Likewise.
24286 * elf/tst-tlsmod7.c: Likewise.
24287 * elf/tst-tlsmod8.c: Likewise.
24288 * elf/tst-tlsmod9.c: Likewise.
24289 * gmon/gmon.c: Likewise.
24290 * grp/fgetgrent_r.c: Likewise.
24291 * grp/putgrent.c: Likewise.
24292 * hurd/fopenport.c: Likewise.
24293 * include/libc-symbols.h: Likewise.
24294 * include/tls.h: Likewise.
24295 * intl/gettextP.h: Likewise.
24296 * intl/loadinfo.h: Likewise.
24297 * locale/global-locale.c: Likewise.
24298 * locale/localeinfo.h: Likewise.
24299 * mach/devstream.c: Likewise.
24300 * malloc/arena.c: Likewise.
24301 * malloc/set-freeres.c: Likewise.
24302 * misc/err.c: Likewise.
24303 * misc/getttyent.c: Likewise.
24304 * misc/mntent_r.c: Likewise.
24305 * posix/getopt.c: Likewise.
24306 * posix/wordexp.c: Likewise.
24307 * pwd/fgetpwent_r.c: Likewise.
24308 * resolv/Versions: Likewise.
24309 * resolv/res_hconf.c: Likewise.
24310 * shadow/fgetspent_r.c: Likewise.
24311 * shadow/putspent.c: Likewise.
24312 * stdio-common/printf_fphex.c: Likewise.
24313 * stdio-common/tmpfile.c: Likewise.
24314 * stdlib/abort.c: Likewise.
24315 * stdlib/fmtmsg.c: Likewise.
24316 * sunrpc/auth_unix.c: Likewise.
24317 * sunrpc/clnt_perr.c: Likewise.
24318 * sunrpc/clnt_tcp.c: Likewise.
24319 * sunrpc/clnt_udp.c: Likewise.
24320 * sunrpc/clnt_unix.c: Likewise.
24321 * sunrpc/openchild.c: Likewise.
24322 * sunrpc/svc_simple.c: Likewise.
24323 * sunrpc/svc_tcp.c: Likewise.
24324 * sunrpc/svc_udp.c: Likewise.
24325 * sunrpc/svc_unix.c: Likewise.
24326 * sunrpc/xdr.c: Likewise.
24327 * sunrpc/xdr_array.c: Likewise.
24328 * sunrpc/xdr_rec.c: Likewise.
24329 * sunrpc/xdr_ref.c: Likewise.
24330 * sunrpc/xdr_stdio.c: Likewise.
24331
1248c1c4
PB
243322011-09-09 Ulrich Drepper <drepper@gmail.com>
24333
24334 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24335
243362011-07-03 Andreas Jaeger <aj@suse.de>
24337
24338 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24339 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24340 regenerate with gen-libm-tests.pl.
24341
243422010-05-12 Petr Baudis <pasky@suse.cz>
24343
24344 [BZ #11589]
24345 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24346 around j0() zero points by switching to j1().
24347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24351
f22e1074
UD
243522011-09-09 Ulrich Drepper <drepper@gmail.com>
24353
f19009c1
UD
24354 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24355 instead of 0.
24356 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24357 instead of 0.
f19009c1
UD
24358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24359 Patch in part by Pavel Roskin <proski@gnu.org>.
24360
3f8cc204
UD
24361 [BZ #13138]
24362 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24363 realloc.
24364 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24365 Free memory block if necessary.
24366
f22e1074
UD
24367 [BZ #12847]
24368 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24369 be NULL. Don't lock in this case.
24370
0a2349f9
RM
243712011-09-09 Roland McGrath <roland@hack.frob.com>
24372
24373 * elf/elf.h (ELFOSABI_GNU): New macro.
24374 (ELFOSABI_LINUX): Define to that.
24375
f3cdd467
DZ
243762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24377
24378 * string/strncat.c (strncat): Undef the symbol in case it has been
24379 defined in bits/string.h.
24380
74718d13
UD
243812011-09-09 Ulrich Drepper <drepper@gmail.com>
24382
633e9e0f
UD
24383 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24384
0a2349f9 24385 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24386 link map.
24387
f9924780
AJ
243882011-08-17 Andreas Jaeger <aj@suse.de>
24389
24390 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24391
7f5517aa
PP
243922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24393 Ian Lance Taylor <iant@google.com>
24394
24395 * math/libm-test.inc (lround_test): New testcase.
24396 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24397
762011fe
UD
243982011-09-08 Ulrich Drepper <drepper@gmail.com>
24399
92963737
UD
24400 * Makefile: Remove support for automatic cvs check-ins.
24401 * Makerules: Likewise.
24402 * config.make.in: Likewise.
24403 * configure.in: Likewise.
24404 * intl/Makefile: Likewise.
24405 * locale/Makefile: Likewise.
24406 * po/Makefile: Likewise.
24407 * posix/Makefile: Likewise.
24408 * sysdeps/gnu/Makefile: Likewise.
24409 * sysdeps/mach/hurd/Makefile: Likewise.
24410 * sysdeps/sparc/sparc32/Makefile: Likewise.
24411
b0727fd8
JS
24412 [BZ #13118]
24413 * posix/Makefile (bug-regex32-ENV): Define.
24414 Patch by John Stanley <jpsinthemix@verizon.net>.
24415
a0f33f99
UD
24416 * misc/Makefile (headers): Add bits/select2.h.
24417 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24418 * misc/bits/select2.h: New file.
24419 * include/bits/select2.h: New file.
24420 * debug/Makefile (routines): Add fdelt_chk.
24421 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24422 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24423 FD_ISSET.
24424 * debug/fdelt_chk.c: New file.
24425
762011fe
UD
24426 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24427 * wcsmbs/test-wmemcmp.c: Likewise.
24428 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24429 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24430
244312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24432
24433 * string/Makefile (strop-tests): Add memcmp.
24434 * string/test-wmemcmp.c: New file.
24435 * string/test-memcmp.c: Add wmemcmp support.
24436
7f513ec8
RM
244372011-09-08 Roland McGrath <roland@hack.frob.com>
24438
0442afb4
RM
24439 [BZ #13153]
24440 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24441 2011-07-19 change.
24442
7f513ec8
RM
24443 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24444 garbage value in a __mach_port_mod_refs call in the cases of the
24445 task-self and thread-self ports.
24446
a12b2239
ST
244472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24448
24449 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24450
610f9ab4
AS
244512011-09-08 Andreas Schwab <schwab@redhat.com>
24452
7f513ec8 24453 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24454
48882a1a
LD
244552011-09-07 Ulrich Drepper <drepper@gmail.com>
24456
b49865be
UD
24457 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24458
fdc86bc9
UD
24459 * elf/dl-libc.c (dlerror_run): Pass back error code from
24460 dl_catch_error.
24461
c966526a
UD
24462 [BZ #13123]
24463 * elf/dl-load.c (lose): Free l_origin if it is valid.
24464
48882a1a
LD
24465 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24466 names.
24467 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24470 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24471 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24472 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24473
77a2a8b4
AZ
244742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24475
24476 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24477 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24478 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24480 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24481 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24482 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24483 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24484 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24485 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24486
24f579d8
AM
244872011-08-15 Alan Modra <amodra@gmail.com>
24488
24489 [BZ #13092]
24490 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24491 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24492 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24493 ppc_mcount to static-only-routines.
24494 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24495 __mcount_internal.
24496 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24497 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24498
3d4837df
UD
244992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24500
24501 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24502 for finite and infinity parameters.
24503
22700377
WS
245042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24505
24506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24507 and add nop instructions for throughput optimization.
24508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24509
5025581e
WS
245102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24511
24512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24513 aligned copy for power7 with vector-scalar instructions.
24514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24515
08a300c9
L
245162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24517
24518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24519 AVX check.
24520
59178ef9
AS
245212011-09-07 Andreas Schwab <schwab@redhat.com>
24522
24523 [BZ #13144]
24524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24525 last change.
24526
e38ba7ab
UD
245272011-09-07 Ulrich Drepper <drepper@gmail.com>
24528
24529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24530 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24531 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24533 clock_gettime.
24534
d53a73ac
UD
245352011-09-06 Ulrich Drepper <drepper@gmail.com>
24536
fc8bffcc
UD
24537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24538 Forgot to demangle the pointer.
24539
ceaa0c5d
UD
24540 * sysdeps/i386/sysdep.h: Define atom_text_section.
24541 * sysdeps/x86_64/sysdep.h: Likewise.
24542 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24543 section with atom_text_section.
24544 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24546 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24549
a77d3c17
UD
24550 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24551 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24552 already be defined. Change to take two parameters and don't assign
24553 result to variable. Adjust all users.
24554 Define INTERNAL_GETTIME if not already defined.
24555 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24556 call.
24557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24558 HAVE_CLOCK_GETTIME_VSYSCALL.
24559 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24560
d53a73ac
UD
24561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24562 gettimeofday vsyscall, just use time.
24563
a8f84144
AS
245642011-09-06 Andreas Schwab <schwab@redhat.com>
24565
24566 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24567 <errno.h>.
24568
ef606249
UD
245692011-09-06 Ulrich Drepper <drepper@gmail.com>
24570
24571 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24572 syscall on x86-64.
24573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24574 syscall.
24575 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24577 syscall if possible.
24578
6585cb60
UD
245792011-09-05 Ulrich Drepper <drepper@gmail.com>
24580
24581 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24582 e_ident. Don't pass to find_mapsXX.
24583 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24584
a5f524e4
LD
245852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24586
24587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24588 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24589 * sysdeps/x86_64/multiarch/strchr.S: Update.
24590 Check bit_slow_BSF bit.
24591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24593 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24594
554881ef
UD
245952011-09-05 Ulrich Drepper <drepper@gmail.com>
24596
d96de963
UD
24597 [BZ #13134]
24598 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24599 before glibc 2.15.
24600 (tryshell): Define.
24601 (__spawni): Change last parameter to be flag. Test
24602 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24603 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24604 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24605 * posix/spawni.c: Likewise.
24606 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24607 * posix/spawnp.c: Likewise. Change normal version to use
24608 SPAWN_XFLAGS_USE_PATH.
24609 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24610 SPAWN_XFLAGS_TRY_SHELL.
24611
d48e5868
UD
24612 [BZ #13150]
24613 * posix/glob.h: Remove gcc 1.x support.
24614
554881ef
UD
24615 [BZ #13068]
24616 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24617
693fb948
LD
246182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24619
24620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24621 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24622 strrchr-sse2-bsf
24623 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24624 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24625 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24626 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24627 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24629
1b48c537
UD
246302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24631
49d42c37
UD
24632 * sysdeps/x86_64/wcscmp.S: New file.
24633
1b48c537
UD
24634 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24635 wcscmp-c wcscmp-sse2
24636 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24637 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24638 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24639 * wcsmbs/wcscmp.c: Allow renaming.
24640
15c95c5d
DM
246412011-09-05 David S. Miller <davem@davemloft.net>
24642
24643 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24644 stack slot, rather than the struct return pointer slot.
24645 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24646 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24648 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24649
2f0ad8f3
UD
246502011-09-05 Ulrich Drepper <drepper@gmail.com>
24651
d88ae418
UD
24652 * po/ja.po: Update from translation team.
24653
2f0ad8f3
UD
24654 [BZ #13144]
24655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24656 kernel in 64-bit binaries.
24657
5f4318d1
DM
246582011-09-01 David S. Miller <davem@davemloft.net>
24659
24660 * elf/elf.h (HWCAP_SPARC_*): Move to..
24661 * sysdeps/sparc/sysdep.h: this new file and add new values.
24662 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24663 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24664 _DL_HWCAP_COUNT to 24.
24665 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24666 entries.
24667 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24668 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24669 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24671 instead of magic constants.
24672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24673
3ba57516
DM
246742011-08-31 David S. Miller <davem@davemloft.net>
24675
24676 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24678 Reimplement to do errno handling inline.
24679 (SYSCALL_ERROR_HANDLER): New macro.
24680 (__SYSCALL_STRING): Do not do errno handling in asm.
24681 (__CLONE_SYSCALL_STRING): Delete.
24682 (__INTERNAL_SYSCALL_STRING): Delete.
24683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24684 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24685 (PSEUDO): Reimplement to do errno handling inline.
24686 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24687 (SYSCALL_ERROR_HANDLER): New macro.
24688 (__SYSCALL_STRING): Do not do errno handling in asm.
24689 (__CLONE_SYSCALL_STRING): Delete.
24690 (__INTERNAL_SYSCALL_STRING): Delete.
24691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24692 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24693 i386.
24694 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24695 (inline_syscall*): Add 'err' argument.
24696 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24697 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24698 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24699 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24700
24701 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24702 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24703
2bc17433
AS
247042011-08-30 Andreas Schwab <schwab@redhat.com>
24705
24706 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24707
fbeb5f4d
JO
247082011-08-29 Jiri Olsa <jolsa@redhat.com>
24709
24710 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24711 directive.
24712
ad69cc26
DM
247132011-08-24 David S. Miller <davem@davemloft.net>
24714
24715 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24716
39dd69df
AS
247172011-08-24 Andreas Schwab <schwab@redhat.com>
24718
24719 * elf/Makefile: Add rules to build and run unload8 test.
24720 * elf/unload8.c: New file.
24721 * elf/unload8mod1.c: New file.
24722 * elf/unload8mod1x.c: New file.
24723 * elf/unload8mod2.c: New file.
24724 * elf/unload8mod3.c: New file.
24725
24726 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24727 it wasn't used.
24728
2c0b250a
DM
247292011-08-23 David S. Miller <davem@davemloft.net>
24730
24731 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24732 subtract stack bias.
24733 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24734 %sp not %fp in calculations.
24735 (_JMPBUF_UNWINDS_ADJ): Likewise.
24736
22044b48
DM
24737 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24738 (aio_suspend): Call it to force an exception region around the
24739 AIO_MISC_WAIT() invocation.
24740
2cae4995
AS
247412011-08-23 Andreas Schwab <schwab@redhat.com>
24742
24743 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24744 backslash.
24745
873a772e
AJ
247462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24747
24748 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24749 protection macro.
24750 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24751 and <dl-machine.h>.
24752 (Elf64_FuncDesc): Remove.
24753
25ad0df1
DM
247542011-08-22 David S. Miller <davem@davemloft.net>
24755
24756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24757 sigaltstack check, add missing cfi directives.
24758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24759 missing cfi directives, and sigaltstack handling.
24760
e888bcbe
AS
247612011-08-16 Andreas Schwab <schwab@redhat.com>
24762
24763 [BZ #11724]
24764 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24765 object is seen twice.
24766 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24767
24768 * elf/Makefile (distribute): Add tst-initorder2.c.
24769 (tests): Add tst-initorder2.
24770 (modules-names): Add tst-initorder2a tst-initorder2b
24771 tst-initorder2c tst-initorder2d. Add rules to build them.
24772 ($(objpfx)tst-initorder2.out): New rule.
24773 * elf/tst-initorder2.c: New file.
24774 * elf/tst-initorder2.exp: New file.
24775
87162f46
AS
247762011-08-22 Andreas Schwab <schwab@redhat.com>
24777
70538b7f
AS
24778 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24779
f55ffe58
AS
24780 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24781 dependencies back to end of function.
24782
87162f46
AS
24783 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24784 $(elfobjdir)/ld.so.
24785
91b392a4
UD
247862011-08-21 Ulrich Drepper <drepper@gmail.com>
24787
24788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24789 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24791 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24792 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24793 of __vdso_gettimeofday.
24794 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24795 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24796 attribute_hidden.
24797 (_libc_vdso_platform_setup): Remove initialization of
24798 __vdso_gettimeofday and __vdso_time.
24799
5c43483f
UD
248002011-08-20 Ulrich Drepper <drepper@gmail.com>
24801
775a77e7
UD
24802 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24803 and fgetc_unlocked.
24804 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24805 getc_unlocked.
89f447ed 24806
49c74ba9
UD
24807 * elf/dl-open.c (add_to_global): Report additions to the global scope
24808 for LD_DEBUG=scopes.
24809 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24810 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24811
5c43483f
UD
24812 [BZ #13114]
24813 * stdio-common/Makefile (tests): Add bug24.
24814 * stdio-common/bug24.c: New file.
24815
a101b025
AJ
248162011-08-19 Andreas Jaeger <aj@suse.de>
24817
24818 [BZ #13114]
24819 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24820 non-existant file when using close-on-exec mode.
24821
c88f1766
UD
248222011-08-20 Ulrich Drepper <drepper@gmail.com>
24823
0276a718
UD
24824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24825 the very first instruction.
24826
c88f1766
UD
24827 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24828 the CFI state in the end.
24829 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24830 inclusion of dl-trampoline.h.
24831 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24832
51ccffa0
AS
248332011-08-19 Andreas Schwab <schwab@redhat.com>
24834
94d7165f
AS
24835 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24836 expectations for long double.
24837
51ccffa0
AS
24838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24839 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24840
fd708658 248412011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24842
24843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24844 artificual limit depends upon the system page size.
24845
44f0a71e
UD
248462011-08-17 Ulrich Drepper <drepper@gmail.com>
24847
24848 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24849 * resolv/Makefile: Define CFLAGS-libresolv.
24850
8de79a24
AS
248512011-08-17 Andreas Schwab <schwab@redhat.com>
24852
24853 * nss/makedb.c (compute_tables): Make variables used in nested
24854 function static.
24855
27724598
UD
248562011-08-17 Ulrich Drepper <drepper@gmail.com>
24857
c5305d88
UD
24858 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24859 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24860 if buffer was too small.
24861
27724598
UD
24862 * elf/pldd.c (main): Attach to all threads in the process.
24863 Rewrite /proc handling to use *at functions.
24864
076fe015
UD
248652011-08-16 Ulrich Drepper <drepper@gmail.com>
24866
174baab3
UD
24867 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24868 specifies first scope to show.
24869 (dl_open_worker): Update callers. Move printing scope of new
24870 object to before the relocation.
44f0a71e 24871 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24872 * sysdeps/generic/ldsodefs.h: Update declaration.
24873
076fe015
UD
24874 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24875 string for the scope number.
24876
a60df2c3
UD
248772011-08-14 Ulrich Drepper <drepper@gmail.com>
24878
24879 * nscd/servicescache.c (cache_addserv): Make sure written is always
24880 initialized.
24881
5e4287d1
RM
248822011-08-14 Roland McGrath <roland@hack.frob.com>
24883
85ae0589
RM
24884 * sysdeps/i386/i486/bits/atomic.h
24885 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24886 statement expression, so as to suppress "set but not used" warning.
24887 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24888
69f63097
RM
24889 * string/strncat.c (STRNCAT): Use prototype definition.
24890
675456ef
RM
24891 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24892 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24893 -Iprograms here.
24894 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24895 (localedef-modules): Add localedef.
24896 (locale-modules): Add locale.
24897
5e4287d1
RM
24898 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24899 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24900 to avoid a warning.
24901
9c96ff23
DM
249022011-08-14 David S. Miller <davem@davemloft.net>
24903
24904 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24905 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24906
f9ddf089
UD
249072011-08-13 Ulrich Drepper <drepper@gmail.com>
24908
44f0a71e 24909 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24910 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24911 * elf/rtld.c (dl_main): Set l_name of vDSO.
24912 Call _dl_show_scope when DL_DEBUG_SCOPES.
24913 (process_dl_debug): Recognize scopes flag and also set it for all.
24914 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24915 Declare _dl_show_scope.
24916
1dc27704
UD
24917 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24918 (do_dlopen): Pass caller_dlopen to dl_open.
24919 (__libc_dlopen_mode): Initialize caller_dlopen.
24920
f9ddf089
UD
24921 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24922 of libc. Make tolower call locale-independent. Optimize a bit by
24923 using isdigit instead of isalnum.
24924 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24925
9ac533d3
UD
249262011-08-12 Ulrich Drepper <drepper@gmail.com>
24927
24928 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24929 was a dependency or dynamically loaded.
24930
89edf2e9
UD
249312011-08-11 Ulrich Drepper <drepper@gmail.com>
24932
8e999d29
UD
24933 * intl/l10nflist.c: Allow architecture-specific pop function.
24934 * sysdeps/x86_64/l10nflist.c: New file.
24935
89edf2e9
UD
24936 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24937 classification.
24938
14d96785
AS
249392011-08-10 Andreas Schwab <schwab@redhat.com>
24940
24941 * include/dirent.h: Add libc_hidden_proto for scandirat and
24942 scandirat64. Don't declare __scandirat64.
24943 * dirent/scandirat.c: Add libc_hidden_def.
24944 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24945 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24946
6761ac04
DM
249472011-08-10 David S. Miller <davem@davemloft.net>
24948
24949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24950 enum.
24951 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24952 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24953 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24954
c55fbd1e
UD
249552011-08-09 Ulrich Drepper <drepper@gmail.com>
24956
24957 * Versions.def [libc]: Add GLIBC_2.15.
24958 * dirent/Makefile (routines): Add scandirat and scandirat64.
24959 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24960 GLIBC_2.15.
24961 * dirent/dirent.h: Declare scandirat and scandirat64.
24962 * dirent/scandirat.c: New file.
24963 * dirent/scandirat64.c: New file.
24964 * sysdeps/wordsize-64/scandirat.c: New file.
24965 * sysdeps/wordsize-64/scandirat64.c: New file.
24966 * dirent/opendir.c: Define opendirat.
24967 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24968 using scandirat.
24969 * dirent/scandir64.c: Adjust for scandir.c change.
24970 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24971 __scandirat64, and __scandir_cancel_handler.
24972 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24973 additional parameter and use openat instead of open (outside of ld.so).
24974 Add new __opendir as wrapper around __opendirat.
24975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24976 here without requiring old scandirat implementation.
24977
879165f2
UD
249782011-08-08 Ulrich Drepper <drepper@gmail.com>
24979
24980 * dirent/scandir.c (cancel_handler): Renamed to
24981 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24982 defined. Adjust users.
24983 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24985
cb7e923b
UD
249862011-08-04 Ulrich Drepper <drepper@gmail.com>
24987
16292edd
UD
24988 * string/test-string.h (IMPL): Use __STRING to expand name and then
24989 stringify it.
24990
cb7e923b
UD
24991 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24992 of cleanups.
24993
cff82933
LD
249942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24995
24996 * string/Makefile: Update.
24997 (strop-tests): Append strncat.
24998 * string/test-wcscmp.c: New file.
24999 New comprehensive test for wcscmp.
25000 * string/test-strcmp.c: Update.
25001 (WIDE): New define.
25002
9be9bfcc
AS
250032011-07-22 Andreas Schwab <schwab@redhat.com>
25004
25005 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25006 line.
25007
2e96f1c7
AS
250082011-07-26 Andreas Schwab <schwab@redhat.com>
25009
25010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25011 encoding to ACE if AI_IDN.
25012
85188888
JJ
250132011-08-01 Jakub Jelinek <jakub@redhat.com>
25014
25015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25016 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25017
5fa16e9b
LD
250182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25019
25020 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25021 Fix overflow bug in strncat.
25022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25023
25024 * string/test-strncat.c: Update.
25025 Add new tests for checking overflow bugs.
25026
250272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25028
25029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25030 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25031 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25032 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25033 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25034 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25035 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25036 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25037 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25038
25039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25040 (USE_AS_STRCAT): Define.
25041 Add strcat and strncat support.
25042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25043
8c1a459f
AS
250442011-07-25 Andreas Schwab <schwab@redhat.com>
25045
25046 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25047 __n bigger than INT_MAX+1.
25048 (__strncmp_g): Likewise.
25049
bba33c28
UD
250502011-07-23 Ulrich Drepper <drepper@gmail.com>
25051
798be72d
UD
25052 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25053 * libio/stido.h: Likewise.
25054
8accd4dc
UD
25055 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25056 (AF_NFC): Define.
25057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25058 (AF_NFC): Define.
25059
cbff0d96
UD
25060 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25061 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25063 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25064 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25065
9191c04a
UD
25066 [BZ #13021]
25067 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25068 installed.
25069
bba33c28
UD
25070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25071 typo.
25072 (_dl_x86_64_save_sse): Likewise.
25073
90f139dd
UD
250742011-07-22 Ulrich Drepper <drepper@gmail.com>
25075
1aae088a
UD
25076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25077 OSXSAVE.
25078 (_dl_x86_64_save_sse): Likewise.
25079
8e2045f5
UD
25080 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25081
90f139dd
UD
25082 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25083
1d002f25
AS
250842011-07-21 Andreas Schwab <schwab@redhat.com>
25085
25086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25087 change.
25088 (_dl_x86_64_save_sse): Use correct AVX check.
25089
21137f89
UD
250902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25091
25092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25093 bug in strncpy/strncat.
25094 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25095
a65c0b7a
UD
250962011-07-21 Ulrich Drepper <drepper@gmail.com>
25097
25098 * string/tester.c (test_strcat): Add tests for different alignments
25099 of source and destination.
25100 (test_strncat): Likewise.
25101
6986b98a
UD
251022011-07-20 Ulrich Drepper <drepper@gmail.com>
25103
90bb2039
UD
25104 [BZ #12852]
25105 * posix/glob.c (glob): Check passed in values before using them in
25106 expressions to avoid some overflows.
25107 (glob_in_dir): Likewise.
25108
5644ef54
UD
25109 [BZ #13007]
25110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25111 check for AVX enablement so that we don't crash with old kernels and
25112 new hardware.
25113 * elf/tst-audit4.c: Add same checks here.
25114 * elf/tst-audit6.c: Likewise.
25115
25116 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25117
bfc9dc9b
AS
251182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25119
25120 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25121
702e64bb
UD
251222011-07-20 Ulrich Drepper <drepper@gmail.com>
25123
25124 * po/cs.po: Update from translation team.
25125 * po/bg.po: Likewise.
25126
295e904f
MP
251272011-07-12 Marek Polacek <mpolacek@redhat.com>
25128
25129 * misc/sys/cdefs.h: Add support for const attribute.
25130 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25131 to gnu_dev_{major,minor,makedev} functions.
25132
3ff94596
MP
251332011-07-20 Marek Polacek <mpolacek@redhat.com>
25134
25135 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25136
28b59fca
AS
251372011-07-20 Andreas Schwab <schwab@redhat.com>
25138
25139 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25140 strlen results.
25141
19df733e
AK
251422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25143
25144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25145 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25146 register in order to avoid conflicts with the soft frame pointer
25147 being held in r11 when necessary.
25148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25149 (INTERNAL_VSYSCALL_NCS): Likewise.
25150
c8835729
MP
251512011-07-14 Marek Polacek <mpolacek@redhat.com>
25152
25153 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25154 * elf/dl-fini.c (_dl_fini): Adjust caller.
25155 * elf/dl-close.c (_dl_close_worker): Likewise.
25156 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25157
b902330c
MP
251582011-07-15 Marek Polacek <mpolacek@redhat.com>
25159
8991e135
MP
25160 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25161 "aux_cache->nlibs < 0".
25162
b902330c
MP
25163 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25164 in the reload-count case.
25165
99710781
LD
251662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25167
25168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25169 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25170 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25171 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25172 * sysdeps/x86_64/multiarch/strcat.S: New file.
25173 * sysdeps/x86_64/multiarch/strncat.S: New file.
25174 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25176 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25177 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25179 (USE_AS_STRCAT): Define.
25180 Add strcat and strncat support.
25181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25183 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25184 * string/strncat.c: Update.
25185 (USE_AS_STRNCAT): Define.
25186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25187 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25188 and i7.
25189 * sysdeps/x86_64/multiarch/init-arch.h
25190 (bit_Prefer_PMINUB_for_stringop): New.
25191 (index_Prefer_PMINUB_for_stringop): Likewise.
25192 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25193 bit_Prefer_PMINUB_for_stringop.
25194
7dc6bd90
UD
251952011-07-19 Ulrich Drepper <drepper@gmail.com>
25196
25197 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25198 buffer64.
25199 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25200 of casting of buffer.
25201 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25202 buffer32 and buffer64.
25203 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25204 writes instead of casting of buffer.
25205 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25206 buffer32.
25207 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25208 casting of buffer.
25209
e0e72284
AS
252102011-07-19 Andreas Schwab <schwab@redhat.com>
25211
25212 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25213
feb1eb0b
UD
252142011-07-19 Ulrich Drepper <drepper@gmail.com>
25215
25216 * nscd/nscd.c (termination_handler): Don't do anything for a database
25217 if it has not yet been initialized.
25218
298711ff
UD
252192011-07-18 Ulrich Drepper <drepper@gmail.com>
25220
25221 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25222
252232011-07-15 Marek Polacek <mpolacek@redhat.com>
25224
25225 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25226
f9d68389
UD
252272011-07-18 Ulrich Drepper <drepper@gmail.com>
25228
25229 * po/nl.po: Update from translation team.
25230 * po/sv.po: Likewise.
25231
db290cf5
RM
252322011-07-16 Roland McGrath <roland@hack.frob.com>
25233
25234 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25235 now disallowed by GCC.
5c550700 25236
fd5e21c7
RM
25237 * configure.in (use-default-link): Default to yes if a test -shared
25238 link meets our qualifications.
25239 * configure: Regenerated.
25240
5c550700
RM
25241 * config.make.in (output-format): New variable.
25242 * configure.in: Check for ld --print-output-format support.
25243 * configure: Regenerated.
25244 * Makerules ($(common-objpfx)format.lds)
25245 [$(output-format) != unknown]: Just use $(output-format),
25246 instead of the linker-script munging.
25247
9fa2c032
RM
252482011-07-14 Roland McGrath <roland@hack.frob.com>
25249
a6928d51
RM
25250 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25251 of $(common-objpfx)shlib.lds.
25252 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25253
661607b3
RM
25254 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25255 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25256
9fa2c032
RM
25257 * configure.in (-z relro check): Adjust test code to add a large
25258 writable data section after it.
25259 * configure: Regenerated.
25260
defe9061
RM
252612011-07-11 Roland McGrath <roland@hack.frob.com>
25262
25263 * configure.in (-z relro check): Fix test code to make the variable
25264 truly const.
25265 * configure: Regenerated.
25266
319b9ad4
UD
252672011-07-11 Ulrich Drepper <drepper@gmail.com>
25268
25269 * nscd/nscd.h (struct traced_file): Define.
25270 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25271 elements. Add traced_files.
25272 (inotify_fd): Declare.
25273 (register_traced_file): Declare.
25274 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25275 (inotify_fd): Export.
25276 (resolv_conf_descr): Remove.
25277 (nscd_init): Move inotify descriptor creation to main.
25278 Don't register files for notification here.
25279 (register_traced_file): New function.
25280 (invalidate_cache): Don't use reset_res to determine whether to call
25281 res_init, go through the list of registered files.
25282 (main_loop_poll): The inotify descriptors are now stored in the
25283 structures for the traced files.
25284 (main_loop_epoll): Likewise
25285 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25286 to __nss_disable_nscd.
25287 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25288 for a database anymore. Check the records for all the registered
25289 files instead.
25290 * nss/Makefile (libnss_files-routines): Add files-init.
25291 (libnss_db-routines): Add db-init.
25292 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25293 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25294 * nss/nss_db/db-init.c: New file.
25295 * nss/nss_files/files-init.c: New file.
25296 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25297 __nss_lookup_function.
25298 (__nss_lookup_function): Call nss_load_library.
25299 (nss_load_all_libraries): New function.
25300 (__nss_disable_nscd): Take parameter with callback function for files
25301 to register. Set is_nscd. Load all the DSOs for the NSS modules
25302 used for the cached services.
25303 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25304 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25305 options for features to all the files in nscd.
25306
25307 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25308
23bee3e8
RM
253092011-07-10 Roland McGrath <roland@hack.frob.com>
25310
25311 * csu/elf-init.c (__libc_csu_init): Comment typo.
25312
46a5b7f0
UD
253132011-07-09 Ulrich Drepper <drepper@gmail.com>
25314
25315 * po/pl.po: Update from translation team.
25316 * po/ja.po: Likewise.
25317 * po/ru.po: Likewise.
25318 * po/ko.po: Likewise.
25319 * po/fr.po: Likewise.
25320
d30cf5bb
RM
253212011-07-09 Roland McGrath <roland@hack.frob.com>
25322
113ddea4
RM
25323 * configure.in (.ctors/.dtors header and trailer check):
25324 Use an empirical test on a built program.
25325 * configure: Regenerated.
25326
574920b4
RM
25327 * configure.in (-z relro check): Use an empirical test on a built DSO.
25328 Detect, but do not require, on ia64.
25329 * configure: Regenerated.
25330
d30cf5bb
RM
25331 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25332 Update tests that use readelf to use $READELF instead.
25333 * configure: Regenerated.
25334
8538fdb3
UD
253352011-07-08 Ulrich Drepper <drepper@gmail.com>
25336
25337 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25338 if the result is not used.
25339
04d08991
AJ
253402011-07-05 Andreas Jaeger <aj@suse.de>
25341
25342 [BZ#9696]
25343 * stdlib/tst-strtod.c: Add testcase.
25344
de283087
AD
253452011-07-07 Ulrich Drepper <drepper@gmail.com>
25346
4e5f31c8 25347 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25348 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25349 The latter has a higher limit. Take additional parameter to pass to
25350 the new function.
25351 (__pathconf): Pass file to __statfs_link_max.
25352 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25353 __statfs_link_max.
25354 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25355 __statfs_link_max.
25356
de283087
AD
25357 [BZ #12868]
25358 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25360 Handle Lustre.
25361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25362 (__statfs_filesize_max): Likewise.
25363 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25364
c75fa153
AJ
253652011-07-05 Andreas Jaeger <aj@suse.de>
25366
25367 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25368
1a544854
UD
253692011-07-06 Marek Polacek <mpolacek@redhat.com>
25370
25371 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25372 `status' variable.
25373 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25374 Likewise.
25375
6f0eec67
UD
253762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25377
25378 * Makefile (strop-tests): Add strncat.
25379 * string/test-strncat.c: New file.
25380
aae30307
UD
253812011-06-30 Marek Polacek <mpolacek@redhat.com>
25382
25383 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25384
c0cfb5eb
UD
253852011-06-21 Andreas Jaeger <aj@suse.de>
25386
25387 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25388 Copy rule from iconvdata/Makefile.
25389
01636b21
UD
253902011-07-06 Ulrich Drepper <drepper@gmail.com>
25391
25392 [BZ #12922]
25393 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25394 but no long options are defined, just return 'W'.
25395
9895c8bc
UD
253962011-06-22 Marek Polacek <mpolacek@redhat.com>
25397
25398 [BZ #9696]
25399 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25400
5d4cf042
UD
254012011-07-06 Ulrich Drepper <drepper@gmail.com>
25402
25403 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25404 netgroups to read.
960e5535 25405 (innetgr): Likewise.
5d4cf042 25406
751eb97e
RM
254072011-07-05 Roland McGrath <roland@hack.frob.com>
25408
25409 * config.make.in (install_root): Default to $(DESTDIR).
25410
f15f1e45
UD
254112011-07-05 Ulrich Drepper <drepper@gmail.com>
25412
25413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25414
4e34ac6a
RM
254152011-07-02 Roland McGrath <roland@hack.frob.com>
25416
5e9b6af4
RM
25417 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25418
84f9ea0f
RM
25419 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25420 containing directory rather than embedding absolute directory names.
25421
ea5ee9f7
RM
25422 * scripts/check-local-headers.sh: Rewritten using awk.
25423 Match by word, not by line. Print error messages for matches.
25424 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25425
1b74661a
RM
25426 * Makerules [shlib-lds-flags empty]:
25427 ($(common-objpfx)libc_pic.opts): New target.
25428 ($(common-objpfx)libc_pic.os.clean): New target.
25429 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25430
25431 * config.make.in (OBJCOPY): New variable.
25432 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25433 * configure: Regenerated.
25434
f781ef40
RM
25435 * config.make.in (use-default-link): New variable.
25436 * configure.in (use_default_link): Grok --with-default-link to set it.
25437 * configure: Regenerated.
25438 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25439 (shlib-lds, shlib-lds-flags): Define to empty.
25440
2d4fa81e
RM
25441 * Makerules (shlib-lds): New variable.
25442 (shlib-lds-flags): New variable.
25443 (build-shlib, build-moduile, build-module-asneeded): Use it.
25444 ($(common-objpfx)libc.so): Use $(shlib-lds).
25445 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25446 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25447
31fffa6b
RM
25448 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25449 DT_FLAGS/DT_FLAGS_1 with zero flags.
25450
4e34ac6a
RM
25451 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25452 linker script munging.
25453
fcfc776b
UD
254542011-07-02 Ulrich Drepper <drepper@gmail.com>
25455
25456 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25457 as 128-bit value.
25458 * crypt/sha512.c (sha512_process_block): Perform total addition using
25459 128-bit if possible.
25460 (__sha512_finish_ctx): Likewise.
25461 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25462 as 64-bit value.
25463 * crypt/sha256.c (SWAP64): Define.
25464 (sha256_process_block): Perform total addition using 64-bit if
25465 possible.
25466 (__sha256_finish_ctx): Likewise.
25467
99231d9a
UD
254682011-07-01 Ulrich Drepper <drepper@gmail.com>
25469
25470 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25472 * nscd/hstcache.c (cache_addhst): Likewise.
25473 * nscd/grpcache.c (cache_addgr): Likewise.
25474 * nscd/aicache.c (addhstaiX): Likewise
25475 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25476
445b4a53
TK
254772011-07-01 Thorsten Kukuk <kukuk@suse.de>
25478
25479 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25481 * nscd/hstcache.c (cache_addhst): Likewise.
25482 * nscd/grpcache.c (cache_addgr): Likewise.
25483 * nscd/aicache.c (addhstaiX): Likewise
25484
6d4d8e8e
AS
254852011-07-01 Andreas Schwab <schwab@redhat.com>
25486
25487 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25488 domain only when needed.
25489
89f654c5
AS
254902011-06-30 Andreas Schwab <schwab@redhat.com>
25491
25492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25493 is always restored.
25494
cf3b23ff
UD
254952011-06-29 Ulrich Drepper <drepper@gmail.com>
25496
25497 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25498 are re-adding the entry.
25499 * nscd/servicescache.c (cache_addserv): Likewise.
25500
751626f9
AJ
255012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25502
25503 * sysdeps/generic/dl-irel.h: fix protection against multiple
25504 inclusions.
25505 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25506
9113ea1f
UD
255072011-06-28 Ulrich Drepper <drepper@gmail.com>
25508
5c0b8d90
UD
25509 [BZ #12935]
25510 * malloc/memusage.sh: Fix quoting in message.
25511 * debug/xtrace.sh: Likewise.
25512
9113ea1f
UD
25513 * configure.in: Remove support for --experimental-malloc option, make
25514 it the default.
25515 * config.make.in: Likewise.
25516 * malloc/Makefile: Likewise.
25517
a4172181
AS
255182011-06-27 Andreas Schwab <schwab@redhat.com>
25519
25520 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25521 two-byte characters.
25522
78a7eee7
RM
255232011-06-27 Roland McGrath <roland@hack.frob.com>
25524
62bede13
RM
25525 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25526 AC_CACHE_CHECK invocation.
25527 * configure: Regenerated.
25528
78a7eee7
RM
25529 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25530
5ce33a62
UD
255312011-06-27 Ulrich Drepper <drepper@gmail.com>
25532
034807a9
UD
25533 [BZ #12350]
25534 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25535 bit from old_res_options.
25536
4902da17
UD
25537 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25538
5ce33a62
UD
25539 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25540 value type for setfct.
25541
c2344f56
L
255422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25543
25544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25545 __gettimeofday instead of gettimeofday.
25546
68468076
UD
255472011-06-26 Ulrich Drepper <drepper@gmail.com>
25548
25549 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25550
acb0d739
L
255512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25552
25553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25554
25555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25556 info.
25557
8912479f
L
255582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25559
25560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25561 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25562 strcpy-sse2-unaligned strncpy-sse2-unaligned
25563 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25564 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25565 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25566 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25567 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25569 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25570 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25571 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25572 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25573 (STRCPY): Support SSE2 and SSSE3 versions.
25574
d5495a11
UD
255752011-06-24 Ulrich Drepper <drepper@gmail.com>
25576
25577 [BZ #12874]
25578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25579 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25580 kernels which artificially limit size of requests.
25581
0b1cbaae
L
255822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25583
25584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25585 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25586 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25587 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25588 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25589 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25590 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25591 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25594 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25595 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25596 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25597 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25598 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25600 Enable unaligned load optimization for Intel Core i3, i5 and i7
25601 processors.
25602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25603 Define.
25604 (index_Fast_Unaligned_Load): Define.
25605 (HAS_FAST_UNALIGNED_LOAD): Define.
25606
07f494a0
MP
256072011-06-23 Marek Polacek <mpolacek@redhat.com>
25608
25609 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25610
fa3fc0fe
UD
256112011-06-22 Ulrich Drepper <drepper@gmail.com>
25612
25613 [BZ #12907]
25614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25615 until it is clear that the information is realy needed.
25616 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25617
e12df166
AS
256182011-06-22 Andreas Schwab <schwab@redhat.com>
25619
25620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25621
852eb34d
UD
256222011-06-22 Ulrich Drepper <drepper@gmail.com>
25623
84e2a551
UD
25624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25625 /sys/devices/system/cpu/online if it is usable.
25626
852eb34d
UD
25627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25628 reading the information from the /proc filesystem to once a second.
25629
6e502e19
UD
256302011-06-21 Andreas Jaeger <aj@suse.de>
25631
25632 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25633 NULL after inclusion of kernel headers.
25634
75d39ff2
UD
256352011-06-21 Ulrich Drepper <drepper@gmail.com>
25636
51f9aa6a
UD
25637 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25638 calls to internal_setent.
25639
c0244a9d
UD
25640 [BZ #12885]
25641 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25642 addresses using gethostbyname4_r ignore IPv4 addresses.
25643
c5e3c2ae
UD
25644 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25645 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25646
75d39ff2
UD
25647 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25648
42675c6f
DM
256492011-06-20 David S. Miller <davem@davemloft.net>
25650
25651 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25652 inclusions.
25653 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25654
25655 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25656 (elf_irel): Use it.
25657 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25658 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25659 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25660 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25661 * sysdeps/x86_64/dl-irel.h: Likewise.
25662
25663 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25664 * elf/dl-sym.c: Likewise.
25665
57912a71
UD
256662011-06-15 Ulrich Drepper <drepper@gmail.com>
25667
25668 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25669 need to dereference resplen2.
25670
ee22793d
AS
256712011-06-14 Andreas Schwab <schwab@redhat.com>
25672
25673 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25674
a9e836b0
UD
256752011-06-15 Ulrich Drepper <drepper@gmail.com>
25676
77fb9117
UD
25677 * Makeconfig: Define vardbdir and inst_vardbdir.
25678 * nss/Makefile: Add rules to install db-Makefile.
25679
40c1b22c
UD
25680 * nss/nss_db/db-XXX.c: Cleanup.
25681
9f2da732
UD
25682 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25683 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25684 GLIBC_PRIVATE.
25685 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25686 * nss/makedb.c: Implement -g option to specify that value strings
25687 are generated and should not be added to table iterated over for
25688 get*ent calls.
25689 * nss/nss_db/db-initgroups.c: New file.
25690
82e9a1f7
UD
25691 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25692 interface.
25693
c41af17e
UD
25694 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25695 (internal_getgrouplist): Adjust to name change.
25696 Update use_initgroups_entry if this is not the first call.
25697 * nss/databases.def: Add initgroups entry.
25698
a9e836b0
UD
25699 * nss/makedb.c (compute_tables): Check result of multiple hash table
25700 sizes to minimize maximum chain length.
25701
2666d441
UD
257022011-06-14 Ulrich Drepper <drepper@gmail.com>
25703
25704 * Versions.def: Add entry for libnss_db.
25705 * shlib-versions: Likewise.
25706 * nss/Makefile: Add rules to build libnss_db.
25707 * nss/Versions: Add libnss_db information. Organize libnss_files
25708 entries better.
25709 * nss/db-Makefile: Add gshadow support. Change rules for the new
25710 makedb progra. Some minor improvements to generate smaller files.
25711 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25712 here from...
25713 * nss/makedb.c: ...here.
25714 Improve database format to be smaller and require less memory at
25715 runtime.
25716 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25717 db anymore.
25718 * nss/nss_db/db-netgrp.c: Likewise.
25719 * nss/nss_db/db-open.c: Likewise.
25720 * nss/nss_files/flies-XXX.x: Adjust comments.
25721 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25722 * nss/nss_files/files-grp.c: Likewise.
25723 * nss/nss_files/files-hosts.c: Likewise.
25724 * nss/nss_files/files-network.c: Likewise.
25725 * nss/nss_files/files-proto.c: Likewise.
25726 * nss/nss_files/files-pwd.c: Likewise.
25727 * nss/nss_files/files-rpc.c: Likewise.
25728 * nss/nss_files/files-service.c: Likewise.
25729 * nss/nss_files/files-sgrp.c: Likewise.
25730 * nss/nss_files/files-spwd.c: Likewise.
25731 * nss/nss_db/db-alias.c: Removed.
25732 * nss/nss_db/dummy-db.h: Removed.
25733
9ee76b5a
UD
257342011-06-02 Ulrich Drepper <drepper@gmail.com>
25735
25736 * nss/makedb.c: Rewritten to not use database library.
25737 * nss/Makefile: Update to build new makedb program.
25738
c71ca1f8
AJ
257392011-06-14 Andreas Jaeger <aj@suse.de>
25740
25741 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25742 memset declaration.
25743
3154bfb8
UD
257442011-06-10 Andreas Schwab <schwab@redhat.com>
25745
25746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25747 tmpbuf.
25748
b350afab
RM
257492011-06-10 Roland McGrath <roland@hack.frob.com>
25750
decd4e50
RM
25751 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25752 * elf/Makefile ($(objpfx)ld.so): Likewise.
25753
5615eaf2
RM
25754 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25755 Don't list ld.so twice in dependencies.
25756
25757 * posix/bug-regex31.c: Include <stdlib.h>.
25758
25759 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25760
25761 * nis/nss_compat/compat-spwd.c
25762 (getspent_next_nss_netgr): Remove unused variable.
25763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25764
25765 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25766 nonmembers" output to use the right array.
25767
25768 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25769
25770 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25771
25772 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25773 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25774 * catgets/gencat.c (read_input_file): Likewise.
25775 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25776
25777 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25778 variable definition inside #if's controlling its use.
25779
25780 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25781
25782 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25783
25784 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25785
25786 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25787 unreachable code.
25788
25789 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25790
b68e08db
RM
25791 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25792 * configure: Regenerated.
25793
b350afab
RM
25794 * Makerules: Revert last change.
25795 * elf/Makefile: Likewise.
25796
28368601
RM
257972011-06-09 Roland McGrath <roland@hack.frob.com>
25798
25799 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25800 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25801 (reloc-link): Likewise.
25802
11988f8f
UD
258032011-06-09 Ulrich Drepper <drepper@gmail.com>
25804
25805 * elf/Makefile: Add rules to build pldd.
25806 * elf/pldd.c: New file.
25807 * elf/pldd-xx.c: New file.
25808
e80fab37
UD
258092011-06-07 Ulrich Drepper <drepper@gmail.com>
25810
25811 * version.h: Update for 2.15 development version.
25812
9b849836
DM
258132011-06-07 David S. Miller <davem@davemloft.net>
25814
25815 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25816 ifuncs.
25817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25818 elf_machine_lazy_rel): Likewise.
25819 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25821 elf_machine_lazy_rel): Likewise.
25822 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25823 dl_hwcap via passed in argument.
25824 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25825 Likewise.
25826
5a31b283
AK
258272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25828
25829 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25830
069e52f8
RM
258312011-06-06 Roland McGrath <roland@hack.frob.com>
25832
25833 [BZ #12849]
25834 * manual/fdl-1.1.texi: New file, verbatim from:
25835 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25836 * manual/lgpl-2.1.texi: New file, verbatim from:
25837 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25838 * manual/Makefile (licenses): New variable, list those new file names.
25839 (texis): Use it.
25840 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25841
25842 * manual/fdl.texi: File removed.
25843 * manual/lesser.texi: File removed.
25844 * manual/libc.texinfo (Copying, Documentation License):
25845 Use new @include file names, put @appendix directive before @include.
25846
f16846a5
JJ
258472011-06-04 Jakub Jelinek <jakub@redhat.com>
25848
25849 [BZ #12841]
25850 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25851 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25852 (mq_open): Add __NTH.
25853
3d29045b
L
258542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25855
25856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25857 Assume Intel Core i3/i5/i7 processor if AVX is available.
25858
8c297311
UD
258592011-05-31 Ulrich Drepper <drepper@gmail.com>
25860
25861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25862 typo.
25863
c8fc0c91
UD
258642011-05-31 Andreas Schwab <schwab@redhat.com>
25865
25866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25867 memory. Use alloca_account. Fix memory leak when retrying.
25868
5b27a807
UD
258692011-05-31 Ulrich Drepper <drepper@gmail.com>
25870
356f8bc6
UD
25871 * version.h (RELEASE): Bump for 2.14 release.
25872 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25873
5b27a807
UD
25874 * config.make.in (RANLIB): Remove entry.
25875
01f16ab0
UD
258762011-05-30 Ulrich Drepper <drepper@gmail.com>
25877
41fce8bd
UD
25878 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25879 (libc.pot): Work around missing support for .ksh extension in xgettext.
25880
4769ae77
UD
25881 [BZ #12684]
25882 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25883 if both request failed.
25884 (send_dg): In case of server errors clear resplen or *resplen2.
25885
6b1e7d19
UD
25886 [BZ #12454]
25887 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25888 when there are multiple maps.
25889 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25890 (_dl_fini): Remove test here.
25891
01f16ab0
UD
25892 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25893
b1ebd700
UD
258942011-05-29 Ulrich Drepper <drepper@gmail.com>
25895
7ae22829
UD
25896 [BZ #12350]
25897 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25898 bit from old_res_options.
25899 (gaih_inet): Likewise.
25900
553149f6 25901 [BZ #11099]
18a84741 25902 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25903 as signed.
25904
652ffab1
UD
25905 * resolv/res_init.c (res_setoptions): Make the code more compact.
25906
16985fd0
UD
25907 [BZ #11558]
25908 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25909 set RES_USEVC.
25910
0464f746
UD
25911 [BZ #11634]
25912 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25913
7d17596c
UD
25914 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25915
cf6bbbd7
UD
25916 [BZ #11781]
25917 * malloc/malloc.h: Declare malloc hook variables as volatile.
25918
13f1ab36
UD
25919 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25920 in last patch.
25921
b1ebd700
UD
25922 [BZ #11799]
25923 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25924 raise in the comment.
80e2212d
UD
25925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25927 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25928
ce67228d
UD
259292011-05-28 Ulrich Drepper <drepper@gmail.com>
25930
8887a920
UD
25931 [BZ #12811]
25932 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25933 grow the buffers more if it already has to be sufficient.
25934 (build_wcs_upper_buffer): Likewise.
25935 * posix/regexec.c (check_matching): Likewise.
25936 (clean_state_log_if_needed): Likewise.
25937 (extend_buffers): Don't enlarge buffers beyond size of the input
25938 buffer.
25939 Patches mostly by Emil Wojak <emil@wojak.eu>.
25940 * posix/bug-regex32.c: New file.
25941 * posix/Makefile (tests): Add bug-regex32.
25942
4f031072
UD
25943 * locale/findlocale.c (_nl_find_locale): Return right away if
25944 _nl_explode_name failed.
25945 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25946
d0478f0c
UD
25947 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25948
de81b246
UD
25949 * debug/xtrace.sh: Unify messages.
25950 * malloc/memusage.sh: Likewise.
25951
c738465a
UD
25952 [BZ #12813]
25953 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25954 time symbol from vDSO. Substitute with vsyscall if not available.
25955 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25956 __vdso_time.
25957
f1f929d7
UD
25958 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25959 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25960 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25961 Add sendmmsg and internal_sendmmsg.
25962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25963 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25964 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25965
ce67228d
UD
25966 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25967 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25968 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25969
e57420c6
UD
259702011-05-27 Ulrich Drepper <drepper@gmail.com>
25971
a8509ca5
UD
25972 [BZ #12813]
25973 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25974 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25975 available.
25976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25977 __vdso_getcpu.
25978
e57420c6
UD
25979 [BZ #12814]
25980 * iconvdata/Makefile (tests): Add bug-iconv9.
25981 * iconvdata/bug-iconv9.c: New file.
25982
4d07db15
AS
259832011-05-27 Andreas Schwab <schwab@redhat.com>
25984
25985 [BZ #12814]
25986 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25987
ea486f69
JJ
259882011-05-25 Jakub Jelinek <jakub@redhat.com>
25989
25990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25991 (struct user_regs_struct): Change intcs field back to cs.
25992
6f038433
UD
259932011-05-25 Ulrich Drepper <drepper@gmail.com>
25994
25995 * po/ja.po: Update from translation team.
25996
67f86a25
UD
259972011-05-23 Ulrich Drepper <drepper@gmail.com>
25998
25999 [BZ #12795]
26000 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26001 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26002
def7fbd6
AS
260032011-05-20 Andreas Schwab <schwab@redhat.com>
26004
26005 * stdlib/longlong.h: Update from GCC.
26006
f50ef8f1
AS
260072011-05-23 Andreas Schwab <schwab@redhat.com>
26008
26009 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26010 parameter name.
26011 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26012 Add parameter name.
26013 (__sysconf): Pass it down.
26014
de7ce8f1
UD
260152011-05-22 Ulrich Drepper <drepper@gmail.com>
26016
f2962a71
UD
26017 [BZ #12671]
26018 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26019 some situations.
26020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26021 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26022 add in in __libc_use_alloca calls. Adjust callers.
26023 (glob): Use malloc in some situations.
26024
de7ce8f1
UD
26025 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26026 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26027 pltexit.
26028
aec84f53
UD
260292011-05-21 Ulrich Drepper <drepper@gmail.com>
26030
05bb4a68
UD
26031 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26032 and CLOCK_BOOTTIME_ALARM.
26033
7ea72f99
UD
26034 [BZ #12782]
26035 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26036 is returned.
26037
7e4afad5
UD
26038 * string/_strerror.c (__strerror_r): Print negative errors as signed
26039 numbers.
26040
8e211fec
UD
26041 [BZ #12777]
26042 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26043 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26044 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26045
f7d82dc9
UD
26046 * configure.in: Fix typo in redirection and correct removal of test
26047 files in two cases.
26048
cc9e536d
UD
26049 [BZ #12788]
26050 * locale/setlocale.c (new_composite_name): Fix test to check for
26051 identical name of all categories.
26052
aec84f53
UD
26053 [BZ #12792]
26054 * libio/filedoalloc.c (local_isatty): New function.
26055 (_IO_file_doallocate): Use local_isatty.
26056 * stdio-common/perror.c (perror): In case a new stream is used
26057 forward the stream error.
26058 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26059 error flag.
26060
78e64fdc
RT
260612011-05-20 Ulrich Drepper <drepper@gmail.com>
26062
34a9094f
UD
26063 [BZ #11869]
26064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26065 alloca.
26066 * include/alloca.h (extend_alloca_account): Define.
26067
78e64fdc
RT
26068 [BZ #11857]
26069 * posix/regex.h: Fix comments with documentation of user-accessible
26070 fields after compilation and describe correct free'ing of pattern
26071 after re_compile_pattern.
26072 Patch by Reuben Thomas <rrt@sc3d.org>.
26073
457bddfc
RA
260742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26075
26076 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26077 and -mno-altivec to prevent the compiler from using Altivec and/or
26078 VSX instructions when the corresponding registers are not available.
26079
a4527b51
AS
260802011-05-19 Andreas Schwab <schwab@redhat.com>
26081
26082 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26083
ed690b2f
UD
260842011-05-19 Ulrich Drepper <drepper@gmail.com>
26085
26086 * libio/freopen.c (freopen): Use __dup2, not dup2.
26087 * libio/freopen64.c (freopen64): Likewise.
26088
8db73634
L
260892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26090
26091 [BZ #12775]
26092 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26093 * math/Makefile (tests): Add test-powl.
26094 (CFLAGS-test-powl.c): Define.
26095 * math/test-powl.c: New file.
26096
0a197a9d
L
260972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26098
26099 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26100
ee30c380
UD
261012011-05-17 Ulrich Drepper <drepper@gmail.com>
26102
26103 [BZ #11837]
26104 * iconvdata/gb18030.c: Update to GB18020-2005.
26105
6ce75379
UD
261062011-05-16 Ulrich Drepper <drepper@gmail.com>
26107
a4b89fd8
AR
26108 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26109 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26110 Patch by Aharon Robbins <arnold@skeeve.com>.
26111
ea389b12
UD
26112 [BZ #11892]
26113 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26114 on the stack.
26115
68a3f91f
UD
26116 [BZ #11895]
26117 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26118 through underflows.
26119
15cc7dd1
UD
26120 [BZ #12766]
26121 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26122 point to strings before performing equality test for error_one_per_line
26123 mode.
26124
f3799213
UD
26125 [BZ #11697]
26126 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26127
d79a9c94
UD
26128 [BZ #11820]
26129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26130 (struct user_fpregs_struct): Avoid __uint*_t types.
26131
56e5eb46
UD
26132 [BZ #6420]
26133 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26134 symbol info. Use it instead of calling _dl_addr locally.
26135 (lock_and_info): New function.
26136 (tr_freehook): Call lock_and_info and pass symbol info as additional
26137 parameter to tr_where.
26138 (tr_mallochook): Likewise.
26139 (tr_reallochook): Likewise.
26140 (tr_memalignhook): Likewise.
26141
6ce75379
UD
26142 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26143 used and couldn't be at all thread-safe.
26144
f8a3b5bf
UD
261452011-05-15 Ulrich Drepper <drepper@gmail.com>
26146
94b7cc37
UD
26147 * libio/freopen.c (freopen): Don't close old file descriptor
26148 before the new one is opened. Instead dup the new file descriptor
26149 to the old one after the new stream is created.
26150 * libio/freopen64.c (freopen64): Likewise.
26151 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26152 * libio/fileops.c (_IO_new_file_close_it): Handle new
26153 _IO_FLAGS2_NOCLOSE flag.
26154 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26155 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26156 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26157 _IO_FLAGS2_NOCLOSE flag.
26158 * include/unistd.h: Add hidden_proto for dup3.
26159 Define __have_dup3.
26160 * io/dup3.c: Define hidden symbol.
26161 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26162
bd25564e
UD
26163 [BZ #7101]
26164 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26165 when an incomplete long option is used.
26166 * posix/tst-getopt_long1.c: New file.
26167 * posix/Makefile (tests): Add tst-getopt_long1.
26168
c84cfef4
UD
26169 [BZ #10138]
26170 * scripts/config.guess: Update from autoconf-2.68.
26171 * scripts/config.sub: Likewise.
26172
3b85df27
UD
26173 [BZ #10157]
26174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26175 tests into ...
26176 (has_cpuclock): ...this. New function.
26177 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26178 macro here based on has_cpuclock code.
26179
15a856b1
UD
26180 [BZ #10149]
26181 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26182 First byte (not low byte) is now always NUL.
26183 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26184
05f399e6
UD
26185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26186 Use non-cancelable interfaces.
26187
10a52685 26188 [BZ #9809]
94ecc67d
UD
26189 * locale/iso-639.def: Add entry for Sorani.
26190
f8a3b5bf
UD
26191 [BZ #11901]
26192 * include/stdlib.h: Move include protection to the right place.
26193 Define abort_msg_s. Declare __abort_msg with it.
26194 * stdlib/abort.c (__abort_msg): Adjust type.
26195 * assert/assert.c (__assert_fail_base): New function. Majority
26196 of code from __assert_fail. Allocate memory for __abort_msg with
26197 mmap.
26198 (__assert_fail): Now call __assert_fail_base.
26199 * assert/assert-perr.c: Remove bulk of implementation. Use
26200 __assert_fail_base.
26201 * include/assert.hL Declare __assert_fail_base.
26202 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26203 mmap.
26204 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26205
1af4e298
UD
262062011-05-14 Ulrich Drepper <drepper@gmail.com>
26207
f8a3b5bf 26208 [BZ #11952]
d26dfc60
MG
26209 [BZ #12453]
26210 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26211 until all modules are registered in the DTV.
26212 * elf/Makefile: Add rules to build and run tst-tls19.
26213 * elf/tst-tls19.c: New file.
26214 * elf/tst-tls19mod1.c: New file.
26215 * elf/tst-tls19mod2.c: New file.
26216 * elf/tst-tls19mod3.c: New file.
26217 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26218
2fc54d6f
UD
26219 [BZ #12083]
26220 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26221 correctly.
26222
98d76b46
UD
26223 [BZ #12601]
26224 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26225 two-byte sequence errors.
26226 * iconvdata/Makefile (tests): Add bug-iconv8.
26227 * iconvdata/bug-iconv8.c: New file.
26228
da3c19ef
UD
26229 [BZ #12626]
26230 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26231 buf2 definition.
26232
ca408c15
UD
26233 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26234
d6f67f7d
UD
26235 [BZ #12432]
26236 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26237 (dummy_getcfa): New function.
26238 (init): Get _Unwind_GetCFA address, use dummy if not found.
26239 (backtrace_helper): In recursion check, also check whether CFA changes.
26240 (__backtrace): Completely initialize arg.
26241
1af4e298 26242 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26243 storing incomplete byte sequence in state object. Avoid testing for
26244 guaranteed too small input if we know there is enough data available.
1af4e298 26245
da62f81b
AS
262462011-05-11 Andreas Schwab <schwab@redhat.com>
26247
26248 * Makeconfig (+link-pie): Indent.
26249 * Rules (binaries-pie): Define if $(have-fpie) and
26250 $(build-shared).
26251 (binaries-shared): Also filter out $(binaries-pie).
26252 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26253 * nscd/Makefile (others-pie): Add nscd.
26254 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26255 ($(objpfx)nscd): Remove command override.
26256 * login/Makefile (others-pie): Add pt_chown.
26257 ($(objpfx)pt_chown): Remove command override.
26258 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26259 remove command overrides.
26260
fcabc0f8
UD
262612011-05-13 Ulrich Drepper <drepper@gmail.com>
26262
20030ae6
UD
26263 * libio/tst_putwc.c: Fix error messages.
26264
fcabc0f8
UD
26265 [BZ #12724]
26266 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26267 currently writing and seek to current position when not.
26268 * libio/Makefile (tests): Add bug-fclose1.
26269 * libio/bug-fclose1.c: New file.
26270
320a5dc0
PB
262712011-05-12 Ulrich Drepper <drepper@gmail.com>
26272
26273 [BZ #12511]
26274 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26275 don't set DF_1_NODELETE here.
26276 (do_lookup_x): When entering new entry test for copy relocation
26277 and if necessary set DF_1_NODELETE flag.
26278 * elf/tst-unique4.cc: New file.
26279 * elf/tst-unique4.h: New file.
26280 * elf/tst-unique4lib.cc: New file.
26281 * elf/Makefile: Add rules to build and run tst-unique4.
26282 Patch by Piotr Bury <pbury@goahead.com>.
26283
22836f52
UD
262842011-05-11 Ulrich Drepper <drepper@gmail.com>
26285
f574184a
UD
26286 [BZ #12052]
26287 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26288
e1fb097f
UD
26289 [BZ #12625]
26290 * misc/mntent_r.c (addmntent): Flush the stream after the output
26291
22836f52
UD
26292 [BZ #12393]
26293 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26294 (is_trusted_path_normalize): Skip initial colon. Append slash
26295 to empty buffer. Duplicate is_trusted_path code but allow
26296 constructed patch to be prefix.
26297 (is_dst): Allow $ORIGIN followed by /.
26298 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26299 Correct testing of result of is_trusted_path_normalize
26300 (decompose_rpath): Fix warning.
26301
7b3b0b2a
UD
263022011-05-10 Ulrich Drepper <drepper@gmail.com>
26303
26304 [BZ #11257]
26305 * grp/initgroups.c (internal_getgrouplist): When we found the service
26306 list through the initgroups entry in nsswitch.conf do not always
26307 continue on a successful lookup. Don't always use the
eac80ce2 26308 __nss_group_database value if it is set.
7b3b0b2a
UD
26309 * nss/nsswitch.conf (initgroups): Change action for successful db
26310 lookup to continue for compatibility.
26311
2a81eaa5
UD
263122011-05-09 Ulrich Drepper <drepper@gmail.com>
26313
be97a69e
UD
26314 [BZ #11532]
26315 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26316 and CP774 modules.
26317 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26318 and CP774 modules.
26319 * iconvdata/tst-tables.sh: Likewise.
26320 * iconvdata/cp770.c: New file.
26321 * iconvdata/cp771.c: New file.
26322 * iconvdata/cp772.c: New file.
26323 * iconvdata/cp773.c: New file.
26324 * iconvdata/cp774.c: New file.
26325 * iconvdata/testdata/CP770: New file.
26326 * iconvdata/testdata/CP770..UTF8: New file.
26327 * iconvdata/testdata/CP771: New file.
26328 * iconvdata/testdata/CP771..UTF8: New file.
26329 * iconvdata/testdata/CP772: New file.
26330 * iconvdata/testdata/CP772..UTF8: New file.
26331 * iconvdata/testdata/CP773: New file.
26332 * iconvdata/testdata/CP773..UTF8: New file.
26333 * iconvdata/testdata/CP774: New file.
26334 * iconvdata/testdata/CP774..UTF8: New file.
26335
26336 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26337 END CHARMAP line.
26338 * iconvdata/gen-8bit-gap.sh: Likewise.
26339 * iconvdata/gen-8bit.sh: Likewise.
26340
c1e9e399
UD
26341 * locale/iso-639.def: Add ary entry.
26342
24c55fb3 26343 [BZ #11258]
96b4b1b0
UD
26344 * locale/C-translit.h.in: Add U20A1 transliteration.
26345
bdc2f971
KB
26346 [BZ #12178]
26347 * locale/iso-639.def: Add wae entry.
26348 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26349
2952b117
UD
26350 [BZ #12545]
26351 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26352 for n.
26353
2a81eaa5
UD
26354 [BZ #12711]
26355 * locale/C-translit.h.in: Add entry for U20B9.
26356 Patch by pravin.d.s@gmail.com.
26357
28377d1b
UD
263582011-05-08 Ulrich Drepper <drepper@gmail.com>
26359
7fb90fb8
UD
26360 [BZ #12713]
26361 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26362 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26363 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26364 in rtld. Use *stat64.
7fb90fb8 26365 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26366 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26367 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26368 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26369 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26370 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26371 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26372 __fstatat64 macros.
7fb90fb8
UD
26373 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26374 * dirent/rewinddir.c: Add libc_hidden_def.
26375 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26376 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26377
28377d1b
UD
26378 * include/dirent.h (__alloc_dir): Add flags parameter.
26379 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26380 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26381 __alloc_dir.
26382 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26383 from fdopendir if O_CLOEXEC is already set.
26384
66bdbaa4
AM
263852011-03-15 Alan Modra <amodra@gmail.com>
26386
26387 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26388 l_tls_firstbyte_offset non-zero. Save padding offset in
26389 l_tls_firstbyte_offset for later use.
26390 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26391 freeing static tls block.
26392
95721191
JN
263932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26394
26395 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26396 where #ifdef was intended. The intent is to prevent ARG_MAX from
26397 being defined by the kernel headers.
26398
f87dfb1f
UD
263992011-05-07 Ulrich Drepper <drepper@gmail.com>
26400
26401 [BZ #12734]
26402 * resolv/resolv.h: Define RES_NOTLDQUERY.
26403 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26404 no-tld-query and set RES_NOTLDQUERY.
26405 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26406 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26407 modern BIND to search name as TLD unless forbidden.
26408
47c3cd7a
UD
264092011-05-07 Petr Baudis <pasky@suse.cz>
26410 Ulrich Drepper <drepper@gmail.com>
26411
26412 [BZ #12393]
26413 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26414 (is_trusted_path): ...to here.
c1e9ea35 26415 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26416 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26417 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26418
8a35c912
PP
264192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26420
26421 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26422 __BEGIN/__END_DECLS.
26423
acd41f47
UD
264242011-05-06 Ulrich Drepper <drepper@gmail.com>
26425
26426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26427 NSS_STATUS_NOTFOUND if no record was found.
26428
597df647
AS
264292011-05-05 Andreas Schwab <schwab@redhat.com>
26430
26431 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26432 (headers-not-in-tirpc): Remove rpc/netdb.h
26433 * resolv/netdb.h: Revert last change.
26434
b9af1301
PP
264352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26436
26437 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26438 circular dependency between libgcc.a and libc.a.
26439
4e34d5f5
AS
264402011-05-05 Andreas Schwab <schwab@redhat.com>
26441
26442 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26443 * nis/Makefile: Don't install rpcsvc/*.
26444 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26445 instead of <rpc/types.h>.
26446 (MAXHOSTNAMELEN): Define.
26447
00ee369c
AS
264482011-05-03 Andreas Schwab <schwab@redhat.com>
26449
26450 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26451
0b592a30
MB
264522011-04-28 Maciej Babinski <mbabinski@google.com>
26453
26454 [BZ #12714]
26455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26456 gethostbyname4_r when IPv6 results are possible.
26457
6e04cbbe
UD
264582011-05-02 Ulrich Drepper <drepper@gmail.com>
26459
26460 [BZ #12723]
26461 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26462 _PC_PIPE_BUF handling.
26463
e4ecafe0
BH
264642011-04-30 Bruno Haible <bruno@clisp.org>
26465
26466 [BZ #12717]
26467 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26468 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26469 to 'int'.
26470 * inet/getnameinfo.c (getnameinfo): Likewise.
26471
125ee683
UD
264722011-04-29 Ulrich Drepper <drepper@gmail.com>
26473
26474 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26475 to groups setting in database lookup.
26476 * nss/nsswitch.conf: Add initgroups entry.
26477
b722481a
EB
264782011-04-22 Ulrich Drepper <drepper@gmail.com>
26479
26480 [BZ #12685]
26481 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26482 mode string.
26483 Patch by Eric Blake <eblake@redhat.com>.
26484
4df46dbd
L
264852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26486
26487 * sunrpc/Makefile (need-export-routines): Add svc_run.
26488 (routines): Remove svc_run.
26489 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26490 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26491 * sunrpc/svc_run.c (svc_run): Likewise.
26492 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26493
e84142d2
UD
264942011-04-21 Ulrich Drepper <drepper@gmail.com>
26495
26496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26497 problem in reallocation in last patch.
26498
877175d8
UD
264992011-04-20 Ulrich Drepper <drepper@gmail.com>
26500
26501 * sunrpc/Makefile: Move inclusion of Rules.
26502
ab8eed78
UD
265032011-04-19 Ulrich Drepper <drepper@gmail.com>
26504
26505 * nss/nss_files/files-initgroups.c: New file.
26506 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26507 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26508 _nss_files_initgroups_dyn.
26509
e3d8f584
RS
265102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26511
26512 * elf/elf.h (R_ARM_IRELATIVE): Define.
26513
af190f45
UD
265142011-04-19 Ulrich Drepper <drepper@gmail.com>
26515
26516 * po/ru.po: Update from translation team.
26517
53cf59ef
UD
265182011-04-17 Ulrich Drepper <drepper@gmail.com>
26519
26520 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26521 dependencies.
26522
4c559bcd
MF
265232011-02-06 Mike Frysinger <vapier@gentoo.org>
26524
26525 [BZ #12653]
26526 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26527 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26531
4420675c
AS
265322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26533
26534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26535 differing bytes.
26536 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26539
75ea32ab
UD
265402011-04-17 Ulrich Drepper <drepper@gmail.com>
26541
26542 [BZ #12420]
26543 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26544 storing it.
26545 * stdlib/bug-getcontext.c: New file.
26546 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26547
27390476
AK
265482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26549
26550 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26551 instructions into .machine "z9-109".
26552 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26553 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26554
10442705
AK
265552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26556
26557 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26558 between environment variables and auxiliary vector.
26559
7b57bfe5
UD
265602011-04-16 Ulrich Drepper <drepper@gmail.com>
26561
26562 * Makefile: Add rules to build linkobj/libc.so.
26563 * include/libc-symbols.h: Define libc_hidden_nolink.
26564 * include/rpc/auth.h: Mark functions which are to be hidden.
26565 * include/rpc/auth_des.h: Likewise.
26566 * include/rpc/auth_unix.h: Likewise.
26567 * include/rpc/clnt.h: Likewise.
26568 * include/rpc/des_crypt.h: Likewise.
26569 * include/rpc/key_prot.h: Likewise.
26570 * include/rpc/pmap_clnt.h: Likewise.
26571 * include/rpc/pmap_prot.h: Likewise.
26572 * include/rpc/pmap_rmt.h: Likewise.
26573 * include/rpc/rpc_msg.h: Likewise.
26574 * include/rpc/svc.h: Likewise.
26575 * include/rpc/svc_auth.h: Likewise.
26576 * include/rpc/xdr.h: Likewise.
26577 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26578 * nss/Makefile: Likewise.
26579 * sunrpc/Makefile: Don't install headers. Build library with normal
26580 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26581 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26582 for the compat linking library. Remove use of INTDEF/INTUSE.
26583 * sunrpc/auth_none.c: Likewise.
26584 * sunrpc/auth_unix.c: Likewise.
26585 * sunrpc/authdes_prot.c: Likewise.
26586 * sunrpc/authuxprot.c: Likewise.
26587 * sunrpc/clnt_gen.c: Likewise.
26588 * sunrpc/clnt_perr.c: Likewise.
26589 * sunrpc/clnt_raw.c: Likewise.
26590 * sunrpc/clnt_simp.c: Likewise.
26591 * sunrpc/clnt_tcp.c: Likewise.
26592 * sunrpc/clnt_udp.c: Likewise.
26593 * sunrpc/clnt_unix.c: Likewise.
26594 * sunrpc/des_crypt.c: Likewise.
26595 * sunrpc/des_soft.c: Likewise.
26596 * sunrpc/get_myaddr.c: Likewise.
26597 * sunrpc/key_call.c: Likewise.
26598 * sunrpc/key_prot.c: Likewise.
26599 * sunrpc/netname.c: Likewise.
26600 * sunrpc/pm_getmaps.c: Likewise.
26601 * sunrpc/pm_getport.c: Likewise.
26602 * sunrpc/pmap_clnt.c: Likewise.
26603 * sunrpc/pmap_prot.c: Likewise.
26604 * sunrpc/pmap_prot2.c: Likewise.
26605 * sunrpc/pmap_rmt.c: Likewise.
26606 * sunrpc/publickey.c: Likewise.
26607 * sunrpc/rpc_cmsg.c: Likewise.
26608 * sunrpc/rpc_common.c: Likewise.
26609 * sunrpc/rpc_dtable.c: Likewise.
26610 * sunrpc/rpc_prot.c: Likewise.
26611 * sunrpc/rpc_thread.c: Likewise.
26612 * sunrpc/rtime.c: Likewise.
26613 * sunrpc/svc.c: Likewise.
26614 * sunrpc/svc_auth.c: Likewise.
26615 * sunrpc/svc_authux.c: Likewise.
26616 * sunrpc/svc_raw.c: Likewise.
26617 * sunrpc/svc_run.c: Likewise.
26618 * sunrpc/svc_simple.c: Likewise.
26619 * sunrpc/svc_tcp.c: Likewise.
26620 * sunrpc/svc_udp.c: Likewise.
26621 * sunrpc/svc_unix.c: Likewise.
26622 * sunrpc/svcauth_des.c: Likewise.
26623 * sunrpc/xcrypt.c: Likewise.
26624 * sunrpc/xdr.c: Likewise.
26625 * sunrpc/xdr_array.c: Likewise.
26626 * sunrpc/xdr_float.c: Likewise.
26627 * sunrpc/xdr_intXX_t.c: Likewise.
26628 * sunrpc/xdr_mem.c: Likewise.
26629 * sunrpc/xdr_rec.c: Likewise.
26630 * sunrpc/xdr_ref.c: Likewise.
26631 * sunrpc/xdr_sizeof.c: Likewise.
26632 * sunrpc/xdr_stdio.c: Likewise.
26633
e6c61494
UD
266342011-04-10 Ulrich Drepper <drepper@gmail.com>
26635
26636 [BZ #12650]
26637 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26638 * sysdeps/ia64/dl-tls.h: Likewise.
26639 * sysdeps/powerpc/dl-tls.h: Likewise.
26640 * sysdeps/s390/dl-tls.h: Likewise.
26641 * sysdeps/sh/dl-tls.h: Likewise.
26642 * sysdeps/sparc/dl-tls.h: Likewise.
26643 * sysdeps/x86_64/dl-tls.h: Likewise.
26644 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26645
34fe483e
AS
266462011-03-14 Andreas Schwab <schwab@redhat.com>
26647
26648 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26649 rpath element also skip the following colon.
26650 (expand_dynamic_string_token): Add is_path parameter and pass
26651 down to DL_DST_REQUIRED and _dl_dst_substitute.
26652 (decompose_rpath): Call expand_dynamic_string_token with
26653 non-zero is_path. Ignore empty rpaths.
26654 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26655 with zero is_path.
26656
f12a32e6
AS
266572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26658
26659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26660 Make cancelable.
26661
38a7d692
UD
266622011-04-09 Ulrich Drepper <drepper@gmail.com>
26663
26664 [BZ #12655]
26665 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26666 Patch by Filipe David Manana <fdmanana@apache.org>.
26667
e451d22b
AS
266682011-04-07 Andreas Schwab <schwab@redhat.com>
26669
26670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26671 Maintain aligned stack.
26672 (CHECK_RSP): Remove unused macro.
26673
dedc7c7b
UD
266742011-04-03 Ulrich Drepper <drepper@gmail.com>
26675
26676 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26677 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26678
94521213
UD
266792011-04-02 Ulrich Drepper <drepper@gmail.com>
26680
26681 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26682
8cb700c0 26683 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26684
0354e355
L
266852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26686
26687 [BZ #12518]
26688 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26689 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26690 * sysdeps/x86_64/memmove.c: New file.
26691 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26692 (memcpy): Renamed to ...
26693 (__new_memcpy): This.
26694 (memcpy): Provide GLIBC_2_14 memcpy.
26695 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26696 (memcpy): Provide GLIBC_2_2_5 memcpy.
26697
8593482f
UD
266982011-04-01 Ulrich Drepper <drepper@gmail.com>
26699
26700 [BZ #12631]
26701 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26702
81a5726b
AS
267032011-03-30 Andreas Schwab <schwab@redhat.com>
26704
26705 * misc/syncfs.c: New file.
26706 * misc/Makefile (routines): Add syncfs.
26707 * posix/unistd.h: Declare syncfs.
26708 * sysdeps/unix/syscalls.list: Add syncfs.
26709
00e5419f
AS
267102011-04-01 Andreas Schwab <schwab@redhat.com>
26711
26712 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26713 open_by_handle_at.
26714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26719 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26721
748876bf
UD
267222011-04-01 Ulrich Drepper <drepper@gmail.com>
26723
658e451d
UD
26724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26726 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26731
748876bf
UD
26732 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26733 sync_file_range.c with -fexceptions.
26734 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26735 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26736 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26737 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26738 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26739 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26741 sync_file_range as cancellation point
26742 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26743 now a wrapper around __call_sync_file_range with cancellation handling.
26744 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26745 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26746 function name to __call_sync_file_range.
26747 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26748 Add call_sync_file_range.
748876bf 26749
6e63d5e1
AS
267502011-04-01 Andreas Schwab <schwab@redhat.com>
26751
26752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26753 bits/timex.h.
6e63d5e1 26754
46998f74
UD
267552011-04-01 Ulrich Drepper <drepper@gmail.com>
26756
4c1423ed
UD
26757 * iconv/iconv.h: Fix typo in comment.
26758 * io/fcntl.h: Likewise.
26759 * libio/stdio.h: Likewise.
26760 * posix/spawn.h: Likewise.
26761 * posix/unistd.h: Likewise.
26762 * stdlib/stdlib.h: Likewise.
26763 * time/time.h: Likewise.
26764 * wcsmbs/wchar.h: Likewise.
26765
158648c0
UD
26766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26767 open_by_handle): Add.
26768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26769 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26770 Augment a few comments.
26771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26773 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26776 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26777 open_by_handle.
26778
46998f74
UD
26779 * io/fcntl.h (AT_EMPTY_PATH): Define.
26780
83fe108b
UD
267812011-03-30 Ulrich Drepper <drepper@gmail.com>
26782
26783 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26784 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26785 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26786 to...
26787 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26788 * Versions.def: Add GLIBC_2.14.
26789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26790 Export.
83fe108b 26791
bb242059
UD
267922011-03-22 Ulrich Drepper <drepper@gmail.com>
26793
26794 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26795 round counter.
26796 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26797
c97a1282
L
267982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26799
26800 [BZ #12597]
26801 * string/test-strncmp.c (do_page_test): New function.
26802 (check2): Likewise.
26803 (test_main): Call check2.
26804 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26805
2a115601
UD
268062011-03-20 Ulrich Drepper <drepper@gmail.com>
26807
26808 [BZ #12587]
26809 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26810 Handle cache information in CPU leaf 4.
26811 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26812
8126d904
UD
268132011-03-18 Ulrich Drepper <drepper@gmail.com>
26814
042c49c6 26815 [BZ #12583]
8126d904
UD
26816 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26817 character representation.
26818 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26819
ccfe366e
RA
268202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26821
26822 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26823 END(__isnan) to END(__isnanf) to match function entry point/label
26824 EALIGN(__isnanf,...).
26825
c6e13027
JJ
268262011-03-10 Jakub Jelinek <jakub@redhat.com>
26827
26828 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26829
33f85a3f
UD
268302011-03-10 Ulrich Drepper <drepper@gmail.com>
26831
028478fa
UD
26832 [BZ #12510]
26833 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26834 copy from the symbol referenced in the relocation to initialize the
26835 used variable.
26836 Patch by Piotr Bury <pbury@goahead.com>.
26837 * elf/Makefile: Add rules to build and tst-unique3.
26838 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26839 * elf/tst-unique3.cc: New file.
26840 * elf/tst-unique3.h: New file.
26841 * elf/tst-unique3lib.cc: New file.
26842 * elf/tst-unique3lib2.cc: New file.
26843
33f85a3f
UD
26844 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26845
03592fc7
MF
268462011-03-10 Mike Frysinger <vapier@gentoo.org>
26847
26848 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26849 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26850 to _start.
03592fc7 26851
6a5ee102
UD
268522011-03-06 Ulrich Drepper <drepper@gmail.com>
26853
26854 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26855 to-be-loaded object along a path to loader is ld.so.
26856
7e4ba49c
HJ
268572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26858 Ulrich Drepper <drepper@gmail.com>
26859
26860 * sysdeps/x86_64/memset.S: After aligning destination, code
26861 branches to different locations depending on the value of
26862 misalignment, when multiarch is enabled. Fix this.
26863
268642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26865
26866 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26867 Set _x86_64_preferred_memory_instruction for AMD processsors.
26868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26869 Set bit_Prefer_SSE_for_memop for AMD processors.
26870
13a804de
UD
268712011-03-04 Ulrich Drepper <drepper@gmail.com>
26872
26873 * libio/fmemopen.c (fmemopen): Optimize a bit.
26874
9d25c392
AS
268752011-03-03 Andreas Schwab <schwab@redhat.com>
26876
26877 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26878
a5543c6a
RM
268792011-03-03 Roland McGrath <roland@redhat.com>
26880
26881 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26882
012d35f7
DM
268832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26884
7e4ba49c 26885 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26886 __bzero_ultra1 instead of __memset_ultra1.
26887
4bff6e01
AS
268882011-02-23 Andreas Schwab <schwab@redhat.com>
26889 Ulrich Drepper <drepper@gmail.com>
26890
26891 [BZ #12509]
26892 * include/link.h (struct link_map): Add l_orig_initfini.
26893 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26894 returning unsuccessfully.
26895 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26896 close of a file loaded at startup, restore the original l_initfini
26897 list.
26898 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26899 list, store the pointer.
26900 * elf/Makefile ($(objpfx)noload-mem): New rule.
26901 (noload-ENV): Define.
26902 (tests): Add $(objpfx)noload-mem.
26903 * elf/noload.c: Include <memcheck.h>.
26904 (main): Call mtrace. Close all opened handles.
26905
f2092faf
AS
269062011-02-17 Andreas Schwab <schwab@redhat.com>
26907
26908 [BZ #12454]
26909 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26910 dependencies are missing.
26911
6c8a2e88
ST
269122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26913
f2092faf 26914 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26915 Hurd needs munmap.
26916 * sysdeps/mach/hurd/ifreq.h: New file.
26917
84a42118
PB
269182011-01-27 Petr Baudis <pasky@suse.cz>
26919 Ulrich Drepper <drepper@gmail.com>
26920
071f805e 26921 [BZ 12445]#
84a42118
PB
26922 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26923 to extend_alloca().
26924 * stdio-common/bug23.c: New file.
26925 * stdio-common/Makefile (tests): Add bug23.
26926
e23fe25b
AS
269272010-09-28 Andreas Schwab <schwab@redhat.com>
26928 Ulrich Drepper <drepper@gmail.com>
26929
26930 [BZ #12489]
26931 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26932 before performing relro protection. At old place add assertion
26933 to make sure nothing changed.
26934
d3f02e10
NS
269352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26936 Glauber de Oliveira Costa <glommer@gmail.com>
26937
26938 * elf/elf.h: Add new ARM TLS relocs.
26939
d55fd7a5
RA
269402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26941
26942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26943 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26944 cast from r3.
26945 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26946 'tests' variable.
26947 * sysdeps/wordsize-64/tst-writev.c: New file.
26948
2206397e
RA
269492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26950
26951 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26952 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26953 insns in _dl_start to prevent a TOC reference before relocs are
26954 resolved.
26955
e9433893
UD
269562011-02-15 Ulrich Drepper <drepper@gmail.com>
26957
26958 [BZ #12469]
26959 * Makeconfig: Remove RANLIB definition.
26960 * Makerules: Don't use RANLIB.
26961 * aclocal.m4: Remove ranlib test.
26962 * configure.in: No need to check for ranlib.
26963 * elf/rtld-Rules: Don't use RANLIB.
26964
f75286c6
ST
269652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26966
8e31c82d
ST
26967 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26968 protection macro.
26969 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26970 inclusion protection macro.
26971
f75286c6
ST
26972 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26973 SIGRTMIN and SIGRTMAX and print information in that case only when
26974 SIGRTMIN is defined.
26975
c1d0e639
JJ
269762011-02-11 Jakub Jelinek <jakub@redhat.com>
26977
26978 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26979 arginfo fn returning -1.
26980
26981 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26982 and thousands string is zero terminated.
26983
edf9294e
AS
269842011-02-03 Andreas Schwab <schwab@redhat.com>
26985
26986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26987 sysdeps/unix/sysv/linux/bits/socket.h.
26988
2b7e92df
ST
269892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26990
edf9294e
AS
26991 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26992 (__CPU_COUNT): Remove old macros.
26993 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26994 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26995 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26996 (__sched_cpualloc, __sched_cpufree): Add declarations.
26997
a4c7ea7b
UD
269982011-02-05 Ulrich Drepper <drepper@gmail.com>
26999
27000 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27001 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27002 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27003 (readdhstai): Return value of addhstaiX call.
27004 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27005 (addgrbyX): Return value returned by cache_addgr.
27006 (readdgrbyname): Return value returned by addgrbyX.
27007 (readdgrbygid): Likewise.
27008 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27009 (addpwbyX): Return value returned by cache_addpw.
27010 (readdpwbyname): Return value returned by addhstbyX.
27011 (readdpwbyuid): Likewise.
27012 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27013 (addservbyX): Return value returned by cache_addserv.
27014 (readdservbyname): Return value returned by addservbyX:
27015 (readdservbyport): Likewise.
27016 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27017 (addhstbyX): Return value returned by cache_addhst.
27018 (readdhstbyname): Return value returned by addhstbyX.
27019 (readdhstbyaddr): Likewise.
27020 (readdhstbynamev6): Likewise.
27021 (readdhstbyaddrv6): Likewise.
27022 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27023 (readdinitgroups): Return value returned by addinitgroupsX.
27024 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27025 (prune_cache): Keep track of timeout value of re-added entries.
27026 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27027 * nscd/nscd.h: Adjust prototypes of readd* functions.
27028
a0bf67cc
RM
270292011-02-04 Roland McGrath <roland@redhat.com>
27030
27031 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27032 (nis_stats): Likewise.
27033 * nis/nis_modify.c (nis_modify): Likewise.
27034 * nis/nis_remove.c (nis_remove): Likewise.
27035 * nis/nis_add.c (nis_add): Likewise.
27036
27037 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27038
27039 * posix/fnmatch_loop.c: Add some consts.
27040
27041 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27042
435b95eb
L
270432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27044
27045 [BZ #12460]
27046 * config.make.in (config-cflags-novzeroupper): Define.
27047 * configure.in: Substitute libc_cv_cc_novzeroupper.
27048 * elf/Makefile (AVX-CFLAGS): Define.
27049 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27050 (CFLAGS-tst-auditmod4a.c): Likewise.
27051 (CFLAGS-tst-auditmod4b.c): Likewise.
27052 (CFLAGS-tst-auditmod6b.c): Likewise.
27053 (CFLAGS-tst-auditmod6c.c): Likewise.
27054 (CFLAGS-tst-auditmod7b.c): Likewise.
27055 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27056
8517b15e
UD
270572011-02-02 Ulrich Drepper <drepper@gmail.com>
27058
27059 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27060 function to the callback.
27061 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27062
10a656fe
AS
270632011-02-02 Andreas Schwab <schwab@redhat.com>
27064
27065 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27066 of errno.
27067
968dad0a
UD
270682011-01-19 Ulrich Drepper <drepper@gmail.com>
27069
9f94d2ea 27070 [BZ #11724]
968dad0a
UD
27071 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27072 of constructors.
27073 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27074 of destructors.
27075 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27076
27077 [BZ #11724]
27078 * elf/Makefile: Add rules to build and run new test.
27079 * elf/tst-initorder.c: New file.
27080 * elf/tst-initorder.exp: New file.
27081 * elf/tst-initordera1.c: New file.
27082 * elf/tst-initordera2.c: New file.
27083 * elf/tst-initordera3.c: New file.
27084 * elf/tst-initordera4.c: New file.
27085 * elf/tst-initorderb1.c: New file.
27086 * elf/tst-initorderb2.c: New file.
27087 * elf/tst-order-a1.c: New file.
27088 * elf/tst-order-a2.c: New file.
27089 * elf/tst-order-a3.c: New file.
27090 * elf/tst-order-a4.c: New file.
27091 * elf/tst-order-b1.c: New file.
27092 * elf/tst-order-b2.c: New file.
27093 * elf/tst-order-main.c: New file.
27094 New test case by George Gensure <werkt0@gmail.com>.
27095
86e92359
UD
270962010-10-01 Andreas Schwab <schwab@redhat.com>
27097
27098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27099 decoding ACE if AI_CANONIDN.
27100
5d5732b0
UD
271012011-01-18 Ulrich Drepper <drepper@gmail.com>
27102
27103 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27104
a77e8cbc
UD
271052011-01-17 Ulrich Drepper <drepper@gmail.com>
27106
6392473f
UD
27107 * version.h (RELEASE): Bump for 2.13 release.
27108 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27109
620a0529
UD
27110 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27111
18ba70a5
UD
27112 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27113 MADV_NOHUGEPAGE.
32465c3e
UD
27114 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27120
c0dafcf1
UD
27121 * posix/getconf.c: Update copyright year.
27122 * catgets/gencat.c: Likewise.
27123 * csu/version.c: Likewise.
27124 * debug/catchsegv.sh: Likewise.
27125 * debug/xtrace.sh: Likewise.
27126 * elf/ldconfig.c: Likewise.
27127 * elf/ldd.bash.in: Likewise.
27128 * elf/sprof.c (print_version): Likewise.
27129 * iconv/iconv_prog.c: Likewise.
27130 * iconv/iconvconfig.c: Likewise.
27131 * locale/programs/locale.c: Likewise.
27132 * locale/programs/localedef.c: Likewise.
27133 * malloc/memusage.sh: Likewise.
27134 * malloc/mtrace.pl: Likewise.
27135 * nscd/nscd.c (print_version): Likewise.
27136 * nss/getent.c: Likewise.
27137
a77e8cbc
UD
27138 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27139 PF_CAIF, and PF_ALG.
27140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27141
77e8bddf
AS
271422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27143
1f20b93a
AS
27144 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27145 (modules-names): Use them.
27146 (ifunc-test-modules, ifunc-pie-tests): Define.
27147 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27148 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27149 (test-extras): Likewise.
27150 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27151 $(compile-command.c).
27152 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27153 (all-built-dso): Define.
27154 (check-textrel.out, check-execstack.out): Depend on it.
27155
77e8bddf
AS
27156 * configure.in: Don't override --enable-multi-arch.
27157
bc425b33
UD
271582011-01-15 Ulrich Drepper <drepper@gmail.com>
27159
27160 [BZ #6812]
27161 * nscd/hstcache.c (tryagain): Define.
27162 (cache_addhst): Return tryagain not notfound for temporary errors.
27163 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27164 failed.
27165
794c3ad3
UD
271662011-01-14 Ulrich Drepper <drepper@gmail.com>
27167
70181fdd
UD
27168 [BZ #10563]
27169 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27170 to make the syscall.
27171 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27172
794c3ad3
UD
27173 [BZ #12378]
27174 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27175 and fall back to matching as normal character if the string ends before
27176 the matching ']' is found. This is what POSIX requires.
27177 * posix/testfnm.c: Adjust test result.
27178 * posix/globtest.sh: Adjust test result. Add new test.
27179 * posix/tst-fnmatch.input: Likewise.
27180 * posix/tst-fnmatch2.c: Add new test.
27181
68dc9497
AS
271822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27183
27184 * elf/Makefile (check-execstack): Revert last change. Depend on
27185 check-execstack.h.
27186 (check-execstack.h): New target.
27187 (generated): Add check-execstack.h.
27188 * elf/check-execstack.c: Include "check-execstack.h".
27189 (main): Revert last change.
27190 (handle_file): Return zero if GNU_STACK is absent and
27191 DEFAULT_STACK_PERMS doesn't include PF_X.
27192
451f001b
UD
271932011-01-13 Ulrich Drepper <drepper@gmail.com>
27194
cfa28e56
UD
27195 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27196 in child fails because the descriptor is already closed.
8cf8ce17
UD
27197 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27198 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27199 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27200
1086d70d
UD
27201 [BZ #12397]
27202 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27203 syscall.
27204
451f001b
UD
27205 [BZ #10484]
27206 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27207 temporary buffer used to handle multi lookups locally.
a85b5cb4 27208 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27209
08769175
UD
272102011-01-12 Ulrich Drepper <drepper@gmail.com>
27211
27212 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27213 loader is ld.so.
27214
5e49c52e
UD
272152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27216
27217 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27218 alignment for SSE2.
27219
60522a5f
UD
272202011-01-12 Ulrich Drepper <drepper@gmail.com>
27221
27222 [BZ #12394]
27223 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27224 characters. When rounding increased number of integer digits recompute
27225 number of groups.
27226 * stdio-common/tst-grouping.c: New file.
27227 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27228
f257bbd7
UD
272292011-01-09 Ulrich Drepper <drepper@gmail.com>
27230
27231 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27232 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27233
27234 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27235 void.
27236 * bits/select.h: Likewise.
27237
fa9c15cb
UD
272382011-01-08 Ulrich Drepper <drepper@gmail.com>
27239
27240 * po/ja.po: Update from translation team.
27241
16c2895f
DM
272422011-01-04 David S. Miller <davem@sunset.davemloft.net>
27243
27244 [BZ #11155]
27245 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27246 implementation just like for lxstat, fxstatat, et al.
27247
2543fef2
JM
272482010-12-27 Jim Meyering <meyering@redhat.com>
27249
27250 [BZ #12348]
27251 * posix/regexec.c (build_trtable): Return failure indication upon
27252 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27253
98727dbe
UD
272542010-12-25 Ulrich Drepper <drepper@gmail.com>
27255
5bd6dc5c
UD
27256 [BZ #12201]
27257 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27258 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27259 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27260 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27261
97983464
UD
27262 [BZ #12207]
27263 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27264
98727dbe
UD
27265 [BZ #12204]
27266 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27267 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27268
4a531bb0
L
272692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27270
27271 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27272 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27273 script has SORT_BY_INIT_PRIORITY.
27274 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27275 NO_CTORS_DTORS_SECTIONS is defined.
27276 * elf/soinit.c: Likewise.
27277 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27278 NO_CTORS_DTORS_SECTIONS is defined.
27279 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27280 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27281 * sysdeps/sh/init-first.c: Likewise.
27282 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27283
07eb4b71
UD
272842010-12-24 Ulrich Drepper <drepper@gmail.com>
27285
27286 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27287 always use the slow path.
27288
30950a5f
RA
272892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27290
27291 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27292 similar rule which adds the sysdep directories to the header search in
27293 order to pick up the correct platform stackinfo.h.
27294 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27295 perform test if it is, otherwise return successfully without testing.
27296 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27297 DEFAULT_STACK_PERMS define in stackinfo.h.
27298 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27299 defined in stackinfo.h.
27300 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27301 DEFAULT_STACK_PERMS defined in stackinfo.h.
27302 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27303 * sysdeps/ia64/stackinfo.h: Likewise.
27304 * sysdeps/s390/stackinfo.h: Likewise.
27305 * sysdeps/sh/stackinfo.h: Likewise.
27306 * sysdeps/sparc/stackinfo.h: Likewise.
27307 * sysdeps/x86_64/stackinfo.h: Likewise.
27308 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27309 PF_X for powerpc64. Retain PF_X for powerpc32.
27310
db753e2c
UD
273112010-12-19 Ulrich Drepper <drepper@gmail.com>
27312
14b697f7
UD
27313 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27314 accurately.
db753e2c
UD
27315 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27316 GETDENTS_64BIT_ALIGNED.
27317
28300719
UD
273182010-12-14 Ulrich Drepper <dreper@gmail.com>
27319
14b697f7 27320 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27321
4f197237
AS
273222010-12-10 Andreas Schwab <schwab@redhat.com>
27323
dbb0472f
AS
27324 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27325 _GNU_SOURCE.
27326
4f197237
AS
27327 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27328 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27329 Remove __restrict.
27330 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27331 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27332
fb88ac72
UD
273332010-12-09 Ulrich Drepper <drepper@gmail.com>
27334
27335 [BZ #11655]
27336 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27337 are initialized.
27338
42acbb92
JJ
273392010-12-09 Jakub Jelinek <jakub@redhat.com>
27340
27341 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27342
c038d98d
UD
273432010-12-03 Ulrich Drepper <drepper@gmail.com>
27344
27345 * po/it.po: Update from translation team.
27346
3a4a2499
L
273472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27348
27349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27350 unused codes.
27351
1e24cf6e
UD
273522010-11-30 Ulrich Drepper <drepper@gmail.com>
27353
27354 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27355
a7690819
AS
273562010-11-24 Andreas Schwab <schwab@redhat.com>
27357
27358 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27359 specially.
27360 (gaih_getanswer_slice): Likewise.
27361
3bf8d1b1
JJ
273622010-10-20 Jakub Jelinek <jakub@redhat.com>
27363
27364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27365
6db52fbb
PB
273662010-05-31 Petr Baudis <pasky@suse.cz>
27367
27368 [BZ #11149]
27369 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27370 silently even in the chroot mode.
27371
eaca7569
UD
273722010-11-22 Ulrich Drepper <drepper@gmail.com>
27373
27374 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27375 last patch a bit. Pretty printing
27376
3056dcdb
UD
273772010-05-31 Petr Baudis <pasky@suse.cz>
27378
27379 [BZ #10085]
27380 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27381 initialization of skip_initgroups_dyn.
27382
cf7c9078
UD
273832010-11-19 Ulrich Drepper <drepper@gmail.com>
27384
27385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27387
a1fb5e3e
UD
273882010-11-16 Ulrich Drepper <drepper@gmail.com>
27389
27390 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27391
3540d66b
AS
273922010-11-11 Andreas Schwab <schwab@redhat.com>
27393
27394 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27395 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27396 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27397 ($(objpfx)tst-fnmatch-mem): New rule.
27398 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27399 * posix/tst-fnmatch.c (main): Call mtrace.
27400
13b69574
L
274012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27402
27403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27404 Support Intel processor model 6 and model 0x2c.
27405
da93d214
LM
274062010-11-10 Luis Machado <luisgpm@br.ibm.com>
27407
27408 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27409 signed comparison.
27410
8ca52c6e
L
274112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27412
27413 [BZ #12205]
27414 * string/test-strncasecmp.c (check_result): New function.
27415 (do_one_test): Use it.
27416 (check1): New function.
27417 (test_main): Use it.
27418 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27419 Support strcasecmp and strncasecmp.
27420
69da074d
UD
274212010-11-08 Ulrich Drepper <drepper@gmail.com>
27422
27423 [BZ #12194]
27424 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27426
ff02d528
L
274272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27428
27429 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27430 IFUNC support.
27431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27432 memset-x86-64.
27433 * sysdeps/x86_64/multiarch/bzero.S: New file.
27434 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27435 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27436 * sysdeps/x86_64/multiarch/memset.S: New file.
27437 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27439 Set bit_Prefer_SSE_for_memop for Intel processors.
27440 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27441 Define.
27442 (index_Prefer_SSE_for_memop): Define.
27443 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27444
344d0b54
LM
274452010-11-04 Luis Machado <luisgpm@br.ibm.com>
27446
27447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27448 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27449
c0dde15b
UD
274502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27451
27452 [BZ #12191]
27453 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27454 (__x86_64_raw_data_cache_size_half): Likewise.
27455 (__x86_64_raw_shared_cache_size): Likewise.
27456 (__x86_64_raw_shared_cache_size_half): Likewise.
27457
27458 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27459 (__x86_64_raw_data_cache_size_half): Likewise.
27460 (__x86_64_raw_shared_cache_size): Likewise.
27461 (__x86_64_raw_shared_cache_size_half): Likewise.
27462 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27463 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27464 and __x86_64_raw_shared_cache_size_half. Round
27465 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27466 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27467 to multiple of 256 bytes.
27468
0e516e0e
MS
274692010-11-03 Ulrich Drepper <drepper@gmail.com>
27470
27471 [BZ #12167]
27472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27473 of inacessible symlinks. Verify result of symlink before returning it.
27474 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27475 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27476
0e012e87
ER
274772010-10-28 Erich Ritz <erichritz@gmail.com>
27478
27479 * math/math.h (isinf): Fix typo in comment.
27480
de0ff7bc
UD
274812010-11-01 Ulrich Drepper <drepper@gmail.com>
27482
27483 * po/da.po: Update from translation team.
27484
fa41c84d
UD
274852010-10-26 Ulrich Drepper <drepper@gmail.com>
27486
27487 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27488 is added to the list.
27489
f0967738
AK
274902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27491 Ulrich Drepper <drepper@gmail.com>
27492
27493 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27494 the global list here. Move code to...
27495 (_dl_add_to_namespace_list): ...here. New function.
27496 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27497 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27498 * elf/dl-load.c (lose): Don't remove the element from the list.
27499 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27500 (_dl_map_object): Likewise.
27501
275022010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27503
27504 [BZ #12159]
27505 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27506 into all bytes of SSE register.
27507 Patch by Richard Li <richardpku@gmail.com>.
27508
f0967738 275092010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27510
27511 [BZ #12140]
27512 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27513 perturbing.
27514
d0b9e94f
MB
275152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27516
27517 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27518 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27519 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27520 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27522 submachine.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27524
8e9f92e9
AS
275252010-10-22 Andreas Schwab <schwab@redhat.com>
27526
27527 * include/dlfcn.h (__RTLD_SECURE): Define.
27528 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27529 mode & __RTLD_SECURE instead.
27530 (open_path): Rename preloaded parameter to secure.
27531 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27532 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27533 * elf/dl-deps.c (openaux): Likewise.
27534 * elf/rtld.c (struct map_args): Remove is_preloaded.
27535 (map_doit): Don't use it.
27536 (dl_main): Likewise.
27537 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27538 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27539
bc96fbda
AS
275402010-09-09 Andreas Schwab <schwab@redhat.com>
27541
27542 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27543 (sysd-rules-targets): Remove duplicates.
27544 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27545 rtld-%.$o dependency.
27546
22cd1c9b
AS
275472010-10-18 Andreas Schwab <schwab@redhat.com>
27548
27549 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27550 _dl_map_object do it.
27551
18edac48
UD
275522010-10-19 Ulrich Drepper <drepper@gmail.com>
27553
27554 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27555 fast fma builtins, define the macros in the C99 standard.
27556 (FP_FAST_FMAF): Likewise.
27557 (FP_FAST_FMAL): Likewise.
27558 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27559
27560 * bits/mathdef.h: Update copyright year.
27561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27562
d2050124
MM
275632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27564
27565 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27566 builtins, define the macros in the C99 standard.
27567 (FP_FAST_FMAF): Likewise.
27568 (FP_FAST_FMAL): Likewise.
27569 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27570 multiply/add.
27571 (FP_FAST_FMAF): Likewise.
27572
475facd1
JJ
275732010-10-15 Jakub Jelinek <jakub@redhat.com>
27574
27575 [BZ #3268]
27576 * math/libm-test.inc (fma_test): Some new testcases.
27577 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27578 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27579 y and infinite z. Do multiplication by C already in long double.
27580 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27582 y and infinite z. Do bitwise or of inexact bit into u.d.
27583 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27584 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27585 * sysdeps/i386/fpu/s_fma.S: Removed.
27586 * sysdeps/i386/fpu/s_fmal.S: Removed.
27587
7c08a05c
JJ
275882010-10-16 Jakub Jelinek <jakub@redhat.com>
27589
27590 [BZ #3268]
27591 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27593 computation is not scheduled after fetestexcept. Fix value
27594 of minimum denormal long double.
27595
f3f7372d
JJ
275962010-10-14 Jakub Jelinek <jakub@redhat.com>
27597
27598 [BZ #3268]
27599 * math/libm-test.inc (fma_test): Add some more tests.
27600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27601 correctly.
27602
14d43591
AS
276032010-10-15 Andreas Schwab <schwab@redhat.com>
27604
27605 * scripts/data/localplt-s390-linux-gnu.data: New file.
27606 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27607
5e908464
JJ
276082010-10-13 Jakub Jelinek <jakub@redhat.com>
27609
27610 [BZ #3268]
27611 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27612 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27613 instead of dbl-64.
27614 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27615 inlines.
27616 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27618 if one of x and y is very large and the other is subnormal.
27619 * sysdeps/s390/fpu/s_fmaf.c: New file.
27620 * sysdeps/s390/fpu/s_fma.c: New file.
27621 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27622 * sysdeps/powerpc/fpu/s_fma.S: New file.
27623 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27624 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27625 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27626
276272010-10-12 Jakub Jelinek <jakub@redhat.com>
27628
27629 [BZ #3268]
27630 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27631 fma tests.
27632 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27633 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27634 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27635 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27636 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27637 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27638 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27639
b833d51f
UD
276402010-10-12 Ulrich Drepper <drepper@redhat.com>
27641
27642 [BZ #12078]
27643 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27644 * posix/bug-regex31.input: Add test case.
27645
1751705d
UD
276462010-10-11 Ulrich Drepper <drepper@gmail.com>
27647
e9b9cbf5
UD
27648 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27649 * posix/bug-regex31.input: New file.
27650
27651 [BZ #12078]
27652 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27653 (parse_sub_exp): Fix last change, use postorder.
27654
ef06edbe
UD
27655 * posix/bug-regex31.c: New file.
27656 * posix/Makefile: Add rules to build and run bug-regex31.
27657
a129c80d
UD
27658 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27659
27660 [BZ #12078]
27661 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27662
b76b818e
UD
27663 [BZ #12108]
27664 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27665 to have entries in sys_siglist.
27666
1751705d
UD
27667 [BZ #12093]
27668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27669 be NULL.
27670
9ff8d36f
JJ
276712010-10-07 Jakub Jelinek <jakub@redhat.com>
27672
27673 [BZ #3268]
27674 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27675 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27676 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27677 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27678 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27679 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27680 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27681 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27682 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27683 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27684 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27685 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27686 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27687 * math/ftestexcept.c (fetestexcept): Likewise.
27688 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27689 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27690 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27691 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27692 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27693 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27694 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27695
af325969
UD
276962010-10-11 Ulrich Drepper <drepper@gmail.com>
27697
c579b202 27698 [BZ #12107]
af325969
UD
27699 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27700 newline.
27701
67a67b95
UD
277022010-10-06 Ulrich Drepper <drepper@gmail.com>
27703
27704 * string/bug-strstr1.c: New file.
27705 * string/Makefile: Add rules to build and run bug-strstr1.
27706
5fb308bc
EB
277072010-10-05 Eric Blake <eblake@redhat.com>
27708
27709 [BZ #12092]
27710 * string/str-two-way.h (two_way_long_needle): Always clear memory
27711 when skipping input due to the shift table.
27712
45db99c7
UD
277132010-10-03 Ulrich Drepper <drepper@gmail.com>
27714
3b111893
UD
27715 [BZ #12005]
27716 * malloc/mcheck.c: Handle large requests.
27717
45db99c7
UD
27718 [BZ #12077]
27719 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27720 for strncmp and strncasecmp.
27721 * string/stratcliff.c: Add tests for strcmp and strncmp.
27722 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27723
cf7a1eb8
NI
277242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27725
27726 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27727 __set_fpscr.
27728
6484ba5e
AJ
277292010-09-30 Andreas Jaeger <aj@suse.de>
27730
27731 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27732 (CGROUP_SUPER_MAGIC): Define.
27733 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27734 Handle btrfs and cgroup file systems.
27735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27736 Likewise.
27737
91c42559
LM
277382010-09-27 Luis Machado <luisgpm@br.ibm.com>
27739
27740 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27741 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27742
87a97932
AK
277432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27744
27745 [BZ #12067]
27746 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27747 trying to locate the ELF header.
27748
c21cc9bc
AS
277492010-09-27 Andreas Schwab <schwab@redhat.com>
27750
27751 [BZ #11611]
27752 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27753 Mask out sign-bit copies when constructing f_fsid.
27754
315970f6
PB
277552010-09-24 Petr Baudis <pasky@suse.cz>
27756
27757 * debug/stack_chk_fail_local.c: Add missing licence exception.
27758 * debug/warning-nop.c: Likewise.
27759
1ac7a2c7
JM
277602010-09-15 Joseph Myers <joseph@codesourcery.com>
27761
27762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27763 implementing getdents64 using getdents syscall, set d_type if
27764 __ASSUME_GETDENTS32_D_TYPE.
27765
56801c50
AS
277662010-09-16 Andreas Schwab <schwab@redhat.com>
27767
27768 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27769 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27770
dda51327
UD
277712010-09-21 Ulrich Drepper <drepper@redhat.com>
27772
27773 [BZ #12037]
27774 * posix/unistd.h: Undo change of feature selection for ftruncate from
27775 2010-01-11.
27776
8ffcee4a
UD
277772010-09-20 Ulrich Drepper <drepper@redhat.com>
27778
a545ecd9 27779 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27780 detection.
27781
e24f0a8b
AS
277822010-09-20 Andreas Schwab <schwab@redhat.com>
27783
27784 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27785 fanotify_mark.
27786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27787
7291c56f
AS
277882010-09-14 Andreas Schwab <schwab@redhat.com>
27789
27790 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27791 variables after CHECK_SP call.
27792 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27793
bc5fb037
AS
277942010-09-13 Andreas Schwab <schwab@redhat.com>
27795 Ulrich Drepper <drepper@redhat.com>
27796
27797 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27798 re-relocationg ld.so.
27799 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27800 _dl_init_paths call.
27801 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27802 here anymore.
27803
e66e7419
UD
278042010-09-14 Ulrich Drepper <drepper@redhat.com>
27805
27806 * resolv/res_init.c (__res_vinit): Count the default server we added.
27807
c044aa75
CLT
278082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27809 Ulrich Drepper <drepper@redhat.com>
27810
27811 [BZ #11968]
27812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27813 (____longjmp_chk): Use %ebx for saving value across system call.
27814 Add unwind info.
27815
32cf4069
AS
278162010-09-06 Andreas Schwab <schwab@redhat.com>
27817
27818 * manual/Makefile: Don't mix pattern rules with normal rules.
27819
817328ee
AS
278202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27821
27822 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27823 operation.
27824 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27825 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27826 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27827 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27829 Likewise.
27830
29fddf61
UD
278312010-09-04 Ulrich Drepper <drepper@redhat.com>
27832
27833 [BZ #11979]
27834 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27835 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27836
0959ffc9
UD
278372010-09-02 Ulrich Drepper <drepper@redhat.com>
27838
27839 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27840 * sysdeps/x86_64/addmul_1.S: Likewise.
27841 * sysdeps/x86_64/lshift.S: Likewise.
27842 * sysdeps/x86_64/mul_1.S: Likewise.
27843 * sysdeps/x86_64/rshift.S: Likewise.
27844 * sysdeps/x86_64/sub_n.S: Likewise.
27845 * sysdeps/x86_64/submul_1.S: Likewise.
27846
ece29840
ST
278472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27848
0959ffc9
UD
27849 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27850 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27851 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27852 * bits/sched.h [__need_schedparam]
ece29840 27853 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27854 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27855 (__defined_schedparam): Define to 1.
ece29840
ST
27856 (__sched_param): New structure, identical to sched_param.
27857 (__need_schedparam): Undefine.
27858
e53a31fe
MF
278592010-08-31 Mike Frysinger <vapier@gentoo.org>
27860
fdc0c10d
MF
27861 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27862 (epoll_create1): Declare.
27863
e53a31fe
MF
27864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27865
a726d796
AS
278662010-08-31 Andreas Schwab <schwab@redhat.com>
27867
27868 [BZ #7066]
27869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27870 shifting retval into place.
27871
2f3e3dc7
UD
278722010-09-01 Ulrich Drepper <drepper@redhat.com>
27873
f2933da9
UD
27874 * nis/rpcsvc/nis.h: Update copyright notice.
27875 * nis/rpcsvc/nis.x: Likewise.
27876 * nis/rpcsvc/nis_callback.h: Likewise.
27877 * nis/rpcsvc/nis_callback.x: Likewise.
27878 * nis/rpcsvc/nis_object.x: Likewise.
27879 * nis/rpcsvc/nis_tags.h: Likewise.
27880 * nis/rpcsvc/yp.h: Likewise.
27881 * nis/rpcsvc/yp.x: Likewise.
27882 * nis/rpcsvc/ypupd.h: Likewise.
27883 * nis/yp_xdr.c: Likewise.
27884 * nis/ypupdate_xdr.c: Likewise.
27885
2f3e3dc7
UD
27886 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27887 mainly the body of pmap_getport. Add parameters to specify timeouts.
27888 (pmap_getport): Use __libc_rpc_getport.
27889 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27890 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27891 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27892
f3dcc2f9
AS
278932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27894
27895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27896 fanotify_mark.
27897
6d34eb5b
RM
278982010-08-27 Roland McGrath <roland@redhat.com>
27899
27900 * sysdeps/i386/i686/multiarch/Makefile
27901 (CFLAGS-varshift.c): New variable.
27902
9ea3de11
UD
279032010-08-27 Ulrich Drepper <drepper@redhat.com>
27904
c96d23fc
UD
27905 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27906 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27907
9ea3de11
UD
27908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27909
27910 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27911
623aac7f
L
279122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27913
27914 * sysdeps/x86_64/strlen.S: Unroll the loop.
27915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27916 strlen-sse2 strlen-sse2-bsf.
27917 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27918 __strlen_no_bsf if bit_Slow_BSF is set.
27919 (__strlen_sse42): Removed.
27920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27921 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27922
8b2b7715
RM
279232010-08-25 Roland McGrath <roland@redhat.com>
27924
27925 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27926 * sysdeps/x86_64/multiarch/varshift.c: New file.
27927 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27928 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27929 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27930 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27931
e73015f2
L
279322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27933
27934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27935 strlen-sse2 strlen-sse2-bsf.
27936 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27937 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27938 (__strlen_sse2): Removed.
27939 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27942 bit_Slow_BSF for Atom.
27943 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27944 (index_Slow_BSF): Define.
27945 (HAS_SLOW_BSF): Define.
27946
df24a73e
UD
279472010-08-25 Ulrich Drepper <drepper@redhat.com>
27948
27949 [BZ #10851]
27950 * resolv/res_init.c (__res_vinit): When no server address at all
27951 is given default to loopback.
27952
f2ac4868
RM
279532010-08-24 Roland McGrath <roland@redhat.com>
27954
09055553
RM
27955 * configure.in: Remove config-name.h generation.
27956 * configure: Regenerated.
27957 * config-name.in: File removed.
27958 * scripts/config-uname.sh: New file.
27959 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27960 ($(objdir)config-name.h): New target.
27961
f2ac4868
RM
27962 * sunrpc/rpc_parse.h: Avoid nested comment.
27963
73f27d5e
RH
279642010-08-24 Richard Henderson <rth@redhat.com>
27965 Ulrich Drepper <drepper@redhat.com>
27966 H.J. Lu <hongjiu.lu@intel.com>
27967
27968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27970 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27971 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27972 _mm_alignr_epi8 with _mm_loadu_si128.
27973 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27974 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27975 (__m128i_shift_right): Removed.
27976 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27977 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27978 * sysdeps/x86_64/multiarch/varshift.h: New file.
27979 * sysdeps/x86_64/multiarch/varshift.S: New file.
27980
84b9230c
MF
279812010-08-21 Mike Frysinger <vapier@gentoo.org>
27982
27983 * configure.in: Move assembler checks to before sysdep dir checking.
27984
9bbd0ddc
PB
279852010-08-20 Petr Baudis <pasky@suse.cz>
27986
27987 * LICENSES: Sync the sunrpc license.
27988
9da4bb31
UD
279892010-08-19 Ulrich Drepper <drepper@redhat.com>
27990
a7ab6ec8
UD
27991 * sunrpc/auth_des.c: Update copyright notice once again.
27992 * sunrpc/auth_none.c: Likewise.
27993 * sunrpc/auth_unix.c: Likewise.
27994 * sunrpc/authdes_prot.c: Likewise.
27995 * sunrpc/authuxprot.c: Likewise.
27996 * sunrpc/bindrsvprt.c: Likewise.
27997 * sunrpc/clnt_gen.c: Likewise.
27998 * sunrpc/clnt_perr.c: Likewise.
27999 * sunrpc/clnt_raw.c: Likewise.
28000 * sunrpc/clnt_simp.c: Likewise.
28001 * sunrpc/clnt_tcp.c: Likewise.
28002 * sunrpc/clnt_udp.c: Likewise.
28003 * sunrpc/clnt_unix.c: Likewise.
28004 * sunrpc/des_crypt.c: Likewise.
28005 * sunrpc/des_soft.c: Likewise.
28006 * sunrpc/get_myaddr.c: Likewise.
28007 * sunrpc/getrpcport.c: Likewise.
28008 * sunrpc/key_call.c: Likewise.
28009 * sunrpc/key_prot.c: Likewise.
28010 * sunrpc/openchild.c: Likewise.
28011 * sunrpc/pm_getmaps.c: Likewise.
28012 * sunrpc/pm_getport.c: Likewise.
28013 * sunrpc/pmap_clnt.c: Likewise.
28014 * sunrpc/pmap_prot.c: Likewise.
28015 * sunrpc/pmap_prot2.c: Likewise.
28016 * sunrpc/pmap_rmt.c: Likewise.
28017 * sunrpc/rpc/auth.h: Likewise.
28018 * sunrpc/rpc/auth_unix.h: Likewise.
28019 * sunrpc/rpc/clnt.h: Likewise.
28020 * sunrpc/rpc/des_crypt.h: Likewise.
28021 * sunrpc/rpc/key_prot.h: Likewise.
28022 * sunrpc/rpc/netdb.h: Likewise.
28023 * sunrpc/rpc/pmap_clnt.h: Likewise.
28024 * sunrpc/rpc/pmap_prot.h: Likewise.
28025 * sunrpc/rpc/pmap_rmt.h: Likewise.
28026 * sunrpc/rpc/rpc.h: Likewise.
28027 * sunrpc/rpc/rpc_des.h: Likewise.
28028 * sunrpc/rpc/rpc_msg.h: Likewise.
28029 * sunrpc/rpc/svc.h: Likewise.
28030 * sunrpc/rpc/svc_auth.h: Likewise.
28031 * sunrpc/rpc/types.h: Likewise.
28032 * sunrpc/rpc/xdr.h: Likewise.
28033 * sunrpc/rpc_clntout.c: Likewise.
28034 * sunrpc/rpc_cmsg.c: Likewise.
28035 * sunrpc/rpc_common.c: Likewise.
28036 * sunrpc/rpc_cout.c: Likewise.
28037 * sunrpc/rpc_dtable.c: Likewise.
28038 * sunrpc/rpc_hout.c: Likewise.
28039 * sunrpc/rpc_main.c: Likewise.
28040 * sunrpc/rpc_parse.c: Likewise.
28041 * sunrpc/rpc_parse.h: Likewise.
28042 * sunrpc/rpc_prot.c: Likewise.
28043 * sunrpc/rpc_sample.c: Likewise.
28044 * sunrpc/rpc_scan.c: Likewise.
28045 * sunrpc/rpc_scan.h: Likewise.
28046 * sunrpc/rpc_svcout.c: Likewise.
28047 * sunrpc/rpc_tblout.c: Likewise.
28048 * sunrpc/rpc_util.c: Likewise.
28049 * sunrpc/rpc_util.h: Likewise.
28050 * sunrpc/rpcinfo.c: Likewise.
28051 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28052 * sunrpc/rpcsvc/key_prot.x: Likewise.
28053 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28054 * sunrpc/rpcsvc/mount.x: Likewise.
28055 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28056 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28057 * sunrpc/rpcsvc/rex.x: Likewise.
28058 * sunrpc/rpcsvc/rstat.x: Likewise.
28059 * sunrpc/rpcsvc/rusers.x: Likewise.
28060 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28061 * sunrpc/rpcsvc/spray.x: Likewise.
28062 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28063 * sunrpc/rtime.c: Likewise.
28064 * sunrpc/svc.c: Likewise.
28065 * sunrpc/svc_auth.c: Likewise.
28066 * sunrpc/svc_authux.c: Likewise.
28067 * sunrpc/svc_raw.c: Likewise.
28068 * sunrpc/svc_run.c: Likewise.
28069 * sunrpc/svc_simple.c: Likewise.
28070 * sunrpc/svc_tcp.c: Likewise.
28071 * sunrpc/svc_udp.c: Likewise.
28072 * sunrpc/svc_unix.c: Likewise.
28073 * sunrpc/svcauth_des.c: Likewise.
28074 * sunrpc/xcrypt.c: Likewise.
28075 * sunrpc/xdr.c: Likewise.
28076 * sunrpc/xdr_array.c: Likewise.
28077 * sunrpc/xdr_float.c: Likewise.
28078 * sunrpc/xdr_mem.c: Likewise.
28079 * sunrpc/xdr_rec.c: Likewise.
28080 * sunrpc/xdr_ref.c: Likewise.
28081 * sunrpc/xdr_sizeof.c: Likewise.
28082 * sunrpc/xdr_stdio.c: Likewise.
28083
9da4bb31
UD
28084 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28085 handling.
28086
bdaa77bc
AS
280872010-08-19 Andreas Schwab <schwab@redhat.com>
28088
28089 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28090
fe2f79db
LM
280912010-08-19 Luis Machado <luisgpm@br.ibm.com>
28092
28093 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28094 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28096 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28097 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28098 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28100 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28102 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28103 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28104 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28105 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28106 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28107
b9b42ee0
AB
281082010-07-26 Anton Blanchard <anton@samba.org>
28109
28110 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28111 * malloc/arena.c (heap_trim): Likewise.
28112
1c06ba31
UD
281132010-08-16 Ulrich Drepper <drepper@redhat.com>
28114
28115 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28116 here. Not...
28117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28118 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28119
f8392f40
L
281202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28121
28122 * sysdeps/i386/elf/Makefile: New file.
28123
3162f12e
AS
281242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28125
28126 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28127 from fanotify_init.
28128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28130
28c90b2c
UD
281312010-08-15 Ulrich Drepper <drepper@redhat.com>
28132
28133 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28134 of strncasecmp_l.
1feccb6c 28135 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28136
ca6bb004
UD
281372010-08-14 Ulrich Drepper <drepper@redhat.com>
28138
e9f82e0d
UD
28139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28140 strncase_l-nonascii.
28141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28142 Add strncase_l-ssse3.
28143 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28144 * sysdeps/x86_64/strcmp.S: Likewise.
28145 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28146 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28147 * sysdeps/x86_64/strncase.S: New file.
28148 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28149 * sysdeps/x86_64/strncase_l.S: New file.
28150 * string/Makefile (strop-tests): Add strncasecmp.
28151 * string/test-strncasecmp.c: New file.
28152
28153 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28154 warning.
28155
ca6bb004
UD
28156 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28157 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28158
052fa7b3
AS
281592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28160
28161 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28162
962dba78
UD
281632010-08-12 Ulrich Drepper <drepper@redhat.com>
28164
28165 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28166 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28167 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28168
bebff237
AM
281692010-05-01 Alan Modra <amodra@gmail.com>
28170
28171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28172 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28173 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28174 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28175 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28176 tidying. Don't tail-call __sigjmp_save for static lib.
28177 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28178 save location.
28179 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28180 (CALL_MCOUNT): Add eh info, and nop after bl.
28181 (TAIL_CALL_SYSCALL_ERROR): New macro.
28182 (PSEUDO_RET): Use it.
28183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28184 Correct save location of integer regs and cr.
28185 (_dl_profile_resolve): Correct cr save location. Delete nops
28186 after bl when SHARED. Reduce cfi size a little by better
28187 placement of cfi directives.
28188 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28189 make a stack frame. Instead use parm save area as a temp.
28190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28191 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28193 Don't make a stack frame for parent, use parm save area.
28194 Increase child stack frame to 112 bytes. Don't save unused reg,
28195 and adjust reg usage. Set up cfi on error recovery and
28196 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28198 (__makecontext): Add dummy nop after jump to exit.
28199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28200 Use correct parm save area and cr save, reduce stack frame.
28201 Correct cfi for possible PSEUDO_RET frame setup.
28202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28203 Branch to local label emitted by PSEUDO_RET rather than
28204 __syscall_error.
28205
02637374
AS
282062010-08-12 Andreas Schwab <schwab@redhat.com>
28207
28208 [BZ #11904]
28209 * locale/programs/locale.c (print_assignment): New function.
28210 (show_locale_vars): Use it.
28211
c3e2f19b
UD
282122010-08-11 Ulrich Drepper <drepper@redhat.com>
28213
3cdaa6ad
UD
28214 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28215 field.
28216 (struct statfs64): Likewise.
28217 (_STATFS_F_FLAGS): Define.
28218 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28220 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28221 (ST_VALID): Define locally.
28222 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28223 __statvfs_getflags, use the provided value.
28224 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28225 __ASSUME_STATFS_F_FLAGS.
28226
754f7da3
UD
28227 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28228
10b3bedc
UD
28229 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28230 Add sys/fanotify.h.
28231 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28232 fanotify_mask for GLIBC_2.13.
28233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28234 fanotify_init and fanotify_mark.
28235 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28236 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28237
c08fb0d7
UD
28238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28239 Add prlimit.
28240 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28241 prlimit64 for GLIBC_2.13.
28242 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28243 prlimit64.
28244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28245 syscall.
28246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28248 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28251 add prlimit alias.
28252 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28253
15bac72b
UD
28254 [BZ #11903]
28255 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28256 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28257
c3e2f19b
UD
28258 * nss/Makefile: Add rules to build and run tst-nss-test1.
28259 * shlib-versions: Add entry for libnss_test1.
28260 * nss/nss_test1.c: New file.
28261 * nss/tst-nss-test1.c: New file.
28262
28263 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28264 (__nss_configure_lookup): Set appropriate entry in
28265 __nss_configure_lookup to true.
28266 * nss/nsswitch.h: Define enum with indeces of databases in
28267 databases and __nss_database_custom arrays. Declare
28268 __nss_database_custom.
28269 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28270 to avoid using nscd when custom rules are installed.
28271 * nss/getXXbyYY_r.c: Likewise.
28272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28273
28274 * nss/nss_files/files-parse.c: Whitespace fixes.
28275
f15ce4d8
UD
282762010-08-09 Ulrich Drepper <drepper@redhat.com>
28277
28278 [BZ #11883]
28279 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28280 * posix/fnmatch_loop.c: Likewise.
28281
d22e4cc9
AK
282822010-07-17 Andi Kleen <ak@linux.intel.com>
28283
28284 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28285 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28286 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28287 * Versions.def [GLIBC_2.13]: Add.
28288
805bc17d
UD
282892010-08-06 Ulrich Drepper <drepper@redhat.com>
28290
28291 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28292 Also fail if tpwd after pwuid call is NULL.
28293
5a42321d
ST
282942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28295
28296 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28297 when converting to ms.
28298
fd3ebeda
ST
282992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28300
28301 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28302 EOPNOTSUPP errors with ENOTTY.
28303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28304 EOPNOTSUPP errors with ENOTTY.
28305
73507d3a
UD
283062010-07-31 Ulrich Drepper <drepper@redhat.com>
28307
28308 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28309 Add strcasecmp_l-ssse3.
28310 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28311 strcasecmp.
28312 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28314 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28315
fe36dd02
UD
283162010-07-30 Ulrich Drepper <drepper@redhat.com>
28317
66f6765a
UD
28318 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28319
42e08a54
UD
28320 * string/Makefile (strop-tests): Add strcasecmp.
28321 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28322 strcasecmp_l-nonascii.
28323 (gen-as-const-headers): Add locale-defines.sym.
28324 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28325 * sysdeps/x86_64/strcasecmp.S: New file.
28326 * sysdeps/x86_64/strcasecmp_l.S: New file.
28327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28328 * sysdeps/x86_64/locale-defines.sym: New file.
28329 * string/test-strcasecmp.c: New file.
28330
fe36dd02
UD
28331 * string/test-strcasestr.c: Test both ends of the range of characters.
28332 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28333
48cbc0d6
RM
283342010-07-29 Roland McGrath <roland@redhat.com>
28335
76e6d6bc 28336 [BZ #11856]
48cbc0d6
RM
28337 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28338
880113d9
UD
283392010-07-27 Ulrich Drepper <drepper@redhat.com>
28340
28341 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28342 for ld.so.
28343
deb9cabb
AS
283442010-07-27 Andreas Schwab <schwab@redhat.com>
28345
28346 * manual/memory.texi (Malloc Tunable Parameters): Document
28347 M_PERTURB.
28348
1c7570ff
RM
283492010-07-26 Roland McGrath <roland@redhat.com>
28350
28351 [BZ #11840]
28352 * configure.in (-fgnu89-inline check): Set and substitute
28353 gnu89_inline, not libc_cv_gnu89_inline.
28354 * configure: Regenerated.
28355 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28356
24fb0f88
UD
283572010-07-26 Ulrich Drepper <drepper@redhat.com>
28358
28359 * string/test-strnlen.c: New file.
28360 * string/Makefile (strop-tests): Add strnlen.
28361 * string/tester.c (test_strnlen): Add a few more test cases.
28362 * string/tst-strlen.c: Better error reporting.
28363
28364 * sysdeps/x86_64/strnlen.S: New file.
28365
8e96b93a
UD
283662010-07-24 Ulrich Drepper <drepper@redhat.com>
28367
28368 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28369 lower-latency instructions.
28370
dbc676d4
UD
283712010-07-23 Ulrich Drepper <drepper@redhat.com>
28372
28373 * string/test-strcasestr.c: New file.
28374 * string/test-strstr.c: New file.
28375 * string/Makefile (strop-tests): Add strstr and strcasestr.
28376 * string/str-two-way.h: Don't undefine MAX.
28377 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28378
f6a31e0e
AS
283792010-07-21 Andreas Schwab <schwab@redhat.com>
28380
28381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28382 strcasestr-nonascii.
28383 (CFLAGS-strcasestr-nonascii.c): Define.
28384 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28386 Remove unused attribute.
28387
5dbc3b6c
RM
283882010-07-20 Roland McGrath <roland@redhat.com>
28389
28390 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28391 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28392 ld.so.cache was broken. With it, there is no way to disable dsocaps
28393 like LD_HWCAP_MASK can disable hwcaps.
28394
23d101d8
EPM
283952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28396
28397 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28398
cc9f2e47
UD
283992010-07-16 Ulrich Drepper <drepper@redhat.com>
28400
28401 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28402 call in strcasestr.
28403 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28404 __strcasestr_sse42_nonascii.
28405 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28406 strcasestr-nonascii.c.
28407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28408
77c1b069
LM
284092010-06-15 Luis Machado <luisgpm@br.ibm.com>
28410
28411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28415
440566c3
UD
284162010-07-09 Ulrich Drepper <drepper@redhat.com>
28417
28418 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28419 fcntl.
28420
5be9d05d
AS
284212010-07-06 Andreas Schwab <schwab@redhat.com>
28422
c30b7ee2 28423 [BZ #11577]
5be9d05d
AS
28424 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28425 dl_signal_cerror.
28426
8a492a67
UD
284272010-07-06 Ulrich Drepper <drepper@redhat.com>
28428
28429 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28430 _PC_PIPE_BUF using F_GETPIPE_SZ.
28431
713df3d5
RM
284322010-07-05 Roland McGrath <roland@redhat.com>
28433
28434 * manual/arith.texi (Rounding Functions): Fix rint description
28435 implicit in round description.
28436
702e8f14
UD
284372010-07-02 Ulrich Drepper <drepper@redhat.com>
28438
28439 * elf/Makefile: Fix linking for a few tests to make recent linker
28440 happy.
28441
52ed8be9
AS
284422010-06-30 Andreas Schwab <schwab@redhat.com>
28443
28444 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28445 $(common-objpfx)libc_nonshared.a.
28446
f47c9a11
LM
284472010-06-21 Luis Machado <luisgpm@br.ibm.com>
28448
28449 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28450 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28451 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28452 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28453 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28454 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28455 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28456 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28471 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28472 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28473 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28474 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28475 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28476 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28477 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28478 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28479 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28480 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28481 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28482 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28497
6fb8cbcb
L
284982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28499
28500 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28501 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28502 * string/memmove.c (memmove): Renamed to ...
28503 (MEMMOVE): ...this. Default to memmove.
28504 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28505 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28506 (END_CHK): Define.
28507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28508 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28509 mempcpy-ssse3-back memmove-ssse3-back.
28510 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28513 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28514 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28515 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28516 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28517 * sysdeps/x86_64/multiarch/memmove.c: New file.
28518 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28519 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28520 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28521 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28522 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28524 Define.
28525 (index_Fast_Copy_Backward): Define.
28526 (HAS_ARCH_FEATURE): Define.
28527 (HAS_FAST_REP_STRING): Define.
28528 (HAS_FAST_COPY_BACKWARD): Define.
28529
4e733bac 285302010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28531
28532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28533 Restore proper fallback handling.
28534
63c4ed22
UD
285352010-06-19 Ulrich Drepper <drepper@redhat.com>
28536
ac2b484c
UD
28537 [BZ #11701]
28538 * posix/group_member.c (__group_member): Correct checking loop.
28539
63c4ed22
UD
28540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28541 OOM in getpwuid_r correctly. Return error number when the caller
28542 should return, otherwise -1.
28543 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28544 call returning > 0 value.
28545 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28546
765ade4b
AS
285472010-06-07 Andreas Schwab <schwab@redhat.com>
28548
28549 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28550 libc_nonshared.a from targets in modules-names.
28551
80da2e09
KS
285522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28553
28554 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28555 requires it.
28556
158db122
LM
285572010-06-10 Luis Machado <luisgpm@br.ibm.com>
28558
28559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28560 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28563
caa78cf8
AS
285642010-06-02 Andreas Schwab <schwab@redhat.com>
28565
28566 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28567
b2ef2c01
UD
285682010-06-14 Ulrich Drepper <drepper@redhat.com>
28569
28570 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28571 and F_GETPIPE_SZ.
28572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28576 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28578
fbd643b6
RM
285792010-06-14 Roland McGrath <roland@redhat.com>
28580
28581 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28582
f32f2869
JJ
285832010-06-07 Jakub Jelinek <jakub@redhat.com>
28584
28585 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28586 __REDIRECT followed by __THROW.
28587 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28588 * posix/getopt.h (getopt): Likewise.
28589
2a50c078
EPM
285902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28591
28592 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28593 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28594 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28595 in AT_FLAGS.
28596 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28597 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28598
eb5ad2eb
LM
285992010-05-28 Luis Machado <luisgpm@br.ibm.com>
28600
28601 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28602
3c88fe1e
L
286032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28604
28605 [BZ #11640]
28606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28607 Properly check family and model.
28608
d2f73151
TY
286092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28610
28611 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28612
ebd2e13d
LM
286132010-05-24 Luis Machado <luisgpm@br.ibm.com>
28614
28615 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28616
b32b8b45
UD
286172010-05-21 Ulrich Drepper <drepper@redhat.com>
28618
28619 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28620 symbol reference.
28621
9acbe24d
AS
286222010-05-19 Andreas Schwab <schwab@redhat.com>
28623
28624 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28625 symbol reference.
28626
f0ccf6ea
AS
286272010-05-21 Andreas Schwab <schwab@redhat.com>
28628
3d04ff3a
AS
28629 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28630 and internal_recvmmsg.
28631 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28632 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28633 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28634 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28635
f0ccf6ea
AS
28636 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28637 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28638 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28639
5b08ac57
AS
286402010-05-20 Andreas Schwab <schwab@redhat.com>
28641
28642 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28643
4828935d
LM
286442010-05-17 Luis Machado <luisgpm@br.ibm.com>
28645
28646 POWER7 optimizations.
28647 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28648 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28649
373d545e
UD
286502010-05-19 Ulrich Drepper <drepper@redhat.com>
28651
28652 * version.h: Update for 2.13 development version.
28653
21a2b1ae
AS
286542010-05-12 Andrew Stubbs <ams@codesourcery.com>
28655
28656 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28657 exceptions. Return 0.
28658
3f7dcb2b
RM
286592010-05-07 Roland McGrath <roland@redhat.com>
28660
28661 * elf/ldconfig.c (main): Add a const.
28662
5f24d53a 286632010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28664
a160f8d8
UD
28665 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28666 (args_options): Add no-idn option.
28667 (ahosts_keys_int): Add idn_flags to ai_flags.
28668 (parse_option): Handle 'i' option to clear idn_flags.
28669
5f24d53a
UD
28670 * malloc/malloc.c (_int_free): Possible race in the most recently
28671 added check. Only act on the data if no current modification
28672 happened.
265bb1ce
UD
28673
28674See ChangeLog.17 for earlier changes.