]> sourceware.org Git - glibc.git/blame - ChangeLog
Start converting libm tests from code to data.
[glibc.git] / ChangeLog
CommitLineData
51df539d
JM
12013-05-10 Joseph Myers <joseph@codesourcery.com>
2
3 * math/gen-libm-test.pl (adjust_arg): New function.
4 (special_functions): Handle generating output in both functions
5 and arrays.
6 (parse_args): Likewise.
7 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8 $in_func argument to parse_args.
9 * math/libm-test.inc (struct test_f_f_data): New type.
10 (IF_ROUND_INIT_): New macro.
11 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
12 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15 (ROUND_RESTORE_): Likewise.
16 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19 (ROUND_RESTORE_FE_UPWARD): Likewise.
20 (RUN_TEST_LOOP_f_f): New macro.
21 (acos_test_data): New variable.
22 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23 (acos_tonearest_test_data): New variable.
24 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25
5c637fe5
SP
262013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27
28 * benchtests/bench-skeleton.c (startup): Fix coding style.
29
ab2b9461
JM
302013-05-10 Joseph Myers <joseph@codesourcery.com>
31
32 [BZ #6809]
33 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34 negative infinity argument.
35 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36 negative infinity argument.
37 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
38 negative infinity argument.
39 * math/libm-test.inc (tgamma_test): Expect errno to be set for
40 domain errors.
41
4c0fe6fe
FW
422013-05-10 Florian Weimer <fweimer@redhat.com>
43
44 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
45 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46 * iconv/iconv_prog.c (main): Likewise.
47 * locale/programs/charmap-dir.c (charmap_readdir)
48 (fopen_uncompressed): Likewise.
49 * locale/programs/locfile.c (siblings_uncached)
50 (write_locale_data): Use lstat64 instead of lstat.
51 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52 stat.
53
a3375d29
AJ
542013-05-10 Andreas Jaeger <aj@suse.de>
55
56 [BZ #15395]
57 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
58 localization.
59 Include <locale.h>.
60
36129722
CD
612013-05-09 Carlos O'Donell <carlos@redhat.com>
62
63 * elf/dl-close.c (_dl_close_worker): Add comments.
64
faa7f811
JM
652013-05-09 Joseph Myers <joseph@codesourcery.com>
66
ed41ffef
JM
67 [BZ #15359]
68 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
69 high part of pi/2.
70 (__ieee754_rem_pio2l): Update comments.
71
d0213cd0
JM
72 [BZ #15429]
73 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
74 high part of pi/2.
75 (__ieee754_rem_pio2l): Update comments.
76
0d3e777a
JM
77 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
78 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
79
24f56066
JM
80 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
81 M_PI_4l.
82
faa7f811
JM
83 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
84 (M_PI_34_LOG10El): Likewise.
85 (M_PI2_LOG10El): Likewise.
86 (M_PI4_LOG10El): Likewise.
87 (M_PI_LOG10El): Likewise.
88
e9a5e0fd
AZ
892013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90
91 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
92
d8cd06db
JM
932013-05-08 Joseph Myers <joseph@codesourcery.com>
94
a0d9f9d7
JM
95 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
96 (MINUS_ZERO_INIT): Likewise.
97 (PLUS_INFTY_INIT): Likewise.
98 (MINUS_INFTY_INIT): Likewise.
99 (QNAN_VALUE_INIT): Likewise.
100 (MAX_VALUE_INIT): Likewise.
101 (MIN_VALUE_INIT): Likewise.
102 (MIN_SUBNORM_VALUE_INIT): Likewise.
103 (plus_zero): Initialize with PLUS_ZERO_INIT.
104 (minus_zero): Initialize with MINUS_ZERO_INIT.
105 (plus_infty): Initialize with PLUS_INFTY_INIT.
106 (minus_infty): Initialize with MINUS_INFTY_INIT.
107 (qnan_value): Initialize with QNAN_VALUE_INIT.
108 (max_value): Initialize with MAX_VALUE_INIT.
109 (min_value): Initialize with MIN_VALUE_INIT.
110 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
111
ae08db3b
JM
112 * math/libm-test.inc (RUN_TEST_if_f): New macro.
113 (jn_test): Use TEST_if_f instead of TEST_ff_f.
114 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
115 (yn_test): Use TEST_if_f instead of TEST_ff_f.
116
f44bf14a
JM
117 * math/libm-test.inc (RUN_TEST_f_f): New macro.
118 (RUN_TEST_2_f): Likewise.
119 (RUN_TEST_ff_f): Likewise.
120 (RUN_TEST_fi_f): Likewise.
121 (RUN_TEST_fl_f): Likewise.
122 (RUN_TEST_fff_f): Likewise.
123 (RUN_TEST_c_f): Likewise.
124 (RUN_TEST_f_f1): Likewise.
125 (RUN_TEST_fF_f1): Likewise.
126 (RUN_TEST_fI_f1): Likewise.
127 (RUN_TEST_ffI_f1): Likewise.
128 (RUN_TEST_c_c): Likewise.
129 (RUN_TEST_cc_c): Likewise.
130 (RUN_TEST_f_i): Likewise.
131 (RUN_TEST_f_i_tg): Likewise.
132 (RUN_TEST_ff_i_tg): Likewise.
133 (RUN_TEST_f_b): Likewise.
134 (RUN_TEST_f_b_tg): Likewise.
135 (RUN_TEST_f_l): Likewise.
136 (RUN_TEST_f_L): Likewise.
137 (RUN_TEST_sincos): Likewise.
138 * math/gen-libm-test.pl (new_test): Take new argument to indicate
139 whether to show exceptions. Do not include ");\n" in return
140 value.
141 (special_functions): Output call to RUN_TEST_sincos instead of
142 check_float calls. Update calls to new_test.
143 (parse_args): Output call to single RUN_TEST_* macro instead of
144 check_* calls and other assignments. Update calls to new_test.
145
d8cd06db
JM
146 [BZ #2546]
147 [BZ #2560]
148 [BZ #5159]
149 [BZ #15426]
150 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
151 input to result for tgamma overflow.
152 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
153 (gamma_coeff): New variable.
154 (NCOEFF): New macro.
155 (gamma_positive): New function.
156 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
157 underflow here. Use gamma_positive instead of exp (lgamma) for
158 other arguments.
159 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
160 (gamma_coeff): New variable.
161 (NCOEFF): New macro.
162 (gammaf_positive): New function.
163 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
164 underflow here. Use gamma_positive instead of exp (lgamma) for
165 other arguments.
166 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
167 (gamma_coeff): New variable.
168 (NCOEFF): New macro.
169 (gammal_positive): New function.
170 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
171 underflow here. Use gamma_positive instead of exp (lgamma) for
172 other arguments.
173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
174 (gamma_coeff): New variable.
175 (NCOEFF): New macro.
176 (gammal_positive): New function.
177 (__ieee754_gammal_r): Handle positive infinity, overflow and
178 underflow here. Handle NaN the same as positive infinity. Remove
179 check x < 0xffffffff for negative integers. Use gamma_positive
180 instead of exp (lgamma) for other arguments.
181 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
182 (gamma_coeff): New variable.
183 (NCOEFF): New macro.
184 (gammal_positive): New function.
185 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
186 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
187 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
188 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
189 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
190 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
191 * sysdeps/generic/math_private.h (__gamma_productf): New
192 prototype.
193 (__gamma_product): Likewise.
194 (__gamma_productl): Likewise.
195 * math/Makefile (libm-calls): Add gamma_product.
196 * math/libm-test.inc (tgamma_test): Add more tests.
197 * sysdeps/i386/fpu/libm-test-ulps: Update.
198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
199
bb7cf681
OB
2002013-05-08 Ondřej Bílka <neleai@seznam.cz>
201
202 * benchtests/bench-skeleton.c (main): Preheat CPU.
203
ba853947
AJ
2042013-05-07 Aurelien Jarno <aurelien@aurel32.net>
205
206 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
207
8347c74c
RM
2082013-05-07 Roland McGrath <roland@hack.frob.com>
209
210 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
211 and _dl_skip_args_internal.
212
e8dd4791
CD
2132013-05-07 Carlos O'Donell <carlos@redhat.com>
214
215 * manual/message.texi (Message Translation): Talk about users.
216 Message to key mapping impacts design.
217
c7405830
RM
2182013-05-06 Roland McGrath <roland@hack.frob.com>
219
a9173057
RM
220 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
221
976e2f03
RM
222 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
223
9723ffc5
RM
224 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
225 * sysdeps/wordsize-64/glob64.c: ... here.
226
962e6658
RM
227 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
228 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
229 New macros.
230
ee586a6d
RM
231 * debug/getlogin_r_chk.c: Moved to ...
232 * login/getlogin_r_chk.c: ... here.
233 * debug/Makefile (routines): Move getlogin_r_chk to ...
234 * login/Makefile (routines): ... here.
235 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
236 * login/Versions (libc: GLIBC_2.4): ... here.
237
355f9165
RM
238 * io/poll.c (__poll): Renamed from poll.
239 Add libc_hidden_def.
240 (poll): Define as weak alias.
241
bd9ffde6
RM
242 * debug/ptsname_r_chk.c: Moved to ...
243 * login/ptsname_r_chk.c: ... here.
244 * debug/Makefile (routines): Move ptsname_r_chk to ...
245 * login/Makefile (routines): ... here.
246 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
247 * login/Versions (libc: GLIBC_2.4): ... here.
248
8fb16a04
RM
249 * posix/getlogin.c: Moved to ...
250 * login/getlogin.c: ... here.
251 * posix/getlogin_r.c: Moved to ...
252 * login/getlogin_r.c: ... here.
253 * posix/getlogin_r.c: Moved to ...
254 * login/getlogin_r.c: ... here.
255 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
256 * login/Makefile (routines): ... here.
257 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
258 * login/Versions (libc: GLIBC_2.0): ... here.
259
b99b892f
RM
260 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
261 (setrlimit): Define as weak alias.
262
c7405830
RM
263 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
264 Call __ names for open, ftruncate, and close.
265 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
266 (truncate): Define as weak alias.
267
5bf96de5
JM
2682013-05-06 Joseph Myers <joseph@codesourcery.com>
269
9ea3513c
JM
270 * math/gen-libm-test.pl (parse_args): Initialize x before each
271 test of frexp, modf and remquo.
272
5bf96de5
JM
273 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
274 test signgam value.
275
16e616a7
AZ
2762013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277
278 [BZ #15418]
279 [BZ #15419]
280 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
281 internal tests.
282 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
283
d5e82754
RM
2842013-05-06 Roland McGrath <roland@hack.frob.com>
285
286 * elf/dl-writev.h: New file.
287 * elf/dl-misc.c: Include it.
288 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
289 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
290
a7548d41
JM
2912013-05-04 Joseph Myers <joseph@codesourcery.com>
292
b7dab1e4
JM
293 * math/libm-test.inc (noXFails): Remove variable.
294 (noXPasses): Likewise.
295 (BUILD_COMPLEX_INT): Remove macro.
296 (print_screen): Remove xfail argument.
297 (print_screen_max_error): Likewise.
298 (update_stats): Likewise.
299 (print_max_error): Likewise. Update calls to other affected
300 functions.
301 (print_complex_max_error): Likewise.
302 (test_single_exception): Update calls to print_screen.
303 (test_single_errno): Likewise.
304 (check_float_internal): Remove xfail argument. Update calls to
305 other affected functions.
306 (check_float): Likewise.
307 (check_complex): Likewise.
308 (check_int): Likewise.
309 (check_long): Likewise.
310 (check_bool): Likewise.
311 (check_longlong): Likewise.
312 (main): Don't print noXFails and noXPasses.
313 * math/gen-libm-test.pl (top level): Don't mention expected
314 failure handling in comment.
315 (new_test): Don't handle expected failures.
316 (parse_args): Don't mention expected failure handling in comment.
317 (generate_testfile): Don't handle expected failures.
318 (parse_ulps): Likewise.
319 (print_ulps_file): Likewise.
320 (get_failure): Remove function.
321 (output_test): Don't handle expected failures.
322 * make/README.libm-test: Don't mention expected failure handling.
323
a7548d41
JM
324 * math/libm-test.inc (plus_zero): Make const. Add initializer.
325 (minus_zero): Likewise.
326 (plus_infty): Likewise.
327 (minus_infty): Likewise.
328 (qnan_value): Likewise.
329 (max_value): Likewise.
330 (min_value): Likewise.
331 (min_subnorm_value): Likewise.
332 (initialize): Do not initialize those variables dynamically.
333
60bfd54c
RM
3342013-05-03 Roland McGrath <roland@hack.frob.com>
335
cc0e6ed8
RM
336 * io/open.c (__open_2): Moved to ...
337 * io/open_2.c: ... this new file.
338 * io/open64.c (__open64_2): Moved to ...
339 * io/open64_2.c: ... this new file.
340 * io/openat.c (__openat_2): Moved to ...
341 * io/openat_2.c: ... this new file.
342 * io/openat64.c (__openat64_2): Moved to ...
343 * io/openat64_2.c: ... this new file.
344 * io/Makefile (routines): Add them.
345 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
346 * sysdeps/unix/sysv/linux/open_2.c: File removed.
347 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
348 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
349 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
350 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
351 (__openat64): Add hidden_ver.
352 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
353 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
354
60bfd54c
RM
355 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
356 Separately conditionalize setting of GLRO(dl_sysinfo) so
357 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
358 as well, but the actual setting is only under [NEED_DL_SYSINFO].
359
83e7640f
AZ
3602013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
361
362 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
363 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
364 definition.
365 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
366 * sysdeps/unix/sysv/linux/powerpc/init-first.c
367 (_libc_vdso_platform_setup): Add __vdso_time initialization.
368 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
369 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
370
d5dc2af3
JM
3712013-05-03 Joseph Myers <joseph@codesourcery.com>
372
c31a5b1e
JM
373 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
374 test signgam value.
375
d5dc2af3
JM
376 * math/libm-test.inc (hypot_test): Do not use
377 IGNORE_ZERO_INF_SIGN.
378
164fd39d
AJ
3792013-05-03 Andreas Jaeger <aj@suse.de>
380
381 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
382 Linux 3.9.
383 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
384 (PF_MAX): Adjust for VSOCK change.
385
8237f48c
AZ
3862013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
387
388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
389
9df02941
CD
3902013-05-02 Carlos O'Donell <carlos@redhat.com>
391
392 [BZ #15264]
393 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
394 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
395 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
396
d422395e
DM
3972013-05-02 David S. Miller <davem@davemloft.net>
398
399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
400
a07c5731
OB
4012013-05-01 Ondřej Bílka <neleai@seznam.cz>
402
403 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
404
1324e37f
RM
4052013-05-01 Roland McGrath <roland@hack.frob.com>
406
407 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
408
0695940b
RS
4092013-05-01 Richard Smith <richard@metafoo.co.uk>
410
bb5f27ad 411 [BZ #14952]
0695940b
RS
412 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
413 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
414 Use __attribute__ ((__gnu_inline__)).
415 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
416 Don't use __attribute__ ((__gnu_inline__)).
417
10de07f5
JM
4182013-05-01 Joseph Myers <joseph@codesourcery.com>
419
420 [BZ #15423]
421 * math/s_catan.c (__catan): Handle small real or imaginary part of
422 input specially to avoid spurious underflow.
423 * math/s_catanf.c (__catanf): Likewise.
424 * math/s_catanh.c (__catanh): Likewise.
425 * math/s_catanhf.c (__catanhf): Likewise.
426 * math/s_catanhl.c (__catanhl): Likewise.
427 * math/s_catanl.c (__catanl): Likewise.
428 * math/libm-test.inc (catan_test): Add more tests.
429 (catanh_test): Likewise.
430 * sysdeps/i386/fpu/libm-test-ulps: Update.
431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
432
cb4d5414
AZ
4332013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
434
435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
436
caf84319
JM
4372013-04-30 Joseph Myers <joseph@codesourcery.com>
438
439 [BZ #15416]
440 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
441 accurately for denominator in atan2.
442 * math/s_catanf.c (__catanf): Likewise.
443 * math/s_catanh.c (__catanh): Likewise.
444 * math/s_catanhf.c (__catanhf): Likewise.
445 * math/s_catanhl.c (__catanhl): Likewise.
446 * math/s_catanl.c (__catanl): Likewise.
447 * math/libm-test.inc (catan_test): Add more tests.
448 (catanh_test): Likewise.
449 * sysdeps/i386/fpu/libm-test-ulps: Update.
450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
451
d569c6ee
SP
4522013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
453
6dbe713d
SP
454 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
455
f0ee064b
SP
456 * benchtests/Makefile (bench): Remove slow benchmarks.
457 * benchtests/atan-inputs: Add slow benchmark inputs.
458 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
459 (BENCH_FUNC): Accept variant offset.
460 (VARIANT): Define.
461 * benchtests/bench-skeleton.c (main): Run benchmark for each
462 variant.
463 * benchtests/cos-inputs: Add slow benchmark inputs.
464 * benchtests/exp-inputs: Likewise.
465 * benchtests/pow-inputs: Likewise.
466 * benchtests/sin-inputs: Likewise.
467 * benchtests/slowatan-inputs: Remove.
468 * benchtests/slowatan.c: Remove.
469 * benchtests/slowcos-inputs: Remove.
470 * benchtests/slowcos.c: Remove.
471 * benchtests/slowexp-inputs: Remove.
472 * benchtests/slowexp.c: Remove.
473 * benchtests/slowpow-inputs: Remove.
474 * benchtests/slowpow.c: Remove.
475 * benchtests/slowsin-inputs: Remove.
476 * benchtests/slowsin.c: Remove.
477 * benchtests/slowtan-inputs: Remove.
478 * benchtests/slowtan.c: Remove.
479 * benchtests/tan-inputs: Add slow benchmark inputs.
480 * scripts/bench.pl: Parse comments and directives.
481
d569c6ee
SP
482 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
483 in CPPFLAGS.
484 ($(objpfx)bench-%.c): Remove *-ITER.
485 * benchtests/bench-modf.c: Remove definition of ITER.
486 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
487 (main): Loop for DURATION seconds instead of fixed number of
488 iterations.
489 * scripts/bench.pl: Don't expect iterations in parameters.
490
a6a242fe
RM
4912013-04-29 Roland McGrath <roland@hack.frob.com>
492
493 * io/fchdir.c (__fchdir): Renamed from fchdir.
494 (fchdir): Define as weak alias.
495
f2da7793
JM
4962013-04-29 Joseph Myers <joseph@codesourcery.com>
497
498 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
499 (ERRNO_EDOM): Likewise.
500 (ERRNO_ERANGE): Likewise.
501 (noErrnoTests): New variable.
502 (init_max_error): Set errno to 0.
503 (test_single_errno): New function.
504 (test_errno): Likewise.
505 (check_float_internal): Call test_errno. Set errno to 0.
506 (check_complex): Refer to errno tests in comment.
507 (check_int): Call test_errno. Set errno to 0.
508 (check_long): Likewise.
509 (check_bool): Likewise.
510 (check_longlong): Likewise.
511 (cos_test): Use ERRNO_* flags for errno tests instead of
512 check_int.
513 (expm1_test): Likewise.
514 (fmod_test): Likewise.
515 (ilogb_test): Likewise.
516 (lgamma_test): Likewise.
517 (pow_test): Likewise.
518 (remainder_test): Likewise.
519 (sin_test): Likewise.
520 (tan_test): Likewise.
521 (yn_test): Likewise.
522 (initialize): Set errno to 0.
523 (main): Print number of errno tests.
524 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
525
b1a36ceb
AJ
5262013-04-29 Andreas Jaeger <aj@suse.de>
527
c3ed8088
AJ
528 [BZ #15084]
529 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
530 and RES_USEVC.
531
f1a24198
AJ
532 [BZ #15085]
533 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
534 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
535 unimplemented.
536
9ce3b2cb
AJ
537 [BZ #15380]
538 * stdlib/random.c (__initstate): Return NULL if
539 __initstate fails.
540
f1a24198 541 [BZ #15086]
b1a36ceb
AJ
542 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
543 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
544 RES_SNGLKUPREOP.
545
7e7b6f36
AZ
5462013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
547
548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
549
4d14f449
JM
5502013-04-29 Joseph Myers <joseph@codesourcery.com>
551
552 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
553 of individual tests.
554 (casin_test): Likewise.
555 (casinh_test): Likewise.
556
5b4217d7
JM
5572013-04-27 Joseph Myers <joseph@codesourcery.com>
558
559 [BZ #15409]
560 * math/s_catan.c (__catan): Handle arguments with large real or
561 imaginary part separately without squaring.
562 * math/s_catanf.c (__catanf): Likewise.
563 * math/s_catanh.c (__catanh): Likewise.
564 * math/s_catanhf.c (__catanhf): Likewise.
565 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
566 and redefine.
567 (__catanhl): Handle arguments with large real or imaginary part
568 separately without squaring.
569 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
570 and redefine.
571 (__catanl): Handle arguments with large real or imaginary part
572 separately without squaring.
573 * math/libm-test.inc (catan_test): Add more tests.
574 (catanh_test): Likewise.
575 * sysdeps/i386/fpu/libm-test-ulps: Update.
576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
577
4220c3ef
AJ
5782013-04-27 Andreas Jaeger <aj@suse.de>
579
580 [BZ #15007]
581 * stdlib/stdlib.h: Update guards for qecvt.
582 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
583 <stdlib.h>.
584
4721b2d1
AM
5852013-04-27 Allan McRae <allan@archlinux.org>
586
587 * sysdeps/i386/fpu/libm-test-ulps: Update.
588
f0302940
JM
5892013-04-26 Joseph Myers <joseph@codesourcery.com>
590
9457fd95
JM
591 [BZ #15406]
592 * math/s_catan.c: Include <float.h>.
593 (__catan): Ensure underflow exception occurs for underflowed
594 result.
595 * math/s_catanf.c: Include <float.h>.
596 (__catanf): Ensure underflow exception occurs for underflowed
597 result.
598 * math/s_catanh.c: Include <float.h>.
599 (__catanh): Ensure underflow exception occurs for underflowed
600 result.
601 * math/s_catanhf.c: Include <float.h>.
602 (__catanhf): Ensure underflow exception occurs for underflowed
603 result.
604 * math/s_catanhl.c: Include <float.h>.
605 (__catanhl): Ensure underflow exception occurs for underflowed
606 result.
607 * math/s_catanl.c: Include <float.h>.
608 (__catanl): Ensure underflow exception occurs for underflowed
609 result.
610 * math/libm-test.inc (catan_test): Add more tests.
611 (catanh_test): Likewise.
612
f0302940
JM
613 [BZ #15405]
614 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
615 underflowed result.
616 * math/s_ccoshf.c (__ccoshf): Likewise.
617 * math/s_ccoshl.c (__ccoshl): Likewise.
618 * math/s_csin.c (__csin): Likewise.
619 * math/s_csinf.c (__csinf): Likewise.
620 * math/s_csinh.c (__csinh): Likewise.
621 * math/s_csinhf.c (__csinhf): Likewise.
622 * math/s_csinhl.c (__csinhl): Likewise.
623 * math/s_csinl.c (__csinl): Likewise.
624 * math/libm-test.inc (ccos_test): Add more tests.
625 (ccosh_test): Likewise.
626 (csin_test): Likewise.
627 (csinh_test): Likewise.
628
aa630f59
AZ
6292013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
630
631 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
632 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
633 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
634 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
635 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
636 powerpc/power5+/fpu folders.
637 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
638
639
1b835983
MT
6402013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
641
642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
643
73709b26
JM
6442013-04-25 Joseph Myers <joseph@codesourcery.com>
645
646 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
647 additions to variable.
648 [$(config-machine) = x86_64] (modules-names): Likewise.
649 ($(objpfx)tst-audit3): Remove dependency.
650 ($(objpfx)tst-audit3.out): Likewise.
651 ($(objpfx)tst-audit4): Likewise.
652 ($(objpfx)tst-audit4.out): Likewise.
653 ($(objpfx)tst-audit5): Likewise.
654 ($(objpfx)tst-audit5.out): Likewise.
655 ($(objpfx)tst-audit6): Likewise.
656 ($(objpfx)tst-audit6.out): Likewise.
657 ($(objpfx)tst-audit7): Likewise.
658 ($(objpfx)tst-audit7.out): Likewise.
659 (tst-audit3-ENV): Remove variable.
660 (tst-audit4-ENV): Likewise.
661 (tst-audit5-ENV): Likewise.
662 (tst-audit6-ENV): Likewise.
663 (tst-audit7-ENV): Likewise.
664 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
665 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
666 addition to variable.
667 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
668 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
669 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
670 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
671 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
672 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
673 tst-audit3, tst-audit4 and tst-audit5.
674 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
675 tst-audit6 and tst-audit7.
676 [$(subdir) = elf] (modules-names): Add audit modules for those
677 tests.
678 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
679 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
680 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
681 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
682 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
683 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
684 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
685 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
686 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
687 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
688 [$(subdir) = elf] (tst-audit3-ENV): New variable.
689 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
690 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
691 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
692 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
693 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
694 Likewise.
695 [$(subdir) = elf && $(config-cflags-avx) = yes]
696 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
697 [$(subdir) = elf && $(config-cflags-avx) = yes]
698 (CFLAGS-tst-auditmod4a.c): Likewise.
699 [$(subdir) = elf && $(config-cflags-avx) = yes]
700 (CFLAGS-tst-auditmod4b.c): Likewise.
701 [$(subdir) = elf && $(config-cflags-avx) = yes]
702 (CFLAGS-tst-auditmod6b.c): Likewise.
703 [$(subdir) = elf && $(config-cflags-avx) = yes]
704 (CFLAGS-tst-auditmod6c.c): Likewise.
705 [$(subdir) = elf && $(config-cflags-avx) = yes]
706 (CFLAGS-tst-auditmod7b.c): Likewise.
707 * elf/tst-audit3.c: Move to ...
708 * sysdeps/x86_64/tst-audit3.c: ... here.
709 * elf/tst-audit4.c: Move to ...
710 * sysdeps/x86_64/tst-audit4.c: ... here.
711 * elf/tst-audit5.c: Move to ...
712 * sysdeps/x86_64/tst-audit5.c: ... here.
713 * elf/tst-audit6.c: Move to ...
714 * sysdeps/x86_64/tst-audit6.c: ... here.
715 * elf/tst-audit7.c: Move to ...
716 * sysdeps/x86_64/tst-audit7.c: ... here.
717 * elf/tst-auditmod3a.c: Move to ...
718 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
719 * elf/tst-auditmod3b.c: Move to ...
720 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
721 * elf/tst-auditmod4a.c: Move to ...
722 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
723 * elf/tst-auditmod4b.c: Move to ...
724 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
725 * elf/tst-auditmod5a.c: Move to ...
726 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
727 * elf/tst-auditmod5b.c: Move to ...
728 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
729 * elf/tst-auditmod6a.c: Move to ...
730 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
731 * elf/tst-auditmod6b.c: Move to ...
732 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
733 * elf/tst-auditmod6c.c: Move to ...
734 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
735 * elf/tst-auditmod7a.c: Move to ...
736 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
737 * elf/tst-auditmod7b.c: Move to ...
738 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
739
1ef74943
PP
7402013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
741
742 [BZ #15366]
743 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
744 define unconditionally.
745 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
746 define unconditionally.
747 (INT8_C, INT16_C, etc.): Likewise.
748
93fd48c5
MR
7492013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
750
ae9552cf
MR
751 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
752 __ehdr_start with hidden visibility.
753
93fd48c5
MR
754 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
755
418601aa
CD
7562013-04-24 Carlos O'Donell <carlos@redhat.com>
757
758 * math/libm-test.inc (cos_test): Use accurate hex constants.
759 (sincost_test): Likewise.
760
2f38fbfe
JM
7612013-04-24 Joseph Myers <joseph@codesourcery.com>
762
5e221800
JM
763 * math/libm-test.inc (catan_test): Add more tests.
764 (catanh_test): Likewise.
765
77f143fd
JM
766 * math/s_catanf.c (__catanf): Use suffixed floating-point
767 constants.
768 * math/s_catanhf.c (__catanhf): Likewise.
769 * math/s_catanhl.c (__catanhl): Likewise.
770 * math/s_catanl.c (__catanl): Likewise.
771
2f38fbfe
JM
772 [BZ #15394]
773 * math/s_catan.c (__catan): Calculate imaginary part of result
774 with log1p not log unless computing log of number close to 0.
775 * math/s_catanf.c (__catanf): Likewise.
776 * math/s_catanl.c (__catanl): Likewise.
777 * math/s_catanh.c (__catanh): Calculate real part of result with
778 log1p not log unless computing log of number close to 0.
779 * math/s_catanhf.c (__catanhf): Likewise.
780 * math/s_catanhl.c (__catanhl): Likewise.
781 * math/libm-test.inc (catan_test): Add more tests.
782 (catanh_test): Likewise.
783 * sysdeps/i386/fpu/libm-test-ulps: Update.
784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
785
45d69176
SP
7862013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
787
788 * benchtests/Makefile: Mention files in which fast and slow
789 paths of math functions are implemented.
790
87f51853
RM
7912013-04-23 Roland McGrath <roland@hack.frob.com>
792
793 * sysdeps/posix/timespec_get.c: New file.
794
3c026539
AZ
7952013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
796
797 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
798 POWER.
799 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
800 for POWER.
801 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
802 powerpc/power5/fpu folders.
803 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
804 * benchtests/Makefile: Add modf testcase.
805 * benchtests/bench-modf.c: New file: Benchmark test for mo
806
ff491d14
SP
8072013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
808
809 [BZ #14888]
810 * time/Makefile (tests): Add tst-strptime-whitespace.
811 * time/strptime_l.c (get_number): Use ISSPACE.
812 (__strptime_internal): Likewise.
813 * time/tst-strptime-whitespace.c: New test case.
814
7ed3f4e8
AS
8152013-04-23 Andreas Schwab <schwab@linux-m68k.org>
816
817 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
818 member.
819 (_nss_files_init): Set it here.
820
5c95f7b6
HC
8212013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
822
823 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
824 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
825 unsigned.
826
d34c9158
JBG
8272013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
828
829 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
830
2169712d
SP
8312013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
832
833 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
834 size just once.
835
29c5de99
DM
8362013-04-21 David S. Miller <davem@davemloft.net>
837
838 * po/ru.po: Update Russion translation from translation project.
839
ccdad15d
AC
8402013-04-17 Adam Conrad <adconrad@0c3.net>
841
842 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
843 and setfsgid.
844
0f122b8d
CD
8452013-04-17 Carlos O'Donell <carlos@redhat.com>
846
5c5b07da 847 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 848 * configure: Regenerate.
5c5b07da 849 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
850 Add example to error message.
851 * sysdeps/i386/configure: Regenerate.
852
037714dd
SP
8532013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
854
855 * benchtests/Makefile (bench): Add cos, tan, slowcos and
856 slowtan.
857 * benchtests/cos-inputs: New file.
858 * benchtests/slowcos-inputs: New file.
859 * benchtests/slowcos.c: New file.
860 * benchtests/slowtan-inputs: New file.
861 * benchtests/slowtan.c: New file.
862 * benchtests/tan-inputs: New file.
863
e913141d
RM
8642013-04-16 Roland McGrath <roland@hack.frob.com>
865
866 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
867 considered kosher.
868
a2964074
SP
8692013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
870
4856bcd2
SP
871 * benchtests/Makefile: Include cppflags-iterator.mk to add
872 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
873
a2964074
SP
874 * Makefile.in (bench-clean): New target.
875 * benchtests/Makefile (bench-clean): Likewise.
876
9fbf9aca
DH
8772013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
878
879 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
880
207d1e2a
TS
8812013-04-15 Thomas Schwinge <thomas@codesourcery.com>
882
883 * stdio-common/tstdiomisc.c: Fix coding-style violation.
884
306dfba9
AS
8852013-04-15 Andreas Schwab <schwab@suse.de>
886
887 * nscd/grpcache.c (cache_addgr): Properly check for short write.
888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
889 * nscd/pwdcache.c (cache_addpw): Likewise.
890 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
891 more than recsize.
892
206a6699
SP
8932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
894
895 * benchtests/Makefile (bench): Write all output to
896 bench-out.tmp together.
897
0582f6b3
AS
8982013-04-15 Andreas Schwab <schwab@suse.de>
899
900 * nscd/nscd.c (main): Don't fork again after closing files.
901
acb4325f
SP
9022013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
903
5cb26d0a
SP
904 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
905
acb4325f
SP
906 * benchtests/Rules (bench-deps): Collect dependencies into a
907 single variable. Add Makefile to dependencies.
908 ($(objpfx)bench-%.c): Depend on bench-deps.
909
47792506
RM
9102013-04-12 Roland McGrath <roland@hack.frob.com>
911 Xavier Roche <roche+kml2@exalead.com>
912
913 [BZ #15361]
914 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
915 just that it's a file descriptor.
916 * manual/llio.texi (Synchronizing AIO Operations): Update description
917 for EBADF error from aio_fsync.
918
8fc1bee5
SP
9192013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
920
921 * Rules (bench): Move target definition...
922 * benchtests/Makefile: ... here.
923
aba5e333
CD
9242013-04-11 Carlos O'Donell <carlos@redhat.com>
925
926 * math/libm-test.inc (cos_test): Fix PI/2 test.
927 (sincos_test): Likewise.
928 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
929 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
930
273cdee8
AS
9312013-04-11 Andreas Schwab <schwab@suse.de>
932
6ecec3b6
AS
933 [BZ #13988]
934 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
935 accept exponent character only when digits were seen.
936 * stdio-common/Makefile (tests): Add bug26.
937 * stdio-common/bug26.c: New file.
938
273cdee8
AS
939 [BZ #14293]
940 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
941 non-freeable.
942
8da491f5
SP
9432013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
944
01dc6df9
SP
945 * Makeconfig (rtld-prefix): Define built linker prefix.
946 * Rules (run-bench): Use it.
947 * math/Makefile (run-regen-ulps): Likewise.
948
8da491f5
SP
949 * Rules (bench): Remove eval.
950
abe7f530
SP
9512013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
952 Roland McGrath <roland@hack.frob.com>
953 Ondrej Bilka <neleai@seznam.cz>
954
955 [BZ #15346]
956 * time/getdate.c: Include ctype.h and alloca.h.
957 (__getdate_r): Trim leading and trailing spaces of input.
958 * time/tst-getdate.c (tests): Add tests with leading and
959 trailing spaces.
960
61c23e62
RM
9612013-04-08 Roland McGrath <roland@hack.frob.com>
962
963 [BZ #14280]
964 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
965 when computing value.
966
7208a313
CD
9672013-04-06 Carlos O'Donell <carlos@redhat.com>
968
085b2d41
CD
969 * math/README.libm-test (How can I generate "libm-test-ulps"?):
970 Use testrun.sh to run libm tests.
971
7208a313
CD
972 [BZ #15309]
973 * elf/dl-open.c (dl_open_worker): memset all of seen array.
974
872c0acd
MM
9752013-04-06 Marko Myllynen <myllynen@redhat.com>
976
977 [BZ #15264]
978 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
979
26510bdd
CD
9802013-04-06 Carlos O'Donell <carlos@redhat.com>
981
982 * Makefile.in (regen-ulps): New target.
983 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
984 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
985 [ifneq (no,$(PERL)] (regen-ulps): New target.
986 [ifeq (no,$(PERL)] (regen-ulps): New target.
987 * math/libm-test.inc (ulps_file_name): Define.
988 (output_dir): New variable.
989 (options): Add "output-dir" option.
990 (parse_opt): Handle 'o' case.
991 (main): If output_dir is non-NULL use it as a prefix
992 otherwise use "".
993 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
994
a01f19c8
CD
9952013-04-06 Carlos O'Donell <carlos@redhat.com>
996
997 [BZ #10060, #10062]
998 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
999 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1000 fail configure if __sync_val_compare_and_swap is not inlined.
1001 * sysdeps/i386/configure: Regenerate.
1002 * configure.in: Build for i686 when configured for i386.
1003 * configure: Regenerate.
1004 * README: Remove i386 reference.
1005
b7a329a5
CD
10062013-04-06 Carlos O'Donell <carlos@redhat.com>
1007
1008 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1009 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1010
bf0f50df
TS
10112013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1012
ee091edf
TS
1013 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1014 (lmsnanval): New variables.
1015 (F): Add conversion tests.
1016 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1017 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1018
a8b792d6
TS
1019 * stdio-common/tstdiomisc.c (F): Properly collect individual
1020 tests' results.
1021
a1cbf437
TS
1022 [BZ #14686, #15336]
1023 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1024 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1025 Instead, use input NaN values or generate a qNaN by arithmetic
1026 operation. Also fix bugs to comply with the standard.
1027 * math/libm-test.inc (remainder_test): Add more tests.
1028
8b43a0c9
TS
1029 [BZ #15335, #15342]
1030 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1032 input NaN values or generate a qNaN by arithmetic operation.
1033
d91da4ce
TS
1034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1035 unreachable code.
1036
bf0f50df
TS
1037 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1038 definitions.
1039
05e166c8
JM
10402013-04-03 Joseph Myers <joseph@codesourcery.com>
1041
1042 [BZ #14478]
1043 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1044 underflowed result.
1045 * math/s_cexpf.c (__cexpf): Likewise.
1046 * math/s_cexpl.c (__cexpl): Likewise.
1047 * math/libm-test.inc (cexp_test): Add more tests.
1048
1cef1b19
AS
10492013-04-03 Andreas Schwab <schwab@suse.de>
1050
1051 [BZ #15330]
1052 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1053 order arrays from heap if bigger than alloca cutoff.
1054
74d87055
TS
10552013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1056
1057 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1058 (SNAN_TESTS_double): Refer to GCC PR56831.
1059 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1060 GCC PR56828.
1061
d755bba4
SP
10622013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1063
90d5d5bb
SP
1064 * Rules (bench): Move bench.out after the run is complete.
1065
73e0cd5d
SP
1066 * Rules (bench): Echo currently running benchmark.
1067
64aabd4b
SP
1068 * benchtests/Makefile (bench): Add atan and slowatan.
1069 * benchtests/atan-inputs: New file.
1070 * benchtests/slowatan-inputs: New file.
1071 * benchtests/slowatan.c: New file.
1072
c871eccd
SP
1073 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1074 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1075 its value.
1076
d755bba4
SP
1077 [BZ #15305]
1078 * sysdeps/unix/sysv/linux/kernel-features.h
1079 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1080 __ASSUME_XFS_RESTRICTED_CHOWN.
1081 * sysdeps/unix/sysv/linux/pathconf.c
1082 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1083 Save and restore errno.
1084
52ce4860
JM
10852013-04-02 Joseph Myers <joseph@codesourcery.com>
1086
1087 [BZ #15327]
1088 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1089 arguments using __kernel_casinh.
1090 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1091 arguments using __kernel_casinhf.
1092 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1093 arguments using __kernel_casinhl.
1094 * math/libm-test.inc (cacosh_test): Add more tests.
1095 * sysdeps/i386/fpu/libm-test-ulps: Update.
1096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1097
81f311c2
SP
10982013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1099
e7906a47
SP
1100 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1102
92e3664b
SP
1103 * bench/Makefile (bench): Add sin and slowsin.
1104 * benchtests/sin-inputs: New file.
1105 * benchtests/slowsin-inputs: New file.
1106 * benchtests/slowsin.c: New file.
1107
81f311c2
SP
1108 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1109 (bench): Add slowexp and slowpow.
1110 (exp-ITER): Increase iterations.
1111 (pow-ITER): Likewise.
1112 * benchtests/exp-inputs: Change input.
1113 * benchtests/pow-inputs: Likewise.
1114 * benchtests/slowexp-inputs: New file.
1115 * benchtests/slowexp.c: New file.
1116 * benchtests/slowpow-inputs: New file.
1117 * benchtests/slowpow.c: New file.
1118
ab0f1aa9
AZ
11192013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1120
1121 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1122 instructions.
1123 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1124 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1125 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1126 * benchtests/Makefile: Add rint benchtest.
1127 * benchtests/rint-inputs: Input for rint benchtest.
1128
57267616
TS
11292013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1130
1131 * Versions.def (libm): Add GLIBC_2.18.
1132 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1133 hidden libm prototypes.
1134 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1135 * math/Makefile (libm-calls): Add s_issignaling.
1136 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1137 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1138 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1139 declaration.
1140 * math/math.h [__USE_GNU] (issignaling): New macro.
1141 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1142 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1143 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1144 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1145 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1146 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1147 * manual/arith.texi (issignaling): New section.
1148 * manual/libm-err-tab.pl (@all_functions): Update comment.
1149 * math/gen-libm-test.pl (parse_args): Apply special handling for
1150 issignaling.
1151 * math/libm-test.inc (print_float, issignaling_test): New
1152 functions.
1153 (check_float_internal): Add issignaling checks.
1154 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1155 default definition.
1156 * sysdeps/powerpc/math-tests.h: New file.
1157 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1158 tests.
1159 * math/test-snan.c (TEST_FUNC): Likewise.
1160
6142896d
DM
11612013-03-30 David S. Miller <davem@davemloft.net>
1162
1163 * po/de.po: Update from translation team.
1164
ccc8cadf
JM
11652013-03-30 Joseph Myers <joseph@codesourcery.com>
1166
1167 [BZ #10357]
1168 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1169 imaginary part less than 1.0 and real part less than 0.5
1170 specially.
1171 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1172 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1173 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1174 (cacos_test): Add more tests.
1175 (casin_test): Likewise.
1176 (casinh_test): Likewise.
1177 * sysdeps/i386/fpu/libm-test-ulps: Update.
1178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1179
0f6a8d4b
SP
11802013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1181
0d1029de
SP
1182 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1183 ONE with its value.
1184
c2d94018
SP
1185 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1186 (__pow_mp): Replace ONE and MONE with their values.
1187 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1188 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1189 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1190 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1191 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1192 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1193
27ec37f1
SP
1194 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1195
a64d7e0e
SP
1196 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1197 (__pow_mp): Replace ZERO and MZERO with their values.
1198 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1199 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1200 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1202 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1203 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1204 (__sqr): Likewise.
1205
d26dd3eb
SP
1206 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1207
0f6a8d4b
SP
1208 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1209
e57b0c61
RM
12102013-03-28 Roland McGrath <roland@hack.frob.com>
1211
1212 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1213 Declare with __attribute__ ((weak)).
1214 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1215 Call __call_tls_dtors only if it's not NULL.
1216
356b3480
RM
12172013-03-28 Roland McGrath <roland@hack.frob.com>
1218
288f7d79
RM
1219 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1220 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1221 magic __ehdr_start linker symbol if it's defined.
1222 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1223 them up here if it was already done.
1224
dc0a0263
RM
1225 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1226 (_dl_aux_init): Use const in cast when setting it.
1227 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1228 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1229 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1230
3d3436ae
RM
1231 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1232 Declare them here.
1233 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1234 * csu/libc-tls.c: Nor here.
1235 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1236
356b3480
RM
1237 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1238 (__libc_message): Never call vsyslog.
1239
b0f1246a
AM
12402013-03-28 Alan Modra <amodra@gmail.com>
1241
1242 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1243 Define as empty.
1244 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1245 Likewise.
1246
fbbe2b9a
AZ
12472013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1248
1249 [BZ #15214]
1250 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1251 underflow.
1252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1253
1728ab37
SP
12542013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1255
7a86be6e
SP
1256 [BZ #15304]
1257 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1258 Don't add gid passed as argument.
1259
1728ab37
SP
1260 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1261
3a7182a1
JM
12622013-03-27 Joseph Myers <joseph@codesourcery.com>
1263
1264 [BZ #15307]
1265 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1266 imaginary part between 1.0 and 1.5 and real part less than 0.5
1267 specially.
1268 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1269 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1270 * math/libm-test.inc (cacos_test): Add more tests.
1271 (casin_test): Likewise.
1272 (casinh_test): Likewise.
1273 * sysdeps/i386/fpu/libm-test-ulps: Update.
1274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1275
6f2e90e7
SP
12762013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1277
5739f705
SP
1278 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1279 constants.
1280 (norm): Likewise.
1281 (denorm): Likewise.
1282 (__dbl_mp): Likewise.
1283 (add_magnitudes): Likewise.
1284 (sub_magnitudes): Likewise.
1285 (__add): Likewise.
1286 (__sub): Likewise.
1287 (__mul): Likewise.
1288 (__sqr): Likewise.
1289 (__inv): Likewise.
1290 (__dvd): Likewise.
1291
e375e83d
SP
1292 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1293 commented code.
1294 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1295 (__dubcos): Likewise.
1296 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1297 (__ieee754_acos): Likewise.
1298 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1299 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1300 (__exp1): Likewise.
1301 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1303 (log1): Likewise.
1304 (my_log2): Likewise.
1305 (checkint): Likewise.
1306 * sysdeps/ieee754/dbl-64/e_remainder.c
1307 (__ieee754_remainder): Likewise.
1308 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1309 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1310 (bsloww): Likewise.
1311 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1312
6f2e90e7
SP
1313 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1314 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1315 MANTISSA_STORE_T to store computations on mantissa. Use
1316 macros for rounding and division.
1317 (denorm): Likewise.
1318 (__dbl_mp): Likewise.
1319 (add_magnitudes): Likewise.
1320 (sub_magnitudes): Likewise.
1321 (__mul): Likewise.
1322 (__sqr): Likewise.
1323 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1324 powers of two in terms of TWOPOW macro.
1325 (mp_no): Make type of mantissa as MANTISSA_T.
1326 [!RADIXI]: Define RADIXI.
1327 [!TWO52]: Define TWO52.
1328 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1329
fce14d4e
AZ
13302013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1331
1332 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1333 llroundl symbol when building for PPC32.
1334
9ad027fb
MW
13352013-03-24 Mark H Weaver <mhw@netris.org>
1336
1337 * manual/arith.texi (Normalization Functions): Fix prototypes for
1338 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1339
e42a38dd
AZ
13402013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341
1342 [BZ #13889]
1343 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1344 high value to check if expl overflow.
1345 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1346 to check for underflow and overflow.
1347 * math/libm-test.inc: Add exp test.
1348
2e0fb521
DL
13492013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1350
1351 [BZ #11120]
1352 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1353 with NOT_IN_libc.
1354
b5784d95
AZ
13552013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1356
1357 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1358 symbol.
1359
5aa4a1a1
TS
13602013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1361
bdef0be7
TS
1362 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1363 wrap blocks consisting of several statements.
1364
5aa4a1a1
TS
1365 * sysdeps/generic/math-tests.h: New file.
1366 * sysdeps/i386/fpu/math-tests.h: Likewise.
1367 * math/test-snan.c: Include it.
1368 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1369
98c48fe5
JM
13702013-03-21 Joseph Myers <joseph@codesourcery.com>
1371
1372 [BZ #15285]
1373 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1374 (__ieee754_j0l): Do not improve calculations using cos of twice
1375 input for inputs above LDBL_MAX / 2.0L.
1376 (__ieee754_y0l): Likewise.
1377 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1378 (__ieee754_j1l): Do not improve calculations using cos of twice
1379 input for inputs above LDBL_MAX / 2.0L.
1380 (__ieee754_y1l): Likewise.
1381 * math/libm-test.inc (j0_test): Add another test.
1382 (j1_test): Likewise.
1383 (y0_test): Likewise.
1384 (y1_test): Likewise.
1385 * sysdeps/i386/fpu/libm-test-ulps: Update.
1386
3775a8bc
SP
13872013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1388
1389 * Rules ($(objpfx)bench-%.c): Include code from a C source
1390 file.
1391
0a1b2ae6
JM
13922013-03-21 Joseph Myers <joseph@codesourcery.com>
1393
1394 [BZ #15287]
1395 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1396 imaginary part 1.0 and real part less than 0.5 specially.
1397 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1398 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1399 * math/libm-test.inc (cacos_test): Add more tests.
1400 (casin_test): Likewise.
1401 (casinh_test): Likewise.
1402 * sysdeps/i386/fpu/libm-test-ulps: Update.
1403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1404
b33d4ce4
SP
14052013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1406
1407 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1408 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1409
bef0b507
JM
14102013-03-20 Joseph Myers <joseph@codesourcery.com>
1411
1412 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1413 * config.make.in (config-cflags-sse4): Remove variable.
1414 (config-cflags-avx): Likewise.
1415 (config-cflags-sse2avx): Likewise.
1416 (config-cflags-novzeroupper): Likewise.
1417 (config-asflags-i686): Likewise.
1418 (have-mfma4): Likewise.
1419 (have-as-vis3): Likewise.
1420 (MIG): Likewise.
1421 * configure.in (MIG): Do not AC_SUBST.
1422 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1423 (libc_cv_cc_sse4): Do not AC_SUBST.
1424 (libc_cv_cc_avx): Likewise.
1425 (libc_cv_cc_sse2avx): Likewise.
1426 (libc_cv_cc_novzeroupper): Likewise.
1427 (libc_cv_cc_fma4): Likewise.
1428 (libc_cv_as_i686): Likewise.
1429 (libc_cv_sparc_as_vis3): Likewise.
1430 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1431 LIBC_CONFIG_VAR.
1432 (config-asflags-i686): Likewise.
1433 (config-cflags-avx): Likewise.
1434 (config-cflags-sse2avx): Likewise.
1435 (have-mfma4): Likewise.
1436 (config-cflags-novzeroupper): Likewise.
1437 * sysdeps/mach/configure.in (MIG): Likewise.
1438 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1439 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1440 LIBC_CONFIG_VAR.
1441 (config-cflags-avx): Likewise.
1442 (config-cflags-sse2avx): Likewise.
1443 (have-mfma4): Likewise.
1444 (config-cflags-novzeroupper): Likewise.
1445 * configure: Regenerated.
1446 * sysdeps/i386/configure: Likewise.
1447 * sysdeps/mach/configure: Likewise.
1448 * sysdeps/sparc/configure: Likewise.
1449 * sysdeps/x86_64/configure: Likewise.
1450
912cc4b3
RM
14512013-03-20 Roland McGrath <roland@hack.frob.com>
1452
1453 [BZ #14812]
1454 * locale/programs/localedef.c (options): Put N_ translation marker
1455 on argument names, not just descriptions.
1456
04eed2b0
MS
14572013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1458
1459 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1460
a065ceff
OB
14612013-03-20 Ondřej Bílka <neleai@seznam.cz>
1462
9bb2a810 1463 [BZ #14176]
a065ceff
OB
1464 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1465
a600e5ce
RM
14662013-03-19 Roland McGrath <roland@hack.frob.com>
1467
1468 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1469 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1470 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1471 [!BEFORE_ABORT] (before_abort): New function.
1472 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1473 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1474 (writev_for_fatal): New function.
1475 (WRITEV_FOR_FATAL): New macro; call that.
1476 (backtrace_and_maps): New function.
1477 (BEFORE_ABORT): New macro; call that.
1478 (struct str_list): Type removed.
1479 (__libc_message, __libc_fatal): Functions removed.
1480 Include <sysdeps/posix/libc_fatal.c> instead.
1481
6b18bea6
JM
14822013-03-19 Joseph Myers <joseph@codesourcery.com>
1483
1484 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1485 constants.
1486 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1487 double constants.
1488
aaa8cb4b
AS
14892013-03-19 Andreas Schwab <schwab@suse.de>
1490
44673770
AS
1491 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1492 * sysdeps/gnu/configure: Regenerate.
1493
aaa8cb4b
AS
1494 * configure.in: Substitute libc_cv_rtlddir.
1495 * configure: Regenerate.
1496 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1497 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1498 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1499 * elf/Makefile (install-others, CFLAGS-interp.c)
1500 (ldso_install, common-ldd-rewrite): Likewise.
1501 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1502 $(inst_slibdir)/$(rtld-installed-name).
1503 * scripts/rellns-sh: Add -p option.
1504 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1505 for source.
1506
d3cfc668
SP
15072013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1508
1509 * manual/nptl.texi: Renamed to ...
1510 * manual/threads.texi: ... this.
1511 * manual/Makefile (chapters): Update.
1512
0e2b9cdd
RM
15132013-03-18 Roland McGrath <roland@hack.frob.com>
1514
1515 [BZ #14812]
1516 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1517 on argument names, not just descriptions.
0e2b9cdd
RM
1518 * malloc/memusagestat.c (options): Likewise.
1519 * nss/getent.c (options): Likewise.
63270c24
RM
1520
15212013-03-18 Benno Schulenberg <bensberg@justemail.net>
1522
1523 [BZ #14812]
1524 * iconv/iconv_prog.c (options): Put N_ translation marker
1525 on argument names, not just descriptions.
1526 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1527
b2e1393c
OB
15282013-03-18 Ondrej Bilka <neleai@seznam.cz>
1529
1530 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1531 implementation which is faster on all x86_64 architectures.
1532 Tested on AMD, Intel Nehalem, SNB, IVB.
1533 * sysdeps/x86_64/strnlen.S: Likewise.
1534
1535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1536 Remove all multiarch strlen and strnlen versions.
1537 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1538 Remove strlen and strnlen related parts.
1539
1540 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1541 Inline strlen part.
1542 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1543
1544 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1545 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1546 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1547 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1548 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1549 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1550
ec4ff04d
CD
15512013-03-17 Carlos O'Donell <carlos@redhat.com>
1552
1553 * manual/memory.texi (Malloc Tunable Parameters):
1554 Sort parameters alphabetically. Add comments for missing entries.
1555
cd18e90a
DM
15562013-03-17 David S. Miller <davem@davemloft.net>
1557
1558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1559
2a185d32
JM
15602013-03-16 Joseph Myers <joseph@codesourcery.com>
1561
d2f9799e
JM
1562 [BZ #15283]
1563 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1564 for arguments at most half maximum finite value.
1565 * math/libm-test.inc (j0_test): Add more tests.
1566 (j1_test): Likewise.
1567 (y0_test): Likewise.
1568 (y1_test): Likewise.
1569 * sysdeps/i386/fpu/libm-test-ulps: Update.
1570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1571
2a185d32
JM
1572 [BZ #14155]
1573 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1574 1 / x and functions P and Q for arguments above 0x1p256L.
1575 (__ieee754_y0l): Likewise.
1576 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1577 (__ieee754_y1l): Likewise.
1578 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1579 (j1_test): Likewise.
1580 (y0_test): Likewise.
1581 (y1_test): Likewise.
1582
6cbec759
TS
15832013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1584
1585 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1586 variable.
1587
bc16e260
RM
15882013-03-15 Roland McGrath <roland@hack.frob.com>
1589
aefc9b8c
RM
1590 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1591 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1592 zero since it's initialized to EXEC_PAGESIZE.
1593
bc16e260
RM
1594 * sysdeps/unix/sysv/linux/ldsodefs.h
1595 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1596 * sysdeps/generic/ldsodefs.h: ... here.
1597
a57da955
TS
15982013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1599
af00a34d
TS
1600 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1601
495ded2c
TS
1602 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1603 math/test-snan.c.
1604 * math/test-snan.c: Renamed from
1605 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1606 * math/Makefile (tests): Add test-snan.
1607 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1608 test-powerpc-snan.
1609
777b0332
TS
1610 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1611 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1612 functions.
1613 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1614 __builtin_nan family of functions.
1615 * math/libm-test.inc (initialize): Initialize qnan_value with
1616 __builtin_nan family of functions.
1617 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1618 Remove variables.
1619 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1620 Remove functions.
1621 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1622 storage class. Initialize qNaN_var and sNaN_var with
1623 __builtin_nan and __builtin_nans families of functions,
1624 respectively.
1625
64d063b8
TS
1626 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1627 (sqrt_test): Remove duplicate test with qNaN input.
1628 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1629 (round_test, signbit_test, significand_test): Note missing +/-Inf
1630 as well as qNaN tests.
1631
67e971f1
TS
1632 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1633 qNaN_var. Fix a few strings, too.
1634 * math/libm-test.inc (nan_value): Rename to qnan_value.
1635 * math/gen-libm-test.pl (%beautify): Adjust to that.
1636 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1637 * math/test-misc.c (main): Likewise.
1638 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1639 to __qnan_bytes, and __qnan_union, respectively.
1640 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1641 Likewise.
1642 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1643 and lqnanval, respectively.
1644 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1645 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1646 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1647 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1648
64487e12
TS
1649 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1650 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1651 doubles.
1652
e015e27b
TS
1653 * math/test-misc.c (main): Fix copy'n'pastos.
1654 * misc/tst-efgcvt.c (special): Likewise.
1655
a57da955
TS
1656 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1657 Remove declarations.
1658
1e380345
SP
16592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1660
1661 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1662 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1663 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1664 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1665
ef26eece
AZ
16662013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1667
1668 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1669 macro to return vdso values correctly in IFUNC implementations.
1670 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1671 Optimization by using IFUNC.
1672
8cfdb7e0
SP
16732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1674 Richard Henderson <rth@redhat.com>
1675 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1676
1677 * Makefile.in (bench): New target.
1678 * NEWS: Mention the benchmark framework.
1679 * Rules (bench): Likewise.
1680 (binaries-bench): Generate binaries for functions to
1681 benchmark.
1682 * benchtests/Makefile: New makefile for benchmark tests.
1683 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1684 programs.
1685 * benchtests/exp-inputs: New input file for EXP function.
1686 * benchtests/pow-inputs: New input file for POW function.
1687 * scripts/bench.pl: New script to generate source files for
1688 benchmark programs.
1689
bcda9880
SP
16902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1691
d22ca8cd
SP
1692 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1693 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1694 computations on mantissa. Use macros for rounding and
1695 division.
1696 (denorm): Likewise.
1697 (__dbl_mp): Likewise.
1698 (add_magnitudes): Likewise.
1699 (sub_magnitudes): Likewise.
1700 (__mul): Likewise.
1701 (__sqr): Likewise.
1702 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1703 powers of two in terms of TWOPOW macro.
1704 (mp_no): Make type of mantissa as MANTISSA_T.
1705 [!RADIXI]: Define RADIXI.
1706 [!TWO52]: Define TWO52.
1707 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1708
bcda9880
SP
1709 * manual/nptl.texi (cindex): Modify threads to pthreads.
1710
06d5adfb
JM
17112013-03-15 Joseph Myers <joseph@codesourcery.com>
1712
1713 * sysdeps/x86_64/preconfigure: Regenerated.
1714
41c7328e
JM
17152013-03-14 Joseph Myers <joseph@codesourcery.com>
1716
1717 [BZ #14155]
1718 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1719 0x1p28 and above.
1720 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1721 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1722 0x1p28 and above.
1723 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1724 * math/libm-test.inc (j0_test): Do not allow one spurious
1725 underflow exception.
1726 (y1_test): Likewise.
1727
e25cfa60
SP
17282013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1729
0409959c
SP
1730 * manual/Makefile (chapters): Add nptl.
1731 * manual/debug.texi (Debugging Support): Add link to Threads
1732 chapter.
1733 * manual/nptl.texi: New file.
1734
e25cfa60
SP
1735 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1736
58a1335e
PB
17372013-03-14 Petr Baudis <pasky@ucw.cz>
1738
1739 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1740 for non-NULL pointer before the memory validity test. Pointed
1741 out by Holger Brunck <holger.brunck@keymile.com>.
1742
9dc7c64f
AS
17432013-03-13 Andreas Schwab <schwab@suse.de>
1744
1745 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1746 instead of .os.
1747
54206aa6
JM
17482013-03-13 Joseph Myers <joseph@codesourcery.com>
1749
1750 * timezone/zic.c: Update from tzcode 2013b.
1751
e98cdb38
CD
17522013-03-12 Carlos O'Donell <carlos@redhat.com>
1753
1754 * manual/install.texi (Configuring and compiling):
1755 Mention i686 and i586.
1756 * INSTALL: Regenerate.
1757
9967e003
RM
17582013-03-12 Roland McGrath <roland@hack.frob.com>
1759
1760 * sysdeps/init_array/elf-init.c: New file.
1761 * csu/elf-init.c
1762 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1763 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1764
1765 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1766 __gmon_start__ as global, but as static with a .preinit_array pointer.
1767 * sysdeps/init_array/gmon-start.c: New file. Use that.
1768 * sysdeps/init_array/crti.S: New file, empty except for comments.
1769 * sysdeps/init_array/crtn.S: Likewise.
1770
e6b5a293 17712013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1772
1773 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1774 definining bcopy.
80f844c9
OB
1775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1776 Remove Prefer_SSE_for_memop.
1777 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1778 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1779 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1781 memset-x86-64.
80f844c9 1782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1783 Remove bzero, memset ifunc support.
80f844c9
OB
1784 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1785 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1786 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1787 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1788
fb6b0fcb
AS
17892013-03-11 Andreas Schwab <schwab@suse.de>
1790
1791 [BZ #15234]
1792 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1793 by SHLIB_COMPAT.
1794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1795 (GLIBC_2.16): Remove pthread_atfork.
1796
3e6bd4b1
PP
17972013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1798
1799 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1800 (ptestcases.h): Likewise.
1801
222d7f00
RM
18022013-03-08 Roland McGrath <roland@hack.frob.com>
1803
1804 * Makeconfig ($(common-objpfx)config.status): Depend on
1805 sysdeps/*/preconfigure{,.in} too.
1806
1ba4f030
JM
18072013-03-08 Joseph Myers <joseph@codesourcery.com>
1808
a222d91a
JM
1809 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1810 (__free_hook): Use void * instead of __malloc_ptr_t.
1811 (__malloc_hook): Likewise.
1812 (__realloc_hook): Likewise.
1813 (__memalign_hook): Likewise.
1814 (__after_morecore_hook): Likewise.
1815 * malloc/arena.c (save_malloc_hook): Likewise.
1816 (save_free_hook): Likewise.
1817 * malloc/hooks.c (malloc_hook_ini): Likewise.
1818 (realloc_hook_ini): Likewise.
1819 (memalign_hook_ini): Likewise.
1820 * malloc/malloc.c (malloc_hook_ini): Likewise.
1821 (realloc_hook_ini): Likewise.
1822 (memalign_hook_ini): Likewise.
1823 (__free_hook): Likewise.
1824 (__malloc_hook): Likewise.
1825 (__realloc_hook): Likewise.
1826 (__memalign_hook): Likewise.
1827 (__libc_malloc): Likewise.
1828 (__libc_free): Likewise.
1829 (__libc_realloc): Likewise.
1830 (__libc_memalign): Likewise.
1831 (__libc_valloc): Likewise.
1832 (__libc_pvalloc): Likewise.
1833 (__libc_calloc): Likewise.
1834 (__posix_memalign): Likewise.
1835 * malloc/morecore.c (__sbrk): Likewise.
1836 (__default_morecore): Likewise.
1837
5cc45e10
JM
1838 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1839
dd54b864
JM
1840 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1841 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1842 __malloc_ptrdiff_t.
1843
1ba4f030
JM
1844 * malloc/malloc.h (__malloc_size_t): Remove macro.
1845 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1846 __malloc_size_t.
1847 (old_memalign_hook): Likewise.
1848 (old_realloc_hook): Likewise.
1849 (struct hdr): Likewise.
1850 (flood): Likewise.
1851 (mallochook): Likewise.
1852 (memalignhook): Likewise.
1853 (reallochook): Likewise.
1854 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1855 (tr_old_realloc_hook): Likewise.
1856 (tr_old_memalign_hook): Likewise.
1857 (tr_mallochook): Likewise.
1858 (tr_reallochook): Likewise.
1859 (tr_memalignhook): Likewise.
1860
edf66e57
AZ
18612013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1862
1863 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1864 default_ldbl_pack and using as default implementation.
1865 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1866 implementation.
1867 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1868 redundant definition.
1869 (ldbl_insert_mantissa): Likewise.
1870 (ldbl_canonicalize): Likewise.
1871 (ldbl_nearbyint): Likewise.
1872 (ldbl_pack): Rename to ldbl_pack_ppc.
1873 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1874 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1875 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1876
6d9145d8
SP
18772013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1878
1879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1880 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1881 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1882 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1884 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1885 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1886 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1887
4dd4e157
AJ
18882013-03-07 Andreas Jaeger <aj@suse.de>
1889
1890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1891 bits/mman-linux.h.
1892
adbb8027
SP
18932013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1894
ce544b5b
SP
1895 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1896 Include mpa.h and declare __MPEXP.
1897 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1898 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1899 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1900 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1901 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1902 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1903 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1904
4cc149fd
SP
1905 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1906 (__slowpow): Use long double EXPL and LOGL functions to
1907 compute POW.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1909 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1910 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1911 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1912 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1913 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1914
e6ebd4a7
SP
1915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1916 intermediate variable to calculate exponent.
1917 (__sqr): Likewise.
1918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1919 Likewise.
1920 (__sqr): Likewise.
1921
82a9811d
SP
1922 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1923 [!NO__SQR]: Define __sqr.
1924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1925 and NO__SQR. Remove all code except __mul and __sqr. Include
1926 sysdeps/ieee754/dbl-64/mpa.c.
1927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1928
adbb8027
SP
1929 [BZ #12723]
1930 * posix/Makefile (tests): Add tst-pathconf.
1931 * posix/tst-pathconf.c: New test case.
1932 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1933 _PC_PIPE_BUF.
1934 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1935
39120df9
PF
19362013-03-06 Patsy Franklin <pfrankli@redhat.com>
1937
1938 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1939
67525cb8
AJ
19402013-03-06 Andreas Jaeger <aj@suse.de>
1941
664a9ce4
AJ
1942 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1943 definition via __MAP_ANONYMOUS.
1944
8e39047d
AJ
1945 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1946 it's not part of Linux headers.
1947
67525cb8
AJ
1948 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1949 (MAP_HUGE_MASK): Define.
1950
1951 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1952 Define.
1953 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1955 Define.
1956 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1957 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1958 Define.
1959 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1960 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1961 Define.
1962 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1963
1964 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1965 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1966 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1967 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1968 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1969 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1970
1971 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1972 Handle f2fs.
1973
1974 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1975 Handle f2fs and efivarfs.
1976
1977 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1978 f2fs.
1979
1980 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1981 (EFIVARFS_MAGIC): Add.
1982 (F2FS_LINK_MAX): Add.
1983
e1b42695
PP
19842013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1985
1986 * stdio-common/vfprintf.c: Replace __builtin_expect with
1987 __glibc_unlikely.
1988
2d67d91a
JM
19892013-03-06 Joseph Myers <joseph@codesourcery.com>
1990
1991 [BZ #13550]
1992 * sysdeps/generic/bp-sym.h: Remove file.
1993 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1994 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1995 <bp-sym.h> and <bp-asm.h>.
1996 (__longjmp): Don't use BP_SYM.
1997 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1998 and <bp-asm.h>.
1999 (memcpy): Don't use BP_SYM.
2000 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2001 <bp-sym.h> and <bp-asm.h>.
2002 (memcpy): Don't use BP_SYM.
2003 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2004 <bp-asm.h>.
2005 (memcpy): Don't use BP_SYM.
2006 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2007 <bp-asm.h>.
2008 (memset): Don't use BP_SYM.
2009 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2010 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2011 (__bzero): Don't use BP_SYM.
2012 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2013 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2014 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2015 <bp-sym.h> and <bp-asm.h>.
2016 (memcmp): Don't use BP_SYM. Remove comment about bounded
2017 pointers.
2018 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2019 <bp-sym.h> and <bp-asm.h>.
2020 (memcpy): Don't use BP_SYM.
2021 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2022 <bp-sym.h> and <bp-asm.h>.
2023 (memset): Don't use BP_SYM.
2024 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2025 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2026 (__bzero): Don't use BP_SYM.
2027 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2028 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2029 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2030 <bp-sym.h> and <bp-asm.h>.
2031 (strncmp): Don't use BP_SYM. Remove comment about bounded
2032 pointers.
2033 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2034 <bp-sym.h> and <bp-asm.h>.
2035 (memcpy): Don't use BP_SYM.
2036 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2037 <bp-sym.h> and <bp-asm.h>.
2038 (memset): Don't use BP_SYM.
2039 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2040 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2041 (__bzero): Don't use BP_SYM.
2042 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2043 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2044 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2045 <bp-sym.h> and <bp-asm.h>.
2046 (__memchr): Don't use BP_SYM.
2047 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2048 <bp-sym.h> and <bp-asm.h>.
2049 (memcmp): Don't use BP_SYM. Remove comment about bounded
2050 pointers.
2051 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2052 <bp-sym.h> and <bp-asm.h>.
2053 (memcpy): Don't use BP_SYM.
2054 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2055 <bp-sym.h> and <bp-asm.h>.
2056 (__mempcpy): Don't use BP_SYM.
2057 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2058 <bp-sym.h> and <bp-asm.h>.
2059 (__memrchr): Don't use BP_SYM.
2060 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2061 <bp-sym.h> and <bp-asm.h>.
2062 (memset): Don't use BP_SYM.
2063 (__bzero): Likewise.
2064 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2065 <bp-sym.h> and <bp-asm.h>.
2066 (__rawmemchr): Don't use BP_SYM.
2067 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2068 <bp-sym.h> and <bp-asm.h>.
2069 (__STRCMP): Don't use BP_SYM.
2070 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2071 <bp-sym.h> and <bp-asm.h>.
2072 (strchr): Don't use BP_SYM.
2073 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2074 <bp-sym.h> and <bp-asm.h>.
2075 (__strchrnul): Don't use BP_SYM.
2076 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2077 <bp-sym.h> and <bp-asm.h>.
2078 (strlen): Don't use BP_SYM.
2079 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2080 <bp-sym.h> and <bp-asm.h>.
2081 (strncmp): Don't use BP_SYM. Remove comment about bounded
2082 pointers.
2083 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2084 <bp-sym.h> and <bp-asm.h>.
2085 (__strnlen): Don't use BP_SYM.
2086 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2087 <bp-sym.h> and <bp-asm.h>.
2088 (__GI__setjmp): Don't use BP_SYM.
2089 (_setjmp): Likewise.
2090 (__sigsetjmp): Likewise.
2091 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2092 (L(start_addresses)): Don't use BP_SYM.
2093 (_start): Likewise.
2094 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2095 <bp-asm.h>.
2096 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2097 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2098 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2099 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2100 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2101 <bp-asm.h>.
2102 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2103 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2104 about bounded pointers.
2105 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2106 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2107 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2108 <bp-asm.h>.
2109 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2110 about bounded pointers. Remove GKM FIXME comments.
2111 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2112 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2113 <bp-asm.h>.
2114 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2115 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2116 Remove GKM FIXME comments.
2117 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2118 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2119 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2120 <bp-asm.h>.
2121 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2122 about bounded pointers. Remove GKM FIXME comment.
2123 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2124 and <bp-asm.h>.
2125 (strncmp): Don't use BP_SYM. Remove comment about bounded
2126 pointers.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2128 <bp-sym.h> and <bp-asm.h>.
2129 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2131 <bp-sym.h> and <bp-asm.h>.
2132 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2133 comment.
2134
cdcf361f
PP
21352013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2136
2137 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2138 call free(NULL).
2139
3c4a2b15
DM
21402013-03-05 David S. Miller <davem@davemloft.net>
2141
2142 * po/es.po: Update from translation team.
2143
cdcf361f 21442013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2145
2146 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2147 <bits/mman-linux.h>.
2148 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2149 is fine.
2150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2151 <bits/mman-linux.h> to end of file.
2152 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2153 is fine.
2154 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2155 <bits/mman-linux.h> to end of file.
2156 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2157 is fine.
2158 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2159 <bits/mman-linux.h> to end of file.
2160
2161 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2162 (MCL_CURRENT, MCL_FUTURE): Define here.
2163
5f67c04f
AK
21642013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2165
8a4473cc 2166 [BZ #15232]
5f67c04f
AK
2167 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2168 attribute_hidden.
2169 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2170
c3e94a95
AK
21712013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2172
2173 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2174 fourth parameter needed for rt_sigprocmask syscall.
2175 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2176 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2177 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2178 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2179 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2180 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2181
cfb6382a
JM
21822013-03-04 Joseph Myers <joseph@codesourcery.com>
2183
2184 [BZ #13550]
2185 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2186 comment about bounded pointers.
2187 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2188 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2189
539d8e01
AJ
21902013-03-04 Andreas Jaeger <aj@suse.de>
2191
2192 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2193 common definitions.
2194
2195 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2196 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2197 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2198 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2199 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2200 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2201
2e167a70 22022013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2203
2204 [BZ #15055]
2205 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2206 __ieee754_sqrl instead of __sqrl.
2207
68508633
JM
22082013-03-01 Joseph Myers <joseph@codesourcery.com>
2209
2210 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2211 * sysdeps/powerpc/fpu_control.h: ... here.
2212 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2213 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2214 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2215 * sysdeps/powerpc/bits/mathinline.h: ... here.
2216
7775448e
RM
22172013-03-01 Roland McGrath <roland@hack.frob.com>
2218
2219 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2220 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2221 to just [NEED_DL_SYSINFO_DSO].
2222 * elf/dl-support.c: Likewise.
2223 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2224 * elf/rtld.c (dl_main): Likewise.
2225 * elf/setup-vdso.h (setup_vdso): Likewise.
2226 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2227 * sysdeps/unix/sysv/linux/dl-sysdep.c
2228 (_dl_discover_osversion): Likewise.
2229
4e9b5995
CD
22302013-03-01 Carlos O'Donell <carlos@redhat.com>
2231
2232 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2233 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2234
e23872c8
SP
22352013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2236
e5c74c63
SP
2237 * NEWS: Mention libm performance improvements and non-x86 PI
2238 futex support.
2239
e23872c8
SP
2240 * csu/libc-start.c (__pthread_initialize_minimal): Change
2241 function arguments.
2242 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2243
b5510883
JM
22442013-02-28 Joseph Myers <joseph@codesourcery.com>
2245
2246 [BZ #13550]
2247 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2248 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2249 <bp-sym.h> and <bp-asm.h>.
2250 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2251 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2252 and <bp-asm.h>.
2253 (memcpy): Don't use BP_SYM.
2254 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2255 <bp-asm.h>.
2256 (__mpn_add_n): Don't use BP_SYM.
2257 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2258 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2259 and <bp-asm.h>.
2260 (__mpn_addmul_1): Don't use BP_SYM.
2261 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2262 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2263 <bp-sym.h>.
2264 (_setjmp): Don't use BP_SYM.
2265 (__novmx_setjmp): Likewise.
2266 (__GI__setjmp): Likewise.
2267 (__vmx_setjmp): Likewise.
2268 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2269 <bp-sym.h>.
2270 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2271 (__bzero): Don't use BP_SYM.
2272 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2273 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2274 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2275 <bp-sym.h> and <bp-asm.h>.
2276 (memcpy): Don't use BP_SYM.
2277 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2278 <bp-sym.h> and <bp-asm.h>.
2279 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2280 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2281 <bp-sym.h> and <bp-asm.h>.
2282 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2283 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2284 <bp-asm.h>.
2285 (__mpn_lshift): Don't use BP_SYM.
2286 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2287 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2288 <bp-asm.h>.
2289 (memset): Don't use BP_SYM.
2290 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2291 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2292 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2293 <bp-asm.h>.
2294 (__mpn_mul_1): Don't use BP_SYM.
2295 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2296 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2297 <bp-sym.h> and <bp-asm.h>.
2298 (memcmp): Don't use BP_SYM.
2299 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2300 <bp-sym.h> and <bp-asm.h>.
2301 (memcpy): Don't use BP_SYM.
2302 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2303 <bp-sym.h> and <bp-asm.h>.
2304 (memset): Don't use BP_SYM.
2305 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2306 <bp-sym.h> and <bp-asm.h>.
2307 (strncmp): Don't use BP_SYM.
2308 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2309 <bp-sym.h> and <bp-asm.h>.
2310 (memcpy): Don't use BP_SYM.
2311 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2312 <bp-sym.h> and <bp-asm.h>.
2313 (memset): Don't use BP_SYM.
2314 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2315 <bp-sym.h> and <bp-asm.h>.
2316 (__memchr): Don't use BP_SYM.
2317 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2318 <bp-sym.h> and <bp-asm.h>.
2319 (memcmp): Don't use BP_SYM.
2320 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2321 <bp-sym.h> and <bp-asm.h>.
2322 (memcpy): Don't use BP_SYM.
2323 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2324 <bp-sym.h> and <bp-asm.h>.
2325 (__mempcpy): Don't use BP_SYM.
2326 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2327 <bp-sym.h> and <bp-asm.h>.
2328 (__memrchr): Don't use BP_SYM.
2329 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2330 <bp-sym.h> and <bp-asm.h>.
2331 (memset): Don't use BP_SYM.
2332 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2333 <bp-sym.h> and <bp-asm.h>.
2334 (__rawmemchr): Don't use BP_SYM.
2335 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2336 <bp-sym.h> and <bp-asm.h>.
2337 (__STRCMP): Don't use BP_SYM.
2338 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2339 <bp-sym.h> and <bp-asm.h>.
2340 (strchr): Don't use BP_SYM.
2341 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2342 <bp-sym.h> and <bp-asm.h>.
2343 (__strchrnul): Don't use BP_SYM.
2344 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2345 <bp-sym.h> and <bp-asm.h>.
2346 (strlen): Don't use BP_SYM.
2347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2348 <bp-sym.h> and <bp-asm.h>.
2349 (strncmp): Don't use BP_SYM.
2350 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2351 <bp-sym.h> and <bp-asm.h>.
2352 (__strnlen): Don't use BP_SYM.
2353 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2354 <bp-asm.h>.
2355 (__mpn_rshift): Don't use BP_SYM.
2356 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2357 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2358 <bp-sym.h> and <bp-asm.h>.
2359 (__sigsetjmp): Don't use BP_SYM.
2360 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2361 (L(start_addresses)): Don't use BP_SYM.
2362 (_start): Likewise.
2363 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2364 <bp-asm.h>.
2365 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2366 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2367 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2368 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2369 <bp-asm.h>.
2370 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2371 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2372 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2373 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2374 <bp-asm.h>.
2375 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2376 comments.
2377 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2378 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2379 <bp-asm.h>.
2380 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2381 FIXME comments.
2382 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2383 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2384 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2385 <bp-asm.h>.
2386 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2387 comment.
2388 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2389 and <bp-asm.h>.
2390 (strncmp): Don't use BP_SYM,
2391 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2392 <bp-asm.h>.
2393 (__mpn_sub_n): Don't use BP_SYM.
2394 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2395 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2396 and <bp-asm.h>.
2397 (__mpn_submul_1): Don't use BP_SYM.
2398 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2400 <bp-sym.h> and <bp-asm.h>.
2401 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2403 <bp-sym.h> and <bp-asm.h>.
2404 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2405 comment.
2406
8d19fe64
SP
24072013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2408
2409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2410 Use ZK to minimize writes to Z.
2411 (sub_magnitudes): Simplify code a bit.
2412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2413 Use ZK to minimize writes to Z.
2414 (sub_magnitudes): Simplify code a bit.
2415
85bd816a
RM
24162013-02-27 Roland McGrath <roland@hack.frob.com>
2417
2418 * csu/gmon-start.c: Add special exception to license text.
2419
b5977bf2
RH
24202013-02-27 Richard Henderson <rth@redhat.com>
2421
2422 * scripts/config.guess: Update from config.git.
2423 * scripts/config.sub: Likewise.
2424
11d6e2f2
SP
24252013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2426
09c14ed2
SP
2427 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2428
a688864e
SP
2429 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2430
6295157a
SP
2431 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2432
b8de2202
SP
2433 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2434
11d6e2f2
SP
2435 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2436
7e80ddb8
RM
24372013-02-26 Roland McGrath <roland@hack.frob.com>
2438
2439 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2440 [$(build-shared = yes].
7e80ddb8 2441
7da6d9ed
SP
24422013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2443
45f05884
SP
2444 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2445 (__mul): Reduce iterations for calculating mantissa.
2446
2236d359
SP
2447 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2448 MPTWO.
2449 (__mpranred): Likewise.
2450
7da6d9ed
SP
2451 [BZ #15160]
2452 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2453 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2454
b7688c42
PE
24552013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2456
2457 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2458 Define __attribute__.
2459
53a5c423
SP
24602013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2461
2462 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2463 unused.
2464 * posix/regex_internal.h (__attribute): Remove.
2465 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2466 (re_string_context_at): Likewise.
2467 (bitset_not): Use __attribute__ and mark function as possibly
2468 unused.
2469 (bitset_merge): Likewise.
2470 (bitset_mask): Likewise.
2471 (re_string_char_size_at): Likewise.
2472 (re_string_wchar_at): Likewise.
2473 (re_string_elem_size_at): Likewise.
2474
60f5a8b5
SP
24752013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2476
2a983a2e
SP
2477 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2478 code.
2479 (cc32): Likewise.
2480
e69804d1
SP
2481 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2482 (__acr): Likewise.
2483 (__cpy): Likewise.
2484 (norm): Likewise.
2485 (denorm): Likewise.
2486 (__dbl_mp): Likewise.
2487 (add_magnitudes): Likewise.
2488 (sub_magnitudes): Likewise.
2489 (__mul): Likewise.
2490 (__inv): Likewise.
2491
2f22a1e8
SP
2492 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2493 style.
2494
8930ddc7
SP
2495 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2496 style.
2497
dc60cb11
SP
2498 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2499 code.
2500
60f5a8b5
SP
2501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2502 up changes with default code.
2503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2504 Likewise.
2505
b4d1fd33
AM
25062013-02-24 Allan McRae <allan@archlinux.org>
2507
faf6f8bc
AM
2508 * manual/socket.texi (The Internet Namespace): Order menu items
2509 to match that in the file.
2510
b4d1fd33
AM
2511 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2512 node listing of the info page menu.
2513
2366713d
JM
25142013-02-21 Joseph Myers <joseph@codesourcery.com>
2515
2516 [BZ #13550]
2517 * sysdeps/i386/bp-asm.h: Remove file.
2518 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2519 (PARMS): Do not use macros from bp-asm.h.
2520 (S1): Likewise.
2521 (S2): Likewise.
2522 (SIZE): Likewise.
2523 (__mpn_add_n): Do not use BP_SYM
2524 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2525 "bp-asm.h".
2526 (PARMS): Do not use macros from bp-asm.h.
2527 (S1): Likewise.
2528 (SIZE): Likewise.
2529 (__mpn_addmul_1): Do not use BP_SYM
2530 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2531 "bp-asm.h".
2532 (PARMS): Do not use macros from bp-asm.h.
2533 (SIGMSK): Likewise.
2534 (_setjmp): Likewise. Do not use BP_SYM.
2535 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2536 "bp-asm.h".
2537 (PARMS): Do not use macros from bp-asm.h.
2538 (SIGMSK): Likewise.
2539 (setjmp): Likewise. Do not use BP_SYM.
2540 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2541 "bp-asm.h".
2542 (PARMS): Do not use macros from bp-asm.h.
2543 (__frexp): Do not use BP_SYM.
2544 (frexp): Likewise.
2545 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2546 "bp-asm.h".
2547 (PARMS): Do not use macros from bp-asm.h.
2548 (__frexpf): Do not use BP_SYM.
2549 (frexpf): Likewise.
2550 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2551 "bp-asm.h".
2552 (PARMS): Do not use macros from bp-asm.h.
2553 (__frexpl): Do not use BP_SYM.
2554 (frexpl): Likewise.
2555 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2556 "bp-asm.h".
2557 (PARMS): Do not use macros from bp-asm.h.
2558 (__remquo): Do not use BP_SYM.
2559 (remquo): Likewise.
2560 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2561 "bp-asm.h".
2562 (PARMS): Do not use macros from bp-asm.h.
2563 (__remquof): Do not use BP_SYM.
2564 (remquof): Likewise.
2565 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2566 "bp-asm.h".
2567 (PARMS): Do not use macros from bp-asm.h.
2568 (__remquol): Do not use BP_SYM.
2569 (remquol): Likewise.
2570 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2571 "bp-asm.h".
2572 (PARMS): Do not use macros from bp-asm.h.
2573 (DEST): Likewise.
2574 (SRC): Likewise.
2575 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2576 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2577 "bp-asm.h".
2578 (PARMS): Do not use macros from bp-asm.h.
2579 (strlen): Do not use BP_SYM.
2580 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2581 "bp-asm.h".
2582 (PARMS): Do not use macros from bp-asm.h.
2583 (S1): Likewise.
2584 (S2): Likewise.
2585 (SIZE): Likewise.
2586 (__mpn_add_n): Do not use BP_SYM.
2587 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2588 "bp-asm.h".
2589 (PARMS): Do not use macros from bp-asm.h.
2590 (S1): Likewise.
2591 (SIZE): Likewise.
2592 (__mpn_addmul_1): Do not use BP_SYM.
2593 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2594 weak_alias.
2595 (bzero): Likewise.
2596 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2597 "bp-asm.h".
2598 (PARMS): Do not use macros from bp-asm.h.
2599 (S): Likewise.
2600 (SIZE): Likewise.
2601 (__mpn_lshift): Do not use BP_SYM.
2602 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2603 "bp-asm.h".
2604 (PARMS): Do not use macros from bp-asm.h.
2605 (DEST): Likewise.
2606 (SRC): Likewise.
2607 (LEN): Likewise.
2608 (memcpy): Likewise. Do not use BP_SYM.
2609 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2610 libc_hidden_def and weak_alias.
2611 (mempcpy): Do not use BP_SYM in weak_alias.
2612 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2613 "bp-asm.h".
2614 (PARMS): Do not use macros from bp-asm.h.
2615 (DEST): Likewise.
2616 (LEN): Likewise.
2617 [!BZERO_P] (CHR): Likewise.
2618 (memset): Likewise. Do not use BP_SYM.
2619 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2620 "bp-asm.h".
2621 (PARMS): Do not use macros from bp-asm.h.
2622 (S1): Likewise.
2623 (SIZE): Likewise.
2624 (__mpn_mul_1): Do not use BP_SYM.
2625 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2626 "bp-asm.h".
2627 (PARMS): Do not use macros from bp-asm.h.
2628 (S): Likewise.
2629 (SIZE): Likewise.
2630 (__mpn_rshift): Do not use BP_SYM.
2631 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2632 "bp-asm.h".
2633 (PARMS): Do not use macros from bp-asm.h.
2634 (STR): Likewise.
2635 (CHR): Likewise.
2636 (strchr): Likewise. Do not use BP_SYM.
2637 (index): Do not use BP_SYM in weak_alias.
2638 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2639 "bp-asm.h".
2640 (PARMS): Do not use macros from bp-asm.h.
2641 (DEST): Likewise.
2642 (SRC): Likewise.
2643 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2644 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2645 "bp-asm.h".
2646 (PARMS): Do not use macros from bp-asm.h.
2647 (strlen): Do not use BP_SYM.
2648 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2649 "bp-asm.h".
2650 (PARMS): Do not use macros from bp-asm.h.
2651 (S1): Likewise.
2652 (S2): Likewise.
2653 (SIZE): Likewise.
2654 (__mpn_sub_n): Do not use BP_SYM.
2655 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2656 "bp-asm.h".
2657 (PARMS): Do not use macros from bp-asm.h.
2658 (S1): Likewise.
2659 (SIZE): Likewise.
2660 (__mpn_submul_1): Do not use BP_SYM.
2661 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2662 "bp-asm.h".
2663 (PARMS): Do not use macros from bp-asm.h.
2664 (S1): Likewise.
2665 (S2): Likewise.
2666 (SIZE): Likewise.
2667 (__mpn_add_n): Do not use BP_SYM.
2668 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2669 weak_alias.
2670 (bzero): Likewise.
2671 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2672 "bp-asm.h".
2673 (PARMS): Do not use macros from bp-asm.h.
2674 (BLK2): Likewise.
2675 (LEN): Likewise.
2676 (memcmp): Do not use BP_SYM.
2677 (bcmp): Do not use BP_SYM in weak_alias.
2678 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2679 "bp-asm.h".
2680 (PARMS): Do not use macros from bp-asm.h.
2681 (DEST): Likewise.
2682 (SRC): Likewise.
2683 (LEN): Likewise.
2684 (memcpy): Likewise. Do not use BP_SYM.
2685 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2686 "bp-asm.h".
2687 (PARMS): Do not use macros from bp-asm.h.
2688 (DEST): Likewise.
2689 (SRC): Likewise.
2690 (LEN): Likewise.
2691 (memmove): Likewise. Do not use BP_SYM.
2692 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2693 "bp-asm.h".
2694 (PARMS): Do not use macros from bp-asm.h.
2695 (DEST): Likewise.
2696 (SRC): Likewise.
2697 (LEN): Likewise.
2698 (__mempcpy): Likewise. Do not use BP_SYM.
2699 (mempcpy): Do not use BP_SYM in weak_alias.
2700 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2701 "bp-asm.h".
2702 (PARMS): Do not use macros from bp-asm.h.
2703 (DEST): Likewise.
2704 (LEN): Likewise.
2705 [!BZERO_P] (CHR): Likewise.
2706 (memset): Likewise. Do not use BP_SYM.
2707 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2708 "bp-asm.h".
2709 (PARMS): Do not use macros from bp-asm.h.
2710 (STR2): Likewise.
2711 (strcmp): Do not use BP_SYM.
2712 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2713 "bp-asm.h".
2714 (PARMS): Do not use macros from bp-asm.h.
2715 (STR): Likewise.
2716 (DELIM): Likewise.
2717 [USE_AS_STRTOK_R] (SAVE): Likewise.
2718 (FUNCTION): Likewise. Do not use BP_SYM.
2719 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2720 aliases.
2721 (strtok_r): Likewise.
2722 (__GI___strtok_r): Likewise.
2723 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2724 (PARMS): Do not use macros from bp-asm.h.
2725 (S): Likewise.
2726 (SIZE): Likewise.
2727 (__mpn_lshift): Do not use BP_SYM.
2728 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2729 (PARMS): Do not use macros from bp-asm.h.
2730 (STR): Likewise.
2731 (CHR): Likewise.
2732 (__memchr): Do not use BP_SYM.
2733 (memchr): Do not use BP_SYM in weak_alias.
2734 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2735 (PARMS): Do not use macros from bp-asm.h.
2736 (BLK2): Likewise.
2737 (LEN): Likewise.
2738 (memcmp): Do not use BP_SYM.
2739 (bcmp): Do not use BP_SYM in weak_alias.
2740 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2741 (PARMS): Do not use macros from bp-asm.h.
2742 (S1): Likewise.
2743 (SIZE): Likewise.
2744 (__mpn_mul_1): Do not use BP_SYM.
2745 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2746 "bp-asm.h".
2747 (PARMS): Do not use macros from bp-asm.h.
2748 (STR): Likewise.
2749 (CHR): Likewise.
2750 (__rawmemchr): Do not use BP_SYM.
2751 (rawmemchr): Do not use BP_SYM in weak_alias.
2752 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2753 (PARMS): Do not use macros from bp-asm.h.
2754 (S): Likewise.
2755 (SIZE): Likewise.
2756 (__mpn_rshift): Do not use BP_SYM.
2757 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2758 (PARMS): Do not use macros from bp-asm.h.
2759 (SIGMSK): Likewise.
2760 (__sigsetjmp): Likewise. Do not use BP_SYM.
2761 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2762 (_start): Do not use BP_SYM.
2763 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2764 (PARMS): Do not use macros from bp-asm.h.
2765 (DEST): Likewise.
2766 (SRC): Likewise.
2767 (__stpcpy): Likewise. Do not use BP_SYM.
2768 (stpcpy): Do not use BP_SYM in weak_alias.
2769 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2770 "bp-asm.h".
2771 (PARMS): Do not use macros from bp-asm.h.
2772 (DEST): Likewise.
2773 (SRC): Likewise.
2774 (LEN): Likewise.
2775 (__stpncpy): Likewise. Do not use BP_SYM.
2776 (stpncpy): Do not use BP_SYM in weak_alias.
2777 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2778 (PARMS): Do not use macros from bp-asm.h.
2779 (STR): Likewise.
2780 (CHR): Likewise.
2781 (strchr): Likewise. Do not use BP_SYM.
2782 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2783 "bp-asm.h".
2784 (PARMS): Do not use macros from bp-asm.h.
2785 (STR): Likewise.
2786 (CHR): Likewise.
2787 (__strchrnul): Likewise. Do not use BP_SYM.
2788 (strchrnul): Do not use BP_SYM in weak_alias.
2789 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2790 "bp-asm.h".
2791 (PARMS): Do not use macros from bp-asm.h.
2792 (STOP): Likewise.
2793 (strcspn): Do not use BP_SYM.
2794 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2795 "bp-asm.h".
2796 (PARMS): Do not use macros from bp-asm.h.
2797 (STR): Likewise.
2798 (STOP): Likewise.
2799 (strpbrk): Likewise. Do not use BP_SYM.
2800 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2801 "bp-asm.h".
2802 (PARMS): Do not use macros from bp-asm.h.
2803 (STR): Likewise.
2804 (CHR): Likewise.
2805 (strrchr): Likewise. Do not use BP_SYM.
2806 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2807 (PARMS): Do not use macros from bp-asm.h.
2808 (SKIP): Likewise.
2809 (strspn): Do not use BP_SYM.
2810 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2811 (PARMS): Do not use macros from bp-asm.h.
2812 (STR): Likewise.
2813 (DELIM): Likewise.
2814 (SAVE): Likewise.
2815 (FUNCTION): Likewise. Do not use BP_SYM.
2816 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2817 aliases.
2818 (strtok_r): Likewise.
2819 (__GI___strtok_r): Likewise.
2820 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2821 (PARMS): Do not use macros from bp-asm.h.
2822 (S1): Likewise.
2823 (S2): Likewise.
2824 (SIZE): Likewise.
2825 (__mpn_sub_n): Do not use BP_SYM.
2826 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2827 "bp-asm.h".
2828 (PARMS): Do not use macros from bp-asm.h.
2829 (S1): Likewise.
2830 (SIZE): Likewise.
2831 (__mpn_submul_1): Do not use BP_SYM.
2832 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2833 <bp-sym.h>.
2834 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2835 and <bp-asm.h>.
2836 (PARMS): Do not use macros from bp-asm.h.
2837 (FLAGS): Likewise.
2838 (PTID): Likewise.
2839 (TLS): Likewise.
2840 (CTID): Likewise.
2841 (__clone): Do not use BP_SYM.
2842 (clone): Do not use BP_SYM in weak_alias.
2843 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2844 and <bp-asm.h>.
2845 (PARMS): Do not use macros from bp-asm.h.
2846 (LEN): Likewise.
2847 (__mmap64): Do not use BP_SYM.
2848 (mmap64): Do not use BP_SYM in weak_alias.
2849 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2850 <bp-sym.h> and <bp-asm.h>.
2851 (PARMS): Do not use macros from bp-asm.h.
2852 (__posix_fadvise64_l64): Do not use BP_SYM.
2853 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2854 (PARMS): Do not use macros from bp-asm.h.
2855 (NSOPS): Likewise.
2856 (semtimedop): Do not use BP_SYM.
2857 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2858 and <bp-asm.h>.
2859
582a3cff
AM
28602013-02-21 Allan McRae <allan@archlinux.org>
2861
2862 * manual/message.texi (Charset conversion in gettext):
2863 Move @end statement to beginning of line.
2864
bab8a695
SP
28652013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2866
80945231
SP
2867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2868 static.
2869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2870 Likewise.
2871
bab8a695
SP
2872 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2873 (denorm): Likewise.
2874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2876
e21d7aa7
AK
28772013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2878
2879 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2880 tail-call to the resolved function if pltexit isn't needed.
2881
4c7a4263
SP
28822013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2883
2884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2885 or Y being zero as being unlikely.
2886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2887 Likewise.
2888
41f49342
CD
28892013-02-20 Carlos O'Donell <carlos@redhat.com>
2890
2891 * manual/nss.texi (System Databases and Name Service Switch):
2892 Remove frobnicate @pxref.
2893
50022a93
TS
28942013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2895
2896 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2897 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2898
08cbd996
PM
28992013-02-20 Petr Machata <pmachata@redhat.com>
2900
2901 * elf/elf.h (R_ARM_TARGET1): New macro.
2902 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2903 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2904 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2905 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2906 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2907 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2908 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2909 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2910 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2911 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2912 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2913 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2914 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2915 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2916 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2917 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2918 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2919 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2920 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2921 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2922 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2923 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2924 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2925 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2926 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2927 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2928 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2929 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2930 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2931 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2932 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2933 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2934 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2935 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2936 (R_ARM_THM_GOT_BREL12): Likewise.
2937 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2938 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2939 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2940 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2941 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2942 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2943 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2944 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2945 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2946
c7b275d6
TS
29472013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2948
2949 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2950 __attribute_used__ to __attribute__ ((unused)).
2951
20cd7fb3
SP
29522013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2953
2954 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2955 powerpc mpa.c.
2956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2957 comment formatting.
2958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2959
92945b52
JM
29602013-02-19 Joseph Myers <joseph@codesourcery.com>
2961
2962 [BZ #13550]
2963 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2964 Remove macro.
2965 (ENTER): Remove both macro definitions.
2966 (LEAVE): Likewise.
2967 (CHECK_BOUNDS_LOW): Likewise.
2968 (CHECK_BOUNDS_HIGH): Likewise.
2969 (CHECK_BOUNDS_BOTH): Likewise.
2970 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2971 (RETURN_BOUNDED_POINTER): Likewise.
2972 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2973 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2974 (POP_ERRNO_LOCATION_RETURN): Likewise.
2975 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2976 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2977 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2978 macros.
2979 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2980 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2981 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2982 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2983 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2984 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2985 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2986 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2987 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2988 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2989 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2990 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2991 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2992 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2993 removed macros.
2994 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2995 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2996 macros.
2997 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2998 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2999 * sysdeps/i386/i586/memset.S (memset): Likewise.
3000 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3001 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3002 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3003 macros.
3004 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3005 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3006 Change uses of L(2) to L(out).
3007 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3008 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3009 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3010 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3011 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3012 removed macros.
3013 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3014 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3015 macros.
3016 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3017 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3018 (RETURN): Do not use macro LEAVE.
3019 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3020 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3021 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3022 * sysdeps/i386/i686/memset.S (memset): Likewise.
3023 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3024 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3025 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3026 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3027 Likewise.
3028 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3029 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3030 L(1_2) and L(1_3) into L(1).
3031 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3032 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3033 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3034 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3035 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3036 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3037 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3038 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3039 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3040 macros.
3041 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3042 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3043 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3044 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3045 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3046 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3047 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3048 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3049 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3050 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3051 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3052 * sysdeps/i386/strspn.S (strspn): Likewise.
3053 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3054 conditional code.
3055 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3056 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3057 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3058 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3059 L(1_3) into L(1_1).
3060 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3061 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3062 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3063 macros.
3064 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3065
2389741a
JJ
30662013-02-19 Jakub Jelinek <jakub@redhat.com>
3067
3068 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3069 macro.
3070
2016b3cd
SP
30712013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3072
e4f22324
SP
3073 * math/atest-exp.c (exp_mpn): Remove ROUND.
3074 * math/atest-exp2.c (exp_mpn): Likewise.
3075 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3076
2016b3cd
SP
3077 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3078 * stdlib/tst-tls-atexit-lib.c: Likewise.
3079 * stdlib/tst-tls-atexit.c: Likewise.
3080
4be9b544
MF
30812013-02-18 Mike Frysinger <vapier@gentoo.org>
3082
3083 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3084 and __attribute_alloc_size__.
3085
2f62b9ee
MF
30862013-02-18 Mike Frysinger <vapier@gentoo.org>
3087
3088 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3089 __attribute_alloc_size__.
3090 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3091 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3092
6ff444c4
MF
30932013-02-18 Mike Frysinger <vapier@gentoo.org>
3094
3095 * include/programs/xmalloc.h: New file.
3096 * catgets/gencat.c: Include it.
3097 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3098 * elf/pldd.c: Likewise.
3099 * iconv/iconv_charmap.c: Likewise.
3100 * iconv/iconvconfig.c: Likewise.
3101 * iconv/strtab.c: Likewise.
3102 * locale/programs/locale.c: Likewise.
3103 * locale/programs/localedef.h: Likewise.
3104 * locale/programs/simple-hash.c: Likewise.
3105 * nscd/nscd.h: Likewise.
3106 * nss/makedb.c: Likewise.
3107 * sysdeps/generic/ldconfig.h: Likewise.
3108
be179c8a
SP
31092013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3110
ba384f6e
SP
3111 * Versions.def: Add GLIBC_2.18.
3112 * include/link.h (struct link_map): New member l_tls_dtor_count.
3113 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3114 (__call_tls_dtors): Likewise.
3115 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3116 __cxa_thread_atexit_impl.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3118 Likewise.
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3120 Likewise.
3121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3122 Likewise.
3123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3124 Likewise.
3125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3127 Likewise.
3128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3129 Likewise.
3130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3132 Likewise.
3133 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3134 (tests): Add test case tst-tls-atexit.
3135 (modules-names): Add shared library for tst-tls-atexit.
3136 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3137 (GLIBC_PRIVATE): Add __call_tls_dtors.
3138 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3139 for libstdc++.
3140 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3141 * stdlib/tst-tls-atexit.c: New test case.
3142 * stdlib/tst-tls-atexit-lib.c: New test case.
3143
ffaa74cf 3144 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3145
be179c8a
SP
3146 * elf/Versions (ld): Add _dl_find_dso_for_object.
3147 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3148 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3149 (dl_open_worker): Use _dl_find_dso_for_object.
3150 * elf/dl-sym.c (do_sym): Likewise.
3151 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3152
f78b5caa
AK
31532013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3154
3155 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3156 Syntactic changes only.
3157 (_dl_runtime_profile): Do a tail-call to the resolved function.
3158
29691210
JM
31592013-02-17 Joseph Myers <joseph@codesourcery.com>
3160
3161 [BZ #13550]
3162 * sysdeps/x86_64/bp-asm.h: Remove file.
3163 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3164 <bp-sym.h> and <bp-asm.h>.
3165 (__clone): Do not use BP_SYM.
3166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3167 <bp-sym.h> and <bp-asm.h>.
3168 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3169 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3170 "bp-asm.h".
3171 (_setjmp): Do not use BP_SYM.
3172 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3173 "bp-asm.h".
3174 (setjmp): Do not use BP_SYM.
3175 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3176 libc_hidden_def.
3177 (mempcpy): Do not use BP_SYM in weak_alias.
3178 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3179 "bp-asm.h".
3180 (strchr): Do not use BP_SYM.
3181 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3182 "bp-asm.h".
3183 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3184 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3185 (_start): Do not use BP_SYM.
3186 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3187 "bp-asm.h".
3188 (strcat): Do not use BP_SYM.
3189 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3190 "bp-asm.h".
3191 (STRCMP): Do not use BP_SYM.
3192 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3193 "bp-asm.h".
3194 (STRCPY): Do not use BP_SYM.
3195 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3196 "bp-asm.h".
3197 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3198 "bp-asm.h".
3199 (FUNCTION): Do not use BP_SYM.
3200 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3201 weak_alias.
3202 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3203
f238fd19
AJ
32042013-02-17 Andreas Jaeger <aj@suse.de>
3205
3206 * time/Versions: Sort entries.
3207 * string/Versions: Likewise.
3208 * resolv/Versions: Likewise.
3209 * posix/Versions: Likewise.
3210 * iconv/Versions: Likewise.
3211 * elf/Versions: Likewise.
3212 * wcsmbs/Versions: Likewise.
3213
bd07f23c 32142013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3215
22af19f9
SP
3216 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3217 loop termination condition.
3218
4709fe76
SP
3219 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3220 variable to calculate EZ.
3221 (__sqr): Likewise.
2d0e0f29
SP
3222
3223 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3224 the lower precision input.
3225
daaa7713
JM
32262013-02-15 Joseph Myers <joseph@codesourcery.com>
3227
3228 [BZ #13550]
3229 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3230 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3231 (run-via-rtld-prefix): Do not handle %-bp tests.
3232 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3233 (all-object-suffixes): Remove .ob.
3234 (bppfx): Remove variable.
3235 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3236 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3237 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3238 [$(build-bounded) = yes] (libtype.ob): Likewise.
3239 * Makerules (elide-routines.ob): Remove variable.
3240 (do-tests-clean): Do not handle *-bp.out.
3241 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3242 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3243 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3244 (tests): Do not include $(tests-bp.out).
3245 (xtests): Do not include $(xtests-bp.out).
3246 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3247 [$(build-bounded) = yes] ($(addprefix
3248 $(objpfx),$(binaries-bounded))): Remove rule.
3249 ($(objpfx)%-bp.out): Remove rule.
3250 * config.make.in (build-bounded): Remove variable.
3251 * crypt/Makefile [$(build-bounded) = yes]
3252 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3253 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3254 append to variable.
3255 [$(build-bounded) = yes] (install-lib): Likewise.
3256 [$(build-bounded) = yes] (generated): Likewise.
3257 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3258 Remove rule.
3259 * intl/Makefile [$(build-bounded) = yes]
3260 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3261 * math/Makefile [$(build-bounded) = yes]
3262 ($(tests:%=$(objpfx)%-bp): Likewise.
3263 * misc/Makefile [$(build-bounded) = yes]
3264 ($(objpfx)tst-tsearch-bp): Likewise.
3265 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3266 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3267 Remove dependency.
3268 * string/Makefile (o-objects.ob): Remove variable.
3269 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3270 (CFLAGS-.ob): Remove variable.
3271 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3272 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3273 both definitions of variable.
3274 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3275 (ASFLAGS-.ob): Remove variable.
3276
e97ed6dd
JM
32772013-02-14 Joseph Myers <joseph@codesourcery.com>
3278
2bdd4ca6
JM
3279 [BZ #13550]
3280 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3281 Remove __BOUNDED_POINTERS__ from condition.
3282 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3283 * string/bits/string2.h [!__NO_STRING_INLINES &&
3284 !__BOUNDED_POINTERS__]: Likewise.
3285 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3286 Likewise.
3287 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3288 Remove conditional code.
3289 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3290 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3291 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3292 condition.
3293
e97ed6dd
JM
3294 [BZ #13550]
3295 * csu/libc-start.c: Do not include <bp-sym.h>.
3296 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3297 * elf/dl-open.c: Do not include <bp-sym.h>.
3298 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3299 * math/fegetenv.c: Do not include <bp-sym.h>.
3300 (fegetenv): Do not use BP_SYM in versioned symbols.
3301 * nptl/sysdeps/pthread/bits/libc-lockP.h
3302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3303 <bp-sym.h>.
3304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3305 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3307 (__pthread_mutex_destroy): Likewise.
3308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3309 (__pthread_mutex_lock): Likewise.
3310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3311 (__pthread_mutex_trylock): Likewise.
3312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3313 (__pthread_mutex_unlock): Likewise.
3314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3315 (__pthread_mutexattr_init): Likewise.
3316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3317 (__pthread_mutexattr_destroy): Likewise.
3318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3319 (__pthread_mutexattr_settype): Likewise.
3320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3321 (__pthread_rwlock_init): Likewise.
3322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3323 (__pthread_rwlock_destroy): Likewise.
3324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3325 (__pthread_rwlock_rdlock): Likewise.
3326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3327 (__pthread_rwlock_tryrdlock): Likewise.
3328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3329 (__pthread_rwlock_wrlock): Likewise.
3330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3331 (__pthread_rwlock_trywrlock): Likewise.
3332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3333 (__pthread_rwlock_unlock): Likewise.
3334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3335 (__pthread_key_create): Likewise.
3336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3337 (__pthread_setspecific): Likewise.
3338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3339 (__pthread_getspecific): Likewise.
3340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3341 Likewise.
3342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3343 (_pthread_cleanup_push_defer): Likewise.
3344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3345 (_pthread_cleanup_pop_restore): Likewise.
3346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3347 (pthread_setcancelstate): Likewise.
3348 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3349 <bp-sym.h>.
3350 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3351 (memchr): Do not use BP_SYM in weak_alias.
3352 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3353 (fegetenv): Do not use BP_SYM in versioned symbols.
3354 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3355 (fesetenv): Do not use BP_SYM in versioned symbols.
3356 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3357 (feupdateenv): Do not use BP_SYM in versioned symbols.
3358 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3359 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3360 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3361 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3362 (open64): Do not use BP_SYM in weak_alias.
3363 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3364 (fegetenv): Do not use BP_SYM in versioned symbols.
3365 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3366 (fesetenv): Do not use BP_SYM in versioned symbols.
3367 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3368 (feupdateenv): Do not use BP_SYM in versioned symbols.
3369 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3370 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3371 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3372 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3373 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3374 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3375 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3376 <bp-sym.h>.
3377 (__libc_start_main): Do not use BP_SYM.
3378
d6752ccd
SP
33792013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3380
cb57ce60
SP
3381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3382 redundant return line.
3383 (norm): Likewise.
3384 (denorm): Likewise.
3385 (dbl_mp): Likewise.
3386 (sub_magnitudes): Likewise.
3387 (__add): Likewise.
3388 (__sub): Likewise.
3389 (__mul): Likewise.
3390 (__inv): Likewise.
3391 (__dvd): Likewise.
3392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3393 (norm): Likewise.
3394 (denorm): Likewise.
3395 (dbl_mp): Likewise.
3396 (sub_magnitudes): Likewise.
3397 (__add): Likewise.
3398 (__sub): Likewise.
3399 (__mul): Likewise.
3400 (__inv): Likewise.
3401 (__dvd): Likewise.
3402
f414520d
SP
3403 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3404 instead of __mul.
3405 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3406 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3407 (cc32): Likewise.
3408
d6752ccd
SP
3409 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3410 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3411 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3412 of __mul for squares.
3413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3414 function
3415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3416 Likewise.
3417 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3418 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3419
70d9946a
JM
34202013-02-13 Joseph Myers <joseph@codesourcery.com>
3421
3422 [BZ #13550]
3423 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3424 code.
3425 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3426 prototype or function definition. Rename ubp_* variables and
3427 parameters. Remove argv definitions conditional on
3428 [__BOUNDED_POINTERS__].
3429 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3430 * elf/dl-runtime.c (_dl_fixup): Likewise.
3431 * include/set-hooks.h (RUN_HOOK): Likewise.
3432 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3433 definition.
3434 * string/strcpy.c (strcpy): Do not use __unbounded.
3435 * sysdeps/generic/frame.h (struct layout): Likewise.
3436 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3437 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3438 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3439 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3440 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3441 (__backtrace): Likewise.
3442 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3443 use __ptrvalue.
3444 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3445 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3446 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3447 Likewise.
3448 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3449 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3450 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3451 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3452 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3453 Do not use __unbounded.
3454 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3455 Rename __unboundedrlimits parameter to rlimits in prototype.
3456 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3457 Do not use __unbounded.
3458 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3459 not use __ptrvalue.
3460 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3461 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3462 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3463 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3464 __ptrvalue or __unbounded.
3465 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3466 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3467 use __unbounded.
3468 (__new_msgctl): Do not use __ptrvalue.
3469 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3470 __unbounded.
3471 (__libc_msgrcv): Do not use __ptrvalue.
3472 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3473 startup_info): Do not use __unbounded.
3474 (__libc_start_main): Likewise. Rename ubp_* variables and
3475 parameters. Remove argv definitions conditional on
3476 [__BOUNDED_POINTERS__].
3477 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3478 __ptrvalue.
3479 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3480 use __unbounded.
3481 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3482 or __ptrvalue.
3483 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3484 use __unbounded.
3485 (__new_shmctl): Do not use __ptrvalue.
3486 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3487 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3488 Likewise.
3489 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3490 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3491 (__libc_sigaction): Likewise.
3492 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3493 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3494 Likewise.
3495 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3496
cc7834d6
OB
34972013-02-13 Ondřej Bílka <neleai@seznam.cz>
3498
ffb1ec7b 3499 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3500
3501 * string/mempcpy.c: Implement by calling memcpy.
3502
bdf02814
SP
35032013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3504
c2af38aa
SP
3505 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3506
4e92d59e
SP
3507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3508 evaluation.
3509
909279a5
SP
3510 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3511 values in the mantissa.
3512
bdf02814
SP
3513 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3514 minimize writes to Z.
3515 (sub_magnitudes): Simplify code a bit.
3516
cd525923
RM
35172013-02-12 Roland McGrath <roland@hack.frob.com>
3518
3519 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3520 from the message. The linker prefixes all warnings with that already.
3521
7e2f0d2d
AS
35222013-02-12 Andreas Schwab <schwab@suse.de>
3523
a445af0b
AS
3524 [BZ #15078]
3525 * posix/regexec.c (extend_buffers): Add parameter min_len.
3526 (check_matching): Pass minimum needed length.
3527 (clean_state_log_if_needed): Likewise.
3528 (get_subexp): Likewise.
3529 * posix/Makefile (tests): Add bug-regex34.
3530 (bug-regex34-ENV): Define.
3531 * posix/bug-regex34.c: New file.
3532
7e2f0d2d
AS
3533 [BZ #11561]
3534 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3535 elements compare against the byte sequence of it, not its name.
3536 * posix/Makefile (tests): Add bug-regex35.
3537 (bug-regex35-ENV): Define.
3538 * posix/bug-regex35.c: New file.
3539
a175b684
TV
35402013-02-11 Tom de Vries <tom@codesourcery.com>
3541
3542 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3543 comment.
3544 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3545 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3546 (CHECK_EOL): Add undef.
3547
310998fe 35482013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3549
3550 * bits/stdlib-bsearch.h: New file.
3551 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3552 * stdlib/stdlib.h: Likewise.
41eda41d 3553
8ded91fb
RM
35542013-02-11 Roland McGrath <roland@hack.frob.com>
3555
3556 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3557 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3558 declaration.
3559 * manual/search.texi (Array Search Function): Add missing const in
3560 lfind prototype.
3561 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3562 declaration to use rlim_t.
3563 (Basic Scheduling Functions): Remove erroneous const from
3564 sched_getparam prototype. Remove erroneous * from
3565 sched_get_priority_max and sched_get_priority_min prototypes.
3566 (Resource Usage): Fix summary @comment on vtimes to refer to
3567 sys/vtimes.h rather than vtimes.h.
3568 Add missing *s in vtimes prototype.
3569 (Limits on Resources): Fix ulimit prototype to return long int.
3570 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3571 prototypes to use long int rather than double.
3572 (BSD Random): Fix initstate and setstate to use char *, not void *.
3573 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3574 prototype to make second argument 'struct aiocb64 *const[]'.
3575 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3576 (Status of AIO Operations): Remove erroneous const in aio_return and
3577 aio_return64 prototypes.
3578 (Synchronizing I/O): Fix sync prototype to return void.
3579 * manual/startup.texi (Suboptions): Remove an erroneous const in
3580 getsubopt prototype.
3581 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3582 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3583 use size_t rather than int.
3584 (Scanning All Users): Likewise for getpwent_r.
3585 (Setting Groups): Add missing const to setgroups prototype.
3586 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3587 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3588 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3589 'const void *' rather than 'const char *'.
3590 (Host Address Functions): Likewise for inet_ntop.
3591 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3592 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3593 ssize_t for return value.
3594 (Sending Data): Likewise for send, sendto, sendmsg.
3595 (Socket Option Functions): Add a missing const in setsockopt prototype.
3596 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3597 use wchar_t for the argument.
3598 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3599 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3600 take no arguments.
3601 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3602 double/float/long double for second argument.
3603 Fix return types of significand, significandf, significandl.
3604 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3605 argument in fchmod prototype.
3606 (File Owner): Use uid_t and gid_t in fchown prototype.
3607 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3608 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3609 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3610 use 'const struct dirent **' as argument types to CMP function pointer
3611 argument.
3612 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3613 (File Times): Fix summary magic @comment for struct utimbuf and utime
3614 to refer to utime.h, not time.h.
3615 * manual/string.texi (Argz Functions): Add missing const in
3616 argz_extract and argz_next prototypes.
3617 (Finding Tokens in a String): Likewise for basename.
3618 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3619 (Copying and Concatenation): Fix typo in wmemmove prototype.
3620 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3621 (Signal Stack): Remove erroneous const in sigstack prototype.
3622 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3623 prototype.
3624 (Simple Calendar Time): Likewise for stime.
3625 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3626 prototype.
3627 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3628 say sys/sysctl.h instead.
3629 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3630 and vsyslog prototypes.
3631
fe77fe6d
TV
36322013-02-11 Tom de Vries <tom@codesourcery.com>
3633
3634 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3635 Remove.
3636
3a09b620
RM
36372013-02-11 Roland McGrath <roland@hack.frob.com>
3638
3639 * misc/sys/mman.h: Fix typo in mremap comment.
3640
550a0b89
RM
36412013-02-08 Roland McGrath <roland@hack.frob.com>
3642
3643 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3644 the '\0' terminator.
3645
a2da1673
JM
36462013-02-08 Joseph Myers <joseph@codesourcery.com>
3647
3648 [BZ #13550]
3649 * debug/segfault.c: Don't include <bp-checks.h>.
3650 * sysdeps/generic/bp-checks.h: Remove file.
3651 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3652 (__GETDENTS): Don't use CHECK_N.
3653 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3654 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3655 (__getgroups): Don't use CHECK_N.
3656 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3657 (setgroups): Don't use CHECK_N.
3658 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3659 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3660 (__libc_msgrcv): Don't use CHECK_N.
3661 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3662 (__libc_msgsnd): Don't use CHECK_N.
3663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3664 <bp-checks.h>.
3665 (__libc_pread): Don't use CHECK_N.
3666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3667 include <bp-checks.h>.
3668 (__libc_pread64): Don't use CHECK_N.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3670 include <bp-checks.h>.
3671 (__libc_pwrite): Don't use CHECK_N.
3672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3673 include <bp-checks.h>.
3674 (__libc_pwrite64): Don't use CHECK_N.
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3676 <bp-checks.h>.
3677 (__libc_pread): Don't use CHECK_N.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3679 include <bp-checks.h>.
3680 (__libc_pread64): Don't use CHECK_N.
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3682 include <bp-checks.h>.
3683 (__libc_pwrite): Don't use CHECK_N.
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3685 include <bp-checks.h>.
3686 (__libc_pwrite64): Don't use CHECK_N.
3687 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3688 (do_pread): Don't use CHECK_N.
3689 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3690 (do_pread64): Don't use CHECK_N.
3691 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3692 (do_pwrite): Don't use CHECK_N.
3693 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3694 (do_pwrite64): Don't use CHECK_N.
3695 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3696 (__libc_readv): Don't use CHECK_N.
3697 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3698 (semop): Don't use CHECK_N.
3699 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3700 <bp-checks.h>.
3701 (semtimedop): Don't use CHECK_N.
3702 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3703 (__libc_pread): Don't use CHECK_N.
3704 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3705 <bp-checks.h>.
3706 (__libc_pread64): Don't use CHECK_N.
3707 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3708 <bp-checks.h>.
3709 (__libc_pwrite): Don't use CHECK_N.
3710 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3711 <bp-checks.h>.
3712 (__libc_pwrite64): Don't use CHECK_N.
3713 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3714 <bp-checks.h>.
3715 (__libc_msgrcv): Don't use CHECK_N.
3716 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3717 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3718 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3719 (__libc_writev): Don't use CHECK_N.
3720
b84660a8
RM
37212013-02-08 Roland McGrath <roland@hack.frob.com>
3722
7f3e75f8
RM
3723 * string/strcpy.c: Removed unused variable.
3724
b84660a8
RM
3725 * Makeconfig (+sysdep-includes): Define with := rather than =.
3726 Use an existing include/ subdir of each sysdeps dir before it.
3727
471514d3
CD
37282013-02-08 Carlos O'Donell <carlos@redhat.com>
3729
3730 * nscd/connection.c (register_traced_file): Comment function.
3731 [HAVE_INOTIFY] (union __inev): Define.
3732 [HAVE_INOTIFY] (inotify_check_files): New function.
3733 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3734 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3735 clear_db_cache.
3736 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3737
b2d3c3be
CD
37382013-02-08 Carlos O'Donell <carlos@redhat.com>
3739
3740 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3741 loaded if not already and that a failure is permanent.
3742
b39949d2
CD
37432013-02-08 Carlos O'Donell <carlos@redhat.com>
3744
ddacd1db 3745 [BZ #15006]
b39949d2
CD
3746 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3747 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3748
b2c9eff4
JM
37492013-02-08 Joseph Myers <joseph@codesourcery.com>
3750
f3aae3f3
JM
3751 [BZ #13550]
3752 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3753 (CHECK_1_NULL_OK): Likewise.
3754 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3755 (__fxstat): Do not use CHECK_1.
3756 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3757 <bp-checks.h>.
3758 (___fxstat64): Do not use CHECK_1.
3759 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3760 <bp-checks.h>.
3761 (__fxstatat): Do not use CHECK_1.
3762 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3763 <bp-checks.h>.
3764 (__fxstatat64): Do not use CHECK_1.
3765 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3766 <bp-checks.h>.
3767 (__fxstat): Do not use CHECK_1.
3768 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3769 <bp-checks.h>.
3770 (__fxstatat): Do not use CHECK_1.
3771 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3772 <bp-checks.h>.
3773 (__getresgid): Do not use CHECK_1.
3774 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3775 <bp-checks.h>.
3776 (__getresuid): Do not use CHECK_1.
3777 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3778 <bp-checks.h>.
3779 (__lxstat): Do not use CHECK_1.
3780 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3781 <bp-checks.h>.
3782 (__old_msgctl): Do not use CHECK_1.
3783 (__new_msgctl): Likewise.
3784 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3785 <bp-checks.h>.
3786 (__new_setrlimit): Do not use CHECK_1.
3787 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3788 <bp-checks.h>.
3789 (__old_shmctl): Do not use CHECK_1.
3790 (__new_shmctl): Likewise.
3791 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3792 <bp-checks.h>.
3793 (__xstat): Do not use CHECK_1.
3794 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3795 (__lxstat): Do not use CHECK_1.
3796 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3797 <bp-checks.h>.
3798 (___lxstat64): Do not use CHECK_1.
3799 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3800 (__old_msgctl): Do not use CHECK_1.
3801 (__new_msgctl): Likewise.
3802 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3803 <bp-checks.h>.
3804 (__gettimeofday): Do not use CHECK_1.
3805 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3806 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3807 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3808 <bp-checks.h>.
3809 (__gettimeofday): Do not use CHECK_1.
3810 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3811 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3812 (__new_shmctl): Do not use CHECK_1.
3813 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3814 <bp-checks.h>.
3815 (do_sigtimedwait): Do not use CHECK_1.
3816 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3817 <bp-checks.h>.
3818 (do_sigwaitinfo): Do not use CHECK_1.
3819 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3820 <bp-checks.h>.
3821 (msgctl): Do not use CHECK_1.
3822 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3823 <bp-checks.h>.
3824 (shmctl): Do not use CHECK_1.
3825 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3826 (ustat): Do not use CHECK_1.
3827 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3828 <bp-checks.h>.
3829 (__fxstat): Do not use CHECK_1.
3830 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3831 <bp-checks.h>.
3832 (__fxstatat): Do not use CHECK_1.
3833 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3834 <bp-checks.h>.
3835 (__lxstat): Do not use CHECK_1.
3836 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3837 <bp-checks.h>.
3838 (__xstat): Do not use CHECK_1.
3839 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3840 (__xstat): Do not use CHECK_1.
3841 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3842 (___xstat64): Do not use CHECK_1.
3843
b2c9eff4
JM
3844 [BZ #13550]
3845 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3846 definitions.
3847 (CHECK_BOUNDS_HIGH): Likewise.
3848 * string/strcpy.c: Do not include <bp-checks.h>.
3849 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3850
f1d70dad
RM
38512013-02-07 Roland McGrath <roland@hack.frob.com>
3852
3853 * nscd/nscd-client.h (__nscd_drop_map_ref):
3854 Add __attribute__ ((unused)).
3855 * nis/nss-nisplus.h (niserr2nss): Likewise.
3856
3857 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3858 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3859
3860 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3861 Remove inline keyword.
3862 * include/rounding-mode.h (round_away): Likewise.
3863 * libio/wfileops.c (adjust_wide_data): Likewise.
3864 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3865 (__m128i_strloadu_tolower): Likewise.
3866 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3867 (__m128i_strloadu_tolower): Likewise.
3868 * time/mktime.c (ydhms_diff): Likewise.
3869 * locale/elem-hash.h (elem_hash): Likewise.
3870 * locale/setlocale.c (setdata): Likewise.
3871 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3872 (re_string_wchar_at): Likewise.
3873 (bitset_not, bitset_merge, bitset_mask): Likewise.
3874 [!(__GNUC__ > 3)] (inline): Remove macro.
3875 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3876 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3877 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3878 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3879 * string/memcmp.c (memcmp_bytes): Likewise.
3880 * locale/programs/locarchive.c (compute_hashval): Likewise.
3881 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3882 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3883 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3884 * nss/getent.c (print_rpc, print_protocols): Likewise.
3885 (print_passwd, print_group, print_aliases): Likewise.
3886 * nis/nss-nisplus.h (niserr2nss): Likewise.
3887 * nscd/connections.c (restart_p): Likewise.
3888 Change return type to bool.
3889
eab55bfb
RM
38902013-02-05 Roland McGrath <roland@hack.frob.com>
3891
7bd642f5
RM
3892 * Makeconfig (all-Depend-files): Add existing
3893 $(sorted-subdirs:=/Depend) files.
3894 (all-subdirs): Remove nss.
3895 * sysdeps/unix/inet/Subdirs: Add it here instead.
3896 * hesiod/Depend: New file.
3897
573c29b2
RM
3898 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3899 instead of calling alloca.
3900
b2e25af0
RM
3901 * io/lseek.c (__lseek): Rename to __libc_lseek.
3902 Define __lseek as an alias.
3903
eab55bfb
RM
3904 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3905
9a0d1941
CD
39062013-02-04 Carlos O'Donell <carlos@redhat.com>
3907
3908 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3909 else clause and remove check for non-standard endianness.
3910
b83bbec4
DM
39112013-02-04 David S. Miller <davem@davemloft.net>
3912
3913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3914
6277fdab
JM
39152013-02-04 Joseph Myers <joseph@codesourcery.com>
3916
3917 [BZ #13550]
3918 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3919 (__ubp_memchr): Remove prototype.
3920 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3921 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3922 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3923 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3924 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3925 Remove alias.
3926 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3927 (__ubp_memchr): Likewise.
3928 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3929 (__ubp_memchr): Likewise.
3930 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3931 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3932 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3933 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3934 CHECK_STRING.
3935 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3936 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3937 (__getcwd): Do not use CHECK_STRING.
3938 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3939 <bp-checks.h>.
3940 (__real_chown): Do not use CHECK_STRING.
3941 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3942 <bp-checks.h>.
3943 (fchownat): Do not use CHECK_STRING.
3944 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3945 CHECK_STRING.
3946 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3947 <bp-checks.h>.
3948 (__lchown): Do not use CHECK_STRING.
3949 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3950 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3951 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3952 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3954 include <bp-checks.h>.
3955 (truncate64): Do not use CHECK_STRING.
3956 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3957 <bp-checks.h>.
3958 (__real_chown): Do not use CHECK_STRING.
3959 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3960 <bp-checks.h>.
3961 (__lchown): Do not use CHECK_STRING.
3962 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3963 <bp-checks.h>.
3964 (__chown): Do not use CHECK_STRING.
3965 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3966 <bp-checks.h>.
3967 (truncate64): Do not use CHECK_STRING.
3968 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3969 Likewise.
3970 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3971 (__xmknod): Do not use CHECK_STRING.
3972 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3973 <bp-checks.h>.
3974 (__xmknodat): Do not use CHECK_STRING.
3975 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3976 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3977
903ae060
AS
39782013-02-04 Andreas Schwab <schwab@suse.de>
3979
3980 [BZ #14142]
3981 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3982 * include/netdb.h: Likewise for h_errno.
3983 * elf/tst-stackguard1.c: Include <tls.h>.
3984
542f9466
JK
39852013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3986
3987 * elf/link.h (struct link_map): Extend the l_addr comment.
3988 * include/link.h (struct link_map): Likewise.
3989
e782a927
JM
39902013-02-01 Joseph Myers <joseph@codesourcery.com>
3991
3992 [BZ #13550]
3993 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3994 (BOUNDED_1): Remove macro.
3995 * debug/backtrace.c: Don't include <bp-checks.h>.
3996 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3997 (__backtrace): Likewise.
3998 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3999 <bp-checks.h>.
4000 (__backtrace): Don't use BOUNDED_1.
4001 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4002 <bp-checks.h>.
4003 (__backtrace): Don't use BOUNDED_1.
4004 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4005 (__backtrace): Don't use BOUNDED_1.
4006 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4007 (shmat): Don't use BOUNDED_N.
4008
8cf28c5e
JM
40092013-01-31 Joseph Myers <joseph@codesourcery.com>
4010
3a7ac8a0
JM
4011 [BZ #13550]
4012 * sysdeps/generic/bp-start.h: Remove file.
4013 * csu/libc-start.c: Don't include <bp-start.h>.
4014 (LIBC_START_MAIN): Set up __environ directly instead of using
4015 INIT_ARGV_and_ENVIRON.
4016 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4017 <bp-start.h>.
4018
f3499f95
JM
4019 [BZ #13550]
4020 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4021 definitions.
4022 (CHECK_FCNTL): Likewise.
4023 (CHECK_N_PAGES): Likewise.
4024
32a45bea
JM
4025 [BZ #13550]
4026 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4027 definitions.
4028 (CHECK_SIGSET_NULL_OK): Likewise.
4029 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4030 <bp-checks.h>.
4031 (sigpending): Don't use CHECK_SIGSET.
4032 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4033 <bp-checks.h>.
4034 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4035 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4036 <bp-checks.h>.
4037 (do_sigsuspend): Don't use CHECK_SIGSET.
4038 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4039 use CHECK_SIGSET.
4040 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4041 (do_sigwait): Don't use CHECK_SIGSET.
4042 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4043 use CHECK_SIGSET.
4044 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4045 include <bp-checks.h>.
4046 (sigpending): Don't use CHECK_SIGSET.
4047 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4048 include <bp-checks.h>.
4049 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4050 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4051 <bp-checks.h>.
4052 (sigpending): Don't use CHECK_SIGSET.
4053 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4054 <bp-checks.h>.
4055 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4056
2e8a5c8c
JM
4057 [BZ #13550]
4058 * sysdeps/generic/bp-semctl.h: Remove file.
4059 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4060 <bp-checks.h> and <bp-semctl.h>.
4061 (__old_semctl): Don't use CHECK_SEMCTL.
4062 (__new_semctl): Likewise.
4063 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4064 and <bp-semctl.h>.
4065 (__old_semctl): Don't use CHECK_SEMCTL.
4066 (__new_semctl): Likewise.
4067 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4068 <bp-checks.h> and <bp-semctl.h>.
4069 (__old_semctl): Don't use CHECK_SEMCTL.
4070 (__new_semctl): Likewise.
4071 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4072 <bp-checks.h> and <bp-semctl.h>.
4073 (semctl): Don't use CHECK_SEMCTL.
4074
c2d54929
JM
4075 [BZ #13550]
4076 * Makerules (elide-bp-thunks): Remove variable.
4077 (elide-routines.oS): Don't use $(elide-bp-thunks).
4078 (elide-routines.os): Likewise.
4079 (elide-routines.o): Likewise.
4080 (elide-routines.op): Likewise.
4081 (elide-routines.og): Likewise.
4082 (objects): Don't use $(bp-thunks).
4083 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4084 include.
4085 (common-generated): Do not add s-proto-bp.d.
4086 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4087 (int): Likewise.
4088 (typ): Likewise.
4089 Do not generate makefile rules for bounded-pointer thunks.
4090 * sysdeps/generic/bp-thunks.h: Remove file.
4091 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4092 * sysdeps/unix/s-proto-bp.S: Likewise.
4093
8cf28c5e
JM
4094 [BZ #15062]
4095 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4096 parts of result separately when argument is not close to line from
4097 -i to i and one part of argument is small.
4098 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4099 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4100 * math/libm-test.inc (cacos_test): Add more tests.
4101 (casin_test): Likewise.
4102 (casinh_test): Likewise.
4103 * sysdeps/i386/fpu/libm-test-ulps: Update.
4104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4105
c4e33b8d
DM
41062013-01-31 David S. Miller <davem@davemloft.net>
4107
4108 * po/de.po: Update from translation team.
4109
3b60b421
MK
41102013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4111
4112 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4113
bb931195
TS
41142013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4115
b5a5da23
TS
4116 * configure.in (_AC_PROG_CC_C89): New definition.
4117 * configure: Regenerate.
4118
bb931195
TS
4119 * configure.in (AC_PROG_CPP): New definition.
4120 * configure: Regenerate.
4121
8c53a12c
JM
41222013-01-23 Joseph Myers <joseph@codesourcery.com>
4123
4124 * debug/tst-backtrace.h: New file.
4125 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4126 (ret): Remove variable.
4127 (x): Likewise.
4128 (FAIL): Remove macro.
4129 (NO_INLINE): Likewise.
4130 (fn1): Use match function instead of strstr.
4131 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4132 (ret): Remove variable.
4133 (x): Likewise.
4134 (FAIL): Remove macro.
4135 (NO_INLINE): Likewise.
4136 (fn): Use match function instead of strstr.
4137 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4138 (ret): Remove variable.
4139 (x): Likewise.
4140 (FAIL): Remove macro.
4141 (NO_INLINE): Likewise.
4142 (handle_signal): Use match function instead of strstr.
4143 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4144 (ret): Remove variable.
4145 (x): Likewise.
4146 (FAIL): Remove macro.
4147 (NO_INLINE): Likewise.
4148 (handle_signal): Use match function instead of strstr.
4149
4858fa2a
RM
41502013-01-23 Roland McGrath <roland@hack.frob.com>
4151
4152 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4153
bae8e7f5
DM
41542013-01-23 David S. Miller <davem@davemloft.net>
4155
4156 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4157 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4158 argument of CAS if possible.
4159 * sysdeps/sparc/sparc64/bits/atomic.h
4160 (__arch_compare_and_exchange_val_32_acq): Likewise.
4161 (__arch_compare_and_exchange_val_64_acq): Likewise.
4162
9cbbc4ae
PT
41632013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4164
4165 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4166 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4167 Include <limits.h>.
67b3f58c 4168 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4169
5655a0b5
AC
41702013-01-23 Adam Conrad <adconrad@0c3.net>
4171
4172 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4173 (LDFLAGS-tst-array5): Likewise.
4174
052aff95
JM
41752013-01-23 Joseph Myers <joseph@codesourcery.com>
4176
4177 [BZ #15036]
4178 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4179 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4180 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4181 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4182
7c1e01aa
DM
41832013-01-21 David S. Miller <davem@davemloft.net>
4184
4185 * sysdeps/sparc/backtrace.c: New file.
4186 * sysdeps/sparc/sparc32/backtrace.h: New file.
4187 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4188 * sysdeps/sparc/sparc64/backtrace.h: New file.
4189 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4190 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4191 -funwind-tables.
4192
ab087e0a
AS
41932013-01-21 Andreas Schwab <schwab@suse.de>
4194
4195 [BZ #15020]
4196 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4197 closed its stdout.
4198
ed689c2f
AS
41992013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4200
4201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4202 "mpa2.h".
4203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4204
31d470ac
JM
42052013-01-18 Joseph Myers <joseph@codesourcery.com>
4206 Mark Mitchell <mark@codesourcery.com>
4207 Tom de Vries <tom@codesourcery.com>
4208 Paul Pluzhnikov <ppluzhnikov@google.com>
4209
4210 * debug/tst-backtrace2.c: New file.
4211 * debug/tst-backtrace3.c: Likewise.
4212 * debug/tst-backtrace4.c: Likewise.
4213 * debug/tst-backtrace5.c: Likewise.
4214 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4215 (CFLAGS-tst-backtrace3.c): Likewise.
4216 (CFLAGS-tst-backtrace4.c): Likewise.
4217 (CFLAGS-tst-backtrace5.c): Likewise.
4218 (LDFLAGS-tst-backtrace2): Likewise.
4219 (LDFLAGS-tst-backtrace3): Likewise.
4220 (LDFLAGS-tst-backtrace4): Likewise.
4221 (LDFLAGS-tst-backtrace5): Likewise.
4222 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4223 tst-backtrace4 and tst-backtrace5.
4224
90567f30 42252013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4226 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4227
4228 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4229 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4230 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4231 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4233 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4234 "+r" and remove output regs list as redundant. Add explicit inline
4235 asm to specify register of return val to work around compiler codegen
4236 bug. Remove (int) cast on return value. Add return type parameter to
4237 use in macro so that this macro does not truncate return value for
4238 64-bit values.
4239 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4240 pass to INTERNAL_VSYSCALL_NCS.
4241 (INLINE_VSYSCALL): Add 'long int' as return type to
4242 INTERNAL_VSYSCALL_NCS macro invocation.
4243 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4244 INTERNAL_VSYSCALL_NCS macro invocation.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4246
d3b9ea61
SP
42472013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4248
0b57daeb
SP
4249 [BZ #14496]
4250 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4251 Fix application of SIMD FP exception mask.
4252
caa99d06
SP
4253 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4254 mp_no from a power of two.
4255 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4256 __mpexp_twomm1. Use __pow_mp.
4257
d3b9ea61
SP
4258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4259 multiplication.
4260
1dbaee3c
DM
42612013-01-17 David S. Miller <davem@davemloft.net>
4262
4263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4264
728d7b43
JM
42652013-01-17 Joseph Myers <joseph@codesourcery.com>
4266
4267 [BZ #15023]
4268 * include/complex.h: Condition contents on [!_COMPLEX_H].
4269 (__kernel_casinhf): New prototype.
4270 (__kernel_casinh): Likewise.
4271 (__kernel_casinhl): Likewise.
4272 * math/Makefile (libm_calls): Add k_casinh.
4273 * math/k_casinh.c: New file.
4274 * math/k_casinhf.c: Likewise.
4275 * math/k_casinhl.c: Likewise.
4276 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4277 finite nonzero arguments.
4278 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4279 finite nonzero arguments.
4280 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4281 finite nonzero arguments.
4282 * math/s_casinh.c: Do not include <float.h>.
4283 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4284 * math/s_casinhf.c: Do not include <float.h>.
4285 (__casinhf): Move code for finite nonzero arguments to
4286 k_casinhf.c.
4287 * math/s_casinhl.c: Do not include <float.h>.
4288 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4289 redefine.
4290 (__casinhl): Move code for finite nonzero arguments to
4291 k_casinhl.c.
4292 * math/libm-test.inc (cacos_test): Add more tests.
4293 * sysdeps/i386/fpu/libm-test-ulps: Update.
4294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4295
2a26ef3a
PT
42962013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4297
4298 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4299 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4300 [!HAVE_MREMAP]: Remove [defined linux] case.
4301 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4302
a897655d
SP
43032013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4304
4305 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4306
881ebe89 43072013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4308
4309 * elf/elf.h (R_386_SIZE32): New relocation.
4310 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4311 R_386_SIZE32.
4312 (elf_machine_rela): Likewise.
4313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4314 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4315
59981e9b
JM
43162013-01-17 Joseph Myers <joseph@codesourcery.com>
4317
4318 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4319 (FP_FAST_FMA): Do not define.
4320 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4321 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4322 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4323 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4324 !_SOFT_FLOAT]: Likewise.
4325 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4326 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4327 value.
4328 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4329 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4330 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4331 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4332 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4333 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4334 file.
4335
cfa8054f
AS
43362013-01-16 Andreas Schwab <schwab@suse.de>
4337
4338 [BZ #14327]
4339 * include/stdlib.h (__mktemp): Add declaration.
4340 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4341 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4342
dd930cc5
SP
43432013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4344
881ebe89
SP
4345 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4346 definitions.
4347 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4348 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4349 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4350 definitions here.
4351 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4352 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4353 definitions.
4354 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4355 and ONE.
4356 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4357 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4358 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4359 definitions.
4360 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4361 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4362 definitions.
4363 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4364
dd930cc5
SP
4365 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4366
c19a9f89
DM
43672013-01-15 David S. Miller <davem@davemloft.net>
4368
1aa61767
DM
4369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4370 trunc{,f} to libm-sysdep_routes.
4371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4373 file.
4374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4376 file.
4377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4378 file.
4379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4381 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4382 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4383 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4384 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4385 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4386 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4387
c42d5e98
DM
4388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4389 nearbyint{,f} to libm-sysdep_routes.
4390 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4392 New file.
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4394 file.
4395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4396 New file.
4397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4398 file.
4399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4401 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4402 file.
4403 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4404 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4405 file.
4406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4407 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4408 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4409
c19a9f89
DM
4410 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4411 libc_feholdexcept and libc_fesetenv.
4412
357679d2
MF
44132013-01-15 Mike Frysinger <vapier@gentoo.org>
4414
4415 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4416
65a82e3d
DM
44172013-01-14 David S. Miller <davem@davemloft.net>
4418
8b954ab9
DM
4419 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4420 (SPARC_ASM_VIS2_IFUNC): Likewise.
4421 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4423 use of 'siam' instruction.
4424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4425 Likewise.
4426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4427 Likewise.
4428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4429 Likewise.
4430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4435 file.
4436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4437 file.
4438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4439 file.
4440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4441 file.
4442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4447 new VIS2 routines.
4448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4451 Likewise.
4452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4457 routines to libm-sysdep_routines.
4458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4459
65a82e3d
DM
4460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4461 fdim/fdimf to libm-sysdep_routines.
4462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4463 file.
4464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4466 file.
4467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4470 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4471 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4472 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4473 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4474
e34ab705
SP
44752013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4476
2a91b573
SP
4477 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4478 to optimize copies.
4479
1066a534
SP
4480 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4483
e34ab705
SP
4484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4485 local variable MPTWO.
4486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4487 Likewise.
4488
aba5e596
MF
44892013-01-13 Mike Frysinger <vapier@gentoo.org>
4490
4491 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4492 GLOB_NOESCAPE.
4493
e557e9e5
MF
44942013-01-13 Mike Frysinger <vapier@gentoo.org>
4495
4496 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4497
0428cec9
MF
44982013-01-13 Mike Frysinger <vapier@gentoo.org>
4499
4500 * manual/pattern.texi (glob_t): Document gl_flags.
4501 (glob64_t): Likewise.
4502
8794a964
DM
45032013-01-11 David S. Miller <davem@davemloft.net>
4504
66438c3f
RM
4505 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4506 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4507 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4508 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4509 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4510 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4511 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4512 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4513 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4514 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4515 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4516 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4517 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4518
4ae4244d
DM
4519 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4520 sparc V9 rather than using V8 code.
4521 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4522 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4523
8794a964
DM
4524 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4525 Move to...
4526 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4527 Here.
4528
6270516e
RM
45292013-01-11 Roland McGrath <roland@hack.frob.com>
4530
4531 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4532 not in the main loop.
4533 * configure: Regenerated.
4534
6a57d931
JM
45352013-01-11 Joseph Myers <joseph@codesourcery.com>
4536
4537 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4538 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4539 to just #else.
4540 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4541 [!__GLIBC_HAVE_LONG_LONG] case.
4542 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4543 condition to just #else.
4544 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4545 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4546 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4547 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4548 unconditional.
4549 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4550 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4551 #elif condition to just #else.
4552 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4553 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4554 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4555 #elif condition to just #else.
4556
0e8529e9
SE
45572013-01-11 Steve Ellcey <sellcey@mips.com>
4558
4559 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4560 (EF_MIPS_ARCH_64): Fix value.
4561 (EF_MIPS_ARCH_32R2): New.
4562 (EF_MIPS_ARCH_64R2): New.
4563
740b3dbe
L
45642013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4565
4566 * Makeconfig (+link-pie-before-libc): New.
4567 (+link-pie-after-libc): Likewise.
4568 (+link-pie-tests): Likewise.
4569 (+link-pie): Rewritten.
4570 (link-before-libc): Remove $(config-LDFLAGS).
4571 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4572 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4573 (config-LDFLAGS): Renamed to ...
4574 (rtld-LDFLAGS): This.
4575 (rtld-tests-LDFLAGS): New macro.
4576 (link-libc-rpath-link): Likewise.
4577 (link-libc-tests-rpath-link): Likewise.
4578 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4579 (link-libc): Prepand $(link-libc-rpath-link).
4580 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4581 (test-program-prefix): New macro.
4582 (test-via-rtld-prefix): Likewise.
4583 (test-program-cmd): Likewise.
4584 (host-test-program-cmd): Likewise.
4585 * Makefile ($(common-objpfx)testrun.sh): Replace
4586 $(run-program-prefix) with $(test-program-prefix).
4587 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4588 $(rtld-LDFLAGS).
4589 ($(common-objpfx)shlib.lds): Likewise.
4590 (build-module-helper): Likewise.
4591 ($(common-objpfx)format.lds): Likewise.
4592 * Rules (binaries-pie-tests): New.
4593 (binaries-pie-notests): Likewise.
4594 (binaries-pie): Rewritten.
4595 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4596 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4597 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4598 (make-test-out): Replace $(host-built-program-cmd) with
4599 $(host-test-program-cmd).
4600 * config.make.in (build-hardcoded-path-in-tests): New variable.
4601 * configure.in (--enable-hardcoded-path-in-tests): New configure
4602 option.
4603 (hardcoded_path_in_tests): New AC_SUBST.
4604 * configure: Regenerated.
4605 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4606 $(built-program-cmd) with $(test-program-cmd).
4607 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4608 (test_program_cmd): This.
4609 * elf/Makefile ($(objpfx)order.out): Run test with
4610 $(test-program-prefix).
4611 ($(objpfx)order2.out): Likewise.
4612 ($(objpfx)tst-initorder.out): Likewise.
4613 ($(objpfx)tst-initorder2.out): Likewise.
4614 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4615 $(test-program-cmd).
4616 ($(objpfx)tst-array1-static.out): Likewise.
4617 ($(objpfx)tst-array2.out): Likewise.
4618 ($(objpfx)tst-array3.out): Likewise.
4619 ($(objpfx)tst-array4.out): Likewise.
4620 ($(objpfx)tst-array5.out): Likewise.
4621 ($(objpfx)tst-array5-static.out): Likewise.
4622 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4623 $(test-program-cmd).
4624 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4625 $(run-program-prefix) with $(test-program-prefix).
4626 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4627 (test_program_prefix): This.
4628 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4629 $(run-program-prefix) with $(test-program-prefix).
4630 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4631 (test_program_prefix): This.
4632 * iconvdata/tst-tables.sh: Likewise.
4633 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4634 $(run-program-prefix) with $(test-program-prefix).
4635 ($(objpfx)tst-translit.out): Likewise.
4636 ($(objpfx)tst-gettext2.out): Likewise.
4637 ($(objpfx)tst-gettext4.out): Likewise.
4638 ($(objpfx)tst-gettext6.out): Likewise.
4639 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4640 (test_program_prefix): This.
4641 * intl/tst-gettext2.sh: Likewise.
4642 * intl/tst-gettext4.sh Likewise.
4643 * intl/tst-gettext6.sh: Likewise.
4644 * intl/tst-translit.sh: Likewise.
4645 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4646 with $(test-program-cmd).
4647 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4648 $(run-program-prefix) with $(test-program-prefix).
4649 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4650 (test_program_prefix): This.
4651 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4652 $(run-program-prefix) with $(test-program-prefix).
4653 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4654 (test_program_prefix): This.
4655 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4656 * posix/Makefile ($(objpfx)globtest.out): Replace
4657 $(run-via-rtld-prefix) and $(test-wrapper) with
4658 $(test-program-prefix) and $(test-via-rtld-prefix).
4659 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4660 $(test-program-prefix).
4661 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4662 $(host-test-program-cmd).
4663 (tst-spawn-ARGS): Likewise.
4664 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4665 $(test-program-prefix).
4666 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4667 (test_via_rtld_prefix): This.
4668 (test_wrapper): Renamed to ...
4669 (test_program_prefix): This.
4670 (run_program_prefix): Replaced by test_program_prefix.
4671 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4672 (test_program_prefix): This.
4673 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4674 with $(host-test-program-cmd).
4675 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4676 $(run-program-prefix) with $(test-program-prefix).
4677 ($(objpfx)tst-printf.out): Likewise.
4678 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4679 $(test-program-cmd).
4680 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4681 (test_program_prefix): This.
4682 * stdio-common/tst-unbputc.sh: Likewise.
4683 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4684 $(run-program-prefix) with $(test-program-prefix).
4685 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4686 (test_program_prefix): This.
4687 * string/Makefile ($(objpfx)tst-svc.out): Replace
4688 $(built-program-cmd) with $(test-program-cmd).
4689
c6fe55cf
AJ
46902013-01-11 Andreas Jaeger <aj@suse.de>
4691
4692 [BZ #15003]
4693 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4694 value. Sync with Linux 3.7.
4695
9e6919c8
DM
46962013-01-10 David S. Miller <davem@davemloft.net>
4697
4698 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4699 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4700 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4701
1c9f1a02
RM
47022013-01-10 Roland McGrath <roland@hack.frob.com>
4703
4704 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4705 never set.
4706 * configure: Regenerated.
4707
b9de2dde
DM
47082013-01-10 David S. Miller <davem@davemloft.net>
4709
4710 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4711 sparc V9 rather than using V8 code.
4712 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4713 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4714
e7f68ef4
RM
47152013-01-10 Roland McGrath <roland@hack.frob.com>
4716
4717 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4718 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4719 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4720 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4721 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4722 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4723 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4724 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4725 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4726 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4727 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4728 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4729 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4730 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4731 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4732 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4733 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4734 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4735 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4736 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4737 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4738 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4739 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4740 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4741 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4742 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4743 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4744
5a47cc9c
DM
47452013-01-10 David S. Miller <davem@davemloft.net>
4746
4747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4748
4cf8f209
L
47492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4750
4751 * posix/Makefile (tests-static): New variable.
4752 (tests): Add $(tests-static).
4753 (tst-exec-static-ARGS): New variable.
4754 (tst-spawn-static-ARGS): Likewise.
4755 * posix/tst-exec-static.c: New file.
4756 * posix/tst-spawn-static.c: Likewise.
4757 * posix/tst-exec.c: Support run directly.
4758 * posix/tst-spawn.c: Likewise.
4759
fed0faa1
JM
47602013-01-10 Joseph Myers <joseph@codesourcery.com>
4761
828beb13
JM
4762 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4763 long.
4764 * math/bits/mathcalls.h (llrint): Likewise.
4765 (llround): Likewise.
4766 * stdlib/stdlib.h (struct drand48_data): Likewise.
4767 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4768 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4769 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4770 Likewise.
4771 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4772 Likewise.
4773 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4774 (elf_greg_t): Likewise.
4775 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4776 (__jmp_buf): Likewise.
4777 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4778 definitions.
4779 (llrint): Likewise, for all definitions.
4780 (llrintl): Likewise.
4781
fed0faa1
JM
4782 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4783 Remove [__GNUC__] condition.
4784 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4785 condition to just [__USE_ISOC99].
4786 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4787
1a20cb20
L
47882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4789
4790 [BZ #14200]
4791 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4792 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4793 defined.
4794 (_POSIX_V6_ILP32_OFF32): Likewise.
4795 (_XBS5_ILP32_OFF32): Likewise.
4796 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4797 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4798
751b85f7
SP
47992013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4800
7490eb81
SP
4801 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4802
751b85f7
SP
4803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4804 doubles __mpexp_twomm1. Adjust usage.
4805 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4806 Remove.
4807
988197f0
AS
48082013-01-10 Andreas Schwab <schwab@suse.de>
4809
4810 [BZ #14964]
4811 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4812 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4813
e83d7298
DM
48142013-01-09 David S. Miller <davem@davemloft.net>
4815
034ed64b 4816 [BZ #15003]
e83d7298
DM
4817 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4818 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4819 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4820 TCP_FASTOPEN): Define.
4821 (tcp_repair_opt): New structure.
4822 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4823 enum values.
4824 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4825 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4826 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4827 (tcp_cookie_transactions): New structure.
4828
d5e0b9bd
AB
48292013-01-09 Anton Blanchard <anton@samba.org>
4830
4831 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4832 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4833 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4834 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4835
0c07e3ea
JM
48362013-01-09 Joseph Myers <joseph@codesourcery.com>
4837
4838 * include/features.h (__USE_ANSI): Remove.
4839
232f7002
RM
48402013-01-09 Roland McGrath <roland@hack.frob.com>
4841
ad98e30c
RM
4842 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4843
232f7002
RM
4844 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4845
950c99ca
SP
48462013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4847
b5792741
SP
4848 * sysdeps/s390/fpu/libm-test-ulps: Update.
4849
47cf2278
SP
4850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4851
950c99ca
SP
4852 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4853 (__acr): Likewise.
4854 (__cpy): Likewise.
4855 (norm): Likewise.
4856 (denorm): Likewise.
4857 (__mp_dbl): Likewise.
4858 (__dbl_mp): Likewise.
4859 (add_magnitudes): Likewise.
4860 (sub_magnitudes): Likewise.
4861 (__add): Likewise.
4862 (__sub): Likewise.
4863 (__mul): Likewise.
4864 (__inv): Likewise.
4865 (__dvd): Likewise.
4866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4867 (__acr): Likewise.
4868 (__cpy): Likewise.
4869 (norm): Likewise.
4870 (denorm): Likewise.
4871 (__mp_dbl): Likewise.
4872 (__dbl_mp): Likewise.
4873 (add_magnitudes): Likewise.
4874 (sub_magnitudes): Likewise.
4875 (__add): Likewise.
4876 (__sub): Likewise.
4877 (__mul): Likewise.
4878 (__inv): Likewise.
4879 (__dvd): Likewise.
4880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4881 (__acr): Likewise.
4882 (__cpy): Likewise.
4883 (norm): Likewise.
4884 (denorm): Likewise.
4885 (__mp_dbl): Likewise.
4886 (__dbl_mp): Likewise.
4887 (add_magnitudes): Likewise.
4888 (sub_magnitudes): Likewise.
4889 (__add): Likewise.
4890 (__sub): Likewise.
4891 (__mul): Likewise.
4892 (__inv): Likewise.
4893 (__dvd): Likewise.
4894
eede9df9
JM
48952013-01-08 Joseph Myers <joseph@codesourcery.com>
4896
4897 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4898 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4899 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4900 2 && __USE_EXTERN_INLINES]: Likewise.
4901
c40ea3d9
AJ
49022013-01-08 Andreas Jaeger <aj@suse.de>
4903
4904 [BZ# 14985]
4905 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4906 Remove.
4907 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4908 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4909
2ccdea26
AB
49102013-01-07 Anton Blanchard <anton@samba.org>
4911
4912 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4913 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4914 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4915 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4916 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4917 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4918 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4919 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4921 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4922 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4923 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4924 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4926 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4927 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4928 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4929 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4930 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4931 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4932 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4933 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4934 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4935 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4936 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4937 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4938 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4939 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4941 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4942 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4944 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4945 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4946 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4947 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4948 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4950 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4951 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4952 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4953 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4954 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4955
a9708fed
JM
49562013-01-07 Joseph Myers <joseph@codesourcery.com>
4957
375607b9
JM
4958 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4959 (__MALLOC_PMT): Likewise.
4960 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4961 [__GNUC__], only on [_LIBC].
4962 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4963 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4964 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4965 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4966 forward declaration.
4967 (realloc_hook_ini): Likewise.
4968 (memalign_hook_ini): Likewise.
4969 (__libc_memalign): Do not use __MALLOC_PMT in variable
4970 declaration.
4971 (__libc_valloc): Likewise.
4972 (__libc_pvalloc): Likewise.
4973 (__libc_calloc): Likewise.
4974 (__posix_memalign): Likewise.
4975
a9708fed
JM
4976 [BZ #14996]
4977 * math/s_casinh.c: Include <float.h>.
4978 (__casinh): Do not do computation with squaring and square root
4979 for large arguments.
4980 * math/s_casinhf.c: Include <float.h>.
4981 (__casinhf): Do not do computation with squaring and square root
4982 for large arguments.
4983 * math/s_casinhl.c: Include <float.h>.
4984 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4985 (__casinhl): Do not do computation with squaring and square root
4986 for large arguments.
4987 * math/libm-test.inc (casin_test): Add more tests.
4988 (casinh_test): Likewise.
4989 * sysdeps/i386/fpu/libm-test-ulps: Update.
4990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4991
afec409a
L
49922013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4993
4994 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4995 (__x86_64_raw_data_cache_size): Likewise.
4996 (__x86_64_data_cache_size_half): Likewise.
4997 (__x86_64_raw_data_cache_size_half): Likewise.
4998 (__x86_64_shared_cache_size): Likewise.
4999 (__x86_64_raw_shared_cache_size): Likewise.
5000 (__x86_64_shared_cache_size_half): Likewise.
5001 (__x86_64_raw_shared_cache_size_half): Likewise.
5002 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5003 to ...
5004 (__x86_data_cache_size): This.
5005 (__x86_64_raw_data_cache_size): Renamed to ...
5006 (__x86_raw_data_cache_size): This.
5007 (__x86_64_data_cache_size_half): Renamed to ...
5008 (__x86_data_cache_size_half): This.
5009 (__x86_64_raw_data_cache_size_half): Renamed to ...
5010 (__x86_raw_data_cache_size_half): This.
5011 (__x86_64_shared_cache_size): Renamed to ...
5012 (__x86_shared_cache_size): This.
5013 (__x86_64_raw_shared_cache_size): Renamed to ...
5014 (__x86_raw_shared_cache_size): This.
5015 (__x86_64_shared_cache_size_half): Renamed to ...
5016 (__x86_shared_cache_size_half): This.
5017 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5018 (__x86_raw_shared_cache_size_half): This.
5019 * sysdeps/x86_64/memcpy.S: Updated.
5020 * sysdeps/x86_64/memset.S: Likewise.
5021 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5022 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5023 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5024
0b3986d0
DM
50252013-01-04 David S. Miller <davem@davemloft.net>
5026
5027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5028
e47686e9
AS
50292013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5030
d643bac1
AS
5031 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5032 1 to avoid redefinition warning.
5033 (__USE_GNU): Don't define.
5034 (init_signaling_nan): Protoize.
5035
e47686e9
AS
5036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5037
b18decba
SP
50382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5039
fffb407f
SP
5040 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5042 (__cpymn): Likewise.
5043 (norm): Remove commented code.
5044 (denorm): Likewise.
5045 (__mp_dbl): Likewise.
5046 (__inv): Likewise.
5047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5048 (__cpymn): Likewise.
5049 (norm): Remove commented code.
5050 (denorm): Likewise.
5051 (__mp_dbl): Likewise.
5052 (__inv): Likewise.
5053
b18decba
SP
5054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5055 mp_no value for 1.0 and 2.0.
5056 (norm): Use RADIXI instead of radixi.d.
5057 (denorm): Likewise.
5058 (__mul): Use 0.0 instead of zero.d.
5059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5060 mp_no value for 1.0 and 2.0.
5061 (norm): Use RADIXI instead of radixi.d.
5062 (denorm): Likewise.
5063 (__mul): Use 0.0 instead of zero.d.
5064
cdc1c96f
JM
50652013-01-04 Joseph Myers <joseph@codesourcery.com>
5066
5067 [BZ #14994]
5068 * math/s_casinh.c (__casinh): Reduce finite argument to first
5069 quadrant then set signs of results at the end.
5070 * math/s_casinhf.c (__casinhf): Likewise.
5071 * math/s_casinhl.c (__casinhl): Likewise.
5072 * math/libm-test.inc (casin_test): Add more tests.
5073 (casinh_test): Likewise.
5074 * sysdeps/i386/fpu/libm-test-ulps: Update.
5075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5076
302913e1
SP
50772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5078
6420d207
SP
5079 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5080
a9e48ab4
SP
5081 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5082
b7837264
SP
5083 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5084 declarations.
5085 (denorm): Likewise.
5086 (__mp_dbl): Likewise.
5087 (__inv): Likewise.
5088
f8af25d2
SP
5089 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5090 and adjust the header comment.
5091
302913e1
SP
5092 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5093 variable name from declaration.
5094
5d7dd1ca
L
50952013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5096
5097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5098 Initialize COMMON_CPUID_INDEX_7 element.
5099 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5100 (CPUID_RTM): Likewise.
5101 (HAS_RTM): Likewise.
5102 (COMMON_CPUID_INDEX_7): New enum.
5103
2f5f40f4
AS
51042013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5105
5106 [BZ #14981]
5107 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5108 size is zero, record memory as freed.
5109
4056f4a0
AJ
51102013-01-03 Andreas Jaeger <aj@suse.de>
5111
5112 * po/ia.po: Add new Interlingua translation.
5113
ab15736f 51142012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5115
5116 * locale/programs/localedef.c: Fix description of '--posix' flag.
5117
568035b7
JM
51182013-01-02 Joseph Myers <joseph@codesourcery.com>
5119
e6898b8d
JM
5120 * NEWS: Update dates in second copyright notice.
5121 * README: Update copyright dates in example.
5122 * manual/libc.texinfo: Update copyright dates.
5123 * scripts/test-installation.pl: Update copyright date in --version
5124 output.
5125
0e2f9562
JM
5126 * hurd/ctty-input.c: Fix copyright notice formatting.
5127 * hurd/ctty-output.c: Likewise.
5128 * hurd/dtable.c: Likewise.
5129 * hurd/hurd-raise.c: Likewise.
5130 * hurd/hurdprio.c: Likewise.
5131 * hurd/msgportdemux.c: Likewise.
5132 * misc/sys/file.h: Likewise.
5133 * misc/sys/ioctl.h: Likewise.
5134 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5135 * sysdeps/mach/hurd/chdir.c: Likewise.
5136 * sysdeps/mach/hurd/fchdir.c: Likewise.
5137 * sysdeps/mach/hurd/rename.c: Likewise.
5138 * sysdeps/mach/hurd/rmdir.c: Likewise.
5139 * sysdeps/mach/hurd/seekdir.c: Likewise.
5140 * sysdeps/mach/hurd/setsid.c: Likewise.
5141 * sysdeps/posix/wait3.c: Likewise.
5142
568035b7
JM
5143 * All files with FSF copyright notices: Update copyright dates
5144 using scripts/update-copyrights.
5145 * intl/plural.c: Regenerated.
5146 * locale/programs/charmap-kw.h: Likewise.
5147 * locale/programs/locfile-kw.h: Likewise.
5148
da08f647
SP
51492013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5150
0f5477af
SP
5151 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5152 four values.
5153
44e0d4c2
SP
5154 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5155 calculation loop and add branch prediction.
5156
4d55b4e5
SP
5157 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5158 check access beyond bounds of m1np.
5159
da08f647
SP
5160 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5161 MPTWO.
5162 (__inv): Remove local variable MPTWO to use the global
5163 constant.
5164 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5165 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5166 variable MPTWO.
5167 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5168 MP3HALFS static const.
5169
8e051029
DM
51702013-01-01 David S. Miller <davem@davemloft.net>
5171
5172 * po/ca.po: Update from translation team.
5173
f4cf5f2d
JM
51742013-01-01 Joseph Myers <joseph@codesourcery.com>
5175
5176 * scripts/update-copyrights: New file.
5177 * Makeconfig: Reformat copyright notice.
5178 * ctype/ctype.h: Likewise.
5179 * debug/swprintf_chk.c: Likewise.
5180 * elf/dl-cache.c: Likewise.
5181 * elf/dl-debug.c: Likewise.
5182 * elf/dl-object.c: Likewise.
5183 * grp/initgroups.c: Likewise.
5184 * hurd/Makefile: Likewise.
5185 * hurd/hurd/signal.h: Likewise.
5186 * hurd/hurdfault.c: Likewise.
5187 * hurd/hurdioctl.c: Likewise.
5188 * hurd/hurdlookup.c: Likewise.
5189 * hurd/intr-msg.c: Likewise.
5190 * iconv/gconv_open.c: Likewise.
5191 * libio/swprintf.c: Likewise.
5192 * locale/lc-ctype.c: Likewise.
5193 * locale/nl_langinfo.c: Likewise.
5194 * mach/Machrules: Likewise.
5195 * mach/Makefile: Likewise.
5196 * malloc/obstack.h: Likewise.
5197 * manual/Makefile: Likewise.
5198 * manual/tsort.awk: Likewise.
5199 * misc/bits/stab.def: Likewise.
5200 * nis/nis_print_group_entry.c: Likewise.
5201 * nis/nis_table.c: Likewise.
5202 * nis/nss_compat/compat-pwd.c: Likewise.
5203 * nis/nss_compat/compat-spwd.c: Likewise.
5204 * po/Makefile: Likewise.
5205 * posix/fnmatch.c: Likewise.
5206 * posix/regex.h: Likewise.
5207 * resolv/Makefile: Likewise.
5208 * resolv/nss_dns/dns-network.c: Likewise.
5209 * resolv/res_hconf.c: Likewise.
5210 * scripts/gen-sorted.awk: Likewise.
5211 * soft-fp/soft-fp.h: Likewise.
5212 * stdio-common/printf.h: Likewise.
5213 * stdlib/monetary.h: Likewise.
5214 * stdlib/random.c: Likewise.
5215 * stdlib/random_r.c: Likewise.
5216 * sysdeps/generic/Makefile: Likewise.
5217 * sysdeps/gnu/Makefile: Likewise.
5218 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5225 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5226 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5228 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5229 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5230 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5231 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5232 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5233 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5234 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5235 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5238 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5246 * sysdeps/mach/hurd/errnos.awk: Likewise.
5247 * sysdeps/mach/hurd/fork.c: Likewise.
5248 * sysdeps/mach/hurd/getcwd.c: Likewise.
5249 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5250 * sysdeps/mach/hurd/mmap.c: Likewise.
5251 * sysdeps/mach/hurd/utimes.c: Likewise.
5252 * sysdeps/mach/hurd/xmknod.c: Likewise.
5253 * sysdeps/posix/profil.c: Likewise.
5254 * sysdeps/posix/readdir_r.c: Likewise.
5255 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5256 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5257 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5258 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5260 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5261 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5262 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5264 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5265 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5266 * sysdeps/pthread/lio_listio.c: Likewise.
5267 * sysdeps/sparc/dl-procinfo.h: Likewise.
5268 * sysdeps/unix/i386/sysdep.S: Likewise.
5269 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5270 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5271 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5272 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5274 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5275 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5276 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5277 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5278 * sysdeps/wordsize-32/divdi3.c: Likewise.
5279 * time/sys/time.h: Likewise.
5280 * wcsmbs/Makefile: Likewise.
5281
0549fbba
DM
52822013-01-01 David S. Miller <davem@davemloft.net>
5283
a141f1a7
DM
5284 * po/fr.po: Update from translation team.
5285
0549fbba
DM
5286 * catgets/gencat.c: Update copyright year.
5287 * csu/version.c: Likewise.
5288 * debug/catchsegv.sh: Likewise.
5289 * debug/pcprofiledump.c: Likewise.
5290 * debug/xtrace.sh: Likewise.
5291 * elf/ldconfig.c: Likewise.
5292 * elf/ldd.bash.in: Likewise.
5293 * elf/pldd.c: Likewise.
5294 * elf/sotruss.ksh: Likewise.
5295 * elf/sprof.c: Likewise.
5296 * iconv/iconv_prog.c: Likewise.
5297 * iconv/iconvconfig.c: Likewise.
5298 * locale/programs/locale.c: Likewise.
5299 * locale/programs/localedef.c: Likewise.
5300 * login/programs/pt_chown.c: Likewise.
5301 * malloc/memusage.sh: Likewise.
5302 * malloc/memusagestat.c: Likewise.
5303 * malloc/mtrace.pl: Likewise.
5304 * nscd/nscd.c: Likewise.
5305 * nss/getent.c: Likewise.
5306 * nss/makedb.c: Likewise.
5307 * posix/getconf.c: Likewise.
5308
18ea052c
SP
53092012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5310
5311 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5312 numbers.
5313
9c89fca6
MF
53142012-12-30 Mike Frysinger <vapier@gentoo.org>
5315
5316 * math/bits/mathcalls.h (modf): Use __nonnull.
5317
085ec079
SP
53182012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5319
5320 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5321 (split): Use macro CN instead of the bare value.
5322 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5323 could be used.
5324 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5325 instead of the bare value.
5326 (power1): Likewise.
5327
6d9f97e1
SP
53282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5329
d63f73be
SP
5330 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5331 __ATAN_TWOM.
5332 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5333
6d9f97e1
SP
5334 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5335 their values.
5336 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5337 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5338 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5339 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5340
4c4febf5
AJ
53412012-12-28 Andreas Jaeger <aj@suse.de>
5342
af5843ef
AJ
5343 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5344 values are from Linux 3.7.
5345
4c4febf5
AJ
5346 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5347 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5348
99136f82
SP
53492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5350
2f216c3c 5351 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5352 TRUE case.
5353
99136f82
SP
5354 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5355 (norm): Likewise.
5356 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5357 variables with preprocessor constants.
5358 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5359 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5360 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5361
7fffbdff
BH
53622012-12-27 Bruno Haible <bruno@clisp.org>
5363
5364 [BZ #14317]
5365 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5366 only if needed.
5367
b76eb5f0
SP
53682012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5369
31a7fe5c
SP
5370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5371 and use variable directly.
5372 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5373
b76eb5f0
SP
5374 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5375 MPONE.
5376 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5378 variable MPONE.
5379 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5380 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5381 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5382 include directive. Remove local variable MPONE.
5383 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5384 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5385 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5386
2c8bfe7d
DM
53872012-12-25 David S. Miller <davem@davemloft.net>
5388
5389 * version.h (RELEASE): Set to "development".
5390 (VERSION): Set to "2.17.90".
5391 * NEWS: Add 2.18 section.
5392
147d03b0
DM
53932012-12-21 David S. Miller <davem@davemloft.net>
5394
5395 * po/hr.po: Update from translation team.
5396
a8ebb2b9
AK
53972012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5398
5399 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5400
95b4f1b6
SE
54012012-12-19 Steve Ellcey <sellcey@mips.com>
5402
b2d94007 5403 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5404
cedb2a90
MS
54052012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5406
5407 * manual/contrib.texi (Contributors): Spelling correction.
5408
bbf527d6
DM
54092012-12-15 David S. Miller <davem@davemloft.net>
5410
5411 * po/ru.po: Update from translation team.
5412
bc38c906
DM
54132012-12-13 David S. Miller <davem@davemloft.net>
5414
85429b1a
DM
5415 * NEWS: Mention IFUNC testsuite enhancements.
5416
d283e353
DM
5417 * po/pl.po: Update from translation team.
5418 * po/bg.po: Likewise.
5419
bc38c906
DM
5420 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5421 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5422
a181b0d7
DM
54232012-12-11 David S. Miller <davem@davemloft.net>
5424
4641d57e
DM
5425 * po/sv.po: Update from translation team.
5426
f7bc6495
DM
5427 * po/vi.po: Update from translation team.
5428
6fc9048f
DM
5429 * po/cs.po: Update from translation team.
5430
a181b0d7
DM
5431 * po/de.po: Update from translation team.
5432 * po/eo.po: Likewise.
5433 * po/nl.po: Likewise.
5434
f70bfe80
SP
54352012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5436
3c8b4190
SP
5437 [BZ #14246]
5438 * manual/argp.texi (Argp Helper Functions): Move node to follow
5439 Argp Parsing State.
5440
f70bfe80
SP
5441 [BZ #14872]
5442 * manual/conf.texi (Limits on File System Capacity): Mention if
5443 terminating null is included in the max size.
5444
188f0adf
AJ
54452012-12-10 Andreas Jaeger <aj@suse.de>
5446
5447 * po/cs.po: Update from translation team.
5448
56e7d3ad
SP
54492012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5450
5451 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5452 void pointer and cast to uintptr_t.
5453 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5454 path.
5455 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5456 * sysdeps/s390/s390-64/memset.S: Likewise.
5457
76f2d2ea 54582012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5459
5460 [BZ #14833]
5461 * menual/message.texi (Message Translation): Fix typos.
5462 (Helper programs for gettext): Likewise.
5463
67cbf9a2
AS
54642012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5465
5466 [BZ #14898]
5467 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5468 Change to -1.
5469
682d0e9a
DM
54702012-12-07 David S. Miller <davem@davemloft.net>
5471
5472 * po/libc.pot: Update.
5473
573cd484
RH
54742012-12-07 Richard Henderson <rth@redhat.com>
5475
7e9da188 5476 [BZ #10114]
573cd484
RH
5477 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5478 normal/normal case to before the switch.
5479 (_FP_DIV): Likewise.
5480
e933a943
MF
54812012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5482 Mike Frysinger <vapier@gentoo.org>
5483
5484 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5485 check for __NR_fadvise64_64.
5486
82123268
CM
54872012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5488
5489 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5490 0, not just to plain "0" as a statement.
5491 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5492 with cw.
5493
d9814526
JM
54942012-12-06 Joseph Myers <joseph@codesourcery.com>
5495
5496 * NEWS: Use sourceware.org in Bugzilla URL.
5497
7728c574
SP
54982012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5499
f16946dd
SP
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5501 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5502
5704bbcb
SP
5503 * stdio-common/tst-put-error.c (do_test): Add newline to the
5504 padded test to ensure flush.
5505
17aa0516
JL
55062012-12-05 Jeff Law <law@redhat.com>
5507
5508 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5509
363313b5
JM
55102012-12-05 Joseph Myers <joseph@codesourcery.com>
5511
effbd42a
JM
5512 * README: Don't refer to ports add-on as distributed separately.
5513 Mention AArch64 in list of systems supported in the ports add-on.
5514
87600365
JM
5515 * LICENSES: Add more non-FSF copyright and license notices.
5516
a0d7066a
JM
5517 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5518 ((unused)).
5519
66ca5a5b
JM
5520 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5521
363313b5
JM
5522 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5523 10000 as width of padded output.
5524
b37984ad
JM
55252012-12-04 Joseph Myers <joseph@codesourcery.com>
5526
9003570a
JM
5527 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5528
b37984ad
JM
5529 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5530 variable LX with __attribute__ ((unused)).
5531 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5532 Likewise.
5533 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5534 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5535 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5536 with __attribute__ ((unused)).
5537
c8df52ec
DM
55382012-12-04 David S. Miller <davem@abraco.davemloft.net>
5539
5540 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5541
b3b099af
JM
55422012-12-04 Joseph Myers <joseph@codesourcery.com>
5543
c33aa6e3
JM
5544 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5545 (CFLAGS-nldbl-acos.c): New variable.
5546 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5547 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5548 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5549 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5550 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5551 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5552 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5553 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5554 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5555 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5556 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5557 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5558 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5559 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5560 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5561 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5562 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5563 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5564 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5565 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5566 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5567 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5568 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5569 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5570 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5571 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5572 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5573 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5574 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5575 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5576 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5577 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5578 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5579 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5580 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5581 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5582 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5583 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5584 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5585 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5586 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5587 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5588 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5589 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5590 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5591 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5592 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5593 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5594 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5595 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5596 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5597 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5598 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5599 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5600 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5601 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5602 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5603 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5604 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5605 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5606 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5607 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5608 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5609 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5610 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5611 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5612 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5613 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5614 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5615 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5616 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5617 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5618 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5619 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5620 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5621 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5622 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5623 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5624 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5625 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5626 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5627 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5628 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5629 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5630 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5631 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5632 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5633 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5634 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5635 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5636 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5637 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5638 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5639 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5640 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5641 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5642 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5643
20f0018d
JM
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5645 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5646
b3b099af
JM
5647 [BZ #14914]
5648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5649 whole low double instead of just low 47 bits when splitting values
5650 into two parts.
5651
029264d1
AM
56522012-12-03 Allan McRae <allan@archlinux.org>
5653
5654 * manual/stdio.texi (Predefined Printf Handlers): Remove
5655 @hsep and @vsep usage.
5656
c9d6789e
MF
56572012-12-03 Mike Frysinger <vapier@gentoo.org>
5658
5659 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5660 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5661
4b7634a5
JL
56622012-12-03 Jeff Law <law@redhat.com>
5663
5664 * time/sys/time.h (settimeofday): Do not mark TV argument
5665 as __nonnull.
5666
eb6cbd24
MF
56672012-12-01 Mike Frysinger <vapier@gentoo.org>
5668
5669 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5670 when currently writing and seek to current position when not.
5671 * libio/Makefile (tests): Remove bug-fclose1.
5672 * libio/bug-fclose1.c: Delete.
5673
f638872a
JM
56742012-12-01 Joseph Myers <joseph@codesourcery.com>
5675
5676 * manual/arith.texi (feenableexcept): Fix typo.
5677 (fedisableexcept): Likewise.
5678
48085d14
RM
56792012-11-30 Roland McGrath <roland@hack.frob.com>
5680
5681 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5682 second, differently-typed declaration, rather than a cast.
5683
1a538b9f
SP
56842012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5685
5686 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5687 * include/rpc/svc.h: ... here.
5688
d07f2ff1 56892012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5690
5691 [BZ #13013]
5692 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5693 depending n and resplen2 to catch cases where answer
5694 equals answerp2.
5695
c93ec1f0
CD
56962012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5697
5698 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5699 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5700
37db69de
MF
57012012-11-29 Mike Frysinger <vapier@gentoo.org>
5702
5703 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5704
e10c4e4f
RM
57052012-11-29 Roland McGrath <roland@hack.frob.com>
5706
5707 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5708
2af1b328
JL
57092012-11-28 Jeff Law <law@redhat.com>
5710
5711 [BZ #13761]
5712 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5713 dataset_temporary. Track alloca usage into alloca_used.
5714 If dataset is large allocate and release it via malloc/free.
5715
111db5b1
FW
57162012-06-04 Florian Weimer <fweimer@redhat.com>
5717
f06cc227 5718 [BZ #14197]
111db5b1
FW
5719 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5720
dd694abd
DM
57212012-11-28 David S. Miller <davem@davemloft.net>
5722
5723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5724
9984dd01
JM
57252012-11-28 Joseph Myers <joseph@codesourcery.com>
5726
5727 [BZ #14803]
5728 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5729 of pi/2 rounded to nearest to 64 bits.
5730 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5731 nearest to 64 bits.
5732 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5733 bits.
5734
14bc93a9
JL
57352012-11-28 Jeff Law <law@redhat.com>
5736 Martin Osvald <mosvald@redhat.com>
5737
5738 [BZ #14889]
5739 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5740 * sunrpc/svc.c: Include time.h.
5741 (__svc_accept_failed): New function.
5742 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5743 any reason other than EINTR, call __svc_accept_failed.
5744 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5745 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5746
e3c6aa3a
AS
57472012-11-28 Andreas Schwab <schwab@suse.de>
5748
5749 * scripts/abilist.awk: Also handle indirect functions in .opd
5750 section.
5751
1bead169
JM
57522012-11-28 Joseph Myers <joseph@codesourcery.com>
5753
5754 [BZ #13881]
5755 * sysdeps/x86/fpu/powl_helper.c: New file.
5756 * sysdeps/x86/fpu/Makefile: Likewise.
5757 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5758 (p3): New object.
5759 (__ieee754_powl): Use __powl_helper for finite arguments except
5760 integer exponents below 8.
5761 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5762 (p3): New object.
5763 (__ieee754_powl): Use __powl_helper for finite arguments except
5764 integer exponents below 8.
5765 * math/libm-test.inc (pow_test): Add more tests and enable some
5766 previously disabled tests.
5767 * sysdeps/i386/fpu/libm-test-ulps: Update.
5768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5769
0817d63d
SP
57702012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5771 Carlos O'Donell <carlos_odonell@mentor.com>
5772
5773 * nss/makedb.c (is_prime): Assert that input is odd and greater
5774 than 4. Note that fact in a comment too.
5775 (next_prime): Add 4 to input.
5776
de2fd463
SP
57772012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5778
5779 [BZ #11741]
5780 * libio/Makefile (tests): Add test case tst-fwrite-error.
5781 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5782 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5783 * libio/tst-fwrite-error.c: New test case.
5784
c515fb51
L
57852012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5786
5787 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5788 before casting to void *.
5789 * include/libc-internal.h (__pointer_type): New macro.
5790 (__integer_if_pointer_type_sub): Likewise.
5791 (__integer_if_pointer_type): Likewise.
5792 (cast_to_integer): Likewise.
5793 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5794 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5795 before casting to atomic64_t.
5796 (atomic_exchange_acq): Likewise.
5797 (__arch_exchange_and_add_body): Likewise.
5798 (__arch_add_body): Likewise.
5799 (atomic_add_negative): Likewise.
5800 (atomic_add_zero): Likewise.
5801
4cf77aa9
JM
58022012-11-26 Joseph Myers <joseph@codesourcery.com>
5803
5804 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5805 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5806 (add_fdes): Likewise.
5807 (linear_search_fdes): Likewise.
5808 (binary_search_unencoded_fdes): Likewise.
5809
d260b3b4
AS
58102012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5811
5812 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5813
67060746
AC
58142012-11-24 Adam Conrad <adconrad@0c3.net>
5815
5816 * configure.in: Autodetect C++ header directories.
5817 * configure: Regenerated.
5818
800938a1
MF
58192012-11-23 Mike Frysinger <vapier@gentoo.org>
5820
5821 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5822
4e6e34e6
AS
58232012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5824
5825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5826
7c7feb47
JM
58272012-11-22 Joseph Myers <joseph@codesourcery.com>
5828
7184dcdf
JM
5829 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5830 LDBL_MANT_DIG == 106]: Disable some tests.
5831 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5832 Likewise.
5833 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5834 Likewise.
5835
0a42601f
JM
5836 [BZ #14871]
5837 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5838 input for small inputs. Return +/- pi/2 for large inputs.
5839 * math/libm-test.inc (atan_test): Add more tests.
5840
79c9b9fe
JM
5841 * sysdeps/generic/unwind-dw2-fde-glibc.c
5842 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5843 __attribute__ ((unused)).
5844
c60d3bf2
JM
5845 [BZ #14645]
5846 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5847 x * y if x and y are nonzero and z is zero.
5848
ef1e0867
JM
5849 [BZ #14811]
5850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5851 nonzero exponents with absolute value below 0x1p-117 to +/-
5852 0x1p-117.
5853
1468ded3
JM
5854 [BZ #14869]
5855 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5856 up arguments below 2**-450, not just those below 2**-500.
5857 * math/libm-test.inc (hypot_test): Add another test.
5858
8e27e3cc
JM
5859 [BZ #14868]
5860 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5861 Return a+b for ratio over 2**120, not 2**60.
5862 * math/libm-test.inc (hypot_test): Add another test.
5863
c9c0279b
JM
5864 * math/libm-test.inc (clog_test): Use
5865 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5866 (clog10_test): Likewise.
5867
7c7feb47
JM
5868 [BZ #6778]
5869 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5870
fff1530e
AS
58712012-11-22 Andreas Schwab <schwab@suse.de>
5872
5873 * sysdeps/i386/fpu/libm-test-ulps: Update.
5874
94558d30
PT
58752012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5876
5877 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5878 printf output with newline.
5879
7e1be741
L
58802012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5881
6bfea974
L
5882 [BZ #14865]
5883 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5884 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5885 -z nodlopen, -z initfirst and -z execstack support.
5886 * configure: Regenerated.
5887
7e1be741
L
5888 * elf/elf.h (DF_1_NODIRECT): New macro.
5889 (DF_1_IGNMULDEF): Likewise.
5890 (DF_1_NOKSYMS): Likewise.
5891 (DF_1_NOHDR): Likewise.
5892 (DF_1_EDITED): Likewise.
5893 (DF_1_NORELOC): Likewise.
5894 (DF_1_SYMINTPOSE): Likewise.
5895 (DF_1_GLOBAUDIT): Likewise.
5896 (DF_1_SINGLETON): Likewise.
5897 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5898 DT_1_SUPPORTED_MASK bits.
5899 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5900
105ce2ce
CD
59012012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5902
5903 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5904
123be9de
TS
59052012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5906
d072f3f7
TS
5907 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5908 macro.
5909
123be9de
TS
5910 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5911 (sendmmsg): Move declarations...
5912 * socket/sys/socket.h: ... here.
5913 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5914 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5915 include it from...
5916 * socket/recvmmsg.c: ... this new file.
5917 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5918 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5919 definition of __sendmmsg hidden.
5920 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5921 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5922 Move ENOSYS stub into and include it from...
5923 * socket/sendmmsg.c: ... this new file.
5924 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5925 (sysdep_routines): Move recvmmsg and sendmmsg...
5926 * socket/Makefile (routines): ... here.
5927 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5928 (GLIBC_PRIVATE): Add __sendmmsg.
5929 * include/sys/socket.h (__sendmmsg): Add declarations.
5930 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5931 sendmmsg.
5932
cf9a5d18
JM
59332012-11-20 Joseph Myers <joseph@codesourcery.com>
5934
5935 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5936 variable I1 with __attribute__ ((unused)).
5937 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5938
ecd4caf9
JM
59392012-11-19 Joseph Myers <joseph@codesourcery.com>
5940
be14d48f
JM
5941 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5942 DUMMY variables with __attribute__ ((unused)).
5943
ecd4caf9
JM
5944 * bits/byteswap.h: Include <bits/types.h>.
5945 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5946
986cab95
PT
59472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5948
5949 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5950 string_t. Do not manually set errno.
5951 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5952 length with __strnlen. Make sure to both set errno and return it on
5953 failure.
5954
6d33cc9d
DM
59552012-11-19 David S. Miller <davem@davemloft.net>
5956
5957 With help from Joseph Myers.
5958 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5959 very large arguments properly.
5960 * math/libm-test.inc (atan_test): New tests.
5961 (atan2_test): New tests.
5962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5964
ee663277
JM
59652012-11-19 Joseph Myers <joseph@codesourcery.com>
5966
877f2d8e
JM
5967 [BZ #14856]
5968 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5969 Define to 3.
5970
116fc08a
JM
5971 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5972 [POSIX] (EADDRNOTAVAIL): Likewise.
5973 [POSIX] (EAFNOSUPPORT): Likewise.
5974 [POSIX] (EALREADY): Likewise.
5975 [POSIX] (ECONNABORTED): Likewise.
5976 [POSIX] (ECONNREFUSED): Likewise.
5977 [POSIX] (ECONNRESET): Likewise.
5978 [POSIX] (EDESTADDRREQ): Likewise.
5979 [POSIX] (EDQUOT): Likewise.
5980 [POSIX] (EHOSTUNREACH): Likewise.
5981 [POSIX] (EIDRM): Likewise.
5982 [POSIX] (EISCONN): Likewise.
5983 [POSIX] (ELOOP): Likewise.
5984 [POSIX] (EMULTIHOP): Likewise.
5985 [POSIX] (ENETDOWN): Likewise.
5986 [POSIX] (ENETUNREACH): Likewise.
5987 [POSIX] (ENOBUFS): Likewise.
5988 [POSIX] (ENODATA): Likewise.
5989 [POSIX] (ENOLINK): Likewise.
5990 [POSIX] (ENOMSG): Likewise.
5991 [POSIX] (ENOPROTOOPT): Likewise.
5992 [POSIX] (ENOSR): Likewise.
5993 [POSIX] (ENOSTR): Likewise.
5994 [POSIX] (ENOTCONN): Likewise.
5995 [POSIX] (ENOTSOCK): Likewise.
5996 [POSIX] (EOPNOTSUPP): Likewise.
5997 [POSIX] (EOVERFLOW): Likewise.
5998 [POSIX] (EPROTO): Likewise.
5999 [POSIX] (EPROTONOSUPPORT): Likewise.
6000 [POSIX] (EPROTOTYPE): Likewise.
6001 [POSIX] (ESTALE): Likewise.
6002 [POSIX] (ETIME): Likewise.
6003 [POSIX] (ETXTBSY): Likewise.
6004 [POSIX] (EWOULDBLOCK): Likewise.
6005 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6006 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6007 [POSIX] (SEEK_CUR): Likewise.
6008 [POSIX] (SEEK_END): Likewise.
6009 [POSIX || UNIX98] (mode_t): Do not require.
6010 [POSIX] (off_t): Likewise.
6011 [POSIX] (pid_t): Likewise.
6012 [POSIX] (sys/stat.h): Do not allow header.
6013 [POSIX] (unistd.h): Likewise.
6014 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6015 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6016 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6017 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6018 require.
6019 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6020 sigevent): Specify elements.
6021 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6022 entry.
6023 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6024 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6025
a483863f
JM
6026 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6027 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6028 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6029 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6030 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6031 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6032 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6033 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6034 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6035 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6036 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6037 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6038 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6039 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6040 Likewise.
6041 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6042 Likewise.
6043 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6044 Likewise.
6045 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6046 Likewise.
6047 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6048 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6049 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6050 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6051 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6052 Specify lower bound on value.
6053 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6054 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6055 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6056 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6057 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6058 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6059 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6060 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6061 value.
6062 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6063 as optional.
6064 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6065 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6066 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6067 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6068 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6069 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6070 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6071 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6072 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6073 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6074 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6075 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6076 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6077 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6078 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6079 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6080 entry.
6081 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6082 optional.
6083 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6084 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6085 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6086 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6087 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6088 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6089 Likewise.
6090 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6091 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6092 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6093 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6094 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6095 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6096 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6097 as optional.
6098 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6099 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6100 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6101 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6102 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6103 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6104 specify as optional.
6105 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6106 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6107 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6108 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6109 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6110 [XPG3] (NL_LANGMAX): Likewise.
6111 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6112 [POSIX || XPG3] (NL_NMAX): Likewise.
6113 [POSIX || XPG3] (NL_SETMAX): Likewise.
6114 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6115 [XPG3] (NZERO): Likewise.
6116 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6117 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6118 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6119 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6120 (REG_ERANGE): Expect.
6121 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6122 optional-constant.
6123 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6124 Use (void) in prototype.
6125 [POSIX] (*_t): Allow.
6126 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6127 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6128 (WRDE_BADVAL): Expect.
6129
5ba924e3
JM
6130 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6131 expect.
6132 [XPG3 || XPG4] (O_RSYNC): Likewise.
6133 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6134 Likewise.
6135 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6136 [XPG3 || XPG4] (sigqueue): Likewise.
6137 [XPG3 || XPG4] (sigtimedwait): Likewise.
6138 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6139 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6140 [XPG3 || XPG4] (vsnprintf): Likewise.
6141 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6142 Likewise.
6143 [XPG3 || XPG4] (blksize_t): Likewise.
6144 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6145 Likewise.
6146 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6147 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6148 [XPG3 || XPG4] (struct itimerspec): Likewise.
6149 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6150 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6151 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6152 [XPG3 || XPG4] (clockid_t): Likewise.
6153 [XPG3 || XPG4] (timer_t): Likewise.
6154 [XPG3 || XPG4] (clock_getres): Likewise.
6155 [XPG3 || XPG4] (clock_gettime): Likewise.
6156 [XPG3 || XPG4] (clock_settime): Likewise.
6157 [XPG3 || XPG4] (nanosleep): Likewise.
6158 [XPG3 || XPG4] (timer_create): Likewise.
6159 [XPG3 || XPG4] (timer_delete): Likewise.
6160 [XPG3 || XPG4] (timer_gettime): Likewise.
6161 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6162 [XPG3 || XPG4] (timer_settime): Likewise.
6163 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6164 [XPG3 || XPG4] (getlogin_r): Likewise.
6165 [XPG3 || XPG4] (pread): Likewise.
6166 [XPG3 || XPG4] (pthread_atfork): Likewise.
6167 [XPG3 || XPG4] (pwrite): Likewise.
6168
ee663277
JM
6169 [BZ #14835]
6170 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6171 <bits/siginfo.h>.
6172
942caa16
PT
61732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6174
e19af380
PT
6175 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6176 finalizing MALLSTREAM.
6177
942caa16
PT
6178 * sysdeps/mach/hurd/syncfs.c: New file.
6179
cfde9b46
SP
61802012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6181
6182 [BZ #14719]
6183 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6184 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6185 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6186 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6187 (_nss_dns_gethostbyname4_r): Likewise.
6188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6189 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6190
f6da27e5
PH
61912012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6192
6193 [BZ #13763]
6194 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6195
6665d4a2
SM
61962012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6197
1f51ee92
SM
6198 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6199 * elf/cache.c (print_entry): Print ",AArch64" for
6200 FLAG_AARCH64_LIB64
6201
6665d4a2
SM
6202 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6203 * elf/cache.c (print_entry): Print ",hard-float" for
6204 FLAG_ARM_LIBHF.
6205
05b227bd
DM
62062012-11-18 David S. Miller <davem@davemloft.net>
6207
6208 With help from Joseph Myers.
6209 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6210 cutoff to 2**-13.
6211 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6212 cutoff to 2**-25.
6213 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6214 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6215 small.
6216 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6217 * math/libm-test.inc (y0_test): New tests.
6218 (y1_test): New tests.
6219 * sysdeps/i386/fpu/libm-test-ulps: Update.
6220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6222
786b0b67
AS
62232012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6224
6225 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6226 64-bit targets.
6227 * configure: Regenerated.
6228
8e18b86d
DM
62292012-11-17 David S. Miller <davem@davemloft.net>
6230
6231 [BZ #14811]
6232 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6233 nonzero exponents with absolute value below 0x1p-128 to +/-
6234 0x1p-128.
6235
531f1ae0
JM
62362012-11-17 Joseph Myers <joseph@codesourcery.com>
6237
12df29e2
JM
6238 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6239
150dc1a0
JM
6240 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6241
531f1ae0
JM
6242 * posix/getconf-speclist.c: New file.
6243 * posix/posix-envs.def: Likewise.
6244 * posix/confstr.c (START_ENV_GROUP): New macro.
6245 (END_ENV_GROUP): Likewise.
6246 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6247 (KNOWN_PRESENT_ENV_STRING): Likewise.
6248 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6249 (UNKNOWN_ENVIRONMENT): Likewise.
6250 (confstr): Include posix-envs.def instead of handling
6251 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6252 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6253 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6254 (END_ENV_GROUP): Likewise.
6255 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6256 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6257 (UNKNOWN_ENVIRONMENT): Likewise.
6258 (__sysconf): Include posix-envs.def instead of handling associated
6259 cases directly here.
6260 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6261 preprocessing getconf-speclist.c rather than running getconf or
6262 generating empty file.
6263
a93f9cbc
PT
62642012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6265
6266 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6267
d64d9f87
AL
62682012-11-16 Andrej Lajovic <natrij@gmail.com>
6269
6270 [BZ #14672]
6271 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6272
447885eb
DM
62732012-11-16 David S. Miller <davem@davemloft.net>
6274
6275 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6276 smaller than LDBL_EPSILON/2.0L, just return xm1.
6277
bcbf9830
L
62782012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6279
6280 * elf/tst-array1.c (init): Set constructor priority to 1000.
6281 (fini): Set destructor priority to 1000.
6282 * elf/tst-array2dep.c: Likewise.
6283
2b766585
SP
62842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6285
6286 [BZ #11741]
6287 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6288 (_IO_new_file_xsputn): Also return EOF if none of the input
6289 data was written when overflow failed.
6290 * libio/iopadn.c (_IO_padn): Likewise.
6291 * libio/iowpadn.c (_IO_wpadn): Likewise.
6292 * stdio-common/tst-put-error.c: Add copyright notice.
6293 (do_test): Add case for printing padded string.
6294 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6295 _IO_padn returned error.
6296 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6297 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6298 return EOF.
6299
b1848fde
SP
63002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6301
6302 * libio/libioP.h: Add comment note that the references to C++
6303 bits are now obsolete.
6304
2fd89785
MS
63052012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6306
6307 * math/libm-test.inc (check_complex): Use asprintf.
6308
e3ea5409
JM
63092012-11-14 Joseph Myers <joseph@codesourcery.com>
6310
6311 * debug/pcprofiledump.c (print_version): Update copyright year.
6312 * malloc/memusagestat.c (print_version): Likewise.
6313
2e64d265
L
63142012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6315
6316 [BZ #14831]
6317 * elf/Makefile (tests): Add tst-audit8.
6318 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6319 ($(objpfx)tst-audit8.out): New target.
6320 (tst-audit8-ENV): New variable.
6321 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6322 audit if l_reloc_result is NULL.
6323 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6324 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6325 * elf/tst-audit8.c: New file.
6326
c485e4d2
MS
63272012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6328
6329 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6330 * misc/Makefile (CFLAGS-select.c): Define.
6331 * posix/Makefile (CFLAGS-pause.c): Define.
6332
3a0d900a
DM
63332012-11-13 David S. Miller <davem@davemloft.net>
6334
6335 * crypt/Makefile: Move test targets after toplevel Rules
6336 inclusion. Grab any necessary sysdep routines when linking.
6337 * crypt/md5.c (md5_process_block): Remove define, we will always
6338 name it __md5_process_block.
6339 (md5_finish_ctx): Update md5_process_block call.
6340 (md5_stream): Likewise.
6341 (md5_process_bytes): Likewise.
6342 (md5_process_block): Rename to __md5_process_block and move to ...
6343 * crypt/md5-block.c: ... here.
6344 * crypt/sha256.c (sha256_process_block): Move to ...
6345 * crypt/sha256-block.c: ... here.
6346 * crypt/sha512.c (sha512_process_block): Move to ...
6347 * crypt/sha512-block.c: ... here.
6348 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6349 path.
6350 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6351 * sysdeps/sparc/sparc64/multiarch/Makefile
6352 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6353 crypt subdir.
6354 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6355 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6356 multiarch changes.
6357 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6358 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6359 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6360 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6361 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6362 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6363 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6364 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6365 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6366 file.
6367 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6368 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6369 file.
6370 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6371
8ca89318
JM
63722012-11-13 Joseph Myers <joseph@codesourcery.com>
6373
e27d476a
JM
6374 * timezone/tzselect.ksh: Update from tzcode git revision
6375 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6376 * timezone/zdump.c: Likewise.
6377 * timezone/zic.c: Likewise.
6378 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6379 in TZVERSION setting, not $(PKGVERSION).
6380 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6381 REPORT_BUGS_TO settings.
6382
8ca89318
JM
6383 [BZ #14838]
6384 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6385 macro.
6386
47594329
MS
63872012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6388
6389 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6390 detection to immediately after _FP_ROUND().
6391 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6392 bits are 0.
6393
640ac3f1
DM
63942012-11-11 David S. Miller <davem@davemloft.net>
6395
6396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6397 inttypes.h
6398 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6399 __close rather than their public counterparts.
6400
3d2577bb
JM
64012012-11-10 Joseph Myers <joseph@codesourcery.com>
6402
6403 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6404 file.
6405 [UNIX98] (sem_timedwait): Do not expect.
6406 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6407 [XPG4 || UNIX98] (sockatmark): Do not expect.
6408 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6409 (clock_getcpuclockid): Do not expect.
6410 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6411 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6412 Do not expect.
6413 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6414 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6415 [UNIX98] (vwscanf): Likewise.
6416 [UNIX98] (vswscanf): Likewise.
6417
fb1ae1ee
JM
64182012-11-09 Joseph Myers <joseph@codesourcery.com>
6419
9ec6f8bd
JM
6420 * timezone/version.h: Remove file.
6421 * timezone/README: Do not refer to version.h.
6422 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6423 $(objpfx)version.h.
6424 ($(objpfx)zdump.o): Likewise.
c3f81911 6425 ($(objpfx)version.h): New target.
9ec6f8bd 6426
0aa8f8a1
JM
6427 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6428 2012i.
6429 * timezone/README: Don't mention modification to tzselect.ksh.
6430 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6431 work on unmodified tzselect.ksh. Substitute version numbers in
6432 tzselect.ksh.
6433
4e87147f
JM
6434 * Makefile (format-me): Remove.
6435 (INSTALL): Adjust indentation. Use commands directly instead of
6436 using $(format-me).
6437
8b748aed
JM
6438 * aclocal.m4 (ACX_PKGVERSION): New macro.
6439 (ACX_BUGURL): Likewise.
6440 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6441 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6442 (REPORT_BUGS_TO): Likewise.
6443 * configure: Regenerated.
6444 * config.h.in (PKGVERSION): New macro.
6445 (REPORT_BUGS_TO): Likewise.
6446 * config.make.in (PKGVERSION): New variable.
6447 (PKGVERSION_TEXI): Likewise.
6448 (REPORT_BUGS_TO): Likewise.
6449 (REPORT_BUGS_TEXI): Likewise.
6450 * Makefile (format-me): Use -I$(common-objpfx)manual.
6451 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6452 ($(common-objpfx)manual/%): New target.
6453 (manual/%): Remove target.
6454 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6455 (print_version): Use PKGVERSION.
6456 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6457 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6458 and REPORT_BUGS_TO.
6459 ($(objpfx)xtrace): Likewise.
6460 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6461 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6462 (print_version): Use PKGVERSION.
6463 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6464 (do_version): Use PKGVERSION.
6465 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6466 REPORT_BUGS_TO.
6467 (common-ldd-rewrite): Likewise.
6468 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6469 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6470 (print_version): Use PKGVERSION.
6471 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6472 * elf/pldd.c (argp_program_bug_address): Remove variable.
6473 (more_help): New function.
6474 (argp): Use more_help.
6475 (print_version): Use PKGVERSION.
6476 * elf/sln.c (main): Use PKGVERSION.
6477 (usage): Use REPORT_BUGS_TO.
6478 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6479 (top level): Use PKGVERSION.
6480 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6481 (print_version): Use PKGVERSION.
6482 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6483 (print_version): Use PKGVERSION.
6484 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6485 (print_version): Use PKGVERSION.
6486 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6487 (print_version): Use PKGVERSION.
6488 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6489 (print_version): Use PKGVERSION.
6490 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6491 (print_version): Use PKGVERSION.
6492 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6493 and BUGURL.
6494 ($(objpfx)memusage): Likewise.
6495 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6496 (do_version): Use PKGVERSION.
6497 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6498 (print_version): Use PKGVERSION.
6499 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6500 ($PKGVERSION): New variable.
6501 ($REPORT_BUGS_TO): Likewise.
6502 (usage): Use $REPORT_BUGS_TO.
6503 (top level): Use $PKGVERSION.
6504 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6505 ($(objpfx)pkgvers.texi): New rule.
6506 ($(objpfx)stamp-pkgvers): Likewise.
6507 * manual/install.texi: Include pkgvers.texi.
6508 (--with-pkgversion): Document new configure option.
6509 (--with-bugurl): Likewise.
6510 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6511 than necessarily for this particular distribution. Use
6512 REPORT_BUGS_TO for where to report bugs.
6513 * INSTALL: Regenerated.
6514 * manual/libc.texinfo: Include pkgvers.texi.
6515 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6516 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6517 (print_version): Use PKGVERSION.
6518 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6519 (print_version): Use PKGVERSION.
6520 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6521 (print_version): Use PKGVERSION.
6522 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6523 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6524 macro.
6525 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6526 (print_version): Use PKGVERSION.
6527 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6528 (print_version): Use PKGVERSION.
6529 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6530 and PKGVERSION.
6531
92e4b6a9
JM
6532 * timezone/checktab.awk: Update from tzcode 2012i.
6533 * timezone/ialloc.c: Likewise.
6534 * timezone/private.h: Likewise.
6535 * timezone/scheck.c: Likewise.
6536 * timezone/tzfile.h: Likewise.
6537 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6538 (TZVERSION): Hardcode tzcode version number.
6539 * timezone/zdump.c: Update from tzcode 2012i.
6540 * timezone/zic.c: Likewise.
6541 * timezone/version.h: New file.
6542 * timezone/README: Describe version.h. Update upstream location.
6543
9bde902c
JM
6544 [BZ #14824]
6545 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6546 (mktemp): Enable declaration.
6547 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6548 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6549 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6550 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6551 Likewise.
6552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6553 Likewise.
6554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6555 Likewise.
6556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6557 Likewise.
6558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6559 Likewise.
6560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6561 Likewise.
6562
fb1ae1ee
JM
6563 [BZ #14821]
6564 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6565 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6566 for copies of such integer values.
6567 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6568 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6569
2c1adbcb
AJ
65702012-11-09 Andreas Jaeger <aj@suse.de>
6571
6572 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6573 definitions and declarations that are provided by
6574 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6575
d0f8457e
AK
65762012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6577
3a235abb 6578 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6579 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6580 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6581 definition.
6582
57241e26
MS
65832012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6584
6585 * elf/elf.h: Update comment before AArch64 relocations.
6586
60e8270d
DM
65872012-11-07 David S. Miller <davem@davemloft.net>
6588
6589 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6590 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6591 (__start_context): Declare.
6592 (__makecontext_ret): Delete.
6593 (__makecontext): Hook up __start_context instead of
6594 __makecontext_ret.
6595 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6596 (sysdep_routines): Add __start_context when in stdlib.
6597
0fbb0fbc
JM
65982012-11-07 Joseph Myers <joseph@codesourcery.com>
6599
6600 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6601 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6602 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6603 hardcoded "nm".
6604 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6605 (READELF): New variable. Use it instead of hardcoded "readelf".
6606
eb48db7e
L
66072012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6608
6609 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6610 * sysdeps/x86/Makefile: Here.
6611 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6612 * sysdeps/x86/tst-xmmymm.sh: This.
6613
05bcf62a
JM
66142012-11-07 Joseph Myers <joseph@codesourcery.com>
6615
c4b6cf53
JM
6616 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6617 expectations.
6618 [UNIX98] (pthread_barrier_t): Do not expect.
6619 [UNIX98] (pthread_barrierattr_t): Likewise.
6620 [UNIX98] (pthread_spinlock_t): Likewise.
6621 [UNIX98] (pthread_barrier_destroy): Likewise.
6622 [UNIX98] (pthread_barrier_init): Likewise.
6623 [UNIX98] (pthread_barrier_wait): Likewise.
6624 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6625 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6626 [UNIX98] (pthread_barrierattr_init): Likewise.
6627 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6628 [UNIX98] (pthread_getcpuclockid): Likewise.
6629 [UNIX98] (pthread_mutex_timedlock): Likewise.
6630 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6631 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6632 [UNIX98] (pthread_sigmask): Likewise.
6633 [UNIX98] (pthread_spin_destroy): Likewise.
6634 [UNIX98] (pthread_spin_init): Likewise.
6635 [UNIX98] (pthread_spin_lock): Likewise.
6636 [UNIX98] (pthread_spin_trylock): Likewise.
6637 [UNIX98] (pthread_spin_unlock): Likewise.
6638 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6639 Do not expect.
6640 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6641 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6642 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6643 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6644 [XPG3 || XPG4] (pthread_key_t): Likewise.
6645 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6646 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6647 [XPG3 || XPG4] (pthread_once_t): Likewise.
6648 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6649 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6650 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6651 [XPG3 || XPG4] (pthread_t): Likewise.
6652
cbe6e120
JM
6653 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6654 not expect.
6655 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6656
1b126443
JM
6657 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6658 Change function return type to int.
6659
b961a573
JM
6660 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6661 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6662 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6663 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6664 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6665 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6666 [!POSIX] (posix_madvise): Likewise.
6667 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6668 && !UNIX98].
6669 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6670 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6671 (mode_t): Likewise.
6672 (posix_mem_offset): Likewise.
6673 (posix_typed_mem_get_info): Likewise.
6674 (posix_typed_mem_open): Likewise.
6675
9e188909
JM
6676 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6677 Change condition to [XOPEN2K8].
6678
05bcf62a
JM
6679 * conform/conformtest.pl: Preprocess allow-header data with -x c
6680 instead of from stdin.
6681 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6682 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6683 [C99-based standards] (cerfc): Likewise.
6684 [C99-based standards] (cexp2): Likewise.
6685 [C99-based standards] (cexpm1): Likewise.
6686 [C99-based standards] (clog10): Likewise.
6687 [C99-based standards] (clog1p): Likewise.
6688 [C99-based standards] (clog2): Likewise.
6689 [C99-based standards] (clgamma): Likewise.
6690 [C99-based standards] (ctgamma): Likewise.
6691 [C99-based standards] (cerff): Likewise.
6692 [C99-based standards] (cerfcf): Likewise.
6693 [C99-based standards] (cexp2f): Likewise.
6694 [C99-based standards] (cexpm1f): Likewise.
6695 [C99-based standards] (clog10f): Likewise.
6696 [C99-based standards] (clog1pf): Likewise.
6697 [C99-based standards] (clog2f): Likewise.
6698 [C99-based standards] (clgammaf): Likewise.
6699 [C99-based standards] (ctgammaf): Likewise.
6700 [C99-based standards] (cerfl): Likewise.
6701 [C99-based standards] (cerfcl): Likewise.
6702 [C99-based standards] (cexp2l): Likewise.
6703 [C99-based standards] (cexpm1l): Likewise.
6704 [C99-based standards] (clog10l): Likewise.
6705 [C99-based standards] (clog1pl): Likewise.
6706 [C99-based standards] (clog2l): Likewise.
6707 [C99-based standards] (clgammal): Likewise.
6708 [C99-based standards] (ctgammal): Likewise.
6709 * conform/data/inttypes.h-data [C99-based standards]: Include
6710 stdint.h-data. Remove all expectations for stdint.h contents.
6711 [C99-based standards] (PRI*): Do not allow.
6712 [C99-based standards] (SCN*): Likewise.
6713 [C99-based standards] (*_t): Likewise.
6714 [C99-based-standards] (PRId8): Expect macro.
6715 [C99-based-standards] (PRIi8): Likewise.
6716 [C99-based-standards] (PRIo8): Likewise.
6717 [C99-based-standards] (PRIu8): Likewise.
6718 [C99-based-standards] (PRIx8): Likewise.
6719 [C99-based-standards] (PRIX8): Likewise.
6720 [C99-based-standards] (SCNd8): Likewise.
6721 [C99-based-standards] (SCNi8): Likewise.
6722 [C99-based-standards] (SCNo8): Likewise.
6723 [C99-based-standards] (SCNu8): Likewise.
6724 [C99-based-standards] (SCNx8): Likewise.
6725 [C99-based-standards] (PRIdLEAST8): Likewise.
6726 [C99-based-standards] (PRIiLEAST8): Likewise.
6727 [C99-based-standards] (PRIoLEAST8): Likewise.
6728 [C99-based-standards] (PRIuLEAST8): Likewise.
6729 [C99-based-standards] (PRIxLEAST8): Likewise.
6730 [C99-based-standards] (PRIXLEAST8): Likewise.
6731 [C99-based-standards] (SCNdLEAST8): Likewise.
6732 [C99-based-standards] (SCNiLEAST8): Likewise.
6733 [C99-based-standards] (SCNoLEAST8): Likewise.
6734 [C99-based-standards] (SCNuLEAST8): Likewise.
6735 [C99-based-standards] (SCNxLEAST8): Likewise.
6736 [C99-based-standards] (PRIdFAST8): Likewise.
6737 [C99-based-standards] (PRIiFAST8): Likewise.
6738 [C99-based-standards] (PRIoFAST8): Likewise.
6739 [C99-based-standards] (PRIuFAST8): Likewise.
6740 [C99-based-standards] (PRIxFAST8): Likewise.
6741 [C99-based-standards] (PRIXFAST8): Likewise.
6742 [C99-based-standards] (SCNdFAST8): Likewise.
6743 [C99-based-standards] (SCNiFAST8): Likewise.
6744 [C99-based-standards] (SCNoFAST8): Likewise.
6745 [C99-based-standards] (SCNuFAST8): Likewise.
6746 [C99-based-standards] (SCNxFAST8): Likewise.
6747 [C99-based-standards] (PRId16): Likewise.
6748 [C99-based-standards] (PRIi16): Likewise.
6749 [C99-based-standards] (PRIo16): Likewise.
6750 [C99-based-standards] (PRIu16): Likewise.
6751 [C99-based-standards] (PRIx16): Likewise.
6752 [C99-based-standards] (PRIX16): Likewise.
6753 [C99-based-standards] (SCNd16): Likewise.
6754 [C99-based-standards] (SCNi16): Likewise.
6755 [C99-based-standards] (SCNo16): Likewise.
6756 [C99-based-standards] (SCNu16): Likewise.
6757 [C99-based-standards] (SCNx16): Likewise.
6758 [C99-based-standards] (PRIdLEAST16): Likewise.
6759 [C99-based-standards] (PRIiLEAST16): Likewise.
6760 [C99-based-standards] (PRIoLEAST16): Likewise.
6761 [C99-based-standards] (PRIuLEAST16): Likewise.
6762 [C99-based-standards] (PRIxLEAST16): Likewise.
6763 [C99-based-standards] (PRIXLEAST16): Likewise.
6764 [C99-based-standards] (SCNdLEAST16): Likewise.
6765 [C99-based-standards] (SCNiLEAST16): Likewise.
6766 [C99-based-standards] (SCNoLEAST16): Likewise.
6767 [C99-based-standards] (SCNuLEAST16): Likewise.
6768 [C99-based-standards] (SCNxLEAST16): Likewise.
6769 [C99-based-standards] (PRIdFAST16): Likewise.
6770 [C99-based-standards] (PRIiFAST16): Likewise.
6771 [C99-based-standards] (PRIoFAST16): Likewise.
6772 [C99-based-standards] (PRIuFAST16): Likewise.
6773 [C99-based-standards] (PRIxFAST16): Likewise.
6774 [C99-based-standards] (PRIXFAST16): Likewise.
6775 [C99-based-standards] (SCNdFAST16): Likewise.
6776 [C99-based-standards] (SCNiFAST16): Likewise.
6777 [C99-based-standards] (SCNoFAST16): Likewise.
6778 [C99-based-standards] (SCNuFAST16): Likewise.
6779 [C99-based-standards] (SCNxFAST16): Likewise.
6780 [C99-based-standards] (PRId32): Likewise.
6781 [C99-based-standards] (PRIi32): Likewise.
6782 [C99-based-standards] (PRIo32): Likewise.
6783 [C99-based-standards] (PRIu32): Likewise.
6784 [C99-based-standards] (PRIx32): Likewise.
6785 [C99-based-standards] (PRIX32): Likewise.
6786 [C99-based-standards] (SCNd32): Likewise.
6787 [C99-based-standards] (SCNi32): Likewise.
6788 [C99-based-standards] (SCNo32): Likewise.
6789 [C99-based-standards] (SCNu32): Likewise.
6790 [C99-based-standards] (SCNx32): Likewise.
6791 [C99-based-standards] (PRIdLEAST32): Likewise.
6792 [C99-based-standards] (PRIiLEAST32): Likewise.
6793 [C99-based-standards] (PRIoLEAST32): Likewise.
6794 [C99-based-standards] (PRIuLEAST32): Likewise.
6795 [C99-based-standards] (PRIxLEAST32): Likewise.
6796 [C99-based-standards] (PRIXLEAST32): Likewise.
6797 [C99-based-standards] (SCNdLEAST32): Likewise.
6798 [C99-based-standards] (SCNiLEAST32): Likewise.
6799 [C99-based-standards] (SCNoLEAST32): Likewise.
6800 [C99-based-standards] (SCNuLEAST32): Likewise.
6801 [C99-based-standards] (SCNxLEAST32): Likewise.
6802 [C99-based-standards] (PRIdFAST32): Likewise.
6803 [C99-based-standards] (PRIiFAST32): Likewise.
6804 [C99-based-standards] (PRIoFAST32): Likewise.
6805 [C99-based-standards] (PRIuFAST32): Likewise.
6806 [C99-based-standards] (PRIxFAST32): Likewise.
6807 [C99-based-standards] (PRIXFAST32): Likewise.
6808 [C99-based-standards] (SCNdFAST32): Likewise.
6809 [C99-based-standards] (SCNiFAST32): Likewise.
6810 [C99-based-standards] (SCNoFAST32): Likewise.
6811 [C99-based-standards] (SCNuFAST32): Likewise.
6812 [C99-based-standards] (SCNxFAST32): Likewise.
6813 [C99-based-standards] (PRId64): Likewise.
6814 [C99-based-standards] (PRIi64): Likewise.
6815 [C99-based-standards] (PRIo64): Likewise.
6816 [C99-based-standards] (PRIu64): Likewise.
6817 [C99-based-standards] (PRIx64): Likewise.
6818 [C99-based-standards] (PRIX64): Likewise.
6819 [C99-based-standards] (SCNd64): Likewise.
6820 [C99-based-standards] (SCNi64): Likewise.
6821 [C99-based-standards] (SCNo64): Likewise.
6822 [C99-based-standards] (SCNu64): Likewise.
6823 [C99-based-standards] (SCNx64): Likewise.
6824 [C99-based-standards] (PRIdLEAST64): Likewise.
6825 [C99-based-standards] (PRIiLEAST64): Likewise.
6826 [C99-based-standards] (PRIoLEAST64): Likewise.
6827 [C99-based-standards] (PRIuLEAST64): Likewise.
6828 [C99-based-standards] (PRIxLEAST64): Likewise.
6829 [C99-based-standards] (PRIXLEAST64): Likewise.
6830 [C99-based-standards] (SCNdLEAST64): Likewise.
6831 [C99-based-standards] (SCNiLEAST64): Likewise.
6832 [C99-based-standards] (SCNoLEAST64): Likewise.
6833 [C99-based-standards] (SCNuLEAST64): Likewise.
6834 [C99-based-standards] (SCNxLEAST64): Likewise.
6835 [C99-based-standards] (PRIdFAST64): Likewise.
6836 [C99-based-standards] (PRIiFAST64): Likewise.
6837 [C99-based-standards] (PRIoFAST64): Likewise.
6838 [C99-based-standards] (PRIuFAST64): Likewise.
6839 [C99-based-standards] (PRIxFAST64): Likewise.
6840 [C99-based-standards] (PRIXFAST64): Likewise.
6841 [C99-based-standards] (SCNdFAST64): Likewise.
6842 [C99-based-standards] (SCNiFAST64): Likewise.
6843 [C99-based-standards] (SCNoFAST64): Likewise.
6844 [C99-based-standards] (SCNuFAST64): Likewise.
6845 [C99-based-standards] (SCNxFAST64): Likewise.
6846 [C99-based-standards] (PRIdMAX): Likewise.
6847 [C99-based-standards] (PRIiMAX): Likewise.
6848 [C99-based-standards] (PRIoMAX): Likewise.
6849 [C99-based-standards] (PRIuMAX): Likewise.
6850 [C99-based-standards] (PRIxMAX): Likewise.
6851 [C99-based-standards] (PRIXMAX): Likewise.
6852 [C99-based-standards] (SCNdMAX): Likewise.
6853 [C99-based-standards] (SCNiMAX): Likewise.
6854 [C99-based-standards] (SCNoMAX): Likewise.
6855 [C99-based-standards] (SCNuMAX): Likewise.
6856 [C99-based-standards] (SCNxMAX): Likewise.
6857 [C99-based-standards] (PRIdPTR): Likewise.
6858 [C99-based-standards] (PRIiPTR): Likewise.
6859 [C99-based-standards] (PRIoPTR): Likewise.
6860 [C99-based-standards] (PRIuPTR): Likewise.
6861 [C99-based-standards] (PRIxPTR): Likewise.
6862 [C99-based-standards] (PRIXPTR): Likewise.
6863 [C99-based-standards] (SCNdPTR): Likewise.
6864 [C99-based-standards] (SCNiPTR): Likewise.
6865 [C99-based-standards] (SCNoPTR): Likewise.
6866 [C99-based-standards] (SCNuPTR): Likewise.
6867 [C99-based-standards] (SCNxPTR): Likewise.
6868 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6869 allow.
6870 * conform/data/stdint.h-data: Update comments to clarify
6871 requirements.
6872 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6873 type.
6874 [C99-based standards] (INT8_MAX): Likewise.
6875 [C99-based standards] (INT16_MIN): Likewise.
6876 [C99-based standards] (INT16_MAX): Likewise.
6877 [C99-based standards] (INT32_MIN): Likewise.
6878 [C99-based standards] (INT32_MAX): Likewise.
6879 [C99-based standards] (INT64_MIN): Likewise.
6880 [C99-based standards] (INT64_MAX): Likewise.
6881 [C99-based standards] (UINT8_MAX): Likewise.
6882 [C99-based standards] (UINT16_MAX): Likewise.
6883 [C99-based standards] (UINT32_MAX): Likewise.
6884 [C99-based standards] (UINT64_MAX): Likewise.
6885 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6886 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6887 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6888 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6889 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6890 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6891 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6892 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6893 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6894 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6895 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6896 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6897 [C99-based standards] (INT_FAST8_MIN): Likewise.
6898 [C99-based standards] (INT_FAST8_MAX): Likewise.
6899 [C99-based standards] (INT_FAST16_MIN): Likewise.
6900 [C99-based standards] (INT_FAST16_MAX): Likewise.
6901 [C99-based standards] (INT_FAST32_MIN): Likewise.
6902 [C99-based standards] (INT_FAST32_MAX): Likewise.
6903 [C99-based standards] (INT_FAST64_MIN): Likewise.
6904 [C99-based standards] (INT_FAST64_MAX): Likewise.
6905 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6906 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6907 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6908 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6909 [C99-based standards] (INTPTR_MIN): Likewise.
6910 [C99-based standards] (INTPTR_MAX): Likewise.
6911 [C99-based standards] (UINTPTR_MAX): Likewise.
6912 [C99-based standards] (INTMAX_MIN): Likewise.
6913 [C99-based standards] (INTMAX_MAX): Likewise.
6914 [C99-based standards] (UINTMAX_MAX): Likewise.
6915 [C99-based standards] (PTRDIFF_MIN): Likewise.
6916 [C99-based standards] (PTRDIFF_MAX): Likewise.
6917 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6918 [C99-based standards] (SIZE_MAX): Likewise.
6919 [C99-based standards] (WCHAR_MAX): Likewise.
6920 [C99-based standards] (WINT_MAX): Likewise.
6921 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6922 constraint on value.
6923 [C99-based standards] (WCHAR_MIN): Likewise.
6924 [C99-based standards] (WINT_MIN): Likewise.
6925 [C99-based standards] (*_t): Allow.
6926 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6927 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6928 Include math.h-data and complex.h-data. Remove all expectations
6929 of math.h and complex.h contents.
6930 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6931 at end of line.
6932 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6933 (struct tm): Expect tag.
6934 [C99-based-standards] (wcstof): Expect function.
6935 [C99-based-standards] (wcstold): Likewise.
6936 [C99-based-standards] (wcstoll): Likewise.
6937 [C99-based-standards] (wcstoull): Likewise.
6938 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6939 macro-int-constant. Specify type.
6940 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6941 constraint on value.
6942 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6943 Specify type.
6944 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6945 Specify value.
6946 [ISO C standards]: Do not allow headers.
6947 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6948 wcs[abcdefghijklmnopqrstuvwxyz]*.
6949 [ISO C standards] (*_t): Do not allow.
6950 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6951 Expect function.
6952 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6953 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6954 Specify type.
6955 [ISO C standards]: Do not allow headers.
6956 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6957 is[abcdefghijklmnopqrstuvwxyz]*.
6958 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6959 to[abcdefghijklmnopqrstuvwxyz]*.
6960 [ISO C standards] (*_t): Do not allow.
6961 * conform/data/stdalign.h-data: New file.
6962 * conform/data/stdbool.h-data: Likewise.
6963 * conform/data/stdnoreturn.h-data: Likewise.
6964
7514feb8
RM
69652012-11-07 Roland McGrath <roland@hack.frob.com>
6966
6967 [BZ #14815]
6968 * manual/filesys.texi (Directory Entries): Typo fix.
6969 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6970
19b2ecfc
MS
69712012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6972
6973 * elf/elf.h (EM_AARCH64): New macro.
6974 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6975 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6976 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6977 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6978 (R_AARCH64_TLSDESC): Likewise.
6979 (NT_ARM_TLS): Likewise.
6980 (NT_ARM_HW_BREAK): Likewise.
6981 (NT_ARM_HW_WATCH): Likewise.
6982
60e235ee
JM
69832012-11-07 Joseph Myers <joseph@codesourcery.com>
6984
6985 [BZ #14811]
6986 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6987 (__ieee754_powl): Saturate nonzero exponents with absolute value
6988 below 0x1p-79 to +/- 0x1p-79.
6989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6990 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6991 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6992 nonzero exponents with absolute value below 0x1p-32 to +/-
6993 0x1p-32.
6994 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6995 (__ieee754_powl): Saturate nonzero exponents with absolute value
6996 below 0x1p-79 to +/- 0x1p-79.
6997 * math/libm-test.inc (pow_test): Add more tests.
6998
0ab234b7
AK
69992012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7000
7001 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7002 _dl_s390_cap_flags with kernel. Increase string length.
7003 (_dl_s390_platforms): Add z196 and zEC12.
7004
45832f74
JM
70052012-11-07 Joseph Myers <joseph@codesourcery.com>
7006
7007 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7008 Change XOPEN21K to XOPEN2K.
7009
19218757
MK
70102012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7011
7012 * string/memmove.c: Use memcpy when possible.
7013
c5f45721
AJ
70142012-11-06 Andreas Jaeger <aj@suse.de>
7015
7016 * po/eo.po: Update from translation team.
7017
82477c28
JM
70182012-11-06 Joseph Myers <joseph@codesourcery.com>
7019
7020 [BZ #14793]
7021 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7022 exponent and small x and y exponents, scale x or y up. Increase
7023 by 2 the exponent used in scaling up.
7024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7025 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7026 * math/libm-test.inc (fma_test): Add more tests.
7027 (fma_test_towardzero): Likewise.
7028 (fma_test_downward): Likewise.
7029 (fma_test_upward): Likewise.
7030
99252c8c
JM
70312012-11-05 Joseph Myers <joseph@codesourcery.com>
7032
acfa885f
JM
7033 [BZ #14805]
7034 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7035 fenv_t *.
7036
99252c8c
JM
7037 [BZ #14801]
7038 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7039 namespace for names of struct fields.
7040 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7041 fenv_t fields.
7042 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7043 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7044
d6d98dea
ST
70452012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7046
7047 [BZ #3665]
7048 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7049
e10bb107
TS
70502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7051
7052 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7053 PTR_DEMANGLE.
7054
7055 [BZ #5246]
7056 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7057 PTR_DEMANGLE.
7058
a0c2940d
JM
70592012-11-04 Joseph Myers <joseph@codesourcery.com>
7060
7061 [BZ #14797]
7062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7063 definitely overflow as x * y not x * y + z.
7064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7066 * math/libm-test.inc (fma_test): Add more tests.
7067 (fma_test_towardzero): Likewise.
7068 (fma_test_downward): Likewise.
7069 (fma_test_upward): Likewise.
7070
b830319d
TS
70712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7072
7073 [BZ #157]
7074
7075 * include/stub-tag.h: Remove file.
7076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7077 '#include' of it.
7078 * manual/maint.texi (Porting): Don't reference it.
7079 * Makerules ($(objpfx)stubs): Likewise.
7080 * dirent/closedir.c: Don't include <stub-tag.h>.
7081 * dirent/dirfd.c: Likewise.
7082 * dirent/fdopendir.c: Likewise.
7083 * dirent/getdents.c: Likewise.
7084 * dirent/getdents64.c: Likewise.
7085 * dirent/opendir.c: Likewise.
7086 * dirent/readdir.c: Likewise.
7087 * dirent/readdir64.c: Likewise.
7088 * dirent/readdir64_r.c: Likewise.
7089 * dirent/readdir_r.c: Likewise.
7090 * dirent/rewinddir.c: Likewise.
7091 * dirent/seekdir.c: Likewise.
7092 * dirent/telldir.c: Likewise.
7093 * gmon/profil.c: Likewise.
7094 * grp/setgroups.c: Likewise.
7095 * inet/if_index.c: Likewise.
7096 * io/access.c: Likewise.
7097 * io/chdir.c: Likewise.
7098 * io/chmod.c: Likewise.
7099 * io/chown.c: Likewise.
7100 * io/close.c: Likewise.
7101 * io/dup.c: Likewise.
7102 * io/dup2.c: Likewise.
7103 * io/dup3.c: Likewise.
7104 * io/euidaccess.c: Likewise.
7105 * io/faccessat.c: Likewise.
7106 * io/fchdir.c: Likewise.
7107 * io/fchmod.c: Likewise.
7108 * io/fchmodat.c: Likewise.
7109 * io/fchown.c: Likewise.
7110 * io/fchownat.c: Likewise.
7111 * io/fcntl.c: Likewise.
7112 * io/flock.c: Likewise.
7113 * io/fstatfs.c: Likewise.
7114 * io/fstatfs64.c: Likewise.
7115 * io/fstatvfs.c: Likewise.
7116 * io/fstatvfs64.c: Likewise.
7117 * io/futimens.c: Likewise.
7118 * io/fxstat.c: Likewise.
7119 * io/fxstat64.c: Likewise.
7120 * io/fxstatat.c: Likewise.
7121 * io/fxstatat64.c: Likewise.
7122 * io/getcwd.c: Likewise.
7123 * io/isatty.c: Likewise.
7124 * io/lchmod.c: Likewise.
7125 * io/lchown.c: Likewise.
7126 * io/link.c: Likewise.
7127 * io/linkat.c: Likewise.
7128 * io/lseek.c: Likewise.
7129 * io/lseek64.c: Likewise.
7130 * io/lxstat64.c: Likewise.
7131 * io/mkdir.c: Likewise.
7132 * io/mkdirat.c: Likewise.
7133 * io/mkfifo.c: Likewise.
7134 * io/mkfifoat.c: Likewise.
7135 * io/open.c: Likewise.
7136 * io/open64.c: Likewise.
7137 * io/openat.c: Likewise.
7138 * io/openat64.c: Likewise.
7139 * io/pipe.c: Likewise.
7140 * io/pipe2.c: Likewise.
7141 * io/poll.c: Likewise.
7142 * io/posix_fadvise.c: Likewise.
7143 * io/posix_fadvise64.c: Likewise.
7144 * io/posix_fallocate.c: Likewise.
7145 * io/posix_fallocate64.c: Likewise.
7146 * io/read.c: Likewise.
7147 * io/readlink.c: Likewise.
7148 * io/readlinkat.c: Likewise.
7149 * io/rmdir.c: Likewise.
7150 * io/sendfile.c: Likewise.
7151 * io/sendfile64.c: Likewise.
7152 * io/statfs.c: Likewise.
7153 * io/statfs64.c: Likewise.
7154 * io/statvfs.c: Likewise.
7155 * io/statvfs64.c: Likewise.
7156 * io/symlink.c: Likewise.
7157 * io/symlinkat.c: Likewise.
7158 * io/ttyname.c: Likewise.
7159 * io/ttyname_r.c: Likewise.
7160 * io/umask.c: Likewise.
7161 * io/unlink.c: Likewise.
7162 * io/unlinkat.c: Likewise.
7163 * io/utime.c: Likewise.
7164 * io/utimensat.c: Likewise.
7165 * io/write.c: Likewise.
7166 * io/xmknod.c: Likewise.
7167 * io/xmknodat.c: Likewise.
7168 * io/xstat.c: Likewise.
7169 * io/xstat64.c: Likewise.
7170 * login/getpt.c: Likewise.
7171 * login/grantpt.c: Likewise.
7172 * login/unlockpt.c: Likewise.
7173 * math/e_acoshl.c: Likewise.
7174 * math/e_acosl.c: Likewise.
7175 * math/e_asinl.c: Likewise.
7176 * math/e_atan2l.c: Likewise.
7177 * math/e_atanhl.c: Likewise.
7178 * math/e_coshl.c: Likewise.
7179 * math/e_expl.c: Likewise.
7180 * math/e_fmodl.c: Likewise.
7181 * math/e_gammal_r.c: Likewise.
7182 * math/e_hypotl.c: Likewise.
7183 * math/e_j0l.c: Likewise.
7184 * math/e_j1l.c: Likewise.
7185 * math/e_jnl.c: Likewise.
7186 * math/e_lgammal_r.c: Likewise.
7187 * math/e_log10l.c: Likewise.
7188 * math/e_log2l.c: Likewise.
7189 * math/e_logl.c: Likewise.
7190 * math/e_powl.c: Likewise.
7191 * math/e_rem_pio2l.c: Likewise.
7192 * math/e_sinhl.c: Likewise.
7193 * math/e_sqrtl.c: Likewise.
7194 * math/fclrexcpt.c: Likewise.
7195 * math/fedisblxcpt.c: Likewise.
7196 * math/feenablxcpt.c: Likewise.
7197 * math/fegetenv.c: Likewise.
7198 * math/fegetexcept.c: Likewise.
7199 * math/fegetround.c: Likewise.
7200 * math/feholdexcpt.c: Likewise.
7201 * math/fesetenv.c: Likewise.
7202 * math/fesetround.c: Likewise.
7203 * math/feupdateenv.c: Likewise.
7204 * math/fgetexcptflg.c: Likewise.
7205 * math/fraiseexcpt.c: Likewise.
7206 * math/fsetexcptflg.c: Likewise.
7207 * math/ftestexcept.c: Likewise.
7208 * math/k_cosl.c: Likewise.
7209 * math/k_rem_pio2l.c: Likewise.
7210 * math/k_sinl.c: Likewise.
7211 * math/k_tanl.c: Likewise.
7212 * math/s_asinhl.c: Likewise.
7213 * math/s_atanl.c: Likewise.
7214 * math/s_cbrtl.c: Likewise.
7215 * math/s_erfl.c: Likewise.
7216 * math/s_expm1l.c: Likewise.
7217 * math/s_log1pl.c: Likewise.
7218 * math/s_tanhl.c: Likewise.
7219 * misc/acct.c: Likewise.
7220 * misc/brk.c: Likewise.
7221 * misc/chflags.c: Likewise.
7222 * misc/chroot.c: Likewise.
7223 * misc/fchflags.c: Likewise.
7224 * misc/fgetxattr.c: Likewise.
7225 * misc/flistxattr.c: Likewise.
7226 * misc/fremovexattr.c: Likewise.
7227 * misc/fsetxattr.c: Likewise.
7228 * misc/fsync.c: Likewise.
7229 * misc/ftruncate.c: Likewise.
7230 * misc/futimes.c: Likewise.
7231 * misc/futimesat.c: Likewise.
7232 * misc/getdomain.c: Likewise.
7233 * misc/getdtsz.c: Likewise.
7234 * misc/gethostid.c: Likewise.
7235 * misc/gethostname.c: Likewise.
7236 * misc/getloadavg.c: Likewise.
7237 * misc/getpagesize.c: Likewise.
7238 * misc/getsysstats.c: Likewise.
7239 * misc/getxattr.c: Likewise.
7240 * misc/gtty.c: Likewise.
7241 * misc/ioctl.c: Likewise.
7242 * misc/lgetxattr.c: Likewise.
7243 * misc/listxattr.c: Likewise.
7244 * misc/llistxattr.c: Likewise.
7245 * misc/lremovexattr.c: Likewise.
7246 * misc/lsetxattr.c: Likewise.
7247 * misc/lutimes.c: Likewise.
7248 * misc/madvise.c: Likewise.
7249 * misc/mincore.c: Likewise.
7250 * misc/mlock.c: Likewise.
7251 * misc/mlockall.c: Likewise.
7252 * misc/mmap.c: Likewise.
7253 * misc/mprotect.c: Likewise.
7254 * misc/msync.c: Likewise.
7255 * misc/munlock.c: Likewise.
7256 * misc/munlockall.c: Likewise.
7257 * misc/munmap.c: Likewise.
7258 * misc/preadv.c: Likewise.
7259 * misc/preadv64.c: Likewise.
7260 * misc/ptrace.c: Likewise.
7261 * misc/pwritev.c: Likewise.
7262 * misc/pwritev64.c: Likewise.
7263 * misc/readv.c: Likewise.
7264 * misc/reboot.c: Likewise.
7265 * misc/remap_file_pages.c: Likewise.
7266 * misc/removexattr.c: Likewise.
7267 * misc/revoke.c: Likewise.
7268 * misc/select.c: Likewise.
7269 * misc/setdomain.c: Likewise.
7270 * misc/setegid.c: Likewise.
7271 * misc/seteuid.c: Likewise.
7272 * misc/sethostid.c: Likewise.
7273 * misc/sethostname.c: Likewise.
7274 * misc/setregid.c: Likewise.
7275 * misc/setreuid.c: Likewise.
7276 * misc/setxattr.c: Likewise.
7277 * misc/sstk.c: Likewise.
7278 * misc/stty.c: Likewise.
7279 * misc/swapoff.c: Likewise.
7280 * misc/swapon.c: Likewise.
7281 * misc/sync.c: Likewise.
7282 * misc/syncfs.c: Likewise.
7283 * misc/syscall.c: Likewise.
7284 * misc/truncate.c: Likewise.
7285 * misc/ualarm.c: Likewise.
7286 * misc/usleep.c: Likewise.
7287 * misc/ustat.c: Likewise.
7288 * misc/utimes.c: Likewise.
7289 * misc/vhangup.c: Likewise.
7290 * misc/writev.c: Likewise.
7291 * posix/_exit.c: Likewise.
7292 * posix/alarm.c: Likewise.
7293 * posix/execve.c: Likewise.
7294 * posix/fexecve.c: Likewise.
7295 * posix/fork.c: Likewise.
7296 * posix/fpathconf.c: Likewise.
7297 * posix/getaddrinfo.c: Likewise.
7298 * posix/getegid.c: Likewise.
7299 * posix/geteuid.c: Likewise.
7300 * posix/getgid.c: Likewise.
7301 * posix/getgroups.c: Likewise.
7302 * posix/getlogin.c: Likewise.
7303 * posix/getlogin_r.c: Likewise.
7304 * posix/getpgid.c: Likewise.
7305 * posix/getpid.c: Likewise.
7306 * posix/getppid.c: Likewise.
7307 * posix/getresgid.c: Likewise.
7308 * posix/getresuid.c: Likewise.
7309 * posix/getsid.c: Likewise.
7310 * posix/getuid.c: Likewise.
7311 * posix/glob64.c: Likewise.
7312 * posix/nanosleep.c: Likewise.
7313 * posix/pathconf.c: Likewise.
7314 * posix/pause.c: Likewise.
7315 * posix/posix_madvise.c: Likewise.
7316 * posix/pread.c: Likewise.
7317 * posix/pread64.c: Likewise.
7318 * posix/pwrite.c: Likewise.
7319 * posix/pwrite64.c: Likewise.
7320 * posix/sched_getaffinity.c: Likewise.
7321 * posix/sched_getp.c: Likewise.
7322 * posix/sched_gets.c: Likewise.
7323 * posix/sched_primax.c: Likewise.
7324 * posix/sched_primin.c: Likewise.
7325 * posix/sched_rr_gi.c: Likewise.
7326 * posix/sched_setaffinity.c: Likewise.
7327 * posix/sched_setp.c: Likewise.
7328 * posix/sched_sets.c: Likewise.
7329 * posix/sched_yield.c: Likewise.
7330 * posix/setgid.c: Likewise.
7331 * posix/setlogin.c: Likewise.
7332 * posix/setpgid.c: Likewise.
7333 * posix/setresgid.c: Likewise.
7334 * posix/setresuid.c: Likewise.
7335 * posix/setsid.c: Likewise.
7336 * posix/setuid.c: Likewise.
7337 * posix/sleep.c: Likewise.
7338 * posix/spawni.c: Likewise.
7339 * posix/sysconf.c: Likewise.
7340 * posix/times.c: Likewise.
7341 * posix/wait.c: Likewise.
7342 * posix/wait3.c: Likewise.
7343 * posix/wait4.c: Likewise.
7344 * posix/waitpid.c: Likewise.
7345 * resolv/gai_sigqueue.c: Likewise.
7346 * resource/getpriority.c: Likewise.
7347 * resource/getrlimit.c: Likewise.
7348 * resource/getrusage.c: Likewise.
7349 * resource/nice.c: Likewise.
7350 * resource/setpriority.c: Likewise.
7351 * resource/setrlimit.c: Likewise.
7352 * resource/ulimit.c: Likewise.
7353 * rt/aio_cancel.c: Likewise.
7354 * rt/aio_fsync.c: Likewise.
7355 * rt/aio_read.c: Likewise.
7356 * rt/aio_sigqueue.c: Likewise.
7357 * rt/aio_suspend.c: Likewise.
7358 * rt/aio_write.c: Likewise.
7359 * rt/clock_getres.c: Likewise.
7360 * rt/clock_gettime.c: Likewise.
7361 * rt/clock_nanosleep.c: Likewise.
7362 * rt/clock_settime.c: Likewise.
7363 * rt/lio_listio.c: Likewise.
7364 * rt/mq_close.c: Likewise.
7365 * rt/mq_getattr.c: Likewise.
7366 * rt/mq_notify.c: Likewise.
7367 * rt/mq_open.c: Likewise.
7368 * rt/mq_receive.c: Likewise.
7369 * rt/mq_send.c: Likewise.
7370 * rt/mq_setattr.c: Likewise.
7371 * rt/mq_timedreceive.c: Likewise.
7372 * rt/mq_timedsend.c: Likewise.
7373 * rt/mq_unlink.c: Likewise.
7374 * rt/shm_open.c: Likewise.
7375 * rt/shm_unlink.c: Likewise.
7376 * rt/timer_create.c: Likewise.
7377 * rt/timer_delete.c: Likewise.
7378 * rt/timer_getoverr.c: Likewise.
7379 * rt/timer_gettime.c: Likewise.
7380 * rt/timer_settime.c: Likewise.
7381 * setjmp/__longjmp.c: Likewise.
7382 * setjmp/setjmp.c: Likewise.
7383 * signal/kill.c: Likewise.
7384 * signal/killpg.c: Likewise.
7385 * signal/raise.c: Likewise.
7386 * signal/sigaction.c: Likewise.
7387 * signal/sigaltstack.c: Likewise.
7388 * signal/sigblock.c: Likewise.
7389 * signal/sigignore.c: Likewise.
7390 * signal/sigintr.c: Likewise.
7391 * signal/signal.c: Likewise.
7392 * signal/sigpause.c: Likewise.
7393 * signal/sigpending.c: Likewise.
7394 * signal/sigqueue.c: Likewise.
7395 * signal/sigreturn.c: Likewise.
7396 * signal/sigset.c: Likewise.
7397 * signal/sigsetmask.c: Likewise.
7398 * signal/sigstack.c: Likewise.
7399 * signal/sigsuspend.c: Likewise.
7400 * signal/sigtimedwait.c: Likewise.
7401 * signal/sigvec.c: Likewise.
7402 * signal/sigwait.c: Likewise.
7403 * signal/sigwaitinfo.c: Likewise.
7404 * signal/sysv_signal.c: Likewise.
7405 * socket/accept.c: Likewise.
7406 * socket/accept4.c: Likewise.
7407 * socket/bind.c: Likewise.
7408 * socket/connect.c: Likewise.
7409 * socket/getpeername.c: Likewise.
7410 * socket/getsockname.c: Likewise.
7411 * socket/getsockopt.c: Likewise.
7412 * socket/isfdtype.c: Likewise.
7413 * socket/listen.c: Likewise.
7414 * socket/recv.c: Likewise.
7415 * socket/recvfrom.c: Likewise.
7416 * socket/recvmsg.c: Likewise.
7417 * socket/send.c: Likewise.
7418 * socket/sendmsg.c: Likewise.
7419 * socket/sendto.c: Likewise.
7420 * socket/setsockopt.c: Likewise.
7421 * socket/shutdown.c: Likewise.
7422 * socket/sockatmark.c: Likewise.
7423 * socket/socket.c: Likewise.
7424 * socket/socketpair.c: Likewise.
7425 * stdio-common/ctermid.c: Likewise.
7426 * stdio-common/cuserid.c: Likewise.
7427 * stdio-common/remove.c: Likewise.
7428 * stdio-common/rename.c: Likewise.
7429 * stdio-common/renameat.c: Likewise.
7430 * stdio-common/tempname.c: Likewise.
7431 * stdlib/getcontext.c: Likewise.
7432 * stdlib/makecontext.c: Likewise.
7433 * stdlib/setcontext.c: Likewise.
7434 * stdlib/swapcontext.c: Likewise.
7435 * stdlib/system.c: Likewise.
7436 * streams/fattach.c: Likewise.
7437 * streams/fdetach.c: Likewise.
7438 * streams/getmsg.c: Likewise.
7439 * streams/getpmsg.c: Likewise.
7440 * streams/putmsg.c: Likewise.
7441 * streams/putpmsg.c: Likewise.
7442 * sysdeps/unix/bsd/getpt.c: Likewise.
7443 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7444 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7445 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7447 Likewise.
7448 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7449 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7450 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7451 * sysvipc/msgctl.c: Likewise.
7452 * sysvipc/msgget.c: Likewise.
7453 * sysvipc/msgrcv.c: Likewise.
7454 * sysvipc/msgsnd.c: Likewise.
7455 * sysvipc/semctl.c: Likewise.
7456 * sysvipc/semget.c: Likewise.
7457 * sysvipc/semop.c: Likewise.
7458 * sysvipc/semtimedop.c: Likewise.
7459 * sysvipc/shmat.c: Likewise.
7460 * sysvipc/shmctl.c: Likewise.
7461 * sysvipc/shmdt.c: Likewise.
7462 * sysvipc/shmget.c: Likewise.
7463 * termios/tcdrain.c: Likewise.
7464 * termios/tcflow.c: Likewise.
7465 * termios/tcflush.c: Likewise.
7466 * termios/tcgetattr.c: Likewise.
7467 * termios/tcgetpgrp.c: Likewise.
7468 * termios/tcsendbrk.c: Likewise.
7469 * termios/tcsetattr.c: Likewise.
7470 * termios/tcsetpgrp.c: Likewise.
7471 * time/adjtime.c: Likewise.
7472 * time/clock.c: Likewise.
7473 * time/getitimer.c: Likewise.
7474 * time/gettimeofday.c: Likewise.
7475 * time/setitimer.c: Likewise.
7476 * time/settimeofday.c: Likewise.
7477 * time/stime.c: Likewise.
7478 * time/time.c: Likewise.
7479
74802012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7481
a20492cf
PT
7482 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7483 /usr/old/bin.
7484
72e182e3
PT
7485 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7486 instead of spaces.
7487 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7488
fbeafede
JM
74892012-11-03 Joseph Myers <joseph@codesourcery.com>
7490
5b5b04d6
JM
7491 [BZ #14796]
7492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7493 FE_TONEAREST before applying Dekker multiplication and Knuth
7494 addition. Clear inexact exceptions and check for exact zero
7495 results afterwards.
7496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7497 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7499 * math/libm-test.inc (fma_test): Add more tests.
7500 (fma_test_towardzero): Likewise.
7501 (fma_test_downward): Likewise.
7502 (fma_test_upward): Likewise.
7503 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7504 function.
7505 (libc_fesetround): New macro.
7506 (libc_fesetroundf): Likewise.
7507 (libc_fesetroundl): Likewise.
7508 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7509 function.
7510 (libc_fesetround_387): Likewise.
7511 (libc_fesetroundf): New macro.
7512 (libc_fesetround): Likewise.
7513 (libc_fesetroundl): Likewise.
7514 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7515 function.
7516 (libc_fesetroundf): New macro.
7517 (libc_fesetround): Likewise.
7518 (libc_fesetroundl): Likewise.
7519 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7520 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7521 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7522 libm_hidden_ver.
7523 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7524 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7525 libm_hidden_def.
7526 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7527 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7528 libm_hidden_ver.
7529 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7530 libm_hidden_def.
7531
fbeafede
JM
7532 [BZ #3439]
7533 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7534 integer constant usable in #if and use that to give value to enum
7535 constant.
7536 (FE_DIVBYZERO): Likewise.
7537 (FE_UNDERFLOW): Likewise.
7538 (FE_OVERFLOW): Likewise.
7539 (FE_INVALID): Likewise.
7540 (FE_INVALID_SNAN): Likewise.
7541 (FE_INVALID_ISI): Likewise.
7542 (FE_INVALID_IDI): Likewise.
7543 (FE_INVALID_ZDZ): Likewise.
7544 (FE_INVALID_IMZ): Likewise.
7545 (FE_INVALID_COMPARE): Likewise.
7546 (FE_INVALID_SOFTWARE): Likewise.
7547 (FE_INVALID_SQRT): Likewise.
7548 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7549 (FE_TONEAREST): Likewise.
7550 (FE_TOWARDZERO): Likewise.
7551 (FE_UPWARD): Likewise.
7552 (FE_DOWNWARD): Likewise.
7553 * sysdeps/s390/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 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7563 (FE_UNDERFLOW): Likewise.
7564 (FE_OVERFLOW): Likewise.
7565 (FE_DIVBYZERO): Likewise.
7566 (FE_INVALID): Likewise.
7567 (FE_TONEAREST): Likewise.
7568 (FE_TOWARDZERO): Likewise.
7569 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7570 (FE_OVERFLOW): Likewise.
7571 (FE_UNDERFLOW): Likewise.
7572 (FE_DIVBYZERO): Likewise.
7573 (FE_INEXACT): Likewise.
7574 (FE_TONEAREST): Likewise.
7575 (FE_TOWARDZERO): Likewise.
7576 (FE_UPWARD): Likewise.
7577 (FE_DOWNWARD): Likewise.
7578 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7579 (FE_DIVBYZERO): Likewise.
7580 (FE_OVERFLOW): Likewise.
7581 (FE_UNDERFLOW): Likewise.
7582 (FE_INEXACT): Likewise.
7583 (FE_TONEAREST): Likewise.
7584 (FE_DOWNWARD): Likewise.
7585 (FE_UPWARD): Likewise.
7586 (FE_TOWARDZERO): Likewise.
7587
105ca950
CM
75882012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7589
7590 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7591
a542b389
AS
75922012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7593
7594 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7595 commands. Quote $PWD.
7596 (blacklist_exports): Don't use remove_newlines. Replace "declare
7597 -x" by "export".
7598 (remove_newlines): Remove.
7599
f62c8abc
L
76002012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7601
7602 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7603 * stdlib/stdlib.h (atof): Moved to ...
7604 * include/bits/stdlib-float.h: Here. New file.
7605 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7606 * stdlib/bits/stdlib-float.h: New file.
7607 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7608 -mno-sse -mno-mmx.
7609 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7610 <xmmintrin.h>.
7611
0155d5b2
JM
76122012-11-02 Joseph Myers <joseph@codesourcery.com>
7613
a68d0680
JM
7614 * conform/conformtest.pl (@headers): Add fenv.h.
7615 * conform/data/fenv.h-data: New file.
7616 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7617 include of <math/fenv.h>.
7618
caf7f573
JM
7619 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7620 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7621 && !UNIX98]. Enables tests for XOPEN2K8.
7622 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7623 POSIX2008]: Likewise.
7624
6c073ad6
JM
7625 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7626 (struct rusage): Do not expect type or its members.
7627
0155d5b2
JM
7628 [BZ #3439]
7629 * math/math.h (FP_NAN): Define macro to integer constant usable in
7630 #if and use that to give value to enum constant.
7631 (FP_INFINITE): Likewise.
7632 (FP_ZERO): Likewise.
7633 (FP_SUBNORMAL): Likewise.
7634 (FP_NORMAL): Likewise.
7635
b5dcacb4
AS
76362012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7637
7638 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7639 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7640 arguments.
7641
f7934be8
RM
76422012-11-02 Roland McGrath <roland@hack.frob.com>
7643
7644 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7645 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7646 autoconf-time if not.
7647 * configure.in: Remove AC_PREREQ.
7648
d7d08bde
TMQMF
76492012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7650
7651 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7652 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7653 of the internal implementation.
7654
dcdae19a
JM
76552012-11-02 Joseph Myers <joseph@codesourcery.com>
7656
7657 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7658 except include of <misc/sys/syslog.h>.
7659
d6cffd3e
AS
76602012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7661
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7663 function returns with a NULL context exit with zero.
7664
b3563932
TMQMF
76652012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7666
7667 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7668
b288a93d
L
76692012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7670
7671 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7672 (run_program_cmd): This.
7673 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7674 (tst_langinfo): New variable. Use it.
7675
a2421a68
SAS
76762012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7677
7678 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7679 floating point opcodes.
7680
6f796e1b
TS
76812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7682
7402596b
TS
7683 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7684 variable.
7685
d0d4f868
TS
7686 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7687
6f796e1b
TS
7688 * sysdeps/mach/hurd/powerpc: Remove directory.
7689 * sysdeps/mach/powerpc: Likewise.
7690
4da224a2
AS
76912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7692
7693 * scripts/check-local-headers.sh: Ignore c++ headers.
7694
341dd673
TS
76952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7696
7697 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7698 __libc_cleanup_region_start argument.
7699
473611b2
JM
77002012-11-01 Joseph Myers <joseph@codesourcery.com>
7701
7702 [BZ #14784]
7703 [BZ #14785]
7704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7705 x * y using scaling, not as x * y + z.
7706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7707 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7708 * math/libm-test.inc (fma_test): Add more tests.
7709 (fma_test_towardzero): Likewise.
7710 (fma_test_downward): Likewise.
7711 (fma_test_upward): Likewise.
7712
4078da3d
TS
77132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7714
7715 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7716
903252aa
JM
77172012-10-31 Joseph Myers <joseph@codesourcery.com>
7718
7719 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7720 New variable.
7721
cbc818d0
TS
77222012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7723
7724 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7725
5a03cb1e
AS
77262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7727
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7729 Fix sort order.
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7731 Likewise.
7732
90aff2ff
TMQMF
77332012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7734
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7736 Fix the order of the list for glibc 2.17.
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7738 Likewise.
7739
1818fcb7
AS
77402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7741
7742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7743
ef82f4da
JM
77442012-10-31 Joseph Myers <joseph@codesourcery.com>
7745
16a0e2ec
JM
7746 [BZ #14610]
7747 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7748 for low part of x being zero before using __atanl (y).
7749 * math/libm-test.inc (atan2_test): Add another test.
7750
0eb69512
JM
7751 * manual/install.texi (Configuring and compiling): Document
7752 general use of test-wrapper and test-wrapper-env.
7753 * INSTALL: Regenerated.
7754
ef82f4da
JM
7755 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7756 (__fma): Do not extract and scale down low bits on after-rounding
7757 systems when result rounded to normal precision would have normal
7758 exponent.
7759 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7760 (__fmal): Do not extract and scale down low bits on after-rounding
7761 systems when result rounded to normal precision would have normal
7762 exponent.
7763 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7764 (__fmal): Do not extract and scale down low bits on after-rounding
7765 systems when result rounded to normal precision would have normal
7766 exponent.
7767 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7768 macro.
7769 (fma_test): Add more tests.
7770 (fma_test_towardzero): Likewise.
7771 (fma_test_downward): Likewise.
7772 (fma_test_upward): Likewise.
7773
954ef0d9
L
77742012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7775
7776 * sysdeps/i386/tininess.h: Renamed to ...
7777 * sysdeps/x86/tininess.h: This.
7778 * sysdeps/x86_64/tininess.h: Removed.
7779
df61ffb2
JM
77802012-10-30 Joseph Myers <joseph@codesourcery.com>
7781
7782 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7783 input. Use $(build-program-cmd).
7784 ($(objpfx)tst-array1-static.out): Likewise.
7785 ($(objpfx)tst-array2.out): Likewise.
7786 ($(objpfx)tst-array3.out): Likewise.
7787 ($(objpfx)tst-array4.out): Likewise.
7788 ($(objpfx)tst-array5.out): Likewise.
7789 ($(objpfx)tst-array5-static.out): Likewise.
7790
01767843
CM
77912012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7792
47cc1490
CM
7793 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7794 if defined.
7795
01767843
CM
7796 * nss/nsswitch.h (nss_interface_function): Provide new
7797 macro for use with NSS functions.
7798 * grp/initgroups.c: Use new macro.
7799 * nss/getXXbyYY.c: Likewise.
7800 * nss/getXXbyYY_r.c: Likewise.
7801 * nss/getXXent.c: Likewise.
7802 * nss/getXXent_r.c: Likewise.
7803 * sysdeps/posix/getaddrinfo.c: Likewise.
7804
8321aa97
AJ
78052012-10-30 Andreas Jaeger <aj@suse.de>
7806
7807 * po/ru.po: Update Russion translation from translation project.
7808
2a27fd6d
JM
78092012-10-30 Joseph Myers <joseph@codesourcery.com>
7810
8627a232
JM
7811 [BZ #14152]
7812 [BZ #14783]
7813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7814 result and shift together with sticky bit instead of replicating
7815 round-to-nearest rounding.
7816 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7817 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7818 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7819 missing underflow exceptions.
7820 (fma_test_towardzero): Add more tests.
7821 (fma_test_downward): Likewise.
7822 (fma_test_upward): Likewise.
7823
2a27fd6d
JM
7824 [BZ #14047]
7825 * sysdeps/generic/tininess.h: New file.
7826 * sysdeps/i386/tininess.h: Likewise.
7827 * sysdeps/sh/tininess.h: Likewise.
7828 * sysdeps/x86_64/tininess.h: Likewise.
7829 * stdlib/tst-strtod-underflow.c: Likewise.
7830 * stdlib/tst-tininess.c: Likewise.
7831 * stdlib/strtod_l.c: Include <tininess.h>.
7832 (round_and_return): Do not set errno for exact underflow cases.
7833 Force an underflow exception when setting errno for underflow.
7834 Determine underflow based on rounding to normal precision if
7835 TININESS_AFTER_ROUNDING.
7836 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7837 ERANGE for exact underflow cases.
7838 * stdlib/Makefile (tests): Add tst-tininess and
7839 tst-strtod-underflow.
7840 ($(objpfx)tst-tininess): Use $(link-libm).
7841 ($(objpfx)tst-strtod-underflow): Likewise.
7842
e7170363
AJ
78432012-10-30 Andreas Jaeger <aj@suse.de>
7844
e5088dc6
AJ
7845 [BZ#14767]
7846 * elf/Makefile (tests): Remove conditional for have-initfini-array
7847 since this is now always required and the variable does not exist
7848 anymore.
7849 (tests-static): Likewise.
7850 (modules-names): Likewise.
7851
e7170363 7852 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7853
7854 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7855 merged with constructor/destructor.
7856 (init_array): Likewise.
7857 * elf/tst-array2dep.c (fini_array): Likewise.
7858 (init_array): Likewise.
7859
60457d8a
MF
78602012-10-29 Mike Frysinger <vapier@gentoo.org>
7861
7862 * manual/message.texi: Delete @cartouche tags.
7863
8bece752
PT
78642012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7865
94ce799f
PT
7866 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7867 EOPNOTSUPP.
7868 * sysdeps/mach/hurd/fsync.c: Likewise.
7869
8bece752
PT
7870 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7871 [_POSIX_REALTIME_SIGNALS]: Change condition to
7872 [_POSIX_REALTIME_SIGNALS > 0].
7873
86ebe6b1
AJ
78742012-10-27 Andreas Jaeger <aj@suse.de>
7875
7876 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7877 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7878 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7879 [__WORDSIZE != 64]: Likewise.
7880
54399c08
L
78812012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7882
7883 * iconvdata/tst-table.sh: Remove ${SHELL}.
7884 * iconvdata/tst-tables.sh: Likewise.
7885
e2211bed
DM
78862012-10-25 David S. Miller <davem@davemloft.net>
7887
7888 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7889 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7890 of strtoull.
7891
f303f97c
DM
7892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7893 ifunc-impl-list.c
7894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7895 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7896 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7897 file.
7898
1e9d84cd
RM
78992012-10-25 Roland McGrath <roland@hack.frob.com>
7900
7901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7902 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7903 __getdirentries.
7904
df381762
JM
79052012-10-25 Joseph Myers <joseph@codesourcery.com>
7906 Jim Blandy <jimb@codesourcery.com>
7907
7908 * scripts/cross-test-ssh.sh: New file.
7909 * manual/install.texi (Configuring and compiling): Document use of
7910 cross-test-ssh.sh.
7911 * INSTALL: Regenerated.
7912
bff64913
PT
79132012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7914
7915 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7916 EOPNOTSUPP.
7917
25fe8932
JM
79182012-10-25 Joseph Myers <joseph@codesourcery.com>
7919
7920 * Makeconfig (run-program-prefix): Fix comment.
7921
cc1290d0
JM
79222012-10-24 Joseph Myers <joseph@codesourcery.com>
7923 Jim Blandy <jimb@codesourcery.com>
7924
7925 * Makeconfig (test-wrapper): New variable,
7926 (test-wrapper-env): Likewise.
7927 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7928 (run-built-tests): Define to yes.
7929 (run-program-prefix): Use $(test-wrapper).
7930 (built-program-cmd): Likewise.
7931 * Rules (make-test-out): Use $(test-wrapper-env) and
7932 $(host-built-program-cmd).
7933 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7934 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7935 tst-pathopt.sh.
7936 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7937 $(test-wrapper-env) to tst-rtld-load-self.sh.
7938 ($(objpfx)order2.out): Use $(test-wrapper).
7939 ($(objpfx)tst-initorder.out): Likewise.
7940 ($(objpfx)tst-initorder2.out): Likewise.
7941 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7942 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7943 (test_wrapper_env): New variable. Use it to run ld.so.
7944 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7945 Use it to run ld.so.
7946 (test_wrapper_env): Likewise.
7947 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7948 $(test-wrapper) to run-iconv-test.sh.
7949 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7950 (ICONV): Use $test_wrapper.
7951 * posix/Makefile ($(objpfx)globtest.out): Pass
7952 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7953 globtest.sh, not $(run-program-prefix).
7954 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7955 (test_wrapper): Likewise.
7956 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7957 set together with run_via_rtld_prefix.
7958 (run_program_prefix): Define in terms of test_wrapper and
7959 run_via_rtld_prefix.
7960
6e6249d0
RM
79612012-10-24 Roland McGrath <roland@hack.frob.com>
7962
7963 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7964 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7965 Targets removed.
7966
7967 [BZ #14743]
7968 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7969 Declare __clock_getres, __clock_gettime, __clock_settime,
7970 __clock_nanosleep, and __clock_getcpuclockid.
7971 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7972 Remove librt_hidden_def (clock_gettime).
7973 * sysdeps/unix/clock_gettime.c: Likewise.
7974 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7975 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7976 * rt/clock_getres.c: Define __clock_getres as an alias.
7977 * sysdeps/posix/clock_getres.c: Likewise.
7978 * rt/clock_settime.c: Define __clock_settime as an alias.
7979 * sysdeps/unix/clock_settime.c: Likewise.
7980 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7981 * sysdeps/unix/clock_nanosleep.c: Likewise.
7982 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7983 * rt/clock-compat.c: New file.
7984 * rt/Makefile (librt-routines): Add clock-compat and move
7985 $(clock-routines) to ...
7986 (routines): ... here, new variable.
7987 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7988 Don't add get_clockfreq here.
7989 * rt/Versions (libc: GLIBC_2.17): New version set.
7990 Add clock_* symbols here.
7991 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7992 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7993 (GLIBC_2.17): Add clock_* symbols.
7994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7998 Likewise.
7999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8000 Likewise.
8001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8005 * NEWS: Mention the move.
8006
8007 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8008 Use __open, __read, __close rather than their public counterparts.
8009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8010 (__get_clockfreq_via_cpuinfo): Likewise.
8011 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8012 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8013
8014 * config.h.in (HAVE_IFUNC): New #undef.
8015 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8016 was successful.
8017 * configure: Regenerated.
8018
0cae3f4b
MF
80192012-10-24 Mike Frysinger <vapier@gentoo.org>
8020
8021 * configure.in: Move READELF check to start of file.
8022 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8023 libc_cv_asm_gnu_indirect_function in the process.
8024 * configure: Regenerated.
8025
8175a253
MF
80262012-10-24 Mike Frysinger <vapier@gentoo.org>
8027
8028 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8029 send the output to /dev/null.
8030 (libc_cv_cc_with_libunwind): Likewise.
8031 (libc_cv_as_noexecstack): Likewise.
8032 * configure: Regenerate.
8033
0708a7d1
JM
80342012-10-24 Joseph Myers <joseph@codesourcery.com>
8035
10b40d85
JM
8036 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8037
0708a7d1
JM
8038 * posix/globtest.sh (TMPDIR): Do not set.
8039 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8040 (testout): Likewise.
8041
9fddec1a
AJ
80422012-10-24 Andreas Jaeger <aj@suse.de>
8043
3a8db22f
AJ
8044 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8045 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8046 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8047 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8048 posix_fadvise64, posix_fallocate64.
8049
9fddec1a
AJ
8050 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8051 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8052 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8053 Likewise.
8054 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8055 Likewise.
8056 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8057
8058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8059 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8060 <bits/fcntl-linux.h>.
8061 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8062
8063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8064 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8065 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8066 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8067 [__WORDSIZE != 64]: Likewise.
8068
ebfd1bbd
JM
80692012-10-23 Joseph Myers <joseph@codesourcery.com>
8070
03ac099f
JM
8071 * Makeconfig (run-built-tests): New variable.
8072 * Rules [$(cross-compiling) = yes]: Change condition to
8073 [$(run-built-tests) = no].
8074 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8075 to [$(run-built-tests) = yes].
8076 * elf/Makefile [$(cross-compiling) = no]: Likewise
8077 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8078 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8079 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8080 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8081 * io/Makefile [$(cross-compiling) = no]: Likewise.
8082 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8083 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8084 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8085 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8086 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8087 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8088 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8089 * string/Makefile [$(cross-compiling) = no]: Likewise.
8090
ebfd1bbd
JM
8091 * posix/Makefile ($(objpfx)globtest.out): Pass
8092 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8093 $(rtld-installed-name).
8094 * posix/globtest.sh (elf_objpfx): Remove variable.
8095 (rtld_installed_name): Likewise.
8096 (library_path): Likewise.
8097 (run_program_prefix): New variable. Use for running globtest
8098 binary.
8099
166bca24
JB
81002012-10-23 Jim Blandy <jimb@codesourcery.com>
8101 Joseph Myers <joseph@codesourcery.com>
8102
8103 * Makeconfig (host-built-program-cmd): New variable.
8104 * elf/Makefile (tst-stackguard1-ARGS): Use
8105 $(host-built-program-cmd).
8106 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8107 (tst-spawn-ARGS): Likewise.
8108 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8109
88866099
JM
81102012-10-23 Joseph Myers <joseph@codesourcery.com>
8111 Jim Blandy <jimb@codesourcery.com>
8112
8113 * Makeconfig (run-via-rtld-prefix): New variable.
8114 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8115 (built-program-cmd): Likewise.
8116
b4b4c296
AJ
81172012-10-22 Andreas Jaeger <aj@suse.de>
8118
8119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8120 __O_RSYNC if it exists, otherwise to O_SYNC.
8121
6fb54a22
JB
81222012-10-22 Jim Blandy <jimb@codesourcery.com>
8123 Joseph Myers <joseph@codesourcery.com>
8124
8125 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8126 /dev/null.
8127 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8128 from /dev/null
8129 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8130 /dev/null.
8131
481b90b9
AJ
81322012-10-22 Andreas Jaeger <aj@suse.de>
8133
2a0e2669
AJ
8134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8135 Define always.
8136 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8137
76e38f9a
AJ
8138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8139 bits/fcntl-linux.h.
8140
7cd37b43
AJ
8141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8142 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8143
481b90b9
AJ
8144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8145 to __O_LARGEFILE.
8146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8147 to __O_LARGEFILE.
8148
aba75984
JB
81492012-10-21 Jim Blandy <jimb@codesourcery.com>
8150 Joseph Myers <joseph@codesourcery.com>
8151
8152 * config.make.in (NM): New variable.
8153
88d4247f
AJ
81542012-10-21 Andreas Jaeger <aj@suse.de>
8155
8156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8157 definitions and declarations that are provided by
8158 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8159
f2eed205
L
81602012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8161
8162 [BZ #14683]
8163 * elf/Makefile (tests-static): Add tst-leaks1-static.
8164 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8165 ($(objpfx)tst-leaks1-static): New rule.
8166 ($(objpfx)tst-leaks1-static-mem): Likewise.
8167 (tst-leaks1-static-ENV): New macro.
8168 * elf/dl-open.c (dl_open_worker): Check the main application
8169 only if SHARED is defined.
8170 * elf/tst-leaks1-static.c: New file.
8171
335e6931
AJ
81722012-10-20 Andreas Jaeger <aj@suse.de>
8173
8174 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8175 generic values for Linux.
8176 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8177 and declarations that are provided by <bits/fcntl-linux.h> and
8178 include <bits/fcntl-linux.h>.
8179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8181
ac5c94d3
RM
81822012-10-20 Roland McGrath <roland@hack.frob.com>
8183
8184 * io/fcntl.h: Move include of <bits/types.h> to the top and
8185 include it unconditionally.
8186
de54b33a
L
81872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8188
228cfb01
L
8189 * wcsmbs/Makefile (tests-ifunc): New variable.
8190 (tests): Add $(tests-ifunc).
8191 * wcsmbs/test-wcschr-ifunc.c: New file.
8192 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8193 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8194 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8195 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8196 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8197
69f07e5f
L
8198 * string/Makefile (tests-ifunc): New variable.
8199 (tests): Add $(tests-ifunc).
8200 * string/test-memccpy.c (TEST_NAME): New macro.
8201 * string/test-memchr.c (TEST_NAME): Likewise.
8202 * string/test-memcmp.c (TEST_NAME): Likewise.
8203 * string/test-memcpy.c (TEST_NAME): Likewise.
8204 * string/test-memmem.c (TEST_NAME): Likewise.
8205 * string/test-memmove.c (TEST_NAME): Likewise.
8206 * string/test-memset.c (TEST_NAME): Likewise.
8207 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8208 * string/test-stpcpy.c (TEST_NAME): Likewise.
8209 * string/test-stpncpy.c (TEST_NAME): Likewise.
8210 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8211 * string/test-strcasestr.c (TEST_NAME): Likewise.
8212 * string/test-strcat.c (TEST_NAME): Likewise.
8213 * string/test-strchr.c (TEST_NAME): Likewise.
8214 * string/test-strcmp.c(TEST_NAME): Likewise.
8215 * string/test-strcpy.c (TEST_NAME): Likewise.
8216 * string/test-strcspn.c (TEST_NAME): Likewise.
8217 * string/test-strlen.c (TEST_NAME): Likewise.
8218 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8219 * string/test-strncmp.c (TEST_NAME): Likewise.
8220 * string/test-strncpy.c (TEST_NAME): Likewise.
8221 * string/test-strnlen.c (TEST_NAME): Likewise.
8222 * string/test-strpbrk.c (TEST_NAME): Likewise.
8223 * string/test-strrchr.c (TEST_NAME): Likewise.
8224 * string/test-strspn.c (TEST_NAME): Likewise.
8225 * string/test-strstr.c (TEST_NAME): Likewise.
8226 * string/test-bcopy-ifunc.c: New file.
8227 * string/test-bzero-ifunc.c: Likewise.
8228 * string/test-memccpy-ifunc.c: Likewise.
8229 * string/test-memchr-ifunc.c: Likewise.
8230 * string/test-memcmp-ifunc.c: Likewise.
8231 * string/test-memcpy-ifunc.c: Likewise.
8232 * string/test-memmem-ifunc.c: Likewise.
8233 * string/test-memmove-ifunc.c: Likewise.
8234 * string/test-mempcpy-ifunc.c: Likewise.
8235 * string/test-memset-ifunc.c: Likewise.
8236 * string/test-rawmemchr-ifunc.c: Likewise.
8237 * string/test-stpcpy-ifunc.c: Likewise.
8238 * string/test-stpncpy-ifunc.c: Likewise.
8239 * string/test-strcasecmp-ifunc.c: Likewise.
8240 * string/test-strcasestr-ifunc.c: Likewise.
8241 * string/test-strcat-ifunc.c: Likewise.
8242 * string/test-strchr-ifunc.c: Likewise.
8243 * string/test-strchrnul-ifunc.c: Likewise.
8244 * string/test-strcmp-ifunc.c: Likewise.
8245 * string/test-strcpy-ifunc.c: Likewise.
8246 * string/test-strcspn-ifunc.c: Likewise.
8247 * string/test-strlen-ifunc.c: Likewise.
8248 * string/test-strncasecmp-ifunc.c: Likewise.
8249 * string/test-strncat-ifunc.c: Likewise.
8250 * string/test-strncmp-ifunc.c: Likewise.
8251 * string/test-strncpy-ifunc.c: Likewise.
8252 * string/test-strnlen-ifunc.c: Likewise.
8253 * string/test-strpbrk-ifunc.c: Likewise.
8254 * string/test-strrchr-ifunc.c: Likewise.
8255 * string/test-strspn-ifunc.c: Likewise.
8256 * string/test-strstr-ifunc.c: Likewise.
8257
de54b33a
L
8258 * debug/Makefile (tests-ifunc): New variable.
8259 (tests): Add $(tests-ifunc).
8260 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8261 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8262 * debug/test-stpcpy_chk-ifunc.c: New file.
8263 * debug/test-strcpy_chk-ifunc.c: Likewise.
8264
88481c16
SP
82652012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8266
8267 [BZ #13601]
8268 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8269 header is not read in.
8270
135948bd
JM
82712012-10-19 Joseph Myers <joseph@codesourcery.com>
8272
89f1c388
JM
8273 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8274 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8275 directly. Pass built executable to script as
8276 $(built-program-cmd).
8277 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8278 $testprogram without using LD_LIBRARY_PATH and $ldso.
8279
e40a0d21
JM
8280 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8281 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8282 $(rtld-installed-name).
8283 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8284 (rtld_installed_name): Likewise.
8285 (library_path): Likewise.
8286 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8287 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8288 $(run-program-prefix) to tst-tables.sh.
8289 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8290 it to run tst-table-from and tst-table-to.
8291 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8292 Pass it to tst-table.sh.
8293 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8294 $(run-program-prefix) to tst-gettext.sh.
8295 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8296 tst-translit.sh.
8297 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8298 tst-gettext2.sh.
8299 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8300 to run tst-gettext.
8301 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8302 to run tst-gettext2.
8303 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8304 to run tst-translit.
8305 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8306 $(run-program-prefix) to tst-mtrace.sh.
8307 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8308 to run tst-mtrace.
8309 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8310 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8311 $(rtld-installed-name).
8312 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8313 (rtld_installed_name): Likewise.
8314 (run_program_prefix): New variable. Use it to run wordexp-test.
8315
728e272a
JM
8316 * Makeconfig (ARCH): Remove all definitions.
8317 (machine): Likewise.
8318 [ARCH]: Remove conditional code.
8319 [!objdir]: Give error.
8320 [!objdir] (objpfx): Remove.
8321 [!objdir] (common-objpfx): Likewise.
8322 [!objdir] (common-objdir): Likewise.
8323 * configure.in (config_makefile): Remove. Hardcode Makefile in
8324 AC_CONFIG_FILES call.
8325 * configure: Regenerated.
8326
d528cdcf
JM
8327 [BZ #13888]
8328 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8329 or TMPDIR.
8330 (testout): Likewise.
8331
135948bd
JM
8332 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8333 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8334 $(rtld-installed-name).
8335 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8336 (rtld_installed_name): Likwise.
8337 (runit): Remove function.
8338 (run_getconf): New variable, Use it for running getconf binary.
8339
38c78296
L
83402012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8341
8342 [BZ #14716]
8343 * string/test-memmem.c (check_result): New function.
8344 (do_one_test): Use it.
8345 (check1): New function.
8346 (test_main): Use it.
8347
d077f65f
MT
83482012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8349
8350 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8351
ced52c71
JM
83522012-10-18 Joseph Myers <joseph@codesourcery.com>
8353
8354 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8355 (_G_LSEEK64): Likewise.
8356 (_G_MMAP64): Likewise.
8357 (_G_FSTAT64): Likewise.
8358 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8359 (_G_LSEEK64): Likewise.
8360 (_G_MMAP64): Likewise.
8361 (_G_FSTAT64): Likewise.
8362 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8363 unconditional. Call __mmap64 directly.
8364 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8365 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8366 __lseek64 directly.
8367 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8368 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8369 __mmap64 directly.
8370 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8371 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8372 __lseek64 directly.
8373 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8374 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8375 __lseek64 directly.
8376 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8377 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8378 __lseek64 directly.
8379 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8380 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8381 __fxstat64 directly.
8382 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8383 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8384 unconditional.
8385 (freopen64) [!_G_OPEN64]: Remove conditional code.
8386 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8387 unconditional.
8388 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8389 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8390 unconditional.
8391 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8392 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8393 unconditional.
8394 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8395 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8396 unconditional.
8397 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8398 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8399 unconditional.
8400 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8401 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8402 unconditional.
8403 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8404 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8405 unconditional.
8406 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8407
b741de23
SP
84082012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8409
8410 [BZ #12140]
8411 * manual/memory.texi (Malloc Tunable Parameters): Add note
8412 about free list pointers overwriting some perturb bytes.
8413 Wording suggested by Roland McGrath.
8414
f9b9d9c9
JM
84152012-10-17 Joseph Myers <joseph@codesourcery.com>
8416
8417 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8418 (lgamma_test): Likewise.
8419 (tgamma_test): Likewise.
8420
172a631a
FW
84212012-10-16 Florian Weimer <fweimer@redhat.com>
8422
8423 [BZ #14700]
8424 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8425 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8426
e9f37252
MK
84272012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8428
8429 * NEWS: Mention BZ #14716.
8430 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8431 when removing AVAILABLE1_USES_J macro.
8432
d394eb74
L
84332012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8434
8435 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8436 (__bswap_64): __uint64_t for unsigned 64-bit int.
8437
ca38dc17
AS
84382012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8439
8440 * include/string.h (memmem): Declare libc hidden alias.
8441 * string/memmem.c (memmem): Define libc hidden alias.
8442 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8443 __read, __close instead of open, read, close.
8444
9a387d1f
L
84452012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8446
ac49ecaf
L
8447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8448 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8449 global and hidden.
8450 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8451 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8452 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8453 Likewise.
8454 (__rawmemchr_sse2): Likewise.
8455 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8456 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8457 (__strchr_sse2): Likewise.
8458 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8459 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8460 (__strcasecmp_sse2): Likewise.
8461 (__strncasecmp_sse2): Likewise.
8462 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8463 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8464 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8465 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8466 (__strrchr_sse2): Likewise.
8467 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8468 ifunc-impl-list.c.
8469 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8470 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8471 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8472 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8473 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8474 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8475 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8476 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8477 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8478 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8479 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8480 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8481 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8482 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8483 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8484 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8485 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8486 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8487 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8488 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8489 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8490 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8491 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8492 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8493 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8494 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8495 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8496 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8497 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8498 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8499
b090e8ea
L
8500 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8501 global and hidden.
8502 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8503 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8504 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8505 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8506 Likewise.
8507 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8508 Likewise.
8509 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8510 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8511 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8512 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8513 ifunc-impl-list.c.
8514 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8515 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8516 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8517 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8518 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8519 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8520 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8521 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8522 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8523 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8524 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8525 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8526 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8527 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8528 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8529 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8530 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8531 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8532 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8533 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8534 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8535 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8536 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8537 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8538 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8539 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8540 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8541 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8542 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8543 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8544 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8545 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8546 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8547 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8548 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8549 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8550 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8551 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8552 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8553 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8554 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8555
11dd4af6
L
8556 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8557 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8558 * include/ifunc-impl-list.h: New file.
8559 * misc/ifunc-impl-list.c: Likewise.
8560 * misc/Makefile (routines): Add ifunc-impl-list.
8561 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8562 * string/test-string.h: Include <ifunc-impl-list.h>.
8563 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8564 impl_array): New variables.
8565 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8566 are defined.
8567 (test_init): Call __libc_ifunc_impl_list to initialize
8568 func_list if TEST_IFUNC and TEST_NAME are defined.
8569
9a387d1f
L
8570 * string/Makefile (strop-tests): Add bcopy and bzero.
8571 * string/test-bcopy.c: New file.
8572 * string/test-bzero.c: Likewise.
8573 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8574 defined.
8575 * string/test-memset.c: Support bzero test if TEST_BZERO is
8576 defined.
8577 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8578 __libc_memmove.
8579 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8580 __libc_memset.
8581 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8582 of memset.
8583
472371b9
JM
85842012-10-10 Joseph Myers <joseph@codesourcery.com>
8585
1e4a9536
JM
8586 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8587 * configure: Regenerated.
8588
d173d12e
JM
8589 * Makeconfig (+link-static-before-libc): Don't include
8590 $(link-static-libc).
8591
472371b9
JM
8592 * libio/libio.h (_IO_pos_t): Remove.
8593
89a3ad0b
AO
85942012-10-10 Alexandre Oliva <aoliva@redhat.com>
8595
8596 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8597 McGrath.
8598
e7451425
AO
85992012-10-10 Alexandre Oliva <aoliva@redhat.com>
8600
8601 * crypt/crypt-entry.c: Include fips-private.h.
8602 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8603 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8604 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8605 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8606
4ba74a35
AO
86072012-10-10 Alexandre Oliva <aoliva@redhat.com>
8608
8609 * crypt/crypt-private.h: Include stdbool.h.
8610 (_ufc_setup_salt_r): Return bool.
8611 * crypt/crypt-entry.c: Include errno.h.
8612 (__crypt_r): Return NULL with EINVAL for bad salt.
8613 * crypt/crypt_util.c (bad_for_salt): New.
8614 (_ufc_setup_salt_r): Check that salt is long enough and within
8615 the specified alphabet.
8616 * crypt/badsalttest.c: New file.
8617 * crypt/Makefile (tests): Add it.
8618 ($(objpfx)badsalttest): New.
8619
f96f1242
MK
86202012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8621
8622 * NEWS: Add entry for BZ #14602.
8623
0e8e0c1c
JM
86242012-10-09 Joseph Myers <joseph@codesourcery.com>
8625
8626 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8627 type-generic.
8628 * math/libm-test.inc: Update comment listing what functions and
8629 macros are tested.
8630 (isgreater_test): New function.
8631 (isgreaterequal_test): Likewise.
8632 (isless_test): Likewise.
8633 (islessequal_test): Likewise.
8634 (islessgreater_test): Likewise.
8635 (isunordered_test): Likewise.
8636 (main): Call the new functions.
8637
273edc5e
RM
86382012-10-09 Roland McGrath <roland@hack.frob.com>
8639
b8493de0
RM
8640 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8641 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8642 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8643 * sysdeps/i386/configure: Regenerated.
8644 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8645 * sysdeps/mach/configure: Regenerated.
8646 * sysdeps/mach/hurd/configure: Regenerated.
8647 * sysdeps/powerpc/configure: Regenerated.
8648 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8649 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8650 * sysdeps/s390/s390-32/configure: Regenerated.
8651 * sysdeps/s390/s390-64/configure: Regenerated.
8652 * sysdeps/sh/configure: Regenerated.
8653 * sysdeps/sparc/configure: Regenerated.
8654 * sysdeps/unix/sysv/linux/configure: Regenerated.
8655 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8656 * sysdeps/x86_64/configure: Regenerated.
8657
273edc5e
RM
8658 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8659 defined. Don't check if MAP is NULL.
8660
c8450f70
JM
86612012-10-09 Joseph Myers <joseph@codesourcery.com>
8662
8663 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8664 (_G_stat64): Likewise.
8665 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8666 (_G_stat64): Likewise.
8667 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8668 instead of struct _G_stat64.
8669 * libio/fileops.c (mmap_remap_check): Likewise.
8670 (decide_maybe_mmap): Likewise.
8671 (_IO_new_file_seekoff): Likewise.
8672 (_IO_file_stat): Likewise.
8673 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8674 _G_off64_t.
8675 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8676 instead of struct _G_stat64.
8677 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8678
57e605ba
MK
86792012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8680
8681 [BZ #14602]
8682 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8683 Replace with ...
8684 (CHECK_EOL): New macro.
8685 (two_way_short_needle): Check beginning of haystack for EOL. Use
8686 CHECK_EOL.
8687 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8688 Replace with CHECK_EOL.
8689 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8690 Replace with CHECK_EOL.
8691
ef1bb361
JM
86922012-10-08 Joseph Myers <joseph@codesourcery.com>
8693
8694 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8695 type-generic.
8696 * math/libm-test.inc: Update comment listing what functions and
8697 macros are tested.
8698 (finite_test): New function.
8699 (isinf_test): Likewise.
8700 (isnan_test): Likewise.
8701 (fpclassify_test): Test subnormal input.
8702 (isfinite_test): Likewise.
8703 (isnormal_test): Likewise.
8704 (main): Call the new functions.
8705
55f11534
JN
87062012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8707
8708 [BZ #14660]
8709 * Makerules (%.dynsym): Force C locale when running
8710 $(OBJDUMP) --dynamic-syms.
8711
1ab29350
AS
87122012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8713
8714 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8715 <stdint.h>.
8716
f1ecb7ef
DM
87172012-10-06 David S. Miller <davem@davemloft.net>
8718
8719 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8720 upper 32-bits of the length value in %o2 since we use branch-on-register
8721 tests which consider the entire 64-bit register.
8722
5d41d91a
L
87232012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8724
8725 * string/test-strstr.c (check2): Add a test for page boundary.
8726
3baddb72
DM
87272012-10-05 David S. Miller <davem@davemloft.net>
8728
8729 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8730 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8731 file.
8732 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8733 sysdep_routines.
8734 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8735 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8736 and bzero when HWCAP_SPARC_CRYPTO is present.
8737
9cee5585
L
87382012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8739
d7e0dab9
L
8740 [BZ #14602]
8741 * string/test-strstr.c (check2): New function.
8742 (test_main): Call check2.
8743
03759f47
L
8744 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8745 and bug-strchr1.
8746 * string/bug-strcasestr1.c (do_test): Moved to ...
8747 * string/test-strcasestr.c (check1): Here. New function.
8748 (do_one_test): Break out result checking code into ...
8749 (check_result): This. New function.
8750 (do_one_test): Call check_result.
8751 (test_main): Call check1.
8752 * string/bug-strchr1.c (do_test): Moved to ...
8753 * string/test-strchr.c (check1): Here. New function.
8754 (do_one_test): Break out result checking code into ...
8755 (check_result): This. New function.
8756 (do_one_test): Call check_result.
8757 (test_main): Call check1.
8758 * string/bug-strstr1.c (main): Moved to ...
046f153e 8759 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8760 (do_one_test): Break out result checking code into ...
8761 (check_result): This. New function.
8762 (do_one_test): Call check_result.
8763 (test_main): Call check1.
8764 * string/bug-strcasestr1.c: Removed.
8765 * string/bug-strchr1.c: Likewise.
8766 * string/bug-strstr1.c: Likewise.
8767
53cea63e
L
8768 * elf/Makefile (dl-routines): Add hwcaps.
8769 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8770 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8771 (_dl_important_hwcaps): Moved to ...
8772 * elf/dl-hwcaps.c: Here. New file.
8773 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8774
9cee5585 8775 [BZ #14557]
bb859b06
L
8776 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8777 if IS_IN_rtld isn't defined.
8778
9cee5585
L
8779 * elf/dl-support.c (_dl_sysinfo_map): New.
8780 Include "get-dynamic-info.h" and "setup-vdso.h".
8781 (_dl_non_dynamic_init): Call setup_vdso.
8782 * elf/dynamic-link.h: Don't include <assert.h>.
8783 (elf_get_dynamic_info): Moved to ...
8784 * elf/get-dynamic-info.h: Here. New file.
8785 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8786 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8787 * elf/setup-vdso.h: Here. New file.
8788 * elf/rtld.c: Include "setup-vdso.h".
8789 (dl_main): Call setup_vdso.
8790
23c31b76
JM
87912012-10-05 Joseph Myers <joseph@codesourcery.com>
8792
28234b07
JM
8793 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8794 creal in comment listing functions tested. List finite, isinf,
8795 isnan, isless, islessequal, isgreater, isgreaterequal,
8796 islessgreater, isunordered, lgamma_r and pow10 as functions and
8797 macros not tested. Mention which functions not tested are aliases
8798 for other functions. Fix typo. Note that signs of NaNs are not
8799 tested.
8800
23c31b76
JM
8801 * scripts/config.guess: Update from config.git.
8802 * scripts/config.sub: Likewise.
8803
9043e228
RM
88042012-10-04 Roland McGrath <roland@hack.frob.com>
8805
8806 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8807 * misc/madvise.c (madvise): Renamed to __madvise.
8808 Make madvise a weak alias.
8809 * include/sys/mman.h: Declare __madvise.
8810 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8811 * sysdeps/unix/syscalls.list
8812 (madvise): Make __madvise the strong name, and madvise a weak alias.
8813 * sysdeps/unix/sysv/linux/syscalls.list
8814 (madvise, mmap): Remove redundant entries.
8815 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8816 * malloc/malloc.c (mtrim): Likewise.
8817 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8818
f57f8055
RM
88192012-10-03 Roland McGrath <roland@hack.frob.com>
8820
8821 * sysdeps/mach/hurd/dl-cache.c: File removed.
8822 * config.h.in (USE_LDCONFIG): New #undef.
8823 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8824 * configure: Regenerated.
8825 * elf/Makefile (dl-routines): Add dl-cache only under
8826 [$(use-ldconfig) = yes].
8827 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8828 cache on [USE_LDCONFIG].
8829 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8830 [USE_LDCONFIG].
8831 * elf/rtld.c (dl_main): Likewise.
8832
5bb0c10a
PT
88332012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8834
8835 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8836 _SC_LEVEL4_CACHE_LINESIZE.
8837
010188c6
RM
88382012-10-03 Roland McGrath <roland@hack.frob.com>
8839
8840 * sysdeps/unix/bsd/confstr.h: File removed.
8841
b6c5ec07
AO
88422012-10-02 Alexandre Oliva <aoliva@redhat.com>
8843
8844 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8845 sys/sdt-config.h.
8846
408223d4
RM
88472012-10-02 Roland McGrath <roland@hack.frob.com>
8848
8849 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8850 Make 'mapoff' field ElfW(Off) rather than off_t.
8851
bb9510dc
DL
88522012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8853
fc997c6e
DL
8854 * nscd/Makefile: Remove nscd-cflags and all its users.
8855 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8856 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8857
bb9510dc
DL
8858 [BZ #10631]
8859 * malloc.c (malloc_printerr): Clarify error message.
8860
05699367
L
88612012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8862
8863 [BZ #14648]
8864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8865 Set bit_FMA_Usable if FMA is supported.
8866 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8867 macro.
8868 (bit_FMA4_Usable): Updated.
8869 (index_FMA_Usable): New macro.
8870 (CPUID_FMA): Likewise
8871 (HAS_FMA): Defined with bit_FMA_Usable.
8872
51367701
RM
88732012-10-01 Roland McGrath <roland@hack.frob.com>
8874
8875 * bits/types.h (__swblk_t): Type removed.
8876 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8877 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8879 (__SWBLK_T_TYPE): Likewise.
8880 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8881 (__SWBLK_T_TYPE): Likewise.
8882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8883 (__SWBLK_T_TYPE): Likewise.
8884 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8885 (__SWBLK_T_TYPE): Likewise.
8886
4d57bf63 88872012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8888 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8889
8890 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8891 (xdr_mapname): Use YPMAXMAP as maxsize.
8892 (xdr_peername): Use YPMAXPEER as maxsize.
8893 (xdr_keydat): Use YPAXRECORD as maxsize.
8894 (xdr_valdat): Use YPMAXRECORD as maxsize.
8895
93c65d43
RM
88962012-10-01 Roland McGrath <roland@hack.frob.com>
8897
497a03d6
RM
8898 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8899
93c65d43
RM
8900 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8901 * csu/init-first.c: ... here.
8902 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8903 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8904 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8905 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8906 * sysdeps/i386/init-first.c: File removed.
8907 * sysdeps/sh/init-first.c: File removed.
8908
bec749fd
JM
89092012-10-01 Joseph Myers <joseph@codesourcery.com>
8910
8911 [BZ #14645]
8912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8913 if x * y might underflow to zero and z is zero.
8914 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8915 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8916 * math/libm-test.inc (min_subnorm_value): New variable.
8917 (fma_test): Add more tests.
8918 (fma_test_towardzero): Likewise.
8919 (fma_test_downward): Likewise
8920 (fma_test_upward): Likewise.
8921 (initialize): Set min_subnorm_value.
8922
8ec5b013
JM
89232012-09-29 Joseph Myers <joseph@codesourcery.com>
8924
8925 [BZ #14638]
8926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8927 0 + 0.
8928 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8929 mode for addition resulting in exact zero.
8930 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8932 exact 0 + 0.
8933 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8934 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8935 * math/libm-test.inc (fma_test): Add more tests.
8936 (fma_test_towardzero): New function.
8937 (fma_test_downward): Likewise.
8938 (fma_test_upward): Likewise.
8939 (main): Call the new functions.
8940
b1fa802e
DM
89412012-09-28 David S. Miller <davem@davemloft.net>
8942
8943 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8944
d3b9fd9e
RM
89452012-09-28 Roland McGrath <roland@hack.frob.com>
8946
ea4d37b3
RM
8947 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8948 instead of SIGALRM.
8949
ac51c949
RM
8950 * sysdeps/gnu/_G_config.h: Moved to ...
8951 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8952 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8953 * sysdeps/generic/_G_config.h: ... here.
8954
28c195f7
RM
8955 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8956
848917f9
RM
8957 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8958
6bacf05b
RM
8959 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8960 Conditionalize target on [libnss_test1.so-version].
8961
91363dbb
RM
8962 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8963
cc87f7d8
RM
8964 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8965 (elfobjdir): Move out of conditionals.
8966
b1c608fe
RM
8967 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8968 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8969 (__nss_lookup_function): Conditionalize label remove_from_tree on
8970 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8971
1d9a6d96
DM
89722012-09-28 David S. Miller <davem@davemloft.net>
8973
8974 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8975 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8976 file.
8977 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8978 sysdep_routines.
8979 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8981 when HWCAP_SPARC_CRYPTO is present.
8982
72581615
PT
89832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8984
8985 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8986
715a900c
JL
89872012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8988
8989 [BZ #6530]
8990 * stdio-common/vfprintf.c (process_string_arg): Revert
8991 2000-07-22 change.
8992
89932011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8994
8995 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8996 for testcase.
8997 * stdio-common/tst-sprintf.c: Include <locale.h>
8998 (main): Test sprintf's handling of incomplete multibyte
8999 characters.
9000
9bac1d86
L
90012012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9002
9003 * elf/dl-runtime.c (VERSYMIDX): Removed.
9004 * elf/dl-version.c (VERSYMIDX): Likewise.
9005 * elf/do-rel.h (VERSYMIDX): Likewise.
9006 (VALIDX): Likewise.
9007 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9008 * elf/rtld.c (VALIDX): Likewise.
9009 (ADDRIDX): Likewise.
9bac1d86
L
9010 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9011 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9012 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
9013 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9014 (VALIDX): Likewise.
9015 (ADDRIDX): Likewise.
9bac1d86 9016
b31606c0
PT
90172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9018
9019 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9020
11541177
JL
90212012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9022
9023 [BZ #11438]
9024 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9025 to global scope.
9026 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9027 addresses are in the same scope as 192.0.2/24.
9028 * posix/gai.conf: Document new scope table defaults.
9029
adb26fae
SP
90302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9031
9032 [BZ #5298]
9033 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9034 for ftell. Compute offsets from write pointers instead.
9035 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9036
4573c6b0
SP
90372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9038
9039 [BZ #14543]
9040 * libio/Makefile (tests): New test case tst-fseek.
9041 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9042 combination works in wide mode.
9043 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9044 state when the external buffer state changes.
9045
aa9bbfe6
DM
90462012-09-27 David S. Miller <davem@davemloft.net>
9047
9048 [BZ #14376]
9049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9050 pass reloc->r_addend in as the 'high' argument to
9051 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9052
784421e7
DM
9053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9054
c39bc8b8
PT
90552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9056
9057 * rt/tst-aio2.c: Include <pthread.h>.
9058 * rt/tst-aio3.c: Likewise.
9059
1ccc2399
SE
90602012-09-27 Steve Ellcey <sellcey@mips.com>
9061
9062 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9063
31ed4153
L
90642012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9065
25f5f885
L
9066 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9067 contents on [SHARED].
31ed4153 9068
b7bfe116
MP
90692012-09-26 Marek Polacek <polacek@redhat.com>
9070
9071 [BZ #14530]
9072 [BZ #13741]
9073 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9074 for C++ and GCC <4.3 as well as for non GCC compilers.
9075
43c4edba
MT
90762012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9077
9078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9079
6a1bf82f
RM
90802012-09-25 Roland McGrath <roland@hack.frob.com>
9081
9082 * Makefile.in (all, install): Declare with .PHONY.
9083 Reported by Michael Hope <michael.hope@linaro.org>.
9084
8ad11b9a
TMQMF
90852012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9086
9087 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9088 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9089 system header.
9090 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9091 Likewise.
9092 (sydep_routines): Add the new and the internal functions.
9093 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9094 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9096 (GLIBC_2.17): Add the new function.
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9098 (GLIBC_2.17): Likewise.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9100 (GLIBC_2.17): Likewise.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9102 (GLIBC_2.17): Likewise.
9103 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9104
7e2fca8d
AM
91052012-09-25 Alan Modra <amodra@gmail.com>
9106
9107 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9108 Add release barrier before setting once_control to say
9109 initialisation is done. Add hints on lwarx. Use macro in
9110 place of isync.
9111 (clear_once_control): Add release barrier.
9112
b87c4b24
JM
91132012-09-25 Joseph Myers <joseph@codesourcery.com>
9114
d032e0d2
JM
9115 [BZ #13629]
9116 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9117 specially.
9118 * math/s_clog10.c (__clog10): Likewise.
9119 * math/s_clog10f.c (__clog10f): Likewise.
9120 * math/s_clog10l.c (__clog10l): Likewise.
9121 * math/s_clogf.c (__clogf): Likewise.
9122 * math/s_clogl.c (__clogl): Likewise.
9123 * math/Makefile (libm-calls): Add x2y2m1.
9124 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9125 (__x2y2m1): Likewise.
9126 (__x2y2m1l): Likewise.
9127 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9128 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9131 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9132 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9133 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9134 * sysdeps/i386/fpu/libm-test-ulps: Update.
9135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9136
b87c4b24
JM
9137 [BZ #14621]
9138 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9139 int as type of variable DEPTH.
9140 (glob): Use size_t instead of int as type of variables NEWCOUNT
9141 and OLD_PATHC.
9142
6d3bf199
LD
91432012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9144
22bf5c17
LD
9145 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9146 Add s_sincosf-sse2.
9147 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9148 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9149 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9150 macros for using routine as __sincosf_ia32.
9151 Use macro for function declaration and weak_alias.
9152 * sysdeps/i386/fpu/libm-test-ulps: Update.
9153
9154 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9156
9157 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9158 subnormal argument.
9159 * math/s_cexpf.c (__cexpf): Likewise.
9160 * math/s_csinf.c (__csinf): Likewise.
9161 * math/s_csinhf.c (__csinhf): Likewise.
9162 * math/s_ctanf.c (__ctanf): Likewise.
9163 * math/s_ctanhf.c (__ctanhf): Likewise.
9164 * math/s_ccosh.c (__ccoshf): Likewise.
9165 * math/s_cexp.c (__cexpl): Likewise.
9166 * math/s_csin.c (__csin): Likewise.
9167 * math/s_csinh.c (__csinh): Likewise.
9168 * math/s_ctan.c (__ctan): Likewise.
9169 * math/s_ctanh.c (ctanh): Likewise.
9170 * math/s_ccoshl.c (__ccoshl): Likewise.
9171 * math/s_cexpl.c (__cexpl): Likewise.
9172 * math/s_csinl.c (__csinl): Likewise.
9173 * math/s_csinhl.c (__csinhl): Likewise.
9174 * math/s_ctanl.c (__ctanl): Likewise.
9175 * math/s_ctanhl.c (__ctanhl): Likewise.
9176
203e5603
JM
91772012-09-25 Joseph Myers <joseph@codesourcery.com>
9178
9179 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9180 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9181 (_IO_off_t): Define to __off_t, not _G_off_t.
9182 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9183 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9184 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9185 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9186 type of __dummy and __dummy2 fields.
9187 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9188 (_G_ssize_t): Likewise.
9189 (_G_off_t): Likewise.
9190 (_G_pid_t): Likewise.
9191 (_G_uid_t): Likewise.
9192 (_G_wchar_t): Likewise.
9193 (_G_wint_t): Likewise.
9194 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9195 (_G_ssize_t): Likewise.
9196 (_G_off_t): Likewise.
9197 (_G_pid_t): Likewise.
9198 (_G_uid_t): Likewise.
9199 (_G_wchar_t): Likewise.
9200 (_G_wint_t): Likewise.
9201 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9202 (_G_ssize_t): Likewise.
9203 (_G_off_t): Likewise.
9204 (_G_pid_t): Likewise.
9205 (_G_uid_t): Likewise.
9206 (_G_wchar_t): Likewise.
9207 (_G_wint_t): Likewise.
9208
9fab36eb
SP
92092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9210
9211 * malloc/arena.c: Include malloc-sysdep.h.
9212 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9213 is sufficient to shrink the heap or an unmap is needed.
9214 * sysdeps/generic/malloc-sysdep.h: New file. Define
9215 new function check_may_shrink_heap.
9216 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9217 new function check_may_shrink_heap.
9218
2b4f00d1
SP
92192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9220
9221 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9222 comments.
9223
9a9028b1
DL
92242012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9225
57c69bef
DL
9226 * catgets/test-gencat.sh: Add "set -e".
9227 * elf/tst-pathopt.sh: Likewise.
9228 * grp/tst_fgetgrent.sh: Likewise.
9229 * iconvdata/run-iconv-test.sh: Likewise.
9230 * intl/tst-gettext.sh: Likewise.
9231 * intl/tst-gettext2.sh: Likewise.
9232 * intl/tst-gettext4.sh: Likewise.
9233 * intl/tst-gettext6.sh: Likewise.
9234 * intl/tst-translit.sh: Likewise.
9235 * io/ftwtest-sh: Likewise.
9236 * libio/test-freopen.sh: Likewise.
9237 * malloc/tst-mtrace.sh: Likewise.
9238 * posix/globtest.sh: Likewise.
9239 * posix/tst-getconf.sh: Likewise.
9240 * posix/wordexp-tst.sh: Likewise.
9241 * stdio-common/tst-printf.sh: Likewise.
9242 * stdio-common/tst-unbputc.sh: Likewise.
9243 * stdlib/tst-fmtmsg.sh: Likewise.
9244 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9245 * catgets/Makefile: Do not specify -e option when running
9246 testsuite shell scripts.
9247 * elf/Makefile: Likewise.
9248 * grp/Makefile: Likewise.
9249 * iconvdata/Makefile: Likewise.
9250 * intl/Makefile: Likewise.
9251 * io/Makefile: Likewise.
9252 * libio/Makefile: Likewise.
9253 * malloc/Makefile: Likewise.
9254 * posix/Makefile: Likewise.
9255 * stdio-common/Makefile: Likewise.
9256 * stdlib/Makefile: Likewise.
9257 * sysdeps/x86_64/Makefile: Likewise.
9258
9a9028b1
DL
9259 * io/ftwtest-sh: Add copyright header.
9260 * posix/globtest.sh: Likewise.
9261 * posix/tst-getconf.sh: Likewise.
9262 * posix/wordexp-tst.sh: Likewise.
9263 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9264
ced6f16e
L
92652012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9266
94b32c39
L
9267 [BZ #13679]
9268 * Makeconfig (+link): Defined as $(+link-static) if
9269 $(build-shared) isn't yes.
9270 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9271 isn't yes.
9272 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9273
189e935b
L
9274 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9275
ced6f16e
L
9276 [BZ #14562]
9277 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9278 new chunk size with MALLOC_ALIGN_MASK.
9279
a9f8e53a
JM
92802012-09-24 Joseph Myers <joseph@codesourcery.com>
9281
9282 [BZ #5044]
9283 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9284 <rounding-mode.h>.
9285 (__printf_fphex): Determine rounding using get_rounding_mode and
9286 round_away.
9287 * stdio-common/tst-printf-round.c (struct hex_test): New
9288 structure.
9289 (hex_tests): New variable.
9290 (test_hex_in_one_mode): New function.
9291 (do_test): Also run tests for hex float output.
9292
43153109
JM
92932012-09-21 Joseph Myers <joseph@codesourcery.com>
9294
9295 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9296 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9297 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9298 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9299 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9300 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9301 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9302 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9303
8a26625d
JM
93042012-09-20 Joseph Myers <joseph@codesourcery.com>
9305
9306 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9307 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9308 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9309 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9310
f3fd569c
DL
93112012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9312
9313 [BZ #14579]
9314 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9315 mode only.
9316 * elf/tst-rtld-load-self.sh: New test.
9317 * elf/Makefile: Run it.
9318
63bbedd4
JM
93192012-09-18 Joseph Myers <joseph@codesourcery.com>
9320
9321 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9322 (tst-writev-ENV): Remove.
9323 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9324
626f8b6a
CM
93252012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9326
9327 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9328
b7aaa4d6
JM
93292012-09-17 Joseph Myers <joseph@codesourcery.com>
9330
9331 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9332 unconditional.
9333 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9334 Likewise.
9335 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9336 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9337 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9338 Likewise.
9339
65513990
L
93402012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9341
9342 [BZ #14587]
9343 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9344 * config.make.in (have-cpp-asm-debuginfo): Removed.
9345 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9346 * configure: Regenerated.
9347
784761be
JM
93482012-09-14 Joseph Myers <joseph@codesourcery.com>
9349
9350 [BZ #5044]
9351 * stdio-common/printf_fp.c: Include <stdbool.h> and
9352 <rounding-mode.h>.
9353 (___printf_fp): Determine rounding using get_rounding_mode and
9354 round_away.
9355 * stdio-common/tst-printf-round.c: New file.
9356 * stdio-common/Makefile (tests): Add tst-printf-round.
9357 (link-libm): New variable.
9358 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9359
9503345f
L
93602012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9361
9362 [BZ #14576]
9363 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9364 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9365 Likewise.
9366 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9367 Likewise.
9368
ad35fc00
JM
93692012-09-13 Joseph Myers <joseph@codesourcery.com>
9370
9371 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9372 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9373 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9374 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9375
6c9b0f68
JM
93762012-09-12 Joseph Myers <joseph@codesourcery.com>
9377
9378 [BZ #14518]
9379 * include/rounding-mode.h: New file.
9380 * sysdeps/generic/get-rounding-mode.h: Likewise.
9381 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9382 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9383 (MAX_VALUE): New macro.
9384 (MIN_VALUE): Likewise.
9385 (overflow_value): New function.
9386 (underflow_value): Likewise.
9387 (round_and_return): Use overflow_value and underflow_value to
9388 determine return values in overflow and underflow cases. Use
9389 round_away to determine rounding depending on rounding mode.
9390 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9391 determine return values in overflow and underflow cases.
9392 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9393 (struct test_results): New structure.
9394 (struct test): Use struct test_results to store expected results
9395 for all rounding modes.
9396 (TEST): Include expected results for all rounding modes.
9397 (test_in_one_mode): New function.
9398 (do_test): Use test_in_one_mode to compute and check results.
9399 Check results for all rounding modes.
9400 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9401 $(link-libm).
9402
19fcedd5
AM
94032012-12-09 Allan McRae <allan@archlinux.org>
9404
1e9d84cd 9405 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9406
8bbfd2f1
JM
94072012-09-11 Joseph Myers <joseph@codesourcery.com>
9408
9409 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9410 (_G_int32_t): Likewise.
9411 (_G_uint16_t): Likewise.
9412 (_G_uint32_t): Likewise.
9413 (_G_HAVE_BOOL): Likewise.
9414 (_G_HAVE_ATEXIT): Likewise.
9415 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9416 (_G_HAVE_IO_FILE_OPEN): Likewise.
9417 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9418 (_G_int32_t): Likewise.
9419 (_G_uint16_t): Likewise.
9420 (_G_uint32_t): Likewise.
9421 (_G_HAVE_BOOL): Likewise.
9422 (_G_HAVE_ATEXIT): Likewise.
9423 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9424 (_G_HAVE_IO_FILE_OPEN): Likewise.
9425 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9426 (_G_int32_t): Likewise.
9427 (_G_uint16_t): Likewise.
9428 (_G_uint32_t): Likewise.
9429 (_G_HAVE_BOOL): Likewise.
9430 (_G_HAVE_ATEXIT): Likewise.
9431 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9432 (_G_HAVE_IO_FILE_OPEN): Likewise.
9433
b1dc5912
L
94342012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9435
9436 * csu/libc-tls.c: Update copyright years.
9437
0e886ef9
JM
94382012-09-10 Joseph Myers <joseph@codesourcery.com>
9439
28361c5e
JM
9440 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9441 [!_G_USING_THUNKS]: Remove conditional code.
9442 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9443 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9444
0e886ef9
JM
9445 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9446 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9447 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9448 (_G_VTABLE_LABEL_PREFIX): Likewise.
9449 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9450 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9451 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9452 (_G_VTABLE_LABEL_PREFIX): Likewise.
9453 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9454 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9455 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9456 (_G_VTABLE_LABEL_PREFIX): Likewise.
9457 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9458
bcba7aa2
L
94592012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9460
9461 * libio/Makefile: Include ../Makeconfig before tests.
9462 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9463 only if $(build-shared) is yes.
9464
06585ee8
L
9465 * iconv/gconv_db.c: Update copyright years.
9466
80ccd52c
LD
94672012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9468
9469 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9470 unwind info if defined PIC. Fix special cases description.
9471 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9472
9473 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9474 DP_HI_MASK entry.
9475 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9476
691bc9c1
L
94772012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9478
3d9b46b3
L
9479 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9480
de2139a9
L
9481 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9482 is NULL.
9483
5ca78dd0
L
9484 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9485 (LDLIBS-tst-chk4): This.
9486 (LDFLAGS-tst-chk5): Renamed to ...
9487 (LDLIBS-tst-chk5): This.
9488 (LDFLAGS-tst-chk6): Renamed to ...
9489 (LDLIBS-tst-chk6): This.
9490 (LDFLAGS-tst-lfschk4): Renamed to ...
9491 (LDLIBS-tst-lfschk4): This.
9492 (LDFLAGS-tst-lfschk5): Renamed to ...
9493 (LDLIBS-tst-lfschk5): This.
9494 (LDFLAGS-tst-lfschk6): Renamed to ...
9495 (LDLIBS-tst-lfschk6): This.
9496
691bc9c1
L
9497 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9498 on $(common-objpfx)soversions.mk.
9499
65cafb1c
JM
95002012-09-07 Joseph Myers <joseph@codesourcery.com>
9501
9502 [BZ #10014]
9503 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9504 example host name.
9505
c78ab094
SP
95062012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9507
9508 * malloc/arena.c (arena_get_retry): New function that gets
9509 another arena for the caller to try its request on.
9510 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9511 current arena cannot fulfill the request.
9512 (__libc_memalign): Likewise.
9513 (__libc_memalign): Likewise.
9514 (__libc_pvalloc): Likewise.
9515 (__libc_calloc): Likewise.
9516
01f49f59
JT
95172012-09-05 John Tobey <john.tobey@gmail.com>
9518
9519 [BZ #13542]
9520 * manual/arith.texi (Operations on Complex): Fix description
9521 of carg branch cut.
9522
4c23fed5
JM
95232012-09-06 Joseph Myers <joseph@codesourcery.com>
9524
1d3c8572
JM
9525 [BZ #10014]
9526 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9527 host name.
9528
4c23fed5
JM
9529 [BZ #10038]
9530 * manual/memory.texi (Memory): Make order of menu items match
9531 order of sections.
9532
04570aaa
L
95332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9534
9535 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9536 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9537 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9538
b80af2f4
L
95392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9540
9541 * csu/libc-tls.c (static_dtv): Renamed to ...
9542 (_dl_static_dtv): This. Make it global.
9543 (_dl_initial_dtv): Removed.
9544 (__libc_setup_tls): Updated.
9545 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9546 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9547 DL_INITIAL_DTV.
9548
2abe9f15
PM
95492012-09-06 Petr Machata <pmachata@redhat.com>
9550
9551 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9552 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9553 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9554 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9555
0948c3af
L
95562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9557
9558 [BZ #14545]
9559 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9560 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9561 freeing dtv[-1].
9562
a5055ad1
L
95632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9564
9565 [BZ #14544]
9566 * Makeconfig (link-static-before-libc): Replace $(+prector)
9567 with $(+prectorT).
9568 (link-static-after-libc): Replace $(+postctor) with
9569 $(+postctorT).
9570 (link-bounded): Replace $(+prector)/$(+postctor) with
9571 $(+prectorT)/$(+postctorT).
9572 (+prectorT): New macro.
9573 (+postctorT): Likewise.
9574
ed8c2ecd
JM
95752012-09-06 Joseph Myers <joseph@codesourcery.com>
9576
9577 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9578 (round_str): Handle values above the maximum for IBM long double
9579 as inexact.
9580 * stdlib/tst-strtod-round.c (tests): Regenerated.
9581
14c996c8
AK
95822012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9583
9584 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9585 assembler flag.
9586 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9587 zarch_nohighgprs around the zarch optimized routines.
9588 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9589 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9590 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9591 for zarch.
9592
430d6ce6
DM
95932012-09-05 David S. Miller <davem@davemloft.net>
9594
9595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9596
ff04dda4
DM
9597 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9598 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9599 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9600 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9601 entries.
9602
24d4e01b
AO
96032012-09-05 Alexandre Oliva <aoliva@redhat.com>
9604
9605 * malloc/arena.c: Fold copyright years.
9606 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9607
61d58174
AO
96082012-09-05 Alexandre Oliva <aoliva@redhat.com>
9609
9610 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9611
20196a5e
AO
96122012-09-05 Alexandre Oliva <aoliva@redhat.com>
9613
9614 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9615
5c447383
AO
96162012-09-05 Alexandre Oliva <aoliva@redhat.com>
9617
9618 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9619 change internal state upon failure.
9620
fad64255
AO
96212012-09-05 Alexandre Oliva <aoliva@redhat.com>
9622
9623 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9624 * malloc/memusage.c (mmap): Likewise.
9625 (mmap64, mremap): Likewise. Adjust name in comment.
9626
1ffb8c90
SP
96272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9628
9629 * libio/fileops.c: Fix typos in comments.
9630 * libio/oldfileops.c: Likewise.
9631 * libio/wfileops.c: Likewise.
9632
6ef9cc37
SP
96332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9634
9635 [BZ #1349]
9636 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9637 (tst-malloc-usable-ENV): Set environment for test case.
9638 * malloc/hooks.c (malloc_check_get_size): New function to get
9639 requested size.
9640 * malloc/malloc.c (musable): Use malloc_check_get_size.
9641 * malloc/tst-malloc-usable.c: New test case.
9642
4d038ae3
AS
96432012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9644
9645 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9646
c4e85184
AM
96472012-09-05 Allan McRae <allan@archlinux.org>
9648
b9dafc56 9649 [BZ #13966]
c4e85184
AM
9650 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9651 determine header location.
9652 * configure: Regenerated.
9653
e1343020
AS
96542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9655
9656 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9657 float format.
9658 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9659 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9660 format.
e1343020
AS
9661 (test): Regenerate.
9662
0a9f1987
DM
96632012-09-04 David S. Miller <davem@davemloft.net>
9664
9665 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9666 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9667 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9668
29237804
FW
96692012-09-04 Florian Weimer <fweimer@redhat.com>
9670
9671 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9672 failures.
9673
edb3cb88
FW
9674 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9675
60160d83
JM
96762012-09-04 Joseph Myers <joseph@codesourcery.com>
9677
9678 [BZ #9914]
9679 * libio/iogetdelim.c: Include <limits.h>.
9680 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9681 + len + 1 would overflow.
9682
bcd6c8dc
AJ
96832012-09-03 Andreas Jaeger <aj@suse.de>
9684
9685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9686 * sysdeps/i386/fpu/libm-test-ulps: Update.
9687
4ffffbd2
LD
96882012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9689
9690 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9691 Add s_sinf-sse2, s_conf-sse2.
9692
9693 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9694 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9695 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9696 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9697
9698 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9699 for using routine as __sinf_ia32.
9700 Use macro for function declaration and weak_alias.
9701 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9702 for using routine as __cosf_ia32.
9703 Use macro for function declaration and weak_alias.
9704
9705 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9706 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9707
9708 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9709 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9711
9712 * math/libm-test.inc (cos_test): Add more test cases.
9713 (sin_test): Likewise.
9714 (sincos_test): Likewise.
9715
511fa286
AK
97162012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9717
9718 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9719 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9720 hidden.
9721 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9722
5f30cfec
L
97232012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9724
9725 [BZ #14538]
9726 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9727 first element of the GOT.
9728 (elf_machine_load_address): Return the difference between
9729 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9730
0786794f
AM
97312012-09-01 Allan McRae <allan@archlinux.org>
9732
5f30cfec
L
9733 [BZ #13412]
9734 * configure.in (AWK): Require gawk version 3.0 or later.
9735 * configure: Regenerated.
0786794f 9736
26889eac
JM
97372012-09-01 Joseph Myers <joseph@codesourcery.com>
9738
9739 * sysdeps/unix/sysv/linux/kernel-features.h
9740 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9741 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9742 [__NR_clock_getres]: Make code unconditional.
9743 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9744 (clock_getcpuclockid): Remove code left unreachable by removal of
9745 conditionals.
9746 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9747 code unconditional.
9748 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9749 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9750 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9751 Make code unconditional.
9752 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9753 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9754 * sysdeps/unix/sysv/linux/clock_settime.c
9755 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9756 conditional code.
9757 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9759
d22e28b0
L
97602012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 [BZ #14476]
9763 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9764 scripts/test-installation.pl.
9765
9766 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9767 and $ld_so_version if it is set.
9768
050af9c4
SP
97692012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9770
9771 [BZ #14516]
9772 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9773 failure if reading from procfs failed.
9774 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9775
ad845c0b
JM
97762012-08-27 Joseph Myers <joseph@codesourcery.com>
9777
9778 * sysdeps/unix/sysv/linux/kernel-features.h
9779 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9780 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9781 Remove conditional code.
9782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9783 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9784 Remove conditional code.
9785 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9786 * sysdeps/unix/sysv/linux/i386/fxstat.c
9787 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9788 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9789 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9790 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9792 * sysdeps/unix/sysv/linux/i386/lxstat.c
9793 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9795 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9796 Remove conditional code.
9797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9798 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9799 Remove conditional code.
9800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9801 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9802 <kernel-features.h>.
9803 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9804 Remove.
9805 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9806 Remove conditional code.
9807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9808 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9809 Remove conditional.
9810
5dbf56af
MF
98112012-08-27 Mike Frysinger <vapier@gentoo.org>
9812
9813 [BZ #5400]
9814 * NEWS: Add fixed bug number.
9815
d6e70f43
JM
98162012-08-27 Joseph Myers <joseph@codesourcery.com>
9817
7efb4737
JM
9818 [BZ #14519]
9819 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9820 underflowing exponent in case of negative sign.
9821 * stdlib/tst-strtod-round-data: Add more tests.
9822 * stdlib/tst-strtod-round.c (tests): Regenerated.
9823
af92131a
JM
9824 [BZ #3479]
9825 * stdlib/strtod_l.c (NDIG): Remove.
9826 (HEXNDIG): Likewise.
9827 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9828 smallest representable value.
9829 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9830 lie within an exact representation of 1/2 ulp of the result.
9831 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9832 unconditionally.
9833 (TENS_P9_IDX): Define unconditionally.
9834 (TENS_P9_SIZE): Likewise.
9835 (TENS_P10_IDX): Likewise.
9836 (TENS_P10_SIZE): Likewise.
9837 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9838 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9839 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9840 entries for 10^2^13 and 10^2^14.
9841 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9842 (TENS_P13_IDX): Define.
9843 (TENS_P13_SIZE): Likewise.
9844 (TENS_P14_IDX): Likewise.
9845 (TENS_P14_SIZE): Likewise.
9846 (_fpioconst_pow10): Change array size to
9847 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9848 unconditional.
9849 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9850 1024]: Add entries for 10^2^13 and 10^2^14.
9851 [LAST_POW10 > _LAST_POW10]: Remove #error.
9852 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9853 (_fpioconst_pow10): Change array size to
9854 FPIOCONST_POW10_ARRAY_SIZE.
9855 * stdlib/gen-fpioconst.c: New file.
9856 * stdlib/gen-tst-strtod-round.c: Likewise.
9857 * stdlib/tst-strtod-round-data: Likewise.
9858 * stdlib/tst-strtod-round.c: Likewise.
9859 * stdlib/Makefile (tests): Add tst-strtod-round.
9860
d6e70f43
JM
9861 [BZ #14459]
9862 * stdlib/strtod_l.c: Include <stdint.h>.
9863 (NDEBUG): Do not define.
9864 (round_and_return): Change EXPONENT parameter to type intmax_t.
9865 Rearrange calculations to avoid internal overflow possibilities.
9866 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9867 Rearrange calculations to avoid internal overflow possibilities.
9868 Assert that number fits inside MPNSIZE limbs.
9869 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9870 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9871 calculations and add assertions to avoid internal overflow
9872 possibilities. Add casts to avoid signed/unsigned operations.
9873 * stdlib/tst-strtod-overflow.c: New file.
9874 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9875
1f529f7d
MP
98762012-08-25 Marek Polacek <polacek@redhat.com>
9877
9878 * time/time.h: Fix some typos in comments.
9879
59a629f1
RM
98802012-08-23 Roland McGrath <roland@hack.frob.com>
9881
9882 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9883 * posix/tst-rfc3484-2.c: Likewise.
9884 * posix/tst-rfc3484-3.c: Likewise.
9885
d3bafbc9
SM
98862012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9887
9888 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9889 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9890
4efcc022
JM
98912012-08-23 Joseph Myers <joseph@codesourcery.com>
9892
9893 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9894 #include of fxstatat64.c.
9895
3cc3ef96
RM
98962012-08-22 Roland McGrath <roland@hack.frob.com>
9897
f04e2132
RM
9898 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9899 * shadow/getspent_r.c: Likewise.
9900 * shadow/getspnam.c: Likewise.
9901 * shadow/getspnam_r.c: Likewise.
9902 * gshadow/getsgent.c: Likewise.
9903 * gshadow/getsgent_r.c: Likewise.
9904 * gshadow/getsgnam.c: Likewise.
9905 * gshadow/getsgnam_r.c: Likewise.
9906 * inet/getnetbyad.c: Likewise.
9907 * inet/getnetbyad_r.c: Likewise.
9908 * inet/getnetbynm.c: Likewise.
9909 * inet/getnetbynm_r.c: Likewise.
9910 * inet/getnetent.c: Likewise.
9911 * inet/getnetent_r.c: Likewise.
9912 * inet/getproto.c: Likewise.
9913 * inet/getproto_r.c: Likewise.
9914 * inet/getprtent.c: Likewise.
9915 * inet/getprtent_r.c: Likewise.
9916 * inet/getprtname.c: Likewise.
9917 * inet/getprtname_r.c: Likewise.
9918 * inet/getrpcbyname.c: Likewise.
9919 * inet/getrpcbyname_r.c: Likewise.
9920 * inet/getrpcbynumber.c: Likewise.
9921 * inet/getrpcbynumber_r.c: Likewise.
9922 * inet/getrpcent.c: Likewise.
9923 * inet/getrpcent_r.c: Likewise.
9924 * inet/getaliasent.c: Likewise.
9925 * inet/getaliasent_r.c: Likewise.
9926 * inet/getaliasname.c: Likewise.
9927 * inet/getaliasname_r.c: Likewise.
9928 * nscd/getgrgid_r.c: Likewise.
9929 * nscd/getgrnam_r.c: Likewise.
9930 * nscd/gethstbyad_r.c: Likewise.
9931 * nscd/gethstbynm3_r.c: Likewise.
9932 * nscd/getpwnam_r.c: Likewise.
9933 * nscd/getpwuid_r.c: Likewise.
9934 * nscd/getsrvbynm_r.c: Likewise.
9935 * nscd/getsrvbypt_r.c: Likewise.
9936 * nscd/gai.c: Likewise.
9937
c53d909c
RM
9938 * configure.in (build_nscd): New substituted variable, set
9939 by --disable-build-nscd and defaults to $use_nscd.
9940 * configure: Regenerated.
9941 * config.make.in (build-nscd): New substituted variable.
9942 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9943 Change conditional to require [$(build-nscd) = yes] as well.
9944 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9945
3cc3ef96
RM
9946 [BZ# 13696]
9947 * configure.in (use_nscd): New substituted variable, set by
9948 --disable-nscd. If enabled, define USE_NSCD.
9949 * configure: Regenerated.
9950 * config.h.in: Add USE_NSCD.
9951 * config.make.in (use-nscd): New substituted variable.
9952 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9953 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9954 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9955 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9956 (CFLAGS-getgrnam_r.c): Likewise.
9957 (CFLAGS-initgroups.c): Likewise.
9958 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9959 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9960 Variables removed.
9961 * inet/getnetgrent_r.c
9962 (nscd_setnetgrent): New function, broken out of ...
9963 (setnetgrent): ... here. Call it.
9964 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9965 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9966 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9967 * nscd/Makefile (routines, aux): Move definitions after include of
9968 Makeconfig. Conditionalize on [$(use-nscd) != no].
9969 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9970 Conditionalize on [USE_NSCD].
9971 (is_nscd, nscd_init_cb): Likewise.
9972 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9973 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9974 * nss/nss_db/db-init.c: Likewise.
9975 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9976 [USE_NSCD].
9977 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9978 (make_request): Use it.
9979 (cache_valid_p): New function.
9980 (__check_pf): Use it.
9981 * NEWS: Add item for --disable-nscd.
9982
07e51550
DL
99832012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9984
9985 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9986 to support sed >= 4.2.1-20-ga9bf076.
9987 * configure: Regenerated.
9988
35a5b08b
RM
99892012-08-22 Roland McGrath <roland@hack.frob.com>
9990
9991 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9992 Conditionalize whole body on [IREL].
9993
8479f23a
JL
99942012-08-22 Jeff Law <law@redhat.com>
9995
9996 [BZ #14505]
9997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9998 if the family is PF_UNSPEC.
9999
48da0b21
MF
100002012-08-22 Mike Frysinger <vapier@gentoo.org>
10001
10002 * Makerules (lib-version): Rename from V.
10003 (install-lib-nosubdir): Change V to lib-version.
10004
15d0da8c
WS
100052012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10006
10007 [BZ #14252]
10008 * powerpc32/power6/wcschr.c: New file.
10009 * powerpc32/power6/wcscpy.c: New file.
10010 * powerpc32/power6/wcsrchr.c: New file.
10011 * powerpc64/power6/wcschr.c: New file.
10012 * powerpc64/power6/wcscpy.c: New file.
10013 * powerpc64/power6/wcsrchr.c: New file.
10014
bcca0895
MK
100152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10016
10017 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10018 (two_way_short_needle): Use it.
5a4aaa33
RM
10019 * string/strstr.c (AVAILABLE1_USES_J): Define.
10020 * string/strcasestr.c: Likewise.
99677e57
MK
10021
10022 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10023 array references.
10024 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10025
400726de
MK
10026 [BZ #11607]
10027 * NEWS: Add an entry.
10028 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10029 define their defaults.
10030 (two_way_short_needle): Detect end-of-string on-the-fly.
10031 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10032 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10033 * string/bug-strcasestr1.c: New test.
10034 * string/Makefile: Run it.
10035
20a71f2c
MK
100362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10037
10038 [BZ #11607]
10039 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10040 the first character.
10041
21ad0558
RM
100422012-08-21 Roland McGrath <roland@hack.frob.com>
10043
10044 * csu/elf-init.c (__libc_csu_irel): Function removed.
10045 * csu/libc-start.c (apply_irel): New function.
10046 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10047
0e1d9911
JM
100482012-08-21 Joseph Myers <joseph@codesourcery.com>
10049
10050 * sysdeps/unix/sysv/linux/kernel-features.h
10051 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10052 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10053 <kernel-features.h>.
10054 [__NR_fadvise64_64]: Make code unconditional.
10055 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10056 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10057 !__NR_fadvise64_64)]: Likewise.
10058 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10059 !__NR_fadvise64_64))]: Likewise.
10060 [__NR_fadvise64]: Make code unconditional.
10061 [!__NR_fadvise64]: Remove conditional code.
10062 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10063 <kernel-features.h>.
10064 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10065 unconditional.
10066 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10067 conditional code.
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10069 not include <kernel-features.h>.
10070 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10071 unconditional.
10072 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10073 conditional code.
10074 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10075 include <kernel-features.h>.
10076 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10077 unconditional.
10078 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10079 conditional code.
10080
14a50c9d
WS
100812012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10082
10083 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10084 slight instruction rearrangements per scrollpipe analysis.
10085 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10086
c0f4faf0
RM
100872012-08-20 Roland McGrath <roland@hack.frob.com>
10088
696da859
RM
10089 * manual/syslog.texi (syslog; vsyslog, closelog):
10090 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10091 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10092
c0f4faf0
RM
10093 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10094 DSOCAPS to match condition on defining it.
10095
348363b2
JM
100962012-08-20 Joseph Myers <joseph@codesourcery.com>
10097
a35cbf28
JM
10098 * sysdeps/unix/sysv/linux/kernel-features.h
10099 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10101 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10102 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10104 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10105 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10107 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10108 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10109
445f7ecd
JM
10110 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10111 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10112
348363b2
JM
10113 * sysdeps/unix/sysv/linux/kernel-features.h
10114 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10115 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10116 unconditional.
10117 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10118 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10119 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10120 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10121 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10122 Make code unconditional.
10123 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10124 (__mmap64) [!__NR_mmap2]: Likewise.
10125 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10126 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10127 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10128 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10129 [__NR_mmap2]: Make code unconditional.
10130 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10131 (__mmap64) [!__NR_mmap2]: Likewise.
10132
bc5bc0e5
AK
101332012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10134
10135 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10136
88d506de
AJ
101372012-08-18 Andreas Jaeger <aj@suse.de>
10138
10139 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10140
493387d2
MF
101412012-08-18 Mike Frysinger <vapier@gentoo.org>
10142
10143 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10144 * include/unistd.h (__have_sock_cloexec): Likewise.
10145 (__have_pipe2): Likewise.
10146 (__have_dup3): Likewise.
10147
a277af22
MF
101482012-08-18 Mike Frysinger <vapier@gentoo.org>
10149
10150 [BZ #9685]
10151 * include/unistd.h (__have_pipe2): Change define into an extern int.
10152 (__have_dup3): Likewise.
10153 * socket/have_sock_cloexec.c: Include fcntl.h.
10154 (__have_pipe2): New variable.
10155 (__have_dup3): Likewise.
10156
fdab8fd3
MF
101572012-08-17 Mike Frysinger <vapier@gentoo.org>
10158
10159 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10160
31035e80
MP
101612012-08-17 Marek Polacek <polacek@redhat.com>
10162
10163 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10164 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10165
3bd9e993
RM
101662012-08-17 Roland McGrath <roland@hack.frob.com>
10167
c91c505f
RM
10168 * configure.in: Add AC_SUBST for sysheaders.
10169 * configure: Regenerated.
10170 * config.make.in (sysheaders): New substituted variable.
10171
7c6f9d53
RM
10172 * sysdeps/unix/mkfifo.c: Moved ...
10173 * sysdeps/posix/mkfifo.c: ... here.
10174 * sysdeps/unix/mkfifoat.c: Moved ...
10175 * sysdeps/posix/mkfifoat.c: ... here.
10176
10177 * sysdeps/unix/utime.c: Moved ...
10178 * sysdeps/posix/utime.c: ... here.
10179
10180 * sysdeps/unix/time.c: Moved ...
10181 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10182 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10183 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10184
10185 * sysdeps/unix/nice.c: Moved ...
10186 * sysdeps/posix/nice.c: ... here.
10187
10188 * sysdeps/unix/alarm.c: Moved ...
10189 * sysdeps/posix/alarm.c: ... here.
10190
3bd9e993
RM
10191 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10192
d1f09384
JL
101932012-08-17 Jeff Law <law@redhat.com>
10194
10195 * intl/Makefile (codeset_mo): New variable.
10196 ($(codeset_mo)): New target.
10197 (tst-codeset.out): Depend on that. Remove explicit rule.
10198 (tst-gettext3.out, tst-gettext5.out): Likewise.
10199 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10200 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10201 * intl/tst-codeset.sh: Remove.
10202 * intl/tst-gettext3.sh: Likewise.
10203 * intl/tst-gettext5.sh: Likewise.
10204
2ae1ae5c
RM
102052012-08-17 Roland McGrath <roland@hack.frob.com>
10206
c31fdb83
RM
10207 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10208 * sysdeps/unix/syscalls.list: ... here.
10209
a0844057
RM
10210 * sysdeps/posix/getaddrinfo.c
10211 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10212 (gaiconf_init, gaiconf_reload): Use them.
10213 [!_STATBUF_ST_NSEC]
10214 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10215 Define using time_t rather than struct timespec.
10216
750c1f2a
RM
10217 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10218 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10219 Macros removed.
10220 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10221 [!NO_THREADS].
10222 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10223 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10224 Likewise.
10225
2ae1ae5c
RM
10226 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10227 __libc_cleanup_push argument.
10228
e66a42f5
RM
10229 * bits/param.h: New file.
10230 * misc/sys/param.h: New file.
10231 * include/sys/param.h: New file.
10232 * misc/Makefile (headers): Add bits/param.h.
10233 * sysdeps/generic/sys/param.h: File removed.
10234 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10235 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10236 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10237 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10238
b7c08a66
RM
10239 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10240 last change.
10241
b2e1c562
RM
10242 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10243 [_IO_MTSAFE_IO].
10244 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10245 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10246 New macros.
10247
c75ccd4c
RM
10248 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10249 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10250 rather than -D_IO_MTSAFE_IO conditionally.
10251 * stdio-common/Makefile (CPPFLAGS): Likewise.
10252 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10253 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10254 Use $(libio-mtsafe).
10255 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10256 of -D_IO_MTSAFE_IO.
10257 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10258 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10259 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10260 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10261 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10262 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10263 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10264 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10265 (CFLAGS-fread_u_chk.c): Likewise.
10266 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10267 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10268 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10269 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10270 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10271 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10272 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10273 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10274 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10275
10276 * libio/Makefile: Test [$(libc-reentrant) = yes]
10277 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10278
10279 * Makeconfig
10280 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10281 * sysdeps/pthread/configure: File removed.
10282 * sysdeps/pthread/Makeconfig: New file.
10283 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10284 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10285
d9195db8
GB
102862012-08-16 Gary Benson <gbenson@redhat.com>
10287
10288 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10289 unmapping the first object in a namespace.
10290
86466cd9
RM
102912012-08-16 Roland McGrath <roland@hack.frob.com>
10292
10293 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10294 (__internal_setnetgrent): ... this. Add internal_function to
10295 definition. Add libc_hidden_def.
10296 (setnetgrent): Update caller.
10297 (internal_endnetgrent): Renamed to ...
10298 (__internal_endnetgrent): ... this. Add internal_function to
10299 definition. Add libc_hidden_def.
10300 (endnetgrent): Update caller.
10301 (internal_getnetgrent_r): Renamed to ...
10302 (__internal_getnetgrent_r): ... this. Add internal_function to
10303 definition. Add libc_hidden_def.
10304 (__getnetgrent_r): Update caller.
10305 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10306
c3c8283c
JM
103072012-08-16 Joseph Myers <joseph@codesourcery.com>
10308
10309 * stdlib/longlong.h: Update from GCC.
10310
db1ee0a8
RM
103112012-08-16 Roland McGrath <roland@hack.frob.com>
10312
10313 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10314 on _QL, which is set by umul_ppmm but never used.
10315 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10316 variables, which are set by GMP macros but never used.
10317 * stdio-common/_itowa.c (_itowa): Likewise.
10318 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10319 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10320
30f69637
CD
103212012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10322
10323 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10324 struct La_sh_regs is not constant.
10325 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10326 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10327 and struct La_sparc64_regs are not constant.
10328
93a78ac4
JM
103292012-08-16 Joseph Myers <joseph@codesourcery.com>
10330
10331 * sysdeps/unix/sysv/linux/kernel-features.h
10332 (__ASSUME_POSIX_TIMERS): Remove.
10333 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10334 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10335 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10336 Make code unconditional.
10337 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10338 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10339 Make code unconditional.
10340 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10341 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10342 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10343 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10344 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10345 Make code unconditional.
10346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10347 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10348 (__libc_missing_posix_timers): Remove.
10349
dd924cd7
RM
103502012-08-15 Roland McGrath <roland@hack.frob.com>
10351
4b4f2771
RM
10352 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10353 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10354
601c888b
RM
10355 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10356
176790a7
RM
10357 * elf/dl-sym.c: Include <stdlib.h>.
10358
329bc018
RM
10359 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10360 constants, which avoids warnings in 32-bit builds.
10361
e04e272d
RM
10362 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10363 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10364
952bf94a
RM
10365 * misc/lseek.c: File moved to ...
10366 * io/lseek.c: ... here.
10367
7c99b50a
RM
10368 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10369
dd924cd7
RM
10370 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10371 shifting LEN more than 31 bits at once.
10372
b3f479a8
LD
103732012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10374
10375 [BZ #14195]
8c4ae0d4
RM
10376 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10377 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10378 * string/test-strncasecmp.c (check1): Renamed to...
10379 (bz12205): ...this.
10380 (bz14195): Add new testcase for two empty input strings and N > 0.
10381 (test_main): Call new testcase, adapt for renamed function.
10382
9c55864e
AJ
103832012-08-15 Andreas Jaeger <aj@suse.de>
10384
10385 [BZ #14090]
10386 * crypt/md5test2.c: New test, based on test supplied by Serge
10387 Belyshev <belyshev@depni.sinp.msu.ru>.
10388 * crypt/Makefile (xtests): Add md5test-giant..
10389 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10390
02dcb6c5
PE
103912012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10392
10393 [BZ #14090]
10394 * crypt/md5.c (md5_process_block): Don't assume the buffer
10395 length is less than 2**32.
10396 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10397 length is less than 2**64.
10398
a3f95dcc
RM
103992012-08-15 Roland McGrath <roland@hack.frob.com>
10400
be75d758
RM
10401 * string/str-two-way.h: Include <sys/param.h>.
10402 (MAX): Macro removed.
10403
7312ca90
RM
10404 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10405 Move #define and #undef of memmove to just before and after
10406 including <string.h>.
10407
9a0a5486
RM
10408 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10409 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10410 and after including <string.h>. Move declarations of
10411 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10412 to before #include "string/memmove.c".
10413
67cc348d
RM
10414 * include/dirent.h: Declare __getdirentries.
10415
a3f95dcc
RM
10416 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10417 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10418
ca98e171
MF
104192012-08-14 Mike Frysinger <vapier@gentoo.org>
10420
10421 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10422 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10423 * sysdeps/i386/configure: Regenerated.
10424 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10425 STABS_CURRENT_FILE, and STABS_FUN.
10426 (END): Remove call to STABS_FUN_END.
10427 (STABS_CURRENT_FILE1): Delete.
10428 (STABS_CURRENT_FILE): Likewise.
10429 (STABS_FUN): Likewise.
10430 (STABS_FUN_END): Likewise.
10431 (STABS_FUN2): Likewise.
10432 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10433 * sysdeps/x86_64/configure: Regenerated.
10434
5908bf46
RM
104352012-08-14 Roland McGrath <roland@hack.frob.com>
10436
10437 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10438 * elf/dl-lookup.c: Likewise.
5908bf46 10439
f2c05b9e
JM
104402012-08-14 Joseph Myers <joseph@codesourcery.com>
10441
10442 * sysdeps/unix/sysv/linux/kernel-features.h
10443 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10444 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10445 unconditionally.
10446 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10447 unconditionally.
10448 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10449 condition on __ASSUME_CLONE_THREAD_FLAGS.
10450
e11f5155
AJ
104512012-08-14 Andreas Jaeger <aj@suse.de>
10452
10453 * sysdeps/i386/fpu/libm-test-ulps: Update.
10454
51a9ba86
MK
104552012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10456
2fdd4f78
AJ
10457 * include/atomic.h (atomic_exchange_and_add): Split into ...
10458 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10459 New atomic macros.
51a9ba86 10460
ba6cba9e
MT
104612012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10462
10463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10464
42443a47
JL
104652012-08-13 Jeff Law <law@redhat.com>
10466
10467 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10468 null byte in the output string.
10469
121dce05
JM
104702012-08-10 Joseph Myers <joseph@codesourcery.com>
10471
10472 * sysdeps/unix/sysv/linux/kernel-features.h
10473 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10474 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10475 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10476 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10477 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10478 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10479 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10480
bf51f568
JL
104812012-08-09 Jeff Law <law@redhat.com>
10482
10483 [BZ #13939]
10484 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10485 When avoid_arena is set, don't retry in the that arena. Pick the
10486 next one, whatever it might be.
10487 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10488 (arena_lock): Pass in new parameter to arena_get2.
10489 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10490 arena_get2.
10491 (__libc_malloc): Unify retrying after main arena failure with
10492 __libc_memalign version.
10493 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10494
f85fa270
L
104952012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10496
10497 [BZ #14166]
10498 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10499 to __redirect_strstr.
10500 (__strstr_sse42): Use typeof __redirect_strstr.
10501 (__strstr_ia32): Likewise.
10502 (__libc_strstr): New prototype.
10503 (strstr): Renamed to ...
10504 (__libc_strstr): This.
10505 (strstr): New strong alias of __libc_strstr.
10506 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10507 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10508 __redirect_time.
10509 Include <time.h>.
10510 (__libc_time): New prototype.
10511 (time_ifunc): Replace time with __libc_time.
10512 (time): New strong alias and hidden definition of __libc_time.
10513 (__GI_time): Remove strong alias.
10514 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10515 Include <stddef.h>.
10516 (memmove): Redefined to __redirect_memmove.
10517 (__memmove_sse2): Use typeof __redirect_memmove.
10518 (__memmove_ssse3): Likewise.
10519 (__memmove_ssse3_back): Likewise.
10520 (__libc_memmove): New prototype.
10521 (memmove): Renamed to ...
10522 (__libc_memmove): This.
10523 (memmove): New strong alias of __libc_memmove.
10524
33b4a91e
MS
105252012-08-08 Mark Salter <msalter@redhat.com>
10526
10527 * elf/elf.h
10528 (R_MN10300_TLS_GD): Define.
10529 (R_MN10300_TLS_LD): Likewise.
10530 (R_MN10300_TLS_LDO): Likewise.
10531 (R_MN10300_TLS_GOTIE): Likewise.
10532 (R_MN10300_TLS_IE): Likewise.
10533 (R_MN10300_TLS_LE): Likewise.
10534 (R_MN10300_TLS_DTPMOD): Likewise.
10535 (R_MN10300_TLS_DTPOFF): Likewise.
10536 (R_MN10300_TLS_TPOFF): Likewise.
10537 (R_MN10300_SYM_DIFF): Likewise.
10538 (R_MN10300_ALIGN): Likewise.
10539 (R_MN10300_NUM): Update.
10540
b36137f1
JM
105412012-08-08 Joseph Myers <joseph@codesourcery.com>
10542
10543 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10544 Remove.
10545
cdd915fd
RM
105462012-08-08 Roland McGrath <roland@hack.frob.com>
10547
a2433aac
RM
10548 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10549
cdd915fd
RM
10550 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10551 sysdeps/unix -> sysdeps/posix move.
10552 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10553
bf9b740a
AM
105542012-08-07 Allan McRae <allan@archlinux.org>
10555
10556 [BZ #14303]
10557 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10558 (SUNOS_CPP): Likewise.
10559 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10560 not found.
10561 (open_input): Call CPP using execvp.
10562
93df14ee
JM
105632012-08-07 Joseph Myers <joseph@codesourcery.com>
10564
10565 * sysdeps/unix/sysv/linux/kernel-features.h
10566 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10567 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10568 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10569 (__ASSUME_WAITID_SYSCALL): Likewise.
10570 * sysdeps/unix/sysv/linux/dl-execstack.c
10571 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10572 code unconditional.
10573 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10574 conditional code.
10575 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10576 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10577 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10578 code.
10579 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10580 unconditional.
10581 [__ASSUME_WAITID_SYSCALL]: Likewise.
10582 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10583
d34689de
RM
105842012-08-07 Roland McGrath <roland@hack.frob.com>
10585
a281decc
RM
10586 * sysdeps/unix/closedir.c: Renamed to ...
10587 * sysdeps/posix/closedir.c: ... here.
10588 * sysdeps/unix/dirfd.c: Renamed to ...
10589 * sysdeps/posix/dirfd.c: ... here.
10590 * sysdeps/unix/dirstream.h: Renamed to ...
10591 * sysdeps/posix/dirstream.h: ... here.
10592 * sysdeps/unix/fdopendir.c: Renamed to ...
10593 * sysdeps/posix/fdopendir.c: ... here.
10594 * sysdeps/unix/opendir.c: Renamed to ...
10595 * sysdeps/posix/opendir.c: ... here.
10596 * sysdeps/unix/readdir.c: Renamed to ...
10597 * sysdeps/posix/readdir.c: ... here.
10598 * sysdeps/unix/readdir_r.c: Renamed to ...
10599 * sysdeps/posix/readdir_r.c: ... here.
10600 * sysdeps/unix/rewinddir.c: Renamed to ...
10601 * sysdeps/posix/rewinddir.c: ... here.
10602 * sysdeps/unix/seekdir.c: Renamed to ...
10603 * sysdeps/posix/seekdir.c: ... here.
10604 * sysdeps/unix/telldir.c: Renamed to ...
10605 * sysdeps/posix/telldir.c: ... here.
10606 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10607 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10608 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10609 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10610
22895b47
RM
10611 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10612 * bits/fcntl.h: ... here.
10613
707a53b6
RM
10614 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10615 not 0.
10616 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10617 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10618 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10619 (struct flock): Move l_start, l_len to the beginning.
10620 Use __pid_t for l_pid.
10621 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10622 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10623 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10624 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10625 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10626 [__USE_LARGEFILE64] (struct flock64): New type.
10627 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10628
f0bd3e25
RM
10629 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10630 * bits/dirent.h: ... here.
10631
d34689de
RM
10632 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10633 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10634
6dad2c06
JM
106352012-08-07 Joseph Myers <joseph@codesourcery.com>
10636
10637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10638 Change from 2.6.0 to 2.6.16.
10639 * sysdeps/unix/sysv/linux/configure: Regenerated.
10640 * sysdeps/unix/sysv/linux/kernel-features.h
10641 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10642 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10643 version.
10644 (__ASSUME_UTIMES): Likewise.
10645 (__ASSUME_CLONE_STOPPED): Remove.
10646 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10647 architectures, not kernel version.
10648 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10649 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10650 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10651 (__ASSUME_WAITID_SYSCALL): Likewise.
10652 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10653 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10654 * README: State 2.6.16 as minimum Linux kernel version. Do not
10655 refer to older versions.
10656
03af9520
RM
106572012-08-06 Roland McGrath <roland@hack.frob.com>
10658
8e49df1d
RM
10659 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10660 Define alphasort64 as an alias.
10661 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10662 Define versionsort64 as an alias.
10663 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10664 Define scandir64 as an alias.
10665 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10666 Define scandirat64 as an alias.
10667 * dirent/alphasort64.c (alphasort64):
10668 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10669 * dirent/versionsort64.c: Likewise.
10670 * dirent/scandir64.c: Likewise.
10671 * dirent/scandirat64.c: Likewise.
10672 * sysdeps/wordsize-64/alphasort.c: File removed.
10673 * sysdeps/wordsize-64/alphasort64.c: File removed.
10674 * sysdeps/wordsize-64/scandir.c: File removed.
10675 * sysdeps/wordsize-64/scandir64.c: File removed.
10676 * sysdeps/wordsize-64/scandirat.c: File removed.
10677 * sysdeps/wordsize-64/scandirat64.c: File removed.
10678 * sysdeps/wordsize-64/versionsort.c: File removed.
10679 * sysdeps/wordsize-64/versionsort64.c: File removed.
10680 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10681 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10682 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10683 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10684 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10685 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10686 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10687 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10688
10689 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10691 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10693 [defined __arch64__ || defined __sparcv9]
10694 (__INO_T_MATCHES_INO64_T): New macro.
10695 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10696 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10697 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10698 * sysdeps/unix/sysv/linux/bits/dirent.h
10699 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10700 (_DIRENT_MATCHES_DIRENT64): New macro.
10701
03af9520
RM
10702 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10703 Define lockf64 as an alias.
10704 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10705 Define fseeko64 as an alias.
10706 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10707 Define ftello64 as an alias.
10708 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10709 Define _IO_fgetpos64 and fgetpos64 as aliases.
10710 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10711 Define _IO_fsetpos64 and fsetpos64 as aliases.
10712 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10713 Conditionalize body on this.
10714 * libio/fseeko64.c: Likewise.
10715 * libio/ftello64.c: Likewise.
10716 * libio/iofgetpos64.c: Likewise.
10717 * libio/iofsetpos64.c: Likewise.
10718 * sysdeps/wordsize-64/lockf.c: File removed.
10719 * sysdeps/wordsize-64/lockf64.c: File removed.
10720 * sysdeps/wordsize-64/fseeko.c: File removed.
10721 * sysdeps/wordsize-64/fseeko64.c: File removed.
10722 * sysdeps/wordsize-64/ftello.c: File removed.
10723 * sysdeps/wordsize-64/ftello64.c: File removed.
10724 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10725 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10726 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10727 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10728 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10729 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10730 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10731 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10732 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10733 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10734 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10735 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10736 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10737 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10738
10739 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10740 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10741 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10742 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10743 [defined __arch64__ || defined __sparcv9]
10744 (__OFF_T_MATCHES_OFF64_T): New macro.
10745 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10746 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10747 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10748 (__OFF_T_MATCHES_OFF64_T): New macro.
10749
c5757acd
L
107502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10751
10752 * stdlib/secure-getenv.c (__secure_getenv): Replace
10753 GLIBC_2_16 with GLIBC_2_17.
10754
3a31811e
L
107552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10756
10757 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10758 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10759
faa2bccb
DM
107602012-08-03 David S. Miller <davem@davemloft.net>
10761
10762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10763
85fe1997
JM
107642012-08-03 Joseph Myers <joseph@codesourcery.com>
10765
10766 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10767 Remove.
10768 (__ASSUME_CORRECT_SI_PID): Likewise.
10769 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10770 (__ASSUME_TMPFS_NAME): Likewise.
10771 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10772 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10773 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10774 (HAVE_AUX_SECURE): Make definition unconditional.
10775 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10776 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10777
4f75b7a0
RM
107782012-08-03 Roland McGrath <roland@hack.frob.com>
10779
10780 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10781 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10782 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10783 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10784 __eloop_threshold instead of SYMLOOP_MAX.
10785
10786 * sysdeps/generic/eloop-threshold.h: New file.
10787 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10788 of MAXSYMLINKS.
10789 * elf/chroot_canon.c (chroot_canon): Likewise.
10790
7aab07e4
JM
107912012-08-03 Joseph Myers <joseph@codesourcery.com>
10792
10793 [BZ #13717]
10794 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10795 Change to 2.6.0 everywhere.
10796 * sysdeps/unix/sysv/linux/configure: Regenerated.
10797 * sysdeps/unix/sysv/linux/kernel-features.h
10798 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10799 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10800 kernel versions.
10801 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10802 (__ASSUME_FUTEX_REQUEUE): Remove.
10803 (__ASSUME_STATFS64): Define unconditionally.
10804 (__ASSUME_AT_SECURE): Likewise.
10805 (__ASSUME_CORRECT_SI_PID): Likewise.
10806 (__ASSUME_TGKILL): Define without depending on kernel version for
10807 i386.
10808 (__ASSUME_UTIMES): Likewise.
10809 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10810 kernel version.
10811 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10812 (__ASSUME_TMPFS_NAME): Likewise.
10813 * README: Update reference to Linux kernel versions.
10814
b67e9372
MP
108152012-08-02 Marek Polacek <polacek@redhat.com>
10816
1f529f7d 10817 [BZ# 14150]
b67e9372
MP
10818 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10819 libc_cv_asm_type_prefix with %.
10820 * configure: Regenerated.
d2441631
RM
10821 * include/libc-symbols.h: Remove comment about
10822 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10823 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10824 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10825 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10826 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10827 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10828 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10829 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10830 * elf/tst-unique2mod1.c: Likewise.
10831 * elf/tst-unique1mod2.c: Likewise.
10832 * elf/tst-unique1mod1.c: Likewise.
10833 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10834 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10835 Replace ASM_TYPE_DIRECTIVE with .type.
10836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10837 * sysdeps/i386/sysdep.h: Likewise.
10838 * sysdeps/x86_64/sysdep.h: Likewise.
10839 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10841 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10842 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10843 * sysdeps/powerpc/powerpc32/sysdep.h:
10844 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10845 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10846 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10847 * sysdeps/i386/fpu/e_powf.S: Likewise.
10848 * sysdeps/i386/fpu/e_expl.S: Likewise.
10849 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10850 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10851 * sysdeps/i386/fpu/e_pow.S: Likewise.
10852 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10853 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10854 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10855 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10856 * sysdeps/i386/fpu/e_log2.S: Likewise.
10857 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10858 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10859 * sysdeps/i386/fpu/e_powl.S: Likewise.
10860 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10861 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10862 * sysdeps/i386/fpu/e_logl.S: Likewise.
10863 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10864 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10865 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10866 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10867 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10868 * sysdeps/i386/fpu/e_log.S: Likewise.
10869 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10870 * sysdeps/i386/fpu/e_logf.S: Likewise.
10871 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10872 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10873 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10874 * sysdeps/i386/fpu/e_log10.S: Likewise.
10875 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10876 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10877 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10878 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10879 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10880 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10881 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10882 * sysdeps/i386/i686/strtok.S: Likewise.
10883 * sysdeps/i386/i386-mcount.S: Likewise.
10884 * sysdeps/i386/strtok.S: Likewise.
10885 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10886 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10887 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10888 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10889 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10890 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10891 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10892 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10893 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10894 * sysdeps/x86_64/_mcount.S: Likewise.
10895 * sysdeps/x86_64/strtok.S: Likewise.
10896 * sysdeps/sh/_mcount.S: Likewise.
10897
2747bf9a
RM
108982012-08-01 Roland McGrath <roland@hack.frob.com>
10899
10900 * libio/iofopen.c: Include <fcntl.h>.
10901 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10902 (_IO_fopen64, fopen64): Define as aliases.
10903 * libio/iofopen64.c: Include <fcntl.h>.
10904 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10905 Conditionalize body on this.
10906 * sysdeps/wordsize-64/iofopen.c: File removed.
10907 * sysdeps/wordsize-64/iofopen64.c: File removed.
10908
3fb791b8
MP
109092012-08-01 Marek Polacek <polacek@redhat.com>
10910
10911 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10912 Use dlfcn directly instead of a variable.
10913 (binfmt-subdir): Do not define.
10914 (dlfcn): Likewise.
10915
a9f1039f
JM
109162012-08-01 Joseph Myers <joseph@codesourcery.com>
10917
23bddc06
JM
10918 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10919 Remove all definitions.
10920 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10921 <kernel-features.h>.
10922 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10923 (miss_F_GETOWN_EX): Remove all definitions.
10924 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10925 macro definition.
10926 [!__ASSUME_FCNTL64]: Remove conditional code.
10927 [__ASSUME_FCNTL64]: Make code unconditional.
10928 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10929 <kernel-features.h>.
10930 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10931 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10932 (lockf64) [__NR_fcntl64]: Make code unconditional.
10933 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10934
a9f1039f
JM
10935 * sysdeps/unix/sysv/linux/kernel-features.h
10936 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10937 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10938 Make code unconditional.
10939 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10940 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10942 [__NR_vfork]: Make code unconditional.
10943 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10944 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10946 [__NR_vfork]: Make code unconditional.
10947 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10948 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10949
09c0ee5f
RM
109502012-08-01 Roland McGrath <roland@hack.frob.com>
10951
48aec5b9
RM
10952 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10953 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10954
cd97c966
RM
10955 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10956 Define mkstemp64 as an alias.
3f55550c
RM
10957 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10958 Define mkstemps64 as an alias.
cd97c966
RM
10959 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10960 Define mkostemp64 as an alias.
b8625cfc
RM
10961 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10962 Define mkostemps64 as an alias.
cd97c966
RM
10963 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10964 Conditionalize body on this.
10965 * misc/mkostemp64.c: Likewise.
b8625cfc 10966 * misc/mkostemps64.c: Likewise.
3f55550c 10967 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10968 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10969 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10970 * sysdeps/wordsize-64/mkostemp.c: File removed.
10971 * sysdeps/wordsize-64/mkstemp.c: File removed.
10972 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10973 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10974 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10975 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10976
09c0ee5f
RM
10977 [BZ #14138]
10978 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10979 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10980 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10981 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10982
10983 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10984 compat_symbol macros from <shlib-compat.h> rather than the underlying
10985 default_symbol_version and symbol_version macros, so that DEFAULT
10986 lines in shlib-versions are respected.
10987 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10988
7e66ee51
FW
109892012-08-01 Florian Weimer <fweimer@redhat.com>
10990
10991 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10992 Declare with warn_unused_result.
10993 (setgid, setregid, setegid, setresgid): Likewise.
10994 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10995 Likewise.
10996 * WUR-REPORT: Remove set*id functions.
10997
d2a54255
PT
109982012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10999
11000 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11001
7ecdb005
RM
110022012-07-31 Roland McGrath <roland@hack.frob.com>
11003
789bd351
RM
11004 * include/sys/socket.h (__libc_accept, __libc_accept4):
11005 Add attribute_hidden.
11006 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11007
40ce302d
RM
11008 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11009 use of PTR_MANGLE.
11010 * inet/getnetgrent_r.c (setup): Likewise.
11011
7ecdb005
RM
11012 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11013
e2eabb2c
DM
110142012-07-31 David S. Miller <davem@davemloft.net>
11015
11016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11017
d0419dbf
JM
110182012-07-31 Joseph Myers <joseph@codesourcery.com>
11019
11020 [BZ #13629]
11021 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11022 value between 1.0 and 2.0 and smaller part has absolute value less
11023 than 1.0.
11024 * math/s_clog10.c (__clog10): Likewise.
11025 * math/s_clog10f.c (__clog10f): Likewise.
11026 * math/s_clog10l.c (__clog10l): Likewise.
11027 * math/s_clogf.c (__clogf): Likewise.
11028 * math/s_clogl.c (__clogl): Likewise.
11029 * math/libm-test.inc (clog_test): Add more tests.
11030 (clog10_test): Likewise.
11031 * sysdeps/i386/fpu/libm-test-ulps: Update.
11032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11033
2bc13872
FW
110342012-07-31 Florian Weimer <fweimer@redhat.com>
11035
11036 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11037 Exit with zero in case no suitable GID is found, and write a
11038 message to standard error.
11039
bea9b193
RM
110402012-07-30 Roland McGrath <roland@hack.frob.com>
11041
11042 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11043 rather than to 1.
11044 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11045 (MAXPATHLEN): Removed.
11046 (NOGROUP, NODEV): New macros.
11047 (setbit, clrbit, isset, isclr): New macros.
11048 (howmany, roundup, powerof2): New macros.
11049 (DEV_BSIZE): New macro.
11050
11051 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11052 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11053
11054 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11055 definition on [!__NO_LONG_DOUBLE_MATH].
11056
11057 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11058 PTR_MANGLE and PTR_DEMANGLE.
11059
11060 * socket/accept4.c (accept4): Rename to __libc_accept4.
11061 Define accept4 as a weak alias.
11062
11063 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11064 on [_DIRENT_HAVE_D_TYPE].
11065 * io/ftw.c (ftw_dir): Likewise.
11066
11067 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11068
11069 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11070
11071 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11072 Use the BSD numbers rather than the arbitrary ones we had.
11073 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11074 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11075 (SIGXCPU, SIGXFSZ): New macros.
11076 (_NSIG): Now 32.
11077
11078 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11079 initializer on [_LIBC_REENTRANT].
11080
11081 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11082 definitions inside [_POSIX_MAPPED_FILES].
11083
11084 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11085
11086 * dirent/opendir.c: Include <fcntl.h>.
11087
11088 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11089 (__libc_getspecific): Likewise.
11090 (__libc_key_create): Likewise.
11091
11092 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11093 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11094 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11095 (tmpfile64): Define as alias.
11096 * sysdeps/wordsize-64/tmpfile.c: File removed.
11097 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11098 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11099 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11100
11101 * stdio-common/vfscanf.c: Include <stdbool.h>.
11102 * nss/makedb.c: Likewise.
11103 * stdio-common/_i18n_number.h: Likewise.
11104 * argp/argp-help.c: Likewise.
11105 * posix/wordexp.c: Likewise.
11106 * sysdeps/posix/spawni.c: Likewise.
11107 * nss/nss_files/files-initgroups.c: Likewise.
11108 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11109 * nss/nss_files/files-initgroups.c: Likewise.
11110 * nss/nss_db/db-netgrp.c: Likewise.
11111 * nss/nss_db/db-initgroups.c: Likewise.
11112 * io/fchmodat.c: Include <sys/stat.h>.
11113
11114 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11115 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11116
11117 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11118 [HAVE_MMAP].
11119
11120 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11121 Add multiple inclusion protection.
11122
e5abc686
DM
111232012-07-27 David S. Miller <davem@davemloft.net>
11124
11125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11126
815e6fa3
GB
111272012-07-27 Gary Benson <gbenson@redhat.com>
11128
11129 [BZ #14298]
11130 * elf/rtld.c: Include <stap-probe.h>.
11131 (dl_main): Added static probes "init_start" and "init_complete".
11132 * elf/dl-load.c: Include <stap-probe.h>.
11133 (lose): Take new parameter "nsid".
11134 Added static probe "map_failed".
11135 (_dl_map_object_from_fd): Pass namespace id to lose.
11136 Added static probe "map_start".
11137 (open_verify): Pass namespace id to lose.
11138 * elf/dl-open.c: Include <stap-probe.h>.
11139 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11140 and "reloc_complete".
11141 * elf/dl-close.c: Include <stap-probe.h>.
11142 (_dl_close_worker): Added static probes "unmap_start" and
11143 "unmap_complete".
11144 * elf/rtld-debugger-interface.txt: New file documenting the above.
11145
9f98c16c
RM
111462012-07-26 Roland McGrath <roland@hack.frob.com>
11147
11148 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11149 rather than a string variable.
11150 * sunrpc/rpc_main.c (h_output): Likewise.
11151 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11152
f3c22df3
PT
111532012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11154
11155 * inet/check_native.c: New file.
11156
3129cfc6
JM
111572012-07-26 Joseph Myers <joseph@codesourcery.com>
11158
da865e95
JM
11159 [BZ #13629]
11160 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11161 if larger part has absolute value 1.0.
11162 * math/s_clog10.c (__clog10): Likewise.
11163 * math/s_clog10f.c (__clog10f): Likewise.
11164 * math/s_clog10l.c (__clog10l): Likewise.
11165 * math/s_clogf.c (__clogf): Likewise.
11166 * math/s_clogl.c (__clogl): Likewise.
11167 * math/libm-test.inc (clog_test): Add more tests.
11168 (clog10_test): Likewise.
11169 * sysdeps/i386/fpu/libm-test-ulps: Update.
11170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11171
3129cfc6
JM
11172 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11173 (pltexit): Likewise.
11174 (La_regs): Likewise.
11175 (La_retval): Likewise.
11176 (int_retval): Likewise.
11177 Update #error for removed macros to refer only to definitions in
11178 tst-audit.h.
11179 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11180 macro.
11181 (pltexit): Likewise.
11182 (La_regs): Likewise.
11183 (La_retval): Likewise.
11184 (int_retval): Likewise.
11185 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11186 macro.
11187 (pltexit): Likewise.
11188 (La_regs): Likewise.
11189 (La_retval): Likewise.
11190 (int_retval): Likewise.
11191 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11192 macro.
11193 (pltexit): Likewise.
11194 (La_regs): Likewise.
11195 (La_retval): Likewise.
11196 (int_retval): Likewise.
11197 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11198 macro.
11199 (pltexit): Likewise.
11200 (La_regs): Likewise.
11201 (La_retval): Likewise.
11202 (int_retval): Likewise.
11203 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11204 macro.
11205 (pltexit): Likewise.
11206 (La_regs): Likewise.
11207 (La_retval): Likewise.
11208 (int_retval): Likewise.
11209 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11210 macro.
11211 (pltexit): Likewise.
11212 (La_regs): Likewise.
11213 (La_retval): Likewise.
11214 (int_retval): Likewise.
11215 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11216 macro definitions in tst-audit.h.
11217 * sysdeps/i386/tst-audit.h: New file.
11218 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11219 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11220 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11221 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11222 * sysdeps/sh/tst-audit.h: Likewise.
11223 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11224 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11225 * sysdeps/x86_64/tst-audit.h: Likewise.
11226
bfc07087
AJ
112272012-07-26 Andreas Jaeger <aj@suse.de>
11228
b1b2aaf8
AJ
11229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11230 ptrace.
11231
11232 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11233 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11234 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11235 PTRACE_O_MASK.
11236 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11237 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11238 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11239
bfc07087
AJ
11240 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11241 value.
11242
11243 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11244 _sigsys.
11245 (si_call_addr, si_syscall, si_arch): Define new macro.
11246 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11247 _sigsys.
11248 (si_call_addr, si_syscall, si_arch): Define new marcro.
11249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11250 _sigsys.
11251 (si_call_addr, si_syscall, si_arch): Define new macro.
11252 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11253 _sigsys.
11254 (si_call_addr, si_syscall, si_arch): Define new macro.
11255
89b4b02f
JM
112562012-07-25 Joseph Myers <joseph@codesourcery.com>
11257
11258 [BZ #13717]
11259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11260 Change to 2.4.21 where previously 2.4.1.
11261 * sysdeps/unix/sysv/linux/configure: Regenerated.
11262 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11263 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11264 Linux kernel version.
11265 (__ASSUME_STD_AUXV): Remove.
11266 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11267 kernel version.
11268 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11269 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11270 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11271 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11272 (__ASSUME_NETLINK_SUPPORT): Likewise.
11273 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11274 (__no_netlink_support): Remove conditional definition.
11275 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11276 Remove.
11277 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11278 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11279 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11280 (if_nameindex_ioctl): Remove.
11281 (if_nameindex_netlink): Do not handle __no_netlink_support.
11282 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11283 code.
11284 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11285 Remove conditional code.
11286 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11287 code.
11288 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11289 unconditional.
11290 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11291 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11292 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11293 Remove.
11294 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11295 [!__ASSUME_STD_AUXV]: Remove conditional code.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11297 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11298 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11300 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11301 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11302 code.
11303 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11305 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11306 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11307 conditional code.
11308 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11310 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11311 code.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11313 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11314 conditional code.
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11316 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11317 code unconditional.
11318 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11319 conditional code.
11320 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11321 unconditional.
11322 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11323 conditional code.
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11325 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11326 unconditional.
11327 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11328 conditional code.
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11330 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11331 code unconditional.
11332 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11333 conditional code.
11334 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11335 unconditional.
11336 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11337 conditional code.
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11339 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11340 code unconditional.
11341 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11342 conditional code.
11343 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11344 unconditional.
11345 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11346 conditional code.
11347
842a39cd
AS
113482012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11349
11350 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11351 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11352 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11353 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11354 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11355 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11356 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11357 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11358 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11359 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11360 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11361 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11362 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11363 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11364 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11365 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11366 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11367 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11368 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11372 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11373
84b3fd84
FW
113742012-07-25 Florian Weimer <fweimer@redhat.com>
11375
11376 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11377 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11378 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11379 Introduce __libc_secure_getenv.
0c7936d5
FW
11380 * stdlib/Versions (2.17): Add secure_getenv
11381 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11382 * stdlib/secure-getenv.c: Rename __secure_getenv to
11383 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11384 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11385 * stdlib/tst-secure-getenv.c: New.
11386 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11387 * manual/startup.texi (Environment Access): Document
11388 secure_getenv.
84b3fd84
FW
11389 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11390 __libc_secure_getenv.
11391 * inet/ruserpass.c (ruserpass): Likewise.
11392 * malloc/mtrace.c (mtrace): Likewise.
11393 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11394 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11395 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11396 * sysdeps/posix/tempname.c: Likewise. Evaluate
11397 HAVE_SECURE_GETENV.
11398 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11399 __secure_getenv to __libc_secure_getenv.
84b3fd84 11400 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11402 Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11404 Likewise.
11405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11412
56e49b71
JM
114132012-07-25 Joseph Myers <joseph@codesourcery.com>
11414
11415 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11416 (struct La_i86_retval): Likewise.
11417 (struct La_x86_64_regs): Likewise.
11418 (struct La_x86_64_retval): Likewise.
11419 (struct La_x32_regs): Likewise.
11420 (struct La_x32_retval): Likewise.
11421 (struct La_ppc32_regs): Likewise.
11422 (struct La_ppc32_retval): Likewise.
11423 (struct La_ppc64_regs): Likewise.
11424 (struct La_ppc64_retval): Likewise.
11425 (struct La_sh_regs): Likewise.
11426 (struct La_sh_retval): Likewise.
11427 (struct La_s390_32_regs): Likewise.
11428 (struct La_s390_32_retval): Likewise.
11429 (struct La_s390_64_regs): Likewise.
11430 (struct La_s390_64_retval): Likewise.
11431 (struct La_sparc32_regs): Likewise.
11432 (struct La_sparc32_retval): Likewise.
11433 (struct La_sparc64_regs): Likewise.
11434 (struct La_sparc64_retval): Likewise.
11435 (struct audit_ifaces): Remove architecture-specific pltenter and
11436 pltexit members.
11437 * sysdeps/i386/ldsodefs.h: New file.
11438 * sysdeps/powerpc/ldsodefs.h: Likewise.
11439 * sysdeps/s390/ldsodefs.h: Likewise.
11440 * sysdeps/sh/ldsodefs.h: Likewise.
11441 * sysdeps/sparc/ldsodefs.h: Likewise.
11442 * sysdeps/x86_64/ldsodefs.h: Likewise.
11443
354691b7
MP
114442012-07-25 Marek Polacek <polacek@redhat.com>
11445
11446 [BZ #6808]
11447 * math/libm-test.inc (yn_test): Add another test.
11448 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11449 to ERANGE when the result is +-Inf.
11450 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11451 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11452 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11453 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11454
bf9e2071
JM
114552012-07-24 Joseph Myers <joseph@codesourcery.com>
11456
11457 * conform/data/time.h-data (NULL): Use macro-constant. Require
11458 equal to 0.
11459 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11460 clock_t.
11461 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11462
57633811
TS
114632012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11464
11465 * configure.in <sysdeps resolving>: Correct printing
11466 Implies_before.
11467 * configure: Regenerate.
11468
c23c33b0
TS
114692012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11470
11471 * math/w_ilogb.c: Include <limits.h>.
11472 * math/w_ilogbl.c: Likewise.
11473
b5982523
JM
114742012-07-20 Joseph Myers <joseph@codesourcery.com>
11475
11476 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11477 va_copy. Document allowing for unavailable va_copy only as
11478 pre-C99 compatibility.
11479 * manual/string.texi (Copying and Concatenation): Use va_copy
11480 instead of __va_copy in concat example.
11481
ac4ea442
PT
114822012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11483
11484 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11485 (__sendto): Use create_address_port. Initialize APORT and deallocate
11486 it if not null.
11487
f98eafbd
PT
11488 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11489 with O_NOLINK passed to __file_name_lookup.
11490
898c7aab
PT
11491 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11492 with O_NOLINK passed to __file_name_lookup.
11493
0ced335a
PT
11494 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11495 negative N or less than NGIDS.
11496
b3404dbd
PT
11497 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11498 type to string_t. Set ERANGE as errno and return it if NAME is not big
11499 enough. Use memcpy instead of strncpy.
11500
0f48659e
JM
115012012-07-20 Joseph Myers <joseph@codesourcery.com>
11502
11503 * elf/Makefile (check-data): Remove.
11504 (localplt.data): New vpath directive.
11505 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11506 instead of $(check-data).
11507 * scripts/data/localplt-generic.data: Move to ...
11508 * sysdeps/generic/localplt.data: ... here.
11509 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11510 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11511 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11513 ... here.
11514 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11516 ... here.
11517 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11519 ... here.
11520 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11522 ... here.
11523 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11525 ... here.
11526 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11528 ... here.
11529
d37cbdaa
AZ
115302012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11531
11532 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11533 PPC32 and PPC64 files.
11534 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11535 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11536
46f85fc2
AK
115372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11538
11539 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11540 __makecontext_ret to ...
11541 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11542 ... here and call exit if uc_link is NULL. New file.
11543 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11544 __makecontext_ret.S.
11545 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11546 __makecontext_ret to ...
11547 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11548 ... here and call exit if uc_link is NULL. New file.
11549 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11550 __makecontext_ret.S.
11551
08f43f9b
AK
115522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11553
11554 * elf/elf.h (R_390_IRELATIVE): New definition.
11555 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11556 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11557 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11558 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11559 (elf_machine_lazy_rel): Likewise.
11560 * sysdeps/s390/dl-irel.h: New file.
11561 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11562 * sysdeps/s390/s390-64/memset.S: New asm code.
11563 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11564 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11565 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11566 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11567 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11568 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11569 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11570 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11571 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11572 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11573 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11574 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11575 * sysdeps/s390/s390-32/memset.S: New asm code.
11576 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11577
3b05db33
MP
115782012-07-17 Marek Polacek <polacek@redhat.com>
11579
11580 [BZ #14349]
11581 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11582 * sysdeps/s390/s390-64/configure.in: Likewise.
11583 * sysdeps/sparc/configure.in: Likewise.
11584 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11585 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11586 * sysdeps/i386/configure.in: Likewise.
11587 * sysdeps/x86_64/configure.in: Likewise.
11588 * sysdeps/sh/configure.in: Likewise.
11589 * sysdeps/s390/s390-32/configure: Regenerated.
11590 * sysdeps/s390/s390-64/configure: Likewise.
11591 * sysdeps/x86_64/configure: Likewise.
11592 * sysdeps/sh/configure: Likewise.
11593 * sysdeps/powerpc/powerpc64/configure: Likewise.
11594 * sysdeps/powerpc/powerpc32/configure: Likewise.
11595 * sysdeps/sparc/configure: Likwise.
11596 * sysdeps/i386/configure: Likewise.
11597
a66877c6
MP
11598 * elf/dl-open.c: Comment fixes.
11599
cfc82fd8
JM
116002012-07-17 Joseph Myers <joseph@codesourcery.com>
11601
bd29910a
JM
11602 * Makefile [CXX] (check-data): Remove.
11603 [CXX] (c++-types.data): New vpath directive.
11604 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11605 vpath. Do not allow for C++ type data being missing.
11606 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11607 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11608 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11609 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11610 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11611 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11612 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11614 ... here.
11615 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11617 ... here.
11618 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11620 ... here.
11621 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11623 ... here.
11624 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11626 ... here.
11627 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11629 ... here.
11630 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11632 ... here.
11633 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11635
cfc82fd8
JM
11636 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11637 definitions to architecture-specific files.
11638 (TLS_IE): Likewise.
11639 (TLS_LD): Likewise.
11640 (TLS_GD): Likewise.
11641 * sysdeps/i386/tls-macros.h: New file.
11642 * sysdeps/powerpc/tls-macros.h: Likewise.
11643 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11644 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11645 * sysdeps/sh/tls-macros.h: Likewise.
11646 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11647 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11648 * sysdeps/x86_64/tls-macros.h: Likewise.
11649
f7db3170
TS
116502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11651
07cbfc23
TS
11652 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11653 zero value for regular exit case.
11654
f7db3170
TS
11655 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11656 (__start_context): Preserve zero value for regular exit case.
11657
dc97c227
TS
116582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11659 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11660
11661 * manual/setjmp.texi (setcontext): Clarify normal process
11662 termination when uc_link is the null pointer.
11663 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11664 exit call.
11665
d0cd7d02
AS
116662012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11667
11668 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11669 preprocessor. Test for each exception mask separately.
11670
dd318934
AJ
116712012-07-16 Andreas Jaeger <aj@suse.de>
11672
11673 * po/ru.po: Update from translation team.
11674
8048311a
JM
116752012-07-15 Joseph Myers <joseph@codesourcery.com>
11676
11677 * conform/data/string.h-data (NULL): Use macro-constant. Require
11678 equal to 0.
11679 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11680 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11681 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11682 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11683 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11684
b637d46e
AJ
116852012-07-13 Andreas Jaeger <aj@suse.de>
11686
11687 * po/fr.po: Update from translation team.
11688
541428fe
MP
116892012-07-12 Marek Polacek <polacek@redhat.com>
11690
11691 [BZ #14173]
11692 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11693 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11694 loop condition.
11695
ec332e94
JM
116962012-07-12 Joseph Myers <joseph@codesourcery.com>
11697
11698 [BZ #13717]
11699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11700 Change to 2.4.1 where previously 2.4.0.
11701 * sysdeps/unix/sysv/linux/configure: Regenerated.
11702 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11703 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11704 version.
11705 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11706 (__ASSUME_AT_CLKTCK): Remove.
11707 (__ASSUME_AT_PAGESIZE): Likewise.
11708 (__ASSUME_AT_XID): Likewise.
11709 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11710 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11711 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11712 unconditionally.
11713 (HAVE_AUX_PAGESIZE): Likewise.
11714 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11715 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11716 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11717
7b6e99be
JB
117182012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11719
11720 [BZ #14307]
11721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11722 the temporary buffer used to invoke __gethostbyname2_r,
11723 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11724 host_data / struct gaih_addrtuple.
11725 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11726 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11727 header file nss/nsswitch.h.
11728 * nss/nsswitch.h (global scope): Add definition of implementation
11729 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11730 resolv/nss_dns/dns-host.c).
11731
608404eb
AJ
117322012-07-11 Andreas Jaeger <aj@suse.de>
11733
11734 * po/fr.po: Update from translation team.
11735
71220aca
AJ
11736 * po/sv.po: Update from translation team
11737 * po/fr.po: Another update from translation team.
11738
28cfe843
AZ
117392012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11740
11741 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11742 for subnormals or multiply small sinh result by itself.
11743 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11745
6b90f981
DM
117462012-07-11 David S. Miller <davem@davemloft.net>
11747
11748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11749
c6825772
AS
117502012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11751
11752 [BZ #14347]
11753 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11754 (INTERNAL_MARK): Shift it here.
11755
7b8e0d49
MP
117562012-07-10 Marek Polacek <polacek@redhat.com>
11757
11758 [BZ #14151]
11759 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11760 libc_cv_asm_global_directive with .globl.
11761 * configure: Regenerated.
11762 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11763 with .globl.
11764 * sysdeps/i386/configure: Regenerated.
11765 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11766 with .globl.
11767 * sysdeps/x86_64/configure: Regenerated.
11768 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11769 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11770 * elf/tst-unique2mod2.c: Likewise.
11771 * elf/tst-unique2mod1.c: Likewise.
11772 * elf/tst-unique1mod2.c: Likewise.
11773 * elf/tst-unique1mod1.c: Likewise.
11774 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11775 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11776 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11777 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11778 * sysdeps/mach/sysdep.h: Likewise.
11779 * sysdeps/i386/sysdep.h: Likewise.
11780 * sysdeps/i386/i386-mcount.S: Likewise.
11781 * sysdeps/x86_64/_mcount.S: Likewise.
11782 * sysdeps/x86_64/sysdep.h: Likewise.
11783 * sysdeps/sh/_mcount.S: Likewise.
11784 * sysdeps/sh/sysdep.h: Likewise.
11785 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11786 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11787 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11788 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11789 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11790 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11791 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11792 * locale/localeinfo.h: Likewise.
11793 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11794 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11795
6c55cda3
RM
117962012-07-09 Roland McGrath <roland@hack.frob.com>
11797
11798 [BZ #14336]
11799 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11800 system".
11801 * manual/message.texi (The Uniforum approach): Likewise.
11802 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11803 (glibc iconv Implementation): Likewise.
11804
638a572e
JM
118052012-07-09 Joseph Myers <joseph@codesourcery.com>
11806
11807 [BZ #14337]
11808 * math/s_clog.c (__clog): Avoid scaling a value down where that
11809 could result in underflow.
11810 * math/s_clog10.c (__clog10): Likewise.
11811 * math/s_clog10f.c (__clog10f): Likewise.
11812 * math/s_clog10l.c (__clog10l): Likewise.
11813 * math/s_clogf.c (__clogf): Likewise.
11814 * math/s_clogl.c (__clogl): Likewise.
11815 * math/libm-test.inc (clog_test): Add more tests.
11816 (clog10_test): Likewise.
11817 * sysdeps/i386/fpu/libm-test-ulps: Update.
11818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11819
261f4859
AS
118202012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11821
0abaf3e4
AS
11822 [BZ #14283]
11823 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11824 by 7 not 8 to examine high bit of fractional part.
11825
261f4859
AS
11826 [BZ #14042]
11827 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11828 for call to __mcount_internal.
11829 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11830 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11831 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11832
f17ac40d
JM
118332012-07-06 Joseph Myers <joseph@codesourcery.com>
11834
9ad63c23
JM
11835 [BZ #14154]
11836 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11837 approximation for values within 0x1p-13f of an odd multiple of
11838 pi/4.
11839 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11840 exception. Add more tests.
11841 * sysdeps/i386/fpu/libm-test-ulps: Update.
11842
f17ac40d
JM
11843 [BZ #6778]
11844 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11845 inputs and return -1 for them. Do not check for +Inf in case not
11846 reachable for +Inf.
11847 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11848 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11849 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11850 and return -1 for them. Do not check for +Inf in case not
11851 reachable for +Inf.
11852 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11853 define.
11854 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11855 and return -1 for them. Do not check for +Inf in case not
11856 reachable for +Inf.
11857 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11858 spurious underflow.
11859 * sysdeps/i386/fpu/libm-test-ulps: Update.
11860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11861
fb21f89b
MF
118622012-07-06 Mike Frysinger <vapier@gentoo.org>
11863
11864 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11865
cdfe2c5e
JM
118662012-07-05 Joseph Myers <joseph@codesourcery.com>
11867
11868 [BZ #14157]
11869 [BZ #14331]
11870 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11871 could result in spurious underflow. Scale down values above
11872 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11873 * math/s_csqrtf.c (__csqrtf): Likewise.
11874 * math/s_csqrtl.c (__csqrtl): Likewise.
11875 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11876 spurious underflow.
11877 * sysdeps/i386/fpu/libm-test-ulps: Update.
11878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11879
70d35b67
AS
118802012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11881
704bc459
AS
11882 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11883 xopen-msg.sed.
11884 * catgets/xopen-msg.awk: New file.
11885 * catgets/xopen-msg.sed: Removed.
11886
70d35b67
AS
11887 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11888 po2text.sed.
11889 * intl/po2test.awk: New file.
11890 * intl/po2test.sed: Removed.
11891
ca61cf32
JM
118922012-07-04 Joseph Myers <joseph@codesourcery.com>
11893
11894 [BZ #14328]
11895 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11896 or multiply small sinh result by itself.
11897 * math/s_ctanf.c (__ctanf): Likewise.
11898 * math/s_ctanh.c (__ctanh): Likewise.
11899 * math/s_ctanhf.c (__ctanhf): Likewise.
11900 * math/s_ctanhl.c (__ctanhl): Likewise.
11901 * math/s_ctanl.c (__ctanl): Likewise.
11902 * math/libm-test.inc (ctan_test_tonearest): New function.
11903 (ctan_test_towardzero): Likewise.
11904 (ctan_test_downward): Likewise.
11905 (ctan_test_upward): Likewise.
11906 (ctanh_test_tonearest): Likewise.
11907 (ctanh_test_towardzero): Likewise.
11908 (ctanh_test_downward): Likewise.
11909 (ctanh_test_upward): Likewise.
11910 (main): Call these new functions.
11911 * sysdeps/i386/fpu/libm-test-ulps: Update.
11912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11913
ca48a46a
MF
119142012-07-03 Mike Frysinger <vapier@gentoo.org>
11915
11916 * .gitignore: Delete /ports entry.
11917
9d63d37d
AJ
119182012-07-03 Andreas Jaeger <aj@suse.de>
11919
11920 * po/bg.po: Update from translation team.
11921 * po/cs.po: Likewise.
11922 * po/de.po: Likewise.
11923 * po/hr.po: Likewise.
11924 * po/nl.pl: Likewise.
11925 * po/pl.po: Likewise.
11926 * po/vi.po: Likewise.
11927
370ca3d2
JM
119282012-07-03 Joseph Myers <joseph@codesourcery.com>
11929
95f5a9a8
JM
11930 * Makeconfig [!+link] (+link-before-libc): New variable.
11931 [!+link] (+link-after-libc): Likewise.
11932 [!+link] (+link-tests): Likewise.
11933 [!+link] (+link): Define in terms of $(+link-before-libc) and
11934 $(+link-after-libc).
11935 [!+link-static] (+link-static-before-libc): New variable.
11936 [!+link-static] (+link-static-after-libc): Likewise.
11937 [!+link-static] (+link-static-tests): Likewise.
11938 [!+link-static] (+link-static): Define in terms of
11939 $(+link-static-before-libc) and $(+link-static-after-libc).
11940 [build-shared] (link-libc-before-gnulib): New variable.
11941 [build-shared] (link-libc-tests): Likewise.
11942 [build-shared] (link-libc): Define in terms of
11943 $(link-libc-before-gnulib).
11944 [!build-shared] (link-libc-tests): New variable.
11945 (link-libc-static-tests): New variable.
11946 [!gnulib] (gnulib-arch): New variable.
11947 [!gnulib] (gnulib-tests): Likewise.
11948 [!gnulib] (static-gnulib-arch): Likewise.
11949 [!gnulib] (static-gnulib-tests): Likewise.
11950 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11951 Define with "=" instead of ":=".
11952 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11953 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11954 * Rules (binaries-all-notests): New variable.
11955 (binaries-all-tests): Likewise.
11956 (binaries-static-notests): Likewise.
11957 (binaries-static-tests): Likewise.
11958 (binaries-all): Define using $(binaries-all-notests) and
11959 $(binaries-all-tests).
11960 (binaries-static): Define using $(binaries-static-notests) and
11961 $(binaries-static-tests).
11962 (binaries-shared-tests): New variable.
11963 (binaries-shared-notests): Likewise.
11964 (binaries-shared): Remove variable.
11965 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11966 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11967 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11968 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11969 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11970 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11971 * elf/Makefile (sln-modules): New variable.
11972 (extra-objs): Add $(sln-modules:=.o).
11973 (ldconfig-modules): Add static-stubs.
11974 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11975 * elf/static-stubs.c: New file.
11976
7a845b2c
JM
11977 [BZ #14283]
11978 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11979 by 7 not 8 to examine high bit of fractional part. Use volatile
11980 variables when splitting into final array of floats if
11981 __FLT_EVAL_METHOD__ != 0.
11982 * math/libm-test.inc (cos_test): Add another test.
11983 (sin_test): Likewise.
11984 * sysdeps/i386/fpu/libm-test-ulps: Update.
11985
e2283f38
JM
11986 [BZ #14273]
11987 * math/libm-test.inc (cosh_test): Add more tests.
11988
370ca3d2
JM
11989 * version.h (RELEASE): Set to "development".
11990 (VERSION): Set to "2.16.90".
11991
ee9247c3
CD
119922012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11993
11994 * NEWS: Update copyright. Remove last-updated date.
11995 Mention math library bug fixes and timezone data changes.
11996 * README: Mention GNU/Hurd, x32, and HPPA support status.
11997
4648c381
TS
119982012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11999
12000 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12001
aac78a43
AJ
120022012-06-27 Andreas Jaeger <aj@suse.de>
12003
12004 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12005
ed3dbfad
AJ
120062012-06-25 Andreas Jaeger <aj@suse.de>
12007
12008 * sysdeps/s390/fpu/libm-test-ulps: Update.
12009
4d0ee855
AS
120102012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12011 Thomas Schwinge <thomas@codesourcery.com>
12012
12013 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12014 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12015 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12016 fanotify_mark.
12017
af1bce34
TS
120182012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12019
a9fa33ba
TS
12020 * sysdeps/mach/start.c: Remove file.
12021 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12022 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12023 * sysdeps/sh/init-first.c: Likewise.
12024
58f902b8
TS
12025 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12026 registers for frame unwinding purposes, add CFI directives.
12027 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12028 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12029 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12030 Likewise.
12031
1518f58b
TS
12032 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12033 __fortify_fail returning.
12034 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12035
db9b5059
TS
12036 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12037 sysdeps/sh/____longjmp_chk.S.
12038 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12039 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12040 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12041 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12042
967705fe
TS
12043 * sysdeps/sh/abort-instr.h: New file.
12044 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12045 process in case exit returns.
12046
a9def8c4
TS
12047 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12048 initialize the GOT register before use.
12049
2a649725
TS
12050 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12051 calculation of ARGC > 4.
12052
af1bce34
TS
12053 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12054 meaningful names to some local labels.
12055
d230f50a
KK
120562012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12057 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12058
12059 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12060 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12061 (__arch_compare_and_exchange_val_16_acq): Likewise.
12062 (__arch_compare_and_exchange_val_32_acq): Likewise.
12063 (atomic_exchange_and_add): Fix gUSA sequence.
12064 (atomic_add): Likewise.
12065 (atomic_add_negative): Likewise.
12066 (atomic_add_zero): Likewise.
12067 (atomic_bit_test_set): Likewise.
12068
0479b305
AS
120692012-06-22 Andreas Schwab <schwab@redhat.com>
12070
12071 [BZ #13579]
12072 * include/link.h (struct link_map): Add l_free_initfini.
12073 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12074 l_initfini.
12075 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12076 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12077 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12078 set.
12079
0e3933b9
CD
120802012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12081
12082 * configure.in: Use AC_LANG_SOURCE.
12083 * configure: Regenerate.
12084
4248b1b1
RM
120852012-06-22 Roland McGrath <roland@hack.frob.com>
12086
12087 * configure.in (libc_cv_localstatedir): New substituted variable.
12088 * configure: Regenerated.
12089 * config.make.in (localstatedir): New variable, substituted from
12090 libc_cv_localstatedir.
12091 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12092 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12093 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12094 * sysdeps/gnu/configure: Regenerated.
12095
006dd861
JL
120962012-06-21 Jeff Law <law@redhat.com>
12097
12098 [BZ #14277]
12099 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12100 free. Simplify list management for _LIBC case.
12101
79662d42
JM
121022012-06-21 Joseph Myers <joseph@codesourcery.com>
12103
b7abb4bf
JM
12104 [BZ #14273]
12105 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12106 Clear sign bit of 64-bit integer value before comparing against
12107 overflow value.
12108
79662d42
JM
12109 * sysdeps/mach/configure: Regenerated.
12110
1f150908
L
121112012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12112
12113 [BZ #14278]
12114 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12115
28363bbf
JL
121162012-06-21 Jeff Law <law@redhat.com>
12117
12118 [BZ #13882]
12119 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12120 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12121 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12122 * elf/dl-open.c (dl_open_worker): Likewise.
12123
09615db4
CD
121242012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12125
12126 * scripts/list-sources.sh: Scan PORTS for translations.
12127 * po/libc.pot: Regenerated.
12128
2174c6dd
AJ
121292012-06-21 Andreas Jaeger <aj@suse.de>
12130
12131 [BZ #12194]
12132 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12133 warning.
12134 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12135 * bits/byteswap-16.h (__bswap_16): Likewise.
12136 * bits/byteswap.h (__bswap_constant_16): Likewise.
12137
3ee947b1
L
121382012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12139
12140 [BZ #14117]
a2f34833
L
12141 * sysdeps/i386/fpu_control.h: Removed.
12142 * sysdeps/x86_64/fpu_control.h: Moved to ...
12143 * sysdeps/x86/fpu_control.h: Here.
12144
3ee947b1
L
12145 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12146 (_FPU_SETCW): Likewise.
12147
ed1825f8
L
121482012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12149
25f1282a
L
12150 [BZ #14117]
12151 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12152 * sysdeps/x86/fpu/bits/mathinline.h: This.
12153 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12154
ed1825f8
L
12155 [BZ #14050]
12156 [BZ #14117]
12157 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12158 functions if __x86_64__ is defined.
12159
36d54b74
CLT
121602012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12161
12162 * string/endian.h: Add !__ASSEMBLER__ condition for including
12163 conversion interfaces.
12164
10285c21
JM
121652012-06-15 Joseph Myers <joseph@codesourcery.com>
12166
12167 [BZ #14241]
12168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12169 of ABS(x) in calculating zero to negative powers other than odd
12170 integers.
12171 * math/libm-test.inc (pow_test): Add more tests.
12172
06c5abbd
AJ
121732012-06-15 Andreas Jaeger <aj@suse.de>
12174
12175 * manual/contrib.texi (Contributors): Update entry of Liubov
12176 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12177 Machado Filho.
12178
a3aeac40
CH
121792012-06-15 Cyril Hrubis <metan@ucw.cz>
12180
12181 * string/string.h: Add __wur to GNU version of strerror_r.
12182
49bdf4c1
L
121832012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12184
12185 [BZ #14229]
12186 * string/Makefile (tests): Add tst-strtok_r.
12187 * string/tst-strtok_r.c: New file.
12188 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12189 RAX_LP/RDX_LP on SAVE_PTR.
12190
834f9b8d
RM
121912012-06-14 Roland McGrath <roland@hack.frob.com>
12192
12193 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12194
75fa1921
JM
121952012-06-14 Joseph Myers <joseph@codesourcery.com>
12196
12197 * libm_test.inc (csqrt_test): Allow more spurious underflow
12198 exceptions.
12199 (j0_test): Likewise.
12200 (j1_test): Likewise.
12201 (y0_test): Likewise.
12202 (y1_test): Likewise.
12203
771766df
CD
122042012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12205
12206 * po/Makefile (libc.pot): Use UTF-8 charset.
12207
ceb9e56b
PP
122082012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12209
12210 [BZ #14210]
12211 Suppress sign-conversion warning from FD_SET.
12212 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12213 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12214 not unsigned long int.
12215 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12216
ddb28975
L
122172012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12218
12219 [BZ #14050]
12220 [BZ #14117]
12221 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12222 __extern_always_inline instead of __extern_inline.
12223 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12224 (__signbit): Likewise.
12225 (__signbitl): Support C++ namespace.
12226 (lrintf): New inline function.
12227 (lrint): Likewise.
12228 (llrintf): Likewise.
12229 (llrint): Likewise.
12230 (fmaxf): Likewise.
12231 (fmax): Likewise.
12232 (fminf): Likewise.
12233 (fmin): Likewise.
12234 (rint): Likewise.
12235 (rintf): Likewise.
12236 (ceil): Likewise.
12237 (ceilf): Likewise.
12238 (floor): Likewise.
12239 (floorf): Likewise.
12240 (nearbyint): Likewise.
12241 (nearbyintf): Likewise.
12242
d7b4fb26
TS
122432012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12244
12245 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12246 non-default versions.
12247
eb55f5c2
RM
122482012-06-11 Roland McGrath <roland@hack.frob.com>
12249
12250 [BZ #14218]
12251 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12252
366af02c
TS
122532012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12254
99ff6e5c
TS
12255 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12256 (FE_UPWARD, FE_DOWNWARD): Don't define.
12257 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12258 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12259
366af02c
TS
12260 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12261 reading it.
12262 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12263 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12264
793ea851
KK
122652012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12266
12267 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12268 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12269 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12270 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12271
a728a38f
L
122722012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12273
12274 [BZ #14117]
c08010c7
L
12275 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12276 * sysdeps/i386/fpu/Implies: New file.
12277 * sysdeps/x86_64/fpu/Implies: Likewise.
12278 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12279 * sysdeps/x86/fpu/bits/fenv.h: This.
12280
a728a38f
L
12281 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12282 __SSE_MATH__.
12283
6e230d11
SP
122842012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12285
12286 [BZ #14134]
12287 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12288 character 0xffff that matches the last element of the
12289 conversion table.
12290
1b671feb
AZ
122912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12292
12293 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12294 fmodl commit.
12295
6043738b
AZ
122962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12297
12298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12299 values higher than 25.6283.
12300
34ae0b32
AZ
123012012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12302
12303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12304 subnormal exponent extraction and add some __builtin_expect.
12305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12306 Fix for subnormal mantissa calculation.
12307
1214ec8f
MF
123082012-06-04 Mike Frysinger <vapier@gentoo.org>
12309
12310 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12311 cpu2 is -1 and errno is not ENOSYS.
12312
f3d1f93c
L
123132012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12314
12315 [BZ #14117]
0e4a3cd7
L
12316 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12317 * sysdeps/x86/bits/string.h: This.
12318 * sysdeps/x86_64/bits/string.h: Removed.
12319
6704c645
L
12320 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12321 if not compiling for x86-64, but compiling for >= i486.
12322
48495318
L
12323 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12324 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12325
14adcbfc
L
12326 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12327 New macro from Linux kernel 3.4.0.
12328 (FP_XSTATE_MAGIC2): Likewise.
12329 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12330 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12331 (struct _fpx_sw_bytes): New struct.
12332 (struct _xsave_hdr): Likewise.
12333 (struct _ymmh_state): Likewise.
12334 (struct _xstate): Likewise.
12335
68e408ab
L
12336 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12337 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12338 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12339 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12340 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12341 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12342
f3d1f93c
L
12343 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12344 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12345 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12346 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12347 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12348 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12349
d9dc34cd
TMQMF
123502012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12351
12352 [BZ #13743]
12353 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12354 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12355 (sysdep_headers): Include sys/platform/ppc.h.
12356 * sysdeps/powerpc/test-gettimebase.c: Test for
12357 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12358 * manual/Makefile (appendices): Include platform.texi.
12359 * manual/contrib.texi (Contributors): Update @node pointers.
12360 * manual/maint.texi (Maintenance): Likewise.
12361 (Platform): New node.
12362 * manual/platform.texi: New file. Document the new features.
12363
4af3879c
SP
123642012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12365 Jakub Jelinek <jakub@redhat.com>
12366
12367 [BZ #14188]
12368 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12369 where __builtin_expect is unavailable.
12370
2fd6ff13
DM
123712012-06-03 David S. Miller <davem@davemloft.net>
12372
12373 * stdlib/longlong.h: Updated from GCC.
12374
173f7220
AS
123752012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12376
12377 [BZ #14042]
12378 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12379 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12380 __mcount_internal.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12382 (GLIBC_2.16): Likewise.
12383
f34a1c6f
L
123842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12385
12386 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12387
88a4576f
JM
123882012-06-01 Joseph Myers <joseph@codesourcery.com>
12389
ea32bcdd
JM
12390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12391 (default-abi): New variable.
12392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12393 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12394 variable.
12395 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12396 Likewise.
12397 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12398 Likewise.
12399 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12400 Likewise.
12401
88a4576f
JM
12402 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12403 definition. Document in comment.
12404
402fe938
DM
124052012-06-01 David S. Miller <davem@davemloft.net>
12406
12407 * stdlib/longlong.h: Updated from GCC.
12408
3553723f
L
124092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12410
12411 [BZ #14117]
3bd872c4
L
12412 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12413 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12414 sys/debugreg.h sys/io.h here.
12415 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12416 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12417 sys/io.h.
12418 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12419 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12420 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12421 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12422 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12423 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12424
3553723f
L
12425 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12426 Define only if __x86_64__ is defined.
12427
4842e4fe
JM
124282012-06-01 Joseph Myers <joseph@codesourcery.com>
12429
c5bfe3d5
JM
12430 [BZ #14048]
12431 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12432 Use int64_t for variable i.
12433 * math/libm-test.inc (fmod_test): Add more tests.
12434
4842e4fe
JM
12435 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12436 z computation is not scheduled after fetestexcept.
12437 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12438 Use math_force_eval instead of asm to ensure calculation scheduled
12439 before exception test.
12440 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12441 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12442
efb73488
AJ
124432012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12444
12445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12446 computation is not scheduled after fetestexcept.
12447
29bcce7c
L
124482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12449
12450 [BZ #14117]
12451 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12452 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12453
73a68f94
AZ
124542012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12455
12456 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12457 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12458
67b6df78
L
124592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12460
edf2933a 12461 [BZ #14117]
ebc64a18
L
12462 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12463 <bits/wordsize.h>.
12464 (__WCHAR_MIN): Support __WORDSIZE == 64.
12465 (__WCHAR_MAX): Likewise.
12466
edf2933a
L
12467 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12468 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12469
57c6cf40
L
12470 [BZ #14183]
12471 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12472 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12473
67b6df78 12474 [BZ #14117]
8eb6281e
L
12475 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12476 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12477
aac639f4
L
12478 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12479 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12480
67b6df78
L
12481 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12482 Defined to 1 if __x86_64__ isn't defined.
12483 (_STAT_VER_LINUX_OLD): New.
12484 (st_atime): Remove duplicate.
12485 (st_mtime): Likewise.
12486 (st_ctime): Likewise.
12487
1c2cfe81
DM
124882012-05-31 David S. Miller <davem@davemloft.net>
12489
12490 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12491 entries.
12492
5be8418c
AS
124932012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12494
e7725326
AS
12495 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12496 gen-libm-test.pl.
12497
5be8418c
AS
12498 [BZ #14132]
12499 * elf/dl-reloc.c: Include <_itoa.h>.
12500 (_dl_reloc_bad_type): Remove use of INTUSE.
12501 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12502 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12503 * stdio-common/psiginfo.c (psiginfo): Likewise.
12504 * stdio-common/psignal.c (psignal): Likewise.
12505 * string/strsignal.c (strsignal): Likewise.
12506 * include/signal.h (_sys_siglist): Declare hidden proto.
12507 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12508 INTVARDEF with libc_hidden_data_def.
12509 * stdio-common/itoa-udigits.c: Likewise.
12510 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12511 (_itoa_lower_digits_internal): Remove declaration.
12512 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12513 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12514 (_sys_sigabbrev_internal): Remove aliases.
12515 (_sys_siglist): Define hidden alias.
12516
507352f1
MT
125172012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12518
12519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12520 bits/sysctl.h.
12521
42bbb1c3
L
125222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12523
12524 [BZ #14117]
6bd784b6
L
12525 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12526 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12527
8bca20f0
L
12528 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12529 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12530 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12531 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12532 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12533 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12534
f9e890a9
L
12535 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12536 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12537 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12538
471101a1
L
12539 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12540 with __addr.
12541 (insw): Likewise.
12542 (insl): Likewise.
12543 (outsb): Likewise.
12544 (outsw): Likewise.
12545 (outsl): Likewise.
12546
6451c862
L
12547 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12549 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12550
a254b8c9
L
12551 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12552 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12553 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12554 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12555 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12556 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12557
b8dfdd92
L
12558 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12559 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12560
578cd270
L
12561 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12562 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12563
de662f5f
L
12564 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12566 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12567
25653439
L
12568 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12569 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12570 to ...
12571 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12572
6bad24a0
L
12573 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12574 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12575 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12576
42bbb1c3
L
12577 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12578 for x86-64.
12579 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12580
2d10d547
JM
125812012-05-31 Joseph Myers <joseph@codesourcery.com>
12582
12583 * math/math.h (M_El): Use two more decimal places.
12584 (M_LOG2El): Likewise.
12585 (M_LOG10El): Likewise.
12586 (M_LN2l): Likewise.
12587 (M_LN10l): Likewise.
12588 (M_PIl): Likewise.
12589 (M_PI_2l): Likewise.
12590 (M_PI_4l): Likewise.
12591 (M_1_PIl): Likewise.
12592 (M_2_PIl): Likewise.
12593 (M_2_SQRTPIl): Likewise.
12594 (M_SQRT2l): Likewise.
12595 (M_SQRT1_2l): Likewise.
12596
f230c29b
DM
125972012-05-31 David S. Miller <davem@davemloft.net>
12598
12599 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12600 values between float registers.
12601 * sysdeps/sparc/sparc64/memset.S: Likewise.
12602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12603
fed806c3
MF
126042012-05-31 Mike Frysinger <vapier@gentoo.org>
12605
12606 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12607 -D_FORTIFY_SOURCE=1.
12608 (CPPFLAGS-tst-longjmp_chk.c): Define.
12609 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12610 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12611 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12612 CFLAGS-tst-wchar-h.c.
12613
30917259
MP
126142012-05-31 Marek Polacek <polacek@redhat.com>
12615
12616 [BZ #14132]
12617 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12618 __endmntent_internal): Remove declaration.
12619 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12620 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12621 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12622
1c58d5dc
DM
126232012-05-30 David S. Miller <davem@davemloft.net>
12624
12625 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12626 (___Q_simulate_exceptions): Use real FP ops rather than writing
12627 into the %fsr.
12628 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12629 Likewise.
12630
7dc00e0d
L
126312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12632
12633 [BZ #14117]
0bd53985
L
12634 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12635 * sysdeps/x86/bits/xtitypes.h: This.
12636
3a257e66
L
12637 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12638 * sysdeps/x86/bits/wordsize.h: This.
12639
62f62904
L
12640 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12641 * sysdeps/x86/bits/huge_vall.h: This.
12642
404fe9d9
L
12643 * sysdeps/i386/bits/select.h: Removed.
12644 * sysdeps/x86_64/bits/select.h: Renamed to ...
12645 * sysdeps/x86/bits/select.h: This.
12646
d48d0446
L
12647 * sysdeps/i386/bits/setjmp.h: Removed.
12648 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12649 * sysdeps/x86/bits/setjmp.h: This.
12650
7dc00e0d
L
12651 * sysdeps/i386/bits/mathdef.h: Removed.
12652 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12653 * sysdeps/x86/bits/mathdef.h: This.
12654
03277f8f
AS
126552012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12656
12657 [BZ #14132]
12658 * include/sys/socket.h (__connect_internal)
12659 (__libc_sa_len_internal): Remove declaration.
12660 (__connect, __libc_sa_len): Declare hidden_proto.
12661 (SA_LEN): Remove use of INTUSE.
12662 * socket/connect.c: Add libc_hidden_def.
12663 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12664 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12665 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12666 alias.
12667 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12668 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12669 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12670 of adding _internal alias.
12671
13764867
L
126722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12673
12674 [BZ #14117]
6bd97696
L
12675 * sysdeps/i386/bits/link.h: Removed.
12676 * sysdeps/i386/bits/linkmap.h: Likewise.
12677 * sysdeps/x86_64/bits/link.h: Renamed to ...
12678 * sysdeps/x86/bits/link.h: This.
12679 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12680 * sysdeps/x86/bits/linkmap.h: This.
12681
f726f0bb
L
12682 * sysdeps/i386/bits/endian.h: Removed.
12683 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12684 * sysdeps/x86/bits/endian.h: This.
12685
13764867
L
12686 * sysdeps/i386/bits/byteswap.h: Removed.
12687 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12688 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12689 * sysdeps/x86/bits/byteswap.h: This.
12690 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12691 * sysdeps/x86/bits/byteswap-16.h: This.
12692 * sysdeps/i386/Implies: Add x86.
12693 * sysdeps/x86_64/Implies: Likewise.
12694
ae251b0b
DM
126952012-05-30 David S. Miller <davem@davemloft.net>
12696
12697 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12698 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12699 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12700 (FP_TRAPPING_EXCEPTIONS): Define.
12701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12702 (FP_TRAPPING_EXCEPTIONS): Define.
12703 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12704 subnormals only when inexact has been signalled or underflow
12705 exceptions are enabled.
12706 (_FP_PACK_CANONICAL): Likewise.
12707
d5c90867
L
127082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12709
12710 [BZ #14183]
12711 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12712 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12713
63f1549e
RH
127142012-05-30 Richard Henderson <rth@twiddle.net>
12715
8d8f2279
RH
12716 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12717 with #ifndef NOT_IN_libc.
12718
63f1549e
RH
12719 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12720 marked to avoid plt entry.
12721
0ab0291b
L
127222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12723
12724 [BZ #14112]
12725 * Makeconfig (default-abi): New macro.
12726 (abi-includes): Likewise.
12727 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12728 $(abi-$(default-abi)-lib-soname) for soname if defined.
12729 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12730 abi-variants.
12731 * Makefile (installed-stubs): Likewise.
12732 * include/stubs-biarch.h: Removed.
12733 * scripts/lib-names.awk: Only handle one library at a time.
12734 * scripts/soversions.awk: Remove WORDSIZE support.
12735 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12736 entries.
12737 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12738 Removed.
12739 (syscall-list-default-condition): Likewise.
12740 (syscall-list-default-condition): Likewise.
12741 (syscall-list-includes): Likewise.
12742 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12743 syscall-list-* with abi-*. Handle undefined abi-variants.
12744 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12745 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12746 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12747 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12748 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12749 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12750 Removed.
12751 (syscall-list-32-options): Likewise.
12752 (syscall-list-32-condition): Likewise.
12753 (syscall-list-64-options): Likewise.
12754 (syscall-list-64-condition): Likewise.
12755 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12756 macro.
12757 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12758 Renamed to ...
12759 (abi-*): This.
12760 (abi-64-ld-soname): New macro.
12761 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12762 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12763 Renamed to ...
12764 (abi-*): This.
12765 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12766 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12767
4da0431d
JM
127682012-05-30 Joseph Myers <joseph@codesourcery.com>
12769
3a85279c
JM
12770 * sysdeps/unix/sysv/linux/kernel-features.h
12771 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12772 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12773 include <kernel-features.h>.
12774 [!__NR_ftruncate64]: Remove conditional code.
12775 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12776 [__NR_ftruncate64]: Make code unconditional.
12777 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12778 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12779 include <kernel-features.h>.
12780 [!__NR_ftruncate64]: Remove conditional code.
12781 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12782 [__NR_ftruncate64]: Make code unconditional.
12783 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12785 include <kernel-features.h>.
12786 [!__NR_ftruncate64]: Remove conditional code.
12787 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12788 [__NR_ftruncate64]: Make code unconditional.
12789 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12791 include <kernel-features.h>.
12792 [!__NR_ftruncate64]: Remove conditional code.
12793 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12794 [__NR_ftruncate64]: Make code unconditional.
12795 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12796
4da0431d
JM
12797 * configure.in (libc_cv_fpie): Weaken to a compile test using
12798 LIBC_TRY_CC_OPTION.
12799 * configure: Regenerated.
12800
11ef492c
AK
128012012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12802
12803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12807 Refreshed.
12808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12814 Refreshed.
12815
d66ef399
DM
128162012-05-27 David S. Miller <davem@davemloft.net>
12817
12818 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12819 (___Q_zero): New.
12820 (__Q_simulate_exceptions): Return void. Change to simulate
12821 exceptions by writing into the %fsr.
12822 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12823 (__Qp_handle_exceptions): Likewise.
12824 (numbers): Delete.
12825 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12826 __Qp_handle_exceptions.
12827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12828 __Qp_handle_exceptions.
12829 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12830 as unused and give dummy FP_RND_NEAREST initializer.
12831 (FP_INHIBIT_RESULTS): Define.
12832 (___Q_simulate_exceptions): Update declaration.
12833 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12834 formatting.
12835 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12836 as unused and give dummy FP_RND_NEAREST initializer.
12837 (__Qp_handle_exceptions): Update declaration.
12838 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12839 formatting.
12840
04fb54b5
TS
128412012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12842
12843 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12844 the temporary FPU control word.
12845 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12846 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12847 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12848 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12849 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12850 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12851 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12852 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12853 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12854 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12855 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12856
3f99608f
KK
128572012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12858
12859 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12860 fields.
12861
65a4de4e
CLT
128622012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12863
12864 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12865 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12866 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12867 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12868 Likewise.
12869 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12870 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12871 Likewise.
12872
15749d40
UD
128732012-05-27 Ulrich Drepper <drepper@gmail.com>
12874
12875 * po/h.po: Update from translation team.
12876
25dbcb27
AS
128772012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12878
3d3f8e55
AS
12879 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12880
25dbcb27
AS
12881 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12882 handling of denormals.
12883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12884 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12885 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12886 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12889 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12890 Likewise.
12891
7ad47a80 128922012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12893
12894 [BZ #14152]
12895 * math/libm-test.inc (fma_test): Don't always expect underflow
12896 exception.
12897
9c6ea9fa
SP
128982012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12899
12900 [BZ #12416]
12901 * elf/tst-execstack.c: Include stackinfo.h.
12902 (do_test): Adjust test case to ensure that pthread_getattr_np
12903 behaviour remains the same after marking stack executable.
12904
a8239222
JM
129052012-05-25 Joseph Myers <joseph@codesourcery.com>
12906
12907 * sysdeps/unix/sysv/linux/kernel-features.h
12908 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12909 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12910 kernel-features.h.
12911 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12912 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12913 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12914 kernel-features.h.
12915 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12916 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12917
918b5606
L
129182012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12919
12920 * configure.in: Define the default includes to being none.
12921 * configure: Regenerated.
12922
3a097cc7
RM
129232012-05-25 Roland McGrath <roland@hack.frob.com>
12924
8422c9a5
RM
12925 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12926 * sysdeps/x86_64/setjmp.S: Likewise.
12927 * sysdeps/i386/bsd-setjmp.S: Likewise.
12928 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12929 * sysdeps/i386/setjmp.S: Likewise.
12930 * sysdeps/i386/__longjmp.S: Likewise.
12931 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12932 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12933
3a097cc7
RM
12934 * include/stap-probe.h: New file.
12935 * configure.in: Handle --enable-systemtap.
12936 * configure: Regenerated.
12937 * config.h.in (USE_STAP_PROBE): New #undef.
12938 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12939 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12940 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12941
21708942
JM
129422012-05-25 Joseph Myers <joseph@codesourcery.com>
12943
12944 [BZ #13717]
12945 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12946 to 2.4.0 where earlier.
12947 * sysdeps/unix/sysv/linux/configure: Regenerated.
12948 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12949 <kernel-features.h>.
12950 [__ASSUME_32BITUIDS]: Make code unconditional.
12951 [!__ASSUME_32BITUIDS]: Remove conditional code.
12952 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12953 <kernel-features.h>.
12954 [__ASSUME_32BITUIDS]: Make code unconditional.
12955 [!__ASSUME_32BITUIDS]: Remove conditional code.
12956 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12957 [__ASSUME_32BITUIDS]: Make code unconditional.
12958 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12959 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12960 <kernel-features.h>.
12961 [__ASSUME_32BITUIDS]: Make code unconditional.
12962 [!__ASSUME_32BITUIDS]: Remove conditional code.
12963 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12964 <kernel-features.h>.
12965 [__ASSUME_32BITUIDS]: Make code unconditional.
12966 [!__ASSUME_32BITUIDS]: Remove conditional code.
12967 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12968 <kernel-features.h>.
12969 [__ASSUME_32BITUIDS]: Make code unconditional.
12970 [!__ASSUME_32BITUIDS]: Remove conditional code.
12971 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12972 <kernel-features.h>.
12973 [__ASSUME_32BITUIDS]: Make code unconditional.
12974 [!__ASSUME_32BITUIDS]: Remove conditional code.
12975 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12976 <kernel-features.h>.
12977 [__ASSUME_32BITUIDS]: Make code unconditional.
12978 [!__ASSUME_32BITUIDS]: Remove conditional code.
12979 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12980 <kernel-features.h>.
12981 [__ASSUME_32BITUIDS]: Make code unconditional.
12982 [!__ASSUME_32BITUIDS]: Remove conditional code.
12983 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12984 <kernel-features.h>.
12985 [__ASSUME_32BITUIDS]: Make code unconditional.
12986 [!__ASSUME_32BITUIDS]: Remove conditional code.
12987 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12988 <kernel-features.h>.
12989 [__ASSUME_32BITUIDS]: Make code unconditional.
12990 [!__ASSUME_32BITUIDS]: Remove conditional code.
12991 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12992 <kernel-features.h>.
12993 [__ASSUME_32BITUIDS]: Make code unconditional.
12994 [!__ASSUME_32BITUIDS]: Remove conditional code.
12995 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12996 <kernel-features.h>.
12997 [__ASSUME_32BITUIDS]: Make code unconditional.
12998 [!__ASSUME_32BITUIDS]: Remove conditional code.
12999 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13000 <kernel-features.h>.
13001 [__NR_setresgid] (__setresgid): Do not declare.
13002 [__ASSUME_32BITUIDS]: Make code unconditional.
13003 [!__ASSUME_32BITUIDS]: Remove conditional code.
13004 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13005 <kernel-features.h>.
13006 [__NR_setresuid] (__setresuid): Do not declare.
13007 [__ASSUME_32BITUIDS]: Make code unconditional.
13008 [!__ASSUME_32BITUIDS]: Remove conditional code.
13009 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13010 <kernel-features.h>.
13011 [__ASSUME_32BITUIDS]: Make code unconditional.
13012 [!__ASSUME_32BITUIDS]: Remove conditional code.
13013 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13014 <kernel-features.h>.
13015 [__ASSUME_32BITUIDS]: Make code unconditional.
13016 [!__ASSUME_32BITUIDS]: Remove conditional code.
13017 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13018 <kernel-features.h>.
13019 [__ASSUME_32BITUIDS]: Make code unconditional.
13020 [!__ASSUME_32BITUIDS]: Remove conditional code.
13021 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13022 <kernel-features.h>.
13023 [__ASSUME_32BITUIDS]: Make code unconditional.
13024 [!__ASSUME_32BITUIDS]: Remove conditional code.
13025 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13026 <kernel-features.h>.
13027 [__ASSUME_32BITUIDS]: Make code unconditional.
13028 [!__ASSUME_32BITUIDS]: Remove conditional code.
13029 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13030 <kernel-features.h>.
13031 [__ASSUME_32BITUIDS]: Make code unconditional.
13032 [!__ASSUME_32BITUIDS]: Remove conditional code.
13033 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13034 <kernel-features.h>.
13035 [__ASSUME_32BITUIDS]: Make code unconditional.
13036 [!__ASSUME_32BITUIDS]: Remove conditional code.
13037 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13038 <kernel-features.h>.
13039 [__ASSUME_32BITUIDS]: Make code unconditional.
13040 [!__ASSUME_32BITUIDS]: Remove conditional code.
13041 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13042 <kernel-features.h>.
13043 [__ASSUME_32BITUIDS]: Make code unconditional.
13044 [!__ASSUME_32BITUIDS]: Remove conditional code.
13045 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13046 <kernel-features.h>.
13047 [__ASSUME_32BITUIDS]: Make code unconditional.
13048 [!__ASSUME_32BITUIDS]: Remove conditional code.
13049 * sysdeps/unix/sysv/linux/kernel-features.h
13050 (__ASSUME_SETRESUID_SYSCALL): Remove.
13051 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13052 (__ASSUME_32BITUIDS): Likewise.
13053 (__ASSUME_LDT_WORKS): Likewise.
13054 (__ASSUME_O_DIRECTORY): Likewise.
13055 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13056 architecture but not kernel version.
13057 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13058 (__ASSUME_MMAP2_SYSCALL): Likewise.
13059 (__ASSUME_STAT64_SYSCALL): Likewise.
13060 (__ASSUME_IPC64): Likewise.
13061 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13062 <kernel-features.h>.
13063 [__ASSUME_32BITUIDS]: Make code unconditional.
13064 [!__ASSUME_32BITUIDS]: Remove conditional code.
13065 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13066 <kernel-features.h>.
13067 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13068 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13069 132096]: Remove conditional code.
13070 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13071 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13072 <kernel-features.h>.
13073 [__ASSUME_32BITUIDS]: Make code unconditional.
13074 [!__ASSUME_32BITUIDS]: Remove conditional code.
13075 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13076 <kernel-features.h>.
13077 [__ASSUME_32BITUIDS]: Make code unconditional.
13078 [!__ASSUME_32BITUIDS]: Remove conditional code.
13079 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13080 <kernel-features.h>.
13081 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13082 unconditional.
13083 (__setresgid): Do not declare.
13084 [__ASSUME_32BITUIDS]: Make code unconditional.
13085 [!__ASSUME_32BITUIDS]: Remove conditional code.
13086 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13087 <kernel-features.h>.
13088 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13089 unconditional.
13090 (__setresuid): Do not declare.
13091 [__ASSUME_32BITUIDS]: Make code unconditional.
13092 [!__ASSUME_32BITUIDS]: Remove conditional code.
13093 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13094 <kernel-features.h>.
13095 [__ASSUME_32BITUIDS]: Make code unconditional.
13096 [!__ASSUME_32BITUIDS]: Remove conditional code.
13097 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13098 <kernel-features.h>.
13099 [__ASSUME_32BITUIDS]: Make code unconditional.
13100 [!__ASSUME_32BITUIDS]: Remove conditional code.
13101
a386f1cc
RH
131022012-05-25 Richard Henderson <rth@twiddle.net>
13103
13104 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13105 dl_hwcap to ifunc resolver.
13106 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13107 elf_ifunc_invoke.
13108 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13109 dl_hwcap to ifunc resolver.
13110 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13111
b6550497
JM
131122012-05-24 Joseph Myers <joseph@codesourcery.com>
13113
13114 [BZ #14153]
13115 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13116 for |x| <= 2**-26, not 2**-57.
13117 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13118 exception.
13119
b0bc23a1
JL
131202012-05-24 Jeff Law <law@redhat.com>
13121
13122 * stdio-common/Makefile (tests): Add bug25.
13123 * stdio-common/bug25.c: New test.
13124
347c92e9
L
131252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13126
13127 [BZ #13576]
13128 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13129 multiple of MALLOC_ALIGNMENT in size.
13130 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13131
6bcc8b3f
JM
131322012-05-24 Joseph Myers <joseph@codesourcery.com>
13133
13134 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13135 Require >= 256.
13136 (FILENAME_MAX): Use macro-int-constant.
13137 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13138 (_IOFBF): Use macro-int-constant.
13139 (_IOLBF): Likewise.
13140 (_IONBF): Likewise.
13141 (SEEK_CUR): Likewise.
13142 (SEEK_END): Likewise.
13143 (SEEK_SET): Likewise.
13144 (TMP_MAX): Likewise.
13145 (EOF): Use macro-int-constant. Require < 0.
13146 (NULL): Use macro-constant. Require == 0.
13147 (stdin): Require type to be FILE *.
13148 (stdout): Likewise.
13149 (stderr): Likewise.
13150 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13151 macro-int-constant.
13152 (EXIT_SUCCESS): Likewise.
13153 (NULL): Use macro-constant. Require == 0.
13154 (RAND_MAX): Use macro-int-constant.
13155 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13156 [C99-based standards] (strtof): Require function.
13157 [C99-based standards] (strtold): Likewise.
13158 [C99-based standards] (strtoll): Likewise.
13159 [C99-based standards] (strtoull): Likewise.
13160 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13161 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13162 [ISO || ISO99 || ISO11] (math.h): Likewise.
13163 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13164 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13165 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13166
d18ea0c5
AS
131672012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13168
13169 [BZ #14132]
56d25bb8
AS
13170 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13171 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13172 * intl/dgettext.c (DCGETTEXT): Likewise.
13173 * intl/gettext.c (DCGETTEXT): Likewise.
13174 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13175 * posix/regex_internal.h (gettext): Likewise.
13176 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13177 Remove declaration.
13178 * include/argz.h (__argz_count_internal)
13179 (__argz_stringify_internal): Remove declaration.
13180 (__argz_count, __argz_stringify): Declare hidden proto.
13181 * intl/dcgettext.c: Remove use of INTDEF.
13182 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13183 * string/argz-stringify.c: Likewise.
13184 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13185 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13186 Declare hidden proto.
d18ea0c5
AS
13187 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13188 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13189 Declare hidden proto.
13190 * include/stdio.h (__asprintf_internal): Don't declare.
13191 (__asprintf): Don't define as macro. Declare hidden proto.
13192 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13193 (__fsetlocking): Declare hidden proto.
13194 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13195 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13196 hidden proto.
13197 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13198 (_IO_setlinebuf): Remove use of INTUSE.
13199 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13200 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13201 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13202 Remove declaration.
13203 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13204 (_IO_do_flush): Remove use of INTUSE.
13205 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13206 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13207 (_IO_adjust_column, _IO_least_wmarker)
13208 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13209 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13210 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13211 (_IO_default_doallocate, _IO_wdefault_doallocate)
13212 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13213 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13214 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13215 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13216 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13217 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13218 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13219 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13220 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13221 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13222 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13223 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13224 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13225 proto.
13226 (_IO_flush_all_internal, _IO_adjust_column_internal)
13227 (_IO_default_uflow_internal, _IO_default_finish_internal)
13228 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13229 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13230 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13231 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13232 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13233 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13234 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13235 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13236 (_IO_file_close_internal, _IO_file_close_it_internal)
13237 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13238 (_IO_file_init_internal, _IO_file_attach_internal)
13239 (_IO_file_fopen_internal, _IO_file_read_internal)
13240 (_IO_file_sync_internal, _IO_file_seek_internal)
13241 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13242 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13243 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13244 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13245 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13246 (_IO_list_all_internal, _IO_link_in_internal)
13247 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13248 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13249 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13250 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13251 (_IO_do_write_internal, _IO_padn_internal)
13252 (_IO_getline_info_internal, _IO_getline_internal)
13253 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13254 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13255 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13256 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13257 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13258 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13259 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13260 with libc_hidden_ver, remove use of INTUSE.
13261 * libio/genops.c: Likewise.
13262 * libio/freopen.c: Likewise.
13263 * libio/freopen64.c: Likewise.
13264 * libio/iofclose.c: Likewise.
13265 * libio/iofdopen.c: Likewise.
13266 * libio/iofflush.c: Likewise.
13267 * libio/iofflush_u.c: Likewise.
13268 * libio/iofgets.c: Likewise.
13269 * libio/iofgets_u.c: Likewise.
13270 * libio/iofopen.c: Likewise.
13271 * libio/iofopncook.c: Likewise.
13272 * libio/iofread.c: Likewise.
13273 * libio/iofread_u.c: Likewise.
13274 * libio/ioftell.c: Likewise.
13275 * libio/iofwrite.c: Likewise.
13276 * libio/iogetline.c: Likewise.
13277 * libio/iogets.c: Likewise.
13278 * libio/iogetwline.c: Likewise.
13279 * libio/iopadn.c: Likewise.
13280 * libio/iopopen.c: Likewise.
13281 * libio/ioseekoff.c: Likewise.
13282 * libio/ioseekpos.c: Likewise.
13283 * libio/iosetbuffer.c: Likewise.
13284 * libio/iosetvbuf.c: Likewise.
13285 * libio/ioungetc.c: Likewise.
13286 * libio/ioungetwc.c: Likewise.
13287 * libio/iovdprintf.c: Likewise.
13288 * libio/iovsprintf.c: Likewise.
13289 * libio/iovsscanf.c: Likewise.
13290 * libio/memstream.c: Likewise.
13291 * libio/obprintf.c: Likewise.
13292 * libio/oldfileops.c: Likewise.
13293 * libio/oldiofclose.c: Likewise.
13294 * libio/oldiofdopen.c: Likewise.
13295 * libio/oldiofopen.c: Likewise.
13296 * libio/oldiopopen.c: Likewise.
13297 * libio/oldstdfiles.c: Likewise.
13298 * libio/putc.c: Likewise.
13299 * libio/setbuf.c: Likewise.
13300 * libio/setlinebuf.c: Likewise.
13301 * libio/stdfiles.c: Likewise.
13302 * libio/strops.c: Likewise.
13303 * libio/vasprintf.c: Likewise.
13304 * libio/vscanf.c: Likewise.
13305 * libio/vsnprintf.c: Likewise.
13306 * libio/vswprintf.c: Likewise.
13307 * libio/wfiledoalloc.c: Likewise.
13308 * libio/wfileops.c: Likewise.
13309 * libio/wgenops.c: Likewise.
13310 * libio/wmemstream.c: Likewise.
13311 * libio/wstrops.c: Likewise.
13312 * libio/__fpurge.c: Likewise.
13313 * libio/__fsetlocking.c: Likewise.
13314 * assert/assert.c: Likewise.
13315 * debug/fgets_chk.c: Likewise.
13316 * debug/fgets_u_chk.c: Likewise.
13317 * debug/fread_chk.c: Likewise.
13318 * debug/fread_u_chk.c: Likewise.
13319 * debug/gets_chk.c: Likewise.
13320 * debug/obprintf_chk.c: Likewise.
13321 * debug/vasprintf_chk.c: Likewise.
13322 * debug/vdprintf_chk.c: Likewise.
13323 * debug/vsnprintf_chk.c: Likewise.
13324 * debug/vsprintf_chk.c: Likewise.
13325 * malloc/mtrace.c: Likewise.
13326 * misc/error.c: Likewise.
13327 * misc/syslog.c: Likewise.
13328 * stdio-common/asprintf.c: Likewise.
13329 * stdio-common/fxprintf.c: Likewise.
13330 * stdio-common/getw.c: Likewise.
13331 * stdio-common/isoc99_fscanf.c: Likewise.
13332 * stdio-common/isoc99_scanf.c: Likewise.
13333 * stdio-common/isoc99_vfscanf.c: Likewise.
13334 * stdio-common/isoc99_vscanf.c: Likewise.
13335 * stdio-common/isoc99_vsscanf.c: Likewise.
13336 * stdio-common/printf-prs.c: Likewise.
13337 * stdio-common/printf_fp.c: Likewise.
13338 * stdio-common/printf_fphex.c: Likewise.
13339 * stdio-common/printf_size.c: Likewise.
13340 * stdio-common/putw.c: Likewise.
13341 * stdio-common/scanf.c: Likewise.
13342 * stdio-common/sprintf.c: Likewise.
13343 * stdio-common/tmpfile.c: Likewise.
13344 * stdio-common/vfprintf.c: Likewise.
13345 * stdio-common/vfscanf.c: Likewise.
13346 * stdlib/strfmon_l.c: Likewise.
13347 * sunrpc/openchild.c: Likewise.
13348 * sunrpc/xdr_stdio.c: Likewise.
13349 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13350 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13351
d6c33fda
RM
133522012-05-24 Roland McGrath <roland@hack.frob.com>
13353
c1487492
RM
13354 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13355
13356 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13357 in the third column, to generate for the shared library an IFUNC
13358 that uses _dl_vdso_vsym.
13359 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13360 * Makeconfig (object-suffixes-noshared): New variable.
13361
13362 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13363 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13364 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13365 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13366
d6c33fda
RM
13367 [BZ #14132]
13368 * include/sys/time.h (__gettimeofday): Remove macro.
13369 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13370 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13371 Remove INTDEF.
13372 (__gettimeofday): Add libc_hidden_def.
13373 (gettimeofday): Add libc_hidden_weak.
13374 * sysdeps/mach/gettimeofday.c: Likewise.
13375 * sysdeps/posix/gettimeofday.c: Likewise.
13376 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13377 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13379 (__gettimeofday_internal): Remove strong_alias.
13380 (__gettimeofday): Add libc_hidden_def.
13381 (gettimeofday): Add libc_hidden_weak.
13382 * sysdeps/unix/syscalls.list (gettimeofday):
13383 Remove __gettimeofday_internal alias.
13384
b5a2bbe6
L
133852012-05-24 Daniel Jacobowitz <drow@false.org>
13386 H.J. Lu <hongjiu.lu@intel.com>
13387
13388 [BZ #12495]
13389 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13390 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13391 (largebin_index_32_big): New.
13392 (largebin_index): Use it for 16-byte alignment.
13393 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13394 correction with front_misalign.
13395
cfba4fda
L
133962012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13397
7f907421
L
13398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13400 Likewise.
13401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13402 Likewise.
13403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13404 Likewise.
13405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13406 Likewise.
13407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13408 Likewise.
13409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13410 Likewise.
13411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13412 Likewise.
13413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13414 Likewise.
13415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13416 Likewise.
13417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13418 Likewise.
13419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13420 Likewise.
13421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13422 Likewise.
13423
cfba4fda
L
13424 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13425 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13426
80bad0cc
JM
134272012-05-24 Joseph Myers <joseph@codesourcery.com>
13428
7a25eb06
JM
13429 [BZ #10846]
13430 [BZ #14036]
13431 * math/libm-test.inc (exp_test): Add test from bug 14036.
13432 (pow_test): Add test from bug 10846.
13433
795405f9
JM
13434 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13435 and other flags.
13436 (special_function): Do not include flags in test name.
13437 (parse_args): Likewise.
13438 * sysdeps/i386/fpu/libm-test-ulps: Update.
13439 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13440 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13441 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13443
80bad0cc
JM
13444 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13445 exceptions.
13446 * math/libm-test.inc ("Philosophy"): Update comment about
13447 exception testing.
13448 (UNDERFLOW_EXCEPTION): New macro.
13449 (UNDERFLOW_EXCEPTION_OK): Likewise.
13450 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13451 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13452 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13453 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13454 (INVALID_EXCEPTION_OK): Update value.
13455 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13456 (OVERFLOW_EXCEPTION_OK): Likewise.
13457 (IGNORE_ZERO_INF_SIGN): Likewise.
13458 (test_exceptions): Handle underflow exceptions.
13459 (acos_test): Update for underflow exception expectations.
13460 (cexp_test): Likewise.
13461 (clog_test): Likewise.
13462 (clog10_test): Likewise.
13463 (csqrt_test): Likewise.
13464 (ctan_test): Likewise.
13465 (ctanh_test): Likewise.
13466 (exp_test): Likewise.
13467 (exp10_test): Likewise.
13468 (exp2_test): Likewise.
13469 (expm1_test): Likewise.
13470 (fma_test): Likewise.
13471 (j0_test): Likewise.
13472 (jn_test): Likewise.
13473 (nexttoward_test): Likewise.
13474 (pow_test): Likewise.
13475 (scalbn_test): Likewise.
13476 (scalbln_test): Likewise.
13477 (tan_test): Likewise.
13478 (y1_test): Likewise.
13479 * sysdeps/i386/fpu/libm-test-ulps: Update.
13480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13481
9e0e3d0b
DM
134822012-05-23 David S. Miller <davem@davemloft.net>
13483
13484 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13485 (__libc_sigaction): Remove unused local variables.
13486
ccd0a08f
L
134872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13488
13489 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13490
62bdf9a6
PE
134912012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13492
f8591f80
PE
13493 mktime: avoid signed integer overflow
13494 * time/mktime.c (__mktime_internal): Do not mishandle the case
13495 where diff == INT_MIN.
13496
94c7d826
PE
13497 mktime: simplify computation of average
13498 * time/mktime.c (ranged_convert): Use new time_t_avg function
13499 instead of rolling our own (probably-slower) code.
13500
ce73d683
PE
13501 mktime: do not assume signed right shift propagates sign bit
13502 * time/mktime.c (isdst_differ): New static function.
13503 (__mktime_internal): No need to normalize tm_isdst now.
13504 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13505 tm_isdst values.
13506
72a22e59
PE
13507 mktime: merge another wrapv change from gnulib
13508 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13509 from some compilers.
13510
68605433
PE
13511 mktime: remove incorrect attempt at unusual arithmetics
13512 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13513 The code didn't really work on such machines anyway.
13514 (TYPE_MINIMUM): Assume two's complement.
13515 (twos_complement_arithmetic): Verify that long_int and time_t
13516 are two's complement (or unsigned, in the latter case).
13517
03cf7fe3
PE
13518 mktime: check signed shifts on long_int and time_t, too
13519 * time/mktime.c (SHR): Check that shifts work as desired
13520 on the types long_int and time_t too, as SHR is used on
13521 such types.
13522
f04dfbc2
PE
13523 mktime: do not assume 'long' is wide enough
13524 * time/mktime.c (verify): Move decl up.
13525 (long_int): New type.
13526 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13527 to remove assumption in the code that 'long' is wide enough to
13528 store year values. This assumption is not true on x32 and on
13529 some non-glibc platforms.
13530
62bdf9a6
PE
13531 mktime: merge wrapv change from gnulib
13532 * time/mktime.c (WRAPV): New macro.
13533 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13534 (guess_time_tm, __mktime_internal): Do not assume that signed
13535 integer overflow wraps around; modern compilers generate code
13536 where this assumption is no longer valid.
13537
5e292e4f
L
135382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13539
13540 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13541 Replace "jmp L(pseudo_end)" with "ret".
13542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13543 Likewise.
13544
8caf8c87
AJ
135452012-05-23 Andreas Jaeger <aj@suse.de>
13546
13547 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13548 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13549
1a09dc56
AJ
135502012-05-23 Andreas Jaeger <aj@suse.de>
13551 Maximilian Attems <max@stro.at>
13552
13553 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13554 New macros.
13555
1c87aba0
L
135562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13557
13558 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13559 code so that pseudo_end is just ret and the stack pointer is
13560 correct also for static library in error case.
13561
40e45bd5
JM
135622012-05-23 Joseph Myers <joseph@codesourcery.com>
13563
c2670533
JM
13564 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13565 move to syscalls.list.
13566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13570
40e45bd5
JM
13571 * manual/install.texi (Running make install): Do not mention Linux
13572 kernel version for which pt_chown is not needed.
13573 (Linux): Do not mention problems with nscd with 2.0 kernels.
13574 * INSTALL: Regenerated.
13575
be08eda5
AJ
135762012-05-23 Andreas Jaeger <aj@suse.de>
13577
13578 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13579 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13580 macro.
13581 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13582 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13583 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13584 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13585 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13586 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13587 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13588 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13589 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13590 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13591 * sysdeps/unix/sysv/linux/bits/in.h
13592 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13593
a6a056bb
RM
135942012-05-22 Roland McGrath <roland@hack.frob.com>
13595
13596 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13597 (PREPARE_VERSION): Just use assert instead, it will be elided
13598 under [NDEBUG] anyway.
13599
c9009328
L
136002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13601
13602 * sysdeps/unix/sysv/linux/Makefile: Include
13603 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13604 (sysdep_routines): Remove sysctl.
c9009328
L
13605 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13606 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13607 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13608 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13609 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13610
73338355
AJ
136112012-05-22 Andreas Jaeger <aj@suse.de>
13612
13613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13614 that pseudo_end is just ret and the stack pointer is correct also
13615 for static library in error case.
13616
d44638b0
PP
136172012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13618
13619 [BZ #14122]
13620 * nss/nsswitch.c (defconfig_entries): New variable.
13621 (__nss_database_lookup): Don't leak defconfig entries.
13622 (nss_parse_service_list): Don't leak on error paths.
13623 (free_database_entries): New function.
13624 (free_defconfig): New function.
13625 (free_mem): Move common code to free_database_entries.
13626
31a39bd8
L
136272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13628
da0331a8
L
13629 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13630 Add arch_prctl.
13631 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13632
31a39bd8
L
13633 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13634 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13636 New macro.
13637 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13638 (INTERNAL_SYSCALL_TYPES): Likewise.
13639 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13640 (LOAD_REGS_TYPES_[1-6]): Likewise.
13641 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13642 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13643
45470df3
AZ
136442012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13645
13646 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13647 copysignl for GLIBC_2_0.
13648 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13649 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13650 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13651 logbl for GLIBC_2_0.
13652 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13653 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13654
98a61bcb
L
136552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13656
a4f6e481
L
13657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13658 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13659
f63d5db6
L
13660 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13661 Use "neg %eax".
13662
98a61bcb
L
13663 * time/mktime.c: Update copyright years.
13664
95770f14
PE
136652012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13666
6226efbd
PE
13667 mktime: merge comment-quoting-style change from gnulib
13668 * time/mktime.c: Quote 'like this' in comments.
13669 The GNU coding standards suggest that we no longer quote `like this',
13670 as "`" and "'" are typically rendered asymmetrically nowadays.
13671 The typical gnulib style is to quote 'like this' when quoting
13672 code, and "like this" when quoting English.
13673
b99e4f78
PE
13674 * time/mktime.c (compile-command): Add "-I.".
13675
643e01e6
PE
13676 mktime: merge mktime-internal.h change from gnulib
13677 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13678
2554247d
PE
13679 mktime: merge time_r change from gnulib
13680 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13681
826dd0ab
PE
13682 mktime: merge DEBUG change from gnulib
13683 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13684 case system <time.h> has a #define.
13685
bd83aabe
PE
13686 mktime: merge <sys/types.h> change from gnulib
13687 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13688 since <time.t> is now guaranteed to define time_t.
13689
95770f14
PE
13690 mktime: merge HAVE_CONFIG_H change from gnulib
13691 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13692
5e1a27a9
L
136932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13694
0e44a77e
L
13695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13696 Use "neg %eax".
13697
5e1a27a9
L
13698 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13699 __rlim_t cast.
13700 (struct rusage): Use anonymous union to pad each field to
13701 __syscall_slong_t.
13702
46259bec
DM
137032012-05-21 David S. Miller <davem@davemloft.net>
13704
13705 * Makefules (o-iterator): Remove .s cases.
13706 (compile-command.s): Delete.
13707 (COMPILE.s): Delete.
13708 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13709
59f0c22e
JM
137102012-05-21 Joseph Myers <joseph@codesourcery.com>
13711
13712 * configure.in (libc_cv_predef_stack_protector): Only consider
13713 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13714 * configure: Regenerated.
13715
20c07380
L
137162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13717
bbb3154b
L
13718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13719 New macro. Use R*LP on int and pointer.
13720 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13721 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13722 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13723 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13724
20c07380
L
13725 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13726 [__WORDSIZE_TIME64_COMPAT32] instead of
13727 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13728 (struct utmp): Likewise.
13729 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13730 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13731 Renamed to ...
13732 (__WORDSIZE_TIME64_COMPAT32): This.
13733 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13734 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13735 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13736 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13737 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13738 (__WORDSIZE_TIME64_COMPAT32): New macro.
13739
d8d1017e
AJ
137402012-05-21 Andreas Jaeger <aj@suse.de>
13741
13742 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13743 only if [SHARED]. Add prototype for __wcschr_ia32.
13744
6c7fb145
RM
137452012-05-21 Roland McGrath <roland@hack.frob.com>
13746
13747 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13748 of %rbp unmolested in the jmp_buf while mangling the low bits.
13749 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13750 unmolested high bits of %rbp while demangling the low bits.
13751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13752
66274218
AJ
137532012-05-21 Andreas Jaeger <aj@suse.de>
13754
07c58f8f
AJ
13755 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13756 * sunrpc/svc_simple.c: Use it for registerrpc.
13757 * sunrpc/xcrypt.c: Use it for passwd2des.
13758
66274218
AJ
13759 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13760
61f65140
L
137612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13762
13763 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13764 Don't define if [__SYSCALL_WORDSIZE != 32].
13765 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13766 New macro.
13767
5fefb436
AJ
137682012-05-21 Bruno Haible <bruno@clisp.org>
13769 Andreas Jaeger <aj@suse.de>
13770
13771 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13772 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13773 inptr and inend for must_buffer_ch.
13774 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13775 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13776 * stdio-common/Makefile (tests): Remove bug15.
13777 (bug15-ENV): Remove macro.
13778 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13779 anymore.
13780
d8e272ab
AJ
137812012-05-19 Andreas Jaeger <aj@suse.de>
13782 Roland McGrath <roland@hack.frob.com>
13783
13784 * manual/contrib.texi: Completely rewritten. It contains now an
13785 alphabetical list of contributors and their contributions.
13786
4a56a162
RH
137872012-05-21 Richard Henderson <rth@twiddle.net>
13788
13789 * misc/getauxval.c (__getauxval): Use unsigned long int.
13790 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13791 (getauxval): Use unsigned long int.
13792
d024d23c
L
137932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13794
13795 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13796
cbc00a03
RM
137972012-05-21 Roland McGrath <roland@hack.frob.com>
13798
13799 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13800 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13801 __alignof__ (long double).
13802
478143fa
AZ
138032012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13804
13805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13806
c7683a6d
RH
138072012-05-20 Richard Henderson <rth@twiddle.net>
13808
13809 * misc/getauxval.c: New file.
13810 * misc/sys/auxv.h: New file.
13811 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13812 (routines): Add getauxval.
13813 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13814 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13815 * elf/dl-sysdep.c (_dl_auxv): Remove.
13816 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13817 * elf/dl-support.c (_dl_auxv): New variable.
13818 (_dl_aux_init): Initialize it.
13819 * manual/startup.texi (Auxiliary Vector): New node.
13820 * sysdeps/generic/bits/hwcap.h: New file.
13821 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13822 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13823 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13824 * sysdeps/sparc/sysdep.h: ... here. Include it.
13825 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13826 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13828 Update.
c7683a6d
RH
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13837
a6f1845d
AZ
138382012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13839
13840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13841
cbcbe830
DM
138422012-05-19 David S. Miller <davem@davemloft.net>
13843
13844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13845
e0b16cc2
JM
138462012-05-19 Joseph Myers <joseph@codesourcery.com>
13847
13848 [BZ #14123]
13849 * math/s_ccosh.c: Include <float.h>
13850 (__ccosh): Avoid internal overflow calculating sinh and cosh
13851 values before multiplying by sin and cos values.
13852 * math/s_ccoshf.c: Likewise.
13853 * math/s_ccoshl.c: Likewise.
13854 * math/s_csin.c: Likewise.
13855 * math/s_csinf.c: Likewise.
13856 * math/s_csinl.c: Likewise.
13857 * math/s_csinh.c: Likewise.
13858 * math/s_csinhf.c: Likewise.
13859 * math/s_csinhl.c: Likewise.
13860 * math/libm-test.inc (ccos_test): Add more tests.
13861 (ccosh_test): Likewise.
13862 (csin_test): Likewise.
13863 (csinh_test): Likewise.
13864 * sysdeps/i386/fpu/libm-test-ulps: Update.
13865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13866
6ad13e08
L
138672012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13868
f66f0ce8
L
13869 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13870 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13871
6ad13e08
L
13872 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13873
b1d072a7
JM
138742012-05-19 Joseph Myers <joseph@codesourcery.com>
13875
13876 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13877 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13878 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13879 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13880 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13881 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13882 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13883 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13884 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13885 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13886 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13887 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13888 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13889 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13890 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13891 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13892 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13893 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13894 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13895 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13896 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13897 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13898 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13899 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13900 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13901 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13902 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13903 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13904 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13905 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13906 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13907
9eae47cb
AJ
139082012-05-18 Andreas Jaeger <aj@suse.de>
13909
13910 * csu/.gitignore: Delete.
13911
bb07f69f
L
139122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13913
13914 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13915 (timex): Use __syscall_slong_t.
13916
e6bdb741
AJ
139172012-05-18 Andreas Jaeger <aj@suse.de>
13918 Carlos O'Donell <carlos_odonell@mentor.com>
13919
13920 * manual/install.texi (Configuring and compiling): Update
13921 description about files modified in the source directory.
d6c33fda 13922 * INSTALL: Regenerated.
e6bdb741 13923
1b74487e
L
139242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13925
13926 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13927 value. Use "or" to set return value to -1.
13928 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13929 negate return value.
13930
a88b64b9
TMQMF
139312012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13932
13933 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13934 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13935 failure if the compiler has Graphite support disabled.
13936 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13937 Likewise.
13938 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13939 CFLAGS-memmove.c): Likewise.
13940 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13941 Likewise.
13942
3707636e
L
139432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13944
610b8622
L
13945 * sysdeps/x86_64/x32/_itoa.h: New file.
13946
7cd195df
L
13947 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13948 getdents system call only if kernel and user dirents have the
13949 same d_ino and d_off.
13950
94b07d20
L
13951 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13952 LLONG_MAX != LONG_MAX.
13953 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13954 (_fitoa_word): Likewise.
13955
18298070
L
13956 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13957 years.
13958 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13959 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13960 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13961
553c7ea4
L
13962 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13963 include <bits/wordsize.h>. Check __x86_64__ instead of
13964 __WORDSIZE.
13965 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13966 if __x86_64__ is defined. Use anonymous union on fpstate.
13967
3707636e
L
13968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13969 anonymous union.
13970
b53ef01a
AS
139712012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13972
37fb1dc0
AS
13973 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13974 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13975 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13976 Refer to _rtld_local_ro instead of _rtld_global_ro.
13977 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13978 Likewise.
13979 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13980 Likewise.
13981 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13982 Likewise.
13983 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13984 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13985 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13986
b53ef01a
AS
13987 * sysdeps/powerpc/powerpc32/dl-machine.c
13988 (__elf_machine_runtime_setup) [PROF]: Don't reference
13989 _dl_prof_resolve.
13990
7a185db2
AJ
139912012-05-18 Andreas Jaeger <aj@suse.de>
13992
13993 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13994 function only available for GCCs before 3.4 since GCC 3.4
13995 introduced a builtin.
13996 (lrint): Likewise.
13997 (llrintf): Likewise.
13998 (llrint): Likewise.
13999 (fmaxf): Likewise.
14000 (fmax): Likewise.
14001 (fminf): Likewise.
14002 (fmin): Likewise.
14003 (rint): Likewise.
14004 (rintf): Likewise.
14005 (nearbyint): Likewise.
14006 (nearbyintf): Likewise.
14007 (ceil): Likewise.
14008 (ceilf): Likewise.
14009 (floor): Likewise.
14010 (floorf): Likewise.
14011
3e5aef87
L
140122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14013
428bd707
L
14014 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14015 on both fields and cast pointer to __syscall_ulong_t.
14016
3e5aef87
L
14017 * bits/types.h (__fsword_t): New type.
14018 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14019 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14020 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14021 (__FSWORD_T_TYPE): Likewise.
14022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14023 (__FSWORD_T_TYPE): Likewise.
14024 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14025 (__FSWORD_T_TYPE): Likewise.
14026 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14027 (__FSWORD_T_TYPE): Likewise.
14028 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14029 __SWORD_TYPE with __fsword_t.
14030 (statfs64): Likewise.
14031
1ba7c3dc
DM
140322012-05-17 David S. Miller <davem@davemloft.net>
14033
14034 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14035
59910343
AJ
140362012-05-17 Andreas Jaeger <aj@suse.de>
14037
14038 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14039 warning.
14040
2e4c1e9e
L
140412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14042
14043 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14044
de7f5ce7
AJ
140452012-05-17 Andreas Jaeger <aj@suse.de>
14046
14047 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14048 when it is used.
14049
286abc3d
CM
140502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14051
14052 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14053
477cc68e
L
140542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14055
14056 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14057 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14058
1a0994f5
CD
140592012-05-17 Andreas Jaeger <aj@suse.de>
14060 Carlos O'Donell <carlos_odonell@mentor.com>
14061
14062 [BZ #14059]
14063 * sysdeps/x86_64/multiarch/init-arch.h
14064 (bit_YMM_Usable): Rename to...
14065 (bit_AVX_Usable): ... this.
14066 (bit_FMA4_Usable): New macro.
14067 (bit_XMM_state): New macro.
14068 (bit_YMM_state): New macro.
14069 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14070 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14071 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14072 (CPUID_OSXSAVE): New macro.
14073 (CPUID_AVX): New macro.
14074 (CPUID_FMA4): New macro.
14075 (index_YMM_Usable): Rename to...
14076 (index_AVX_Usable): ... this.
14077 (HAS_AVX): Use HAS_ARCH_FEATURE.
14078 (HAS_FMA4): Likewise.
14079 (HAS_YMM_USABLE): Remove.
14080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14081 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14082 are present.
14083 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14084 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14085 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14086 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14087 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14088
0af797de
CM
140892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14090
14091 * math/libm-test.c: Support platforms without multiple rounding modes.
14092 * math/bug-nextafter.c: Support platforms without FP exceptions.
14093 * math/bug-nexttoward.c: Likewise.
14094 * math/test-fenv.c: Likewise.
14095 * math/test-misc.c: Likewise.
14096 * stdlib/bug-getcontext.c: Likewise.
14097
e39745ff
AJ
140982012-05-17 Andreas Jaeger <aj@suse.de>
14099
14100 * manual/examples/search.c (critter_cmp): Change signature to
14101 avoid warnings.
14102 * manual/string.texi (Collation Functions): Likewise.
14103
48970aba
L
141042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14105
14106 * bits/types.h: Fold copyright years.
14107 * bits/typesizes.h: Likewise.
14108 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14112 * time/time.h: Likewise.
14113
bedee953
PP
141142012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14115
14116 [BZ #208]
14117 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14118 in instead of returning them. Return void.
14119 (__libc_mallinfo): Accumulate over all arenas.
14120 (__malloc_stats): Adjust for change in int_mallinfo interface.
14121
61653dfb
RM
141222012-05-16 Roland McGrath <roland@hack.frob.com>
14123
30b99d79
RM
14124 [BZ #10375]
14125 * configure.in (NM): Add AC_CHECK_TOOL for it.
14126 (libc_extra_cflags): New substituted variable.
14127 Check for -fstack-protector being used implicitly.
14128 * configure: Regenerated.
14129 * config.make.in (config-extra-cflags): New variable,
14130 gets @libc_extra_cflags@.
14131 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14132
61653dfb
RM
14133 [BZ #10375]
14134 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14135 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14136 * configure: Regenerated.
14137 * config.make.in (CPPUNDEFS): New substituted variable.
14138 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14139 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14140 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14141
661768bb
L
141422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14143
14144 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14145 (mq_attr): Use __syscall_slong_t.
14146
d4261567
L
141472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14148
14149 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14150 Check __x86_64__ instead of __WORDSIZE.
14151 (_STAT_VER_LINUX): Likewise.
14152 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14153 __syscall_ulong_t and __syscall_slong_t.
14154 (stat64): Likewise.
14155
cf3ff365
L
141562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14157
14158 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14159
76cf3e4d
L
141602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14161
14162 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14163
a637753a
L
141642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14165
14166 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14167 __syscall_ulong_t.
14168
d5e05119
L
14169 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14170 include <bits/wordsize.h>. Check __x86_64__ instead of
14171 __WORDSIZE.
14172 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14173 defined.
14174 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14175
f62ee380
L
14176 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14177 include <bits/wordsize.h>. Check __x86_64__ instead of
14178 __WORDSIZE.
14179 (user_regs_struct): Use "__extension__ unsigned long long"
14180 instead of "unsigned long" if __x86_64__ is defined.
14181 (user): Likewise. Pad after pointer field if __ILP32__ is
14182 defined.
14183
4e124ced
JM
141842012-05-16 Joseph Myers <joseph@codesourcery.com>
14185
6a3951a0
JM
14186 * configure.in (makeinfo): Require version 4.5 or later. Allow
14187 versions 5 to 9.
14188 * configure: Regenerated.
14189 * manual/install.texi (texinfo): Increase version requirement to
14190 4.5 or later.
14191 * INSTALL: Regenerated.
14192
4e124ced
JM
14193 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14194
953ca31a
L
141952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14196
14197 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14198
617aca05
L
14199 * sysdeps/x86_64/x32/ffs.c: New file.
14200
5762f7ae
L
14201 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14202 __syscall_ulong_t.
14203 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14204 defined. Use __syscall_ulong_t.
14205 (shminfo): Use __syscall_ulong_t.
14206 (shm_info): Likewise.
14207
a26b6856
L
14208 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14209 __syscall_ulong_t.
14210
cb2b9ef7
L
14211 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14212 <bits/wordsize.h>.
14213 (msgqnum_t): Use __syscall_ulong_t.
14214 (msglen_t): Likewise.
14215 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14216 __syscall_ulong_t.
14217
34683bb0
L
14218 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14219 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14220
84a68786
L
14221 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14222
48baa5f1
L
14223 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14224 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14225
180be88b
L
14226 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14227 __syscall_slong_t.
14228
5e90c8ad
L
14229 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14230 include <bits/wordsize.h>. Check __x86_64__ instead of
14231 __WORDSIZE.
14232
23dfb58b
L
14233 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14234 "unsigned long long int" if __x86_64__ is defined.
14235 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14236
ce5d54b0
L
14237 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14238 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14239 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14240
13dc9eac
L
14241 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14242 <stdint.h>.
14243 (GET_PC): Cast to uintptr_t first.
14244 (GET_FRAME): Likewise.
14245 (GET_STACK): Likewise.
14246
a7895d15
L
14247 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14248 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14249 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14250 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14251 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14252 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14253 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14254 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14255 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14257 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14258 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14259 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14260 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14261 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14262 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14263 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14264 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14265 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14266 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14267 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14268 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14269 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14270 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14271 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14272 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14273 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14274 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14276
656416c9
AS
142772012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14278
5bd66283
AS
14279 * Makerules (+depfiles): Also collect depfiles from .oS in
14280 $(extra-objs).
14281 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14282 .oS, $(libnldbl-routines)).
14283
656416c9
AS
14284 * Makerules (native-compile-mkdep-flags): Define.
14285 * sunrpc/Makefile (extra-objs): Add $(addprefix
14286 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14287 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14288 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14289 calling $(make-target-directory).
14290
a46f2169
L
142912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14292
14293 * bits/types.h (__snseconds_t): Removed.
14294 * time/time.h (struct timespec): Replace __snseconds_t with
14295 __syscall_slong_t.
14296 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14297 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14298 Likewise.
14299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14300 (__SNSECONDS_T_TYPE): Likewise.
14301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14302 (__SNSECONDS_T_TYPE): Likewise.
14303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14304 (__SNSECONDS_T_TYPE): Likewise.
14305
6af6528b
L
143062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14307
14308 * sysdeps/mach/hurd/bits/typesizes.h
14309 (__SYSCALL_SLONG_TYPE): New macro.
14310 (__SYSCALL_ULONG_TYPE): Likewise.
14311
de986b56
L
143122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14313
14314 * bits/types.h (__syscall_slong_t): New type.
14315 (__syscall_ulong_t): Likewise.
14316
14317 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14318 (__SYSCALL_ULONG_TYPE): Likewise.
14319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14320 (__SYSCALL_SLONG_TYPE): Likewise.
14321 (__SYSCALL_ULONG_TYPE): Likewise.
14322 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14323 (__SYSCALL_SLONG_TYPE): Likewise.
14324 (__SYSCALL_ULONG_TYPE): Likewise.
14325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14326 (__SYSCALL_SLONG_TYPE): Likewise.
14327 (__SYSCALL_ULONG_TYPE): Likewise.
14328
85736dc7
L
143292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14330
14331 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14332 Add sigaltstack-offsets.sym.
14333 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14334 <sigaltstack-offsets.h>.
14335 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14336 longjmp_msg pointer.
14337 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14338 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14339 signal stack.
14340 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14341
cc03b296
JM
143422012-05-15 Joseph Myers <joseph@codesourcery.com>
14343
a9538892
JM
14344 * elf/stackguard-macros.h: Remove file.
14345 * sysdeps/generic/stackguard-macros.h: New file.
14346 * sysdeps/i386/stackguard-macros.h: Likewise.
14347 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14348 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14349 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14350 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14351 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14352 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14353 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14354 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14355 <elf/stackguard-macros.h>.
14356
cc03b296
JM
14357 [BZ #14109]
14358 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14359 __aligned__ in attribute.
14360 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14361 (gregset_t): Likewise.
14362
93171016
L
143632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14364
14365 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14366 * sysdeps/x86_64/64/Implies-after: Here. New file.
14367 * sysdeps/x86_64/x32/Implies-after: New file.
14368
d86813a0
L
143692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14370
14371 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14372 and access return value for _dl_profile_fixup. Use R10_LP to
14373 load frame size.
14374
2953ec75
L
143752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14376
14377 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14378
3b550e9e
L
143792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14380
14381 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14382 * sysdeps/x86_64/x32/sysdep.h: New file.
14383
eda41706
L
143842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14385
14386 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14387 * sysdeps/x86_64/setjmp.S: Likewise.
14388
9ea01d93
AZ
143892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14390
14391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14392 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14393 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14394 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14395 remove unused global constant.
14396
02a91938
CM
143972012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14398
14399 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14400 include of <not-cancel.h>.
14401
6540185f
RM
144022012-05-15 Roland McGrath <roland@hack.frob.com>
14403
14404 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14405
509072a0
AJ
144062012-05-15 Jeff Law <law@redhat.com>
14407 Andreas Jaeger <aj@suse.de>
14408
14409 [BZ #13594]
14410 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14411 out from...
14412 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14413 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14414 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14415 code changing __hst_map_handle.map.
14416
ba75122d
RM
144172012-05-15 Roland McGrath <roland@hack.frob.com>
14418
14419 * configure.in (sysnames): Look for Implies-before and Implies-after
14420 files.
14421 * configure: Regenerated.
14422
890d8bd8
L
144232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14424
14425 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14426 8-byte data alignment with LP_SIZE alignment.
14427
f6ee6623
L
144282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14429
14430 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14431 into R10_LP.
14432
ea2626f6
L
144332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14434
14435 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14436
085f715e
L
144372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14438
14439 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14440 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14441 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14442 Likewise.
14443 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14444
be8498fc
L
144452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14446
14447 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14448 (stackinfo_sub_sp): Likewise.
14449
70bc83b9
L
144502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14451
14452 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14453 RAX_LP.
14454
9bc0b730
L
144552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14456
14457 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14458 into R*_LP.
14459
6d2850e7
L
144602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14461
14462 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14463 sizes into R*_LP.
14464
3cb84561
L
144652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14466
14467 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14468
54e2ed81
L
144692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14470
14471 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14472 into R11_LP and load __x86_64_shared_cache_size_half into
14473 R8_LP.
14474
8a17f349
L
144752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14476
14477 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14478 R8_LP.
14479
777b1eea
AZ
144802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14481
14482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14483 logb for POWER7.
14484 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14485 logbf for POWER7.
14486 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14487 logbl for POWER7.
14488 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14489 powerpc32/power7/fpu/s_logb.c via #include.
14490 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14491 powerpc32/power7/fpu/s_logbf.c via #include.
14492 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14493 powerpc32/power7/fpu/s_logbl.c via #include.
14494
d20d4ac2
JM
144952012-05-15 Joseph Myers <joseph@codesourcery.com>
14496
14497 * README.libm: Remove file.
14498
6cdef1ab
L
144992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14500
14501 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14502 count for x32. Use R*_LP and omit operand-size suffix.
14503
0b254d8f
L
145042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14505
14506 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14507 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14508 * sysdeps/x86_64/x32/shlib-versions: New file.
14509
ceb809dc
RM
145102012-05-14 Roland McGrath <roland@hack.frob.com>
14511
14512 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14513 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14514 Use _dl_fatal_printf instead.
14515
37f1abd4
JM
145162012-05-14 Joseph Myers <joseph@codesourcery.com>
14517
14518 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14519 set if not set by the user. Do not allow for being unset.
14520 * sysdeps/unix/sysv/linux/configure: Regenerated.
14521
11de3a33
L
145222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14523
14524 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14525 the `q' suffix from lea and replace .quad with ASM_ADDR.
14526
e02f153a
L
145272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14528
14529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14530 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14531 instead of $17.
14532 (PTR_DEMANGLE): Likewise.
14533
520ae0fd
L
145342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14535
14536 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14537 (LP_OP): Likewise.
14538 (ASM_ADDR): Likewise.
14539 (RAX_LP): Likewise.
14540 (RBP_LP): Likewise.
14541 (RBX_LP): Likewise.
14542 (RCX_LP): Likewise.
14543 (RDI_LP): Likewise.
14544 (RSI_LP): Likewise.
14545 (RSP_LP): Likewise.
14546 (R8_LP): Likewise.
14547 (R9_LP): Likewise.
14548 (R10_LP): Likewise.
14549 (R10_LP): Likewise.
14550 (R11_LP): Likewise.
14551 (R12_LP): Likewise.
14552 (R13_LP): Likewise.
14553 (R14_LP): Likewise.
14554 (R15_LP): Likewise.
14555
b985be81
L
145562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14557
14558 * sysdeps/x86_64/x32/dl-machine.h: New file.
14559
6a4888ff
AJ
145602012-05-14 Andreas Jaeger <aj@suse.de>
14561
14562 * manual/Makefile (subdir): Remove export of subdir.
14563 (all): Remove target.
14564 (.PHONY): Remove all from list.
14565 (mkinstalldirs): Remove.
14566 (.PHONY): Remove installdirs from list.
14567 ($(inst_infodir)/libc.info): Use make-target-directory.
14568 (installdirs): Remove.
14569 (subdir_%): Remove.
14570 (glibc-targets): Remove.
14571 (lib): Remove.
14572 (stubs): Remove.
14573 ($(objpfx)stubs ../po/manual.pot): Remove.
14574 ($(objpfx)stamp%): Remove.
14575 (make-target-directory): Remove.
14576 (subdir_install): Remove.
14577 (routines): Remove.
14578 (aux): Remove.
14579 (sources): Remove.
14580 (objects): Remove.
14581 (headers): Remove.
14582
14583 [BZ #13750]
14584 * manual/.gitignore: Remove, it's not needed anymore.
14585 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14586 all files in it.
14587 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14588 directory.
14589 (texis): Renamed to $(objpfx)texis.
14590 (texis-path): New, contains path to generated files.
14591 (chapters.%): Use texis-path for complete path, add extra argument
14592 libc-texinfo.sh.
14593 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14594 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14595 (summary,texi, stamp-summary): Use complete path of
14596 files. Generate files in build dir.
14597 (dir-add.texi): Build in build dir.
14598 (libm-err.texi,stamp-libm-err): Likewise.
14599 (version.texi, stamp-version): Likewise.
14600 (.%c.texi): Likewise.
14601 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14602 (mostlyclean): Remove target.
14603 (realclean): Remove target.
14604 (generated): Add new variable with contents from mostlyclean and
14605 realclean, remove entries duplicated in common-mostlyclean, add
14606 stamp-libm-err and stamp-version.
14607 (generated-dirs): Add libc directory.
14608 ($(inst_infodir)/libc.info): Install files from build dir.
14609
14610 * manual/install.texi (Configuring and compiling): Adjust since
14611 the info files are not part of the tar ball anymore.
14612
7ac77294
AJ
146132012-05-14 Andreas Jaeger <aj@suse.de>
14614
14615 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14616 variable.
14617
ffb7875d
JM
146182012-05-14 Joseph Myers <joseph@codesourcery.com>
14619
14620 [BZ #13717]
14621 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14622 to 2.2.0 where earlier.
14623 * sysdeps/unix/sysv/linux/configure: Regenerated.
14624 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14625 Remove conditional code.
14626 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14627 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14628 Remove conditional code.
14629 [!__NR_lchown]: Likewise.
14630 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14631 [__NR_lchown]: Likewise.
14632 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14633 comment referencing __ASSUME_LCHOWN_SYSCALL.
14634 * sysdeps/unix/sysv/linux/i386/sigaction.c
14635 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14636 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14637 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14638 Remove conditional code.
14639 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14640 (__protocol_available): Remove #if 0 code.
14641 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14642 conditional code.
14643 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14644 * sysdeps/unix/sysv/linux/kernel-features.h
14645 (__ASSUME_GETCWD_SYSCALL): Don't define.
14646 (__ASSUME_REALTIME_SIGNALS): Likewise.
14647 (__ASSUME_PREAD_SYSCALL): Likewise.
14648 (__ASSUME_PWRITE_SYSCALL): Likewise.
14649 (__ASSUME_POLL_SYSCALL): Likewise.
14650 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14651 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14652 non-SPARC.
14653 (__ASSUME_SIOCGIFNAME): Don't define.
14654 (__ASSUME_MSG_NOSIGNAL): Likewise.
14655 (__ASSUME_SENDFILE): Define unconditionally.
14656 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14657 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14658 conditional code.
14659 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14660 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14661 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14662 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14663 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14664 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14665 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14667 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14670 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14673 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14674 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14676 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14679 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14680 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14682 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14685 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14690 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14691 Remove conditional code.
14692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14693 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14694 Remove conditional code.
14695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14696 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14697 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14698 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14699 Remove conditional code.
14700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14701 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14702 Remove conditional code.
14703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14704 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14705 Remove conditional code.
14706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14707 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14708 Remove conditional code.
14709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14710 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14711 Remove conditional code.
14712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14713 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14714 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14716 * sysdeps/unix/sysv/linux/sigaction.c
14717 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14718 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14719 * sysdeps/unix/sysv/linux/sigpending.c
14720 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14721 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14722 * sysdeps/unix/sysv/linux/sigprocmask.c
14723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14725 * sysdeps/unix/sysv/linux/sigsuspend.c
14726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14728 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14729 (__libc_missing_rt_sigs): Remove.
14730 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14731 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14732 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14733 Remove conditional code.
14734 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14735 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14736 return 1.
14737 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14738 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14739 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14740 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14741
1bfb7291
AJ
147422012-05-14 Andreas Jaeger <aj@suse.de>
14743
caae5a81
AJ
14744 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14745 it's not used in glibc.
14746 (__coshm1): Likewise.
14747 (__acosh1p): Likewise.
14748 (__sgn): Likewise.
14749
1bfb7291
AJ
14750 * manual/string.texi (Copying and Concatenation): Add missing
14751 variable in concat example.
14752 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14753
c044d724
L
147542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14755
144c5467 14756 [BZ #14103]
c044d724
L
14757 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14758 __builtin_clzl with __builtin_clzll.
14759
2523c62b
L
147602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14761
14762 [BZ #14104]
14763 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14764 libc_freeres_ptr.
14765
d7bb4c42
LD
147662012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14767
14768 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14769 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14770 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14771 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14772
9dc4e1fb
MF
147732012-05-14 Mike Frysinger <vapier@gentoo.org>
14774
14775 * NEWS: Update ia64 info.
14776
c7df0112
AS
147772012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14778
14779 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14780 used as bcopy.
14781
dc70356c
TS
147822012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14783
14784 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14785 * sysdeps/unix/syscalls.list (dup3): Likewise.
14786 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14787 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14788
9fb1a21f
L
147892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14790
14791 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14792 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14793
4822a2a5
L
147942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14795
14796 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14797 thread pointer.
14798 (TLS_IE): Use mov/add instead of movq/addq to load thread
14799 pointer.
14800 (TLS_GD_PREFIX): New.
14801 (TLS_GD): Use it.
14802
842b81d6
DM
148032012-05-11 David S. Miller <davem@davemloft.net>
14804
14805 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14806 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14807 (_FPU_SETCW): Likewise.
14808
1cf463cd
L
148092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14810
14811 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14812 is 32-byte aligned.
14813
60cc4a18
AS
148142012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14815
14816 [BZ #11837]
14817 * iconvdata/gb18030.c: Update tables.
14818 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14819 characters specially.
14820 (BODY for TO_LOOP): Add encoding of missing ranges.
14821
febb44a4
TS
148222012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14823
14824 [BZ #13673]
14825 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14826 * sysdeps/mach/hurd/dup3.c: Likewise.
14827 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14828 * sysdeps/powerpc/memmove.c:: Likewise.
14829
0a10fb9e
L
148302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14831
14832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14833 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14834
df8a552f
L
148352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14836
14837 * elf/elf.h (R_X86_64_RELATIVE64): New.
14838 (R_X86_64_NUM): Updated.
14839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14840 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14841 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14842 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14843 tst-quad1pie tst-quad2pie
14844 (modules-names): Add tst-quadmod1 tst-quadmod2.
14845 ($(objpfx)tst-quad1): New dependency.
14846 ($(objpfx)tst-quad2): Likewise.
14847 ($(objpfx)tst-quad1pie): Likewise.
14848 ($(objpfx)tst-quad2pie): Likewise.
14849 * sysdeps/x86_64/tst-quad1.c: New file.
14850 * sysdeps/x86_64/tst-quad1pie.c: New file.
14851 * sysdeps/x86_64/tst-quad2.c: Likewise.
14852 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14853 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14854 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14855 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14856 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14857
f34d6f84
ST
148582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14859
f42d41d1
ST
14860 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14861 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14862 * streams/stropts.h (t_scalar_t): Define type.
14863
3c3571fc
ST
14864 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14865 (_PATH_PRESERVE): Set to "/var/lib".
14866 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14867
61f06bd3
ST
14868 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14869 instead of int.
14870
918d4d71
ST
14871 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14872 if __dir_mkfile succeeded.
14873
f34d6f84
ST
14874 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14875 checking for _hurd_dtablesize. Unlock it right after having
14876 finished _hurd_dtable allocation.
14877
10589b4a
TS
148782012-05-10 Thomas Schwinge <thomas@schwinge.name>
14879
674cdbc7
TS
14880 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14881 * sysdeps/mach/hurd/configure: Regenerated.
14882 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14883 special-casing to...
14884 * sysdeps/gnu/configure.in: ... this new file.
14885 * sysdeps/unix/sysv/linux/configure: Regenerated.
14886 * sysdeps/gnu/configure: New generated file.
14887
8e41b99f
TS
14888 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14889 for Linux: use nsec instead of usec, as well as:
14890 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14891 members of type struct timespec.
14892 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14893 New macros.
14894 (struct stat64): Likewise.
14895 (_STATBUF_ST_NSEC): New macro.
14896 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14897
10589b4a
TS
14898 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14899 __strtoul_internal rather than strtoul.
14900
63643c85
PT
149012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14902
14903 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14904 and reject them.
14905
3faebe6a
ST
149062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14907
14908 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14909 which preserves existing values.
14910 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14911
c6474b07
PT
149122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14913
14914 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14915 TIMEOUT values. Return EINVAL for NFDS values either negative or
14916 greater than FD_SETSIZE.
14917
1043890b
ST
149182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14919
14920 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14921 allocated, call __vm_protect to finish enabling the existing space, and
14922 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14923 allocate the remainder.
14924
37ed8b9b
PT
149252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14926
14927 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14928 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14929
db653660
ST
149302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14931
37ed8b9b
PT
14932 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14933 sysdeps/mach/hurd/readlink.c.
b29d4053 14934
db653660
ST
14935 * posix/tst-sysconf.c (posix_options): Only use
14936 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14937 _POSIX_SYNCHRONIZED_IO when they are defined
14938 * sysdeps/mach/hurd/bits/posix_opt.h:
14939 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14940 (_XOPEN_REALTIME): Undefine macro.
14941 (_XOPEN_REALTIME_THREADS): Undefine macro.
14942 (_XOPEN_SHM): Undefine macro.
14943 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14944 macro to -1.
14945 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14946 macro to -1.
14947 (_POSIX_ASYNC_IO): Undefine macro.
14948 (_POSIX_PRIORITIZED_IO): Undefine macro.
14949 (_POSIX_SPIN_LOCKS): Define macro to -1.
14950
ee16e894
ST
14951 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14952 SA_NODEFER, SA_RESETHAND.
14953 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14954 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14955 F_DUPFD_CLOEXEC.
14956
6103ae3b
TS
149572012-05-10 Thomas Schwinge <thomas@schwinge.name>
14958
14959 * elf/Makefile (pldd-modules): Define unconditionally.
14960
80b4e5f3
TS
149612012-05-10 Thomas Schwinge <thomas@schwinge.name>
14962
14963 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14964
edadcbd6
ST
149652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14966
14967 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14968 Return ENOENT when name is empty.
14969 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14970
80694780
TS
149712012-05-10 Thomas Schwinge <thomas@schwinge.name>
14972
1792c087
TS
14973 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14974
80694780
TS
14975 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14976
6b645f0d
ST
149772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14978
80694780
TS
14979 Fix mlock in all cases except non-readable pages.
14980 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14981 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14982
6b645f0d
ST
14983 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14984 (__mkdir): When path is `/', just fail with EEXIST.
14985 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14986
e468f8a3
TS
149872012-05-10 Thomas Schwinge <thomas@schwinge.name>
14988
14989 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14990 <sys/uio.h> (for writev).
14991 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14992 and <sys/param.h> (for MIN).
14993
a4186cff
PT
149942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14995
14996 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14997 REQUESTED_TIME. Properly set the remaining time and return EINTR
14998 if interrupted.
14999
510bbf14
TS
150002012-05-10 Thomas Schwinge <thomas@schwinge.name>
15001
15002 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15003 Depend on against $(link-rpcuserlibs).
15004
5d5722e8
ST
150052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15006
a4186cff
PT
15007 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15008 (__libc_stack_end): Do not use attribute_relro.
15009 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15010 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 15011 to libthread-provided value.
a4186cff
PT
15012 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15013 attribute_relro.
5d5722e8 15014
37233df9
TS
150152012-05-10 Thomas Schwinge <thomas@schwinge.name>
15016
be971a2b
TS
15017 [BZ #3748]
15018 * bits/libc-lock.h (__libc_once_get): New macro.
15019 * sysdeps/mach/bits/libc-lock.h: Likewise.
15020 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15021 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15022 instead of using implementation details.
15023
37233df9
TS
15024 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15025 * libio/freopen.c: Likewise.
15026 * libio/freopen64.c: Likewise.
15027 * misc/syslog.c: Likewise.
15028 * nscd/connections.c: Likewise.
15029 * nscd/netgroupcache.c: Likewise.
15030 * sysdeps/posix/getcwd.c: Likewise.
15031
38de94a5
RM
150322012-05-10 Roland McGrath <roland@hack.frob.com>
15033
15034 * math/w_ilogbf.c: Add #include <limits.h>.
15035
67530489
ST
150362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15037
a4186cff 15038 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15039 path instead of returning without unlocking.
15040
67530489
ST
15041 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15042 immediate-write ioctls.
15043 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15044
5aa3a74a
TS
150452012-05-10 Thomas Schwinge <thomas@schwinge.name>
15046
18bad2ae
TS
15047 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15048 __builtin_frame_address instead of making assumptions about the
15049 location of the return address relative to DATA. Force early load of
15050 the return address.
15051 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15052 __builtin_frame_address.
15053
5aa3a74a
TS
15054 dup3 for GNU Hurd.
15055 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15056 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15057 implement dup3 and do some further code clean-ups.
15058 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15059 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15060
ecd0de9a
ST
150612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15062
cd9fa985
ST
15063 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15064
a4186cff
PT
15065 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15066 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15067 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15068 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15069 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15070 d->port.lock.
802ca5a5 15071
a4186cff
PT
15072 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15073 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15074 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15075
bcf55240
TS
150762012-05-10 Thomas Schwinge <thomas@schwinge.name>
15077
6960eb42
TS
15078 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15079 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15080 definitions.
15081
eb43375f
TS
15082 accept4 for GNU Hurd.
15083 * include/sys/socket.h (__libc_accept4): New prototype.
15084 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15085 to implement __libc_accept4.
15086 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15087 __libc_accept4.
15088 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15089
bcf55240
TS
15090 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15091 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15092 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15093 signal-defines.sym.
15094
6178c55b
ST
150952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15096
a4186cff 15097 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15098
6f080c2f
TS
150992012-05-10 Thomas Schwinge <thomas@schwinge.name>
15100
15101 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15102 assertion on O_CLOEXEC flag.
15103 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15104 * hurd/intern-fd.c: Likewise.
15105 * hurd/port2fd.c: Likewise.
15106
bcfe3a54
ST
151072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15108
15109 [BZ #3906]
15110 * bits/in.h (IPV6_PKTINFO): Define new macro.
15111 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15112
89c9aa49
AZ
151132012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15114
15115 [BZ #13954]
15116 [BZ #13955]
15117 [BZ #13956]
15118 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15119 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15120 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15121 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15123 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15124 * math/libm-test.inc (logb_test) : Additional logb tests.
15125
021db4be
AJ
151262012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15127 Andreas Jaeger <aj@suse.de>
15128
15129 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15130 * configure: Regenerated.
15131 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15132 * config.make.in (link-obsolete-rpc): New substituted variable.
15133 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15134 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15135 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15136 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15137 so that libc.a contains the symbols.
15138 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15139 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15140 * sunrpc/auth_none.c: Likewise.
15141 * sunrpc/auth_unix.c: Likewise.
15142 * sunrpc/authdes_prot.c: Likewise.
15143 * sunrpc/authuxprot.c: Likewise.
15144 * sunrpc/clnt_gen.c: Likewise.
15145 * sunrpc/clnt_perr.c: Likewise.
15146 * sunrpc/clnt_raw.c: Likewise.
15147 * sunrpc/clnt_simp.c: Likewise.
15148 * sunrpc/clnt_tcp.c: Likewise.
15149 * sunrpc/clnt_udp.c: Likewise.
15150 * sunrpc/clnt_unix.c: Likewise.
15151 * sunrpc/des_crypt.c: Likewise.
15152 * sunrpc/des_soft.c: Likewise.
15153 * sunrpc/get_myaddr.c: Likewise.
15154 * sunrpc/key_call.c: Likewise.
15155 * sunrpc/key_prot.c: Likewise.
15156 * sunrpc/netname.c: Likewise.
15157 * sunrpc/pm_getmaps.c: Likewise.
15158 * sunrpc/pm_getport.c: Likewise.
15159 * sunrpc/pmap_clnt.c: Likewise.
15160 * sunrpc/pmap_prot.c: Likewise.
15161 * sunrpc/pmap_prot2.c: Likewise.
15162 * sunrpc/pmap_rmt.c: Likewise.
15163 * sunrpc/publickey.c: Likewise.
15164 * sunrpc/rpc_cmsg.c: Likewise.
15165 * sunrpc/rpc_common.c: Likewise.
15166 * sunrpc/rpc_dtable.c: Likewise.
15167 * sunrpc/rpc_prot.c: Likewise.
15168 * sunrpc/rpc_thread.c: Likewise.
15169 * sunrpc/rtime.c: Likewise.
15170 * sunrpc/svc.c: Likewise.
15171 * sunrpc/svc_auth.c: Likewise.
15172 * sunrpc/svc_raw.c: Likewise.
15173 * sunrpc/svc_run.c: Likewise.
15174 * sunrpc/svc_tcp.c: Likewise.
15175 * sunrpc/svc_udp.c: Likewise.
15176 * sunrpc/svc_unix.c: Likewise.
15177 * sunrpc/svcauth_des.c: Likewise.
15178 * sunrpc/xcrypt.c: Likewise.
15179 * sunrpc/xdr.c: Likewise.
15180 * sunrpc/xdr_array.c: Likewise.
15181 * sunrpc/xdr_float.c: Likewise.
15182 * sunrpc/xdr_intXX_t.c: Likewise.
15183 * sunrpc/xdr_mem.c: Likewise.
15184 * sunrpc/xdr_rec.c: Likewise.
15185 * sunrpc/xdr_ref.c: Likewise.
15186 * sunrpc/xdr_sizeof.c: Likewise.
15187 * sunrpc/xdr_stdio.c: Likewise.
15188
b5c086a2
RM
151892012-05-10 Roland McGrath <roland@hack.frob.com>
15190
15191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15192 change. Update copyright years.
15193
6d74dd09
JM
151942012-05-10 Joseph Myers <joseph@codesourcery.com>
15195
15196 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15197
28e72501
MK
151982012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15199 Joseph Myers <joseph@codesourcery.com>
15200 Paul Pluzhnikov <ppluzhnikov@google.com>
15201
15202 [BZ #14012]
15203 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15204 requiring rpcgen.
15205 [cross-compiling] (extra-libs): Likewise.
15206 [cross-compiling] (extra-libs-others): Likewise.
15207 [cross-compiling] (librpcsvc-routines): Likewise.
15208 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15209 [cross-compiling] (omit-deps): Likewise.
15210 (sunrpc-CPPFLAGS): New variable.
15211 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15212 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15213 (cross-rpcgen-objs): New variable.
15214 (extra-objs): Append $(cross-rpcgen-objs).
15215 ($(cross-rpcgen-objs)): New rule.
15216 ($(objpfx)cross-rpcgen): Likewise.
15217 (rpcgen-cmd): Define to use $(built-program-file). Expand
15218 comment.
15219 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15220 ($(objpfx)x%.stmp): Likewise.
15221 * sunrpc/proto.h [IS_IN_build] (_): Define.
15222 [IS_IN_build] (_libc_intl_domainname): Likewise.
15223
c8c59454
L
152242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15225
15226 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15227 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15228 and R_X86_64_TPOFF64.
15229
6f27cd16
JM
152302012-05-10 Joseph Myers <joseph@codesourcery.com>
15231
15232 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15233 sysdeps/unix/sysv/syscalls.list.
15234 (stime): Likewise.
15235 (utime): Likewise.
15236 * sysdeps/unix/sysv/syscalls.list: Remove file.
15237
02467e1c
PE
152382012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15239
15240 [BZ #3440]
15241 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15242 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15243 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15244 (__LC_IDENTIFICATION): Make these macros useful in #if
15245 expressions, as required by C99.
15246
da392631
AS
152472012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15248
15249 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15250 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15251 after this.
15252
8115f29b
L
152532012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15254
15255 * stdlib/longlong.h: Updated from GCC.
15256
bdd74070
AJ
152572012-05-09 Andreas Jaeger <aj@suse.de>
15258
edfe0dbe
AJ
15259 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15260 default is first entry.
15261 (run_mode): Set type.
15262 (main): Remove informal message about syslog.
15263 (options): Fix typo.
15264
bcfe3a54
ST
15265 [BZ #14053]
15266 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15267 to asm.
bcfe3a54
ST
15268 (lrint): Likewise.
15269 (llrintf): Likewise.
15270 (llrint): Likewise.
15271 (rint): Likewise.
15272 (rintf): Likewise.
15273 (nearbyint): Likewise.
15274 (nearbyintf): Likewise.
bdd74070 15275
91d8d69e
AJ
152762012-05-09 Andreas Jaeger <aj@suse.de>
15277 Pedro Alves <palves@redhat.com>
15278
15279 * nscd/nscd.c (run_mode): Use enum.
15280 (main): Cleanup coding style issue.
15281
bb90b80b
AJ
152822012-05-09 Alexandre Oliva <aoliva@redhat.com>
15283 Andreas Jaeger <aj@suse.de>
15284
bcfe3a54
ST
15285 * nscd/nscd.c (go_background): Replaced with...
15286 (run_mode): ... this.
bb90b80b 15287 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15288 (options): Add -F --foreground.
15289 (main): Implement it.
15290 (parse_opt): Parse it.
bb90b80b 15291
1a4b75a1
AJ
152922012-05-09 Andreas Jaeger <aj@suse.de>
15293
15294 [BZ #14083]
15295 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15296 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15297 -Wconversion warning.
15298 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15299 Likewise.
15300
b1cc2472
JM
153012012-05-09 Joseph Myers <joseph@codesourcery.com>
15302
15303 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15304 == 0.
15305 (LC_ALL): Use macro-int-constant.
15306 (LC_COLLATE): Likewise.
15307 (LC_CTYPE): Likewise.
15308 (LC_MESSAGES): Likewise.
15309 (LC_MONETARY): Likewise.
15310 (LC_NUMERIC): Likewise.
15311 (LC_TIME): Likewise.
15312 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15313 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15314 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15315 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15316 Specify type.
15317 [C99-based standards] (float_t): Expect type.
15318 [C99-based standards] (double_t): Expect type.
15319 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15320 type.
15321 [C99-based standards] (HUGE_VALL): Likewise.
15322 [C99-based standards] (INFINITY): Likewise.
15323 [C99-based standards] (NAN): Likewise.
15324 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15325 [C99-based standards] (FP_NAN): Likewise.
15326 [C99-based standards] (FP_NORMAL): Likewise.
15327 [C99-based standards] (FP_SUBNORMAL): Likewise.
15328 [C99-based standards] (FP_ZERO): Likewise.
15329 [C99-based standards] (FP_FAST_FMA): Use
15330 optional-macro-int-constant. Specify type. Require == 1.
15331 [C99-based standards] (FP_FAST_FMAF): Likewise.
15332 [C99-based standards] (FP_FAST_FMAL): Likewise.
15333 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15334 [C99-based standards] (FP_ILOGBNAN): Likewise.
15335 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15336 Specify type.
15337 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15338 [C99-based standards] (math_errhandling): Specify type.
15339 [ISO99 || ISO11] (signgam): Do not allow.
15340 [non-C99-based standards] (copysignf): Do not allow.
15341 [non-C99-based standards] (exp2f): Likewise.
15342 [non-C99-based standards] (log2f): Likewise.
15343 [non-C99-based standards] (modff): Allow.
15344 [non-C99-based standards] (erff): Do not allow.
15345 [non-C99-based standards] (erfcf): Likewise.
15346 [non-C99-based standards] (gammaf): Likewise.
15347 [non-C99-based standards] (hypotf): Likewise.
15348 [non-C99-based standards] (j0f): Likewise.
15349 [non-C99-based standards] (j1f): Likewise.
15350 [non-C99-based standards] (jnf): Likewise.
15351 [non-C99-based standards] (lgammaf): Likewise.
15352 [non-C99-based standards] (tgammaf): Likewise.
15353 [non-C99-based standards] (y0f): Likewise.
15354 [non-C99-based standards] (y1f): Likewise.
15355 [non-C99-based standards] (ynf): Likewise.
15356 [non-C99-based standards] (isnanf): Likewise.
15357 [non-C99-based standards] (acoshf): Likewise.
15358 [non-C99-based standards] (asinhf): Likewise.
15359 [non-C99-based standards] (atanhf): Likewise.
15360 [non-C99-based standards] (cbrtf): Likewise.
15361 [non-C99-based standards] (expm1f): Likewise.
15362 [non-C99-based standards] (ilogbf): Likewise.
15363 [non-C99-based standards] (log1pf): Likewise.
15364 [non-C99-based standards] (logbf): Likewise.
15365 [non-C99-based standards] (nextafterf): Likewise.
15366 [non-C99-based standards] (remainderf): Likewise.
15367 [non-C99-based standards] (rintf): Likewise.
15368 [non-C99-based standards] (scalbf): Likewise.
15369 [non-C99-based standards] (copysignl): Likewise.
15370 [non-C99-based standards] (exp2l): Likewise.
15371 [non-C99-based standards] (log2l): Likewise.
15372 [non-C99-based standards] (modfl): Allow.
15373 [non-C99-based standards] (erfl): Do not allow.
15374 [non-C99-based standards] (erfcl): Likewise.
15375 [non-C99-based standards] (gammal): Likewise.
15376 [non-C99-based standards] (hypotl): Likewise.
15377 [non-C99-based standards] (j0l): Likewise.
15378 [non-C99-based standards] (j1l): Likewise.
15379 [non-C99-based standards] (jnl): Likewise.
15380 [non-C99-based standards] (lgammal): Likewise.
15381 [non-C99-based standards] (tgammal): Likewise.
15382 [non-C99-based standards] (y0l): Likewise.
15383 [non-C99-based standards] (y1l): Likewise.
15384 [non-C99-based standards] (ynl): Likewise.
15385 [non-C99-based standards] (isnanl): Likewise.
15386 [non-C99-based standards] (acoshl): Likewise.
15387 [non-C99-based standards] (asinhl): Likewise.
15388 [non-C99-based standards] (atanhl): Likewise.
15389 [non-C99-based standards] (cbrtl): Likewise.
15390 [non-C99-based standards] (expm1l): Likewise.
15391 [non-C99-based standards] (ilogbl): Likewise.
15392 [non-C99-based standards] (log1pl): Likewise.
15393 [non-C99-based standards] (logbl): Likewise.
15394 [non-C99-based standards] (nextafterl): Likewise.
15395 [non-C99-based standards] (remainderl): Likewise.
15396 [non-C99-based standards] (rintl): Likewise.
15397 [non-C99-based standards] (scalbl): Likewise.
15398 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15399 [non-C99-based standards] (FP_*): Do not allow.
15400 [C99-based standards] (FP_*): Change to
15401 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15402 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15403 allow.
15404 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15405 (SIG_ERR): Likewise.
15406 [X/Open-based standards] (SIG_HOLD): Likewise.
15407 (SIG_IGN): Likewise.
15408 (SIGABRT): Use macro-int-constant. Specify type. Require
15409 positive value.
15410 (SIGFPE): Likewise.
15411 (SIGILL): Likewise.
15412 (SIGINT): Likewise.
15413 (SIGSEGV): Likewise.
15414 (SIGTER): Likewise.
15415 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15416 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15417 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15418 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15419 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15420 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15421 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15422 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15423 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15424 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15425 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15426 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15427 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15428 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15429 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15430 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15431 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15432 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15433 [X/Open-based standards] (SIGTRAP): Likewise.
15434 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15435 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15436 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15437 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15438 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15439 allow.
15440
b9f1922d
IW
154412012-05-08 Ian Wienand <ianw@vmware.com>
15442
15443 [BZ #14080]
15444 * time/tzset.c (__tzset_parse_tz): Update default rules for
15445 daylight time changes in the Energy Policy Act of 2005.
15446
1db86e88
AJ
154472012-05-09 Andreas Jaeger <aj@suse.de>
15448
15449 [BZ #13983]
15450 * elf/ldconfig.c (parse_conf): Change string to make clear that
15451 ldconfig only issued a warning if ld.so.conf does not exist.
15452
dee4a4e3
DM
154532012-05-08 David S. Miller <davem@davemloft.net>
15454
ee0db190
DM
15455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15456 movxtod instead of popping the value on the stack.
15457
dee4a4e3
DM
15458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15459
6a43ec98
CD
154602012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15461
15462 * config.h.in: Add HAVE_ARM_PCS_VFP.
15463
05c2c961
RMG
154642012-05-08 Roland Mc Grath <roland@hack.frob.com>
15465
bcfe3a54
ST
15466 [BZ #13979]
15467 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15468 checking but the checks are disabled for any reason.
05c2c961 15469
4b30f61a
L
154702012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15471
15472 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15473 and ELF64_R_TYPE with ELFW(R_TYPE).
15474
eee2bc67
JM
154752012-05-08 Joseph Myers <joseph@codesourcery.com>
15476
7ea5391a
JM
15477 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15478 (ulimit): Likewise.
15479
eee2bc67
JM
15480 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15481 (settimeofday): Likewise.
15482
abb66a67
MF
154832012-05-08 Mike Frysinger <vapier@gentoo.org>
15484
15485 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15486 a struct th_u2 inside the union, and move tu_block/tu_code into
15487 a new th_u3 union of tu_block/tu_code inside of that. Move
15488 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15489 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15490 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15491 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15492 (th_stuff): Change to th_u1.tu_stuff.
15493 (th_data): Define.
15494 (th_msg): Change to th_u1.th_u2.tu_data.
15495
7f18b530
DM
154962012-05-07 David S. Miller <davem@davemloft.net>
15497
05760585
DM
15498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15499
7f18b530
DM
15500 [BZ #14074]
15501 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15502 (SETUP_PIC_REG): Use it.
15503 (SETUP_PIC_REG_LEAF): Use it.
15504
495fd99f
JM
155052012-05-07 Joseph Myers <joseph@codesourcery.com>
15506
15507 [BZ #13885]
15508 [BZ #13923]
15509 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15510 USE_AS_EXPM1L.
15511 (EXPL_FINITE): Likewise.
15512 (FLDLOG): Likewise.
15513 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15514 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15515 e_expl.S.
15516 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15517 USE_AS_EXPM1L.
15518 (EXPL_FINITE): Likewise.
15519 (FLDLOG): Likewise.
15520 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15521 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15522 e_expl.S.
15523 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15524 test of -max_value argument for long double.
15525 * sysdeps/i386/fpu/libm-test-ulps: Update.
15526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15527
6693d694
DM
155282012-05-06 David S. Miller <davem@davemloft.net>
15529
15530 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15531 quad soft-float symbols whose references which are compiler
15532 generated.
15533 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15534
6c23e11c
JM
155352012-05-06 Joseph Myers <joseph@codesourcery.com>
15536
d8b82cad
JM
15537 [BZ #13884]
15538 [BZ #13914]
15539 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15540 USE_AS_EXP10L.
15541 (EXPL_FINITE): Likewise.
15542 (FLDLOG): Likewise.
15543 (c0): Likewise.
15544 (c1): Likewise.
15545 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15546 Adjust comments for base varying.
15547 (__expl_finite): Change alias to EXPL_FINITE.
15548 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15549 e_expl.S.
15550 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15551 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15553 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15554 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15555 USE_AS_EXP10L.
15556 (EXPL_FINITE): Likewise.
15557 (FLDLOG): Likewise.
15558 (c0): Likewise.
15559 (c1): Likewise.
15560 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15561 Adjust comments for base varying.
15562 (__expl_finite): Change alias to EXPL_FINITE.
15563 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15564 tests for bugs.
15565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15566
6c23e11c
JM
15567 [BZ #14064]
15568 * math/libm-test.inc (check_float_internal): Correct ulp
15569 calculation for subnormal expected results.
15570
29ba805c
AJ
155712012-05-06 Andreas Jaeger <aj@suse.de>
15572
15573 * Makeconfig (+math-flags): New, set to -frounding-math.
15574 (+cflags): Add +math-flags so that all of glibc gets compiled with
15575 it.
15576
15577 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15578
7b17aeda
JM
155792012-05-05 Joseph Myers <joseph@codesourcery.com>
15580
5779f134
JM
15581 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15582 Disable one test.
15583
41498f4d
JM
15584 [BZ #13787]
15585 [BZ #13922]
15586 [BZ #14036]
15587 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15588 (__ieee754_expl): Allow for and saturate large arguments.
15589 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15590 (u_threshold): Likewise.
15591 (__exp): Call __ieee754_exp before checking for overflow and
15592 underflow.
15593 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15594 (u_threshold): Likewise.
15595 (__expf): Call __ieee754_expf before checking for overflow and
15596 underflow.
15597 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15598 (u_threshold): Likewise.
15599 (__expl): Call __ieee754_expl before checking for overflow and
15600 underflow.
15601 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15602 (__ieee754_expl): Allow for and saturate large arguments.
15603 * math/libm-test.inc (exp_test): Add another test. Do not allow
15604 missing overflow exception on overflow.
15605 (expm1_test): Do not allow missing overflow exception on overflow.
15606
6698b8bf
JM
15607 * sysdeps/i386/fpu/e_expl.c: Move to ...
15608 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15609 rather than using inline asm.
15610 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15611 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15612 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15613
7b17aeda
JM
15614 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15615 (nice): Likewise.
15616 (poll): Likewise.
15617 (signal): Likewise.
15618 (time): Likewise.
15619 (times): Likewise.
15620
f7c85819
JM
156212012-05-04 Joseph Myers <joseph@codesourcery.com>
15622
15623 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15624 sysdeps/unix/common/syscalls.list.
15625 (fchmod): Likewise.
15626 (fchown): Likewise.
15627 (ftruncate): Likewise.
15628 (getrusage): Likewise.
15629 (gettimeofday): Likewise.
15630 (setpgid): Likewise.
15631 (setregid): Likewise.
15632 (setreuid): Likewise.
15633 (sigaction): Likewise.
15634 (truncate): Likewise.
15635 (vhangup): Likewise.
15636 * sysdeps/unix/common/syscalls.list: Remove file.
15637 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15638 * sysdeps/unix/sysv/linux/Implies: Likewise.
15639
336270d0
L
156402012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15641
15642 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15644 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15645 Moved to ...
15646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15647 Here.
15648 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15649 to ...
15650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15651 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15652 to ...
15653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15654 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15655 to ...
15656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15657 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15658 to ...
15659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15660 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15661 to ...
15662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15663 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15664 to ...
15665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15666 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15667 to ...
15668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15669 Here.
15670 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15671 to ...
15672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15673 Here.
15674 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15675 to ...
15676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15677 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15678 Moved to ...
15679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15680 Here.
15681 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15682 to ...
15683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15684
d128e450
JM
156852012-05-04 Joseph Myers <joseph@codesourcery.com>
15686
fa8ee516
JM
15687 * sysdeps/unix/common/bits/dirent.h: Remove file.
15688 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15689
d128e450
JM
15690 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15691 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15692 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15693 * sysdeps/unix/bsd/isatty.c: Likewise.
15694 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15695 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15696 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15697
ff8faaf0 156982012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15699
62881be4 15700 [BZ #13563]
31dc8730
AZ
15701 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15702 long double comparison inaccuracies.
15703 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15705
6fef930c
AS
157062012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15707
15708 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15710
8f203e6c
JM
157112012-05-04 Joseph Myers <joseph@codesourcery.com>
15712
15713 [BZ #14049]
15714 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15715 nonzero digits before rounding a hex value.
15716 * stdlib/tst-strtod.c (tests): Add another test.
15717
5197d9c2
AK
157182012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15719
15720 * sysdeps/s390/fpu/libm-test-ulps: Update.
15721
f0c1dedf
AJ
157222012-05-03 Andreas Jaeger <aj@suse.de>
15723
15724 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15725 does not get optimized out.
15726 (malloc_opt_barrier): New.
15727
a65ef2ae 157282012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15729 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15730
2b942cb7 15731 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15732 intermediate file deletion.
2b942cb7 15733 (generated): Add .symlist files.
a65ef2ae 15734
54b71e02
JM
157352012-05-03 Joseph Myers <joseph@codesourcery.com>
15736
15737 [BZ #13775]
15738 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15739 Redirect under this condition.
15740 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15741 [__USE_GNU] (__dprintf_chk): Not under this condition.
15742 [__USE_GNU] (__vdprintf_chk): Likewise.
15743 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15744 under this condition.
15745 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15746 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15747 [__USE_XOPEN2K8] (vdprintf): Likewise.
15748 [__USE_GNU] (__dprintf_chk): Not under this condition.
15749 [__USE_GNU] (__vdprintf_chk): Likewise.
15750 [__USE_GNU] (dprintf): Likewise.
15751 [__USE_GNU] (vdprintf): Likewise.
15752
d3dfcc41
RM
157532012-05-03 Roland McGrath <roland@hack.frob.com>
15754
15755 * elf/Makefile (common-generated): Set this instead of generated for
15756 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15757 $(all-built-dso)-derived lists.
15758
7ac30cc5
AJ
157592012-05-03 Andreas Jaeger <aj@suse.de>
15760
0c51e550
AJ
15761 * sysdeps/i386/fpu/libm-test-ulps: Update.
15762
7ac30cc5
AJ
15763 * FAQ: Removed.
15764 * FAQ.in: Likewise.
15765 * scripts/gen-FAQ.pl: Likewise.
15766 * manual/install.texi (Installation): Point to online location of
15767 FAQ.
15768 * Makefile (files-for-dist): Remove FAQ.
15769 (FAQ): Remove.
15770
d4c2917f
AM
157712012-05-02 Allan McRae <allan@archlinux.org>
15772
15773 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15774 (LDFLAGS-reldepmod5.so): Likewise.
15775 (LDFLAGS-reldep6mod1.so): Likewise.
15776 (LDFLAGS-reldep6mod4.so): Likewise.
15777 (LDFLAGS-reldep8mod3.so): Likewise.
15778 (LDFLAGS-unload4mod1.so): Likewise.
15779 (LDFLAGS-unload4mod2.so): Likewise.
15780 (LDFLAGS-tst-initorder): Likewise.
15781 (LDFLAGS-tst-initordera2.so): Likewise.
15782 (LDFLAGS-tst-initordera3.so): Likewise.
15783 (LDFLAGS-tst-initordera4.so): Likewise.
15784 (LDFLAGS-tst-initorderb2.so): Likewise.
15785 (LDFLAGS-noload): Likewise.
15786 (LDFLAGS-next): Likewise.
15787 (LDFLAGS-order2mod1.so): Likewise.
15788 (LDFLAGS-order2mod2.so): Likewise.
15789 (LDFLAGS-tst-initorder2): Likewise.
15790 (LDFLAGS-tst-initorder2a.so): Likewise.
15791 (LDFLAGS-tst-initorder2b.so): Likewise.
15792 (LDFLAGS-tst-initorder2c.so): Likewise.
15793 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15794
d77f993f
DM
157952012-05-02 David S. Miller <davem@davemloft.net>
15796
15797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15798
171a70b4
PP
157992012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15800
15801 [BZ #14055]
15802 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15803
0be196ad
AJ
158042012-05-02 Andreas Jaeger <aj@suse.de>
15805
15806 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15807 since we manipulate rounding mode.
15808 (CPPFLAGS-test-idouble.c): Likewise.
15809 (CPPFLAGS-test-ifloat.c): Likewise.
15810 (CFLAGS-test-ldouble.c): Likewise.
15811 (CFLAGS-test-double.c): Likewise.
15812 (CFLAGS-test-float.c): Likewise.
15813 (CFLAGS-test-misc.c): Likewise.
15814 (CFLAGS-test-test-fenv.c): Likewise.
15815
4f9d04aa
AZ
158162012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15817
2b942cb7
RM
15818 [BZ #2550]
15819 [BZ #2570]
15820 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15821 comparisons to determine direction to adjust input.
4f9d04aa 15822
82a79e7d
RM
158232012-05-01 Roland McGrath <roland@hack.frob.com>
15824
f5a01ca9
RM
15825 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15826 output to the target.
15827
90fe4186
RM
15828 * scripts/localplt.awk: New file.
15829 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15830 (check-localplt-CFLAGS): Variable removed.
15831 ($(all-built-dso:=.jmprel)): New static pattern rule.
15832 (generated): Add those targets.
15833 (localplt-built-dso): New variable.
15834 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15835
15836 * elf/check-localplt.c: File removed.
15837
82397ed6
RM
15838 * scripts/check-execstack.awk: New file.
15839 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15840 (check-execstack-CFLAGS): Variable removed.
15841 ($(objpfx)check-execstack.h): Target removed.
15842 ($(objpfx)execstack-default): New target.
15843 (generated): Add that instead of check-execstack.h.
15844 ($(all-built-dso:=.phdr)): New static pattern rule.
15845 (generated): Add those targets.
15846 * elf/check-execstack.c: File removed.
15847
82a79e7d
RM
15848 * scripts/check-textrel.awk: New file.
15849 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15850 (check-textrel-CFLAGS): Variable removed.
15851 (all-built-dso): Use := to define.o
15852 ($(all-built-dso:=.dyn)): New static pattern rule.
15853 (generated): Add those targets.
15854 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15855 * config.make.in (READELF): New substituted variable.
15856 * elf/check-textrel.c: File removed.
15857
62fde54f 158582012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15859
615605c9
JM
15860 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15861 allow.
15862 * conform/data/ctype.h-data [C99-based standards] (isblank):
15863 Expect function.
15864 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15865 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15866 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15867 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15868 Specify type. Require positive value.
15869 (EILSEQ): Likewise.
15870 (ERANGE): Likewise.
15871 [ISO || POSIX] (EILSEQ): Do not expect.
15872 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15873 Specify type. Require positive value.
15874 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15875 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15876 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15877 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15878 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15879 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15880 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15881 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15882 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15883 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15884 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15885 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15886 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15887 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15888 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15889 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15890 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15891 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15892 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15893 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15894 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15895 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15896 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15897 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15898 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15899 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15900 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15901 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15902 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15903 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15904 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15905 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15906 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15907 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15908 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15909 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15910 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15911 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15912 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15913 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15914 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15915 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15916 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15917 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15918 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15919 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15920 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15921 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15922 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15923 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15924 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15925 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15926 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15927 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15928 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15929 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15930 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15931 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15932 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15933 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15934 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15935 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15936 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15937 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15938 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15939 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15940 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15941 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15942 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15943 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15944 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15945 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15946 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15947 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15948 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15949 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15950 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15951 Require >= 2.
15952 (FLT_ROUNDS): Expect as macro, not constant.
15953 (FLT_MANT_DIG): Use macro-int-constant.
15954 (DBL_MANT_DIG): Likewise.
15955 (LDBL_MANT_DIG): Likewise.
15956 (FLT_DIG): Likewise.
15957 (DBL_DIG): Likewise.
15958 (LDBL_DIG): Likewise.
15959 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15960 (DBL_MIN_EXP): Likewise.
15961 (LDBL_MIN_EXP): Likewise.
15962 (FLT_MAX_EXP): Use macro-int-constant.
15963 (DBL_MAX_EXP): Likewise.
15964 (LDBL_MAX_EXP): Likewise.
15965 (FLT_MAX_10_EXP): Likewise.
15966 (DBL_MAX_10_EXP): Likewise.
15967 (LDBL_MAX_10_EXP): Likewise.
15968 (FLT_MAX): Use macro-constant.
15969 (DBL_MAX): Likewise.
15970 (LDBL_MAX): Likewise.
15971 (FLT_EPSILON): Use macro-constant. Give upper bound.
15972 (DBL_EPSILON): Likewise.
15973 (LDBL_EPSILON): Likewise.
15974 (FLT_MIN): Likewise.
15975 (DBL_MIN): Likewise.
15976 (LDBL_MIN): Likewise.
15977 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15978 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15979 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15980 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15981 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15982 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15983 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15984 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15985 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15986 [ISO11] (FLT_TRUE_MIN): Likewise.
15987 [ISO11] (LDBL_TRUE_MIN): Likewise.
15988 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15989 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15990 (SCHAR_MIN): Use macro-int-constant. Specify type.
15991 (SCHAR_MAX): Likewise.
15992 (UCHAR_MAX): Likewise.
15993 (CHAR_MIN): Likewise.
15994 (CHAR_MAX): Likewise.
15995 (MB_LEN_MAX): Use macro-int-constant.
15996 (SHRT_MIN): Use macro-int-constant. Specify type.
15997 (SHRT_MAX): Likewise.
15998 (USHRT_MAX): Likewise.
15999 (INT_MAX): Likewise.
16000 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16001 bound negative.
16002 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16003 bound with "U".
16004 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16005 bound with "L".
16006 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16007 bound negative. Suffix upper bound with "L".
16008 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16009 bound with "UL".
16010 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16011 Specify type.
16012 [C99-based standards] (LLONG_MAX): Likewise.
16013 [C99-based standards] (ULLONG_MAX): Likewise.
16014 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16015 == 0.
16016 [ISO11] (max_align_t): Require type.
16017 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16018
c9140a62
JM
16019 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16020 from $CFLAGS, without defining away __attribute__ calls.
16021 (checknamespace): Use $CFLAGS_namespace.
16022
9af0bf29
JM
16023 * conform/conformtest.pl (@keywords): Only include C99 keywords
16024 for standards based on C99 or C11.
16025
343222a2
JM
16026 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16027 Disable tests.
16028 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16029 UNIX98]: Likewise.
16030
661f8cf0
JM
16031 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16032 usability of symbols in #if.
16033
ee74b9cb
JM
16034 * conform/conformtest.pl: If macro or constant types start
16035 "promoted:", expect the symbol to be of the following type
16036 promoted by the integer promotions.
62fde54f 16037
aafc49b3
JM
16038 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16039 in one place. Also handle "macro-constant".
16040
fefdf574
JM
16041 * conform/conformtest.pl: Only accept expected macro values with
16042 "==". Parse all "macro" lines in one place.
16043 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16044
f2d922fe
JM
16045 * conform/conformtest.pl: Handle braced types on "constant" lines
16046 instead of handling "typed-constant".
16047 * conform/data/signal.h-data: Use "constant" instead of
16048 "typed-constant".
16049
d22956c9
JM
16050 * conform/conformtest.pl: Handle "optional-" at start of lines in
16051 one place rather than duplicating several cases. Handle each
16052 format of "macro" line with initial "optional-".
16053
028e2e38
JM
16054 * conform/conformtest.pl: Only accept expected constant or
16055 optional-constant values with "==". Parse all "constant" lines in
16056 one place. Parse all "optional-constant" lines in one place.
16057 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16058 * conform/data/fmtmsg.h-data: Likewise.
16059 * conform/data/netinet/in.h-data: Likewise.
16060 * conform/data/tar.h-data: Likewise.
16061 * conform/data/limits.h-data: Use "==" form on "constant" and
16062 "optional-constant" lines.
16063
1b8f2850
JM
16064 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16065 Use -std=c99 for XOPEN2K.
16066 (@knownproblems): Remove.
16067 (newtoken): Don't check %isknown.
16068
a05a144b
JM
16069 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16070 Do not expect macro.
16071 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16072 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16075 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16076 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16077 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16078 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16079 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16080 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16081 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16082 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16083 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16084 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16085 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16086 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16087 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16088 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16089 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16090 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16091 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16092 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16093 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16094 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16095 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16096 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16097 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16098 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16099 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16100 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16101 [XPG3] (acosh): Likewise.
16102 [XPG3] (asinh): Likewise.
16103 [XPG3] (atanh): Likewise.
16104 [XPG3] (cbrt): Likewise.
16105 [XPG3] (expm1): Likewise.
16106 [XPG3] (ilogb): Likewise.
16107 [XPG3] (log1p): Likewise.
16108 [XPG3] (logb): Likewise.
16109 [XPG3] (nextafter): Likewise.
16110 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16111 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16112 [XPG3] (remainder): Likewise.
16113 [XPG3] (rint): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16115 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16116 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16117 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16118 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16119 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16120 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16121 [UNIX98 || XOPEN2K] (scalb): Expect.
16122 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16123 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16124 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16125 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16126 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16127 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16128 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16129 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16130 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16131 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16132 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16133 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16134 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16135 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16136 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16137 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16138 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16139 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16140 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16141 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16142 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16143 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16144 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16145 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16146 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16147 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16148 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16149 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16150 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16151 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16152 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16153 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16154 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16155 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16156 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16157 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16158 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16159 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16160 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16161 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16162 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16163 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16164 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16165 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16166 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16167 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16168 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16169 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16170 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16171 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16172 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16173 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16174 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16175 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16176 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16177 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16178 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16179 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16180 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16181 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16182 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16183 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16184 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16185 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16186 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16187 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16188 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16189 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16190 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16191 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16192 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16193 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16194 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16195 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16196 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16197 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16198 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16199 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16200 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16201 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16202 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16203 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16204 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16205 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16206 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16207 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16208 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16209 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16210 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16211 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16212 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16213 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16214 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16215 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16216 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16217 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16218 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16219 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16220 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16221 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16222 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16223 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16224 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16225 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16226 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16227 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16228 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16229 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16230 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16231 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16232 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16233 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16234 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16235 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16236 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16237 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16238 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16239 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16240 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16241 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16242 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16243 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16244 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16245 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16246 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16247 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16248 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16249 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16250 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16251 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16252 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16253 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16254 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16255 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16256 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16257 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16258 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16259
73c5ebe3
JM
16260 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16261 _XOPEN_SOURCE_EXTENDED for XPG4.
16262
39c33b6c
JM
16263 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16264
62fde54f
JM
16265 * Makeconfig (localtime): Remove variable.
16266 (inst_localtime-file): Likewise.
16267
0741d64c
AS
162682012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16269
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16271 Update.
16272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16273 Update.
16274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16275 Update.
16276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16277 Update.
16278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16279 Update.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16281 Update.
16282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16283 Update.
16284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16285 Update.
16286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16287 Update.
16288
7cb029ee
JM
162892012-05-01 Joseph Myers <joseph@codesourcery.com>
16290
16291 [BZ #2550]
16292 [BZ #2570]
16293 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16294 comparisons to determine direction to adjust input.
16295 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16296 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16297 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16298 Likewise.
16299 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16300 Likewise.
16301 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16302 Likewise.
16303 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16304 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16305 Likewise.
16306 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16307 Likewise.
16308 * math/libm-test.inc (nexttoward_test): Add more tests.
16309
412bd966
AS
163102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16311
16312 [BZ #14040]
16313 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16314 in version GLIBC_2.1, not GLIBC_2.0.
16315 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16316 Likewise.
16317
9568c0c2
JM
163182012-04-30 Joseph Myers <joseph@codesourcery.com>
16319
adfbc8ac
JM
16320 [BZ #13942]
16321 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16322 (1 - x) * (1 + x).
16323 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16324 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16325 * math/libm-test.inc (acos_test): Add more tests.
16326 (asin_test): Likewise.
16327 * sysdeps/i386/fpu/libm-test-ulps: Update.
16328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16329
5ba3cc69
JM
16330 [BZ #14034]
16331 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16332 of square root.
16333 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16334 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16335 * math/libm-test.inc (acos_test_tonearest): New function.
16336 (acos_test_towardzero): Likewise.
16337 (acos_test_downward): Likewise.
16338 (acos_test_upward): Likewise.
16339 (asin_test_tonearest): Likewise.
16340 (asin_test_towardzero): Likewise.
16341 (asin_test_downward): Likewise.
16342 (asin_test_upward): Likewise.
16343 (main): Call the new functions.
16344 * sysdeps/i386/fpu/libm-test-ulps: Update.
16345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16346
9568c0c2
JM
16347 [BZ #13884]
16348 [BZ #13924]
16349 * math/e_exp10.c: Include <float.h>.
16350 (__ieee754_exp10): Handle underflow here rather than multiplying
16351 large negative argument by M_LN10.
16352 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16353 of __ieee754_expf.
16354 * math/e_exp10l.c: Include <float.h>.
16355 (__ieee754_exp10l): Handle underflow here rather than multiplying
16356 large negative argument by M_LN10l.
16357 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16358 spurious overflow exception on underflow.
16359
5ac3ea17
MP
163602012-04-29 Marek Polacek <polacek@redhat.com>
16361
16362 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16363 (__fortify_function): New macro.
16364 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16365 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16366 __extern_always_inline.
16367 * libio/bits/stdio2.h: Likewise.
16368 * libio/bits/stdio.h: Likewise.
16369 * string/string.h: Likewise.
16370 * string/bits/string3.h: Likewise.
16371 * include/stdio.h: Likewise.
16372 * stdlib/bits/stdlib.h: Likewise.
16373 * stdlib/stdlib.h: Likewise.
16374 * rt/bits/mqueue2.h: Likewise.
16375 * rt/mqueue.h: Likewise.
16376 * posix/bits/unistd.h: Likewise.
16377 * posix/unistd.h: Likewise.
16378 * io/bits/poll2.h: Likewise.
16379 * io/bits/fcntl2.h: Likewise.
16380 * io/fcntl.h: Likewise.
16381 * io/sys/poll.h: Likewise.
16382 * misc/bits/syslog.h: Likewise.
16383 * misc/bits/syslog-ldbl.h: Likewise.
16384 * misc/sys/syslog.h: Likewise.
16385 * socket/bits/socket2.h: Likewise.
16386 * socket/sys/socket.h: Likewise.
16387 * debug/tst-chk1.c: Likewise.
16388 * wcsmbs/bits/wchar2.h: Likewise.
16389 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16390 * wcsmbs/wchar.h: Likewise.
16391
ecf0ebfb
AJ
163922012-04-29 Andreas Jaeger <aj@suse.de>
16393
16394 * Makerules (tests): Remove enable-check-abi protection.
16395 (check-abi-warn): Remove.
16396 (check-abi-%): Remove check-abi-warn usage.
16397
16398 * configure.in: Remove check-abi configure option.
16399 * configure: Regenerated.
16400 * config.make.in (enable-check-abi): Remove.
16401
6d5c57fa
AS
164022012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16403
24c5d07e 16404 [BZ #14033]
ded5180a
AS
16405 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16406 double functions to double *_finite functions.
16407
7e0d315d
AS
16408 [BZ #13941]
16409 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16410 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16411 LDBL_MIN_EXP.
16412 * stdio-common/Makefile (tests): Add tst-sprintf3.
16413 * stdio-common/tst-sprintf3.c: New file.
16414
6d5c57fa
AS
16415 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16416 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16417
0749ff8b
JM
164182012-04-28 Joseph Myers <joseph@codesourcery.com>
16419
16420 * conform/conformtest.pl: Remove duplicate typed-constant
16421 handling.
16422
8dbd5d7b
DM
164232012-04-28 David S. Miller <davem@davemloft.net>
16424
16425 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16426 (check-abi-%): Remove AWK script prerequisite and explicit
16427 abilist directory.
16428 (check-abi): Rewrite to just diff the symlist with the abilist.
16429 (config-tls, config-abi-config): Delete, no longer used.
16430 (update-abi-%): Remove AWK script and explicit abilist directory.
16431 (update-abi): Rewrite to simply compare and conditionally copy the
16432 symlist and the sysdep abilist file. Remove update-abi-config
16433 checks.
16434 * abilist/ld.abilist: Remove.
16435 * abilist/libBrokenLocale.abilist: Remove.
16436 * abilist/libanl.abilist: Remove.
16437 * abilist/libcrypt.abilist: Remove.
16438 * abilist/libdl.abilist: Remove.
16439 * abilist/librt.abilist: Remove.
16440 * abilist/libthread_db.abilist: Remove.
16441 * abilist/libutil.abilist: Remove.
16442 * scripts/extract-abilist.awk: Remove.
16443 * scripts/merge-abilist.awk: Remove.
16444 * sysdeps/generic/libcidn.abilist: New file.
16445 * sysdeps/generic/libnss_compat.abilist: New file.
16446 * sysdeps/generic/libnss_db.abilist: New file.
16447 * sysdeps/generic/libnss_dns.abilist: New file.
16448 * sysdeps/generic/libnss_files.abilist: New file.
16449 * sysdeps/generic/libnss_hesiod.abilist: New file.
16450 * sysdeps/generic/libnss_nis.abilist: New file.
16451 * sysdeps/generic/libnss_nisplus.abilist: New file.
16452 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16453 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16454 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16455 file.
16456 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16457 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16458 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16459 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16460 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16461 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16462 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16463 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16464 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16465 file.
16466 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16467 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16468 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16469 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16470 file.
16471 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16472 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16473 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16474 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16475 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16476 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16477 file.
16478 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16479 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16480 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16481 file.
16482 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16484 New file.
16485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16486 New file.
16487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16488 New file.
16489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16490 New file.
16491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16492 New file.
16493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16494 New file.
16495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16496 New file.
16497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16498 New file.
16499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16500 New file.
16501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16502 New file.
16503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16504 New file.
16505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16506 New file.
16507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16508 New file.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16510 file.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16512 New file.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16514 New file.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16516 file.
16517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16518 New file.
16519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16520 New file.
16521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16522 file.
16523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16524 New file.
16525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16526 New file.
16527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16528 New file.
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16530 New file.
16531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16532 New file.
16533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16534 New file.
16535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16537 file.
16538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16539 New file.
16540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16541 file.
16542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16543 file.
16544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16545 file.
16546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16547 file.
16548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16549 file.
16550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16551 New file.
16552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16553 file.
16554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16555 file.
16556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16557 New file.
16558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16559 file.
16560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16562 file.
16563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16564 New file.
16565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16566 file.
16567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16568 file.
16569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16570 file.
16571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16572 file.
16573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16574 file.
16575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16576 New file.
16577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16578 file.
16579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16580 file.
16581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16582 New file.
16583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16584 file.
16585 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16586 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16587 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16588 file.
16589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16590 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16591 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16592 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16593 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16594 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16595 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16596 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16597 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16598 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16601 file.
16602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16603 New file.
16604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16605 file.
16606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16607 file.
16608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16609 file.
16610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16611 file.
16612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16613 file.
16614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16615 New file.
16616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16617 New file.
16618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16619 file.
16620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16621 New file.
16622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16623 file.
16624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16626 file.
16627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16628 New file.
16629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16630 file.
16631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16632 file.
16633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16634 file.
16635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16636 file.
16637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16638 file.
16639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16640 New file.
16641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16642 New file.
16643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16644 file.
16645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16646 New file.
16647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16648 file.
16649
41d73a1b
JM
166502012-04-28 Joseph Myers <joseph@codesourcery.com>
16651
16652 * conform/conformtest.pl: Fix typo in handling typed-constant from
16653 allow-header.
16654
28aeeda4
JM
166552012-04-27 Joseph Myers <joseph@codesourcery.com>
16656
adae8f5e
JM
16657 * README: Cut down references to pre-2.6 Linux kernels and
16658 Linuxthreads. Update lists of configurations in libc and ports
16659 and sort alphabetically. Say "or newer" with Linux kernel version
16660 requirements.
16661
28aeeda4
JM
16662 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16663
a462cb63
RA
166642012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16665
16666 [BZ #887]
16667 * math/libm-test.inc (logb_test_downward): New test to expose
16668 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16669 rounding mode.
16670
6ad3493e
JM
166712012-04-27 Joseph Myers <joseph@codesourcery.com>
16672
16673 [BZ #14027]
16674 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16675 to be done.
16676 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16677 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16678
2ce4f015
JM
166792012-04-26 Joseph Myers <joseph@codesourcery.com>
16680
5aeb141a
JM
16681 * sysdeps/unix/i386/brk.S: Remove file.
16682 * sysdeps/unix/i386/dl-brk.S: Likewise.
16683 * sysdeps/unix/i386/pipe.S: Likewise.
16684 * sysdeps/unix/i386/sigreturn.S: Likewise.
16685 * sysdeps/unix/i386/syscall.S: Likewise.
16686 * sysdeps/unix/i386/vfork.S: Likewise.
16687 * sysdeps/unix/i386/wait.S: Likewise.
16688
7143acae
JM
16689 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16690 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16691
2ce4f015
JM
16692 * configure.in (arm*-none*): Do not allow without
16693 --enable-hacker-mode.
16694 (netbsd*): Remove case setting base_os.
16695 (386bsd*): Likewise.
16696 (freebsd*): Likewise.
16697 (bsdi*): Likewise.
16698 (osf*): Likewise.
16699 (sunos*): Likewise.
16700 (ultrix*): Likewise.
16701 (newsos*): Likewise.
16702 (dynix*): Likewise.
16703 (*bsd*): Likewise.
16704 (sysv*): Likewise.
16705 (isc*): Likewise.
16706 (esix*): Likewise.
16707 (sco*): Likewise.
16708 (minix*): Likewise.
16709 (irix4*): Likewise.
16710 (irix6*): Likewise.
16711 (solaris[2-9]*): Likewise.
16712 (none): Likewise.
16713 * configure: Regenerated.
16714
0ac229c8
AZ
167152012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16716
16717 [BZ #11521]
16718 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16719 overflow or cancellation in calculating denominator.
16720 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16721 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16722 down expression to avoid unexpected rounding in newer GCCs.
16723 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16724
33f244f4
DM
167252012-04-26 David S. Miller <davem@davemloft.net>
16726
16727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16728 long-double compat symbols.
16729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16742
cfa1f3e8
DM
167432012-04-25 David S. Miller <davem@davemloft.net>
16744
16745 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16746 HWCAP_* values only after the memory barriers have been defined.
16747 (atomic_full_barrier): Define.
16748 (atomic_read_barrier): Define.
16749 (atomic_write_barrier): Define.
16750
6e236b92
SP
167512012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16752
16753 * shlib-versions: Add libgcc_s version information.
16754 * sysdeps/generic/libgcc_s.h: Remove.
16755 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16756 libgcc_s.h.
16757 * sysdeps/gnu/unwind-resume.c: Likewise.
16758 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16759
aab39a09
DM
167602012-04-25 David S. Miller <davem@davemloft.net>
16761
16762 * sysdeps/unix/sparc/brk.S: Delete.
16763 * sysdeps/unix/sparc/dl-brk.S: Delete.
16764 * sysdeps/unix/sparc/pipe.S: Delete.
16765 * sysdeps/unix/sparc/sysdep.S: Delete.
16766 * sysdeps/unix/sparc/sysdep.h: Delete.
16767 * sysdeps/unix/sparc/vfork.S: Delete.
16768 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16769 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16770 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16771 ret_ERRVAL, r0, r1, MOVE): Define.
16772 (JUMPTARGET): Remove.
16773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16774 sysdeps/unix/sparc/sysdep.h
16775 (ENTRY, END): Remove.
16776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16777
a3cc4f48
JM
167782012-04-25 Joseph Myers <joseph@codesourcery.com>
16779
2ed8cda2
JM
16780 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16781 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16782 -DIS_IN_build.
16783
35d76d59
JM
16784 * timezone/README: Update upstream location and email address for
16785 tzcode and tzdata.
16786 * timezone/zdump.c: Update from tzcode 2012b.
16787 * timezone/zic.c: Likewise.
16788
a3cc4f48
JM
16789 * configure.in (libc_cv_as_needed): Remove test.
16790 * configure: Regenerated.
16791 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16792 conditional definition.
16793 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16794 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16795 * config.make.in (have-as-needed): Remove variable.
16796
ceab42c3
SP
167972012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16798 Paul Pluzhnikov <ppluzhnikov@google.com>
16799
16800 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16801 strings correctly.
16802
3ce2865f
CLT
168032012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16804
16805 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16806 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16807 * sysdeps/sh/strlen.S: Likewise.
16808
f37e0d68
JM
168092012-04-24 Joseph Myers <joseph@codesourcery.com>
16810
ae186e9a
JM
16811 * sysdeps/unix/fork.S: Remove file.
16812 * sysdeps/unix/i386/fork.S: Likewise.
16813 * sysdeps/unix/sparc/fork.S: Likewise.
16814
b96914af
JM
16815 * sysdeps/unix/system.c: Remove file.
16816 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16817
f37e0d68
JM
16818 * sysdeps/unix/getegid.S: Remove file.
16819 * sysdeps/unix/geteuid.S: Likewise.
16820
87ef29ca
RM
168212012-04-24 Roland McGrath <roland@hack.frob.com>
16822
83bcd236
RM
16823 * scripts/check-localplt.awk: New file.
16824 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16825 of diff.
16826 * scripts/data/localplt-generic.data: Add a comment.
16827
87ef29ca
RM
16828 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16829 NODE when __dir_mkfile failed.
16830 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16831 Reported by Ludovic Courtès <ludo@gnu.org>.
16832
e5a6e567
AJ
168332012-04-24 Andreas Jaeger <aj@suse.de>
16834
16835 * Makerules (common-clean): Also remove gen-as-const-headers
16836 files.
16837
c1820385
JM
168382012-04-24 Joseph Myers <joseph@codesourcery.com>
16839
16840 * Makerules (native-compile): Do not change working directory for
16841 build. Use $(OUTPUT_OPTION) in command.
16842 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16843
94e02fc4
AZ
168442012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16845
16846 [BZ #13886]
16847 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16848 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16849 * math/libm-test.inc (floor_test): Add more tests.
16850 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16851
3a533ca3
JM
168522012-04-24 Joseph Myers <joseph@codesourcery.com>
16853
940ab4b3
JM
16854 * sysdeps/unix/getdents.c: Remove file.
16855 * sysdeps/unix/sysv/getdents.c: Likewise.
16856 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16857
90e037bd
JM
16858 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16859 sysdeps/unix/mman/syscalls.list.
16860 (mmap): Likewise.
16861 (mprotect): Likewise.
16862 (msync): Likewise.
16863 (munmap): Likewise.
16864 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16865 * sysdeps/unix/mman/syscalls.list: Remove.
16866 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16867
3a533ca3
JM
16868 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16869 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16870 * configure: Regenerated.
16871 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16872 $(libgcc_s_suffix).
16873 * config.make.in (libgcc_s_suffix): Remove variable.
16874
1ad743de
JM
168752012-04-23 Joseph Myers <joseph@codesourcery.com>
16876
4ad451e2
JM
16877 * sysdeps/unix/sysv/gethostname.c: Move to ...
16878 * sysdeps/posix/gethostname.c: ... here.
16879
5e37ce39
JM
16880 * sysdeps/unix/execve.S: Remove file.
16881
1ad743de
JM
16882 * sysdeps/unix/_exit.S: Remove file.
16883
4e681b5b
AJ
168842012-04-23 Andreas Jaeger <aj@suse.de>
16885
16886 [BZ #13739]
16887 * manual/Makefile: Remove make dist support, there's no
16888 need for a stand-alone documentation tar ball.
16889 (TEXI2DVI): Define always, it's not in Makeconfig.
16890 (dist): Removed.
16891 (tar-it): Removed.
16892 (edition): Removed.
16893 (glibc-doc-$(edition).tar): Removed
16894 (%.Z): Removed.
16895 (%.gz): Removed.
16896 (%.uu): Removed.
16897 (ETAGS): Remove, it's in Makeconfig.
16898 (move-if-change): Remove, it's in Makeconfig.
16899
38686a03 169002012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16901
16902 [BZ #13970]
16903 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16904 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16905 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16906 (strtod_l, strtof_l, strtold_l): Remove __wur.
16907 It is not necessarily an error to ignore strtol's return value.
16908 One can reliably look at the stored endptr to decide whether
16909 the number had valid syntax.
16910
7c0616fa
AJ
169112012-04-21 Andreas Jaeger <aj@suse.de>
16912
803cb6b7 16913 [BZ #13739]
7c0616fa
AJ
16914 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16915
b0fe253f
JM
169162012-04-21 Joseph Myers <joseph@codesourcery.com>
16917
16918 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16919 * sysdeps/unix/sysv/Versions: Remove file.
16920
8280f22d
MT
169212012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16922
16923 [BZ #13927]
16924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16925
75ce411f 169262012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16927
16928 [BZ #7064]
16929 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16930 version from __vm86.
16931
097d59fa
JM
169322012-04-20 Joseph Myers <joseph@codesourcery.com>
16933
a90f3bcb
JM
16934 * sysdeps/unix/common/lxstat.c: Remove file.
16935 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16936
edc7ea78
JM
16937 * sysdeps/unix/sysv/Makefile: Remove file.
16938
cb78c221
JM
16939 * sysdeps/unix/sysv/direct.h: Remove file.
16940
efa6a45f
JM
16941 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16942 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16943 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16944 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16945 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16946 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16947 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16948
9c9f2d0c
JM
16949 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16950
4541c83b
JM
16951 * sysdeps/unix/xmknod.c: Remove file.
16952 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16953
f5d153a0
JM
16954 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16955
aa746595
JM
16956 * sysdeps/unix/sysv/i386/time.S: Remove file.
16957
cce5905e
JM
16958 * sysdeps/unix/fxstat.c: Remove file.
16959 * sysdeps/unix/xstat.c: Likewise.
16960 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16961
37fa3841
JM
16962 * sysdeps/unix/sysv/sigaction.c: Remove file.
16963
ff1962a3
JM
16964 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16965 (sysdep_headers): Remove variable.
16966 [termio.h not in sysdep_headers] (generated): Likewise.
16967 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16968 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16969 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16970 * sysdeps/unix/sysv/tcflow.c: Likewise.
16971 * sysdeps/unix/sysv/tcflush.c: Likewise.
16972 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16973 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16974 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16975 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16976 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16977
e7740d31
JM
16978 * sysdeps/unix/siglist.c: Remove file.
16979
ee06f18b
JM
16980 * sysdeps/unix/getppid.S: Remove file.
16981
097d59fa
JM
16982 * sysdeps/unix/mkdir.c: Remove file.
16983 * sysdeps/unix/rmdir.c: Likewise.
16984
ff3d51ec
AS
169852012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16986
16987 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16988 ERR_MAX value.
16989 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16990 errlist-compat value.
16991
50f81fd7
DM
169922012-04-18 David S. Miller <davem@davemloft.net>
16993
16994 * sysdeps/generic/memcopy.h (reg_char): Delete.
16995 * debug/strcat_chk.c: Use char, not reg_char.
16996 * debug/strcpy_chk.c: Likewise.
16997 * debug/strncat_chk.c: Likewise.
16998 * debug/strncpy_chk.c: Likewise.
16999 * string/memchr.c: Likewise.
17000 * string/memrchr.c: Likewise.
17001 * string/rawmemchr.c: Likewise.
17002 * string/strcat.c: Likewise.
17003 * string/strchr.c: Likewise.
17004 * string/strchrnul.c: Likewise.
17005 * string/strcmp.c: Likewise.
17006 * string/strcpy.c: Likewise.
17007 * string/strncat.c: Likewise.
17008 * string/strncmp.c: Likewise.
17009 * string/strncpy.c: Likewise.
17010
8ff41c46
WS
170112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17012
17013 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17014 __builtin_memcopy is called when src and dest ranges are known to not
17015 overlap.
17016
6b652f46
WS
170172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17018
17019 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17020 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17021 fwd_align_merge macro call.
17022 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17023 bwd_align_merge macro call.
17024 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17025
b282631e
WS
170262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17027
17028 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17029 bwd_align_merge macros.
17030 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17031 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17032 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17033
95aa737c
DM
170342012-04-18 David S. Miller <davem@davemloft.net>
17035
17036 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17037
7a99a614
AJ
170382012-04-18 Andreas Jaeger <aj@suse.de>
17039
17040 [BZ# 6794]
17041 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17042 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17043 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17044
17045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17046 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17047 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17048
17049 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17050 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17051 Adjust for changed ldbl-128 files.
17052
17053 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17054 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17055 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17056
e5270c23
DM
170572012-04-17 David S. Miller <davem@davemloft.net>
17058
17059 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17060
fb5e92c9
AS
170612012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17062
17063 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17064 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17065 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17066 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17068 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17069
76da7265
AZ
170702012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17071
17072 [BZ #6794]
17073 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17074 * math/libm-test.inc: Add ilogb errno and exception tests.
17075 * math/w_ilogb.c: New file: ilogb wrapper.
17076 * math/w_ilogbf.c: New file: ilogbf wrapper.
17077 * math/w_ilogbl.c: New file: ilogbl wrapper.
17078 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17079 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17080 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17081 exception being thrown with 0.0 as argument.
17082 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17083 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17084 exception being thrown with 0.0 as argument.
17085 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17086 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17087 exception being thrown with 0.0 as argument.
17088 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17089 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17090 exception being thrown with 0.0 as argument.
17091 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17092 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17093 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17094 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17095 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17096 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17097 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17098 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17099 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17100
0396e69d
PB
171012012-04-17 Petr Baudis <pasky@ucw.cz>
17102
17103 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17104 with altivec.
17105
750b5926
MP
171062012-04-16 Marek Polacek <polacek@redhat.com>
17107
17108 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17109
751728a1
MP
171102012-04-16 Marek Polacek <polacek@redhat.com>
17111
17112 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17113 operands of fdivp instruction.
17114
34a27407
L
171152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17116
17117 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17118 * elf/tst-auditmod3b.c: Likewise.
17119 * elf/tst-auditmod4b.c: Likewise.
17120 * elf/tst-auditmod5b.c: Likewise.
17121 * elf/tst-auditmod6b.c: Likewise.
17122 * elf/tst-auditmod6c.c: Likewise.
17123 * elf/tst-auditmod7b.c: Likewise.
17124 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17125 * sysdeps/x86_64/preconfigure.in: Likewise.
17126 * sysdeps/x86_64/preconfigure: Regenerated.
17127
7e73e17d
L
171282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17129
17130 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17131 __ILP32__.
17132
c7a6ab72
AB
171332012-04-13 Antoine Balestrat <merkil33@gmail.com>
17134
17135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17136 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17137
a9e8e0e0
CL
171382012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17139
17140 [BZ #13973]
17141 * locale/iso-639.def: Fix gl language name. Spotted by
17142 Yaron Shahrabani.
17143
ec98af7d
RM
171442012-04-12 Roland McGrath <roland@hack.frob.com>
17145
17146 [BZ #2074]
17147 * libio/libio.h (__io_write_fn): Update comment.
17148
247c3ede
PB
171492012-04-12 Petr Baudis <pasky@ucw.cz>
17150
17151 [BZ #2074]
17152 * stdio.texi (Hook Functions): The user provided writer function
17153 is not allowed to return -1.
17154
55939d6d
DM
171552012-04-11 David S. Miller <davem@davemloft.net>
17156
17157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17158
90020f5a
MF
171592012-04-11 Mike Frysinger <vapier@gentoo.org>
17160
17161 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17162 Add a leading slash to rtkaio.
17163
288f9098
JM
171642012-04-11 Jim Meyering <meyering@redhat.com>
17165
90020f5a
MF
17166 [BZ #11959]
17167 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17168 It is not necessarily an error to ignore fwrite's return
17169 value. One can reliably use ferror to test for errors after
17170 the fact.
288f9098 17171
4be2b570
L
171722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17173
17174 * bits/types.h (__snseconds_t): New type.
17175 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17176
17177 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17179 (__SNSECONDS_T_TYPE): Likewise.
17180 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17181 (__SNSECONDS_T_TYPE): Likewise.
17182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17183 (__SNSECONDS_T_TYPE): Likewise.
17184
288f9098 171852012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17186
17187 [BZ #2636]
17188 * manual/time.texi (Processor Time): Return type of times is
17189 elapsed real time since an arbitrary point in the past.
17190 (CPU Time): Move CLK_TCK from here...
17191 (Processor Time): ...to here. Correct description.
17192 * manual/conf.texi (Constants for Sysconf): Correct description of
17193 _SC_CLK_TCK.
17194
d7dd4413
DM
171952012-04-10 David S. Miller <davem@davemloft.net>
17196
17197 [BZ #13967]
17198 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17199 where the is a gap between DT_REL(A) and DT_JMPREL.
17200
b46068fc
L
172012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17202
17203 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17204 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17205 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17206
73d65cc3
SP
172072012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17208
17209 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17210 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17211 (dl_main): Handle --inhibit-cache.
17212 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17213 _dl_inhibit_cache.
17214 * elf/dl-load.c (_dl_map_object): Use it.
17215 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17216
bcc8d661
JM
172172012-04-09 Joseph Myers <joseph@codesourcery.com>
17218
8f9a2fae
JM
17219 [BZ #13872]
17220 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17221 (__ieee754_powl): Saturate large exponents rather than testing for
17222 overflow of y*log2(x).
17223 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17224 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17225 exceptions.
17226
bcc8d661
JM
17227 [BZ #11521]
17228 * math/s_ctan.c: Include <float.h>.
17229 (__ctan): Avoid internal overflow or cancellation in calculating
17230 denominator.
17231 * math/s_ctanf.c: Likewise.
17232 * math/s_ctanl.c: Likewise.
17233 * math/s_ctanh.c: Likewise.
17234 * math/s_ctanhf.c: Likewise.
17235 * math/s_ctanhl.c: Likewise.
17236 * math/libm-test.inc (ctan_test): Add more tests.
17237 (ctanh_test): Likewise.
17238 * sysdeps/i386/fpu/libm-test-ulps: Update.
17239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17240
823fbbb4
AJ
172412012-04-09 Andreas Jaeger <aj@suse.de>
17242
03879793
AJ
17243 [BZ #6894]
17244 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17245 is an optional BSD extension.
17246
823fbbb4
AJ
17247 [BZ #10254]
17248 * manual/stdio.texi (Opening Streams): Document additional fopen
17249 parameters.
17250
8de131cb
RM
172512012-04-09 Roland McGrath <roland@hack.frob.com>
17252
17253 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17254 %eax without telling the compiler.
17255
c0ed9d7d
CD
172562012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17257
17258 [BZ # 13963]
17259 * manual/install.texi: Use sourceware.org.
17260
c483f6b4
JM
172612012-04-09 Joseph Myers <joseph@codesourcery.com>
17262
d7dd9453
JM
17263 [BZ #13873]
17264 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17265 (__ieee754_pow): Generate overflow and underflow using huge*huge
17266 and tiny*tiny rather than just returning constant infinity or zero
17267 for large exponents.
17268 * math/libm-test.inc (pow_test): Require overflow exceptions for
17269 applicable cases of large exponents.
17270
c483f6b4
JM
17271 [BZ #706]
17272 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17273 (__ieee754_pow): Use iterative multiplication algorithm only for
17274 integer exponents with absolute value below 1024. Check for odd
17275 integer exponents when using algorithm for real exponents.
17276 * math/libm-test.inc (pow_test): Add more tests.
17277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17278
d2de7579
JM
172792012-04-08 Joseph Myers <joseph@codesourcery.com>
17280
17281 [BZ #13705]
17282 * math/libm-test.inc (exp_test): Do not allow overflow exception
17283 on underflow test.
17284
f77f1232
AJ
172852012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17286
17287 [BZ #13705]
17288 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17289 instead of __kernel_standard_f.
17290
3884932b
MF
172912012-04-08 Mike Frysinger <vapier@gentoo.org>
17292
17293 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17294 * sysdeps/x86_64/memset_chk.S: Likewise.
17295
54472e9c
AJ
172962012-04-08 Andreas Jaeger <aj@suse.de>
17297
6ab0fbfc
AJ
17298 [BZ #10153]
17299 * manual/startup.texi (Environment Access): Describe return value
17300 for putenv and setenv.
17301
61efba8c
AJ
17302 [BZ #6895]
17303 * manual/filesys.texi (Directory Entries): Add description for
17304 DT_LNK.
17305
95c3f29a
AJ
17306 [BZ #6890]
17307 * manual/filesys.texi (Directory Entries): Clarify that it's file
17308 system not operating system in the description of DT_UNKNOWN.
17309
54472e9c
AJ
17310 [BZ #6578]
17311 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17312
624254b1
SC
173132012-04-08 Stephen Compall <s11@member.fsf.org>
17314
17315 [BZ #6649]
17316 * manual/llio.texi (Opening and Closing Files): Add cross
17317 reference to explain mode argument.
17318
1e4920e0
MF
173192012-04-07 Mike Frysinger <vapier@gentoo.org>
17320
17321 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17322 * sysdeps/x86_64/memset_chk.S: Likewise.
17323
5ed848f3
DM
173242012-04-07 David S. Miller <davem@davemloft.net>
17325
17326 * elf/elf.h (R_SPARC_WDISP10): Define.
17327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17328 R_SPARC_SIZE32.
17329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17330 R_SPARC_SIZE64 and R_SPARC_H34.
17331
96154cd8
CD
173322012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17333
17334 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17335 conditions and remove no longer applicable assertion.
17336
9904dc47
L
173372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17338
17339 * bits/byteswap.h: Include <features.h>.
17340 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17341 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17342
f8887d0a
L
173432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17344
17345 * bits/byteswap.h (__bswap_16): Removed.
17346 Include <bits/byteswap-16.h> to get __bswap_16.
17347 * sysdeps/i386/bits/byteswap.h: Likewise.
17348 * sysdeps/s390/bits/byteswap.h: Likewise.
17349 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17350 * bits/byteswap-16.h: New file.
17351 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17352 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17353 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17354 * string/Makefile (headers): Add bits/byteswap-16.h.
17355
62470f60
PP
173562012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17357
17358 [BZ #13895]
17359 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17360 extra indirection.
17361 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17362 * nss/tst-nss-static.c: New.
17363
4dad7bab
RM
173642012-04-06 Robert Millan <rmh@gnu.org>
17365
17366 [BZ #6486]
17367 * manual/llio.texi (File Position Primitive): lseek
17368 refers to WHENCE when it really means OFFSET.
17369
e9142a17
AJ
173702012-04-06 Andreas Jaeger <aj@suse.de>
17371
2c040eff
AJ
17372 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17373 strncmp declarations.
17374
e9142a17
AJ
17375 * abilist/libc.abilist: Add __poll and __ppoll.
17376
ff9f1c5f
DM
173772012-04-05 David S. Miller <davem@davemloft.net>
17378
dcd2ae90
DM
17379 * scripts/check-local-headers.sh: Accept a host triplet in the
17380 path matched by the exclude regexp.
17381
993eb054
DM
17382 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17383 definition.
17384 * sysdeps/powerpc/powerpc32/dl-machine.h
17385 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17386 * sysdeps/s390/s390-32/dl-machine.h
17387 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17388 * sysdeps/sparc/sparc32/dl-machine.h
17389 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17390 * sysdeps/sparc/sparc64/dl-machine.h
17391 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17392
ff9f1c5f
DM
17393 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17394 lazy binding.
48e2e132 17395 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17396 undefined symbol errors.
17397
48e2e132 17398 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17399 DT_NEEDED entries.
17400
e80d6f94
MM
174012012-04-05 Michael Matz <matz@suse.de>
17402
17403 [BZ #13592]
17404 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17405
349fa79f
AJ
174062012-04-05 Andreas Jaeger <aj@suse.de>
17407
17408 [BZ #13908]
17409 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17410 comment.
17411
f402708f
KK
174122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17413
17414 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17415 which ROUND is no valid rounding mode.
17416
2ecccfc9
KK
174172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17418
17419 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17420 read again.
17421 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17422
8a53f50f
KK
174232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17424
17425 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17426 an exception using FPU order intentionally.
17427
174282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17429
17430 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17431 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17432 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17433 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17434
d653abb7
SJ
174352012-04-05 Simon Josefsson <simon@josefsson.org>
17436
17437 [BZ #12340]
17438 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17439 EINVAL when BUFLEN is too smal.
17440
c3b1bf7d
TS
174412012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17442
17443 [BZ #13553]
17444 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17445 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17446
b1aa60f3
AJ
174472012-04-03 Andreas Jaeger <aj@suse.de>
17448
c3b1bf7d 17449 [BZ #13938]
67f60a26
AJ
17450 * manual/setjmp.texi (System V contexts): Fix sentence.
17451
b1aa60f3
AJ
17452 [BZ #13926]
17453 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17454 New macro for this case.
17455 [!__GNUC__] (__bswap_64): New inline function for this case.
17456 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17457 * bits/byteswap.h: Likewise.
17458 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17459 ull, guard with __GLIBC_HAVE_LONG_LONG.
17460
17461 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17462 __GLIBC_HAVE_LONG_LONG.
17463
17464 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17465 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17466
39c59c35
TMQMF
174672012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17468
17469 [BZ #13691]
17470 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17471 inptr and inend, rather than using last_ch.
17472
135ffda8
DM
174732012-04-02 David S. Miller <davem@davemloft.net>
17474
17475 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17476 * stdio-common/printf-parse.h (read_int): Change return type to
17477 'int', return -1 on INT_MAX overflow.
17478 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17479 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17480 overflows INT_MAX. Check for overflow of in-format-string precision
17481 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17482 SIZE_MAX not INT_MAX for integer overflow test.
17483 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17484 skip the construct in the format string but do not record anything.
17485 * stdio-common/bug22.c: Adjust to test both width/prevision
17486 INT_MAX overflow as well as total length INT_MAX overflow. Check
17487 explicitly for proper errno values.
17488
228c019e
TS
174892012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17490
302cadd3
TS
17491 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17492 CHAR_MAX.
17493 * string/test-strcmp.c [! WIDE]: Likewise.
17494 * time/tst-mktime2.c: Likewise for INT_MAX.
17495 * string/test-string.h: #include <sys/param.h> for MIN.
17496
228c019e
TS
17497 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17498 * sysdeps/i386/init-first.c (init): Likewise.
17499 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17500 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17501 * sysdeps/sh/init-first.c (init): Likewise.
17502
cfa633f5
UD
175032012-04-01 Ulrich Drepper <drepper@gmail.com>
17504
17505 * po/ru.po: Update from translation team.
d1635ef8 17506 * po/vi.po: Likewise.
cfa633f5 17507
6cd0a5ea
SP
175082012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17509
17510 * resolv/nss_dns/dns-host.c: Merge copyright years.
17511
4b43400f
LD
175122012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17513
17514 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17515 Optimize memcpy with prefetch if
17516 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17517 src, dst pointers have unequal 16 byte alignments.
17518
48c41d04
SP
175192012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17520
17521 [BZ #13928]
17522 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17523 from a CNAME entry and return the minimum ttl for the query.
17524 (gaih_getanswer_slice): Likewise.
17525
b8dc394d
JL
175262012-03-30 Jeff Law <law@redhat.com>
17527
17528 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17529 due to long keys.
17530 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17531 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17532
2f5a5ed0
JL
17533 * resolv/nss_dns/dns-host.c: Update copyright year.
17534
1d39e359
UD
175352012-03-30 Ulrich Drepper <drepper@gmail.com>
17536
c030f70c 17537 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17538 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17539
1d39e359
UD
17540 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17541 comments for sendmmsg.
17542
175432012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17544
17545 [BZ #13691]
17546 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17547 with only 1 character between 0x0041 and 0x01b0.
17548 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17549 * wcsmbs/tst-mbsnrtowcs.c: New file.
17550
20fde227
DM
175512012-03-29 David S. Miller <davem@davemloft.net>
17552
17553 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17554 small copies by hand.
17555
984a4237
JL
175562012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17557
17558 [BZ #13761]
17559 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17560 _nss_compat_initgroups_dyn): Fall back to malloc/free
17561 for large group memberships.
17562
18c9d62b
DM
175632012-03-28 David S. Miller <davem@davemloft.net>
17564
88d85d4f
DM
17565 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17566 that branches into memcpy.
17567 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17568 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17569 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17570 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17571 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17572 bits.
17573 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17574 implementation too.
17575 * sysdeps/sparc/mempcpy.S: New file.
17576
e5aa83e1
DM
17577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17578 the IFUNC routine in the libc case.
17579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17580
88570753
DM
17581 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17582 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17583 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17584 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17585 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17586 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17587 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17588 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17589
249d7567
DM
17590 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17591 loop to 256 bytes instead of 64 bytes and fix test signedness.
17592
18c9d62b
DM
17593 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17594 * sysdeps/sparc/sparc32/Makefile: rather than here...
17595 * sysdeps/sparc/sparc64/Makefile: and here.
17596
05f3d1f6
UD
175972012-03-28 Ulrich Drepper <drepper@gmail.com>
17598
17599 * malloc/mallocbug.c: Avoid warnings about unused variables.
17600
86ae07a8
JL
176012012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17602
17603 [BZ #13760]
17604 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17605 in the right place. Discard and retry query if response is
17606 larger than input buffer size.
17607
41bf21a1
JM
176082012-03-28 Joseph Myers <joseph@codesourcery.com>
17609
d6270972
JM
17610 [BZ #369]
17611 [BZ #2678]
17612 [BZ #3866]
17613 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17614 x for large integer exponent.
17615 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17616 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17617 sign of result as needed afterwards.
17618 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17619 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17620 result for underflowing pow the same as for overflow.
17621 (__kernel_standard_l): Handle powl overflow and underflow here
17622 rather than calling __kernel_standard.
17623 * math/libm-test.inc (pow_test): Add more tests.
17624
414fca03 17625 [BZ #3868]
41bf21a1
JM
17626 [BZ #13879]
17627 [BZ #13910]
17628 [BZ #13911]
17629 [BZ #13912]
17630 [BZ #13913]
17631 [BZ #13915]
17632 [BZ #13916]
17633 [BZ #13917]
17634 [BZ #13918]
17635 [BZ #13919]
17636 [BZ #13920]
17637 [BZ #13921]
17638 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17639 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17640 (__kernel_standard_l): New function.
17641 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17642 __kernel_standard.
17643 * math/w_acosl.c (__acosl): Likewise.
17644 * math/w_asinl.c (__asinl): Likewise.
17645 * math/w_atan2l.c (__atan2l): Likewise.
17646 * math/w_atanhl.c (__atanhl): Likewise.
17647 * math/w_coshl.c (__coshl): Likewise.
17648 * math/w_exp10l.c (__exp10l): Likewise.
17649 * math/w_exp2l.c (__exp2l): Likewise.
17650 * math/w_fmodl.c (__fmodl): Likewise.
17651 * math/w_hypotl.c (__hypotl): Likewise.
17652 * math/w_j0l.c (__j0l, __y0l): Likewise.
17653 * math/w_j1l.c (__j1l, __y1l): Likewise.
17654 * math/w_jnl.c (__jnl, __ynl): Likewise.
17655 * math/w_lgammal.c (__lgammal): Likewise.
17656 * math/w_log10l.c (__log10l): Likewise.
17657 * math/w_log2l.c (__log2l): Likewise.
17658 * math/w_logl.c (__logl): Likewise.
17659 * math/w_powl.c (__powl): Likewise.
17660 * math/w_remainderl.c (__remainderl): Likewise.
17661 * math/w_scalbl.c (sysv_scalbl): Likewise.
17662 * math/w_sinhl.c (__sinhl): Likewise.
17663 * math/w_sqrtl.c (__sqrtl): Likewise.
17664 * math/w_tgammal.c (__tgammal): Likewise.
17665 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17666 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17667 * math/libm-test.inc (acos_test): Add more tests.
17668 (acosh_test): Likewise.
17669 (asin_test): Likewise.
17670 (atanh_test): Likewise.
17671 (exp_test): Likewise.
17672 (exp10_test): Likewise.
17673 (exp2_test): Likewise.
17674 (expm1_test): Likewise.
17675 (lgamma_test): Likewise.
17676 (log_test): Likewise.
17677 (log10_test): Likewise.
17678 (log1p_test): Likewise.
17679 (log2_test): Likewise.
17680 (pow_test): Do not allow some spurious overflow exceptions.
17681 (sqrt_test): Add more tests.
17682 (tgamma_test): Likewise.
17683 (y0_test): Likewise.
17684 (y1_test): Likewise.
17685 (yn_test): Likewise.
17686
dd62fda6
AB
176872012-03-27 Anton Blanchard <anton@samba.org>
17688
17689 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17690 MAP_HUGETLB.
17691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17694
1e3cdfda
AJ
176952012-03-27 David S. Miller <davem@davemloft.net>
17696
b855ab85
DM
17697 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17698
1e3cdfda
AJ
17699 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17700 have-as-vis3 check.
17701
177022012-03-27 Andreas Jaeger <aj@suse.de>
17703
17704 * sysdeps/x86_64/elf/configure.in: Moved to ...
17705 * sysdeps/x86_64/configure.in: ... here.
17706 * sysdeps/x86_64/elf/start.S: Moved to ...
17707 * sysdeps/x86_64/start.S: ... here.
17708 * sysdeps/x86_64/elf/configure: Delete.
17709
17710 * sysdeps/x86_64/configure.in: Merge contents from
17711 sysdeps/i386/configure.in (without i686 check).
17712
17713 * sysdeps/i386/elf/Versions: Merge into ...
17714 * sysdeps/i386/Versions: ... this.
17715 * sysdeps/i386/elf/Versions: Delete file.
17716 * sysdeps/i386/elf/start.S: Moved to ...
17717 * sysdeps/i386/start.S: ...here.
17718 * sysdeps/i386/elf/configure.in: Merge into...
17719 * sysdeps/i386/configure.in: ...here.
17720 * sysdeps/i386/elf/configure.in: Delete file.
17721 * sysdeps/i386/elf/configure: Delete file.
17722
17723 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17724 * debug/backtracesyms.c: ... here.
17725 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17726 * debug/backtracesymsfd.c: ... here.
17727 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17728 * sysdeps/generic/ifunc-sel.h: ... here.
17729
17730 * sysdeps/unix/i386/start.c: Delete file.
17731 * sysdeps/unix/sparc/start.c: Delete file.
17732 * sysdeps/unix/start.c: Delete file.
17733
17734 * sysdeps/sh/elf/configure.in: Moved to ...
17735 * sysdeps/sh/configure.in: ... here.
17736 * sysdeps/sh/elf/start.S: Moved to ...
17737 * sysdeps/sh/start.S: ... here.
17738 * sysdeps/sh/elf/configure: Delete file.
17739
17740 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17741 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17742 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17743 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17744 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17745 * sysdeps/powerpc/powerpc64/start.S: here.
17746 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17747 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17748 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17749 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17750 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17751
17752 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17753 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17754 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17755 * sysdeps/powerpc/powerpc32/start.S: ... here.
17756 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17757 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17758 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17759
17760 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17761 * sysdeps/powerpc/ifunc-sel.h: ... here.
17762 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17763 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17764
17765 * sysdeps/sparc/elf/configure.in: Moved to ...
17766 * sysdeps/sparc/configure.in: ... here.
17767 * sysdeps/sparc/elf/configure: Delete file.
17768 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17769 * sysdeps/sparc/sparc32/start.S: ... here.
17770 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17771 * sysdeps/sparc/sparc64/start.S: ... here.
17772 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17773 * sysdeps/sparc/sparc32/Makefile: ... this.
17774 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17775 * sysdeps/sparc/sparc64/Makefile: ... this.
17776
17777 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17778 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17779 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17780 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17781 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17782 * sysdeps/s390/s390-32/setjmp.S: ... here.
17783 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17784 * sysdeps/s390/s390-32/configure.in: ... here.
17785 * sysdeps/s390/s390-32/elf/configure: Delete file.
17786 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17787 * sysdeps/s390/s390-32/start.S: ... here.
17788
17789 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17790 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17791 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17792 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17793 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17794 * sysdeps/s390/s390-64/setjmp.S: ... here.
17795 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17796 * sysdeps/s390/s390-64/configure.in: ... here
17797 * sysdeps/s390/s390-64/elf/configure: Delete file.
17798 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17799 * sysdeps/s390/s390-64/start.S: ... here.
17800 * sysdeps/s390/s390-64/elf/configure: Delete.
17801
17802 * configure.in: Remove support for elf directories in sysdeps.
17803
17804 * configure: Regenerated.
17805 * sysdeps/i386/configure: Regenerated.
17806 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17807 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17808 * sysdeps/s390/s390-32/configure: Regenerated.
17809 * sysdeps/s390/s390-64/configure: Regenerated.
17810 * sysdeps/sh/configure: Regenerated.
17811 * sysdeps/sparc/configure: Regenerated.
17812 * sysdeps/x86_64/configure: Regenerated.
17813
a3f61311
AS
178142012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17815
c876e002
AS
17816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17817
a3f61311
AS
17818 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17819 denormal result into account.
17820
ac4c54f0
RM
178212012-03-25 Roland McGrath <roland@hack.frob.com>
17822
17823 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17824 Reported by Allan McRae <allan@archlinux.org>.
17825
6a9b9c02
JL
178262012-03-23 Jeff Law <law@redhat.com>
17827
17828 * nss/getnssent.c (__nss_getent): Fix typo.
17829
4c42a0c1
DM
178302012-03-23 David S. Miller <davem@davemloft.net>
17831
17832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17833
1532c7ac
L
178342012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17835
17836 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17837 to pad to uint64_t for each field.
17838 (dl_tls_index): Replace unsigned long with uint64_t.
17839
3ff42526
PP
178402012-03-23 Daniel Jacobowitz <dmj@google.com>
17841 Paul Pluzhnikov <ppluzhnikov@google.com>
17842
17843 [BZ #6528]
17844 * grp/Makefile (otherlibs): Don't set it.
17845 * inet/Makefile (otherlibs): Likewise.
17846 * login/Makefile (otherlibs): Likewise.
17847 * nscd/Makefile (otherlibs): Likewise.
17848 * posix/Makefile (otherlibs): Likewise.
17849 * pwd/Makefile (otherlibs): Likewise.
17850 * rt/Makefile (otherlibs): Likewise.
17851 * sunrpc/Makefile (otherlibs): Likewise.
17852 * nss/Makefile (otherlibs): Likewise.
17853 Add libnss_files to routines and static-only-routines.
17854 ($(objpfx)getent): Remove rule.
17855 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17856 static-only-routines.
17857
7c69cd14
JM
178582012-03-22 Joseph Myers <joseph@codesourcery.com>
17859
17860 [BZ #13892]
17861 * math/s_cexp.c: Include <float.h>.
17862 (__cexp): Handle exp result overflowing not necessarily
17863 overflowing both real and imaginary parts of result.
17864 * math/s_cexpf.c: Likewise.
17865 * math/s_cexpl.c: Likewise.
17866 * math/libm-test.inc (cexp_test): Add more tests.
17867 * sysdeps/i386/fpu/libm-test-ulps: Update.
17868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17869
81b035fe
L
178702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17871
17872 * include/link.h (ELFW): New macro.
17873 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17874 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17875
1da7940c
L
178762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17877
17878 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17879 with uint64_t.
17880
b749dbb9
L
178812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17882
17883 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17884 declaration.
17885 (struct La_x32_retval): Likewise.
17886
2ff87f3f
L
178872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17888
17889 * sysdeps/x86_64/preconfigure.in: New file.
17890 * sysdeps/x86_64/preconfigure: New generated file.
17891
c0df8e69
JM
178922012-03-22 Joseph Myers <joseph@codesourcery.com>
17893
48e44791
JM
17894 [BZ #13824]
17895 * math/e_exp2l.c: Include <float.h>.
17896 (__ieee754_exp2l): Handle overflow and underflow cases
17897 separately. Only pass fractional part of argument to
17898 __ieee754_expl.
17899 * math/libm-test.inc (exp2_test): Add more tests.
17900
c0df8e69
JM
17901 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17902 negating x to take absolute value.
17903 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17904 Likewise.
17905 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17906 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17907 Likewise.
17908 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17909 computing low part if x was negated.
17910 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17911
c8e43ba7
L
179122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17913
17914 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17915 la_x32_gnu_pltexit.
17916 (pltexit): Cast int_retval to ptrdiff_t.
17917 * elf/tst-auditmod3b.c: Likewise.
17918 * elf/tst-auditmod4b.c: Likewise.
17919 * elf/tst-auditmod5b.c: Likewise.
17920 * elf/tst-auditmod6b.c: Likewise.
17921 * elf/tst-auditmod6c.c: Likewise.
17922 * elf/tst-auditmod7b.c: Likewise.
17923
17924 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17925 and x32_gnu_pltexit.
17926
17927 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17928 __ELF_NATIVE_CLASS.
17929 (La_x32_regs): New macro.
17930 (La_x32_retval): Likewise.
17931 (la_x32_gnu_pltenter): New function prototype.
17932 (la_x32_gnu_pltexit): Likewise.
17933
7998fa78
AS
179342012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17935
dcb33988
AS
17936 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17937 exponent.
17938
233fc563
AS
17939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17940
7998fa78
AS
17941 * configure.in (libc_cv_cc_nofma): Check for option to disable
17942 generation of FMA instructions.
17943 * configure: Regenerate.
17944 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17945 * sysdeps/ieee754/dbl-64/Makefile: New file.
17946 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17947 Remove brandred-fma4.
17948 (CFLAGS-brandred-fma4.c): Remove.
17949 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17950 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17951 define.
17952 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17953 define.
17954
8e95c99a
L
179552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17956
17957 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17958 LLONG_MAX != LONG_MAX.
17959 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17960 (_fitoa_word): Likewise.
17961 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17962 LLONG_MAX != LONG_MAX.
17963 * stdio-common/_itowa.h: Include <_itoa.h>.
17964 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17965 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17966 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17967 only if not defined.
17968 (_ITOA_WORD_TYPE): Likewise.
17969 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17970 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17971
6f4db457
DM
179722012-03-21 David S. Miller <davem@davemloft.net>
17973
17974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17975
7785fe5a
L
179762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17977
17978 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17979 of x86_64 when setting libc_cv_slibdir, libdir and
17980 libc_cv_localedir.
17981 * sysdeps/unix/sysv/linux/configure: Regenerated.
17982
4535cd55
JM
179832012-03-21 Joseph Myers <joseph@codesourcery.com>
17984
17985 * manual/lang.texi (Old Varargs): Remove section.
17986 (How Variadic): Update menu.
17987 (va_start): Do not mention varargs.h.
17988
17228132
TS
179892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17990 Joseph Myers <joseph@codesourcery.com>
17991
17992 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17993 link test.
17994 * configure: Regenerated.
17995
8149f976
TS
179962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17997
05f3d1f6
UD
17998 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17999 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18000 conformtest.pl
8149f976 18001
1a4ac776
JM
180022012-03-21 Joseph Myers <joseph@codesourcery.com>
18003
be22ce65
JM
18004 * NOTES: Remove.
18005 * Makefile (files-for-dist): Remove NOTES.
18006 (NOTES): Remove rule.
18007 * README: Don't refer to NOTES.
18008 * manual/creature.texi: Don't include macros.texi.
18009 * manual/intro.texi (creature.texi): Remove comment referring to
18010 NOTES.
18011
40b601fb
JM
18012 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18013 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18014 * configure: Regenerated.
18015 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18016 LIBC_TRY_CC_OPTION.
18017 (libc_cv_as_i686): Likewise.
18018 (libc_cv_cc_avx): Likewise.
18019 (libc_cv_cc_sse2avx): Likewise.
18020 (libc_cv_cc_fma4): Likewise.
18021 (libc_cv_cc_novzeroupper): Likewise.
18022 * sysdeps/i386/configure: Regenerated.
18023
1a4ac776
JM
18024 [BZ #13883]
18025 * sysdeps/i386/fpu/s_cexp.S: Remove.
18026 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18027 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18028 * math/libm-test.inc (cexp_test): Add more tests.
18029 * sysdeps/i386/fpu/libm-test-ulps: Update.
18030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18031
a458e7fe
AM
180322012-03-21 Allan McRae <allan@archlinux.org>
18033
18034 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18035
0cb7efc5
JM
180362012-03-21 Joseph Myers <joseph@codesourcery.com>
18037
18038 [BZ #13871]
18039 * math/w_exp2.c: Do not include <float.h>.
18040 (o_threshold, u_threshold): Remove.
18041 (__exp2): Calculate result before checking finiteness and calling
18042 __kernel_standard.
18043 * math/w_exp2f.c: Likewise.
18044 * math/w_exp2l.c: Likewise.
18045 * math/libm-test.inc (exp2_test): Require overflow exception for
18046 1e6 input.
2460d3aa
JM
18047
18048 [BZ #3866]
18049 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18050 range of signed 64-bit integers before using fistpll. Remove
18051 checks for whether integers fit in mantissa bits.
18052 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18053 the range of signed 32-bit integers before using fistpl. Remove
18054 checks for whether integers fit in mantissa bits.
18055 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18056 (__ieee754_powl): Test for y outside the range of signed 64-bit
18057 integers before using fistpll. Reduce 64-bit values to 63-bit
18058 ones as needed.
18059 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18060 divide-by-zero is raised for zero to large negative powers.
18061 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18062 (__ieee754_powl): Test for y outside the range of signed 64-bit
18063 integers before using fistpll. Reduce 64-bit values to 63-bit
18064 ones as needed.
18065 * math/libm-test.inc (pow_test): Add more tests.
18066
eb96ffb0
L
180672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18068
18069 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18070 <stdio-common/_itoa.h>.
18071 * debug/segfault.c: Likewise.
18072 * elf/dl-cache.c: Likewise.
18073 * elf/dl-minimal.c: Likewise.
18074 * elf/dl-misc.c: Likewise.
18075 * elf/dl-sysdep.c: Likewise.
18076 * elf/dl-version.c: Likewise.
18077 * elf/rtld.c: Likewise.
18078 * hurd/hurdsock.c: Likewise.
18079 * hurd/lookup-retry.c: Likewise.
18080 * malloc/malloc.c: Likewise.
18081 * malloc/mtrace.c: Likewise.
18082 * nscd/nscd_getgr_r.c: Likewise.
18083 * nscd/nscd_getpw_r.c: Likewise.
18084 * nscd/nscd_getserv_r.c: Likewise.
18085 * posix/getopt_init.c: Likewise.
18086 * posix/wordexp.c: Likewise.
18087 * stdio-common/_itoa.c: Likewise.
18088 * stdio-common/printf_fphex.c: Likewise.
18089 * stdio-common/vfprintf.c: Likewise.
18090 * string/_strerror.c: Likewise.
18091 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18092 * sysdeps/i386/i686/hp-timing.h: Likewise.
18093 * sysdeps/mach/_strerror.c: Likewise.
18094 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18095 * sysdeps/mach/hurd/sethostid.c: Likewise.
18096 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18097 * sysdeps/mach/xpg-strerror.c: Likewise.
18098 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18099 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18100 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18101 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18102 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18103 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18104 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18105 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18106 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18107 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18108 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18109 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18110 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18111 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18112 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18113 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18114 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18115 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18116 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18117 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18118 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18119
18120 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18121
18122 * stdio-common/_itoa.h: Moved to ...
18123 * sysdeps/generic/_itoa.h: Here.
18124
18125 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18126
18127 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18128 instead of "_itoa.h" and "_itowa.h".
18129 * stdio-common/vfprintf.: Likewise.
18130
d1af992d
L
181312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18132
18133 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18134 <bits/wordsize.h>.
18135 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18136 (__signbit): Likwise.
18137 (llrintf): Likwise.
18138 (llrint): Likwise.
18139
114883e0
L
181402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18141
18142 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18143 __WORDSIZE != 64.
18144
c135cc1b
JM
181452012-03-20 Joseph Myers <joseph@codesourcery.com>
18146
18147 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18148 OVERFLOW_EXCEPTION_OK.
18149 * math/libm-test.inc ("Philosophy"): Update comment about
18150 exception testing.
18151 (OVERFLOW_EXCEPTION): Define.
18152 (OVERFLOW_EXCEPTION_OK): Likewise.
18153 (INVALID_EXCEPTION_OK): Renumber.
18154 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18155 (IGNORE_ZERO_INF_SIGN): Likewise.
18156 (test_exceptions): Handle FE_OVERFLOW.
18157 (exp10_test): Expect overflow exceptions.
18158 (exp2_test): Likewise.
18159 (expm1_test): Likewise.
18160 (nextafter_test): Likewise.
18161 (pow_test): Likewise.
18162 (scalbn_test): Likewise.
18163 (scalbln_test): Likewise.
18164
95443d88
L
181652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18166
18167 * sysdeps/x86_64/bits/atomic.h
18168 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18169 64bit integer.
18170 (atomic_exchange_acq): Likewise.
18171 (__arch_exchange_and_add_body): Likewise.
18172 (__arch_add_body): Likewise.
18173 (atomic_add_negative): Likewise.
18174 (atomic_add_zero): Likewise.
18175
490df6c4
L
181762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18177
c2722551 18178 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18179 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18180
5e52b189
L
181812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18182
18183 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18184 Check __x86_64__ instead of __WORDSIZE.
18185
a9879d4c
L
181862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18187
18188 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18189
5df98260
DM
181902012-03-19 David S. Miller <davem@davemloft.net>
18191
e1497744
DM
18192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18193
5df98260
DM
18194 * sysdeps/sparc/fpu/fenv_private.h: New file.
18195 * sysdeps/sparc/fpu/math_private.h: Use it.
18196 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18197 Remove.
18198 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18199 (libc_feholdexcept_setroundl): Remove.
18200 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18201 Remove.
18202 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18203 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18204
b4c35121
L
182052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18206
18207 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18208 int64_t instead of long int.
18209 (INSERT_WORDS64): Likwise.
18210
56965fd7
L
182112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18212
18213 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18214 _Unwind_GetCFA return to _Unwind_Ptr first.
18215
83d1aec8
JM
182162012-03-19 Joseph Myers <joseph@codesourcery.com>
18217
1897ad44
JM
18218 [BZ #13629]
18219 * math/s_clog.c: Include <float.h>.
18220 (__clog): Scale large or subnormal inputs.
18221 * math/s_clogf.c: Likewise.
18222 * math/s_clogl.c: Likewise.
18223 * math/s_clog10.c: Include <float.h>.
18224 (M_LOG10_2): Define.
18225 (__clog10): Scale large or subnormal inputs.
18226 * math/s_clog10f.c: Likewise.
18227 * math/s_clog10l.c: Likewise.
18228 * math/libm-test.inc (clog_test): Add more tests.
18229 (clog10_test): Likewise.
18230 * sysdeps/i386/fpu/libm-test-ulps: Update.
18231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18232
7726d6a9
JM
18233 [BZ #11451]
18234 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18235 x and y.
18236 * math/libm-test.inc (atan2_test): Add another test.
18237
83d1aec8
JM
18238 * Makerules (common-objdir-compile): Remove.
18239 * sysdeps/unix/Makefile (config-generated): Do not add
18240 $(unix-generated) to variable.
18241 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18242 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18243 Remove rule.
18244 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18245 Likewise.
18246 [generic bits/local_lim.h] (before-compile): Do not append to
18247 variable.
18248 [generic bits/local_lim.h] (common-generated): Likewise.
18249 [generic sys/param.h] (before-compile): Do not append to variable.
18250 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18251 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18252 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18253 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18254 include.
18255 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18256 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18257 [generic sys/param.h] ($(addprefix
18258 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18259 [generic sys/param.h] (common-generated): Do not append to
18260 variable.
18261 [generic sys/param.h] (sysdep_headers): Likewise.
18262 [generic bits/errno.h] (before-compile): Do not append to
18263 variable.
18264 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18265 rule.
18266 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18267 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18268 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18269 [generic bits/errno.h] (common-generated): Do not append to
18270 variable.
18271 [generic bits/ioctls.h] (before-compile): Do not append to
18272 variable.
18273 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18274 rule.
18275 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18276 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18277 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18278 rule.
18279 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18280 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18281 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18282 [generic bits/ioctls.h] (common-generated): Do not append to
18283 variable.
18284 [generic sys/syscall.h] (syscall.h): Remove variable.
18285 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18286 rule.
18287 [generic sys/syscall.h] (before-compile): Do not append to
18288 variable.
18289 [generic sys/syscall.h] (common-generated): Likewise.
18290 * sysdeps/unix/errnos-tmpl.c: Remove file.
18291 * sysdeps/unix/errnos.awk: Likewise.
18292 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18293 * sysdeps/unix/ioctls.awk: Likewise.
18294 * sysdeps/unix/mk-local_lim.c: Likewise.
18295 * sysdeps/unix/snarf-ioctls: Likewise.
18296
4851a949
RH
182972012-03-19 Richard Henderson <rth@twiddle.net>
18298
bd37f2ee
RH
18299 * sysdeps/i386/fpu/fenv_private.h: New file.
18300 * sysdeps/i386/fpu/math_private.h: Use it.
18301 (math_opt_barrier, math_force_eval): Remove.
18302 (libc_feholdexcept_setround_53bit): Remove.
18303 (libc_feupdateenv_53bit): Remove.
18304 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18305 (math_opt_barrier, math_force_eval): Remove.
18306 (libc_feholdexcept): Remove.
18307 (libc_feholdexcept_setround): Remove.
18308 (libc_fetestexcept, libc_fesetenv): Remove.
18309 (libc_feupdateenv_test): Remove.
18310 (libc_feupdateenv, libc_feholdsetround): Remove.
18311 (libc_feresetround): Remove.
18312
d0adc922
RH
18313 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18314 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18315
0fe0f1f8
RH
18316 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18317 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18318 (libc_feupdateenv_testl): New.
18319 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18320 (libc_feupdateenv_testf): New.
18321 (libc_feupdateenv): Use libc_feupdateenv_test.
18322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18323 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18324
eb92c487
RH
18325 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18326 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18327 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18328 (libc_feresetround_noex): New.
18329 (libc_feresetround_noexf): New.
18330 (libc_feresetround_noexl): New.
18331 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18332 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18333 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18334 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18335 SET_RESTORE_ROUND.
18336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18337 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18338 (__cos): Likewise.
18339 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18340 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18341 SET_RESTORE_ROUND_NOEX.
18342 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18343 SET_RESTORE_ROUND_NOEXF.
18344 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18345 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18346 (libc_feholdsetroundf): New.
18347 (libc_feresetround, libc_feresetroundf): New.
18348
7d2e8012
RH
18349 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18350 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18351 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18352
b4dabbb4
RH
18353 * sysdeps/generic/math_private.h: Include <fenv.h>.
18354 (default_libc_feholdexcept): New.
18355 (default_libc_feholdexcept_setround): New.
18356 (default_libc_fesetenv, default_libc_feupdateenv): New.
18357 (libc_feholdexcept): Only define if undefined.
18358 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18359 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18360 (libc_feholdexcept_setroundl): Likewise.
18361 (libc_feholdexcept_setround_53bit): Likewise.
18362 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18363 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18364 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18365 (libc_feupdateenv_53bit): Likewise.
18366 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18367 (libc_feholdexcept): Convert from macro to inline function.
18368 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18369 (libc_fesetenv, libc_feupdateenv): Likewise.
18370
4851a949
RH
18371 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18372 not previously defined.
18373 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18374 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18375 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18376 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18377 * sysdeps/ieee754/flt-32/math_private.h: New file.
18378 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18379 math_private.h below SET_FLOAT_WORD.
18380 (__isnan, __isinf_ns, __finite): Remove.
18381 (__isnanf, __isinf_nsf, __finitef): Remove.
18382
e79d442e
AS
183832012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18384
18385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18386
90b80344
DM
183872012-03-17 David S. Miller <davem@davemloft.net>
18388
18389 [BZ #6471]
18390 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18391 for 2.16.
18392
edc21804
DM
183932012-03-16 David S. Miller <davem@davemloft.net>
18394
77e927af
DM
18395 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18396 warnings.
18397
374976dd
DM
18398 [BZ #6471]
18399 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18400 properly.
18401 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18402 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18403 sysdep_routines when subdir is sysvipc.
18404 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18405 __getshmlba helper.
18406
edc21804
DM
18407 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18408
473c3ef3
L
184092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18410
18411 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18412 [__LP64__].
18413
eb0f39b6
L
184142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18415
18416 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18417 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18418 (__lround): Renamed to ...
18419 (__llround): This. Replace long int with long long int.
18420 Define lround functions as aliases of llround functions.
18421 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18422
6b6cd74b
L
184232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18424
18425 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18426 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18427 adresses to uintptr_t. Replace "long int" and "unsigned long
18428 int" with "greg_t" on va_arg.
18429
f1a77b01
L
184302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18431
18432 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18433 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18434
18435 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18436 Move e_machine check before EI_CLASS check. Handle x32
18437 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18438 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18439 SKIP_EM_IA_64 and include
18440 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18441
18442 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18443 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18444 (add_system_dir): New macro.
18445
18446 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18447 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18448
11b90b9f
JM
184492012-03-16 Joseph Myers <joseph@codesourcery.com>
18450
c36e1d23
JM
18451 [BZ #2551]
18452 [BZ #2552]
18453 [BZ #2553]
18454 [BZ #2554]
18455 [BZ #2562]
18456 [BZ #2563]
18457 [BZ #2565]
18458 [BZ #2566]
18459 [BZ #2576]
18460 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18461 (y0): Likewise.
18462 * math/w_j0f.c (j0f): Likewise.
18463 (y0f): Likewise.
18464 * math/w_j0l.c (__j0l): Likewise.
18465 (__y0l): Likewise.
18466 * math/w_j1.c (j1): Likewise.
18467 (y1): Likewise.
18468 * math/w_j1f.c (j1f): Likewise.
18469 (y1f): Likewise.
18470 * math/w_j1l.c (__j1l): Likewise.
18471 (__y1l): Likewise.
18472 * math/w_jn.c (jn): Likewise.
18473 (yn): Likewise.
18474 * math/w_jnf.c (jnf): Likewise.
18475 (ynf): Likewise.
18476 * math/w_jnl.c (__jnl): Likewise.
18477 (__ynl): Likewise.
18478 * math/libm-test.inc (j0_test): Add more tests.
18479 (j1_test): Likewise.
18480 (jn_test): Likewise. Add trailing semicolon to existing test.
18481 (y0_test): Likewise.
18482 (y1_test): Likewise.
18483 * sysdeps/i386/fpu/libm-test-ulps: Update.
18484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18485
11b90b9f
JM
18486 [BZ #13851]
18487 [BZ #13854]
18488 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18489 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18490 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18491 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18492 (__tanl): Set errno for infinite argument.
18493 * sysdeps/i386/fpu/mptan.c: Remove.
18494 * sysdeps/i386/fpu/s_tan.S: Likewise.
18495 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18496 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18497 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18498 * math/libm-test.inc (tan_test): Add more tests and enable more
18499 tests for double and long double.
18500 * sysdeps/i386/fpu/libm-test-ulps: Update.
18501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18502
6a1bd2a1
JK
185032012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18504
18505 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18506 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18507
10a803e0
RM
185082012-03-16 Roland McGrath <roland@hack.frob.com>
18509
18510 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18511 * configure.in: Use it for both main tree and add-ons.
18512 * configure: Regenerated.
18513
f196c7f7
L
185142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18515
18516 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18517
8848d99d
JM
185182012-03-16 Joseph Myers <joseph@codesourcery.com>
18519
96cbe7f4
JM
18520 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18521 in comment.
18522
8848d99d
JM
18523 [BZ #13851]
18524 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18525 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18526 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18527 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18528 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18529 infinite argument.
18530 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18531 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18532 != 0 for prec == 2.
18533 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18534 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18535 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18536 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18537 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18538 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18539 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18540 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18541 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18542 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18543 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18544 * math/libm-test.inc (cos_test): Add more tests and enable more
18545 tests for long double.
18546 (sin_test): Likewise.
18547 (sincos_test): Likewise.
18548 * sysdeps/i386/fpu/libm-test-ulps: Update.
18549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18550
dd7f4703
DM
185512012-03-16 David S. Miller <davem@davemloft.net>
18552
18553 * sysdeps/sparc/fpu/math_private.h: New file.
18554
006f1daa
DM
185552012-03-15 David S. Miller <davem@davemloft.net>
18556
c0c83bc8
DM
18557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18558 file.
e6a62e18 18559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18561 file.
e6a62e18
DM
18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18567 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18568 sysdep routines.
18569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18570
88cb87d9
DM
18571 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18572 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18573
006f1daa 18574 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18576 sparc-ifunc.h
006f1daa 18577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18579 Likewise.
18580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18581 Likewise.
006f1daa
DM
18582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18586 Likewise.
006f1daa
DM
18587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18592 Likewise.
18593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18594 Likewise.
006f1daa
DM
18595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18613 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18614 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18615 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18616 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18618 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18619
11e0098e
AS
186202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18621
18622 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18623 scaling.
18624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18625
e85b09d0
AJ
186262012-03-15 Andreas Jaeger <aj@suse.de>
18627
18628 [BZ #13852]
18629 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18630 ieee754/flt-32 implementation for sin, cos and sincos.
18631 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18632 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18633 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18634 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18635 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18636 ieee754/flt-32 implementation for tan.
18637
18638 * math/libm-test.inc (cos_test): Enable some large input tests for
18639 float as well
18640 (sin_test): Likewise.
18641 (sincos_test): Likewise.
18642 (tan_test): Add tests for large input.
18643
18644 * sysdeps/i386/fpu/libm-test-ulps: Update.
18645
81c64153
AJ
186462012-03-15 Andreas Jaeger <aj@suse.de>
18647
18648 [BZ #13658]
18649 * math/libm-test.inc (cos_test): Add more test cases.
18650 (sin_test): Likewise.
18651 (sincos_test): Likewise.
18652
7bbfa5c6
AJ
186532012-03-15 Andreas Jaeger <aj@suse.de>
18654
18655 [BZ #13837]
18656 * math/libm-test.inc (cos_test): Add a test case for large input
18657 value.
18658 (sin_test): Likewise.
18659 (sincos_test): Likewise.
18660
186612012-03-15 Andreas Jaeger <aj@suse.de>,
18662 Joseph Myers <joseph@codesourcery.com>
18663
18664 [BZ #13658]
0671f479 18665 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18666 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18667 * sysdeps/i386/fpu/branred.c: Likewise.
18668 * sysdeps/i386/fpu/dosincos.c: Likewise.
18669 * sysdeps/i386/fpu/mpa.c: Likewise.
18670 * sysdeps/i386/fpu/s_cos.S: Likewise.
18671 * sysdeps/i386/fpu/s_sin.S: Likewise.
18672 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18673 * sysdeps/i386/fpu/sincos32.c: Likewise.
18674
18675 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18676 Define.
18677 (libc_feupdateenv_53bit): Define.
18678 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18679 Define.
18680 (libc_feupdateenv_53bit): Define.
18681
18682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18683 53 bit (without extend i386 double precision).
18684
18685 * math/libm-test.inc (sincos_test): Add tests for large input.
18686 (sin): Likewise.
18687 (cos): Likewise.
18688
18689 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18690
9cad04ea
AS
186912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18692
18693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18694
f7062b9a
DM
186952012-03-15 David S. Miller <davem@davemloft.net>
18696
18697 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18698 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18699 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18700 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18713 file.
f7062b9a 18714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18716 file.
f7062b9a 18717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18719 file.
f7062b9a 18720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18722 file.
f7062b9a
DM
18723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18725 fmin/fmax sysdep routines.
18726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18727
7bd951ff
DM
187282012-03-14 David S. Miller <davem@davemloft.net>
18729
559398ab
DM
18730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18732 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18734 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18735 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18736 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18737 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18740 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18741 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18750 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18759 routines.
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18761 file.
559398ab 18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18764 file.
559398ab 18765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18767 file.
559398ab 18768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18770 file.
559398ab 18771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18773 file.
559398ab 18774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18776 file.
18777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18778 file.
18779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18780 file.
18781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18782 file.
18783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18784 New file.
18785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18786 file.
18787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18788 file.
559398ab 18789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18791 file.
559398ab 18792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18794 file.
559398ab 18795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18797 file.
559398ab 18798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18800 VIS3 routines.
559398ab
DM
18801
18802 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18803 New file.
18804
5a1c1e32
DM
18805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18806
eae47a36
DM
18807 * sysdeps/sparc/configure.in: New file.
18808 * sysdeps/sparc/configure: Generate.
18809 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18810 * configure: Regenerate.
18811 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18812 * config.make.in (have-as-vis3): New.
18813 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18814 available use -Av9d instead of -Av9a.
18815 * sysdeps/sparc/sparc64/Makefile: Likewise.
18816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18818 New file.
18819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18820 file.
18821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18822 New file.
18823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18824 file.
eae47a36
DM
18825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18826 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18827 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18828 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18829 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18830
c0c83bc8
DM
18831 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18832 fzeros/fnegs to load 0x80000000 into a float register instead of
18833 using the stack.
7bd951ff
DM
18834 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18835
bd951ccb
JM
188362012-03-14 Joseph Myers <joseph@codesourcery.com>
18837
18838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18839 bits/syscall.h.
18840 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18841 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18842 ($(inst_includedir)/bits/syscall.h): Remove rule.
18843 ($(objpfx)bits/syscall.d): Include instead of
18844 $(objpfx)syscall-list.d.
18845 (generated): Change syscall-list.h and syscall-list.d to
18846 bits/syscall.h and bits/syscall.d.
18847
bb4e6db2
RM
188482012-03-14 Roland McGrath <roland@hack.frob.com>
18849
18850 [BZ #13846]
18851 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18852
aa4a2ae1
JM
188532012-03-14 Joseph Myers <joseph@codesourcery.com>
18854
e456826d
JM
18855 [BZ #13841]
18856 * math/s_csqrt.c: Include <float.h>.
18857 (__csqrt): Scale large or subnormal inputs.
18858 * math/s_csqrtf.c: Likewise.
18859 * math/s_csqrtl.c: Likewise.
18860 * math/libm-test.inc (csqrt_test): Add more tests.
18861 * sysdeps/i386/fpu/libm-test-ulps: Update.
18862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18863
aa4a2ae1
JM
18864 [BZ #13840]
18865 * math/libm-test.inc (hypot_test): Add more tests.
18866
7c10fd35
DM
188672012-03-13 David S. Miller <davem@davemloft.net>
18868
18869 [BZ #13840]
18870 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18871 double-precision for the calculation instead of scaling.
18872
f453b98b
JM
188732012-03-13 Joseph Myers <joseph@codesourcery.com>
18874
18875 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18876 manipulate bits before adding and subtracting TWO52[sx].
18877 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18878 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18879 Likewise.
18880 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18881
09a3453f
DM
188822012-03-13 David S. Miller <davem@davemloft.net>
18883
8e59da90
DM
18884 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18885 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18886 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18887 rtld-global-offsets.h
18888 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18889
2a8ab7f2
DM
18890 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18891 large parameters.
18892
10f62770
DM
18893 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18894
5f0bdb18
DM
18895 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18896 'err' in the ifdef scope in which it is actually used.
18897
09a3453f
DM
18898 * nss/nss_db/db-init.c: Include string.h
18899
b4b2eb5e
DM
189002012-03-12 David S. Miller <davem@davemloft.net>
18901
98bb2f1c
DM
18902 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18903 masking out of the most significant byte of random value used.
18904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18905 Fix coding style in previous change.
18906
b4b2eb5e
DM
18907 * sysdeps/unix/sysv/linux/kernel-features.h
18908 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18909 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18910 expression.
18911 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18912 later.
18913
6e226b09
DM
189142012-03-11 David S. Miller <davem@davemloft.net>
18915
a1bcbd40
DM
18916 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18917 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18918 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18919 for 'resultvar' otherwise things get truncated on 64-bit.
18920
cb9d6174
DM
18921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18922 Fix masking out of the most significant byte of random value used.
18923
6e226b09
DM
18924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18925
058c132d
AS
189262012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18927
18928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18929
2d2cd515
DM
189302012-03-09 David S. Miller <davem@davemloft.net>
18931
18932 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18933 variables with appropriate CPP guards.
18934 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18935 frame pointer, not the stack pointer. Correct layout comments. Fix test
18936 on resulting framesize and the management of the outregs buffer for pltexit.
18937 Preserve floating point return values across _dl_call_pltexit call.
18938 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18939 framesize and the management of the outregs buffer for pltexit.
18940 Preserve floating point return values across _dl_call_pltexit
18941 call.
18942 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18943 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18944 (print_exit): Fix format string for return register value.
18945
9a07f9d0
JM
189462012-03-10 Joseph Myers <joseph@codesourcery.com>
18947
18948 * sunrpc/Makefile (others): Add rpcgen.
18949 ($(objpfx)rpcgen): Remove special build rule and dependency on
18950 libc.
18951 * sunrpc/rpcgen.c: New file.
18952
547b5e30
PE
189532012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18954
c524201a
PE
18955 [BZ #13673]
18956 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18957 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18958 * sysdeps/i386/crti.S: Likewise.
18959 * sysdeps/i386/crtn.S: Likewise.
18960 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18961 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18962 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18963 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18964 * sysdeps/sh/crti.S: Likewise.
18965 * sysdeps/sh/crtn.S: Likewise.
18966 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18967
7b6235f2
PE
18968 [BZ #13673]
18969 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18970 with URL.
18971 * locale/programs/locfile-kw.gperf: Likewise.
18972 * locale/programs/charmap-kw.h: Regenerated.
18973 * locale/programs/locfile-kw.h: Likewise.
18974
547b5e30
PE
18975 [BZ #13673]
18976 * intl/plural.y: Replace FSF snail mail address with URL.
18977 * intl/plural.c: Regenerated.
18978
5f0a5dae
RH
189792012-03-09 Richard Henderson <rth@twiddle.net>
18980
18981 * include/math_private.h: Remove file.
18982 * math/math_private.h: Move file ...
18983 * sysdeps/generic/math_private.h: ... here.
18984
b8c03620
RH
18985 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18986 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18987 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18988
4e234f5d 18989 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18990 and <math_private.h>.
18991 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18992 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18993 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18994 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18995 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18996 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18997 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18999 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19000 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19002 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19003 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19005 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19006 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19007 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19008 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19009 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19010 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19012 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19013 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19015 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19016 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19017 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19020 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19021 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19022 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19023 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19024 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19025 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19026 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19027 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19028 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19029 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19030 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19031 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19034 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19035 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19036 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19039 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19040 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19041 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19042 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19043 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19044 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19045 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19046 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19047 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19048 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19049 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19050 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19051 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19052 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19054 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19055 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19056 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19057 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19058 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19059 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19060 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19062 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19063 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19064 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19067 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19068 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19069 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19070 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19071 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19072 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19073 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19074 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19075 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19078 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19079 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19080 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19081 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19082 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19083 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19084 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19085 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19086 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19088 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19090 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19091 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19092 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19093 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19094 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19095 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19096 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19097 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19098 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19099 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19100 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19101 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19102 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19103 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19104 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19105 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19106 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19107 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19108 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19109 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19110 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19111 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19112 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19113 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19114 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19115 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19116 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19117 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19118 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19119 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19120 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19121 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19122 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19123 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19124 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19125 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19126 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19127 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19128 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19129 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19130 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19131 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19132 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19133 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19134 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19135 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19136 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19137 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19138 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19139 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19140 * sysdeps/ieee754/k_standard.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19147 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19154 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19155 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19158 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19161 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19164 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19166 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19167 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19168 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19169 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19171 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19172 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19173 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19174 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19175 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19176 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19177 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19178 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19179 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19180 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19181 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19183 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19186 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19187 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19188 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19189 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19190 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19191 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19192 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19193 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19194 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19196 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19197 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19198 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19199 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19200 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19202 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19210 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19211 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19213 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19214 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19215 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19216 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19217 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19218 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19220 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19221 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19222 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19223 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19225 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19226 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19227 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19229 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19230 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19231 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19232 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19233 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19234 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19235 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19236 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19237 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19238 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19239 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19240 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19242 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19243 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19244 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19245 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19247 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19248 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19249 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19250 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19251 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19252 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19253 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19254 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19255 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19256 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19257 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19258 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19259 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19260 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19261 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19262 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19263 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19264 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19265 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19266 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19267 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19268 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19269 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19270 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19271 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19272 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19273 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19274 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19275 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19276 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19277 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19278 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19279 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19282 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19285 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19286 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19288 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19289 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19290 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19291 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19293 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19294 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19295 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19296 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19297 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19298 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19299 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19300 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19301 * sysdeps/ieee754/s_lib_version.c: Likewise.
19302 * sysdeps/ieee754/s_matherr.c: Likewise.
19303 * sysdeps/ieee754/s_signgam.c: Likewise.
19304 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19305 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19306 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19307 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19308 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19309 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19310 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19311 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19312 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19313 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19314 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19315 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19316 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19317 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19318 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19319 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19320 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19321 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19322 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19323 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19324 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19325
1991fa03
JM
193262012-03-09 Joseph Myers <joseph@codesourcery.com>
19327
19328 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19329 * sunrpc/rpc_main.c: Likewise.
19330 * sunrpc/rpc_svcout.c: Likewise.
19331
60d6f5a6
DM
193322012-03-09 David S. Miller <davem@davemloft.net>
19333
19334 * include/math_private.h: New file.
19335
4962050e
JM
193362012-03-09 Joseph Myers <joseph@codesourcery.com>
19337
02a6f887
JM
19338 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19339 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19340 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19341 from <bits/socket_type.h>.
19342 (enum __socket_type): Don't define here.
19343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19345 bits/socket_type.h.
19346
c6e013c1
JM
19347 [BZ #13566]
19348 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19349 checking __USE_GNU.
19350
4962050e
JM
19351 * Makerules ($(inst_includedir)/%.h): New rule.
19352 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19353 (install-others): Remove variable setting.
19354 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19355
38842f45
RH
193562012-03-08 Richard Henderson <rth@twiddle.net>
19357
67bb6da6
RH
19358 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19359 from macro to inline function; merge with the
19360 !__LIBC_INTERNAL_MATH_INLINES version.
19361 (__ieee754_sqrtf): Likewise.
19362
15194b4b
RH
19363 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19364 to inline function.
19365 (__rintf, __floor, __floorf): Likewise.
19366
64e21ede
RH
19367 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19368 macro to inline function.
19369 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19370
38842f45
RH
19371 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19372 not <math/math_private.h>.
19373
c64bf5fe
DM
193742012-03-08 David S. Miller <davem@davemloft.net>
19375
19376 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19377 copyright year.
19378 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19379
82d86f28
TS
193802012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19381
19382 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19383 normalization.
19384 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19385 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19386
aea5d727
UD
193872012-03-08 Ulrich Drepper <drepper@gmail.com>
19388
19389 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19390 be defined individually, they must be defined as a block. Define
19391 S for printing a string instead of hidint the different by using a
19392 macro for adding the 'l'.
19393 * stdio-common/tst-fphex-wide.c: Adjust.
19394
70bca0a3
MP
193952012-03-07 Marek Polacek <polacek@redhat.com>
19396
19397 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19398
65b81130
MP
193992012-03-08 Marek Polacek <polacek@redhat.com>
19400
19401 [BZ #13806]
19402 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19403 * stdio-common/tst-fphex.c: Define a few macros to make the
19404 test reusable. Use them.
19405 * stdio-common/tst-fphex-wide.c: New file.
19406
07037eeb
JM
194072012-03-08 Joseph Myers <joseph@codesourcery.com>
19408
a7a93d50
JM
19409 [BZ #6911]
19410 * manual/macros.texi (gnusystems): New macro.
19411 (nongnusystems): Likewise.
19412 (gnulinuxhurdsystems): Likewise.
19413 (gnuhurdsystems): Likewise..
19414 (gnulinuxsystems): Likewise.
19415 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19416 variants of the GNU system, not "GNU system".
19417 * manual/conf.texi: Likewise.
19418 * manual/errno.texi: Likewise. Update example of errno macro
19419 expansion.
19420 * manual/filesys.texi: Likewise.
19421 (getumask): Document as specific to GNU/Hurd.
19422 * manual/install.texi: Likewise. Reword some references to
19423 GNU/Linux.
19424 * manual/intro.texi: Likewise.
19425 * manual/io.texi: Likewise.
19426 (File Name Portability): Detail which constraints are inapplicable
19427 to all GNU systems and which are only inapplicable to GNU/Hurd.
19428 * manual/job.texi: Likewise.
19429 * manual/llio.texi: Likewise.
19430 (O_NOCTTY): Document as present on GNU/Linux.
19431 * manual/maint.texi: Likewise.
19432 * manual/memory.texi: Likewise.
19433 * manual/pattern.texi: Likewise.
19434 * manual/pipe.texi: Likewise.
19435 * manual/process.texi: Likewise.
19436 * manual/resource.texi: Likewise.
19437 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19438 child on GNU/Hurd.
19439 * manual/setjmp.texi: Likewise.
19440 * manual/signal.texi: Likewise.
19441 * manual/startup.texi: Likewise.
19442 * manual/stdio.texi: Likewise.
19443 * manual/terminal.texi: Likewise.
19444 (ONLCR): Document as POSIX.
19445 (OXTABS): Document availability on GNU/Linux as XTABS.
19446 (ONOEOT): Document availability separately from other bits.
19447 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19448 * manual/time.texi: Likewise.
19449 * manual/users.texi: Likewise.
19450 * INSTALL: Regenerated.
19451 * sysdeps/gnu/errlist.c: Regenerated.
19452
07037eeb
JM
19453 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19454 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19455 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19456 puts.
19457 * configure: Regenerated.
19458
d1d3431a
JM
194592012-03-07 Joseph Myers <joseph@codesourcery.com>
19460
af6a1e37
JM
19461 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19462 default includes instead of AC_HEADER_CHECK.
19463 * sysdeps/i386/configure: Regenerated.
19464
d1d3431a
JM
19465 [BZ #10716]
19466 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19467 * math/s_cacoshf.c (__cacoshf): Likewise.
19468 * math/s_cacoshl.c (__cacoshl): Likewise.
19469 * math/s_casinh.c (__casinh): Set signs of result from argument.
19470 * math/s_casinhf.c (__casinhf): Likewise.
19471 * math/s_casinhl.c (__casinhl): Likewise.
19472 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19473 (casinh_test): Add more tests.
19474 * sysdeps/i386/fpu/libm-test-ulps: Update.
19475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19476
482ff4da
UD
194772012-03-07 Ulrich Drepper <drepper@gmail.com>
19478
872fda05
UD
19479 * po/zh_TW.po: Update from translation team.
19480
a4300c7a
UD
19481 * login/Makefile (distribute): Remove variable.
19482 * catgets/Makefile: Likewise.
19483 * mach/Makefile: Likewise.
19484 * malloc/Makefile: Likewise.
19485 * misc/Makefile: Likewise.
19486 * iconv/Makefile: Likewise.
19487 * nscd/Makefile: Likewise.
19488 * hurd/Makefile: Likewise.
19489 * manual/Makefile: Likewise.
19490 * locale/Makefile: Likewise.
19491 * intl/Makefile: Likewise.
19492 * conform/Makefile: Likewise.
19493 * nss/Makefile: Likewise.
19494 * time/Makefile: Likewise.
19495 * soft-fp/Makefile: Likewise.
19496 * dirent/Makefile: Likewise.
19497 * gmon/Makefile: Likewise.
19498 * po/Makefile: Likewise.
19499 * rt/Makefile: Likewise.
19500 * socket/Makefile: Likewise.
19501 * math/Makefile: Likewise.
19502 * signal/Makefile: Likewise.
19503 * debug/Makefile: Likewise.
19504 * elf/Makefile: Likewise.
19505 * timezone/Makefile: Likewise.
19506 * stdlib/Makefile: Likewise.
19507 * iconvdata/Makefile: Likewise.
19508 * sunrpc/Makefile: Likewise.
19509 * io/Makefile: Likewise.
19510 * argp/Makefile: Likewise.
19511 * inet/Makefile: Likewise.
19512 * hesiod/Makefile: Likewise.
19513 * grp/Makefile: Likewise.
19514 * csu/Makefile: Likewise.
19515 * wctype/Makefile: Likewise.
19516 * crypt/Makefile: Likewise.
19517 * libio/Makefile: Likewise.
19518 * string/Makefile: Likewise.
19519 * nis/Makefile: Likewise.
19520 * resolv/Makefile: Likewise.
19521 * stdio-common/Makefile: Likewise.
19522 * wcsmbs/Makefile: Likewise.
19523 * dlfcn/Makefile: Likewise.
19524 * posix/Makefile: Likewise.
19525
3b7c4e74 19526 [BZ #6959]
482ff4da
UD
19527 * timezone/Makefile: Don't install timezone files, just the programs
19528 and scripts.
19529
f72ed77d
UD
195302012-03-06 Ulrich Drepper <drepper@gmail.com>
19531
a000466f
UD
19532 * nss/databases.def: Add missing gshadow entry.
19533
f72ed77d
UD
19534 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19535
a53b7a4e
MP
195362012-03-06 Marek Polacek <polacek@redhat.com>
19537
19538 [BZ #13726]
19539 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19540 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19541 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19542 * stdio-common/tst-long-dbl-fphex.c: New file.
19543
e9258400
DM
195442012-03-06 David S. Miller <davem@davemloft.net>
19545
19546 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19547 (set_obp_int): New function.
19548 (get_obp_int): New function.
19549 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19550 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19551 Avoid unused variable warnings on 'val' and use builtin_expect.
19552 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19553 __builtin_expect.
e9258400
DM
19554 (INLINE_CLONE_SYSCALL): Likewise.
19555
3bd2c723
DM
195562012-03-05 David S. Miller <davem@davemloft.net>
19557
19558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19559
bbb78d03
AS
195602012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19561
884c5db4
AS
19562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19563
bbb78d03
AS
19564 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19565 only for |x| >= 40.
19566 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19567
1c9f702a 195682012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19569
19570 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19571 Replace gettimeofday with __vdso_gettimeofday.
19572
7be16f82
RM
19573 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19574 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19575 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19576
19577 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19578 time with __vdso_time.
19579
ed58a00f
JM
195802012-03-05 Joseph Myers <joseph@codesourcery.com>
19581
19582 * manual/lang.texi (size_t): Note types to which size_t may be
19583 equivalent with the GNU C Library, but do not describe when
19584 differences between them are significant.
19585
30ee4ced
AJ
195862012-03-05 Andreas Jaeger <aj@suse.de>
19587
19588 * sysdeps/i386/fpu/libm-test-ulps: Update.
19589
b7cd39e8
JM
195902012-03-05 Joseph Myers <joseph@codesourcery.com>
19591
19592 [BZ #3976]
19593 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19594 (__ieee754_pow): Save and restore rounding mode and use
19595 round-to-nearest for main computations.
19596 * math/libm-test.inc (pow_test_tonearest): New function.
19597 (pow_test_towardzero): Likewise.
19598 (pow_test_downward): Likewise.
19599 (pow_test_upward): Likewise.
19600 (main): Call the new functions.
19601 * sysdeps/i386/fpu/libm-test-ulps: Update.
19602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19603
19604 [BZ #3976]
19605 * math/libm-test.inc (cosh_test_tonearest): New function.
19606 (cosh_test_towardzero): Likewise.
19607 (cosh_test_downward): Likewise.
19608 (cosh_test_upward): Likewise.
19609 (sinh_test_tonearest): Likewise.
19610 (sinh_test_towardzero): Likewise.
19611 (sinh_test_downward): Likewise.
19612 (sinh_test_upward): Likewise.
19613 (main): Call the new functions.
19614 * sysdeps/i386/fpu/libm-test-ulps: Update.
19615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19616
6c6a98c9
TV
196172012-03-05 Tom de Vries <tom@codesourcery.com>
19618
19619 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19620 default stack guard is set in last bytes.
19621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19622
21bb2d2e 196232012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19624
21bb2d2e 19625 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19626
21bb2d2e
AJ
19627 [BZ #13656]
19628 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19629 possibly allocate from heap instead of stack.
19630 * stdio-common/bug-vfprintf-nargs.c: New file.
19631 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19632
c6922934
AS
196332012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19634
19635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19636
bc957d53
MP
196372012-03-03 Marek Polacek <polacek@redhat.com>
19638
19639 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19640 * math/math_private.h: Likewise.
19641 * stdlib/tst-strtod.c: Likewise.
19642 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19643 * sysdeps/x86_64/bits/atomic.h: Likewise.
19644
6358490d
DM
196452012-03-02 David S. Miller <davem@davemloft.net>
19646
19647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19651 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19652 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19653 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19654 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19655
01ae168d
RM
196562012-03-02 Roland McGrath <roland@hack.frob.com>
19657
d9a17c07
RM
19658 [BZ #13792]
19659 * manual/examples/README: New file, says the example source files
19660 can be used under GPL>=2.
19661 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19662 line containing just "*/".
19663 * manual/examples/add.c: Add copyright header (GPL>=2).
19664 * manual/examples/argp-ex1.c: Likewise.
19665 * manual/examples/argp-ex2.c: Likewise.
19666 * manual/examples/argp-ex3.c: Likewise.
19667 * manual/examples/argp-ex4.c: Likewise.
19668 * manual/examples/atexit.c: Likewise.
19669 * manual/examples/db.c: Likewise.
19670 * manual/examples/dir.c: Likewise.
19671 * manual/examples/dir2.c: Likewise.
19672 * manual/examples/execinfo.c: Likewise.
19673 * manual/examples/filecli.c: Likewise.
19674 * manual/examples/filesrv.c: Likewise.
19675 * manual/examples/fmtmsgexpl.c: Likewise.
19676 * manual/examples/genpass.c: Likewise.
19677 * manual/examples/inetcli.c: Likewise.
19678 * manual/examples/inetsrv.c: Likewise.
19679 * manual/examples/isockad.c: Likewise.
19680 * manual/examples/longopt.c: Likewise.
19681 * manual/examples/memopen.c: Likewise.
19682 * manual/examples/memstrm.c: Likewise.
19683 * manual/examples/mkfsock.c: Likewise.
19684 * manual/examples/mkisock.c: Likewise.
19685 * manual/examples/mygetpass.c: Likewise.
19686 * manual/examples/pipe.c: Likewise.
19687 * manual/examples/popen.c: Likewise.
19688 * manual/examples/rprintf.c: Likewise.
19689 * manual/examples/search.c: Likewise.
19690 * manual/examples/select.c: Likewise.
19691 * manual/examples/setjmp.c: Likewise.
19692 * manual/examples/sigh1.c: Likewise.
19693 * manual/examples/sigusr.c: Likewise.
19694 * manual/examples/stpcpy.c: Likewise.
19695 * manual/examples/strdupa.c: Likewise.
19696 * manual/examples/strftim.c: Likewise.
19697 * manual/examples/strncat.c: Likewise.
19698 * manual/examples/subopt.c: Likewise.
19699 * manual/examples/swapcontext.c: Likewise.
19700 * manual/examples/termios.c: Likewise.
19701 * manual/examples/testopt.c: Likewise.
19702 * manual/examples/testpass.c: Likewise.
19703 * manual/examples/timeval_subtract.c: Likewise.
19704
01ae168d
RM
19705 [BZ #13792]
19706 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19707 function to ...
19708 * manual/timeval_subtract.c.texi: ... here, new file.
19709
49efa33d
DM
197102012-03-02 David S. Miller <davem@davemloft.net>
19711
19712 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19713
28afd92d
JM
197142012-03-02 Joseph Myers <joseph@codesourcery.com>
19715
804360ed
JM
19716 [BZ #3976]
19717 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19718 (__sin): Save and restore rounding mode and use round-to-nearest
19719 for all computations.
19720 (__cos): Save and restore rounding mode and use round-to-nearest
19721 for all computations.
19722 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19723 <fenv.h>.
19724 (tan): Save and restore rounding mode and use round-to-nearest for
19725 all computations.
19726 * math/libm-test.inc (cos_test_tonearest): New function.
19727 (cos_test_towardzero): Likewise.
19728 (cos_test_downward): Likewise.
19729 (cos_test_upward): Likewise.
19730 (sin_test_tonearest): Likewise.
19731 (sin_test_towardzero): Likewise.
19732 (sin_test_downward): Likewise.
19733 (sin_test_upward): Likewise.
19734 (tan_test_tonearest): Likewise.
19735 (tan_test_towardzero): Likewise.
19736 (tan_test_downward): Likewise.
19737 (tan_test_upward): Likewise.
19738 (main): Call the new functions.
19739 * sysdeps/i386/fpu/libm-test-ulps: Update.
19740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19741
a6d06d7b
JM
19742 [BZ #10135]
19743 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19744 small n, then large n, before computing and testing k+n.
19745 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19746 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19747 Likewise.
19748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19749 Likewise.
19750 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19751 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19752 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19753 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19755 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19756 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19757 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19758 * math/libm-test.inc (scalbn_test): Add more tests.
19759 (scalbln_test): Likewise.
19760
07e12bb3
JM
19761 * manual/filesys.texi (mode_t): Describe constraints on size and
19762 signedness, not exact equivalence to a particular type.
19763 (ino_t): Likewise.
19764 (ino64_t): Likewise.
19765 (dev_t): Likewise.
19766 (nlink_t): Likewise.
19767 (blkcnt_t): Likewise.
19768 (blkcnt64_t): Likewise.
19769 * manual/llio.texi (off_t): Likewise.
19770
28afd92d
JM
19771 [BZ #3976]
19772 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19773 (__ieee754_exp): Save and restore rounding mode and use
19774 round-to-nearest for all computations.
19775 * math/libm-test.inc (exp_test_tonearest): New function.
19776 (exp_test_towardzero): Likewise.
19777 (exp_test_downward): Likewise.
19778 (exp_test_upward): Likewise.
19779 (main): Call the new functions.
19780 * sysdeps/i386/fpu/libm-test-ulps: Update.
19781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19782
b1eeb65d
CD
197832012-03-01 Chris Demetriou <cgd@google.com>
19784
19785 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19786 have predictable order.
19787
53362a4b
DM
197882012-03-01 David S. Miller <davem@davemloft.net>
19789
3c969083
DM
19790 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19791
759707de
DM
19792 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19793 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19794 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19795 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19796
dfdb8ff2
DM
19797 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19798 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19799 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19801 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19802 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19803 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19804 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19805 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19806
ead89f96
DM
19807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19808
7f66bd07
DM
19809 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19810 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19812
53362a4b
DM
19813 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19814 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19815 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19816 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19817 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19819 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19820 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19821 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19822 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19823 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19824 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19826 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19827 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19829 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19830 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19831 * sysdeps/sparc/elf/configure: Regenerated.
19832
7b1902cb
JM
198332012-03-01 Joseph Myers <joseph@codesourcery.com>
19834
bec039bc
JM
19835 * configure.in (AS, LD): Require binutils 2.20 or later.
19836 * configure: Regenerated.
19837 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19838 as required minimum version.
19839 * INSTALL: Regenerated.
19840
7b1902cb
JM
19841 [BZ #2541]
19842 [BZ #4108]
19843 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19844 before squaring exponent.
19845 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19846 bottom long double and 27 bits of top long double before squaring
19847 exponent.
19848 * math/libm-test.inc (erfc_test): Add more tests.
19849 * sysdeps/i386/fpu/libm-test-ulps: Update.
19850 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19852
f775c276
KT
198532012-03-01 Kai Tietz <ktietz@redhat.com>
19854
19855 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19856 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19857 containing bit-fields.
19858 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19859 * soft-fp/single.h (_FP_UNION_S): Likewise.
19860 * soft-fp/double.h (_FP_UNION_D): Likewise.
19861
5b8a4d4a
JM
198622012-02-29 Joseph Myers <joseph@codesourcery.com>
19863
0bab47b6
JM
19864 [BZ #13786]
19865 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19866 not include ../strcmp.S.
19867 [USE_AS_STRNCASECMP_L]: Likewise.
19868 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19869 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19870 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19871 (__strncasecmp_l_ia32): Define as alias to
19872 __strncasecmp_l_nonascii.
19873
0fcad3e2
JM
19874 [BZ #5794]
19875 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19876 * sysdeps/i386/fpu/libm-test-ulps: Update.
19877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19878
5b8a4d4a
JM
19879 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19881
8fdceb2e
JL
198822012-02-29 Jeff Law <law@redhat.com>
19883
19884 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19885 out of bounds read.
19886
1f393a11
MP
198872012-02-29 Marek Polacek <polacek@redhat.com>
19888
19889 [BZ #13706]
19890 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19891 * elf/Makefile: Add rules to run tst-unused-dep.out.
19892
8847f037
DM
198932012-02-28 David S. Miller <davem@davemloft.net>
19894
19895 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19896 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19898 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19899 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19900 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19901
169d7f11
JM
199022012-02-29 Joseph Myers <joseph@codesourcery.com>
19903
19904 * math/libm-test.inc (llround_test): Move one test from
19905 lround_test. Use TEST_f_L in moved test.
19906 (lround_test): Move misplaced test to llround_test. Add testcase
19907 from bug 2561.
19908
39adf059
UD
199092012-02-28 Ulrich Drepper <drepper@gmail.com>
19910
19911 * sysdeps/x86_64/fpu/e_expf.S: New file.
19912 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19913
71b5d1c5
SB
199142012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19915
19916 [BZ #13637]
19917 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19918 of remain_len that may cause incomplete multi-byte character and
19919 false match.
19920 * posix/bug-regex33.c: New file.
19921 * posix/Makefile (tests): Add bug-regex33.
19922
1f77f049
JM
199232012-02-28 Joseph Myers <joseph@codesourcery.com>
19924
19925 * manual/macros.texi: New file.
19926 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19927 * manual/libc.texinfo: Include macros.texi.
19928 * manual/creatute.texi: Likewise.
19929 * manual/install.texi: Likewise.
19930 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19931 @glibcadj{} in references to the GNU C Library.
19932 * manual/charset.texi: Likewise.
19933 * manual/conf.texi: Likewise.
19934 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19935 when not using those macros.
19936 * manual/creature.texi: Likewise.
19937 * manual/crypt.texi: Likewise.
19938 * manual/errno.texi: Likewise.
19939 * manual/filesys.texi: Likewise.
19940 * manual/header.texi: Likewise.
19941 * manual/install.texi: Likewise.
19942 * manual/intro.texi: Likewise.
19943 * manual/io.texi: Likewise.
19944 * manual/job.texi: Likewise.
19945 * manual/lang.texi: Likewise.
19946 * manual/libc.texiinfo: Likewise.
19947 * manual/llio.texi: Likewise.
19948 * manual/locale.texi: Likewise.
19949 * manual/maint.texi: Likewise.
19950 * manual/math.texi: Likewise.
19951 * manual/memory.texi: Likewise.
19952 * manual/message.texi: Likewise.
19953 * manual/nss.texi: Likewise.
19954 * manual/pattern.texi: Likewise.
19955 * manual/process.texi: Likewise.
19956 * manual/resource.texi: Likewise.
19957 * manual/search.texi: Likewise.
19958 * manual/setjmp.texi: Likewise.
19959 * manual/signal.texi: Likewise.
19960 * manual/socket.texi: Likewise.
19961 * manual/startup.texi: Likewise.
19962 * manual/stdio.texi: Likewise.
19963 * manual/string.texi: Likewise.
19964 * manual/sysinfo.texi: Likewise.
19965 * manual/syslog.texi: Likewise.
19966 * manual/terminal.texi: Likewise.
19967 * manual/time.texi: Likewise.
19968 * manual/users.texi: Likewise.
19969 * INSTALL: Regenerated.
19970 * NOTES: Regenerated.
d40c5d54 19971 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19972
450bf206
AS
199732012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19974
19975 * include/dirent.h: Include <dirstream.h> before
19976 <dirent/dirent.h>.
19977
741a235b
DM
199782012-02-28 David S. Miller <davem@davemloft.net>
19979
19980 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19981 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19982 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19983 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19984
d6b5aa58
DM
199852012-02-27 David S. Miller <davem@davemloft.net>
19986
1aff59a3
DM
19987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19989 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19990 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19991
d6b5aa58
DM
19992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19993 frame pointer instead of stack pointer relative arg slot.
19994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19995 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19996 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19997
433f48bf
CD
199982012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19999
20000 [BZ #3992]
20001 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20002
d674b76d
DM
200032012-02-27 David S. Miller <davem@davemloft.net>
20004
20005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20011 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20012 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20013
0e7727f7
JM
200142012-02-27 Joseph Myers <joseph@codesourcery.com>
20015
20016 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20017 later. Allow versions 5-9.
43be4ca2 20018 * configure: Regenerated.
0e7727f7
JM
20019 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20020 required minimum version and 4.6 as recommended version. Do not
20021 mention bugs in GCC 2.7 and 2.8.
43be4ca2 20022 * INSTALL: Regenerated.
0e7727f7 20023
a78bc654
DM
200242012-02-27 David S. Miller <davem@davemloft.net>
20025
428d5830
DM
20026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20030 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20031 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20032 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20033 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20034
a78bc654
DM
20035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20036 manipulate bits before adding and subtracting TWO112[sx].
20037 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20038
4579f81c
RM
200392012-02-27 Roland McGrath <roland@hack.frob.com>
20040
36c8acb4
RM
20041 [BZ #13775]
20042 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20043 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20044 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20045 being in POSIX, because they are in 1003.1-2008.
20046
84ad622b
RM
20047 * rt/tst-aio.c: Include <fcntl.h>.
20048 * rt/tst-aio7.c: Likewise.
20049 * rt/tst-aio64.c: Likewise.
20050
4579f81c
RM
20051 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20052
abd923db
JM
200532012-02-27 Joseph Myers <joseph@codesourcery.com>
20054
20055 * manual/install.texi (--with-headers): Describe headers as
20056 interface headers, not private headers.
20057 (Specific advice for GNU/Linux systems): Describe use of headers
20058 from "make headers_install", not private headers from older
20059 kernels.
43be4ca2 20060 * INSTALL: Regenerated.
abd923db
JM
20061 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20062 Change to 2.6.19.
20063 * sysdeps/unix/sysv/linux/configure: Regenerated.
20064
6664049b
JM
20065 * manual/llio.texi (fclean): Remove documentation.
20066
bb8b6697
JM
20067 * manual/Makefile (libc-texi-generated): New variable. Include
20068 version.texi.
20069 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20070 $(libc-texi-generated), not duplicated list of files.
20071 (version.texi, stamp-version): New rules.
20072 (realclean): Remove $(libc-texi-generated), not individual files
20073 from that list. Do not remove dir-add.texinfo.
20074 * manual/libc.texinfo: Comment out uses of edition numbers and
20075 references to printed manual. Remove last-updated dates.
20076 (EDITION): Comment out.
20077 (ISBN): Likewise.
20078 (VERSION, UPDATED): Remove.
20079 (version.texi): Include.
20080
12e5c3b9
AS
200812012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20082
20083 * sysdeps/posix/spawni.c: Include <signal.h>.
20084 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20085 * sysdeps/pthread/aio_fsync.c: Likewise.
20086
4efeffc1 200872012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20088
ba63ba08
UD
20089 * conform/Makefile (tests): Run only when not cross-compiling and
20090 when fast-check is not defined.
20091
d94a4670
UD
20092 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20093 * conform/data/limits.h-data: Fixes for POSIX2008.
20094 * conform/run-conformtest.sh: Run all tests.
20095 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20096 headers.
20097 * include/bits/dlfcn.h: Likewise.
20098 * include/langinfo.h: Likewise.
20099 * include/monetary.h: Likewise.
20100 * include/sys/poll.h: Likewise.
20101
20102 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20103 for __USE_GNU.
20104 * posix/spawn.h: Define __need_sigset_t.
20105 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20106 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20107 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20108 to get sigevent_t only.
20109 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20110 only for __USE_GNU.
20111 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20113 process_vm_writev only for __USE_GNU.
20114 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20115
20116 * conform/Makefile: For now ignore errors from run-conformtest.
20117 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20118 POSIX to avoid namespace pollution. Don't prepend headers.
20119 * conform/data/aio.h-data: Fixes for POSIX testing.
20120 * conform/data/fcntl.h-data: Likewise.
20121 * conform/data/glob.h-data: Likewise.
20122 * conform/data/grp.h-data: Likewise.
20123 * conform/data/pthread.h-data: Likewise.
20124 * conform/data/pwd.h-data: Likewise.
20125 * conform/data/signal.h-data: Likewise.
20126 * conform/data/spawn.h-data: Likewise.
20127 * conform/data/stdio.h-data: Likewise.
20128 * conform/data/stdlib.h-data: Likewise.
20129 * conform/data/stropts.h-data: Likewise.
20130 * conform/data/sys/mman.h-data: Likewise.
20131 * conform/data/sys/stat.h-data: Likewise.
20132 * conform/data/sys/types.h-data: Likewise.
20133 * conform/data/sys/wait.h-data: Likewise.
20134 * conform/data/time.h-data: Likewise.
20135 * conform/data/unistd.h-data: Likewise.
20136 * conform/data/utime.h-data: Likewise.
20137
20138 * io/sys/stat.h: fchmod was always in POSIX.
20139 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20140 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20141 * rt/aio.h: Define __need_timespec before including <time.h>.
20142 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20143 struct. Add forward declaration of pthread_attr_t and use it in
20144 sigevent.
20145 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20146 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20147 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20148 always remove CLK_TCK definition.
20149
c20105c3
AS
201502012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20151
20152 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20153
7a270350
UD
201542012-02-25 Ulrich Drepper <drepper@gmail.com>
20155
31341567
UD
20156 * conform/run-conformtest.sh: New file.
20157 * conform/Makefile: Run run-conformtest for tests.
20158 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20159 support.
20160
20161 * conform/data/uchar.h-data: New file.
20162 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20163 * conform/data/arpa/inet.h-data: Likewise.
20164 * conform/data/assert.h-data: Likewise.
20165 * conform/data/complex.h-data: Likewise.
20166 * conform/data/cpio.h-data: Likewise.
20167 * conform/data/ctype.h-data: Likewise.
20168 * conform/data/dirent.h-data: Likewise.
20169 * conform/data/dlfcn.h-data: Likewise.
20170 * conform/data/errno.h-data: Likewise.
20171 * conform/data/fcntl.h-data: Likewise.
20172 * conform/data/float.h-data: Likewise.
20173 * conform/data/fmtmsg.h-data: Likewise.
20174 * conform/data/fnmatch.h-data: Likewise.
20175 * conform/data/ftw.h-data: Likewise.
20176 * conform/data/glob.h-data: Likewise.
20177 * conform/data/grp.h-data: Likewise.
20178 * conform/data/iconv.h-data: Likewise.
20179 * conform/data/inttypes.h-data: Likewise.
20180 * conform/data/langinfo.h-data: Likewise.
20181 * conform/data/libgen.h-data: Likewise.
20182 * conform/data/limits.h-data: Likewise.
20183 * conform/data/locale.h-data: Likewise.
20184 * conform/data/math.h-data: Likewise.
20185 * conform/data/monetary.h-data: Likewise.
20186 * conform/data/mqueue.h-data: Likewise.
20187 * conform/data/ndbm.h-data: Likewise.
20188 * conform/data/net/if.h-data: Likewise.
20189 * conform/data/netdb.h-data: Likewise.
20190 * conform/data/netinet/in.h-data: Likewise.
20191 * conform/data/nl_types.h-data: Likewise.
20192 * conform/data/poll.h-data: Likewise.
20193 * conform/data/pthread.h-data: Likewise.
20194 * conform/data/pwd.h-data: Likewise.
20195 * conform/data/regex.h-data: Likewise.
20196 * conform/data/sched.h-data: Likewise.
20197 * conform/data/search.h-data: Likewise.
20198 * conform/data/semaphore.h-data: Likewise.
20199 * conform/data/setjmp.h-data: Likewise.
20200 * conform/data/signal.h-data: Likewise.
20201 * conform/data/spawn.h-data: Likewise.
20202 * conform/data/stdarg.h-data: Likewise.
20203 * conform/data/stdio.h-data: Likewise.
20204 * conform/data/stdlib.h-data: Likewise.
20205 * conform/data/string.h-data: Likewise.
20206 * conform/data/strings.h-data: Likewise.
20207 * conform/data/stropts.h-data: Likewise.
20208 * conform/data/sys/ipc.h-data: Likewise.
20209 * conform/data/sys/mman.h-data: Likewise.
20210 * conform/data/sys/msg.h-data: Likewise.
20211 * conform/data/sys/resource.h-data: Likewise.
20212 * conform/data/sys/select.h-data: Likewise.
20213 * conform/data/sys/sem.h-data: Likewise.
20214 * conform/data/sys/shm.h-data: Likewise.
20215 * conform/data/sys/socket.h-data: Likewise.
20216 * conform/data/sys/stat.h-data: Likewise.
20217 * conform/data/sys/statvfs.h-data: Likewise.
20218 * conform/data/sys/time.h-data: Likewise.
20219 * conform/data/sys/timeb.h-data: Likewise.
20220 * conform/data/sys/times.h-data: Likewise.
20221 * conform/data/sys/types.h-data: Likewise.
20222 * conform/data/sys/uio.h-data: Likewise.
20223 * conform/data/sys/un.h-data: Likewise.
20224 * conform/data/sys/utsname.h-data: Likewise.
20225 * conform/data/sys/wait.h-data: Likewise.
20226 * conform/data/syslog.h-data: Likewise.
20227 * conform/data/tar.h-data: Likewise.
20228 * conform/data/termios.h-data: Likewise.
20229 * conform/data/utime.h-data: Likewise.
20230 * conform/data/utmpx.h-data: Likewise.
20231 * conform/data/varargs.h-data: Likewise.
20232 * conform/data/wchar.h-data: Likewise.
20233 * conform/data/wctype.h-data: Likewise.
20234 * conform/data/wordexp.h-data: Likewise.
20235
20236 * include/stropts.h: New file.
20237 * include/uchar.h: New file.
20238 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20239 * include/assert.h: Likewise.
20240 * include/ctype.h: Likewise.
20241 * include/dirent.h: Likewise.
20242 * include/dlfcn.h: Likewise.
20243 * include/fcntl.h: Likewise.
20244 * include/fnmatch.h: Likewise.
20245 * include/glob.h: Likewise.
20246 * include/grp.h: Likewise.
20247 * include/libio.h: Likewise.
20248 * include/locale.h: Likewise.
20249 * include/math.h: Likewise.
20250 * include/net/if.h: Likewise.
20251 * include/netdb.h: Likewise.
20252 * include/netinet/in.h: Likewise.
20253 * include/pthread.h: Likewise.
20254 * include/pwd.h: Likewise.
20255 * include/regex.h: Likewise.
20256 * include/sched.h: Likewise.
20257 * include/search.h: Likewise.
20258 * include/setjmp.h: Likewise.
20259 * include/signal.h: Likewise.
20260 * include/stdio.h: Likewise.
20261 * include/stdlib.h: Likewise.
20262 * include/string.h: Likewise.
20263 * include/sys/cdefs.h: Likewise.
20264 * include/sys/mman.h: Likewise.
20265 * include/sys/msg.h: Likewise.
20266 * include/sys/resource.h: Likewise.
20267 * include/sys/select.h: Likewise.
20268 * include/sys/socket.h: Likewise.
20269 * include/sys/stat.h: Likewise.
20270 * include/sys/statvfs.h: Likewise.
20271 * include/sys/time.h: Likewise.
20272 * include/sys/times.h: Likewise.
20273 * include/sys/uio.h: Likewise.
20274 * include/sys/utsname.h: Likewise.
20275 * include/sys/wait.h: Likewise.
20276 * include/termios.h: Likewise.
20277 * include/time.h: Likewise.
20278 * include/ulimit.h: Likewise.
20279 * include/unistd.h: Likewise.
20280 * include/utime.h: Likewise.
20281 * include/wchar.h: Likewise.
20282 * include/wctype.h: Likewise.
20283 * include/wordexp.h: Likewise.
20284
20285 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20286
7a270350
UD
20287 * time/time.h: TIME_UTC must be a macro.
20288 Make timespec_get available for ISO C11 only as well.
20289
7724defc
UD
202902012-02-24 Ulrich Drepper <drepper@gmail.com>
20291
20292 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20293 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20294
6b1d1d46
JM
202952012-02-24 Joseph Myers <joseph@codesourcery.com>
20296
20297 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20298
0f8bbd69
JM
202992012-02-24 Joseph Myers <joseph@codesourcery.com>
20300
20301 * manual/texinfo.tex: Update to version 2012-01-19.16.
20302
66ab80bc
JM
203032012-02-24 Joseph Myers <joseph@codesourcery.com>
20304
20305 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20306
74981cc5
RM
203072012-02-24 Roland McGrath <roland@hack.frob.com>
20308
ee968201
RM
20309 [BZ #13738]
20310 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20311 * manual/fdl-1.3.texi: New file.
20312 * manual/fdl-1.1.texi: File removed.
20313
74981cc5
RM
20314 [BZ #13738]
20315 * manual/libc.texinfo (FDL_VERSION): New @set.
20316 Use it for mention of FDL in cover text.
20317 (Documentation License): Use it in @include file name.
20318
7bb764bc
JM
203192012-02-22 Joseph Myers <joseph@codesourcery.com>
20320 Roland McGrath <roland@hack.frob.com>
20321
20322 [BZ #5461]
20323 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20324 not LONG_LONG_MAX and LONG_LONG_MIN.
20325 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20326 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20327 name.
20328 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20329
6cbeae47
JM
203302012-02-22 Joseph Myers <joseph@codesourcery.com>
20331
20332 [BZ #2547]
20333 [BZ #11365]
20334 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20335 manipulate bits before adding and subtracting TWO23[sx].
20336 * math/libm-test.inc (nearbyint_test): Add more tests.
20337
fe45ce09
JM
203382012-02-22 Joseph Myers <joseph@codesourcery.com>
20339
20340 [BZ #2548]
20341 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20342 bits before adding and subtracting TWO23[sx].
20343 * math/libm-test.inc (rint_test): Add more tests.
20344 (rint_test_tonearest): Likewise.
20345 (rint_test_towardzero): Likewise.
20346 (rint_test_downward): Likewise.
20347 (rint_test_upward: Likewise.
20348
ff3b3d82
JM
203492012-02-22 Joseph Myers <joseph@codesourcery.com>
20350
20351 [BZ #10110]
20352 * include/stdc-predef.h: New file. Extracted from features.h.
20353 * include/features.h: Include stdc-predef.h.
20354 * Makefile (headers): Add stdc-predef.h.
20355 * CONFORMANCE (Compiler limitations): Update.
20356
ef0aab35
JM
203572012-02-22 Joseph Myers <joseph@codesourcery.com>
20358
20359 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20360
58639409
DM
203612012-02-21 David S. Miller <davem@davemloft.net>
20362
20363 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20364 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20365
c0e70b25
DM
203662012-02-20 David S. Miller <davem@davemloft.net>
20367
20368 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20369 using a normal save/restore sequence, rather than allocating a
20370 dummy stack frame just to store a frame pointer and restore.
20371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20372
fb06851d
JM
203732012-02-21 Joseph Myers <joseph@codesourcery.com>
20374
20375 * manual/install.texi: Fix stray word in line-wrapped comment.
20376
7a8b71c3
DM
203772012-02-20 David S. Miller <davem@davemloft.net>
20378
d510c123
DM
20379 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20380 both binutils and gcc support GOTDATA.
20381
0722d7c2
DM
20382 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20383 "rd %pc" in the PIC register setup sequences.
20384
3d2b3019
DM
20385 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20386 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20387 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20388 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20389 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20392 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20394 (SYSCALL_ERROR_HANDLER): Likewise.
20395 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20396 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20398 (SYSCALL_ERROR_HANDLER): Likewise.
20399
c80098a9
DM
20400 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20401 (HAVE_GCC_GOTDATA): New.
20402 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20403 relocation support in both binutils and gcc.
20404 * sysdeps/sparc/elf/configure: Regenerate.
20405
3a2545a0
DM
20406 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20407 * sysdeps/sparc/sparc32/elf/configure: Delete.
20408 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20409 * sysdeps/sparc/sparc64/elf/configure: Delete.
20410 * sysdeps/sparc/elf/configure.in: New file.
20411 * sysdeps/sparc/elf/configure: Generate.
20412
7a8b71c3
DM
20413 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20414 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20415 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20416 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20417 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20418
f1e86fca
JM
204192012-02-21 Joseph Myers <joseph@codesourcery.com>
20420
20421 * manual/install.texi: Do not mention specific glibc version
20422 numbers.
20423 * manual/libc.texinfo (VERSION, UPDATED): Update.
20424 (@copying): Use @copyright{} and range of years.
20425
0e7dfaef
JM
204262012-02-21 Joseph Myers <joseph@codesourcery.com>
20427
20428 [BZ #13695]
20429 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20430 [crti.S not in sysdirs] (generated): Do not append.
20431 [crti.S not in sysdirs] (omit-deps): Likewise.
20432 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20433 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20434 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20435 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20436 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20437 Likewise.
20438 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20439 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20440 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20441 * csu/defs.awk: Remove file.
20442 * sysdeps/generic/initfini.c: Likewise.
20443 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20444 variable.
20445 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20446 Likewise.
20447
599af3ca
JM
204482012-02-20 Joseph Myers <joseph@codesourcery.com>
20449
20450 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20451 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20452 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20453 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20454 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20455 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20456 <bits/epoll.h>.
20457 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20458 (__EPOLL_PACKED): Define to empty if not defined by
20459 <bits/epoll.h>.
20460 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20462 bits/epoll.h.
20463
0e499750
JM
204642012-02-20 Joseph Myers <joseph@codesourcery.com>
20465
20466 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20467 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20468 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20469 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20470 <bits/timerfd.h>.
20471 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20473 bits/timerfd.h.
20474
5ad91f6e
JM
204752012-02-20 Joseph Myers <joseph@codesourcery.com>
20476
20477 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20478 in C locale.
20479 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20480 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20481 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20483
06b99b02
AJ
204842012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20485
20486 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20487 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20488
7638c0fd
AS
204892012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20490
20491 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20492 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20493 defined.
20494 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20495 Likewise.
20496 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20497 entry for 2.16.
20498
92221550
AJ
204992012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20500
20501 * math/w_acos.c: Use non-signaling floating-point comparisons.
20502 * math/w_acosf.c: Likewise.
20503 * math/w_acosh.c: Likewise.
20504 * math/w_acoshf.c: Likewise.
20505 * math/w_acoshl.c: Likewise.
20506 * math/w_acosl.c: Likewise.
20507 * math/w_asin.c: Likewise.
20508 * math/w_asinf.c: Likewise.
20509 * math/w_asinl.c: Likewise.
20510 * math/w_atanh.c: Likewise.
20511 * math/w_atanhf.c: Likewise.
20512 * math/w_atanhl.c: Likewise.
20513 * math/w_exp2.c: Likewise.
20514 * math/w_exp2f.c: Likewise.
20515 * math/w_exp2l.c: Likewise.
20516 * math/w_j0.c: Likewise.
20517 * math/w_j0f.c: Likewise.
20518 * math/w_j0l.c: Likewise.
20519 * math/w_j1.c: Likewise.
20520 * math/w_j1f.c: Likewise.
20521 * math/w_j1l.c: Likewise.
20522 * math/w_jn.c: Likewise.
20523 * math/w_jnf.c: Likewise.
20524 * math/w_log.c: Likewise.
20525 * math/w_log10.c: Likewise.
20526 * math/w_log10f.c: Likewise.
20527 * math/w_log10l.c: Likewise.
20528 * math/w_log2.c: Likewise.
20529 * math/w_log2f.c: Likewise.
20530 * math/w_log2l.c: Likewise.
20531 * math/w_logf.c: Likewise.
20532 * math/w_logl.c: Likewise.
20533 * math/w_sqrt.c: Likewise.
20534 * math/w_sqrtf.c: Likewise.
20535 * math/w_sqrtl.c: Likewise.
20536 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20537 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20538 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20539 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20540 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20541
ebaf36eb
JM
205422012-02-19 Joseph Myers <joseph@codesourcery.com>
20543
20544 [BZ #9739]
20545 * manual/string.texi (strnlen): Use correct parameter name in
20546 equivalent expression.
20547
71c254a6
JM
205482012-02-19 Joseph Myers <joseph@codesourcery.com>
20549
20550 [BZ #11174]
20551 * manual/users.texi (seteuid): Consistently use neweuid for
20552 argument name.
20553
16d2c631
JM
205542012-02-19 Joseph Myers <joseph@codesourcery.com>
20555
20556 [BZ #13704]
20557 * manual/nss.texi (Services in the NSS configuration): Correct
20558 list of services in example configuration file.
20559
cd837b09
NB
205602012-02-19 Nick Bowler <nbowler@draconx.ca>
20561
20562 [BZ #11322]
20563 * manual/arith.texi: Remove statements about negative zero
20564 behaving identically to zero.
20565
02c4bbad
JM
205662012-02-18 Joseph Myers <joseph@codesourcery.com>
20567
20568 [BZ #5993]
20569 * manual/install.texi: Do not document upgrading from libc5.
20570
366842e7
JM
205712012-02-18 Joseph Myers <joseph@codesourcery.com>
20572
20573 [BZ #4596]
20574 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20575
dd54084d
DM
205762012-02-18 David S. Miller <davem@davemloft.net>
20577
20578 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20579 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20580 %o7 across the call.
20581 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20582 instead.
20583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20584 SETUP_PIC_REG_LEAF.
20585 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20586 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20587 * sysdeps/sparc/crtn.S: Likewise.
20588
2bcc53a3
UD
205892012-02-17 Ulrich Drepper <drepper@gmail.com>
20590
20591 * aout/Makefile: Remove.
20592
09c093b5
RK
205932012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20594
20595 [BZ #13058]
20596 * manual/examples/argp-ex1.c (main): Format definition in GNU
20597 style.
20598 * manual/examples/argp-ex2.c (main): Likewise.
20599 * manual/examples/argp-ex3.c (main): Likewise.
20600 * manual/examples/argp-ex4.c (main): Likewise.
20601 * manual/examples/longopt.c (main): Use new-style prototype
20602 definition.
20603 * manual/examples/strncat.c (main): Specify return type and use
20604 (void) for arguments.
20605 * manual/examples/subopt.c (main): Use char **argv argument.
20606
2ee633a2
JM
206072012-02-17 Joseph Myers <joseph@codesourcery.com>
20608
20609 [BZ #5077]
20610 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20611 rounding modes.
20612
0520adde
FB
206132012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20614
20615 [BZ #6907]
20616 * manual/string.texi (strchr): Change when strchrnul is
20617 recommended.
20618
3f4081cd
DGM
206192012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20620
20621 [BZ #174]
20622 * manual/locale.texi (setlocale): Document LOCPATH.
20623
d1b10e78
JM
206242012-02-17 Joseph Myers <joseph@codesourcery.com>
20625
20626 [BZ #10210]
20627 * manual/process.texi (execle): Move @dots{} before last argument.
20628
79c6869c
PB
206292012-02-17 Paul Bolle <pebolle@tiscali.nl>
20630
20631 [BZ #12047]
20632 * manual/charset.texi (Generic Charset Conversion): Fix typo
20633 (LC_TYPE -> LC_CTYPE).
20634
cc6e48bc
NB
206352012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20636
20637 [BZ #5805]
20638 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20639 (scalbnf): Likewise.
20640 (scalbnl): Likewise.
20641 (scalbln): Likewise.
20642 (scalblnf): Likewise.
20643 (scalblnl): Likewise.
20644 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20645 (vwarnx): Likewise.
20646 (verr): Likewise.
20647 (verrx): Likewise.
20648 * manual/filesys.texi (telldir): Use braces around return type.
20649 * manual/llio.texi (mmap): Add space after comma.
20650 (mmap64): Likewise.
20651 * manual/math.texi (jn): Use @var{} on parameter names.
20652 (jnf): Likewise.
20653 (jnl): Likewise.
20654 (yn): Likewise.
20655 (ynf): Likewise.
20656 (ynl): Likewise.
20657 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20658 line.
20659 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20660 "...".
20661 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20662 (sched_get_priority_max): Likewise.
20663 * manual/signal.texi (sigvec): Add space after comma.
20664 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20665 names.
20666 (if_indextoname): Likewise.
20667 (if_freenameindex): Likewise.
20668 (sendto): Use ',' instead of '.' in prototype.
20669 * manual/startup.texi (syscall): Use @dots{} instead of literal
20670 "...".
20671 * manual/stdio.texi (__fpending): Separate initial words of
20672 paragraph from @deftypefun line.
20673 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20674 "...".
20675 (vsyslog): Use @var{} on parameter names.
20676 * manual/terminal.texi (stty): Use @var{} on parameter names.
20677 * manual/users.texi (getutmp): Use @var{} on parameter names.
20678 (getutmpx): Likewise.
20679
5b23062f
JM
206802012-02-17 Joseph Myers <joseph@codesourcery.com>
20681
20682 [BZ #6884]
20683 * manual/stdio.texi (fopen): Fix typos in description of
20684 ",ccs=STRING".
20685
8dee4833
AJ
206862012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20687
20688 [BZ #4026]
20689 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20690 get clock_id definition.
20691
9078ce93
TS
206922012-02-17 Thomas Schwinge <thomas@schwinge.name>
20693
20694 [BZ #4822]
20695 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20696 (madvise): Cast every argument to void on its own.
20697
3835c55f
JM
206982012-02-17 Joseph Myers <joseph@codesourcery.com>
20699
20700 [BZ #9902]
20701 * manual/startup.texi (Exit Status): Fix typo.
20702
35c47e37
JM
207032012-02-17 Joseph Myers <joseph@codesourcery.com>
20704
20705 [BZ #10140]
20706 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20707 * manual/examples/argp-ex2.c: Likewise.
20708 * manual/examples/argp-ex3.c: Likewise.
20709
e3b69ca7
RH
207102012-02-16 Richard Henderson <rth@redhat.com>
20711
20712 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20713 * sysdeps/s390/s390-32/initfini.c: Remove.
20714 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20715 * sysdeps/s390/s390-64/initfini.c: Remove.
20716
df83af67
KK
207172012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20718
20719 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20720 compiler output for sysdeps/generic/initfini.c.
20721 * sysdeps/sh/elf/initfini.c: Remove file.
20722
f63f3380
DM
207232012-02-16 David S. Miller <davem@davemloft.net>
20724
fb59b3a4
DM
20725 [BZ #11494]
20726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20727
f63f3380
DM
20728 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20729 * sysdeps/sparc/crti.S: New file.
20730 * sysdeps/sparc/crtn.S: New file.
20731 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20732 * sysdeps/sparc/sparc64/Makefile: Likewise.
20733
df6a4a4a
MF
207342012-02-15 Mike Frysinger <vapier@gentoo.org>
20735
6dd8f3dc 20736 [BZ #3335]
df6a4a4a
MF
20737 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20738
1cac7236
RM
207392012-02-15 Roland McGrath <roland@hack.frob.com>
20740
d2c736f8
RM
20741 [BZ #4822]
20742 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20743
1cac7236
RM
20744 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20745 (write, read, close): Likewise.
20746 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20747
8e475601
JM
207482012-02-15 Joseph Myers <joseph@codesourcery.com>
20749
20750 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20751 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20752 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20753 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20754 <bits/signalfd.h>.
20755 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20757 bits/signalfd.h.
20758
ed656b40
MP
207592012-02-14 Marek Polacek <polacek@redhat.com>
20760
20761 * sysdeps/x86_64/crti.S: New file.
20762 * sysdeps/x86_64/crtn.S: New file.
20763 * sysdeps/x86_64/elf/initfini.c: Remove file.
20764
2a979d3a
JM
207652012-02-13 Joseph Myers <joseph@codesourcery.com>
20766
20767 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20768 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20769 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20770 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20771 <bits/inotify.h>.
20772 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20774 bits/inotify.h.
20775
2a418ac3
JM
207762012-02-13 Joseph Myers <joseph@codesourcery.com>
20777
20778 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20779 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20780 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20781 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20782 <bits/eventfd.h>.
20783 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20785 bits/eventfd.h.
20786
fb779be7
TS
207872012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20788
e19e83c5
RM
20789 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20790 __feraiseexcept instead of feraiseexcept.
7c35ffed 20791
fb779be7
TS
20792 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20793 nanosleep invocations.
20794 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20795 strings, and add error checking for a nanosleep invocations.
20796
59ba27a6
PE
207972012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20798
20799 Replace FSF snail mail address with URLs, as per GNU coding standards.
20800 Most of the snail mail addresses were wrong anyway, and omitting
20801 them makes the source code easier to maintain. Almost all of the
20802 changes are to license notices and to locale LC_IDENTIFICATION
20803 addresses, except for this one:
20804 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20805 not its snail mail address.
20806
57b957eb
RH
208072012-02-09 Richard Henderson <rth@twiddle.net>
20808
af850b1c
RH
20809 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20810 of kernel-features.h.
20811
57b957eb
RH
20812 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20813
6b73181a
MP
208142012-02-08 Marek Polacek <polacek@redhat.com>
20815
20816 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20817 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20818 * sysdeps/gnu/_G_config.h: Likewise.
20819 * sysdeps/generic/_G_config.h: Likewise.
20820
26ecc33a
AS
208212012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20822
6c6dbc63
AS
20823 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20824 tests.
20825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20826
e216c012
AS
20827 * sysdeps/powerpc/powerpc32/crti.S: New file.
20828 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20829 * sysdeps/powerpc/powerpc64/crti.S: New file.
20830 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20831
26ecc33a
AS
20832 * Makeconfig (have-initfini): Don't set.
20833 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20834 * configure.in (nopic_initfini): Don't substitute.
20835 * config.h.in (HAVE_INITFINI): Don't #undef.
20836 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20837 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20838
3add8e13
JM
208392012-02-08 Joseph Myers <joseph@codesourcery.com>
20840
20841 Support crti.S and crtn.S provided directly by architectures.
20842 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20843 [crti.S in sysdirs] (omit-deps): Likewise.
20844 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20845 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20846 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20847 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20848 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20849 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20850 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20851 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20852 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20853 compiler output for sysdeps/generic/initfini.c.
20854 * sysdeps/i386/elf/Makefile: Remove file.
20855 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20856
a22f12b4
MP
208572012-02-07 Marek Polacek <polacek@redhat.com>
20858
20859 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20860 * sysdeps/gnu/_G_config.h: Likewise.
20861 * sysdeps/mach/hurd/_G_config.h: Likewise.
20862
148cf100
MP
208632012-02-07 Marek Polacek <polacek@redhat.com>
20864
20865 * math/Makefile (tests): Add tst-CMPLX2.
20866 * math/tst-CMPLX2.c: New file.
20867
cfdc0dd7
AS
208682012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20869
84ba42c4
AS
20870 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20871
cfdc0dd7
AS
20872 * math/libm-test.inc (jn_test): Add missing L suffix.
20873
622c86f4
MP
208742012-02-06 Marek Polacek <polacek@redhat.com>
20875
20876 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20877 * sysdeps/i386/fpu/e_powf.S: Likewise.
20878 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20879 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20880 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20881 * sysdeps/i386/fpu/e_pow.S: Likewise.
20882 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20883 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20884 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20885 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20886 * sysdeps/i386/fpu/e_log2.S: Likewise.
20887 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20888 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20889 * sysdeps/i386/fpu/e_powl.S: Likewise.
20890 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20891 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20892 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20893 * sysdeps/i386/fpu/e_logl.S: Likewise.
20894 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20895 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20896 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20897 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20898 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20899 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20900 * sysdeps/i386/fpu/e_log.S: Likewise.
20901 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20902 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20903 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20904 * sysdeps/i386/fpu/e_logf.S: Likewise.
20905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20906 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20907 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20908 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20909 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20910 * sysdeps/i386/fpu/e_log10.S: Likewise.
20911 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20912 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20913 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20914 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20915 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20916 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20917 * sysdeps/i386/asm-syntax.h: Likewise.
20918 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20919 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20920 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20921 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20922 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20923 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20924 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20925 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20926 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20927 * sysdeps/powerpc/sysdep.h: Likewise.
20928 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20929 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20930
d4a54ac6
JM
209312012-02-06 Joseph Myers <joseph@codesourcery.com>
20932
20933 [BZ #411]
20934 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20935
314054ea
JM
209362012-02-06 Joseph Myers <joseph@codesourcery.com>
20937
20938 * sysdeps/i386/sysdep.h: Include <features.h>.
20939 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20940 version.
20941
d8e0ca50
JM
209422012-02-05 Joseph Myers <joseph@codesourcery.com>
20943
20944 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20945 Define.
20946 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20947 LOAD_PIC_REG_STR.
20948
b1da7dd9
JM
209492012-02-03 Joseph Myers <joseph@codesourcery.com>
20950
20951 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20952 (SETUP_PIC_REG): Use GET_PC_THUNK.
20953 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20954 macro.
20955
9a1d9254
JM
209562012-02-03 Joseph Myers <joseph@codesourcery.com>
20957
20958 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20959 for non-PIC compilation.
20960 (SETUP_PIC_REG): Add .p2align directive.
20961 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20962 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20963 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20964 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20965 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20966 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20967 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20968 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20969 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20970 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20971 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20972 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20973 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20974 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20975 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20976 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20977 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20978 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20979 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20980 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20981 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20982 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20983 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20984 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20985 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20987 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20988 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20989 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20990 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20991 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20992 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20993 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20994 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20995 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20996 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20997 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20998 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20999 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21000 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21001 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21002
65dc3b75
JM
210032012-02-03 Joseph Myers <joseph@codesourcery.com>
21004
21005 * math/tst-CMPLX.c: Include <stdio.h>.
21006
d55bf177
JM
210072012-01-31 Joseph Myers <joseph@codesourcery.com>
21008
21009 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21010 float.
21011 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21012 * sysdeps/sparc/bits/mathdef.h: Likewise.
21013
69db4f8f
MP
210142012-01-31 Marek Polacek <polacek@redhat.com>
21015
21016 * libio/libio.h: Don't define _PARAMS.
21017 * locale/programs/config.h: Don't define PARAMS.
21018 * stdlib/strtol_l.c: Likewise.
21019 (__strtol_l): Remove PARAMS from the prototype.
21020
41b81892
UD
210212012-01-31 Ulrich Drepper <drepper@gmail.com>
21022
3b49edc0
UD
21023 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21024 names. Just use the correct names. Remove unnecessary wrapper
21025 functions.
21026 * malloc/arena.c: Likewise.
21027 * malloc/hooks.c: Likewise.
21028
41b81892
UD
21029 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21030 ARENA_TEST says not to. Simplify test for creation of a new arena.
21031 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21032
27a25b6e
UD
210332012-01-30 Ulrich Drepper <drepper@gmail.com>
21034
21035 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21036 into tail calls.
21037 (update_get_addr): New function.
21038 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21039 GET_ADDR_MODULE parameter.
21040
c8a89e7d
JM
210412012-01-30 Joseph Myers <joseph@codesourcery.com>
21042
21043 * crypt/cert.c: Remove __STDC__ conditionals.
21044 * crypt/crypt-entry.c: Likewise.
21045 * crypt/crypt_util.c: Likewise.
21046 * libio/filedoalloc.c: Likewise.
21047 * libio/fileops.c: Likewise.
21048 * libio/genops.c: Likewise.
21049 * libio/iofclose.c: Likewise.
21050 * libio/iofdopen.c: Likewise.
21051 * libio/iofopen.c: Likewise.
21052 * libio/iofopen64.c: Likewise.
21053 * libio/iogetdelim.c: Likewise.
21054 * libio/iopopen.c: Likewise.
21055 * libio/obprintf.c: Likewise.
21056 * libio/oldfileops.c: Likewise.
21057 * libio/oldiofclose.c: Likewise.
21058 * libio/oldiofdopen.c: Likewise.
21059 * libio/oldiofopen.c: Likewise.
21060 * libio/oldiopopen.c: Likewise.
21061 * libio/wfiledoalloc.c: Likewise.
21062 * libio/wgenops.c: Likewise.
21063 * locale/programs/xmalloc.c: Likewise.
21064 * misc/syslog.c: Likewise.
21065 * stdio-common/xbug.c: Likewise.
21066 * string/memchr.c: Likewise.
21067 * string/memcmp.c: Likewise.
21068 * string/memrchr.c: Likewise.
21069 * string/rawmemchr.c: Likewise.
21070 * sysdeps/posix/getcwd.c: Likewise.
21071 * time/strftime_l.c: Likewise.
21072
3b100462
JM
210732012-01-30 Joseph Myers <joseph@codesourcery.com>
21074
21075 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21076 * config.make.in (config-cflags-sse2avx): Define.
21077 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21078 Fix typo.
21079
607998af
CM
210802012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21081
21082 * scripts/config.guess: Update from upstream config git repository.
21083 * scripts/config.sub: Likewise.
21084
3601428f
CM
210852012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21086
3ac8b282
CM
21087 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21088 (EM_NUM): Update.
21089 (R_TILEPRO_*, R_TILEGX_*): New macros.
21090
e034841e
CM
21091 * scripts/firstversions.awk: Fix bug in version range handling.
21092
540d7568
CM
21093 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21094
3601428f
CM
21095 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21096
463de862
CM
21097 * include/sys/epoll.h: New file.
21098 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21099 libc_hidden_def.
21100
73139a76
UD
211012012-01-28 Ulrich Drepper <drepper@gmail.com>
21102
96bc5b45
UD
21103 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21104 Avoid unnecessary __WORDSIZE == 64 test.
21105 (fmaxf): Use VEX format if possible.
21106 (fmax): Likewise.
21107 (fminf): Likewise.
21108 (fmin): Likewise.
21109
56f6f6a2
UD
21110 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21111 * math/math_private.h: Remove libc_fegetround* and
21112 libc_fesetround*.
21113 * sysdeps/i386/configure.in: Check for -msse2avx.
21114 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21115 also if SSE2AVX is defined.
21116 Remove libc_fegetround* and libc_fesetround*.
21117 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21118 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21119 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21120 of HAS_YMM_USABLE.
21121 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21122 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21123 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21124 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21125 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21126
73139a76
UD
21127 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21128
d73f93a4
AZ
211292012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21130
21131 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21132 size is not set.
21133 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21134
6ee65ed6
UD
211352012-01-27 Ulrich Drepper <drepper@gmail.com>
21136
21137 [BZ #13618]
21138 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21139 relocation.
21140 * Makeconfig (libm): Define.
21141 * elf/Makefile: Add rules to build and run tst-relsort1.
21142 * elf/tst-relsort1.c: New file.
21143 * elf/tst-relsort1mod1.c: New file.
21144 * elf/tst-relsort1mod2.c: New file.
21145
8db21882
JM
211462012-01-27 Joseph Myers <joseph@codesourcery.com>
21147
21148 * math/s_ldexp.c: Remove __STDC__ conditionals.
21149 * math/s_ldexpf.c: Likewise.
21150 * math/s_ldexpl.c: Likewise.
21151 * math/s_nextafter.c: Likewise.
21152 * math/s_nexttowardf.c: Likewise.
21153 * math/s_significand.c: Likewise.
21154 * math/s_significandf.c: Likewise.
21155 * math/s_significandl.c: Likewise.
21156 * math/w_jnl.c: Likewise.
21157 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21158 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21159 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21160 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21161 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21163 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21164 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21176 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21177 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21178 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21179 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21180 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21181 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21182 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21183 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21184 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21185 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21186 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21187 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21188 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21189 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21190 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21191 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21192 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21193 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21194 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21195 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21196 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21197 * sysdeps/ieee754/k_standard.c: Likewise.
21198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21199 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21200 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21201 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21202 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21203 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21204 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21205 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21206 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21207 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21208 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21212 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21214 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21215 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21216 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21217 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21218 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21219 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21220 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21221 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21222 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21223 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21224 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21226 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21227 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21228 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21229 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21230 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21231 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21232 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21233 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21234 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21235 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21239 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21244 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21246 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21247 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21248 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21249 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21250 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21251 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21252 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21253 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21254 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21255 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21256 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21257 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21258 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21259 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21260 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21261 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21262 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21263 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21264 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21265 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21266 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21267 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21268 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21269 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21270 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21271 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21272 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21273 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21274 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21275 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21276 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21277 * sysdeps/ieee754/s_matherr.c: Likewise.
21278 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21279 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21282
965a54a4
JM
212832012-01-26 Joseph Myers <joseph@codesourcery.com>
21284
21285 * crypt/md5.h: Remove __STDC__ conditionals.
21286 * libio/libioP.h: Likewise.
21287 * locale/programs/config.h: Likewise.
21288 * sysdeps/generic/sysdep.h: Likewise.
21289 * sysdeps/i386/asm-syntax.h: Likewise.
21290 * sysdeps/s390/asm-syntax.h: Likewise.
21291 * sysdeps/unix/sysdep.h: Likewise.
21292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21294
7071ad79
JM
212952012-01-26 Joseph Myers <joseph@codesourcery.com>
21296
21297 * libio/libio.h: Remove __STDC__ conditionals.
21298 * malloc/obstack.h: Likewise.
21299 * math/complex.h: Likewise.
21300 * math/math.h: Likewise.
21301 * sysdeps/generic/_G_config.h: Likewise.
21302 * sysdeps/gnu/_G_config.h: Likewise.
21303 * sysdeps/mach/hurd/_G_config.h: Likewise.
21304 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21305 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21306 * sysdeps/sparc/bits/mathdef.h: Likewise.
21307
afc5ed09
UD
213082012-01-26 Ulrich Drepper <drepper@gmail.com>
21309
21310 [BZ #13583]
21311 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21312 Clean up HAS_* macros.
afc5ed09 21313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21314 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21315 possible.
21316 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21317 HAS_AVX.
21318 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21319 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21320 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21321 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21322 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21323
bdb6de1d
JM
213242012-01-25 Joseph Myers <joseph@codesourcery.com>
21325
21326 * elf/tst-unique3.cc (gets): Remove declaration.
21327 * elf/tst-unique3lib.cc (gets): Likewise.
21328 * elf/tst-unique3lib2.cc (gets): Likewise.
21329 * elf/tst-unique4.cc (gets): Likewise.
21330
b15549e6
UD
213312012-01-24 Ulrich Drepper <drepper@gmail.com>
21332
21333 * include/stdio.h: Add C++ protection. Add gets declarations and
21334 definitions.
21335 * debug/tst-chk1.c: Don't declare gets here.
21336 * stdio-common/tst-gets.c: Likewise.
21337
a037381f
JM
213382012-01-24 Joseph Myers <joseph@codesourcery.com>
21339
21340 * posix/glob: Remove directory.
21341
f1d4aa75
JM
213422012-01-24 Joseph Myers <joseph@codesourcery.com>
21343
21344 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21345
81c0c964
PT
213462012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21347
21348 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21349 of the non-standard EPFNOSUPPORT.
21350
0ea698ae
ST
213512011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21352
21353 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21354 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21355 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21356
d220b117
UD
213572012-01-21 Ulrich Drepper <drepper@gmail.com>
21358
21359 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21360
3e1aa84e
UD
213612012-01-20 Ulrich Drepper <drepper@gmail.com>
21362
21363 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21364 transient errors.
21365 * nscd/grpcache.c (cache_addgr): Likewise.
21366 * nscd/hstcache.c (cache_addhst): Likewise.
21367 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21368 * nscd/pwdcache.c (cache_addpw): Likewise.
21369 * nscd/servicescache.c (cache_addserv): Likewise.
21370
400aa020
UD
213712012-01-16 Ulrich Drepper <drepper@gmail.com>
21372
d77e7869
UD
21373 * malloc/malloc.c: Various cleanups.
21374 * malloc/hooks.c: Likewise.
21375
400aa020
UD
21376 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21377 * stdlib/bug-fmtmsg1.c: New file.
21378
21379 * stdlib/fmtmsg.c (init): Add missing unlock.
21380 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21381
e0a309cf
MP
213822012-01-12 Marek Polacek <polacek@redhat.com>
21383
21384 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21385 and _GNU_SOURCE.
21386
929d11c7
WS
213872012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21388
21389 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21390 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21391 macro to ensure uniqueness of label name.
21392 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21393 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21394
41d0e869
UD
213952012-01-11 Ulrich Drepper <drepper@gmail.com>
21396
0cc5ed3b
UD
21397 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21398
41d0e869
UD
21399 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21400 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21401 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21403
a47a831a
UD
214042012-01-10 Ulrich Drepper <drepper@gmail.com>
21405
daa891c0
UD
21406 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21407
21408 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21409 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21410 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21411
e58ef0f2
UD
21412 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21413
a47a831a 21414 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21415 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21416 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21418
21419 * math/bits/math-finite.h: Add ldexp support.
21420
a0bfc9c7
MP
214212012-01-10 Marek Polacek <polacek@redhat.com>
21422
21423 * locale/programs/localedef.h (show_archive_content): Add noreturn
21424 attribute.
21425
d6e97a1d
UD
214262012-01-09 Ulrich Drepper <drepper@gmail.com>
21427
21428 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21429
d5835c26
UD
214302012-01-08 Ulrich Drepper <drepper@gmail.com>
21431
e5f484c6
UD
21432 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21433
d5835c26
UD
21434 * io/Makefile (headers): Add bits/poll2.h.
21435
d1f741e9
WS
214362011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21437
21438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21439 typo #include statement.
21440
ec09c1c4
UD
214412012-01-08 Ulrich Drepper <drepper@gmail.com>
21442
21443 * include/sys/cdefs.h: Define __attribute_alloc_size.
21444 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21445 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21446 * elf/pldd.c: Likewise.
21447 * iconv/iconv_charmap.c: Likewise.
21448 * iconv/iconvconfig.c: Likewise.
21449 * iconv/strtab.c: Likewise.
21450 * locale/programs/locale.c: Likewise.
21451 * locale/programs/localedef.h: Likewise.
21452 * locale/programs/simple-hash.c: Likewise.
21453 * nscd/nscd.h: Likewise.
21454 * nss/makedb.c: Likewise.
21455 * sysdeps/generic/ldconfig.h: Likewise.
21456 * locale/programs/localedef.c: Remove xmalloc prototype.
21457 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21458
20b38e03
PP
214592012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21460
21461 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21462 appropriate.
21463
a0da5fe1
UD
214642012-01-08 Ulrich Drepper <drepper@gmail.com>
21465
1d5a644a 21466 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21467 * math/tst-CMPLX.c: New file.
1d5a644a 21468
8784a6db
UD
21469 * math/complex.h (CMPLXL): Fix typo.
21470
d9a216c0
UD
21471 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21472 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21473 GLIBC_2.16.
21474 * debug/tst-chk1.c: Add poll and ppoll tests.
21475 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21476 * include/sys/poll.h: Add hidden proto for ppoll.
21477 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21478 * sysdeps/mach/hurd/ppoll.c: Likewise.
21479 * io/ppoll.c: Likewise.
21480 * debug/poll_chk.c: New file.
21481 * debug/ppoll_chk.c: New file.
21482 * include/bits/poll2.h: New file.
21483 * io/bits/poll2.h: New file.
21484
ac097f5c
UD
21485 [BZ #1350]
21486 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21487
2119dcfa
UD
21488 * configure.in: static is always set to yes. Remove.
21489 * config.make.in: Don't set build-static.
21490 * Makeconfig: Remove use of build-static.
21491 * dlfcn/Makefile: Likewise.
21492 * elf/Makefile: Likewise.
21493 * math/Makefile: Likewise.
21494 * misc/Makefile: Likewise.
21495 * nptl/Makefile: Likewise.
21496 * sysdeps/mach/hurd/Makefile: Likewise.
21497
121766a9
UD
21498 * configure.in: PWD_P is not used anymore.
21499 * config.make.in: Remove PWD_P entry.
21500
51a1d39c 21501 * configure.in: Remove last remnants of RANLIB.
8720d066 21502 No need to check for signed size_t anymore.
215f4bdc
UD
21503 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21504 and IA-64.
3857022a 21505 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21506 * aclocal.m4: Likewise.
21507
d3ed7225
UD
21508 * wcsmbs/mbrtoc16.c: Implement using towc function.
21509 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21510 * wcsmbs/wcsmbsload.c: Likewise.
21511 * iconv/gconv_simple.c: Likewise.
21512 * iconv/gconv_int.h: Likewise.
21513 * iconv/gconv_builtin.h: Likewise.
21514 * iconv/iconv_prog.c: Remove CHAR16 handling.
21515
21516 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21517
21518 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21519
a0da5fe1
UD
21520 * configure.in: Remove --with-elf and --enable-bounded options.
21521 Dont set base_machine for ia64. More non-ELF conditions removed.
21522 Remove testing and setting of leading underscore information.
21523 * config.make.in (build-bounded): Set to no.
21524 * config.h.in: Remove NO_UNDERSCORES entry.
21525 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21526 them.
21527 * csu/start.c: Remove !NO_UNDERSCORE code.
21528 * locale/localeinfo.h: Likewise.
21529 * sysdeps/generic/machine-gmon.h: Likewise.
21530 * sysdeps/generic/sysdep.h: Likewise.
21531 * sysdeps/i386/sysdep.h: Likewise.
21532 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21533 * sysdeps/mach/sysdep.h: Likewise.
21534 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21535 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21536 * sysdeps/sh/sysdep.h: Likewise.
21537 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21538 * sysdeps/unix/i386/sysdep.S: Likewise.
21539 * sysdeps/unix/sparc/start.c: Likewise.
21540 * sysdeps/unix/sparc/sysdep.S: Likewise.
21541 * sysdeps/unix/sparc/sysdep.h: Likewise.
21542 * sysdeps/unix/start.c: Likewise.
21543 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21544 * sysdeps/x86_64/sysdep.h: Likewise.
21545
df78418a
UD
215462012-01-07 Ulrich Drepper <drepper@gmail.com>
21547
a784e502
UD
21548 [BZ #13553]
21549 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21550 for non-gcc.
21551 * argp/argp-fmtstream.h: Use const instead __const.
21552 * argp/argp.h: Likewise.
21553 * assert/assert.h: Likewise.
21554 * bits/fenv.h: Likewise.
21555 * bits/sched.h: Likewise.
21556 * bits/sigset.h: Likewise.
21557 * bits/sigthread.h: Likewise.
21558 * catgets/nl_types.h: Likewise.
21559 * conform/data/pthread.h-data: Likewise.
21560 * crypt/crypt-private.h: Likewise.
21561 * crypt/crypt.h: Likewise.
21562 * crypt/crypt_util.c: Likewise.
21563 * ctype/ctype.h: Likewise.
21564 * debug/execinfo.h: Likewise.
21565 * debug/mbsnrtowcs_chk.c: Likewise.
21566 * debug/mbsrtowcs_chk.c: Likewise.
21567 * debug/wcsnrtombs_chk.c: Likewise.
21568 * debug/wcsrtombs_chk.c: Likewise.
21569 * debug/wcstombs_chk.c: Likewise.
21570 * dirent/dirent.h: Likewise.
21571 * dlfcn/dlfcn.h: Likewise.
21572 * elf/neededtest4.c: Likewise.
21573 * grp/grp.h: Likewise.
21574 * gshadow/gshadow.h: Likewise.
21575 * iconv/gconv.h: Likewise.
21576 * iconv/gconv_int.h: Likewise.
21577 * iconv/gconv_simple.c: Likewise.
21578 * iconv/iconv.h: Likewise.
21579 * iconv/loop.c: Likewise.
21580 * iconv/skeleton.c: Likewise.
21581 * include/aio.h: Likewise.
21582 * include/aliases.h: Likewise.
21583 * include/argz.h: Likewise.
21584 * include/arpa/inet.h: Likewise.
21585 * include/assert.h: Likewise.
21586 * include/dirent.h: Likewise.
21587 * include/dlfcn.h: Likewise.
21588 * include/execinfo.h: Likewise.
21589 * include/fcntl.h: Likewise.
21590 * include/fenv.h: Likewise.
21591 * include/glob.h: Likewise.
21592 * include/grp.h: Likewise.
21593 * include/libintl.h: Likewise.
21594 * include/mntent.h: Likewise.
21595 * include/netdb.h: Likewise.
21596 * include/pwd.h: Likewise.
21597 * include/rpc/netdb.h: Likewise.
21598 * include/sched.h: Likewise.
21599 * include/search.h: Likewise.
21600 * include/shadow.h: Likewise.
21601 * include/signal.h: Likewise.
21602 * include/stdio.h: Likewise.
21603 * include/stdlib.h: Likewise.
21604 * include/string.h: Likewise.
21605 * include/sys/socket.h: Likewise.
21606 * include/sys/stat.h: Likewise.
21607 * include/sys/statfs.h: Likewise.
21608 * include/sys/statvfs.h: Likewise.
21609 * include/sys/syslog.h: Likewise.
21610 * include/sys/time.h: Likewise.
21611 * include/sys/uio.h: Likewise.
21612 * include/time.h: Likewise.
21613 * include/unistd.h: Likewise.
21614 * include/utmp.h: Likewise.
21615 * include/wchar.h: Likewise.
21616 * include/wctype.h: Likewise.
21617 * inet/aliases.h: Likewise.
21618 * inet/arpa/inet.h: Likewise.
21619 * inet/netinet/ether.h: Likewise.
21620 * inet/netinet/in.h: Likewise.
21621 * intl/libintl.h: Likewise.
21622 * io/bits/fcntl2.h: Likewise.
21623 * io/fcntl.h: Likewise.
21624 * io/ftw.h: Likewise.
21625 * io/sys/poll.h: Likewise.
21626 * io/sys/stat.h: Likewise.
21627 * io/sys/statfs.h: Likewise.
21628 * io/sys/statvfs.h: Likewise.
21629 * io/utime.h: Likewise.
21630 * libio/bits/stdio.h: Likewise.
21631 * libio/bits/stdio2.h: Likewise.
21632 * libio/libio.h: Likewise.
21633 * libio/libioP.h: Likewise.
21634 * libio/stdio.h: Likewise.
21635 * locale/lc-ctype.c: Likewise.
21636 * locale/locale.h: Likewise.
21637 * login/utmp.h: Likewise.
21638 * malloc/arena.c: Likewise.
21639 * malloc/malloc.c: Likewise.
21640 * malloc/malloc.h: Likewise.
21641 * malloc/mcheck.c: Likewise.
21642 * malloc/mtrace.c: Likewise.
21643 * math/bits/mathcalls.h: Likewise.
21644 * math/fenv.h: Likewise.
21645 * math/math_private.h: Likewise.
21646 * misc/bits/error.h: Likewise.
21647 * misc/bits/syslog.h: Likewise.
21648 * misc/err.h: Likewise.
21649 * misc/error.h: Likewise.
21650 * misc/fstab.h: Likewise.
21651 * misc/mntent.h: Likewise.
21652 * misc/regexp.h: Likewise.
21653 * misc/search.h: Likewise.
21654 * misc/sgtty.h: Likewise.
21655 * misc/sys/mman.h: Likewise.
21656 * misc/sys/syslog.h: Likewise.
21657 * misc/sys/uio.h: Likewise.
21658 * misc/sys/xattr.h: Likewise.
21659 * misc/ttyent.h: Likewise.
21660 * nis/rpcsvc/ypclnt.h: Likewise.
21661 * nss/nss.h: Likewise.
21662 * posix/bits/unistd.h: Likewise.
21663 * posix/fnmatch.h: Likewise.
21664 * posix/glob.h: Likewise.
21665 * posix/sched.h: Likewise.
21666 * posix/spawn.h: Likewise.
21667 * posix/sys/wait.h: Likewise.
21668 * posix/unistd.h: Likewise.
21669 * posix/wordexp.h: Likewise.
21670 * pwd/pwd.h: Likewise.
21671 * resolv/netdb.h: Likewise.
21672 * resource/sys/resource.h: Likewise.
21673 * rt/aio.h: Likewise.
21674 * rt/bits/mqueue2.h: Likewise.
21675 * rt/mqueue.h: Likewise.
21676 * shadow/shadow.h: Likewise.
21677 * signal/signal.h: Likewise.
21678 * socket/send.c: Likewise.
21679 * socket/sendto.c: Likewise.
21680 * socket/sys/socket.h: Likewise.
21681 * stdio-common/printf.h: Likewise.
21682 * stdlib/bits/stdlib.h: Likewise.
21683 * stdlib/fmtmsg.h: Likewise.
21684 * stdlib/monetary.h: Likewise.
21685 * stdlib/stdlib.h: Likewise.
21686 * stdlib/ucontext.h: Likewise.
21687 * streams/stropts.h: Likewise.
21688 * string/argz.h: Likewise.
21689 * string/bits/string2.h: Likewise.
21690 * string/string.h: Likewise.
21691 * string/strings.h: Likewise.
21692 * sunrpc/rpc/auth.h: Likewise.
21693 * sunrpc/rpc/auth_des.h: Likewise.
21694 * sunrpc/rpc/clnt.h: Likewise.
21695 * sunrpc/rpc/netdb.h: Likewise.
21696 * sunrpc/rpc/pmap_clnt.h: Likewise.
21697 * sunrpc/rpc/xdr.h: Likewise.
21698 * sysdeps/generic/inttypes.h: Likewise.
21699 * sysdeps/generic/net/if.h: Likewise.
21700 * sysdeps/generic/sys/swap.h: Likewise.
21701 * sysdeps/gnu/net/if.h: Likewise.
21702 * sysdeps/gnu/utmpx.h: Likewise.
21703 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21704 * sysdeps/i386/i486/bits/string.h: Likewise.
21705 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21706 * sysdeps/s390/bits/string.h: Likewise.
21707 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21708 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21709 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21710 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21711 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21712 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21713 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21714 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21715 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21716 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21717 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21718 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21719 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21720 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21721 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21722 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21723 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21725 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21726 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21727 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21728 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21729 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21730 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21731 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21732 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21733 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21734 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21735 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21736 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21737 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21738 * sysvipc/sys/ipc.h: Likewise.
21739 * sysvipc/sys/msg.h: Likewise.
21740 * sysvipc/sys/sem.h: Likewise.
21741 * sysvipc/sys/shm.h: Likewise.
21742 * termios/termios.h: Likewise.
21743 * time/sys/time.h: Likewise.
21744 * time/time.h: Likewise.
21745 * wcsmbs/bits/wchar2.h: Likewise.
21746 * wcsmbs/uchar.h: Likewise.
21747 * wcsmbs/wchar.h: Likewise.
21748 * wctype/wctype.h: Likewise.
21749
0269750c
UD
21750 [BZ #13551]
21751 * Makeconfig: Remove all but ELF support including AIX support.
21752 * Makerules: Likewise.
21753 * config.h.in: Likewise.
21754 * config.make.in: Likewise.
21755 * configure: Likewise.
21756 * configure.in: Likewise.
21757 * csu/Makefile: Likewise.
21758 * csu/version.c: Likewise.
21759 * debug/Makefile: Likewise.
21760 * dlfcn/Makefile: Likewise.
21761 * elf/Makefile: Likewise.
21762 * extra-lib.mk: Likewise.
21763 * iconv/Makefile: Likewise.
21764 * include/libc-symbols.h: Likewise.
21765 * include/shlib-compat.h: Likewise.
21766 * resolv/Makefile: Likewise.
21767 * resolv/res_libc.c: Likewise.
21768 * rt/Makefile: Likewise.
21769 * sysdeps/i386/asm-syntax.h: Likewise.
21770 * sysdeps/i386/sysdep.h: Likewise.
21771 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21772 * sysdeps/mach/sysdep.h: Likewise.
21773 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21774 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21775 * sysdeps/s390/asm-syntax.h: Likewise.
21776 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21777 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21778 * sysdeps/sh/sysdep.h: Likewise.
21779 * sysdeps/unix/sparc/sysdep.h: Likewise.
21780 * sysdeps/wordsize-32/divdi3.c: Likewise.
21781 * sysdeps/x86_64/sysdep.h: Likewise.
21782
00bbd29b
UD
21783 * argp/Versions: Remove _argp_unlock_xxx.
21784
21785 [BZ #13559]
21786 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21787 * abilist/libBrokenLocale.abilist: Likewise.
21788 * abilist/libanl.abilist: Likewise.
21789 * abilist/libc.abilist: Likewise.
21790 * abilist/libcrypt.abilist: Likewise.
21791 * abilist/libdl.abilist: Likewise.
21792 * abilist/libm.abilist: Likewise.
21793 * abilist/libnsl.abilist: Likewise.
21794 * abilist/libpthread.abilist: Likewise.
21795 * abilist/libresolv.abilist: Likewise.
21796 * abilist/librt.abilist: Likewise.
21797 * abilist/libthread_db.abilist: Likewise.
21798 * abilist/libutil.abilist: Likewise.
21799 * abilist/libnss_db.abilist: New file.
21800
21801 * scripts/abilist.awk: Add support for indirect functions.
21802
a2693a0e
UD
21803 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21804
3f05895f
UD
21805 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21806
ecb6fb48
UD
21807 * shlib-versions: Remove entries for ports architectures.
21808
664f8cb9
UD
21809 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21810 files in ports.
21811 * elf/stackguard-macros.h: Remove support for IA-64.
21812 * elf/tst-auditmod1.c: Likewise.
21813 * sysdeps/generic/ldsodefs.h: Likewise.
21814
7ae81d88
UD
21815 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21816 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21817 configure files.
21818
bdeba135
UD
21819 [BZ #13552]
21820 * configure.in: Remove --enable-omitfp support.
21821 * FAQ.in: Adjust.
21822 * config.make.in: Likewise.
21823 * Makeconfig: Likewise.
21824 * manual/install.texi: Likewise.
21825
d75a0a62
UD
21826 In case anyone cares, the IA-64 architecture could move to ports.
21827 * sysdeps/ia64/*: Removed.
21828 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21829 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21830
dcc9756b
UD
21831 [BZ #13555]
21832 * configure.in: Remove entries for unsupported architectures.
21833
d3761ebc 21834 [BZ #13533]
9954432e
UD
21835 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21836 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21837 routines.
21838 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21839 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21840 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21841 fall back to using wcrtomb.
21842 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21843 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21844 renaming.
21845 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21846 * wcsmbs/tst-c16c32-1.c: New file.
21847
21848 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21849 local variable.
21850
c3a87236
UD
21851 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21852
28926a1b
UD
21853 * elf/tst-unique3.cc: Add explicit declaration of gets.
21854 * elf/tst-unique3lib.cc: Likewise.
21855 * elf/tst-unique3lib2.cc: Likewise.
21856 * elf/tst-unique4.cc: Likewise.
21857
df78418a
UD
21858 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21859
8ecd6b2a
JM
218602012-01-06 Joseph Myers <joseph@codesourcery.com>
21861
21862 [BZ #13566]
21863 * assert/assert.h (static_assert): Don't define for C++.
21864 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21865 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21866
9f115170
UD
218672012-01-03 Ulrich Drepper <drepper@gmail.com>
21868
5e0d0300
UD
21869 * iconv/loop.c (single loop): Fix assertion in storing of
21870 remaining bytes.
21871
9f115170
UD
21872 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21873
81fb02b0
UD
218742012-01-01 Ulrich Drepper <drepper@gmail.com>
21875
21876 * posix/getconf.c: Update copyright year.
21877 * nss/getent.c: Likewise.
a316c1f6 21878 * nss/makedb.c: Likewise.
81fb02b0
UD
21879 * iconv/iconvconfig.c: Likewise.
21880 * iconv/iconv_prog.c: Likewise.
21881 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21882 * elf/pldd.c: Likewise.
21883 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21884 * catgets/gencat.c: Likewise.
21885 * csu/version.c: Likewise.
21886 * elf/ldd.bash.in: Likewise.
21887 * elf/sprof.c (print_version): Likewise.
21888 * locale/programs/locale.c: Likewise.
21889 * locale/programs/localedef.c: Likewise.
a316c1f6 21890 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21891 * nscd/nscd.c (print_version): Likewise.
21892 * debug/xtrace.sh: Likewise.
21893 * malloc/memusage.sh: Likewise.
21894 * malloc/mtrace.pl: Likewise.
21895 * debug/catchsegv.sh: Likewise.
21896
2ba92745
JJ
218972011-12-30 Jakub Jelinek <jakub@redhat.com>
21898
21899 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21900 pure attribute.
21901
dadebdae
UD
219022011-12-24 Ulrich Drepper <drepper@gmail.com>
21903
d3761ebc 21904 [BZ #13533]
db6af3eb
UD
21905 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21906 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21907 transformations.
21908 * iconv/gconv_int.h: Likewise.
21909 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21910 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21911 from libc for GLIBC_2.16.
21912 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21913 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21914 * wcsmbs/uchar.h: Really define mbstate_t.
21915 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21916 * wcsmbs/c16rtomb.c: New file.
21917 * wcsmbs/mbrtoc16.c: New file.
21918 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21919 for C/POSIX locale.
21920 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21921 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21922
dadebdae
UD
21923 * wcsmbs/wchar.h: Add missing __restrict.
21924
67371b56
UD
219252011-12-23 Ulrich Drepper <drepper@gmail.com>
21926
74033a25
UD
21927 [BZ #13532]
21928 * time/Makefile (routines): Add timespec_get.
21929 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21930 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21931 timespec for ISO C11.
21932 * time/timespec_get.c: New file.
21933 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21934 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21935
380d7e87
UD
21936 [BZ #13531]
21937 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21938 * stdlib/stdlib.h: Declare aligned_alloc.
21939 * Versions.def: Add GLIBC_2.16 for libc.
21940 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21941
4e9e7a35
UD
21942 [BZ 13527]
21943 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21944 ISO C11.
21945
380d7e87 21946 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21947 code.
21948
03a71829
UD
21949 [BZ #13528]
21950 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21951
839e283e
UD
21952 [BZ #13529]
21953 * assert/assert.h (static_assert): Define.
21954
ce5294e2 21955 * version.h: Update for 2.16 development version.
90fa7312 21956
8d44e150 21957 [BZ #13526]
d7809905
UD
21958 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21959 _ISOC11_SOURCE.
21960
c0da14cd
UD
21961 * version.h (RELEASE): Bump for 2.15 release.
21962 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21963
530a3249
MP
21964 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21965 Patch by Marek Polacek <mpolacek@redhat.com>.
21966
67371b56
UD
21967 * bits/byteswap.h: Protect long long constants with __extension__.
21968 * sysdeps/i386/bits/byteswap.h: Likewise.
21969 * sysdeps/ia64/bits/byteswap.h: Likewise.
21970 * sysdeps/s390/bits/byteswap.h: Likewise.
21971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21972
15db4de1
LD
219732011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21974
21975 [BZ #13540]
bbe315ea
LD
21976 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21977 destination buffer.
15db4de1
LD
21978 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21979
2b2596b1
MP
219802011-12-23 Marek Polacek <polacek@redhat.com>
21981
21982 * elf/dl-addr.c (determine_info): Add inline keyword.
21983 * elf/tst-auditmod4b.c (check_avx): Likewise.
21984 * elf/tst-auditmod6b.c (check_avx): Likewise.
21985 * elf/tst-auditmod6c.c (check_avx): Likewise.
21986 * elf/tst-auditmod7b.c (check_avx): Likewise.
21987
70c6c246
UD
219882011-12-23 Ulrich Drepper <drepper@gmail.com>
21989
21990 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21991 !__SSE_MATH__.
21992
c044cf14
LD
219932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21994
15db4de1 21995 [BZ #13540]
c044cf14
LD
21996 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21997 processing for last bytes.
21998
6b13d9d9
BH
219992011-08-06 Bruno Haible <bruno@clisp.org>
22000
d455f537
BH
22001 [BZ #13061]
22002 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22003 U+0385, not to U+1FEE.
22004
6b13d9d9
BH
22005 [BZ #13062]
22006 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22007 entry for U+00A5 U+0301.
22008
db910efd
UD
220092011-12-22 Ulrich Drepper <drepper@gmail.com>
22010
27deeafc
UD
22011 [BZ #13166]
22012 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22013 buffer for the output is too small.
22014
aed9d171
UD
22015 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22016 optimization.
22017
db910efd
UD
22018 [BZ #13185]
22019 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22020 SSE flags if possible.
22021
2bd779ae
LD
220222011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22023
e7f9dac3 22024 [BZ #13540]
2bd779ae
LD
22025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22026 processing for last bytes.
22027
154bfc16
JM
220282011-12-22 Joseph Myers <joseph@codesourcery.com>
22029
22030 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22031 (syscall-list-default-options, syscall-list-default-condition)
22032 (syscall-list-includes): Define.
22033 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22034 list of ABIs and options and #if conditions for each ABI. Do not
22035 handle common syscalls between ABIs specially.
22036 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22037 Remove.
22038 (syscall-list-variants, syscall-list-32bit-options)
22039 (syscall-list-32bit-condition, syscall-list-64bit-options)
22040 (syscall-list-64bit-condition): Define.
22041 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22042 (syscall-list-variants, syscall-list-32bit-options)
22043 (syscall-list-32bit-condition, syscall-list-64bit-options)
22044 (syscall-list-64bit-condition): Define.
22045 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22046 Remove.
22047 (syscall-list-variants, syscall-list-32bit-options)
22048 (syscall-list-32bit-condition, syscall-list-64bit-options)
22049 (syscall-list-64bit-condition): Define.
22050 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22051 Remove.
22052 (syscall-list-variants, syscall-list-32bit-options)
22053 (syscall-list-32bit-condition, syscall-list-64bit-options)
22054 (syscall-list-64bit-condition): Define.
22055
21eaf3a5
UD
220562011-12-22 Ulrich Drepper <drepper@gmail.com>
22057
16c6f992
UD
22058 * locale/iso-639.def: Add brx entry.
22059
41043168
UD
22060 [BZ #13328]
22061 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22062 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22063
21eaf3a5
UD
22064 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22065 __feraiseexcept_renamed.
22066
e3a851a2
UD
220672011-12-21 Ulrich Drepper <drepper@gmail.com>
22068
4920765e
UD
22069 [BZ #13538]
22070 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22071 EPOLLET with unsigned values.
22072 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22073 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22074
e3a851a2
UD
22075 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22076 to large cancellation.
22077 * math/s_cacoshf.c: Likewise.
22078 * math/s_cacoshl.c: Likewise.
22079
b27e24b8
RK
220802011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22081
22082 [BZ #13305]
aebefeee 22083 [BZ #12786]
b27e24b8
RK
22084 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22085 * math/s_cacoshf.c: Likewise.
22086 * math/s_cacoshl.c: Likewise.
22087
ee190f67
UD
220882011-12-21 Ulrich Drepper <drepper@gmail.com>
22089
22090 [BZ #13439]
22091 * iconv/gconv.h: Define __GCONV_SWAP.
22092 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22093 * iconvdata/utf-16.c: Likewise.
22094 * iconvdata/utf-32.c: Likewise.
22095
707f25df
AS
220962011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22097
22098 [BZ #13524]
22099 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22100 numerator after shifting it by one limb.
22101
d2daaa1e
RÁE
221022011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22103
22104 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22105 under [__USE_EXTERN_INLINES].
22106
a4647e72
UD
221072011-12-17 Ulrich Drepper <drepper@gmail.com>
22108
22109 [BZ #13446]
22110 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22111
f0b264f1
AZ
221122011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22113
22114 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22115 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22116 optimized code.
22117 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22118 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22119 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22120 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22121 for strncasecmp/strncasecmp_l compilation.
22122 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22123 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22124
8ef4f244
MP
221252011-12-08 Marek Polacek <mpolacek@redhat.com>
22126
22127 [BZ #13484]
22128 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22129 of __asm__.
22130
97ac2654
UD
221312011-12-17 Ulrich Drepper <drepper@gmail.com>
22132
22133 [BZ #13506]
22134 * time/tzfile.c (__tzfile_read): Check values from file header.
22135
91d2a845
WS
221362011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22137
22138 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22139 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22140 * powerpc/powerpc32/dl-start.S: Likewise.
22141 * powerpc/powerpc32/elf/start.S: Likewise.
22142 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22143 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22144 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22145 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22146 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22147 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22148 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22149 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22150 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22151 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22152 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22153 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22154 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22155 * powerpc/powerpc32/memset.S: Likewise.
22156 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22157 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22158 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22159 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22160 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22161 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22162 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22163 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22164 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22165 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22166 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22167 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22168 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22169
a1267ba1
AZ
221702011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22171
22172 * math/libm-test.inc: Added more nearbyint tests.
22173 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22174 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22176 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22177
ad8ac1bd
RL
221782011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22179
22180 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22181 FD_CLOEXEC.
22182
1d3e4b61
UD
221832011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22184
22185 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22186 Add wcscpy-ssse3 wcscpy-c.
22187 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22188 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22189 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22190 * sysdeps/x86_64/wcschr.S: New file.
22191 * sysdeps/x86_64/wcsrchr.S: New file.
22192 * string/test-strcmp.c: Remove checking of wcscmp function for
22193 wrong alignments.
22194 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22195 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22196 wcsrchr-sse2 wcsrchr-c.
22197 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22198 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22199 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22200 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22201 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22202 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22203 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22204 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22205 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22206 * wcsmbc/wcschr.c (WCSCHR): New macro.
22207
5b330a2d
UD
222082011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22209
22210 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22211 * wcsmbs/test-wcsrchr.c: New file.
22212 * string/test-strrchr.c: Add wcsrchr support.
22213 (WIDE): New macro.
22214 * wcsmbs/test-wcscpy.c: New file.
22215 * string/test-strcpy.c: Add wcscpy support.
22216 (WIDE): New macro.
26428b7c 22217
f039c043
UD
222182011-12-10 Ulrich Drepper <drepper@gmail.com>
22219
22220 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22221 the inner loop.
22222
850fb039
AS
222232011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22224
22225 [BZ #13472]
22226 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22227
4efbd5cb
UD
222282011-12-04 Ulrich Drepper <drepper@gmail.com>
22229
52ff5dd0 22230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22231 Minor optimizations.
52ff5dd0 22232
4efbd5cb
UD
22233 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22234 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22235 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22236
8a426e12
UD
222372011-12-03 Ulrich Drepper <drepper@gmail.com>
22238
aff2453d
UD
22239 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22240 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22241 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22242 for gcc to avoid warnings.
22243 * inet/Makefile (tests): Add tst-checks.
22244 * inet/tst-checks.c: New file.
22245
22246 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22247 warning.
22248
22249 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22250 __wmemcmp_sse2.
22251
22252 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22253 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22254
8a426e12
UD
22255 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22256
9bea3473
UD
222572011-12-02 Ulrich Drepper <drepper@gmail.com>
22258
3a965496
UD
22259 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22260 problem.
22261
9bea3473
UD
22262 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22263
f101631b
UD
222642011-11-29 Joseph Myers <joseph@codesourcery.com>
22265
22266 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22267 conditional on GCC version.
22268 (__arch_compare_and_exchange_val_8_acq)
22269 (__arch_compare_and_exchange_val_16_acq)
22270 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22271 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22272 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22273
a98275aa
UD
222742011-12-02 Joseph Myers <joseph@codesourcery.com>
22275
22276 * sysdeps/sh/backtrace.c: New file.
22277
d4cc29a2
AS
222782011-12-02 Andreas Schwab <schwab@redhat.com>
22279
22280 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22281 parenthesis.
22282
6257af2d
AS
222832011-12-01 Andreas Schwab <schwab@redhat.com>
22284
22285 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22286 falling back to utime.
22287
b5f44c1a
AS
222882011-11-30 Andreas Schwab <schwab@redhat.com>
22289
22290 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22291 expectations for float.
22292
f3a6cc0a
AS
222932011-11-29 Andreas Schwab <schwab@redhat.com>
22294
22295 * locale/weight.h (findidx): Add parameter len.
22296 * locale/weightwc.h (findidx): Likewise.
22297 * posix/fnmatch_loop.c (FCT): Adjust caller.
22298 * posix/regcomp.c (build_equiv_class): Likewise.
22299 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22300 * posix/regexec.c (check_node_accept_bytes): Likewise.
22301 * string/strcoll_l.c (STRCOLL): Likewise.
22302 * string/strxfrm_l.c (STRXFRM): Likewise.
22303
9d65ea3a
UD
223042011-11-17 Ulrich Drepper <drepper@gmail.com>
22305
22306 * Makefile.in: Remove CVSOPT handling.
22307 * configure.in: Remove use of AC_REVISION.
22308 * iconvdata/Makefile (distribute): No need to filter out CVS.
22309 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22310 handling.
22311
5583a086
AS
223122011-11-16 Andreas Schwab <schwab@redhat.com>
22313
22314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22315 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22316 [USE_AS_STRNCASECMP_L]: Likewise.
22317 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22318 NO_TLS_DIRECT_SEG_REFS.
22319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22320 Fix argument offsets for non-PIC.
22321 [USE_AS_STRNCASECMP_L]: Likewise.
22322 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22323 NO_TLS_DIRECT_SEG_REFS.
22324
d62a8200
UD
223252011-11-15 Ulrich Drepper <drepper@gmail.com>
22326
9d65ea3a 22327 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22328 O_CLOEXEC.
22329 * locale/loadlocale.c (_nl_load_locale): Likewise.
22330
09f93bd3
AS
223312011-11-15 Andreas Schwab <schwab@redhat.com>
22332
446514f9
AS
22333 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22334 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22335 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22336 (SYSCALL_GETTIME): Set errno on error.
22337
09f93bd3
AS
22338 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22339 count references to noai6ai_cached.
22340
312be3f9
UD
223412011-11-15 Ulrich Drepper <drepper@gmail.com>
22342
22343 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22344
22345 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22346 FD_CLOEXEC for /proc/self/maps.
22347
22348 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22349 FD_CLOEXEC for /proc/meminfo.
22350
22351 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22352 gai.conf.
22353
22354 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22355 FD_CLOEXEC for given file.
22356
22357 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22358
22359 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22360 FD_CLOEXEC for /etc/hosts.
22361 (_gethtent): Likewise.
22362
22363 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22364
22365 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22366 cancellation and set FD_CLOEXEC for /etc/netgroup.
22367
22368 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22369 reading /etc/publickey.
22370
22371 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22372 allow cancellation when reading /etc/group.
22373
22374 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22375 cancellation.
22376 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22377
22378 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22379 when using data file.
22380
22381 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22382
22383 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22384 (write_nis_obj): Use "c" and "e" in fopen.
22385
22386 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22387
22388 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22389
22390 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22391
22392 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22393
22394 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22395 locale.alias.
22396
22397 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22398
22399 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22400
22401 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22402
22403 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22404 file parsing and set FD_CLOEXEC.
22405
82af0fa8
UD
224062011-11-14 Ulrich Drepper <drepper@gmail.com>
22407
22408 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22409
a5fb313c
AS
224102011-11-14 Andreas Schwab <schwab@redhat.com>
22411
22412 * malloc/arena.c (arena_get2): Don't call reused_arena when
22413 _int_new_arena failed.
22414
6abf3465
UD
224152011-11-14 Ulrich Drepper <drepper@gmail.com>
22416
22417 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22418 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22419 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22420 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22421 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22423 to compile strcasecmp and strncasecmp.
22424 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22425 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22426
22427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22428
76e3966e
UD
224292011-11-13 Ulrich Drepper <drepper@gmail.com>
22430
22431 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22432 locale-defines.sym to gen-as-const-headers.
22433 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22434 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22436 to compile strcasecmp and strncasecmp.
22437 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22438 strcasecmp_l and strncasecmp_l.
22439 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22440 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22441 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22442 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22443 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22444 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22445 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22446 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22447 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22448 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22449 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22450
ab26144e
UD
224512011-11-12 Ulrich Drepper <drepper@gmail.com>
22452
7edb22ef
UD
22453 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22454 result of SYSDEP_GETTIME_CPU to retval.
22455 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22456 parameter list to macro. Remove trailing semicolon. Adjust users.
22457
9694fc44
UD
22458 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22459 variable.
22460
8ad89ef8
UD
22461 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22462 mantissa words.
22463 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22464
0c822ef9
UD
22465 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22466 from unused variable.
22467
874e0564
UD
22468 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22469 DWARF definitions.
22470 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22471 for assembling.
22472
3a2edc79
UD
22473 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22474 over namespaces.
22475
f3c2577f
UD
22476 * sunrpc/rpc_prot.c (rejected): Fix case value.
22477
294ce126
UD
22478 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22479 unsigned long long int to avoid warnings in shift.
22480
5e2b63c6
UD
22481 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22482 of use of trans.
22483 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22484 variable tmp.
22485
e7f4b08e
UD
22486 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22487 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22488 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22489
ab26144e
UD
22490 * nis/nis_table.c (nis_list): Use variable of correct type for
22491 result of __follow_path call.
22492
8a6d5255
AZ
224932011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22494
22495 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22496 of math functions ceil, trunc, floor, round, and sqrt, when
22497 avaliable on the platform.
22498 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22499 name clash.
22500 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22501 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22502 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22503
aaddc98c
MP
225042011-10-30 Marek Polacek <mpolacek@redhat.com>
22505
22506 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22508
95b7042b
RM
225092011-11-11 Roland McGrath <roland@hack.frob.com>
22510
22511 * include/unistd.h: Fix __readlink return type.
22512 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22513
57769839
UD
225142011-11-11 Ulrich Drepper <drepper@gmail.com>
22515
22516 * stdlib/ucontext.h: Undo last change for makecontext.
22517
edc5984d
AS
225182011-11-11 Andreas Schwab <schwab@redhat.com>
22519
98591e58
AS
22520 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22521
edc5984d
AS
22522 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22523 * setjmp/setjmp.h: Mark functions as non-leaf.
22524 * setjmp/bits/setjmp2.h: Likewise.
22525 * stdlib/ucontext.h: Likewise.
22526
77cdc054
AS
225272011-11-10 Andreas Schwab <schwab@redhat.com>
22528
22529 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22530 (reused_arena): Don't check arena limit.
22531 (arena_get2): Atomically check arena limit.
22532
fe72eebd
UD
225332011-11-08 Ulrich Drepper <drepper@gmail.com>
22534
5f078c32
UD
22535 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22536 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22537
fe72eebd
UD
22538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22539 instructions.
22540
ae1bc2fa
AS
225412011-11-07 Andreas Schwab <schwab@redhat.com>
22542
7583a88d
AS
22543 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22544 handler when locking.
22545
ae1bc2fa
AS
22546 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22547 Fix size of allocated buffer.
22548
10fb0bfa
AS
225492011-11-04 Andreas Schwab <schwab@redhat.com>
22550
998832a4
AS
22551 [BZ #10103]
22552 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22553 declarations for long double functions.
22554 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22555
10fb0bfa
AS
22556 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22557
3d7ba52b
AS
225582011-11-03 Andreas Schwab <schwab@redhat.com>
22559
a9ae54a1
AS
22560 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22561 installed.
22562
3d7ba52b
AS
22563 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22564 is disabled.
22565
bc8db248
ST
225662011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22567
22568 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22569
45b96dd6
AS
225702011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22571
647776f6
AS
22572 * include/alloca.h (stackinfo_alloca_round): Define.
22573 (extend_alloca): Use it.
22574 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22575 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22576 here.
22577
d91a8b93
AS
22578 * scripts/check-local-headers.sh: Ignore libaudit.h.
22579
45b96dd6
AS
22580 * nscd/Makefile (extra-objs): Make recursively expanded.
22581
432d41ce
UD
225822011-11-01 Ulrich Drepper <drepper@gmail.com>
22583
34372fc6
UD
22584 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22585 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22586
fadb59f8
UD
22587 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22588 * posix/tst-rfc3484-2.c: Likewise.
22589 * posix/tst-rfc3484-3.c: Likewise.
22590
78239589
UD
22591 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22592 process_vm_writev.
22593 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22594 process_vm_writev.
22595 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22596 process_vm_writev from libc using GLIBC_2.15 version.
22597
432d41ce
UD
22598 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22599
02f9c6cf
PP
226002011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22601
22602 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22603 stack usage.
22604
3a2c0242
UD
226052011-10-31 Ulrich Drepper <drepper@gmail.com>
22606
f4ec4833
UD
22607 [BZ #13367]
22608 * nss/getent.c (initgroups_keys): Show error message in case no group
22609 names are given.
22610
3a2c0242
UD
22611 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22612 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22613 __bump_nl_timestamp.
22614 * nscd/connections (nscd_init): When host database is served open
22615 netlink socket and request notification about configuration changes.
22616 (main_loop_poll): Track netlink file descriptor and bump timestamp
22617 in case data becomes available.
22618 (main_loop_epoll): Likewise.
22619 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22620 (database_pers_head): Add extra_data fileds.
22621 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22622 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22623 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22624 Adjust caller.
22625 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22626 in6ai data, call __free_in6ai.
22627 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22628 Add -DHAVE_NETLINK.
22629 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22630 interface information. Reuse previous data if netlink timestamp
22631 is not changed.
22632 (__bump_nl_timestamp): New function.
22633 (__free_in6ai): New function.
22634
636064eb
UD
226352011-10-30 Ulrich Drepper <drepper@gmail.com>
22636
22637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22638 close_not_cancel_no_status here.
22639 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22640
9beb2334
UD
226412011-10-29 Ulrich Drepper <drepper@gmail.com>
22642
6ef76f3b
UD
22643 [BZ #13276]
22644 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22645 return value.
22646
0ffc4f3e 22647 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22648 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22649 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22650
cb95113e
UD
226512011-07-03 Andreas Jaeger <aj@suse.de>
22652
22653 [BZ #10709]
22654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22655 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22656 * math/libm-test.inc (sin_test): Add test case.
22657
a1b560ff
UD
226582011-10-29 Ulrich Drepper <drepper@gmail.com>
22659
c9aaface
UD
22660 [BZ #13337]
22661 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22662 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22663
d272e7f1
UD
22664 * elf/chroot_canon.c (chroot_canon): Cleanups.
22665
1bc33071
UD
22666 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22667
1760874d
TJ
22668 [BZ #13335]
22669 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22670 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22671
51d91b18
UD
22672 * string/test-strchr.c: Make usable for strchrnul testing.
22673 * string/test-strchrnul.c: New file.
22674 * string/Makefile (strop-tests): Add strchrnul.
22675
a1b560ff 22676 * po/it.po: Update from translation team.
b611fb81 22677 * po/es.po: Likewise.
a1b560ff 22678
a5b81e1f
UD
226792011-10-28 Ulrich Drepper <drepper@gmail.com>
22680
fd52bc6d
UD
22681 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22682 the three constants needed as parameters. Drop the others.
22683 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22684 __m128i_strloadu_tolower.
52e4b9eb
UD
22685 Create and initialize variable zero and use it in all the places
22686 where _mm_setzero_si128 was used.
fd52bc6d 22687
a5b81e1f
UD
22688 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22689 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22690 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22691 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22692 anymore.
22693 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22694 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22695 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22696 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22697 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22698 __mpranred, __mptan.
22699 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22700 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22701 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22702 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22703 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22704 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22705 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22706 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22707 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22708
b4343346
AS
227092011-10-28 Andreas Schwab <schwab@redhat.com>
22710
0c92d8a8
AS
22711 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22712 redefine if SHARED.
22713 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22714
b4343346
AS
22715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22716 wide char related routines to wcsmbs subdir.
22717
3871f58f
AS
227182011-10-27 Andreas Schwab <schwab@redhat.com>
22719
22720 [BZ #13344]
22721 * misc/sys/cdefs.h (__THROWNL): Define.
22722 * posix/unistd.h: Use __THREADNL instead of __THREAD
22723 for memory synchronization functions.
22724
94d44d9f
RM
227252011-10-26 Roland McGrath <roland@hack.frob.com>
22726
21b64b15 22727 [BZ #13349]
94d44d9f
RM
22728 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22729 doesn't exist.
22730 * manual/stdio.texi (Obstack Streams): Node removed.
22731
f6ce9294
AS
227322011-10-26 Andreas Schwab <schwab@redhat.com>
22733
80479147
AS
22734 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22735 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22736 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22737
f6ce9294
AS
22738 * math/math_private.h (math_force_eval): Allow non-addressable
22739 arguments.
22740 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22741
618280a1
UD
227422011-10-25 Ulrich Drepper <drepper@gmail.com>
22743
e0016b11
UD
22744 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22745 file is not needed.
22746
22747 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22748 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22749 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22750 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22751 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22753 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22754 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22755 Add AVX variants.
22756 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22757 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22758 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22759 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22760 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22761 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22762 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22763 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22764 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22765 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22766 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22767 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22769 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22770 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22771 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22772 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22773 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22774 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22775
22776 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22777 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22778
618280a1
UD
22779 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22780 place. Use VEX encoding when compiling for AVX.
22781
37822576
AS
227822011-10-25 Andreas Schwab <schwab@redhat.com>
22783
1f1e1947
AS
22784 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22785 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22786
37822576
AS
22787 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22788
31ea014d
UD
227892011-10-25 Ulrich Drepper <drepper@gmail.com>
22790
d7826aa1 22791 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22792 useless if() expression.
d7826aa1
UD
22793 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22794 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22795 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22799 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22800 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22801 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22802 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22803 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22804 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22805 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22807 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22808 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22809 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22811 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22812
31ea014d
UD
22813 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22814
16437fec
AS
228152011-10-25 Andreas Schwab <schwab@redhat.com>
22816
22817 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22818 condition.
22819 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22820
31d3cc00
UD
228212011-10-25 Ulrich Drepper <drepper@gmail.com>
22822
22823 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22824 .text section. Avoid duplicate constants.
22825 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22827 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22829 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22831 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22833 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22834 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22835 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22836 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22837 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22838 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22839 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22840 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22841 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22842 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22843 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22845 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22846 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22847 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22848 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22849 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22850 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22851 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22852 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22853 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22854 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22855 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22856 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22857 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22858 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22859 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22860 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22861 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22862 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22863 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22864 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22865 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22866 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22867 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22868 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22869 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22870
58985aa9
UD
228712011-10-24 Ulrich Drepper <drepper@gmail.com>
22872
202c9deb
UD
22873 * sysdeps/x86_64/dla.h: Move to ...
22874 * sysdeps/x86_64/fpu/dla.h: ...here.
22875 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22876 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22877
af968f62
UD
22878 * config.make.in: Add have-mfma4 entry.
22879 * configure.in: Substitute libc_cv_cc_fma4.
22880 * math/Makefile (dbl-only-routines): Add sincostab.
22881 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22882 Use __sincostab not sincos.
22883 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22884 name is a macro.
22885 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22887 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22889 using __copysign.
22890 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22891 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22892 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22893 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22894 and __inv.
22895 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22896 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22897 __copysign.
22898 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22899 define aliases when function name is a macro.
22900 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22901 sysdeps/ieee754/dbl-64/sincos.tbl.
22902 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22903 fma4-enabled routines.
22904 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22905 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22906 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22907 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22908 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22909 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22910 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22911 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22913 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22914 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22915 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22916 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22917 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22918 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22919 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22920 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22921 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22922 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22923 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22924 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22925 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22926 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22927 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22928 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22929 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22931 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22932 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22933 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22934
58985aa9
UD
22935 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22936 rename.
22937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22939 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22945
a201fbcf
AS
229462011-10-24 Andreas Schwab <schwab@redhat.com>
22947
22948 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22949
fc2ee42a
LD
229502011-10-23 Ulrich Drepper <drepper@gmail.com>
22951
bb3129bd
UD
22952 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22953
0275fff8
UD
22954 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22955 prediction.
22956 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22957
2fa2ae85
UD
22958 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22959 Remove unused variable magic_bits.
22960 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22961
fc2ee42a
LD
22962 * string/strnlen.c: Define and use STRNLEN macro.
22963 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22964 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22965 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22966 * wcsmbs/wcslen.c: Define and use WCSLEN.
22967 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22968 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22969 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22970 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22971 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22972 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22973 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22974
ce7dd29f
LD
229752011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22976
22977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22978 strnlen-sse2-no-bsf.
22979 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22980 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22981 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22982 Add strnlen support.
22983 (USE_AS_STRNLEN): New macro.
22984 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22985 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22986 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22987 * sysdeps/x86_64/wcslen.S: New file.
22988
979c70a3
MZ
229892011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22990
22991 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22992 XMM-moves are used for copying on small sizes.
22993
2d09f82f
LD
229942011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22995
22996 * wcsmbs/Makefile (strop-tests): Add wcschr.
22997 * wcsmbs/test-wcschr.c: New file.
22998 * string/test-strchr.c: Update.
22999 Add wcschr support.
23000 (WIDE): New macro.
23001
619fccca
LD
230022011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23003
2d09f82f 23004 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
23005 * wcsmbs/test-wcslen.c: New file.
23006 * string/test-strlen.c: Update.
23007 Add wcslen support.
23008 (WIDE): New macro.
23009
09f699ea
UD
230102011-10-23 Ulrich Drepper <drepper@gmail.com>
23011
23012 * po/it.po: Update from translation team.
23013
95584d3b
LD
230142011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23015
23016 * sysdeps/x86_64/wcscmp.S: Update.
23017 Fix wrong comparison semantics.
23018 wcscmp shall use signed comparison not unsigned.
23019 Don't use substraction to avoid overflow bug.
23020 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23021 * wcsmbc/wcscmp.c: Likewise.
23022 * string/test-strcmp.c: Likewise.
23023 Add new tests to check cases with negative values.
23024
c8b3296b
UD
230252011-10-23 Ulrich Drepper <drepper@gmail.com>
23026
23027 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23028 * sysdeps/x86_64/dla.h: ...here. New file.
23029 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23038
246ad57a
AS
230392011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23040
23041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23042 __ynl_finite aliases.
23043
a1a87169
UD
230442011-10-22 Ulrich Drepper <drepper@gmail.com>
23045
0d355eb7
UD
23046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23047
a1a87169
UD
23048 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23049 define DLA_FMA.
23050 [DLA_FMA] (EMULV): Use DLA_FMA.
23051 [DLA_FMA] (MUL12): Use EMULV.
23052 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23053 that are not needed.
23054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23060 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23061
ee2aafe0
AS
230622011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23063
23064 * math/s_nan.c: Undef __nan.
23065 * math/s_nanf.c: Undef __nanf.
23066 * math/s_nanl.c: Undef __nanl.
23067 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23068 "math_private.h".
23069
bc62c2fb
UD
230702011-10-22 Ulrich Drepper <drepper@gmail.com>
23071
77425c63
UD
23072 * math/s_catan.c: Add branch predictions.
23073 * math/s_catanf.c: Likewise.
23074 * math/s_catanh.c: Likewise.
23075 * math/s_catanhf.c: Likewise.
23076 * math/s_catanhl.c: Likewise.
23077 * math/s_catanl.c: Likewise.
23078 * math/s_cexp.c: Likewise.
23079 * math/s_cexpf.c: Likewise.
23080 * math/s_cexpl.c: Likewise.
23081 * math/s_clog.c: Likewise.
23082 * math/s_clog10.c: Likewise.
23083 * math/s_clog10f.c: Likewise.
23084 * math/s_clog10l.c: Likewise.
23085 * math/s_clogf.c: Likewise.
23086 * math/s_clogl.c: Likewise.
23087 * math/s_csqrt.c: Likewise.
23088 * math/s_csqrtf.c: Likewise.
23089 * math/s_csqrtl.c: Likewise.
23090 * math/s_ctanf.c: Likewise.
23091 * math/s_ctanh.c: Likewise.
23092 * math/s_ctanhf.c: Likewise.
23093 * math/s_ctanhl.c: Likewise.
23094 * math/s_ctanl.c: Likewise.
23095
bc62c2fb
UD
23096 * math/math_private.h: Define __nan, __nanf, __nanl.
23097 * math/s_cacosh.c: Include <math_private.h>.
23098 * math/s_cacoshl.c: Likewise.
23099 * math/s_casinh.c: Likewise.
23100 * math/s_casinhf.c: Likewise.
23101 * math/s_casinhl.c: Likewise.
23102 * math/s_ccos.c: Rely entire on ccosh.
23103 * math/s_ccosf.c: Rely entire on ccoshf.
23104 * math/s_ccosl.c: Rely entirely on ccoshl.
23105 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23106 Remove tests for FE_INVALID.
23107 * math/s_ccoshf.c: Likewise.
23108 * math/s_ccoshl.c: Likewise.
23109 * math/s_csin.c: Likewise.
23110 * math/s_csinf.c: Likewise.
23111 * math/s_csinh.c Likewise.
23112 * math/s_csinhf.c: Likewise.
23113 * math/s_csinhl.c: Likewise.
23114 * math/s_csinl.c: Likewise.
23115 * math/s_ctan.c: Likewise.
23116 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23117 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23118 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23119
8ec250a4
UD
231202011-10-21 Ulrich Drepper <drepper@gmail.com>
23121
c196fed8
UD
23122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23123 compilation problems.
23124
8ec250a4
UD
23125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23126 __builtin_expect.
23127
8d4f46c6
UD
231282011-10-20 Ulrich Drepper <drepper@gmail.com>
23129
ed72b654
UD
23130 * sysdeps/i386/configure.in: Test for -mfma4 option.
23131 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23132 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23133 COMMON_CPUID_INDEX_80000001.
23134 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23135 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23136 use it if FMA3 is not supported.
23137 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23138
8d4f46c6
UD
23139 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23140 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23141
d45c60c2
AS
231422011-10-20 Andreas Schwab <schwab@redhat.com>
23143
23144 [BZ #12892]
23145 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23146 it would create a cycle with a link time dependency.
23147
d9a4d2ab
UD
231482011-10-19 Ulrich Drepper <drepper@gmail.com>
23149
855d1560
UD
23150 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23151 instruction.
23152 * string/Makefile (strop-tests): Add rawmemchr.
23153 * string/test-rawmemchr.c: New file.
23154
d9a4d2ab
UD
23155 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23157 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23158 when compiling str{,n}casecmp and when AVX is available. Hook up
23159 new optimized code in initializers.
23160
8f3b1ffe
AS
231612011-10-19 Andreas Schwab <schwab@redhat.com>
23162
23163 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23164 __feraiseexcept instead of feraiseexcept.
23165
d38f1dba
UD
231662011-10-18 Ulrich Drepper <drepper@gmail.com>
23167
d9a8d0ab
UD
23168 * math/math_private.h: Define defaults for libc_fetestexcept and
23169 libc_feupdateenv.
23170 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23171 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23172 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23173 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23174 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23175 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23176 libc_fetestexcept and libc_feupdateenv.
23177
4855e3dd
UD
23178 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23179 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23180 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23181 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23182 libc_feholdexcept_setround.
23183
581d30e3
UD
23184 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23185 Add s_nearbyint-c and s_nearbyintf-c.
23186 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23187 nearbyintf inlines.
23188 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23189 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23190 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23191 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23192
d38f1dba
UD
23193 * math/math_private.h: Define defaults for libc_fegetround,
23194 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23195 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23196 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23197 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23198 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23199 standard functions.
23200 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23201 Remove comments and hacks for old compiler versions.
23202 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23203 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23204 libc_feholdexceptl.
23205
caa6c9d8
AS
232062011-10-18 Andreas Schwab <schwab@redhat.com>
23207
23208 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23209 (__feraiseexcept_renamed): Add __NTH.
23210 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23211 namespace violations.
23212
97c066e6
UD
232132011-10-17 Ulrich Drepper <drepper@gmail.com>
23214
99ce7b04
UD
23215 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23216
1004d182
UD
23217 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23218
228a984d
UD
23219 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23220 recently added interfaces.
23221 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23222
c8553a6a
UD
23223 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23224 about macro parameter expansion.
23225
ed22dcf6
UD
23226 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23227 __NO_MATH_INLINES is defined. Cleanups.
23228
23229 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23230 and __floorf is target has SSE4.1.
23231 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23232 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23233 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23234 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23235
b171c137
UD
23236 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23237 name.
23238 (floorf): Likewise.
23239
97c066e6
UD
23240 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23241
629f62ef
AS
232422011-10-17 Andreas Schwab <schwab@redhat.com>
23243
49a43d80
AS
23244 * misc/sys/cdefs.h: Fix last change.
23245
629f62ef
AS
23246 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23247 database lookup.
23248
e453f6cd
UD
232492011-10-16 Ulrich Drepper <drepper@gmail.com>
23250
aa78043a
UD
23251 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23252
ad0f5cad
UD
23253 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23255 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23256 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23257 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23258 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23259 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23260 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23261 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23262 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23263 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23264 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23265 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23266 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23267 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23268 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23269 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23270 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23271 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23272 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23273 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23274 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23275
23276 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23277 ceil, ceilf, floor, floorf.
23278
23279 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23280 Perform IRELATIVE relocations last.
23281
e453f6cd
UD
23282 * elf/do-rel.h: Add another parameter nrelative, replacing the
23283 local variable with the same name. Change name of the function
23284 to end in Rel or Rela (uppercase).
23285 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23286 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23287 elf_dynamic_do_##reloc function.
23288
fd5bdc09
UD
232892011-10-15 Ulrich Drepper <drepper@gmail.com>
23290
79b195b5
UD
23291 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23292 is sufficient, at least on modern CPUs.
23293
d4a28569
UD
23294 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23295
b61099b5
UD
23296 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23297 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23298
bcf01e6d
UD
23299 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23300 __expl_finite.
23301 * math/bits/math-finite.h: Add entries for exp.
23302 * math/e_expl.c: Add __*_finite alias.
23303 * sysdeps/i386/fpu/e_exp.S: Likewise.
23304 * sysdeps/i386/fpu/e_expf.S: Likewise.
23305 * sysdeps/i386/fpu/e_expl.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23307 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23309 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23311 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23312 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23313
ba1a0d59
UD
23314 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23315 is sufficient, at least on modern CPUs.
23316
fd5bdc09
UD
23317 * ctype/ctype-info.c (__ctype_init): Define.
23318 * include/ctype.h (__ctype_init): Declare.
23319 (__ctype_b_loc): The variable is always initialized.
23320 (__ctype_toupper_loc): Likewise.
23321 (__ctype_tolower_loc): Likewise.
23322 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23323 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23324
7872cfb0
AS
233252011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23326
b468825a
AS
23327 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23328
7872cfb0
AS
23329 * configure.in: Also look in $cxxmachine/include for C++ system
23330 headers.
23331
be13f7bf
LD
233322011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23333
23334 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23335 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23336 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23337 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23338 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23339 (USE_AS_WMEMCMP): New macro.
23340 Fixing indents.
23341 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23342 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23343 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23344 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23346 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23347 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23348 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23349 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23350 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23351 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23352 (USE_AS_WMEMCMP): New macro.
23353 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23354 * sysdeps/string/test-memcmp.c: Update.
23355 Fix simple_wmemcmp.
23356 Add new tests.
23357 * wcsmbs/wmemcmp.c: Update.
23358 (WMEMCMP): New macro.
23359 Fix overflow bug.
23360
556a2007
AJ
233612011-10-12 Andreas Jaeger <aj@suse.de>
23362
23363 [BZ #13268]
23364 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23365
538faaa7
UD
233662011-10-15 Ulrich Drepper <drepper@gmail.com>
23367
ab6737ff
UD
23368 * libio/iofwide.c (do_length): Avoid warning.
23369
538faaa7
UD
23370 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23371
396a21b1
UD
233722011-10-14 Ulrich Drepper <drepper@gmail.com>
23373
cdf2901f
UD
23374 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23375
38ad40ce
UD
23376 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23377 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23378 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23379 * sysdeps/i386/i686/fpu/e_log.S: New file.
23380 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23381 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23382
396a21b1
UD
23383 * ctype/ctype.h: Add support for inlined isXXX functions when
23384 compiling C++ code.
23385
6b1f68c9
AS
233862011-10-14 Andreas Schwab <schwab@redhat.com>
23387
349290c0
AS
23388 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23389
6b1f68c9
AS
23390 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23391
f2282d42
RM
233922011-10-13 Roland McGrath <roland@hack.frob.com>
23393
23394 [BZ #13291]
23395 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23396
5298ffa8
AS
233972011-10-13 Andreas Schwab <schwab@redhat.com>
23398
714fad23
AS
23399 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23400 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23401 feraiseexcept.
23402
81dcc7fb
AS
23403 * sysdeps/x86_64/memrchr.S: Check for zero size.
23404
5298ffa8
AS
23405 * string/stratcliff.c: Add memrchr tests.
23406
951fbcec
LD
234072011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23408
23409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23410 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23411 rawmemchr-sse2 rawmemchr-sse2-bsf.
23412 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23413 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23414 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23415 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23416 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23417 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23418 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23419 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23420 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23421 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23422 * string/memrchr.c (MEMRCHR): New macro.
23423
0ac5ae23
UD
234242011-10-12 Ulrich Drepper <drepper@gmail.com>
23425
23426 Add integration with gcc's -ffinite-math-only and optimize wrapper
23427 functions in libm.
23428 * Versions.def: Define GLIBC_2.15 version for libm.
23429 * math/Makefile (headers): Add bits/math-finite.h.
23430 * math/bits/math-finite.h: New file.
23431 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23432 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23433 * math/e_acoshl.c: Add __*_finite alias.
23434 * math/e_acosl.c: Likewise.
23435 * math/e_asinl.c: Likewise.
23436 * math/e_atan2l.c: Likewise.
23437 * math/e_atanhl.c: Likewise.
23438 * math/e_coshl.c: Likewise.
23439 * math/e_exp10.c: Likewise.
23440 * math/e_exp10f.c: Likewise.
23441 * math/e_exp10l.c: Likewise.
23442 * math/e_exp2l.c: Likewise.
23443 * math/e_fmodl.c: Likewise.
23444 * math/e_gammal_r.c: Likewise.
23445 * math/e_hypotl.c: Likewise.
23446 * math/e_j0l.c: Likewise.
23447 * math/e_j1l.c: Likewise.
23448 * math/e_jnl.c: Likewise.
23449 * math/e_lgammal_r.c: Likewise.
23450 * math/e_log10l.c: Likewise.
23451 * math/e_log2l.c: Likewise.
23452 * math/e_logl.c: Likewise.
23453 * math/e_powl.c: Likewise.
23454 * math/e_sinhl.c: Likewise.
23455 * math/e_sqrtl.c: Likewise.
23456 * math/e_scalb.c: Completely rewritten and optimized.
23457 * math/e_scalbf.c: Likewise.
23458 * math/e_scalbl.c: Likewise.
23459 * math/w_acos.c: Likewise.
23460 * math/w_acosf.c: Likewise.
23461 * math/w_acosl.c: Likewise.
23462 * math/w_acosh.c: Likewise.
23463 * math/w_acoshf.c: Likewise.
23464 * math/w_acoshl.c: Likewise.
23465 * math/w_asin.c: Likewise.
23466 * math/w_asinf.c: Likewise.
23467 * math/w_asinl.c: Likewise.
23468 * math/w_atan2.c: Likewise.
23469 * math/w_atan2f.c: Likewise.
23470 * math/w_atan2l.c: Likewise.
23471 * math/w_atanh.c: Likewise.
23472 * math/w_atanhf.c: Likewise.
23473 * math/w_atanhl.c: Likewise.
23474 * math/w_exp10.c: Likewise.
23475 * math/w_exp10f.c: Likewise.
23476 * math/w_exp10l.c: Likewise.
23477 * math/w_fmod.c: Likewise.
23478 * math/w_fmodf.c: Likewise.
23479 * math/w_fmodl.c: Likewise.
23480 * math/w_j0.c: Likewise.
23481 * math/w_j0f.c: Likewise.
23482 * math/w_j0l.c: Likewise.
23483 * math/w_j1.c: Likewise.
23484 * math/w_j1f.c: Likewise.
23485 * math/w_j1l.c: Likewise.
23486 * math/w_jn.c: Likewise.
23487 * math/w_jnf.c: Likewise.
23488 * math/w_log.c: Likewise.
23489 * math/w_logf.c: Likewise.
23490 * math/w_logl.c: Likewise.
23491 * math/w_log10.c: Likewise.
23492 * math/w_log10f.c: Likewise.
23493 * math/w_log10l.c: Likewise.
23494 * math/w_log2.c: Likewise.
23495 * math/w_log2f.c: Likewise.
23496 * math/w_log2l.c: Likewise.
23497 * math/w_pow.c: Likewise.
23498 * math/w_powf.c: Likewise.
23499 * math/w_powl.c: Likewise.
23500 * math/w_remainder.c: Likewise.
23501 * math/w_remainderf.c: Likewise.
23502 * math/w_remainderl.c: Likewise.
23503 * math/w_scalb.c: Likewise.
23504 * math/w_scalbf.c: Likewise.
23505 * math/w_scalbl.c: Likewise.
23506 * math/w_sqrt.c: Likewise.
23507 * math/w_sqrtf.c: Likewise.
23508 * math/w_sqrtl.c: Likewise.
23509 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23510 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23511 used.
23512 * math/math_private.h: Declare __kernel_standard_f.
23513 * math/w_cosh.c: Remove cruft and optimize a bit.
23514 * math/w_coshf.c: Likewise.
23515 * math/w_coshl.c: Likewise.
23516 * math/w_exp2.c: Likewise.
23517 * math/w_exp2f.c: Likewise.
23518 * math/w_exp2l.c: Likewise.
23519 * math/w_hypot.c: Likewise.
23520 * math/w_hypotf.c: Likewise.
23521 * math/w_hypotl.c: Likewise.
23522 * math/w_lgamma.c: Likewise.
23523 * math/w_lgamma_r.c: Likewise.
23524 * math/w_lgammaf.c: Likewise.
23525 * math/w_lgammaf_r.c: Likewise.
23526 * math/w_lgammal.c: Likewise.
23527 * math/w_lgammal_r.c: Likewise.
23528 * math/w_sinh.c: Likewise.
23529 * math/w_sinhf.c: Likewise.
23530 * math/w_sinhl.c: Likewise.
23531 * math/w_tgamma.c: Likewise.
23532 * math/w_tgammaf.c: Likewise.
23533 * math/w_tgammal.c: Likewise.
23534 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23535 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23536 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23537 Minor optimizations. Pretty printing. Remove cruft.
23538 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23539 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23540 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23541 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23542 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23543 * sysdeps/i386/fpu/e_asin.S: Likewise.
23544 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23545 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23546 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23547 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23548 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23549 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23550 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23551 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23552 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23553 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23554 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23555 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23556 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23557 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23558 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23559 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23560 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23561 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23562 * sysdeps/i386/fpu/e_log.S: Likewise.
23563 * sysdeps/i386/fpu/e_log10.S: Likewise.
23564 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23566 * sysdeps/i386/fpu/e_log2.S: Likewise.
23567 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23568 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23569 * sysdeps/i386/fpu/e_logf.S: Likewise.
23570 * sysdeps/i386/fpu/e_logl.S: Likewise.
23571 * sysdeps/i386/fpu/e_pow.S: Likewise.
23572 * sysdeps/i386/fpu/e_powf.S: Likewise.
23573 * sysdeps/i386/fpu/e_powl.S: Likewise.
23574 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23575 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23576 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23577 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23578 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23579 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23580 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23581 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23582 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23583 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23584 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23586 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23587 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23588 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23589 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23590 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23591 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23593 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23594 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23596 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23597 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23599 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23600 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23601 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23603 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23604 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23605 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23606 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23607 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23608 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23609 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23610 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23611 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23612 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23613 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23614 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23615 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23616 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23617 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23618 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23619 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23620 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23621 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23622 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23623 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23636 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23638 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23639 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23640 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23648 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23650 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23652 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23653 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23654 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23659 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23663 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23664 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23666 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23668 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23669 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23670 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23671 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23672 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23673 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23674 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23675 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23676 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23677 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23678 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23679 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23680 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23681 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23682 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23683 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23684 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23685 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23686 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23688 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23689 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23690 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23691 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23692 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23693 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23694 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23695 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23696 (__isnanf): Likewise.
23697 (__isinf_ns): Likewise.
23698 (__isinf_nsf): Likewise.
23699 (__finite): Likewise.
23700 (__finitef): Likewise.
23701 (__ieee754_sqrt): Define as macro.
23702 (__ieee754_sqrtf): Define as macro.
23703 (__ieee754_sqrtl): Define as macro.
23704 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23705 inlined copy.
23706 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23707 __FINITE_MATH_ONLY__ consistent.
23708 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23709
12cc2fcd
AS
237102011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23711
a843a204
AS
23712 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23713 of rawmemchr.
23714
12cc2fcd
AS
23715 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23716
c853acd5
UD
237172011-10-09 Ulrich Drepper <drepper@gmail.com>
23718
23719 * po/ja.po: Update from translation team.
23720
c658d255
RM
237212011-10-08 Roland McGrath <roland@hack.frob.com>
23722
110946e4
RM
23723 * locale/programs/locarchive.c (prepare_address_space): New function.
23724 (create_archive, enlarge_archive, open_archive): Use it.
23725
50604220
RM
23726 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23727 inside [SHARED], where it is used.
23728
c658d255
RM
23729 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23730
23731 * nss/getent.c (netgroup_keys): Remove unused variable.
23732 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23733
6a621eb7
UD
237342011-10-08 Ulrich Drepper <drepper@gmail.com>
23735
7edb55ce
UD
23736 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23737 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23739 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23740 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23741 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23742 * math/Makefile (libm-calls): Add s_isinf_ns.
23743 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23744 * math/multc3.c: Likewise.
23745 * math/s_casin.c: Likewise.
23746 * math/s_casinf.c: Likewise.
23747 * math/s_casinl.c: Likewise.
23748 * math/s_ccos.c: Likewise.
23749 * math/s_ccosf.c: Likewise.
23750 * math/s_ccosl.c: Likewise.
23751 * math/s_ctan.c: Likewise.
23752 * math/s_ctanf.c: Likewise.
23753 * math/s_ctanh.c: Likewise.
23754 * math/s_ctanhf.c: Likewise.
23755 * math/s_ctanhl.c: Likewise.
23756 * math/s_ctanl.c: Likewise.
23757 * math/w_fmod.c: Likewise.
23758 * math/w_fmodf.c: Likewise.
23759 * math/w_fmodl.c: Likewise.
23760 * math/w_remainder.c: Likewise.
23761 * math/w_remainderf.c: Likewise.
23762 * math/w_remainderl.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23764 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23765 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23767 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23768 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23769 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23770 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23771
187da0ae
UD
23772 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23773 of the number.
23774 * stdio-common/printf_fphex.c: Likewise.
23775 * stdio-common/printf_size.c: Likewise.
23776
9277c064
UD
23777 * math/e_exp10.c: Include math_private.h using <...> not "...".
23778 * math/e_exp10f.c: Likewise.
23779 * math/e_exp10l.c: Likewise.
23780 * math/e_exp2l.c: Likewise.
23781 * math/e_j0l.c: Likewise.
23782 * math/e_j1l.c: Likewise.
23783 * math/e_jnl.c: Likewise.
23784 * math/e_lgammal_r.c: Likewise.
23785 * math/e_rem_pio2l.c: Likewise.
23786 * math/e_scalb.c: Likewise.
23787 * math/e_scalbf.c: Likewise.
23788 * math/e_scalbl.c: Likewise.
23789 * math/k_cosl.c: Likewise.
23790 * math/k_sinl.c: Likewise.
23791 * math/k_tanl.c: Likewise.
23792 * math/s_cacoshf.c: Likewise.
23793 * math/s_catan.c: Likewise.
23794 * math/s_catanf.c: Likewise.
23795 * math/s_catanh.c: Likewise.
23796 * math/s_catanhf.c: Likewise.
23797 * math/s_catanhl.c: Likewise.
23798 * math/s_catanl.c: Likewise.
23799 * math/s_ccosh.c: Likewise.
23800 * math/s_ccoshf.c: Likewise.
23801 * math/s_ccoshl.c: Likewise.
23802 * math/s_cexp.c: Likewise.
23803 * math/s_cexpf.c: Likewise.
23804 * math/s_cexpl.c: Likewise.
23805 * math/s_clog.c: Likewise.
23806 * math/s_clog10.c: Likewise.
23807 * math/s_clog10f.c: Likewise.
23808 * math/s_clog10l.c: Likewise.
23809 * math/s_clogf.c: Likewise.
23810 * math/s_clogl.c: Likewise.
23811 * math/s_csin.c: Likewise.
23812 * math/s_csinf.c: Likewise.
23813 * math/s_csinh.c: Likewise.
23814 * math/s_csinhf.c: Likewise.
23815 * math/s_csinhl.c: Likewise.
23816 * math/s_csinl.c: Likewise.
23817 * math/s_csqrt.c: Likewise.
23818 * math/s_csqrtf.c: Likewise.
23819 * math/s_csqrtl.c: Likewise.
23820 * math/s_ctan.c: Likewise.
23821 * math/s_ctanf.c: Likewise.
23822 * math/s_ctanh.c: Likewise.
23823 * math/s_ctanhf.c: Likewise.
23824 * math/s_ctanhl.c: Likewise.
23825 * math/s_ctanl.c: Likewise.
23826 * math/s_ldexp.c: Likewise.
23827 * math/s_ldexpf.c: Likewise.
23828 * math/s_ldexpl.c: Likewise.
23829 * math/s_significand.c: Likewise.
23830 * math/s_significandf.c: Likewise.
23831 * math/s_significandl.c: Likewise.
23832 * math/w_acos.c: Likewise.
23833 * math/w_acosf.c: Likewise.
23834 * math/w_acosh.c: Likewise.
23835 * math/w_acoshf.c: Likewise.
23836 * math/w_acoshl.c: Likewise.
23837 * math/w_acosl.c: Likewise.
23838 * math/w_asin.c: Likewise.
23839 * math/w_asinf.c: Likewise.
23840 * math/w_asinl.c: Likewise.
23841 * math/w_atan2.c: Likewise.
23842 * math/w_atan2f.c: Likewise.
23843 * math/w_atan2l.c: Likewise.
23844 * math/w_atanh.c: Likewise.
23845 * math/w_atanhf.c: Likewise.
23846 * math/w_atanhl.c: Likewise.
23847 * math/w_cosh.c: Likewise.
23848 * math/w_coshf.c: Likewise.
23849 * math/w_coshl.c: Likewise.
23850 * math/w_dremf.c: Likewise.
23851 * math/w_exp10.c: Likewise.
23852 * math/w_exp10f.c: Likewise.
23853 * math/w_exp10l.c: Likewise.
23854 * math/w_exp2.c: Likewise.
23855 * math/w_exp2f.c: Likewise.
23856 * math/w_fmod.c: Likewise.
23857 * math/w_fmodf.c: Likewise.
23858 * math/w_fmodl.c: Likewise.
23859 * math/w_hypot.c: Likewise.
23860 * math/w_hypotf.c: Likewise.
23861 * math/w_hypotl.c: Likewise.
23862 * math/w_j0.c: Likewise.
23863 * math/w_j0f.c: Likewise.
23864 * math/w_j0l.c: Likewise.
23865 * math/w_j1.c: Likewise.
23866 * math/w_j1f.c: Likewise.
23867 * math/w_j1l.c: Likewise.
23868 * math/w_jn.c: Likewise.
23869 * math/w_jnf.c: Likewise.
23870 * math/w_jnl.c: Likewise.
23871 * math/w_lgamma.c: Likewise.
23872 * math/w_lgamma_r.c: Likewise.
23873 * math/w_lgammaf.c: Likewise.
23874 * math/w_lgammaf_r.c: Likewise.
23875 * math/w_lgammal.c: Likewise.
23876 * math/w_lgammal_r.c: Likewise.
23877 * math/w_log.c: Likewise.
23878 * math/w_log10.c: Likewise.
23879 * math/w_log10f.c: Likewise.
23880 * math/w_log10l.c: Likewise.
23881 * math/w_log2.c: Likewise.
23882 * math/w_log2f.c: Likewise.
23883 * math/w_log2l.c: Likewise.
23884 * math/w_logf.c: Likewise.
23885 * math/w_logl.c: Likewise.
23886 * math/w_pow.c: Likewise.
23887 * math/w_powf.c: Likewise.
23888 * math/w_powl.c: Likewise.
23889 * math/w_remainder.c: Likewise.
23890 * math/w_remainderf.c: Likewise.
23891 * math/w_remainderl.c: Likewise.
23892 * math/w_scalb.c: Likewise.
23893 * math/w_scalbf.c: Likewise.
23894 * math/w_scalbl.c: Likewise.
23895 * math/w_sinh.c: Likewise.
23896 * math/w_sinhf.c: Likewise.
23897 * math/w_sinhl.c: Likewise.
23898 * math/w_sqrt.c: Likewise.
23899 * math/w_sqrtf.c: Likewise.
23900 * math/w_sqrtl.c: Likewise.
23901 * math/w_tgamma.c: Likewise.
23902 * math/w_tgammaf.c: Likewise.
23903 * math/w_tgammal.c: Likewise.
23904
6a621eb7
UD
23905 * po/ja.po: Update from translation team.
23906
bf582445
AJ
239072011-09-29 Andreas Jaeger <aj@suse.de>
23908
f9efbf3a
AJ
23909 [BZ #13179]
23910 * sunrpc/netname.c (netname2host): Fix logic.
23911
bf582445
AJ
23912 [BZ #6779]
23913 [BZ #6783]
23914 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23915 correctly.
23916 * math/w_remainder.c (__remainder): Likewise.
23917 * math/w_remainderf.c (__remainderf): Likewise.
23918 * math/libm-test.inc (remainder_test): Add test cases.
23919
48693bea
AK
239202011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23921
23922 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23923 sdiv_qrnnd.
23924
42622229
LD
239252011-10-07 Ulrich Drepper <drepper@gmail.com>
23926
23927 * string/test-memcmp.c: Avoid unncessary #defines.
23928 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23929
093ecf92
LD
239302011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23931
23932 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23933 Use new sse2 version for core i3 - i7 as it's faster
23934 than sse42 version.
23935 (bit_Prefer_PMINUB_for_stringop): New.
23936 * sysdeps/x86_64/rawmemchr.S: Update.
23937 Replace with faster SSE2 version.
23938 * sysdeps/x86_64/memrchr.S: New file.
23939 * sysdeps/x86_64/memchr.S: Update.
23940 Replace with faster SSE2 version.
23941
fde56e5c
MP
239422011-09-12 Marek Polacek <mpolacek@redhat.com>
23943
23944 * elf/dl-load.c (lose): Add cast to avoid warning.
23945
21fd49a9
UD
239462011-10-07 Ulrich Drepper <drepper@gmail.com>
23947
5a06e643
UD
23948 * po/ca.po: Update from translation team.
23949
684ae515
UD
23950 * inet/getnetgrent_r.c: Hook up nscd.
23951 * nscd/Makefile (routines): Add nscd_netgroup.
23952 (nscd-modules): Add netgroupcache.
23953 (CFLAGS-netgroupcache.c): Define.
23954 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23955 (cache_search): Add const to second parameter.
23956 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23957 INNETGR.
23958 (dbs): Add netgrdb entry.
23959 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23960 (verify_persistent_db): Handle netgrdb.
23961 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23962 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23963 GETFDNETGR.
23964 (netgroup_response_header): Define.
23965 (innetgroup_response_header): Define.
23966 (datahead): Add netgroup_response_header and innetgroup_response_header
23967 elements.
23968 * nscd/nscd.conf: Add entries for netgroup cache.
23969 * nscd/nscd.h (dbtype): Add netgrdb.
23970 (_PATH_NSCD_NETGROUP_DB): Define.
23971 (netgroup_iov_disabled): Declare.
23972 (xmalloc, xcalloc, xrealloc): Move declarations here.
23973 (cache_search): Adjust prototype.
23974 Add netgroup-related prototypes.
23975 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23976 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23977 (__nscd_innetgr): Declare.
23978 * nscd/selinux.c (perms): Use access_vector_t as element type and
23979 add netgroup-related initializers.
23980 * nscd/netgroupcache.c: New file.
23981 * nscd/nscd_netgroup.c: New file.
23982 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23983 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23984 For four parameters use innetgr.
23985 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23986 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23987 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23988 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23989
21fd49a9
UD
23990 * nscd/connections.c (register_traced_file): Don't register file
23991 for disabled databases.
23992
054c0457
UD
239932011-10-06 Ulrich Drepper <drepper@gmail.com>
23994
32b63198
UD
23995 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23996
054c0457
UD
23997 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23998 from tree and freeing node.
23999
64031225
JO
240002011-09-25 Jiri Olsa <jolsa@redhat.com>
24001
24002 * nss/nsswitch.c (__nss_database_lookup): Handle
24003 nss_parse_service_list out of memory case.
24004
0490345c
JO
240052011-09-15 Jiri Olsa <jolsa@redhat.com>
24006
24007 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24008 out of memory case.
24009
3a62d00d
AS
240102011-10-04 Andreas Schwab <schwab@redhat.com>
24011
24012 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24013 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24014 pass it down.
24015 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24016 elf_machine_rela, elf_machine_lazy_rel.
24017 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24018 (ELF_DYNAMIC_DO_REL): Likewise.
24019 (ELF_DYNAMIC_DO_RELA): Likewise.
24020 (ELF_DYNAMIC_RELOCATE): Likewise.
24021 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24022 to ELF_DYNAMIC_DO_REL.
24023 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24024 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24025 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24026 elf_machine_rela.
24027 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24028 skip_ifunc, don't call ifunc function if non-zero.
24029 (elf_machine_rela): Likewise.
24030 (elf_machine_lazy_rel): Likewise.
24031 (elf_machine_lazy_rela): Likewise.
24032 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24033 (elf_machine_lazy_rel): Likewise.
24034 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24035 Likewise.
24036 (elf_machine_lazy_rel): Likewise.
24037 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24038 Likewise.
24039 (elf_machine_lazy_rel): Likewise.
24040 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24041 (elf_machine_lazy_rel): Likewise.
24042 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24043 (elf_machine_lazy_rel): Likewise.
24044 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24045 (elf_machine_lazy_rel): Likewise.
24046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24047 (elf_machine_lazy_rel): Likewise.
24048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24049 (elf_machine_lazy_rel): Likewise.
24050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24051 (elf_machine_lazy_rel): Likewise.
24052
68577918
UD
240532011-09-28 Ulrich Drepper <drepper@gmail.com>
24054
24055 * nss/nss_files/files-init.c (_nss_files_init): Use static
24056 initialization for all the *_traced_file variables.
24057
68822d74
AS
240582011-09-28 Andreas Schwab <schwab@redhat.com>
24059
24060 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24061
2056100b
RM
240622011-09-27 Roland McGrath <roland@hack.frob.com>
24063
24064 [BZ #13226]
24065 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24066
32c76b63
AS
240672011-09-27 Andreas Schwab <schwab@redhat.com>
24068
24069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24070 Reread the line before reparsing it.
24071
bf972c9d
AS
240722011-09-26 Andreas Schwab <schwab@redhat.com>
24073
24074 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24075
e057a1b5
JM
240762011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24077 Maxim Kuvyrkov <maxim@codesourcery.com>
24078 Joseph Myers <joseph@codesourcery.com>
24079
24080 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24081 if needed for __stack_chk_guard.
24082
bc7e1c36
RM
240832011-09-19 Roland McGrath <roland@hack.frob.com>
24084
ecb1482f
RM
24085 * sysdeps/posix/spawni.c (script_execute): Always define it.
24086 It will be optimized away if unused.
24087 (maybe_script_execute): New function.
24088 (__spawni): Call it.
24089
bc7e1c36
RM
24090 * Makerules: Don't include tls.make.
24091 (config-tls): Always set to thread.
24092 * tls.make.c: File removed.
24093
1c3b002b
MF
240942011-09-19 Mike Frysinger <vapier@gentoo.org>
24095
24096 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24097 * config.make.in (CPPFLAGS-config): New substituted variable.
24098
2840865d
UD
240992011-09-15 Ulrich Drepper <drepper@gmail.com>
24100
88738eb6
UD
24101 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24102
cbf645a6 24103 [BZ #13192]
2840865d
UD
24104 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24105 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24106
b402e91a
RM
241072011-09-15 Roland McGrath <roland@hack.frob.com>
24108
24109 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24110 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24111 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24112 (CALL_FAIL): Likewise.
24113 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24114 (CALL_FAIL): Macro removed.
24115 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24116
4c1a1f71
UD
241172011-09-15 Ulrich Drepper <drepper@gmail.com>
24118
24119 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24120 for __FINITE_MATH_ONLY__ == 1.
24121
edc121be
AS
241222011-09-15 Andreas Schwab <schwab@redhat.com>
24123
24124 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24125 __ieee754_sqrt instead of sqrt.
24126 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24127 __ieee754_sqrtf instead of sqrtf.
24128 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24129 __floorf instead of floorf.
24130 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24131 __floorf, __truncf instead of floorf, truncf.
24132
cd205654
UD
241332011-09-14 Ulrich Drepper <drepper@gmail.com>
24134
ee4d0315
UD
24135 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24136
cd205654
UD
24137 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24138 __extern_always_inline.
24139 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24140 32-bit.
24141
48b67d71
AS
241422011-09-14 Andreas Schwab <schwab@redhat.com>
24143
24144 * elf/rtld.c (dl_main): Also relocate in dependency order when
24145 doing symbol dependency testing.
24146
1ae12c75
AS
241472011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24148
24149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24150 Always define `refsym'.
24151
995a80df
AS
241522011-09-13 Andreas Schwab <schwab@redhat.com>
24153
e529793b
AS
24154 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24155 (__FD_ELT): Renamed from __FDELT.
24156 * misc/bits/select2.h (__FD_ELT): Likewise.
24157 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24158 __FD_MASK instead of __FDELT, __FDMASK.
24159 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24160 Likewise.
24161 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24162 Likewise.
24163
52d4fef8
AS
24164 * elf/Makefile (gen-ldd): Fix pattern.
24165
995a80df
AS
24166 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24167 (init_tls): Likewise.
24168
8682f8b0
UD
241692011-09-12 Ulrich Drepper <drepper@gmail.com>
24170
24171 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24172
de82006d
AS
241732011-09-12 Andreas Schwab <schwab@redhat.com>
24174
a7c8e6a1
AS
24175 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24176 `struct cmsghdr *' instead of `void *'.
24177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24178 Likewise.
24179
0f31fe77
AS
241802011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24181
24182 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24183 if non-absolute.
24184 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24185 ldd_rewrite_script.
0f31fe77 24186
32b4c839
UD
241872011-09-11 Ulrich Drepper <drepper@gmail.com>
24188
83cd1420
UD
24189 * configure.in: Remove --with-tls option.
24190 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24191 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24192 out in case it is missing.
24193 * sysdeps/ia64/elf/configure.in: Likewise.
24194 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24195 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24196 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24197 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24198 * sysdeps/sh/elf/configure.in: Likewise.
24199 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24200 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24201 * sysdeps/x86_64/elf/configure.in: Likewise.
24202 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24203 * sysdeps/mach/hurd/tls.h: Likewise.
24204
633f745d
UD
24205 [BZ #13067]
24206 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24207
f318beb8
UD
24208 [BZ #13090]
24209 * configure.in: Fix use of AC_INIT.
24210
32b4c839
UD
24211 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24212
3ce1f295
UD
242132011-09-10 Ulrich Drepper <drepper@gmail.com>
24214
bb016596
UD
24215 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24216 __set_errno.
8e58439c
UD
24217 * malloc/hooks.c: Likewise.
24218
aebae053 24219 [BZ #11929]
02d46fc4
UD
24220 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24221 variables statically.
24222 (narenas): Initialize.
24223 (list_lock): Initialize.
bb016596
UD
24224 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24225 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24226 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24227 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24228 Add initializers to main_arena and mp_.
24229 (malloc_state): Remove pagesize member. Change all users to use
24230 GLRO(dl_pagesize).
24231
24232 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24233 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24234 is always initialized.
24235
22a89187
UD
24236 * malloc/malloc.c: Removed unused configurations and dead code.
24237 * malloc/arena.c: Likewise.
24238 * malloc/hooks.c: Likewise.
02d46fc4 24239 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24240
d063d164
UD
24241 * include/tls.h: Removed. USE___THREAD must always be defined.
24242 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24243 * elf/dl-libc.c: Likewise.
24244 * elf/dl-tsd.c: Likewise.
24245 * include/errno.h: Likewise.
24246 * include/netdb.h: Likewise.
24247 * include/resolv.h: Likewise.
24248 * inet/herrno-loc.c: Likewise.
24249 * inet/herrno.c: Likewise.
24250 * malloc/arena.c: Likewise.
24251 * malloc/hooks.c: Likewise.
24252 * malloc/malloc.c: Likewise.
24253 * resolv/res-state.c: Likewise.
24254 * resolv/res_libc.c: Likewise.
24255 * sysdeps/i386/dl-machine.h: Likewise.
24256 * sysdeps/ia64/dl-machine.h: Likewise.
24257 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24258 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24259 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24260 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24261 * sysdeps/sh/dl-machine.h: Likewise.
24262 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24263 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24264 * sysdeps/unix/i386/sysdep.S: Likewise.
24265 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24266 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24267 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24268 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24270 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24271 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24275 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24276 * sysdeps/x86_64/dl-machine.h: Likewise.
24277 * tls.make.c: Likewise.
24278
3ce1f295
UD
24279 * configure.in: Remove --with-__thread option. Make tests for
24280 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24281 tls_model attribute fail if no support is available. Remove
24282 USE_IN_LIBIO.
24283 * Makeconfig: Adjust for dropped configure option. All features are
24284 now mandatory.
24285 * Makerules: Likewise.
24286 * Versions.def: Likewise.
24287 * argp/argp-fmtstream.c: Likewise.
24288 * argp/argp-fmtstream.h: Likewise.
24289 * argp/argp-help.c: Likewise.
24290 * assert/assert.c: Likewise.
24291 * config.h.in: Likewise.
24292 * config.make.in: Likewise.
24293 * configure: Likewise.
24294 * configure.in: Likewise.
24295 * csu/Versions: Likewise.
24296 * csu/init.c: Likewise.
24297 * elf/tst-audit2.c: Likewise.
24298 * elf/tst-tls10.c: Likewise.
24299 * elf/tst-tls10.h: Likewise.
24300 * elf/tst-tls11.c: Likewise.
24301 * elf/tst-tls12.c: Likewise.
24302 * elf/tst-tls14.c: Likewise.
24303 * elf/tst-tlsmod11.c: Likewise.
24304 * elf/tst-tlsmod12.c: Likewise.
24305 * elf/tst-tlsmod13.c: Likewise.
24306 * elf/tst-tlsmod13a.c: Likewise.
24307 * elf/tst-tlsmod14a.c: Likewise.
24308 * elf/tst-tlsmod15b.c: Likewise.
24309 * elf/tst-tlsmod16a.c: Likewise.
24310 * elf/tst-tlsmod16b.c: Likewise.
24311 * elf/tst-tlsmod7.c: Likewise.
24312 * elf/tst-tlsmod8.c: Likewise.
24313 * elf/tst-tlsmod9.c: Likewise.
24314 * gmon/gmon.c: Likewise.
24315 * grp/fgetgrent_r.c: Likewise.
24316 * grp/putgrent.c: Likewise.
24317 * hurd/fopenport.c: Likewise.
24318 * include/libc-symbols.h: Likewise.
24319 * include/tls.h: Likewise.
24320 * intl/gettextP.h: Likewise.
24321 * intl/loadinfo.h: Likewise.
24322 * locale/global-locale.c: Likewise.
24323 * locale/localeinfo.h: Likewise.
24324 * mach/devstream.c: Likewise.
24325 * malloc/arena.c: Likewise.
24326 * malloc/set-freeres.c: Likewise.
24327 * misc/err.c: Likewise.
24328 * misc/getttyent.c: Likewise.
24329 * misc/mntent_r.c: Likewise.
24330 * posix/getopt.c: Likewise.
24331 * posix/wordexp.c: Likewise.
24332 * pwd/fgetpwent_r.c: Likewise.
24333 * resolv/Versions: Likewise.
24334 * resolv/res_hconf.c: Likewise.
24335 * shadow/fgetspent_r.c: Likewise.
24336 * shadow/putspent.c: Likewise.
24337 * stdio-common/printf_fphex.c: Likewise.
24338 * stdio-common/tmpfile.c: Likewise.
24339 * stdlib/abort.c: Likewise.
24340 * stdlib/fmtmsg.c: Likewise.
24341 * sunrpc/auth_unix.c: Likewise.
24342 * sunrpc/clnt_perr.c: Likewise.
24343 * sunrpc/clnt_tcp.c: Likewise.
24344 * sunrpc/clnt_udp.c: Likewise.
24345 * sunrpc/clnt_unix.c: Likewise.
24346 * sunrpc/openchild.c: Likewise.
24347 * sunrpc/svc_simple.c: Likewise.
24348 * sunrpc/svc_tcp.c: Likewise.
24349 * sunrpc/svc_udp.c: Likewise.
24350 * sunrpc/svc_unix.c: Likewise.
24351 * sunrpc/xdr.c: Likewise.
24352 * sunrpc/xdr_array.c: Likewise.
24353 * sunrpc/xdr_rec.c: Likewise.
24354 * sunrpc/xdr_ref.c: Likewise.
24355 * sunrpc/xdr_stdio.c: Likewise.
24356
1248c1c4
PB
243572011-09-09 Ulrich Drepper <drepper@gmail.com>
24358
24359 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24360
243612011-07-03 Andreas Jaeger <aj@suse.de>
24362
24363 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24364 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24365 regenerate with gen-libm-tests.pl.
24366
243672010-05-12 Petr Baudis <pasky@suse.cz>
24368
24369 [BZ #11589]
24370 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24371 around j0() zero points by switching to j1().
24372 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24373 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24375 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24376
f22e1074
UD
243772011-09-09 Ulrich Drepper <drepper@gmail.com>
24378
f19009c1
UD
24379 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24380 instead of 0.
24381 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24382 instead of 0.
f19009c1
UD
24383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24384 Patch in part by Pavel Roskin <proski@gnu.org>.
24385
3f8cc204
UD
24386 [BZ #13138]
24387 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24388 realloc.
24389 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24390 Free memory block if necessary.
24391
f22e1074
UD
24392 [BZ #12847]
24393 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24394 be NULL. Don't lock in this case.
24395
0a2349f9
RM
243962011-09-09 Roland McGrath <roland@hack.frob.com>
24397
24398 * elf/elf.h (ELFOSABI_GNU): New macro.
24399 (ELFOSABI_LINUX): Define to that.
24400
f3cdd467
DZ
244012011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24402
24403 * string/strncat.c (strncat): Undef the symbol in case it has been
24404 defined in bits/string.h.
24405
74718d13
UD
244062011-09-09 Ulrich Drepper <drepper@gmail.com>
24407
633e9e0f
UD
24408 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24409
0a2349f9 24410 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24411 link map.
24412
f9924780
AJ
244132011-08-17 Andreas Jaeger <aj@suse.de>
24414
24415 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24416
7f5517aa
PP
244172011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24418 Ian Lance Taylor <iant@google.com>
24419
24420 * math/libm-test.inc (lround_test): New testcase.
24421 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24422
762011fe
UD
244232011-09-08 Ulrich Drepper <drepper@gmail.com>
24424
92963737
UD
24425 * Makefile: Remove support for automatic cvs check-ins.
24426 * Makerules: Likewise.
24427 * config.make.in: Likewise.
24428 * configure.in: Likewise.
24429 * intl/Makefile: Likewise.
24430 * locale/Makefile: Likewise.
24431 * po/Makefile: Likewise.
24432 * posix/Makefile: Likewise.
24433 * sysdeps/gnu/Makefile: Likewise.
24434 * sysdeps/mach/hurd/Makefile: Likewise.
24435 * sysdeps/sparc/sparc32/Makefile: Likewise.
24436
b0727fd8
JS
24437 [BZ #13118]
24438 * posix/Makefile (bug-regex32-ENV): Define.
24439 Patch by John Stanley <jpsinthemix@verizon.net>.
24440
a0f33f99
UD
24441 * misc/Makefile (headers): Add bits/select2.h.
24442 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24443 * misc/bits/select2.h: New file.
24444 * include/bits/select2.h: New file.
24445 * debug/Makefile (routines): Add fdelt_chk.
24446 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24447 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24448 FD_ISSET.
24449 * debug/fdelt_chk.c: New file.
24450
762011fe
UD
24451 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24452 * wcsmbs/test-wmemcmp.c: Likewise.
24453 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24454 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24455
244562011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24457
24458 * string/Makefile (strop-tests): Add memcmp.
24459 * string/test-wmemcmp.c: New file.
24460 * string/test-memcmp.c: Add wmemcmp support.
24461
7f513ec8
RM
244622011-09-08 Roland McGrath <roland@hack.frob.com>
24463
0442afb4
RM
24464 [BZ #13153]
24465 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24466 2011-07-19 change.
24467
7f513ec8
RM
24468 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24469 garbage value in a __mach_port_mod_refs call in the cases of the
24470 task-self and thread-self ports.
24471
a12b2239
ST
244722011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24473
24474 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24475
610f9ab4
AS
244762011-09-08 Andreas Schwab <schwab@redhat.com>
24477
7f513ec8 24478 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24479
48882a1a
LD
244802011-09-07 Ulrich Drepper <drepper@gmail.com>
24481
b49865be
UD
24482 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24483
fdc86bc9
UD
24484 * elf/dl-libc.c (dlerror_run): Pass back error code from
24485 dl_catch_error.
24486
c966526a
UD
24487 [BZ #13123]
24488 * elf/dl-load.c (lose): Free l_origin if it is valid.
24489
48882a1a
LD
24490 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24491 names.
24492 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24493 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24494 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24495 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24496 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24497 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24498
77a2a8b4
AZ
244992011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24500
24501 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24502 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24503 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24504 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24505 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24506 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24507 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24508 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24509 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24510 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24511
24f579d8
AM
245122011-08-15 Alan Modra <amodra@gmail.com>
24513
24514 [BZ #13092]
24515 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24516 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24517 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24518 ppc_mcount to static-only-routines.
24519 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24520 __mcount_internal.
24521 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24522 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24523
3d4837df
UD
245242011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24525
24526 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24527 for finite and infinity parameters.
24528
22700377
WS
245292011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24530
24531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24532 and add nop instructions for throughput optimization.
24533 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24534
5025581e
WS
245352011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24536
24537 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24538 aligned copy for power7 with vector-scalar instructions.
24539 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24540
08a300c9
L
245412011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24542
24543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24544 AVX check.
24545
59178ef9
AS
245462011-09-07 Andreas Schwab <schwab@redhat.com>
24547
24548 [BZ #13144]
24549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24550 last change.
24551
e38ba7ab
UD
245522011-09-07 Ulrich Drepper <drepper@gmail.com>
24553
24554 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24555 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24556 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24557 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24558 clock_gettime.
24559
d53a73ac
UD
245602011-09-06 Ulrich Drepper <drepper@gmail.com>
24561
fc8bffcc
UD
24562 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24563 Forgot to demangle the pointer.
24564
ceaa0c5d
UD
24565 * sysdeps/i386/sysdep.h: Define atom_text_section.
24566 * sysdeps/x86_64/sysdep.h: Likewise.
24567 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24568 section with atom_text_section.
24569 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24570 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24571 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24572 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24573 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24574
a77d3c17
UD
24575 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24576 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24577 already be defined. Change to take two parameters and don't assign
24578 result to variable. Adjust all users.
24579 Define INTERNAL_GETTIME if not already defined.
24580 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24581 call.
24582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24583 HAVE_CLOCK_GETTIME_VSYSCALL.
24584 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24585
d53a73ac
UD
24586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24587 gettimeofday vsyscall, just use time.
24588
a8f84144
AS
245892011-09-06 Andreas Schwab <schwab@redhat.com>
24590
24591 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24592 <errno.h>.
24593
ef606249
UD
245942011-09-06 Ulrich Drepper <drepper@gmail.com>
24595
24596 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24597 syscall on x86-64.
24598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24599 syscall.
24600 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24601 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24602 syscall if possible.
24603
6585cb60
UD
246042011-09-05 Ulrich Drepper <drepper@gmail.com>
24605
24606 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24607 e_ident. Don't pass to find_mapsXX.
24608 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24609
a5f524e4
LD
246102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24611
24612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24613 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24614 * sysdeps/x86_64/multiarch/strchr.S: Update.
24615 Check bit_slow_BSF bit.
24616 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24617 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24618 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24619
554881ef
UD
246202011-09-05 Ulrich Drepper <drepper@gmail.com>
24621
d96de963
UD
24622 [BZ #13134]
24623 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24624 before glibc 2.15.
24625 (tryshell): Define.
24626 (__spawni): Change last parameter to be flag. Test
24627 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24628 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24629 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24630 * posix/spawni.c: Likewise.
24631 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24632 * posix/spawnp.c: Likewise. Change normal version to use
24633 SPAWN_XFLAGS_USE_PATH.
24634 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24635 SPAWN_XFLAGS_TRY_SHELL.
24636
d48e5868
UD
24637 [BZ #13150]
24638 * posix/glob.h: Remove gcc 1.x support.
24639
554881ef
UD
24640 [BZ #13068]
24641 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24642
693fb948
LD
246432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24644
24645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24646 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24647 strrchr-sse2-bsf
24648 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24649 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24650 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24651 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24652 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24653 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24654
1b48c537
UD
246552011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24656
49d42c37
UD
24657 * sysdeps/x86_64/wcscmp.S: New file.
24658
1b48c537
UD
24659 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24660 wcscmp-c wcscmp-sse2
24661 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24662 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24663 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24664 * wcsmbs/wcscmp.c: Allow renaming.
24665
15c95c5d
DM
246662011-09-05 David S. Miller <davem@davemloft.net>
24667
24668 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24669 stack slot, rather than the struct return pointer slot.
24670 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24671 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24673 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24674
2f0ad8f3
UD
246752011-09-05 Ulrich Drepper <drepper@gmail.com>
24676
d88ae418
UD
24677 * po/ja.po: Update from translation team.
24678
2f0ad8f3
UD
24679 [BZ #13144]
24680 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24681 kernel in 64-bit binaries.
24682
5f4318d1
DM
246832011-09-01 David S. Miller <davem@davemloft.net>
24684
24685 * elf/elf.h (HWCAP_SPARC_*): Move to..
24686 * sysdeps/sparc/sysdep.h: this new file and add new values.
24687 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24688 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24689 _DL_HWCAP_COUNT to 24.
24690 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24691 entries.
24692 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24693 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24694 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24696 instead of magic constants.
24697 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24698
3ba57516
DM
246992011-08-31 David S. Miller <davem@davemloft.net>
24700
24701 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24703 Reimplement to do errno handling inline.
24704 (SYSCALL_ERROR_HANDLER): New macro.
24705 (__SYSCALL_STRING): Do not do errno handling in asm.
24706 (__CLONE_SYSCALL_STRING): Delete.
24707 (__INTERNAL_SYSCALL_STRING): Delete.
24708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24709 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24710 (PSEUDO): Reimplement to do errno handling inline.
24711 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24712 (SYSCALL_ERROR_HANDLER): New macro.
24713 (__SYSCALL_STRING): Do not do errno handling in asm.
24714 (__CLONE_SYSCALL_STRING): Delete.
24715 (__INTERNAL_SYSCALL_STRING): Delete.
24716 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24717 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24718 i386.
24719 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24720 (inline_syscall*): Add 'err' argument.
24721 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24722 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24723 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24724 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24725
24726 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24727 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24728
2bc17433
AS
247292011-08-30 Andreas Schwab <schwab@redhat.com>
24730
24731 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24732
fbeb5f4d
JO
247332011-08-29 Jiri Olsa <jolsa@redhat.com>
24734
24735 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24736 directive.
24737
ad69cc26
DM
247382011-08-24 David S. Miller <davem@davemloft.net>
24739
24740 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24741
39dd69df
AS
247422011-08-24 Andreas Schwab <schwab@redhat.com>
24743
24744 * elf/Makefile: Add rules to build and run unload8 test.
24745 * elf/unload8.c: New file.
24746 * elf/unload8mod1.c: New file.
24747 * elf/unload8mod1x.c: New file.
24748 * elf/unload8mod2.c: New file.
24749 * elf/unload8mod3.c: New file.
24750
24751 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24752 it wasn't used.
24753
2c0b250a
DM
247542011-08-23 David S. Miller <davem@davemloft.net>
24755
24756 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24757 subtract stack bias.
24758 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24759 %sp not %fp in calculations.
24760 (_JMPBUF_UNWINDS_ADJ): Likewise.
24761
22044b48
DM
24762 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24763 (aio_suspend): Call it to force an exception region around the
24764 AIO_MISC_WAIT() invocation.
24765
2cae4995
AS
247662011-08-23 Andreas Schwab <schwab@redhat.com>
24767
24768 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24769 backslash.
24770
873a772e
AJ
247712011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24772
24773 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24774 protection macro.
24775 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24776 and <dl-machine.h>.
24777 (Elf64_FuncDesc): Remove.
24778
25ad0df1
DM
247792011-08-22 David S. Miller <davem@davemloft.net>
24780
24781 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24782 sigaltstack check, add missing cfi directives.
24783 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24784 missing cfi directives, and sigaltstack handling.
24785
e888bcbe
AS
247862011-08-16 Andreas Schwab <schwab@redhat.com>
24787
24788 [BZ #11724]
24789 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24790 object is seen twice.
24791 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24792
24793 * elf/Makefile (distribute): Add tst-initorder2.c.
24794 (tests): Add tst-initorder2.
24795 (modules-names): Add tst-initorder2a tst-initorder2b
24796 tst-initorder2c tst-initorder2d. Add rules to build them.
24797 ($(objpfx)tst-initorder2.out): New rule.
24798 * elf/tst-initorder2.c: New file.
24799 * elf/tst-initorder2.exp: New file.
24800
87162f46
AS
248012011-08-22 Andreas Schwab <schwab@redhat.com>
24802
70538b7f
AS
24803 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24804
f55ffe58
AS
24805 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24806 dependencies back to end of function.
24807
87162f46
AS
24808 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24809 $(elfobjdir)/ld.so.
24810
91b392a4
UD
248112011-08-21 Ulrich Drepper <drepper@gmail.com>
24812
24813 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24814 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24815 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24816 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24817 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24818 of __vdso_gettimeofday.
24819 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24820 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24821 attribute_hidden.
24822 (_libc_vdso_platform_setup): Remove initialization of
24823 __vdso_gettimeofday and __vdso_time.
24824
5c43483f
UD
248252011-08-20 Ulrich Drepper <drepper@gmail.com>
24826
775a77e7
UD
24827 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24828 and fgetc_unlocked.
24829 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24830 getc_unlocked.
89f447ed 24831
49c74ba9
UD
24832 * elf/dl-open.c (add_to_global): Report additions to the global scope
24833 for LD_DEBUG=scopes.
24834 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24835 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24836
5c43483f
UD
24837 [BZ #13114]
24838 * stdio-common/Makefile (tests): Add bug24.
24839 * stdio-common/bug24.c: New file.
24840
a101b025
AJ
248412011-08-19 Andreas Jaeger <aj@suse.de>
24842
24843 [BZ #13114]
24844 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24845 non-existant file when using close-on-exec mode.
24846
c88f1766
UD
248472011-08-20 Ulrich Drepper <drepper@gmail.com>
24848
0276a718
UD
24849 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24850 the very first instruction.
24851
c88f1766
UD
24852 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24853 the CFI state in the end.
24854 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24855 inclusion of dl-trampoline.h.
24856 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24857
51ccffa0
AS
248582011-08-19 Andreas Schwab <schwab@redhat.com>
24859
94d7165f
AS
24860 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24861 expectations for long double.
24862
51ccffa0
AS
24863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24864 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24865
fd708658 248662011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24867
24868 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24869 artificual limit depends upon the system page size.
24870
44f0a71e
UD
248712011-08-17 Ulrich Drepper <drepper@gmail.com>
24872
24873 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24874 * resolv/Makefile: Define CFLAGS-libresolv.
24875
8de79a24
AS
248762011-08-17 Andreas Schwab <schwab@redhat.com>
24877
24878 * nss/makedb.c (compute_tables): Make variables used in nested
24879 function static.
24880
27724598
UD
248812011-08-17 Ulrich Drepper <drepper@gmail.com>
24882
c5305d88
UD
24883 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24884 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24885 if buffer was too small.
24886
27724598
UD
24887 * elf/pldd.c (main): Attach to all threads in the process.
24888 Rewrite /proc handling to use *at functions.
24889
076fe015
UD
248902011-08-16 Ulrich Drepper <drepper@gmail.com>
24891
174baab3
UD
24892 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24893 specifies first scope to show.
24894 (dl_open_worker): Update callers. Move printing scope of new
24895 object to before the relocation.
44f0a71e 24896 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24897 * sysdeps/generic/ldsodefs.h: Update declaration.
24898
076fe015
UD
24899 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24900 string for the scope number.
24901
a60df2c3
UD
249022011-08-14 Ulrich Drepper <drepper@gmail.com>
24903
24904 * nscd/servicescache.c (cache_addserv): Make sure written is always
24905 initialized.
24906
5e4287d1
RM
249072011-08-14 Roland McGrath <roland@hack.frob.com>
24908
85ae0589
RM
24909 * sysdeps/i386/i486/bits/atomic.h
24910 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24911 statement expression, so as to suppress "set but not used" warning.
24912 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24913
69f63097
RM
24914 * string/strncat.c (STRNCAT): Use prototype definition.
24915
675456ef
RM
24916 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24917 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24918 -Iprograms here.
24919 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24920 (localedef-modules): Add localedef.
24921 (locale-modules): Add locale.
24922
5e4287d1
RM
24923 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24924 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24925 to avoid a warning.
24926
9c96ff23
DM
249272011-08-14 David S. Miller <davem@davemloft.net>
24928
24929 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24930 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24931
f9ddf089
UD
249322011-08-13 Ulrich Drepper <drepper@gmail.com>
24933
44f0a71e 24934 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24935 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24936 * elf/rtld.c (dl_main): Set l_name of vDSO.
24937 Call _dl_show_scope when DL_DEBUG_SCOPES.
24938 (process_dl_debug): Recognize scopes flag and also set it for all.
24939 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24940 Declare _dl_show_scope.
24941
1dc27704
UD
24942 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24943 (do_dlopen): Pass caller_dlopen to dl_open.
24944 (__libc_dlopen_mode): Initialize caller_dlopen.
24945
f9ddf089
UD
24946 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24947 of libc. Make tolower call locale-independent. Optimize a bit by
24948 using isdigit instead of isalnum.
24949 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24950
9ac533d3
UD
249512011-08-12 Ulrich Drepper <drepper@gmail.com>
24952
24953 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24954 was a dependency or dynamically loaded.
24955
89edf2e9
UD
249562011-08-11 Ulrich Drepper <drepper@gmail.com>
24957
8e999d29
UD
24958 * intl/l10nflist.c: Allow architecture-specific pop function.
24959 * sysdeps/x86_64/l10nflist.c: New file.
24960
89edf2e9
UD
24961 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24962 classification.
24963
14d96785
AS
249642011-08-10 Andreas Schwab <schwab@redhat.com>
24965
24966 * include/dirent.h: Add libc_hidden_proto for scandirat and
24967 scandirat64. Don't declare __scandirat64.
24968 * dirent/scandirat.c: Add libc_hidden_def.
24969 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24970 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24971
6761ac04
DM
249722011-08-10 David S. Miller <davem@davemloft.net>
24973
24974 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24975 enum.
24976 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24977 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24978 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24979
c55fbd1e
UD
249802011-08-09 Ulrich Drepper <drepper@gmail.com>
24981
24982 * Versions.def [libc]: Add GLIBC_2.15.
24983 * dirent/Makefile (routines): Add scandirat and scandirat64.
24984 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24985 GLIBC_2.15.
24986 * dirent/dirent.h: Declare scandirat and scandirat64.
24987 * dirent/scandirat.c: New file.
24988 * dirent/scandirat64.c: New file.
24989 * sysdeps/wordsize-64/scandirat.c: New file.
24990 * sysdeps/wordsize-64/scandirat64.c: New file.
24991 * dirent/opendir.c: Define opendirat.
24992 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24993 using scandirat.
24994 * dirent/scandir64.c: Adjust for scandir.c change.
24995 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24996 __scandirat64, and __scandir_cancel_handler.
24997 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24998 additional parameter and use openat instead of open (outside of ld.so).
24999 Add new __opendir as wrapper around __opendirat.
25000 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25001 here without requiring old scandirat implementation.
25002
879165f2
UD
250032011-08-08 Ulrich Drepper <drepper@gmail.com>
25004
25005 * dirent/scandir.c (cancel_handler): Renamed to
25006 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25007 defined. Adjust users.
25008 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25009 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25010
cb7e923b
UD
250112011-08-04 Ulrich Drepper <drepper@gmail.com>
25012
16292edd
UD
25013 * string/test-string.h (IMPL): Use __STRING to expand name and then
25014 stringify it.
25015
cb7e923b
UD
25016 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25017 of cleanups.
25018
cff82933
LD
250192011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25020
25021 * string/Makefile: Update.
25022 (strop-tests): Append strncat.
25023 * string/test-wcscmp.c: New file.
25024 New comprehensive test for wcscmp.
25025 * string/test-strcmp.c: Update.
25026 (WIDE): New define.
25027
9be9bfcc
AS
250282011-07-22 Andreas Schwab <schwab@redhat.com>
25029
25030 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25031 line.
25032
2e96f1c7
AS
250332011-07-26 Andreas Schwab <schwab@redhat.com>
25034
25035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25036 encoding to ACE if AI_IDN.
25037
85188888
JJ
250382011-08-01 Jakub Jelinek <jakub@redhat.com>
25039
25040 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25041 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25042
5fa16e9b
LD
250432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25044
25045 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25046 Fix overflow bug in strncat.
25047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25048
25049 * string/test-strncat.c: Update.
25050 Add new tests for checking overflow bugs.
25051
250522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25053
25054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25055 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25056 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25057 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25058 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25059 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25060 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25061 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25062 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25063
25064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25065 (USE_AS_STRCAT): Define.
25066 Add strcat and strncat support.
25067 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25068
8c1a459f
AS
250692011-07-25 Andreas Schwab <schwab@redhat.com>
25070
25071 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25072 __n bigger than INT_MAX+1.
25073 (__strncmp_g): Likewise.
25074
bba33c28
UD
250752011-07-23 Ulrich Drepper <drepper@gmail.com>
25076
798be72d
UD
25077 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25078 * libio/stido.h: Likewise.
25079
8accd4dc
UD
25080 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25081 (AF_NFC): Define.
25082 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25083 (AF_NFC): Define.
25084
cbff0d96
UD
25085 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25087 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25088 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25089 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25090
9191c04a
UD
25091 [BZ #13021]
25092 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25093 installed.
25094
bba33c28
UD
25095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25096 typo.
25097 (_dl_x86_64_save_sse): Likewise.
25098
90f139dd
UD
250992011-07-22 Ulrich Drepper <drepper@gmail.com>
25100
1aae088a
UD
25101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25102 OSXSAVE.
25103 (_dl_x86_64_save_sse): Likewise.
25104
8e2045f5
UD
25105 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25106
90f139dd
UD
25107 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25108
1d002f25
AS
251092011-07-21 Andreas Schwab <schwab@redhat.com>
25110
25111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25112 change.
25113 (_dl_x86_64_save_sse): Use correct AVX check.
25114
21137f89
UD
251152011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25116
25117 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25118 bug in strncpy/strncat.
25119 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25120
a65c0b7a
UD
251212011-07-21 Ulrich Drepper <drepper@gmail.com>
25122
25123 * string/tester.c (test_strcat): Add tests for different alignments
25124 of source and destination.
25125 (test_strncat): Likewise.
25126
6986b98a
UD
251272011-07-20 Ulrich Drepper <drepper@gmail.com>
25128
90bb2039
UD
25129 [BZ #12852]
25130 * posix/glob.c (glob): Check passed in values before using them in
25131 expressions to avoid some overflows.
25132 (glob_in_dir): Likewise.
25133
5644ef54
UD
25134 [BZ #13007]
25135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25136 check for AVX enablement so that we don't crash with old kernels and
25137 new hardware.
25138 * elf/tst-audit4.c: Add same checks here.
25139 * elf/tst-audit6.c: Likewise.
25140
25141 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25142
bfc9dc9b
AS
251432011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25144
25145 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25146
702e64bb
UD
251472011-07-20 Ulrich Drepper <drepper@gmail.com>
25148
25149 * po/cs.po: Update from translation team.
25150 * po/bg.po: Likewise.
25151
295e904f
MP
251522011-07-12 Marek Polacek <mpolacek@redhat.com>
25153
25154 * misc/sys/cdefs.h: Add support for const attribute.
25155 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25156 to gnu_dev_{major,minor,makedev} functions.
25157
3ff94596
MP
251582011-07-20 Marek Polacek <mpolacek@redhat.com>
25159
25160 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25161
28b59fca
AS
251622011-07-20 Andreas Schwab <schwab@redhat.com>
25163
25164 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25165 strlen results.
25166
19df733e
AK
251672011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25168
25169 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25170 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25171 register in order to avoid conflicts with the soft frame pointer
25172 being held in r11 when necessary.
25173 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25174 (INTERNAL_VSYSCALL_NCS): Likewise.
25175
c8835729
MP
251762011-07-14 Marek Polacek <mpolacek@redhat.com>
25177
25178 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25179 * elf/dl-fini.c (_dl_fini): Adjust caller.
25180 * elf/dl-close.c (_dl_close_worker): Likewise.
25181 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25182
b902330c
MP
251832011-07-15 Marek Polacek <mpolacek@redhat.com>
25184
8991e135
MP
25185 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25186 "aux_cache->nlibs < 0".
25187
b902330c
MP
25188 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25189 in the reload-count case.
25190
99710781
LD
251912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25192
25193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25194 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25195 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25196 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25197 * sysdeps/x86_64/multiarch/strcat.S: New file.
25198 * sysdeps/x86_64/multiarch/strncat.S: New file.
25199 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25200 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25201 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25202 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25203 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25204 (USE_AS_STRCAT): Define.
25205 Add strcat and strncat support.
25206 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25207 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25208 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25209 * string/strncat.c: Update.
25210 (USE_AS_STRNCAT): Define.
25211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25212 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25213 and i7.
25214 * sysdeps/x86_64/multiarch/init-arch.h
25215 (bit_Prefer_PMINUB_for_stringop): New.
25216 (index_Prefer_PMINUB_for_stringop): Likewise.
25217 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25218 bit_Prefer_PMINUB_for_stringop.
25219
7dc6bd90
UD
252202011-07-19 Ulrich Drepper <drepper@gmail.com>
25221
25222 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25223 buffer64.
25224 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25225 of casting of buffer.
25226 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25227 buffer32 and buffer64.
25228 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25229 writes instead of casting of buffer.
25230 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25231 buffer32.
25232 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25233 casting of buffer.
25234
e0e72284
AS
252352011-07-19 Andreas Schwab <schwab@redhat.com>
25236
25237 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25238
feb1eb0b
UD
252392011-07-19 Ulrich Drepper <drepper@gmail.com>
25240
25241 * nscd/nscd.c (termination_handler): Don't do anything for a database
25242 if it has not yet been initialized.
25243
298711ff
UD
252442011-07-18 Ulrich Drepper <drepper@gmail.com>
25245
25246 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25247
252482011-07-15 Marek Polacek <mpolacek@redhat.com>
25249
25250 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25251
f9d68389
UD
252522011-07-18 Ulrich Drepper <drepper@gmail.com>
25253
25254 * po/nl.po: Update from translation team.
25255 * po/sv.po: Likewise.
25256
db290cf5
RM
252572011-07-16 Roland McGrath <roland@hack.frob.com>
25258
25259 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25260 now disallowed by GCC.
5c550700 25261
fd5e21c7
RM
25262 * configure.in (use-default-link): Default to yes if a test -shared
25263 link meets our qualifications.
25264 * configure: Regenerated.
25265
5c550700
RM
25266 * config.make.in (output-format): New variable.
25267 * configure.in: Check for ld --print-output-format support.
25268 * configure: Regenerated.
25269 * Makerules ($(common-objpfx)format.lds)
25270 [$(output-format) != unknown]: Just use $(output-format),
25271 instead of the linker-script munging.
25272
9fa2c032
RM
252732011-07-14 Roland McGrath <roland@hack.frob.com>
25274
a6928d51
RM
25275 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25276 of $(common-objpfx)shlib.lds.
25277 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25278
661607b3
RM
25279 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25280 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25281
9fa2c032
RM
25282 * configure.in (-z relro check): Adjust test code to add a large
25283 writable data section after it.
25284 * configure: Regenerated.
25285
defe9061
RM
252862011-07-11 Roland McGrath <roland@hack.frob.com>
25287
25288 * configure.in (-z relro check): Fix test code to make the variable
25289 truly const.
25290 * configure: Regenerated.
25291
319b9ad4
UD
252922011-07-11 Ulrich Drepper <drepper@gmail.com>
25293
25294 * nscd/nscd.h (struct traced_file): Define.
25295 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25296 elements. Add traced_files.
25297 (inotify_fd): Declare.
25298 (register_traced_file): Declare.
25299 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25300 (inotify_fd): Export.
25301 (resolv_conf_descr): Remove.
25302 (nscd_init): Move inotify descriptor creation to main.
25303 Don't register files for notification here.
25304 (register_traced_file): New function.
25305 (invalidate_cache): Don't use reset_res to determine whether to call
25306 res_init, go through the list of registered files.
25307 (main_loop_poll): The inotify descriptors are now stored in the
25308 structures for the traced files.
25309 (main_loop_epoll): Likewise
25310 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25311 to __nss_disable_nscd.
25312 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25313 for a database anymore. Check the records for all the registered
25314 files instead.
25315 * nss/Makefile (libnss_files-routines): Add files-init.
25316 (libnss_db-routines): Add db-init.
25317 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25318 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25319 * nss/nss_db/db-init.c: New file.
25320 * nss/nss_files/files-init.c: New file.
25321 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25322 __nss_lookup_function.
25323 (__nss_lookup_function): Call nss_load_library.
25324 (nss_load_all_libraries): New function.
25325 (__nss_disable_nscd): Take parameter with callback function for files
25326 to register. Set is_nscd. Load all the DSOs for the NSS modules
25327 used for the cached services.
25328 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25329 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25330 options for features to all the files in nscd.
25331
25332 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25333
23bee3e8
RM
253342011-07-10 Roland McGrath <roland@hack.frob.com>
25335
25336 * csu/elf-init.c (__libc_csu_init): Comment typo.
25337
46a5b7f0
UD
253382011-07-09 Ulrich Drepper <drepper@gmail.com>
25339
25340 * po/pl.po: Update from translation team.
25341 * po/ja.po: Likewise.
25342 * po/ru.po: Likewise.
25343 * po/ko.po: Likewise.
25344 * po/fr.po: Likewise.
25345
d30cf5bb
RM
253462011-07-09 Roland McGrath <roland@hack.frob.com>
25347
113ddea4
RM
25348 * configure.in (.ctors/.dtors header and trailer check):
25349 Use an empirical test on a built program.
25350 * configure: Regenerated.
25351
574920b4
RM
25352 * configure.in (-z relro check): Use an empirical test on a built DSO.
25353 Detect, but do not require, on ia64.
25354 * configure: Regenerated.
25355
d30cf5bb
RM
25356 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25357 Update tests that use readelf to use $READELF instead.
25358 * configure: Regenerated.
25359
8538fdb3
UD
253602011-07-08 Ulrich Drepper <drepper@gmail.com>
25361
25362 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25363 if the result is not used.
25364
04d08991
AJ
253652011-07-05 Andreas Jaeger <aj@suse.de>
25366
25367 [BZ#9696]
25368 * stdlib/tst-strtod.c: Add testcase.
25369
de283087
AD
253702011-07-07 Ulrich Drepper <drepper@gmail.com>
25371
4e5f31c8 25372 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25373 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25374 The latter has a higher limit. Take additional parameter to pass to
25375 the new function.
25376 (__pathconf): Pass file to __statfs_link_max.
25377 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25378 __statfs_link_max.
25379 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25380 __statfs_link_max.
25381
de283087
AD
25382 [BZ #12868]
25383 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25385 Handle Lustre.
25386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25387 (__statfs_filesize_max): Likewise.
25388 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25389
c75fa153
AJ
253902011-07-05 Andreas Jaeger <aj@suse.de>
25391
25392 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25393
1a544854
UD
253942011-07-06 Marek Polacek <mpolacek@redhat.com>
25395
25396 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25397 `status' variable.
25398 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25399 Likewise.
25400
6f0eec67
UD
254012011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25402
25403 * Makefile (strop-tests): Add strncat.
25404 * string/test-strncat.c: New file.
25405
aae30307
UD
254062011-06-30 Marek Polacek <mpolacek@redhat.com>
25407
25408 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25409
c0cfb5eb
UD
254102011-06-21 Andreas Jaeger <aj@suse.de>
25411
25412 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25413 Copy rule from iconvdata/Makefile.
25414
01636b21
UD
254152011-07-06 Ulrich Drepper <drepper@gmail.com>
25416
25417 [BZ #12922]
25418 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25419 but no long options are defined, just return 'W'.
25420
9895c8bc
UD
254212011-06-22 Marek Polacek <mpolacek@redhat.com>
25422
25423 [BZ #9696]
25424 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25425
5d4cf042
UD
254262011-07-06 Ulrich Drepper <drepper@gmail.com>
25427
25428 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25429 netgroups to read.
960e5535 25430 (innetgr): Likewise.
5d4cf042 25431
751eb97e
RM
254322011-07-05 Roland McGrath <roland@hack.frob.com>
25433
25434 * config.make.in (install_root): Default to $(DESTDIR).
25435
f15f1e45
UD
254362011-07-05 Ulrich Drepper <drepper@gmail.com>
25437
25438 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25439
4e34ac6a
RM
254402011-07-02 Roland McGrath <roland@hack.frob.com>
25441
5e9b6af4
RM
25442 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25443
84f9ea0f
RM
25444 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25445 containing directory rather than embedding absolute directory names.
25446
ea5ee9f7
RM
25447 * scripts/check-local-headers.sh: Rewritten using awk.
25448 Match by word, not by line. Print error messages for matches.
25449 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25450
1b74661a
RM
25451 * Makerules [shlib-lds-flags empty]:
25452 ($(common-objpfx)libc_pic.opts): New target.
25453 ($(common-objpfx)libc_pic.os.clean): New target.
25454 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25455
25456 * config.make.in (OBJCOPY): New variable.
25457 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25458 * configure: Regenerated.
25459
f781ef40
RM
25460 * config.make.in (use-default-link): New variable.
25461 * configure.in (use_default_link): Grok --with-default-link to set it.
25462 * configure: Regenerated.
25463 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25464 (shlib-lds, shlib-lds-flags): Define to empty.
25465
2d4fa81e
RM
25466 * Makerules (shlib-lds): New variable.
25467 (shlib-lds-flags): New variable.
25468 (build-shlib, build-moduile, build-module-asneeded): Use it.
25469 ($(common-objpfx)libc.so): Use $(shlib-lds).
25470 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25471 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25472
31fffa6b
RM
25473 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25474 DT_FLAGS/DT_FLAGS_1 with zero flags.
25475
4e34ac6a
RM
25476 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25477 linker script munging.
25478
fcfc776b
UD
254792011-07-02 Ulrich Drepper <drepper@gmail.com>
25480
25481 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25482 as 128-bit value.
25483 * crypt/sha512.c (sha512_process_block): Perform total addition using
25484 128-bit if possible.
25485 (__sha512_finish_ctx): Likewise.
25486 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25487 as 64-bit value.
25488 * crypt/sha256.c (SWAP64): Define.
25489 (sha256_process_block): Perform total addition using 64-bit if
25490 possible.
25491 (__sha256_finish_ctx): Likewise.
25492
99231d9a
UD
254932011-07-01 Ulrich Drepper <drepper@gmail.com>
25494
25495 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25496 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25497 * nscd/hstcache.c (cache_addhst): Likewise.
25498 * nscd/grpcache.c (cache_addgr): Likewise.
25499 * nscd/aicache.c (addhstaiX): Likewise
25500 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25501
445b4a53
TK
255022011-07-01 Thorsten Kukuk <kukuk@suse.de>
25503
25504 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25505 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25506 * nscd/hstcache.c (cache_addhst): Likewise.
25507 * nscd/grpcache.c (cache_addgr): Likewise.
25508 * nscd/aicache.c (addhstaiX): Likewise
25509
6d4d8e8e
AS
255102011-07-01 Andreas Schwab <schwab@redhat.com>
25511
25512 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25513 domain only when needed.
25514
89f654c5
AS
255152011-06-30 Andreas Schwab <schwab@redhat.com>
25516
25517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25518 is always restored.
25519
cf3b23ff
UD
255202011-06-29 Ulrich Drepper <drepper@gmail.com>
25521
25522 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25523 are re-adding the entry.
25524 * nscd/servicescache.c (cache_addserv): Likewise.
25525
751626f9
AJ
255262011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25527
25528 * sysdeps/generic/dl-irel.h: fix protection against multiple
25529 inclusions.
25530 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25531
9113ea1f
UD
255322011-06-28 Ulrich Drepper <drepper@gmail.com>
25533
5c0b8d90
UD
25534 [BZ #12935]
25535 * malloc/memusage.sh: Fix quoting in message.
25536 * debug/xtrace.sh: Likewise.
25537
9113ea1f
UD
25538 * configure.in: Remove support for --experimental-malloc option, make
25539 it the default.
25540 * config.make.in: Likewise.
25541 * malloc/Makefile: Likewise.
25542
a4172181
AS
255432011-06-27 Andreas Schwab <schwab@redhat.com>
25544
25545 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25546 two-byte characters.
25547
78a7eee7
RM
255482011-06-27 Roland McGrath <roland@hack.frob.com>
25549
62bede13
RM
25550 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25551 AC_CACHE_CHECK invocation.
25552 * configure: Regenerated.
25553
78a7eee7
RM
25554 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25555
5ce33a62
UD
255562011-06-27 Ulrich Drepper <drepper@gmail.com>
25557
034807a9
UD
25558 [BZ #12350]
25559 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25560 bit from old_res_options.
25561
4902da17
UD
25562 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25563
5ce33a62
UD
25564 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25565 value type for setfct.
25566
c2344f56
L
255672011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25568
25569 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25570 __gettimeofday instead of gettimeofday.
25571
68468076
UD
255722011-06-26 Ulrich Drepper <drepper@gmail.com>
25573
25574 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25575
acb0d739
L
255762011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25577
25578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25579
25580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25581 info.
25582
8912479f
L
255832011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25584
25585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25586 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25587 strcpy-sse2-unaligned strncpy-sse2-unaligned
25588 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25589 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25590 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25591 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25592 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25593 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25594 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25595 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25596 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25597 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25598 (STRCPY): Support SSE2 and SSSE3 versions.
25599
d5495a11
UD
256002011-06-24 Ulrich Drepper <drepper@gmail.com>
25601
25602 [BZ #12874]
25603 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25604 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25605 kernels which artificially limit size of requests.
25606
0b1cbaae
L
256072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25608
25609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25610 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25611 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25612 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25613 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25614 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25615 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25616 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25617 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25618 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25619 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25620 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25621 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25622 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25623 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25625 Enable unaligned load optimization for Intel Core i3, i5 and i7
25626 processors.
25627 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25628 Define.
25629 (index_Fast_Unaligned_Load): Define.
25630 (HAS_FAST_UNALIGNED_LOAD): Define.
25631
07f494a0
MP
256322011-06-23 Marek Polacek <mpolacek@redhat.com>
25633
25634 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25635
fa3fc0fe
UD
256362011-06-22 Ulrich Drepper <drepper@gmail.com>
25637
25638 [BZ #12907]
25639 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25640 until it is clear that the information is realy needed.
25641 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25642
e12df166
AS
256432011-06-22 Andreas Schwab <schwab@redhat.com>
25644
25645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25646
852eb34d
UD
256472011-06-22 Ulrich Drepper <drepper@gmail.com>
25648
84e2a551
UD
25649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25650 /sys/devices/system/cpu/online if it is usable.
25651
852eb34d
UD
25652 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25653 reading the information from the /proc filesystem to once a second.
25654
6e502e19
UD
256552011-06-21 Andreas Jaeger <aj@suse.de>
25656
25657 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25658 NULL after inclusion of kernel headers.
25659
75d39ff2
UD
256602011-06-21 Ulrich Drepper <drepper@gmail.com>
25661
51f9aa6a
UD
25662 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25663 calls to internal_setent.
25664
c0244a9d
UD
25665 [BZ #12885]
25666 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25667 addresses using gethostbyname4_r ignore IPv4 addresses.
25668
c5e3c2ae
UD
25669 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25670 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25671
75d39ff2
UD
25672 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25673
42675c6f
DM
256742011-06-20 David S. Miller <davem@davemloft.net>
25675
25676 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25677 inclusions.
25678 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25679
25680 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25681 (elf_irel): Use it.
25682 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25683 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25684 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25685 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25686 * sysdeps/x86_64/dl-irel.h: Likewise.
25687
25688 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25689 * elf/dl-sym.c: Likewise.
25690
57912a71
UD
256912011-06-15 Ulrich Drepper <drepper@gmail.com>
25692
25693 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25694 need to dereference resplen2.
25695
ee22793d
AS
256962011-06-14 Andreas Schwab <schwab@redhat.com>
25697
25698 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25699
a9e836b0
UD
257002011-06-15 Ulrich Drepper <drepper@gmail.com>
25701
77fb9117
UD
25702 * Makeconfig: Define vardbdir and inst_vardbdir.
25703 * nss/Makefile: Add rules to install db-Makefile.
25704
40c1b22c
UD
25705 * nss/nss_db/db-XXX.c: Cleanup.
25706
9f2da732
UD
25707 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25708 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25709 GLIBC_PRIVATE.
25710 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25711 * nss/makedb.c: Implement -g option to specify that value strings
25712 are generated and should not be added to table iterated over for
25713 get*ent calls.
25714 * nss/nss_db/db-initgroups.c: New file.
25715
82e9a1f7
UD
25716 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25717 interface.
25718
c41af17e
UD
25719 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25720 (internal_getgrouplist): Adjust to name change.
25721 Update use_initgroups_entry if this is not the first call.
25722 * nss/databases.def: Add initgroups entry.
25723
a9e836b0
UD
25724 * nss/makedb.c (compute_tables): Check result of multiple hash table
25725 sizes to minimize maximum chain length.
25726
2666d441
UD
257272011-06-14 Ulrich Drepper <drepper@gmail.com>
25728
25729 * Versions.def: Add entry for libnss_db.
25730 * shlib-versions: Likewise.
25731 * nss/Makefile: Add rules to build libnss_db.
25732 * nss/Versions: Add libnss_db information. Organize libnss_files
25733 entries better.
25734 * nss/db-Makefile: Add gshadow support. Change rules for the new
25735 makedb progra. Some minor improvements to generate smaller files.
25736 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25737 here from...
25738 * nss/makedb.c: ...here.
25739 Improve database format to be smaller and require less memory at
25740 runtime.
25741 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25742 db anymore.
25743 * nss/nss_db/db-netgrp.c: Likewise.
25744 * nss/nss_db/db-open.c: Likewise.
25745 * nss/nss_files/flies-XXX.x: Adjust comments.
25746 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25747 * nss/nss_files/files-grp.c: Likewise.
25748 * nss/nss_files/files-hosts.c: Likewise.
25749 * nss/nss_files/files-network.c: Likewise.
25750 * nss/nss_files/files-proto.c: Likewise.
25751 * nss/nss_files/files-pwd.c: Likewise.
25752 * nss/nss_files/files-rpc.c: Likewise.
25753 * nss/nss_files/files-service.c: Likewise.
25754 * nss/nss_files/files-sgrp.c: Likewise.
25755 * nss/nss_files/files-spwd.c: Likewise.
25756 * nss/nss_db/db-alias.c: Removed.
25757 * nss/nss_db/dummy-db.h: Removed.
25758
9ee76b5a
UD
257592011-06-02 Ulrich Drepper <drepper@gmail.com>
25760
25761 * nss/makedb.c: Rewritten to not use database library.
25762 * nss/Makefile: Update to build new makedb program.
25763
c71ca1f8
AJ
257642011-06-14 Andreas Jaeger <aj@suse.de>
25765
25766 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25767 memset declaration.
25768
3154bfb8
UD
257692011-06-10 Andreas Schwab <schwab@redhat.com>
25770
25771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25772 tmpbuf.
25773
b350afab
RM
257742011-06-10 Roland McGrath <roland@hack.frob.com>
25775
decd4e50
RM
25776 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25777 * elf/Makefile ($(objpfx)ld.so): Likewise.
25778
5615eaf2
RM
25779 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25780 Don't list ld.so twice in dependencies.
25781
25782 * posix/bug-regex31.c: Include <stdlib.h>.
25783
25784 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25785
25786 * nis/nss_compat/compat-spwd.c
25787 (getspent_next_nss_netgr): Remove unused variable.
25788 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25789
25790 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25791 nonmembers" output to use the right array.
25792
25793 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25794
25795 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25796
25797 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25798 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25799 * catgets/gencat.c (read_input_file): Likewise.
25800 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25801
25802 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25803 variable definition inside #if's controlling its use.
25804
25805 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25806
25807 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25808
25809 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25810
25811 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25812 unreachable code.
25813
25814 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25815
b68e08db
RM
25816 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25817 * configure: Regenerated.
25818
b350afab
RM
25819 * Makerules: Revert last change.
25820 * elf/Makefile: Likewise.
25821
28368601
RM
258222011-06-09 Roland McGrath <roland@hack.frob.com>
25823
25824 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25825 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25826 (reloc-link): Likewise.
25827
11988f8f
UD
258282011-06-09 Ulrich Drepper <drepper@gmail.com>
25829
25830 * elf/Makefile: Add rules to build pldd.
25831 * elf/pldd.c: New file.
25832 * elf/pldd-xx.c: New file.
25833
e80fab37
UD
258342011-06-07 Ulrich Drepper <drepper@gmail.com>
25835
25836 * version.h: Update for 2.15 development version.
25837
9b849836
DM
258382011-06-07 David S. Miller <davem@davemloft.net>
25839
25840 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25841 ifuncs.
25842 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25843 elf_machine_lazy_rel): Likewise.
25844 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25845 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25846 elf_machine_lazy_rel): Likewise.
25847 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25848 dl_hwcap via passed in argument.
25849 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25850 Likewise.
25851
5a31b283
AK
258522011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25853
25854 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25855
069e52f8
RM
258562011-06-06 Roland McGrath <roland@hack.frob.com>
25857
25858 [BZ #12849]
25859 * manual/fdl-1.1.texi: New file, verbatim from:
25860 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25861 * manual/lgpl-2.1.texi: New file, verbatim from:
25862 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25863 * manual/Makefile (licenses): New variable, list those new file names.
25864 (texis): Use it.
25865 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25866
25867 * manual/fdl.texi: File removed.
25868 * manual/lesser.texi: File removed.
25869 * manual/libc.texinfo (Copying, Documentation License):
25870 Use new @include file names, put @appendix directive before @include.
25871
f16846a5
JJ
258722011-06-04 Jakub Jelinek <jakub@redhat.com>
25873
25874 [BZ #12841]
25875 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25876 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25877 (mq_open): Add __NTH.
25878
3d29045b
L
258792011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25880
25881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25882 Assume Intel Core i3/i5/i7 processor if AVX is available.
25883
8c297311
UD
258842011-05-31 Ulrich Drepper <drepper@gmail.com>
25885
25886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25887 typo.
25888
c8fc0c91
UD
258892011-05-31 Andreas Schwab <schwab@redhat.com>
25890
25891 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25892 memory. Use alloca_account. Fix memory leak when retrying.
25893
5b27a807
UD
258942011-05-31 Ulrich Drepper <drepper@gmail.com>
25895
356f8bc6
UD
25896 * version.h (RELEASE): Bump for 2.14 release.
25897 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25898
5b27a807
UD
25899 * config.make.in (RANLIB): Remove entry.
25900
01f16ab0
UD
259012011-05-30 Ulrich Drepper <drepper@gmail.com>
25902
41fce8bd
UD
25903 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25904 (libc.pot): Work around missing support for .ksh extension in xgettext.
25905
4769ae77
UD
25906 [BZ #12684]
25907 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25908 if both request failed.
25909 (send_dg): In case of server errors clear resplen or *resplen2.
25910
6b1e7d19
UD
25911 [BZ #12454]
25912 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25913 when there are multiple maps.
25914 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25915 (_dl_fini): Remove test here.
25916
01f16ab0
UD
25917 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25918
b1ebd700
UD
259192011-05-29 Ulrich Drepper <drepper@gmail.com>
25920
7ae22829
UD
25921 [BZ #12350]
25922 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25923 bit from old_res_options.
25924 (gaih_inet): Likewise.
25925
553149f6 25926 [BZ #11099]
18a84741 25927 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25928 as signed.
25929
652ffab1
UD
25930 * resolv/res_init.c (res_setoptions): Make the code more compact.
25931
16985fd0
UD
25932 [BZ #11558]
25933 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25934 set RES_USEVC.
25935
0464f746
UD
25936 [BZ #11634]
25937 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25938
7d17596c
UD
25939 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25940
cf6bbbd7
UD
25941 [BZ #11781]
25942 * malloc/malloc.h: Declare malloc hook variables as volatile.
25943
13f1ab36
UD
25944 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25945 in last patch.
25946
b1ebd700
UD
25947 [BZ #11799]
25948 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25949 raise in the comment.
80e2212d
UD
25950 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25951 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25952 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25953
ce67228d
UD
259542011-05-28 Ulrich Drepper <drepper@gmail.com>
25955
8887a920
UD
25956 [BZ #12811]
25957 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25958 grow the buffers more if it already has to be sufficient.
25959 (build_wcs_upper_buffer): Likewise.
25960 * posix/regexec.c (check_matching): Likewise.
25961 (clean_state_log_if_needed): Likewise.
25962 (extend_buffers): Don't enlarge buffers beyond size of the input
25963 buffer.
25964 Patches mostly by Emil Wojak <emil@wojak.eu>.
25965 * posix/bug-regex32.c: New file.
25966 * posix/Makefile (tests): Add bug-regex32.
25967
4f031072
UD
25968 * locale/findlocale.c (_nl_find_locale): Return right away if
25969 _nl_explode_name failed.
25970 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25971
d0478f0c
UD
25972 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25973
de81b246
UD
25974 * debug/xtrace.sh: Unify messages.
25975 * malloc/memusage.sh: Likewise.
25976
c738465a
UD
25977 [BZ #12813]
25978 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25979 time symbol from vDSO. Substitute with vsyscall if not available.
25980 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25981 __vdso_time.
25982
f1f929d7
UD
25983 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25984 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25985 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25986 Add sendmmsg and internal_sendmmsg.
25987 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25988 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25989 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25990
ce67228d
UD
25991 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25992 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25993 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25994
e57420c6
UD
259952011-05-27 Ulrich Drepper <drepper@gmail.com>
25996
a8509ca5
UD
25997 [BZ #12813]
25998 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25999 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26000 available.
26001 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26002 __vdso_getcpu.
26003
e57420c6
UD
26004 [BZ #12814]
26005 * iconvdata/Makefile (tests): Add bug-iconv9.
26006 * iconvdata/bug-iconv9.c: New file.
26007
4d07db15
AS
260082011-05-27 Andreas Schwab <schwab@redhat.com>
26009
26010 [BZ #12814]
26011 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26012
ea486f69
JJ
260132011-05-25 Jakub Jelinek <jakub@redhat.com>
26014
26015 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26016 (struct user_regs_struct): Change intcs field back to cs.
26017
6f038433
UD
260182011-05-25 Ulrich Drepper <drepper@gmail.com>
26019
26020 * po/ja.po: Update from translation team.
26021
67f86a25
UD
260222011-05-23 Ulrich Drepper <drepper@gmail.com>
26023
26024 [BZ #12795]
26025 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26026 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26027
def7fbd6
AS
260282011-05-20 Andreas Schwab <schwab@redhat.com>
26029
26030 * stdlib/longlong.h: Update from GCC.
26031
f50ef8f1
AS
260322011-05-23 Andreas Schwab <schwab@redhat.com>
26033
26034 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26035 parameter name.
26036 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26037 Add parameter name.
26038 (__sysconf): Pass it down.
26039
de7ce8f1
UD
260402011-05-22 Ulrich Drepper <drepper@gmail.com>
26041
f2962a71
UD
26042 [BZ #12671]
26043 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26044 some situations.
26045 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26046 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26047 add in in __libc_use_alloca calls. Adjust callers.
26048 (glob): Use malloc in some situations.
26049
de7ce8f1
UD
26050 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26051 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26052 pltexit.
26053
aec84f53
UD
260542011-05-21 Ulrich Drepper <drepper@gmail.com>
26055
05bb4a68
UD
26056 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26057 and CLOCK_BOOTTIME_ALARM.
26058
7ea72f99
UD
26059 [BZ #12782]
26060 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26061 is returned.
26062
7e4afad5
UD
26063 * string/_strerror.c (__strerror_r): Print negative errors as signed
26064 numbers.
26065
8e211fec
UD
26066 [BZ #12777]
26067 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26068 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26069 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26070
f7d82dc9
UD
26071 * configure.in: Fix typo in redirection and correct removal of test
26072 files in two cases.
26073
cc9e536d
UD
26074 [BZ #12788]
26075 * locale/setlocale.c (new_composite_name): Fix test to check for
26076 identical name of all categories.
26077
aec84f53
UD
26078 [BZ #12792]
26079 * libio/filedoalloc.c (local_isatty): New function.
26080 (_IO_file_doallocate): Use local_isatty.
26081 * stdio-common/perror.c (perror): In case a new stream is used
26082 forward the stream error.
26083 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26084 error flag.
26085
78e64fdc
RT
260862011-05-20 Ulrich Drepper <drepper@gmail.com>
26087
34a9094f
UD
26088 [BZ #11869]
26089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26090 alloca.
26091 * include/alloca.h (extend_alloca_account): Define.
26092
78e64fdc
RT
26093 [BZ #11857]
26094 * posix/regex.h: Fix comments with documentation of user-accessible
26095 fields after compilation and describe correct free'ing of pattern
26096 after re_compile_pattern.
26097 Patch by Reuben Thomas <rrt@sc3d.org>.
26098
457bddfc
RA
260992011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26100
26101 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26102 and -mno-altivec to prevent the compiler from using Altivec and/or
26103 VSX instructions when the corresponding registers are not available.
26104
a4527b51
AS
261052011-05-19 Andreas Schwab <schwab@redhat.com>
26106
26107 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26108
ed690b2f
UD
261092011-05-19 Ulrich Drepper <drepper@gmail.com>
26110
26111 * libio/freopen.c (freopen): Use __dup2, not dup2.
26112 * libio/freopen64.c (freopen64): Likewise.
26113
8db73634
L
261142011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26115
26116 [BZ #12775]
26117 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26118 * math/Makefile (tests): Add test-powl.
26119 (CFLAGS-test-powl.c): Define.
26120 * math/test-powl.c: New file.
26121
0a197a9d
L
261222011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26123
26124 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26125
ee30c380
UD
261262011-05-17 Ulrich Drepper <drepper@gmail.com>
26127
26128 [BZ #11837]
26129 * iconvdata/gb18030.c: Update to GB18020-2005.
26130
6ce75379
UD
261312011-05-16 Ulrich Drepper <drepper@gmail.com>
26132
a4b89fd8
AR
26133 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26134 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26135 Patch by Aharon Robbins <arnold@skeeve.com>.
26136
ea389b12
UD
26137 [BZ #11892]
26138 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26139 on the stack.
26140
68a3f91f
UD
26141 [BZ #11895]
26142 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26143 through underflows.
26144
15cc7dd1
UD
26145 [BZ #12766]
26146 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26147 point to strings before performing equality test for error_one_per_line
26148 mode.
26149
f3799213
UD
26150 [BZ #11697]
26151 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26152
d79a9c94
UD
26153 [BZ #11820]
26154 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26155 (struct user_fpregs_struct): Avoid __uint*_t types.
26156
56e5eb46
UD
26157 [BZ #6420]
26158 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26159 symbol info. Use it instead of calling _dl_addr locally.
26160 (lock_and_info): New function.
26161 (tr_freehook): Call lock_and_info and pass symbol info as additional
26162 parameter to tr_where.
26163 (tr_mallochook): Likewise.
26164 (tr_reallochook): Likewise.
26165 (tr_memalignhook): Likewise.
26166
6ce75379
UD
26167 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26168 used and couldn't be at all thread-safe.
26169
f8a3b5bf
UD
261702011-05-15 Ulrich Drepper <drepper@gmail.com>
26171
94b7cc37
UD
26172 * libio/freopen.c (freopen): Don't close old file descriptor
26173 before the new one is opened. Instead dup the new file descriptor
26174 to the old one after the new stream is created.
26175 * libio/freopen64.c (freopen64): Likewise.
26176 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26177 * libio/fileops.c (_IO_new_file_close_it): Handle new
26178 _IO_FLAGS2_NOCLOSE flag.
26179 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26180 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26181 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26182 _IO_FLAGS2_NOCLOSE flag.
26183 * include/unistd.h: Add hidden_proto for dup3.
26184 Define __have_dup3.
26185 * io/dup3.c: Define hidden symbol.
26186 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26187
bd25564e
UD
26188 [BZ #7101]
26189 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26190 when an incomplete long option is used.
26191 * posix/tst-getopt_long1.c: New file.
26192 * posix/Makefile (tests): Add tst-getopt_long1.
26193
c84cfef4
UD
26194 [BZ #10138]
26195 * scripts/config.guess: Update from autoconf-2.68.
26196 * scripts/config.sub: Likewise.
26197
3b85df27
UD
26198 [BZ #10157]
26199 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26200 tests into ...
26201 (has_cpuclock): ...this. New function.
26202 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26203 macro here based on has_cpuclock code.
26204
15a856b1
UD
26205 [BZ #10149]
26206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26207 First byte (not low byte) is now always NUL.
26208 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26209
05f399e6
UD
26210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26211 Use non-cancelable interfaces.
26212
10a52685 26213 [BZ #9809]
94ecc67d
UD
26214 * locale/iso-639.def: Add entry for Sorani.
26215
f8a3b5bf
UD
26216 [BZ #11901]
26217 * include/stdlib.h: Move include protection to the right place.
26218 Define abort_msg_s. Declare __abort_msg with it.
26219 * stdlib/abort.c (__abort_msg): Adjust type.
26220 * assert/assert.c (__assert_fail_base): New function. Majority
26221 of code from __assert_fail. Allocate memory for __abort_msg with
26222 mmap.
26223 (__assert_fail): Now call __assert_fail_base.
26224 * assert/assert-perr.c: Remove bulk of implementation. Use
26225 __assert_fail_base.
26226 * include/assert.hL Declare __assert_fail_base.
26227 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26228 mmap.
26229 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26230
1af4e298
UD
262312011-05-14 Ulrich Drepper <drepper@gmail.com>
26232
f8a3b5bf 26233 [BZ #11952]
d26dfc60
MG
26234 [BZ #12453]
26235 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26236 until all modules are registered in the DTV.
26237 * elf/Makefile: Add rules to build and run tst-tls19.
26238 * elf/tst-tls19.c: New file.
26239 * elf/tst-tls19mod1.c: New file.
26240 * elf/tst-tls19mod2.c: New file.
26241 * elf/tst-tls19mod3.c: New file.
26242 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26243
2fc54d6f
UD
26244 [BZ #12083]
26245 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26246 correctly.
26247
98d76b46
UD
26248 [BZ #12601]
26249 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26250 two-byte sequence errors.
26251 * iconvdata/Makefile (tests): Add bug-iconv8.
26252 * iconvdata/bug-iconv8.c: New file.
26253
da3c19ef
UD
26254 [BZ #12626]
26255 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26256 buf2 definition.
26257
ca408c15
UD
26258 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26259
d6f67f7d
UD
26260 [BZ #12432]
26261 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26262 (dummy_getcfa): New function.
26263 (init): Get _Unwind_GetCFA address, use dummy if not found.
26264 (backtrace_helper): In recursion check, also check whether CFA changes.
26265 (__backtrace): Completely initialize arg.
26266
1af4e298 26267 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26268 storing incomplete byte sequence in state object. Avoid testing for
26269 guaranteed too small input if we know there is enough data available.
1af4e298 26270
da62f81b
AS
262712011-05-11 Andreas Schwab <schwab@redhat.com>
26272
26273 * Makeconfig (+link-pie): Indent.
26274 * Rules (binaries-pie): Define if $(have-fpie) and
26275 $(build-shared).
26276 (binaries-shared): Also filter out $(binaries-pie).
26277 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26278 * nscd/Makefile (others-pie): Add nscd.
26279 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26280 ($(objpfx)nscd): Remove command override.
26281 * login/Makefile (others-pie): Add pt_chown.
26282 ($(objpfx)pt_chown): Remove command override.
26283 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26284 remove command overrides.
26285
fcabc0f8
UD
262862011-05-13 Ulrich Drepper <drepper@gmail.com>
26287
20030ae6
UD
26288 * libio/tst_putwc.c: Fix error messages.
26289
fcabc0f8
UD
26290 [BZ #12724]
26291 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26292 currently writing and seek to current position when not.
26293 * libio/Makefile (tests): Add bug-fclose1.
26294 * libio/bug-fclose1.c: New file.
26295
320a5dc0
PB
262962011-05-12 Ulrich Drepper <drepper@gmail.com>
26297
26298 [BZ #12511]
26299 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26300 don't set DF_1_NODELETE here.
26301 (do_lookup_x): When entering new entry test for copy relocation
26302 and if necessary set DF_1_NODELETE flag.
26303 * elf/tst-unique4.cc: New file.
26304 * elf/tst-unique4.h: New file.
26305 * elf/tst-unique4lib.cc: New file.
26306 * elf/Makefile: Add rules to build and run tst-unique4.
26307 Patch by Piotr Bury <pbury@goahead.com>.
26308
22836f52
UD
263092011-05-11 Ulrich Drepper <drepper@gmail.com>
26310
f574184a
UD
26311 [BZ #12052]
26312 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26313
e1fb097f
UD
26314 [BZ #12625]
26315 * misc/mntent_r.c (addmntent): Flush the stream after the output
26316
22836f52
UD
26317 [BZ #12393]
26318 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26319 (is_trusted_path_normalize): Skip initial colon. Append slash
26320 to empty buffer. Duplicate is_trusted_path code but allow
26321 constructed patch to be prefix.
26322 (is_dst): Allow $ORIGIN followed by /.
26323 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26324 Correct testing of result of is_trusted_path_normalize
26325 (decompose_rpath): Fix warning.
26326
7b3b0b2a
UD
263272011-05-10 Ulrich Drepper <drepper@gmail.com>
26328
26329 [BZ #11257]
26330 * grp/initgroups.c (internal_getgrouplist): When we found the service
26331 list through the initgroups entry in nsswitch.conf do not always
26332 continue on a successful lookup. Don't always use the
eac80ce2 26333 __nss_group_database value if it is set.
7b3b0b2a
UD
26334 * nss/nsswitch.conf (initgroups): Change action for successful db
26335 lookup to continue for compatibility.
26336
2a81eaa5
UD
263372011-05-09 Ulrich Drepper <drepper@gmail.com>
26338
be97a69e
UD
26339 [BZ #11532]
26340 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26341 and CP774 modules.
26342 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26343 and CP774 modules.
26344 * iconvdata/tst-tables.sh: Likewise.
26345 * iconvdata/cp770.c: New file.
26346 * iconvdata/cp771.c: New file.
26347 * iconvdata/cp772.c: New file.
26348 * iconvdata/cp773.c: New file.
26349 * iconvdata/cp774.c: New file.
26350 * iconvdata/testdata/CP770: New file.
26351 * iconvdata/testdata/CP770..UTF8: New file.
26352 * iconvdata/testdata/CP771: New file.
26353 * iconvdata/testdata/CP771..UTF8: New file.
26354 * iconvdata/testdata/CP772: New file.
26355 * iconvdata/testdata/CP772..UTF8: New file.
26356 * iconvdata/testdata/CP773: New file.
26357 * iconvdata/testdata/CP773..UTF8: New file.
26358 * iconvdata/testdata/CP774: New file.
26359 * iconvdata/testdata/CP774..UTF8: New file.
26360
26361 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26362 END CHARMAP line.
26363 * iconvdata/gen-8bit-gap.sh: Likewise.
26364 * iconvdata/gen-8bit.sh: Likewise.
26365
c1e9e399
UD
26366 * locale/iso-639.def: Add ary entry.
26367
24c55fb3 26368 [BZ #11258]
96b4b1b0
UD
26369 * locale/C-translit.h.in: Add U20A1 transliteration.
26370
bdc2f971
KB
26371 [BZ #12178]
26372 * locale/iso-639.def: Add wae entry.
26373 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26374
2952b117
UD
26375 [BZ #12545]
26376 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26377 for n.
26378
2a81eaa5
UD
26379 [BZ #12711]
26380 * locale/C-translit.h.in: Add entry for U20B9.
26381 Patch by pravin.d.s@gmail.com.
26382
28377d1b
UD
263832011-05-08 Ulrich Drepper <drepper@gmail.com>
26384
7fb90fb8
UD
26385 [BZ #12713]
26386 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26387 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26388 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26389 in rtld. Use *stat64.
7fb90fb8 26390 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26391 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26392 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26393 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26394 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26395 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26396 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26397 __fstatat64 macros.
7fb90fb8
UD
26398 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26399 * dirent/rewinddir.c: Add libc_hidden_def.
26400 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26401 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26402
28377d1b
UD
26403 * include/dirent.h (__alloc_dir): Add flags parameter.
26404 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26405 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26406 __alloc_dir.
26407 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26408 from fdopendir if O_CLOEXEC is already set.
26409
66bdbaa4
AM
264102011-03-15 Alan Modra <amodra@gmail.com>
26411
26412 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26413 l_tls_firstbyte_offset non-zero. Save padding offset in
26414 l_tls_firstbyte_offset for later use.
26415 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26416 freeing static tls block.
26417
95721191
JN
264182011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26419
26420 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26421 where #ifdef was intended. The intent is to prevent ARG_MAX from
26422 being defined by the kernel headers.
26423
f87dfb1f
UD
264242011-05-07 Ulrich Drepper <drepper@gmail.com>
26425
26426 [BZ #12734]
26427 * resolv/resolv.h: Define RES_NOTLDQUERY.
26428 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26429 no-tld-query and set RES_NOTLDQUERY.
26430 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26431 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26432 modern BIND to search name as TLD unless forbidden.
26433
47c3cd7a
UD
264342011-05-07 Petr Baudis <pasky@suse.cz>
26435 Ulrich Drepper <drepper@gmail.com>
26436
26437 [BZ #12393]
26438 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26439 (is_trusted_path): ...to here.
c1e9ea35 26440 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26441 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26442 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26443
8a35c912
PP
264442011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26445
26446 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26447 __BEGIN/__END_DECLS.
26448
acd41f47
UD
264492011-05-06 Ulrich Drepper <drepper@gmail.com>
26450
26451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26452 NSS_STATUS_NOTFOUND if no record was found.
26453
597df647
AS
264542011-05-05 Andreas Schwab <schwab@redhat.com>
26455
26456 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26457 (headers-not-in-tirpc): Remove rpc/netdb.h
26458 * resolv/netdb.h: Revert last change.
26459
b9af1301
PP
264602011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26461
26462 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26463 circular dependency between libgcc.a and libc.a.
26464
4e34d5f5
AS
264652011-05-05 Andreas Schwab <schwab@redhat.com>
26466
26467 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26468 * nis/Makefile: Don't install rpcsvc/*.
26469 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26470 instead of <rpc/types.h>.
26471 (MAXHOSTNAMELEN): Define.
26472
00ee369c
AS
264732011-05-03 Andreas Schwab <schwab@redhat.com>
26474
26475 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26476
0b592a30
MB
264772011-04-28 Maciej Babinski <mbabinski@google.com>
26478
26479 [BZ #12714]
26480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26481 gethostbyname4_r when IPv6 results are possible.
26482
6e04cbbe
UD
264832011-05-02 Ulrich Drepper <drepper@gmail.com>
26484
26485 [BZ #12723]
26486 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26487 _PC_PIPE_BUF handling.
26488
e4ecafe0
BH
264892011-04-30 Bruno Haible <bruno@clisp.org>
26490
26491 [BZ #12717]
26492 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26493 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26494 to 'int'.
26495 * inet/getnameinfo.c (getnameinfo): Likewise.
26496
125ee683
UD
264972011-04-29 Ulrich Drepper <drepper@gmail.com>
26498
26499 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26500 to groups setting in database lookup.
26501 * nss/nsswitch.conf: Add initgroups entry.
26502
b722481a
EB
265032011-04-22 Ulrich Drepper <drepper@gmail.com>
26504
26505 [BZ #12685]
26506 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26507 mode string.
26508 Patch by Eric Blake <eblake@redhat.com>.
26509
4df46dbd
L
265102011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26511
26512 * sunrpc/Makefile (need-export-routines): Add svc_run.
26513 (routines): Remove svc_run.
26514 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26515 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26516 * sunrpc/svc_run.c (svc_run): Likewise.
26517 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26518
e84142d2
UD
265192011-04-21 Ulrich Drepper <drepper@gmail.com>
26520
26521 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26522 problem in reallocation in last patch.
26523
877175d8
UD
265242011-04-20 Ulrich Drepper <drepper@gmail.com>
26525
26526 * sunrpc/Makefile: Move inclusion of Rules.
26527
ab8eed78
UD
265282011-04-19 Ulrich Drepper <drepper@gmail.com>
26529
26530 * nss/nss_files/files-initgroups.c: New file.
26531 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26532 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26533 _nss_files_initgroups_dyn.
26534
e3d8f584
RS
265352011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26536
26537 * elf/elf.h (R_ARM_IRELATIVE): Define.
26538
af190f45
UD
265392011-04-19 Ulrich Drepper <drepper@gmail.com>
26540
26541 * po/ru.po: Update from translation team.
26542
53cf59ef
UD
265432011-04-17 Ulrich Drepper <drepper@gmail.com>
26544
26545 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26546 dependencies.
26547
4c559bcd
MF
265482011-02-06 Mike Frysinger <vapier@gentoo.org>
26549
26550 [BZ #12653]
26551 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26552 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26554 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26555 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26556
4420675c
AS
265572011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26558
26559 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26560 differing bytes.
26561 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26562 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26564
75ea32ab
UD
265652011-04-17 Ulrich Drepper <drepper@gmail.com>
26566
26567 [BZ #12420]
26568 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26569 storing it.
26570 * stdlib/bug-getcontext.c: New file.
26571 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26572
27390476
AK
265732011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26574
26575 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26576 instructions into .machine "z9-109".
26577 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26578 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26579
10442705
AK
265802011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26581
26582 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26583 between environment variables and auxiliary vector.
26584
7b57bfe5
UD
265852011-04-16 Ulrich Drepper <drepper@gmail.com>
26586
26587 * Makefile: Add rules to build linkobj/libc.so.
26588 * include/libc-symbols.h: Define libc_hidden_nolink.
26589 * include/rpc/auth.h: Mark functions which are to be hidden.
26590 * include/rpc/auth_des.h: Likewise.
26591 * include/rpc/auth_unix.h: Likewise.
26592 * include/rpc/clnt.h: Likewise.
26593 * include/rpc/des_crypt.h: Likewise.
26594 * include/rpc/key_prot.h: Likewise.
26595 * include/rpc/pmap_clnt.h: Likewise.
26596 * include/rpc/pmap_prot.h: Likewise.
26597 * include/rpc/pmap_rmt.h: Likewise.
26598 * include/rpc/rpc_msg.h: Likewise.
26599 * include/rpc/svc.h: Likewise.
26600 * include/rpc/svc_auth.h: Likewise.
26601 * include/rpc/xdr.h: Likewise.
26602 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26603 * nss/Makefile: Likewise.
26604 * sunrpc/Makefile: Don't install headers. Build library with normal
26605 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26606 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26607 for the compat linking library. Remove use of INTDEF/INTUSE.
26608 * sunrpc/auth_none.c: Likewise.
26609 * sunrpc/auth_unix.c: Likewise.
26610 * sunrpc/authdes_prot.c: Likewise.
26611 * sunrpc/authuxprot.c: Likewise.
26612 * sunrpc/clnt_gen.c: Likewise.
26613 * sunrpc/clnt_perr.c: Likewise.
26614 * sunrpc/clnt_raw.c: Likewise.
26615 * sunrpc/clnt_simp.c: Likewise.
26616 * sunrpc/clnt_tcp.c: Likewise.
26617 * sunrpc/clnt_udp.c: Likewise.
26618 * sunrpc/clnt_unix.c: Likewise.
26619 * sunrpc/des_crypt.c: Likewise.
26620 * sunrpc/des_soft.c: Likewise.
26621 * sunrpc/get_myaddr.c: Likewise.
26622 * sunrpc/key_call.c: Likewise.
26623 * sunrpc/key_prot.c: Likewise.
26624 * sunrpc/netname.c: Likewise.
26625 * sunrpc/pm_getmaps.c: Likewise.
26626 * sunrpc/pm_getport.c: Likewise.
26627 * sunrpc/pmap_clnt.c: Likewise.
26628 * sunrpc/pmap_prot.c: Likewise.
26629 * sunrpc/pmap_prot2.c: Likewise.
26630 * sunrpc/pmap_rmt.c: Likewise.
26631 * sunrpc/publickey.c: Likewise.
26632 * sunrpc/rpc_cmsg.c: Likewise.
26633 * sunrpc/rpc_common.c: Likewise.
26634 * sunrpc/rpc_dtable.c: Likewise.
26635 * sunrpc/rpc_prot.c: Likewise.
26636 * sunrpc/rpc_thread.c: Likewise.
26637 * sunrpc/rtime.c: Likewise.
26638 * sunrpc/svc.c: Likewise.
26639 * sunrpc/svc_auth.c: Likewise.
26640 * sunrpc/svc_authux.c: Likewise.
26641 * sunrpc/svc_raw.c: Likewise.
26642 * sunrpc/svc_run.c: Likewise.
26643 * sunrpc/svc_simple.c: Likewise.
26644 * sunrpc/svc_tcp.c: Likewise.
26645 * sunrpc/svc_udp.c: Likewise.
26646 * sunrpc/svc_unix.c: Likewise.
26647 * sunrpc/svcauth_des.c: Likewise.
26648 * sunrpc/xcrypt.c: Likewise.
26649 * sunrpc/xdr.c: Likewise.
26650 * sunrpc/xdr_array.c: Likewise.
26651 * sunrpc/xdr_float.c: Likewise.
26652 * sunrpc/xdr_intXX_t.c: Likewise.
26653 * sunrpc/xdr_mem.c: Likewise.
26654 * sunrpc/xdr_rec.c: Likewise.
26655 * sunrpc/xdr_ref.c: Likewise.
26656 * sunrpc/xdr_sizeof.c: Likewise.
26657 * sunrpc/xdr_stdio.c: Likewise.
26658
e6c61494
UD
266592011-04-10 Ulrich Drepper <drepper@gmail.com>
26660
26661 [BZ #12650]
26662 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26663 * sysdeps/ia64/dl-tls.h: Likewise.
26664 * sysdeps/powerpc/dl-tls.h: Likewise.
26665 * sysdeps/s390/dl-tls.h: Likewise.
26666 * sysdeps/sh/dl-tls.h: Likewise.
26667 * sysdeps/sparc/dl-tls.h: Likewise.
26668 * sysdeps/x86_64/dl-tls.h: Likewise.
26669 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26670
34fe483e
AS
266712011-03-14 Andreas Schwab <schwab@redhat.com>
26672
26673 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26674 rpath element also skip the following colon.
26675 (expand_dynamic_string_token): Add is_path parameter and pass
26676 down to DL_DST_REQUIRED and _dl_dst_substitute.
26677 (decompose_rpath): Call expand_dynamic_string_token with
26678 non-zero is_path. Ignore empty rpaths.
26679 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26680 with zero is_path.
26681
f12a32e6
AS
266822011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26683
26684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26685 Make cancelable.
26686
38a7d692
UD
266872011-04-09 Ulrich Drepper <drepper@gmail.com>
26688
26689 [BZ #12655]
26690 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26691 Patch by Filipe David Manana <fdmanana@apache.org>.
26692
e451d22b
AS
266932011-04-07 Andreas Schwab <schwab@redhat.com>
26694
26695 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26696 Maintain aligned stack.
26697 (CHECK_RSP): Remove unused macro.
26698
dedc7c7b
UD
266992011-04-03 Ulrich Drepper <drepper@gmail.com>
26700
26701 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26702 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26703
94521213
UD
267042011-04-02 Ulrich Drepper <drepper@gmail.com>
26705
26706 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26707
8cb700c0 26708 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26709
0354e355
L
267102011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26711
26712 [BZ #12518]
26713 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26714 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26715 * sysdeps/x86_64/memmove.c: New file.
26716 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26717 (memcpy): Renamed to ...
26718 (__new_memcpy): This.
26719 (memcpy): Provide GLIBC_2_14 memcpy.
26720 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26721 (memcpy): Provide GLIBC_2_2_5 memcpy.
26722
8593482f
UD
267232011-04-01 Ulrich Drepper <drepper@gmail.com>
26724
26725 [BZ #12631]
26726 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26727
81a5726b
AS
267282011-03-30 Andreas Schwab <schwab@redhat.com>
26729
26730 * misc/syncfs.c: New file.
26731 * misc/Makefile (routines): Add syncfs.
26732 * posix/unistd.h: Declare syncfs.
26733 * sysdeps/unix/syscalls.list: Add syncfs.
26734
00e5419f
AS
267352011-04-01 Andreas Schwab <schwab@redhat.com>
26736
26737 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26738 open_by_handle_at.
26739 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26740 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26742 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26744 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26745 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26746
748876bf
UD
267472011-04-01 Ulrich Drepper <drepper@gmail.com>
26748
658e451d
UD
26749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26750 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26751 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26753 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26755 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26756
748876bf
UD
26757 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26758 sync_file_range.c with -fexceptions.
26759 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26760 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26761 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26762 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26763 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26764 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26765 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26766 sync_file_range as cancellation point
26767 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26768 now a wrapper around __call_sync_file_range with cancellation handling.
26769 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26770 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26771 function name to __call_sync_file_range.
26772 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26773 Add call_sync_file_range.
748876bf 26774
6e63d5e1
AS
267752011-04-01 Andreas Schwab <schwab@redhat.com>
26776
26777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26778 bits/timex.h.
6e63d5e1 26779
46998f74
UD
267802011-04-01 Ulrich Drepper <drepper@gmail.com>
26781
4c1423ed
UD
26782 * iconv/iconv.h: Fix typo in comment.
26783 * io/fcntl.h: Likewise.
26784 * libio/stdio.h: Likewise.
26785 * posix/spawn.h: Likewise.
26786 * posix/unistd.h: Likewise.
26787 * stdlib/stdlib.h: Likewise.
26788 * time/time.h: Likewise.
26789 * wcsmbs/wchar.h: Likewise.
26790
158648c0
UD
26791 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26792 open_by_handle): Add.
26793 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26794 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26795 Augment a few comments.
26796 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26797 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26801 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26802 open_by_handle.
26803
46998f74
UD
26804 * io/fcntl.h (AT_EMPTY_PATH): Define.
26805
83fe108b
UD
268062011-03-30 Ulrich Drepper <drepper@gmail.com>
26807
26808 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26809 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26810 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26811 to...
26812 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26813 * Versions.def: Add GLIBC_2.14.
26814 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26815 Export.
83fe108b 26816
bb242059
UD
268172011-03-22 Ulrich Drepper <drepper@gmail.com>
26818
26819 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26820 round counter.
26821 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26822
c97a1282
L
268232011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26824
26825 [BZ #12597]
26826 * string/test-strncmp.c (do_page_test): New function.
26827 (check2): Likewise.
26828 (test_main): Call check2.
26829 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26830
2a115601
UD
268312011-03-20 Ulrich Drepper <drepper@gmail.com>
26832
26833 [BZ #12587]
26834 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26835 Handle cache information in CPU leaf 4.
26836 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26837
8126d904
UD
268382011-03-18 Ulrich Drepper <drepper@gmail.com>
26839
042c49c6 26840 [BZ #12583]
8126d904
UD
26841 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26842 character representation.
26843 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26844
ccfe366e
RA
268452011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26846
26847 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26848 END(__isnan) to END(__isnanf) to match function entry point/label
26849 EALIGN(__isnanf,...).
26850
c6e13027
JJ
268512011-03-10 Jakub Jelinek <jakub@redhat.com>
26852
26853 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26854
33f85a3f
UD
268552011-03-10 Ulrich Drepper <drepper@gmail.com>
26856
028478fa
UD
26857 [BZ #12510]
26858 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26859 copy from the symbol referenced in the relocation to initialize the
26860 used variable.
26861 Patch by Piotr Bury <pbury@goahead.com>.
26862 * elf/Makefile: Add rules to build and tst-unique3.
26863 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26864 * elf/tst-unique3.cc: New file.
26865 * elf/tst-unique3.h: New file.
26866 * elf/tst-unique3lib.cc: New file.
26867 * elf/tst-unique3lib2.cc: New file.
26868
33f85a3f
UD
26869 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26870
03592fc7
MF
268712011-03-10 Mike Frysinger <vapier@gentoo.org>
26872
26873 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26874 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26875 to _start.
03592fc7 26876
6a5ee102
UD
268772011-03-06 Ulrich Drepper <drepper@gmail.com>
26878
26879 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26880 to-be-loaded object along a path to loader is ld.so.
26881
7e4ba49c
HJ
268822011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26883 Ulrich Drepper <drepper@gmail.com>
26884
26885 * sysdeps/x86_64/memset.S: After aligning destination, code
26886 branches to different locations depending on the value of
26887 misalignment, when multiarch is enabled. Fix this.
26888
268892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26890
26891 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26892 Set _x86_64_preferred_memory_instruction for AMD processsors.
26893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26894 Set bit_Prefer_SSE_for_memop for AMD processors.
26895
13a804de
UD
268962011-03-04 Ulrich Drepper <drepper@gmail.com>
26897
26898 * libio/fmemopen.c (fmemopen): Optimize a bit.
26899
9d25c392
AS
269002011-03-03 Andreas Schwab <schwab@redhat.com>
26901
26902 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26903
a5543c6a
RM
269042011-03-03 Roland McGrath <roland@redhat.com>
26905
26906 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26907
012d35f7
DM
269082011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26909
7e4ba49c 26910 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26911 __bzero_ultra1 instead of __memset_ultra1.
26912
4bff6e01
AS
269132011-02-23 Andreas Schwab <schwab@redhat.com>
26914 Ulrich Drepper <drepper@gmail.com>
26915
26916 [BZ #12509]
26917 * include/link.h (struct link_map): Add l_orig_initfini.
26918 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26919 returning unsuccessfully.
26920 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26921 close of a file loaded at startup, restore the original l_initfini
26922 list.
26923 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26924 list, store the pointer.
26925 * elf/Makefile ($(objpfx)noload-mem): New rule.
26926 (noload-ENV): Define.
26927 (tests): Add $(objpfx)noload-mem.
26928 * elf/noload.c: Include <memcheck.h>.
26929 (main): Call mtrace. Close all opened handles.
26930
f2092faf
AS
269312011-02-17 Andreas Schwab <schwab@redhat.com>
26932
26933 [BZ #12454]
26934 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26935 dependencies are missing.
26936
6c8a2e88
ST
269372011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26938
f2092faf 26939 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26940 Hurd needs munmap.
26941 * sysdeps/mach/hurd/ifreq.h: New file.
26942
84a42118
PB
269432011-01-27 Petr Baudis <pasky@suse.cz>
26944 Ulrich Drepper <drepper@gmail.com>
26945
071f805e 26946 [BZ 12445]#
84a42118
PB
26947 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26948 to extend_alloca().
26949 * stdio-common/bug23.c: New file.
26950 * stdio-common/Makefile (tests): Add bug23.
26951
e23fe25b
AS
269522010-09-28 Andreas Schwab <schwab@redhat.com>
26953 Ulrich Drepper <drepper@gmail.com>
26954
26955 [BZ #12489]
26956 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26957 before performing relro protection. At old place add assertion
26958 to make sure nothing changed.
26959
d3f02e10
NS
269602011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26961 Glauber de Oliveira Costa <glommer@gmail.com>
26962
26963 * elf/elf.h: Add new ARM TLS relocs.
26964
d55fd7a5
RA
269652011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26966
26967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26968 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26969 cast from r3.
26970 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26971 'tests' variable.
26972 * sysdeps/wordsize-64/tst-writev.c: New file.
26973
2206397e
RA
269742011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26975
26976 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26977 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26978 insns in _dl_start to prevent a TOC reference before relocs are
26979 resolved.
26980
e9433893
UD
269812011-02-15 Ulrich Drepper <drepper@gmail.com>
26982
26983 [BZ #12469]
26984 * Makeconfig: Remove RANLIB definition.
26985 * Makerules: Don't use RANLIB.
26986 * aclocal.m4: Remove ranlib test.
26987 * configure.in: No need to check for ranlib.
26988 * elf/rtld-Rules: Don't use RANLIB.
26989
f75286c6
ST
269902011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26991
8e31c82d
ST
26992 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26993 protection macro.
26994 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26995 inclusion protection macro.
26996
f75286c6
ST
26997 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26998 SIGRTMIN and SIGRTMAX and print information in that case only when
26999 SIGRTMIN is defined.
27000
c1d0e639
JJ
270012011-02-11 Jakub Jelinek <jakub@redhat.com>
27002
27003 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27004 arginfo fn returning -1.
27005
27006 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27007 and thousands string is zero terminated.
27008
edf9294e
AS
270092011-02-03 Andreas Schwab <schwab@redhat.com>
27010
27011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27012 sysdeps/unix/sysv/linux/bits/socket.h.
27013
2b7e92df
ST
270142011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27015
edf9294e
AS
27016 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27017 (__CPU_COUNT): Remove old macros.
27018 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27019 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27020 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
27021 (__sched_cpualloc, __sched_cpufree): Add declarations.
27022
a4c7ea7b
UD
270232011-02-05 Ulrich Drepper <drepper@gmail.com>
27024
27025 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27026 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27027 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27028 (readdhstai): Return value of addhstaiX call.
27029 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27030 (addgrbyX): Return value returned by cache_addgr.
27031 (readdgrbyname): Return value returned by addgrbyX.
27032 (readdgrbygid): Likewise.
27033 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27034 (addpwbyX): Return value returned by cache_addpw.
27035 (readdpwbyname): Return value returned by addhstbyX.
27036 (readdpwbyuid): Likewise.
27037 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27038 (addservbyX): Return value returned by cache_addserv.
27039 (readdservbyname): Return value returned by addservbyX:
27040 (readdservbyport): Likewise.
27041 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27042 (addhstbyX): Return value returned by cache_addhst.
27043 (readdhstbyname): Return value returned by addhstbyX.
27044 (readdhstbyaddr): Likewise.
27045 (readdhstbynamev6): Likewise.
27046 (readdhstbyaddrv6): Likewise.
27047 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27048 (readdinitgroups): Return value returned by addinitgroupsX.
27049 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27050 (prune_cache): Keep track of timeout value of re-added entries.
27051 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27052 * nscd/nscd.h: Adjust prototypes of readd* functions.
27053
a0bf67cc
RM
270542011-02-04 Roland McGrath <roland@redhat.com>
27055
27056 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27057 (nis_stats): Likewise.
27058 * nis/nis_modify.c (nis_modify): Likewise.
27059 * nis/nis_remove.c (nis_remove): Likewise.
27060 * nis/nis_add.c (nis_add): Likewise.
27061
27062 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27063
27064 * posix/fnmatch_loop.c: Add some consts.
27065
27066 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27067
435b95eb
L
270682011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27069
27070 [BZ #12460]
27071 * config.make.in (config-cflags-novzeroupper): Define.
27072 * configure.in: Substitute libc_cv_cc_novzeroupper.
27073 * elf/Makefile (AVX-CFLAGS): Define.
27074 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27075 (CFLAGS-tst-auditmod4a.c): Likewise.
27076 (CFLAGS-tst-auditmod4b.c): Likewise.
27077 (CFLAGS-tst-auditmod6b.c): Likewise.
27078 (CFLAGS-tst-auditmod6c.c): Likewise.
27079 (CFLAGS-tst-auditmod7b.c): Likewise.
27080 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27081
8517b15e
UD
270822011-02-02 Ulrich Drepper <drepper@gmail.com>
27083
27084 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27085 function to the callback.
27086 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27087
10a656fe
AS
270882011-02-02 Andreas Schwab <schwab@redhat.com>
27089
27090 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27091 of errno.
27092
968dad0a
UD
270932011-01-19 Ulrich Drepper <drepper@gmail.com>
27094
9f94d2ea 27095 [BZ #11724]
968dad0a
UD
27096 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27097 of constructors.
27098 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27099 of destructors.
27100 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27101
27102 [BZ #11724]
27103 * elf/Makefile: Add rules to build and run new test.
27104 * elf/tst-initorder.c: New file.
27105 * elf/tst-initorder.exp: New file.
27106 * elf/tst-initordera1.c: New file.
27107 * elf/tst-initordera2.c: New file.
27108 * elf/tst-initordera3.c: New file.
27109 * elf/tst-initordera4.c: New file.
27110 * elf/tst-initorderb1.c: New file.
27111 * elf/tst-initorderb2.c: New file.
27112 * elf/tst-order-a1.c: New file.
27113 * elf/tst-order-a2.c: New file.
27114 * elf/tst-order-a3.c: New file.
27115 * elf/tst-order-a4.c: New file.
27116 * elf/tst-order-b1.c: New file.
27117 * elf/tst-order-b2.c: New file.
27118 * elf/tst-order-main.c: New file.
27119 New test case by George Gensure <werkt0@gmail.com>.
27120
86e92359
UD
271212010-10-01 Andreas Schwab <schwab@redhat.com>
27122
27123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27124 decoding ACE if AI_CANONIDN.
27125
5d5732b0
UD
271262011-01-18 Ulrich Drepper <drepper@gmail.com>
27127
27128 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27129
a77e8cbc
UD
271302011-01-17 Ulrich Drepper <drepper@gmail.com>
27131
6392473f
UD
27132 * version.h (RELEASE): Bump for 2.13 release.
27133 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27134
620a0529
UD
27135 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27136
18ba70a5
UD
27137 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27138 MADV_NOHUGEPAGE.
32465c3e
UD
27139 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27140 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27141 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27142 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27143 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27144 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27145
c0dafcf1
UD
27146 * posix/getconf.c: Update copyright year.
27147 * catgets/gencat.c: Likewise.
27148 * csu/version.c: Likewise.
27149 * debug/catchsegv.sh: Likewise.
27150 * debug/xtrace.sh: Likewise.
27151 * elf/ldconfig.c: Likewise.
27152 * elf/ldd.bash.in: Likewise.
27153 * elf/sprof.c (print_version): Likewise.
27154 * iconv/iconv_prog.c: Likewise.
27155 * iconv/iconvconfig.c: Likewise.
27156 * locale/programs/locale.c: Likewise.
27157 * locale/programs/localedef.c: Likewise.
27158 * malloc/memusage.sh: Likewise.
27159 * malloc/mtrace.pl: Likewise.
27160 * nscd/nscd.c (print_version): Likewise.
27161 * nss/getent.c: Likewise.
27162
a77e8cbc
UD
27163 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27164 PF_CAIF, and PF_ALG.
27165 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27166
77e8bddf
AS
271672011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27168
1f20b93a
AS
27169 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27170 (modules-names): Use them.
27171 (ifunc-test-modules, ifunc-pie-tests): Define.
27172 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27173 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27174 (test-extras): Likewise.
27175 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27176 $(compile-command.c).
27177 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27178 (all-built-dso): Define.
27179 (check-textrel.out, check-execstack.out): Depend on it.
27180
77e8bddf
AS
27181 * configure.in: Don't override --enable-multi-arch.
27182
bc425b33
UD
271832011-01-15 Ulrich Drepper <drepper@gmail.com>
27184
27185 [BZ #6812]
27186 * nscd/hstcache.c (tryagain): Define.
27187 (cache_addhst): Return tryagain not notfound for temporary errors.
27188 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27189 failed.
27190
794c3ad3
UD
271912011-01-14 Ulrich Drepper <drepper@gmail.com>
27192
70181fdd
UD
27193 [BZ #10563]
27194 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27195 to make the syscall.
27196 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27197
794c3ad3
UD
27198 [BZ #12378]
27199 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27200 and fall back to matching as normal character if the string ends before
27201 the matching ']' is found. This is what POSIX requires.
27202 * posix/testfnm.c: Adjust test result.
27203 * posix/globtest.sh: Adjust test result. Add new test.
27204 * posix/tst-fnmatch.input: Likewise.
27205 * posix/tst-fnmatch2.c: Add new test.
27206
68dc9497
AS
272072010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27208
27209 * elf/Makefile (check-execstack): Revert last change. Depend on
27210 check-execstack.h.
27211 (check-execstack.h): New target.
27212 (generated): Add check-execstack.h.
27213 * elf/check-execstack.c: Include "check-execstack.h".
27214 (main): Revert last change.
27215 (handle_file): Return zero if GNU_STACK is absent and
27216 DEFAULT_STACK_PERMS doesn't include PF_X.
27217
451f001b
UD
272182011-01-13 Ulrich Drepper <drepper@gmail.com>
27219
cfa28e56
UD
27220 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27221 in child fails because the descriptor is already closed.
8cf8ce17
UD
27222 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27223 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27224 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27225
1086d70d
UD
27226 [BZ #12397]
27227 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27228 syscall.
27229
451f001b
UD
27230 [BZ #10484]
27231 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27232 temporary buffer used to handle multi lookups locally.
a85b5cb4 27233 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27234
08769175
UD
272352011-01-12 Ulrich Drepper <drepper@gmail.com>
27236
27237 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27238 loader is ld.so.
27239
5e49c52e
UD
272402011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27241
27242 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27243 alignment for SSE2.
27244
60522a5f
UD
272452011-01-12 Ulrich Drepper <drepper@gmail.com>
27246
27247 [BZ #12394]
27248 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27249 characters. When rounding increased number of integer digits recompute
27250 number of groups.
27251 * stdio-common/tst-grouping.c: New file.
27252 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27253
f257bbd7
UD
272542011-01-09 Ulrich Drepper <drepper@gmail.com>
27255
27256 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27257 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27258
27259 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27260 void.
27261 * bits/select.h: Likewise.
27262
fa9c15cb
UD
272632011-01-08 Ulrich Drepper <drepper@gmail.com>
27264
27265 * po/ja.po: Update from translation team.
27266
16c2895f
DM
272672011-01-04 David S. Miller <davem@sunset.davemloft.net>
27268
27269 [BZ #11155]
27270 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27271 implementation just like for lxstat, fxstatat, et al.
27272
2543fef2
JM
272732010-12-27 Jim Meyering <meyering@redhat.com>
27274
27275 [BZ #12348]
27276 * posix/regexec.c (build_trtable): Return failure indication upon
27277 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27278
98727dbe
UD
272792010-12-25 Ulrich Drepper <drepper@gmail.com>
27280
5bd6dc5c
UD
27281 [BZ #12201]
27282 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27283 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27284 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27285 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27286
97983464
UD
27287 [BZ #12207]
27288 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27289
98727dbe
UD
27290 [BZ #12204]
27291 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27292 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27293
4a531bb0
L
272942010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27295
27296 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27297 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27298 script has SORT_BY_INIT_PRIORITY.
27299 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27300 NO_CTORS_DTORS_SECTIONS is defined.
27301 * elf/soinit.c: Likewise.
27302 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27303 NO_CTORS_DTORS_SECTIONS is defined.
27304 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27305 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27306 * sysdeps/sh/init-first.c: Likewise.
27307 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27308
07eb4b71
UD
273092010-12-24 Ulrich Drepper <drepper@gmail.com>
27310
27311 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27312 always use the slow path.
27313
30950a5f
RA
273142010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27315
27316 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27317 similar rule which adds the sysdep directories to the header search in
27318 order to pick up the correct platform stackinfo.h.
27319 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27320 perform test if it is, otherwise return successfully without testing.
27321 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27322 DEFAULT_STACK_PERMS define in stackinfo.h.
27323 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27324 defined in stackinfo.h.
27325 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27326 DEFAULT_STACK_PERMS defined in stackinfo.h.
27327 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27328 * sysdeps/ia64/stackinfo.h: Likewise.
27329 * sysdeps/s390/stackinfo.h: Likewise.
27330 * sysdeps/sh/stackinfo.h: Likewise.
27331 * sysdeps/sparc/stackinfo.h: Likewise.
27332 * sysdeps/x86_64/stackinfo.h: Likewise.
27333 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27334 PF_X for powerpc64. Retain PF_X for powerpc32.
27335
db753e2c
UD
273362010-12-19 Ulrich Drepper <drepper@gmail.com>
27337
14b697f7
UD
27338 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27339 accurately.
db753e2c
UD
27340 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27341 GETDENTS_64BIT_ALIGNED.
27342
28300719
UD
273432010-12-14 Ulrich Drepper <dreper@gmail.com>
27344
14b697f7 27345 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27346
4f197237
AS
273472010-12-10 Andreas Schwab <schwab@redhat.com>
27348
dbb0472f
AS
27349 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27350 _GNU_SOURCE.
27351
4f197237
AS
27352 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27353 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27354 Remove __restrict.
27355 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27356 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27357
fb88ac72
UD
273582010-12-09 Ulrich Drepper <drepper@gmail.com>
27359
27360 [BZ #11655]
27361 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27362 are initialized.
27363
42acbb92
JJ
273642010-12-09 Jakub Jelinek <jakub@redhat.com>
27365
27366 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27367
c038d98d
UD
273682010-12-03 Ulrich Drepper <drepper@gmail.com>
27369
27370 * po/it.po: Update from translation team.
27371
3a4a2499
L
273722010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27373
27374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27375 unused codes.
27376
1e24cf6e
UD
273772010-11-30 Ulrich Drepper <drepper@gmail.com>
27378
27379 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27380
a7690819
AS
273812010-11-24 Andreas Schwab <schwab@redhat.com>
27382
27383 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27384 specially.
27385 (gaih_getanswer_slice): Likewise.
27386
3bf8d1b1
JJ
273872010-10-20 Jakub Jelinek <jakub@redhat.com>
27388
27389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27390
6db52fbb
PB
273912010-05-31 Petr Baudis <pasky@suse.cz>
27392
27393 [BZ #11149]
27394 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27395 silently even in the chroot mode.
27396
eaca7569
UD
273972010-11-22 Ulrich Drepper <drepper@gmail.com>
27398
27399 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27400 last patch a bit. Pretty printing
27401
3056dcdb
UD
274022010-05-31 Petr Baudis <pasky@suse.cz>
27403
27404 [BZ #10085]
27405 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27406 initialization of skip_initgroups_dyn.
27407
cf7c9078
UD
274082010-11-19 Ulrich Drepper <drepper@gmail.com>
27409
27410 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27411 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27412
a1fb5e3e
UD
274132010-11-16 Ulrich Drepper <drepper@gmail.com>
27414
27415 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27416
3540d66b
AS
274172010-11-11 Andreas Schwab <schwab@redhat.com>
27418
27419 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27420 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27421 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27422 ($(objpfx)tst-fnmatch-mem): New rule.
27423 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27424 * posix/tst-fnmatch.c (main): Call mtrace.
27425
13b69574
L
274262010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27427
27428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27429 Support Intel processor model 6 and model 0x2c.
27430
da93d214
LM
274312010-11-10 Luis Machado <luisgpm@br.ibm.com>
27432
27433 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27434 signed comparison.
27435
8ca52c6e
L
274362010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27437
27438 [BZ #12205]
27439 * string/test-strncasecmp.c (check_result): New function.
27440 (do_one_test): Use it.
27441 (check1): New function.
27442 (test_main): Use it.
27443 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27444 Support strcasecmp and strncasecmp.
27445
69da074d
UD
274462010-11-08 Ulrich Drepper <drepper@gmail.com>
27447
27448 [BZ #12194]
27449 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27450 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27451
ff02d528
L
274522010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27453
27454 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27455 IFUNC support.
27456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27457 memset-x86-64.
27458 * sysdeps/x86_64/multiarch/bzero.S: New file.
27459 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27460 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27461 * sysdeps/x86_64/multiarch/memset.S: New file.
27462 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27464 Set bit_Prefer_SSE_for_memop for Intel processors.
27465 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27466 Define.
27467 (index_Prefer_SSE_for_memop): Define.
27468 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27469
344d0b54
LM
274702010-11-04 Luis Machado <luisgpm@br.ibm.com>
27471
27472 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27473 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27474
c0dde15b
UD
274752010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27476
27477 [BZ #12191]
27478 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27479 (__x86_64_raw_data_cache_size_half): Likewise.
27480 (__x86_64_raw_shared_cache_size): Likewise.
27481 (__x86_64_raw_shared_cache_size_half): Likewise.
27482
27483 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27484 (__x86_64_raw_data_cache_size_half): Likewise.
27485 (__x86_64_raw_shared_cache_size): Likewise.
27486 (__x86_64_raw_shared_cache_size_half): Likewise.
27487 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27488 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27489 and __x86_64_raw_shared_cache_size_half. Round
27490 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27491 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27492 to multiple of 256 bytes.
27493
0e516e0e
MS
274942010-11-03 Ulrich Drepper <drepper@gmail.com>
27495
27496 [BZ #12167]
27497 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27498 of inacessible symlinks. Verify result of symlink before returning it.
27499 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27500 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27501
0e012e87
ER
275022010-10-28 Erich Ritz <erichritz@gmail.com>
27503
27504 * math/math.h (isinf): Fix typo in comment.
27505
de0ff7bc
UD
275062010-11-01 Ulrich Drepper <drepper@gmail.com>
27507
27508 * po/da.po: Update from translation team.
27509
fa41c84d
UD
275102010-10-26 Ulrich Drepper <drepper@gmail.com>
27511
27512 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27513 is added to the list.
27514
f0967738
AK
275152010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27516 Ulrich Drepper <drepper@gmail.com>
27517
27518 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27519 the global list here. Move code to...
27520 (_dl_add_to_namespace_list): ...here. New function.
27521 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27522 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27523 * elf/dl-load.c (lose): Don't remove the element from the list.
27524 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27525 (_dl_map_object): Likewise.
27526
275272010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27528
27529 [BZ #12159]
27530 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27531 into all bytes of SSE register.
27532 Patch by Richard Li <richardpku@gmail.com>.
27533
f0967738 275342010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27535
27536 [BZ #12140]
27537 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27538 perturbing.
27539
d0b9e94f
MB
275402010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27541
27542 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27543 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27544 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27545 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27547 submachine.
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27549
8e9f92e9
AS
275502010-10-22 Andreas Schwab <schwab@redhat.com>
27551
27552 * include/dlfcn.h (__RTLD_SECURE): Define.
27553 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27554 mode & __RTLD_SECURE instead.
27555 (open_path): Rename preloaded parameter to secure.
27556 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27557 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27558 * elf/dl-deps.c (openaux): Likewise.
27559 * elf/rtld.c (struct map_args): Remove is_preloaded.
27560 (map_doit): Don't use it.
27561 (dl_main): Likewise.
27562 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27563 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27564
bc96fbda
AS
275652010-09-09 Andreas Schwab <schwab@redhat.com>
27566
27567 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27568 (sysd-rules-targets): Remove duplicates.
27569 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27570 rtld-%.$o dependency.
27571
22cd1c9b
AS
275722010-10-18 Andreas Schwab <schwab@redhat.com>
27573
27574 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27575 _dl_map_object do it.
27576
18edac48
UD
275772010-10-19 Ulrich Drepper <drepper@gmail.com>
27578
27579 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27580 fast fma builtins, define the macros in the C99 standard.
27581 (FP_FAST_FMAF): Likewise.
27582 (FP_FAST_FMAL): Likewise.
27583 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27584
27585 * bits/mathdef.h: Update copyright year.
27586 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27587
d2050124
MM
275882010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27589
27590 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27591 builtins, define the macros in the C99 standard.
27592 (FP_FAST_FMAF): Likewise.
27593 (FP_FAST_FMAL): Likewise.
27594 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27595 multiply/add.
27596 (FP_FAST_FMAF): Likewise.
27597
475facd1
JJ
275982010-10-15 Jakub Jelinek <jakub@redhat.com>
27599
27600 [BZ #3268]
27601 * math/libm-test.inc (fma_test): Some new testcases.
27602 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27603 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27604 y and infinite z. Do multiplication by C already in long double.
27605 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27607 y and infinite z. Do bitwise or of inexact bit into u.d.
27608 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27609 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27610 * sysdeps/i386/fpu/s_fma.S: Removed.
27611 * sysdeps/i386/fpu/s_fmal.S: Removed.
27612
7c08a05c
JJ
276132010-10-16 Jakub Jelinek <jakub@redhat.com>
27614
27615 [BZ #3268]
27616 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27618 computation is not scheduled after fetestexcept. Fix value
27619 of minimum denormal long double.
27620
f3f7372d
JJ
276212010-10-14 Jakub Jelinek <jakub@redhat.com>
27622
27623 [BZ #3268]
27624 * math/libm-test.inc (fma_test): Add some more tests.
27625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27626 correctly.
27627
14d43591
AS
276282010-10-15 Andreas Schwab <schwab@redhat.com>
27629
27630 * scripts/data/localplt-s390-linux-gnu.data: New file.
27631 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27632
5e908464
JJ
276332010-10-13 Jakub Jelinek <jakub@redhat.com>
27634
27635 [BZ #3268]
27636 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27637 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27638 instead of dbl-64.
27639 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27640 inlines.
27641 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27643 if one of x and y is very large and the other is subnormal.
27644 * sysdeps/s390/fpu/s_fmaf.c: New file.
27645 * sysdeps/s390/fpu/s_fma.c: New file.
27646 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27647 * sysdeps/powerpc/fpu/s_fma.S: New file.
27648 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27649 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27650 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27651
276522010-10-12 Jakub Jelinek <jakub@redhat.com>
27653
27654 [BZ #3268]
27655 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27656 fma tests.
27657 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27658 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27659 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27660 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27661 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27662 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27663 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27664
b833d51f
UD
276652010-10-12 Ulrich Drepper <drepper@redhat.com>
27666
27667 [BZ #12078]
27668 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27669 * posix/bug-regex31.input: Add test case.
27670
1751705d
UD
276712010-10-11 Ulrich Drepper <drepper@gmail.com>
27672
e9b9cbf5
UD
27673 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27674 * posix/bug-regex31.input: New file.
27675
27676 [BZ #12078]
27677 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27678 (parse_sub_exp): Fix last change, use postorder.
27679
ef06edbe
UD
27680 * posix/bug-regex31.c: New file.
27681 * posix/Makefile: Add rules to build and run bug-regex31.
27682
a129c80d
UD
27683 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27684
27685 [BZ #12078]
27686 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27687
b76b818e
UD
27688 [BZ #12108]
27689 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27690 to have entries in sys_siglist.
27691
1751705d
UD
27692 [BZ #12093]
27693 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27694 be NULL.
27695
9ff8d36f
JJ
276962010-10-07 Jakub Jelinek <jakub@redhat.com>
27697
27698 [BZ #3268]
27699 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27700 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27701 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27702 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27703 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27704 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27705 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27706 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27707 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27708 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27709 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27710 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27711 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27712 * math/ftestexcept.c (fetestexcept): Likewise.
27713 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27714 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27715 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27716 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27717 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27718 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27719 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27720
af325969
UD
277212010-10-11 Ulrich Drepper <drepper@gmail.com>
27722
c579b202 27723 [BZ #12107]
af325969
UD
27724 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27725 newline.
27726
67a67b95
UD
277272010-10-06 Ulrich Drepper <drepper@gmail.com>
27728
27729 * string/bug-strstr1.c: New file.
27730 * string/Makefile: Add rules to build and run bug-strstr1.
27731
5fb308bc
EB
277322010-10-05 Eric Blake <eblake@redhat.com>
27733
27734 [BZ #12092]
27735 * string/str-two-way.h (two_way_long_needle): Always clear memory
27736 when skipping input due to the shift table.
27737
45db99c7
UD
277382010-10-03 Ulrich Drepper <drepper@gmail.com>
27739
3b111893
UD
27740 [BZ #12005]
27741 * malloc/mcheck.c: Handle large requests.
27742
45db99c7
UD
27743 [BZ #12077]
27744 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27745 for strncmp and strncasecmp.
27746 * string/stratcliff.c: Add tests for strcmp and strncmp.
27747 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27748
cf7a1eb8
NI
277492010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27750
27751 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27752 __set_fpscr.
27753
6484ba5e
AJ
277542010-09-30 Andreas Jaeger <aj@suse.de>
27755
27756 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27757 (CGROUP_SUPER_MAGIC): Define.
27758 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27759 Handle btrfs and cgroup file systems.
27760 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27761 Likewise.
27762
91c42559
LM
277632010-09-27 Luis Machado <luisgpm@br.ibm.com>
27764
27765 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27766 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27767
87a97932
AK
277682010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27769
27770 [BZ #12067]
27771 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27772 trying to locate the ELF header.
27773
c21cc9bc
AS
277742010-09-27 Andreas Schwab <schwab@redhat.com>
27775
27776 [BZ #11611]
27777 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27778 Mask out sign-bit copies when constructing f_fsid.
27779
315970f6
PB
277802010-09-24 Petr Baudis <pasky@suse.cz>
27781
27782 * debug/stack_chk_fail_local.c: Add missing licence exception.
27783 * debug/warning-nop.c: Likewise.
27784
1ac7a2c7
JM
277852010-09-15 Joseph Myers <joseph@codesourcery.com>
27786
27787 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27788 implementing getdents64 using getdents syscall, set d_type if
27789 __ASSUME_GETDENTS32_D_TYPE.
27790
56801c50
AS
277912010-09-16 Andreas Schwab <schwab@redhat.com>
27792
27793 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27794 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27795
dda51327
UD
277962010-09-21 Ulrich Drepper <drepper@redhat.com>
27797
27798 [BZ #12037]
27799 * posix/unistd.h: Undo change of feature selection for ftruncate from
27800 2010-01-11.
27801
8ffcee4a
UD
278022010-09-20 Ulrich Drepper <drepper@redhat.com>
27803
a545ecd9 27804 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27805 detection.
27806
e24f0a8b
AS
278072010-09-20 Andreas Schwab <schwab@redhat.com>
27808
27809 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27810 fanotify_mark.
27811 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27812
7291c56f
AS
278132010-09-14 Andreas Schwab <schwab@redhat.com>
27814
27815 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27816 variables after CHECK_SP call.
27817 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27818
bc5fb037
AS
278192010-09-13 Andreas Schwab <schwab@redhat.com>
27820 Ulrich Drepper <drepper@redhat.com>
27821
27822 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27823 re-relocationg ld.so.
27824 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27825 _dl_init_paths call.
27826 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27827 here anymore.
27828
e66e7419
UD
278292010-09-14 Ulrich Drepper <drepper@redhat.com>
27830
27831 * resolv/res_init.c (__res_vinit): Count the default server we added.
27832
c044aa75
CLT
278332010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27834 Ulrich Drepper <drepper@redhat.com>
27835
27836 [BZ #11968]
27837 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27838 (____longjmp_chk): Use %ebx for saving value across system call.
27839 Add unwind info.
27840
32cf4069
AS
278412010-09-06 Andreas Schwab <schwab@redhat.com>
27842
27843 * manual/Makefile: Don't mix pattern rules with normal rules.
27844
817328ee
AS
278452010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27846
27847 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27848 operation.
27849 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27850 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27851 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27852 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27853 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27854 Likewise.
27855
29fddf61
UD
278562010-09-04 Ulrich Drepper <drepper@redhat.com>
27857
27858 [BZ #11979]
27859 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27860 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27861
0959ffc9
UD
278622010-09-02 Ulrich Drepper <drepper@redhat.com>
27863
27864 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27865 * sysdeps/x86_64/addmul_1.S: Likewise.
27866 * sysdeps/x86_64/lshift.S: Likewise.
27867 * sysdeps/x86_64/mul_1.S: Likewise.
27868 * sysdeps/x86_64/rshift.S: Likewise.
27869 * sysdeps/x86_64/sub_n.S: Likewise.
27870 * sysdeps/x86_64/submul_1.S: Likewise.
27871
ece29840
ST
278722010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27873
0959ffc9
UD
27874 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27875 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27876 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27877 * bits/sched.h [__need_schedparam]
ece29840 27878 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27879 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27880 (__defined_schedparam): Define to 1.
ece29840
ST
27881 (__sched_param): New structure, identical to sched_param.
27882 (__need_schedparam): Undefine.
27883
e53a31fe
MF
278842010-08-31 Mike Frysinger <vapier@gentoo.org>
27885
fdc0c10d
MF
27886 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27887 (epoll_create1): Declare.
27888
e53a31fe
MF
27889 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27890
a726d796
AS
278912010-08-31 Andreas Schwab <schwab@redhat.com>
27892
27893 [BZ #7066]
27894 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27895 shifting retval into place.
27896
2f3e3dc7
UD
278972010-09-01 Ulrich Drepper <drepper@redhat.com>
27898
f2933da9
UD
27899 * nis/rpcsvc/nis.h: Update copyright notice.
27900 * nis/rpcsvc/nis.x: Likewise.
27901 * nis/rpcsvc/nis_callback.h: Likewise.
27902 * nis/rpcsvc/nis_callback.x: Likewise.
27903 * nis/rpcsvc/nis_object.x: Likewise.
27904 * nis/rpcsvc/nis_tags.h: Likewise.
27905 * nis/rpcsvc/yp.h: Likewise.
27906 * nis/rpcsvc/yp.x: Likewise.
27907 * nis/rpcsvc/ypupd.h: Likewise.
27908 * nis/yp_xdr.c: Likewise.
27909 * nis/ypupdate_xdr.c: Likewise.
27910
2f3e3dc7
UD
27911 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27912 mainly the body of pmap_getport. Add parameters to specify timeouts.
27913 (pmap_getport): Use __libc_rpc_getport.
27914 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27915 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27916 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27917
f3dcc2f9
AS
279182010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27919
27920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27921 fanotify_mark.
27922
6d34eb5b
RM
279232010-08-27 Roland McGrath <roland@redhat.com>
27924
27925 * sysdeps/i386/i686/multiarch/Makefile
27926 (CFLAGS-varshift.c): New variable.
27927
9ea3de11
UD
279282010-08-27 Ulrich Drepper <drepper@redhat.com>
27929
c96d23fc
UD
27930 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27931 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27932
9ea3de11
UD
27933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27934
27935 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27936
623aac7f
L
279372010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27938
27939 * sysdeps/x86_64/strlen.S: Unroll the loop.
27940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27941 strlen-sse2 strlen-sse2-bsf.
27942 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27943 __strlen_no_bsf if bit_Slow_BSF is set.
27944 (__strlen_sse42): Removed.
27945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27946 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27947
8b2b7715
RM
279482010-08-25 Roland McGrath <roland@redhat.com>
27949
27950 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27951 * sysdeps/x86_64/multiarch/varshift.c: New file.
27952 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27953 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27954 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27955 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27956
e73015f2
L
279572010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27958
27959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27960 strlen-sse2 strlen-sse2-bsf.
27961 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27962 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27963 (__strlen_sse2): Removed.
27964 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27965 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27967 bit_Slow_BSF for Atom.
27968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27969 (index_Slow_BSF): Define.
27970 (HAS_SLOW_BSF): Define.
27971
df24a73e
UD
279722010-08-25 Ulrich Drepper <drepper@redhat.com>
27973
27974 [BZ #10851]
27975 * resolv/res_init.c (__res_vinit): When no server address at all
27976 is given default to loopback.
27977
f2ac4868
RM
279782010-08-24 Roland McGrath <roland@redhat.com>
27979
09055553
RM
27980 * configure.in: Remove config-name.h generation.
27981 * configure: Regenerated.
27982 * config-name.in: File removed.
27983 * scripts/config-uname.sh: New file.
27984 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27985 ($(objdir)config-name.h): New target.
27986
f2ac4868
RM
27987 * sunrpc/rpc_parse.h: Avoid nested comment.
27988
73f27d5e
RH
279892010-08-24 Richard Henderson <rth@redhat.com>
27990 Ulrich Drepper <drepper@redhat.com>
27991 H.J. Lu <hongjiu.lu@intel.com>
27992
27993 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27995 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27996 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27997 _mm_alignr_epi8 with _mm_loadu_si128.
27998 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27999 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28000 (__m128i_shift_right): Removed.
28001 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28002 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28003 * sysdeps/x86_64/multiarch/varshift.h: New file.
28004 * sysdeps/x86_64/multiarch/varshift.S: New file.
28005
84b9230c
MF
280062010-08-21 Mike Frysinger <vapier@gentoo.org>
28007
28008 * configure.in: Move assembler checks to before sysdep dir checking.
28009
9bbd0ddc
PB
280102010-08-20 Petr Baudis <pasky@suse.cz>
28011
28012 * LICENSES: Sync the sunrpc license.
28013
9da4bb31
UD
280142010-08-19 Ulrich Drepper <drepper@redhat.com>
28015
a7ab6ec8
UD
28016 * sunrpc/auth_des.c: Update copyright notice once again.
28017 * sunrpc/auth_none.c: Likewise.
28018 * sunrpc/auth_unix.c: Likewise.
28019 * sunrpc/authdes_prot.c: Likewise.
28020 * sunrpc/authuxprot.c: Likewise.
28021 * sunrpc/bindrsvprt.c: Likewise.
28022 * sunrpc/clnt_gen.c: Likewise.
28023 * sunrpc/clnt_perr.c: Likewise.
28024 * sunrpc/clnt_raw.c: Likewise.
28025 * sunrpc/clnt_simp.c: Likewise.
28026 * sunrpc/clnt_tcp.c: Likewise.
28027 * sunrpc/clnt_udp.c: Likewise.
28028 * sunrpc/clnt_unix.c: Likewise.
28029 * sunrpc/des_crypt.c: Likewise.
28030 * sunrpc/des_soft.c: Likewise.
28031 * sunrpc/get_myaddr.c: Likewise.
28032 * sunrpc/getrpcport.c: Likewise.
28033 * sunrpc/key_call.c: Likewise.
28034 * sunrpc/key_prot.c: Likewise.
28035 * sunrpc/openchild.c: Likewise.
28036 * sunrpc/pm_getmaps.c: Likewise.
28037 * sunrpc/pm_getport.c: Likewise.
28038 * sunrpc/pmap_clnt.c: Likewise.
28039 * sunrpc/pmap_prot.c: Likewise.
28040 * sunrpc/pmap_prot2.c: Likewise.
28041 * sunrpc/pmap_rmt.c: Likewise.
28042 * sunrpc/rpc/auth.h: Likewise.
28043 * sunrpc/rpc/auth_unix.h: Likewise.
28044 * sunrpc/rpc/clnt.h: Likewise.
28045 * sunrpc/rpc/des_crypt.h: Likewise.
28046 * sunrpc/rpc/key_prot.h: Likewise.
28047 * sunrpc/rpc/netdb.h: Likewise.
28048 * sunrpc/rpc/pmap_clnt.h: Likewise.
28049 * sunrpc/rpc/pmap_prot.h: Likewise.
28050 * sunrpc/rpc/pmap_rmt.h: Likewise.
28051 * sunrpc/rpc/rpc.h: Likewise.
28052 * sunrpc/rpc/rpc_des.h: Likewise.
28053 * sunrpc/rpc/rpc_msg.h: Likewise.
28054 * sunrpc/rpc/svc.h: Likewise.
28055 * sunrpc/rpc/svc_auth.h: Likewise.
28056 * sunrpc/rpc/types.h: Likewise.
28057 * sunrpc/rpc/xdr.h: Likewise.
28058 * sunrpc/rpc_clntout.c: Likewise.
28059 * sunrpc/rpc_cmsg.c: Likewise.
28060 * sunrpc/rpc_common.c: Likewise.
28061 * sunrpc/rpc_cout.c: Likewise.
28062 * sunrpc/rpc_dtable.c: Likewise.
28063 * sunrpc/rpc_hout.c: Likewise.
28064 * sunrpc/rpc_main.c: Likewise.
28065 * sunrpc/rpc_parse.c: Likewise.
28066 * sunrpc/rpc_parse.h: Likewise.
28067 * sunrpc/rpc_prot.c: Likewise.
28068 * sunrpc/rpc_sample.c: Likewise.
28069 * sunrpc/rpc_scan.c: Likewise.
28070 * sunrpc/rpc_scan.h: Likewise.
28071 * sunrpc/rpc_svcout.c: Likewise.
28072 * sunrpc/rpc_tblout.c: Likewise.
28073 * sunrpc/rpc_util.c: Likewise.
28074 * sunrpc/rpc_util.h: Likewise.
28075 * sunrpc/rpcinfo.c: Likewise.
28076 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28077 * sunrpc/rpcsvc/key_prot.x: Likewise.
28078 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28079 * sunrpc/rpcsvc/mount.x: Likewise.
28080 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28081 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28082 * sunrpc/rpcsvc/rex.x: Likewise.
28083 * sunrpc/rpcsvc/rstat.x: Likewise.
28084 * sunrpc/rpcsvc/rusers.x: Likewise.
28085 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28086 * sunrpc/rpcsvc/spray.x: Likewise.
28087 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28088 * sunrpc/rtime.c: Likewise.
28089 * sunrpc/svc.c: Likewise.
28090 * sunrpc/svc_auth.c: Likewise.
28091 * sunrpc/svc_authux.c: Likewise.
28092 * sunrpc/svc_raw.c: Likewise.
28093 * sunrpc/svc_run.c: Likewise.
28094 * sunrpc/svc_simple.c: Likewise.
28095 * sunrpc/svc_tcp.c: Likewise.
28096 * sunrpc/svc_udp.c: Likewise.
28097 * sunrpc/svc_unix.c: Likewise.
28098 * sunrpc/svcauth_des.c: Likewise.
28099 * sunrpc/xcrypt.c: Likewise.
28100 * sunrpc/xdr.c: Likewise.
28101 * sunrpc/xdr_array.c: Likewise.
28102 * sunrpc/xdr_float.c: Likewise.
28103 * sunrpc/xdr_mem.c: Likewise.
28104 * sunrpc/xdr_rec.c: Likewise.
28105 * sunrpc/xdr_ref.c: Likewise.
28106 * sunrpc/xdr_sizeof.c: Likewise.
28107 * sunrpc/xdr_stdio.c: Likewise.
28108
9da4bb31
UD
28109 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28110 handling.
28111
bdaa77bc
AS
281122010-08-19 Andreas Schwab <schwab@redhat.com>
28113
28114 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28115
fe2f79db
LM
281162010-08-19 Luis Machado <luisgpm@br.ibm.com>
28117
28118 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28119 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28120 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28121 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28122 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28123 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28124 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28125 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28126 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28127 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28128 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28129 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28130 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28131 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28132
b9b42ee0
AB
281332010-07-26 Anton Blanchard <anton@samba.org>
28134
28135 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28136 * malloc/arena.c (heap_trim): Likewise.
28137
1c06ba31
UD
281382010-08-16 Ulrich Drepper <drepper@redhat.com>
28139
28140 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28141 here. Not...
28142 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28143 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28144
f8392f40
L
281452010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28146
28147 * sysdeps/i386/elf/Makefile: New file.
28148
3162f12e
AS
281492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28150
28151 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28152 from fanotify_init.
28153 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28155
28c90b2c
UD
281562010-08-15 Ulrich Drepper <drepper@redhat.com>
28157
28158 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28159 of strncasecmp_l.
1feccb6c 28160 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28161
ca6bb004
UD
281622010-08-14 Ulrich Drepper <drepper@redhat.com>
28163
e9f82e0d
UD
28164 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28165 strncase_l-nonascii.
28166 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28167 Add strncase_l-ssse3.
28168 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28169 * sysdeps/x86_64/strcmp.S: Likewise.
28170 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28171 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28172 * sysdeps/x86_64/strncase.S: New file.
28173 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28174 * sysdeps/x86_64/strncase_l.S: New file.
28175 * string/Makefile (strop-tests): Add strncasecmp.
28176 * string/test-strncasecmp.c: New file.
28177
28178 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28179 warning.
28180
ca6bb004
UD
28181 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28182 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28183
052fa7b3
AS
281842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28185
28186 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28187
962dba78
UD
281882010-08-12 Ulrich Drepper <drepper@redhat.com>
28189
28190 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28191 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28192 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28193
bebff237
AM
281942010-05-01 Alan Modra <amodra@gmail.com>
28195
28196 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28197 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28198 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28199 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28200 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28201 tidying. Don't tail-call __sigjmp_save for static lib.
28202 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28203 save location.
28204 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28205 (CALL_MCOUNT): Add eh info, and nop after bl.
28206 (TAIL_CALL_SYSCALL_ERROR): New macro.
28207 (PSEUDO_RET): Use it.
28208 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28209 Correct save location of integer regs and cr.
28210 (_dl_profile_resolve): Correct cr save location. Delete nops
28211 after bl when SHARED. Reduce cfi size a little by better
28212 placement of cfi directives.
28213 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28214 make a stack frame. Instead use parm save area as a temp.
28215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28216 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28218 Don't make a stack frame for parent, use parm save area.
28219 Increase child stack frame to 112 bytes. Don't save unused reg,
28220 and adjust reg usage. Set up cfi on error recovery and
28221 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28223 (__makecontext): Add dummy nop after jump to exit.
28224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28225 Use correct parm save area and cr save, reduce stack frame.
28226 Correct cfi for possible PSEUDO_RET frame setup.
28227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28228 Branch to local label emitted by PSEUDO_RET rather than
28229 __syscall_error.
28230
02637374
AS
282312010-08-12 Andreas Schwab <schwab@redhat.com>
28232
28233 [BZ #11904]
28234 * locale/programs/locale.c (print_assignment): New function.
28235 (show_locale_vars): Use it.
28236
c3e2f19b
UD
282372010-08-11 Ulrich Drepper <drepper@redhat.com>
28238
3cdaa6ad
UD
28239 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28240 field.
28241 (struct statfs64): Likewise.
28242 (_STATFS_F_FLAGS): Define.
28243 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28244 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28245 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28246 (ST_VALID): Define locally.
28247 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28248 __statvfs_getflags, use the provided value.
28249 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28250 __ASSUME_STATFS_F_FLAGS.
28251
754f7da3
UD
28252 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28253
10b3bedc
UD
28254 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28255 Add sys/fanotify.h.
28256 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28257 fanotify_mask for GLIBC_2.13.
28258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28259 fanotify_init and fanotify_mark.
28260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28261 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28262
c08fb0d7
UD
28263 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28264 Add prlimit.
28265 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28266 prlimit64 for GLIBC_2.13.
28267 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28268 prlimit64.
28269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28270 syscall.
28271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28272 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28273 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28274 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28276 add prlimit alias.
28277 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28278
15bac72b
UD
28279 [BZ #11903]
28280 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28281 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28282
c3e2f19b
UD
28283 * nss/Makefile: Add rules to build and run tst-nss-test1.
28284 * shlib-versions: Add entry for libnss_test1.
28285 * nss/nss_test1.c: New file.
28286 * nss/tst-nss-test1.c: New file.
28287
28288 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28289 (__nss_configure_lookup): Set appropriate entry in
28290 __nss_configure_lookup to true.
28291 * nss/nsswitch.h: Define enum with indeces of databases in
28292 databases and __nss_database_custom arrays. Declare
28293 __nss_database_custom.
28294 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28295 to avoid using nscd when custom rules are installed.
28296 * nss/getXXbyYY_r.c: Likewise.
28297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28298
28299 * nss/nss_files/files-parse.c: Whitespace fixes.
28300
f15ce4d8
UD
283012010-08-09 Ulrich Drepper <drepper@redhat.com>
28302
28303 [BZ #11883]
28304 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28305 * posix/fnmatch_loop.c: Likewise.
28306
d22e4cc9
AK
283072010-07-17 Andi Kleen <ak@linux.intel.com>
28308
28309 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28310 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28311 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28312 * Versions.def [GLIBC_2.13]: Add.
28313
805bc17d
UD
283142010-08-06 Ulrich Drepper <drepper@redhat.com>
28315
28316 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28317 Also fail if tpwd after pwuid call is NULL.
28318
5a42321d
ST
283192010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28320
28321 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28322 when converting to ms.
28323
fd3ebeda
ST
283242010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28325
28326 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28327 EOPNOTSUPP errors with ENOTTY.
28328 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28329 EOPNOTSUPP errors with ENOTTY.
28330
73507d3a
UD
283312010-07-31 Ulrich Drepper <drepper@redhat.com>
28332
28333 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28334 Add strcasecmp_l-ssse3.
28335 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28336 strcasecmp.
28337 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28338 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28339 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28340
fe36dd02
UD
283412010-07-30 Ulrich Drepper <drepper@redhat.com>
28342
66f6765a
UD
28343 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28344
42e08a54
UD
28345 * string/Makefile (strop-tests): Add strcasecmp.
28346 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28347 strcasecmp_l-nonascii.
28348 (gen-as-const-headers): Add locale-defines.sym.
28349 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28350 * sysdeps/x86_64/strcasecmp.S: New file.
28351 * sysdeps/x86_64/strcasecmp_l.S: New file.
28352 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28353 * sysdeps/x86_64/locale-defines.sym: New file.
28354 * string/test-strcasecmp.c: New file.
28355
fe36dd02
UD
28356 * string/test-strcasestr.c: Test both ends of the range of characters.
28357 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28358
48cbc0d6
RM
283592010-07-29 Roland McGrath <roland@redhat.com>
28360
76e6d6bc 28361 [BZ #11856]
48cbc0d6
RM
28362 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28363
880113d9
UD
283642010-07-27 Ulrich Drepper <drepper@redhat.com>
28365
28366 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28367 for ld.so.
28368
deb9cabb
AS
283692010-07-27 Andreas Schwab <schwab@redhat.com>
28370
28371 * manual/memory.texi (Malloc Tunable Parameters): Document
28372 M_PERTURB.
28373
1c7570ff
RM
283742010-07-26 Roland McGrath <roland@redhat.com>
28375
28376 [BZ #11840]
28377 * configure.in (-fgnu89-inline check): Set and substitute
28378 gnu89_inline, not libc_cv_gnu89_inline.
28379 * configure: Regenerated.
28380 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28381
24fb0f88
UD
283822010-07-26 Ulrich Drepper <drepper@redhat.com>
28383
28384 * string/test-strnlen.c: New file.
28385 * string/Makefile (strop-tests): Add strnlen.
28386 * string/tester.c (test_strnlen): Add a few more test cases.
28387 * string/tst-strlen.c: Better error reporting.
28388
28389 * sysdeps/x86_64/strnlen.S: New file.
28390
8e96b93a
UD
283912010-07-24 Ulrich Drepper <drepper@redhat.com>
28392
28393 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28394 lower-latency instructions.
28395
dbc676d4
UD
283962010-07-23 Ulrich Drepper <drepper@redhat.com>
28397
28398 * string/test-strcasestr.c: New file.
28399 * string/test-strstr.c: New file.
28400 * string/Makefile (strop-tests): Add strstr and strcasestr.
28401 * string/str-two-way.h: Don't undefine MAX.
28402 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28403
f6a31e0e
AS
284042010-07-21 Andreas Schwab <schwab@redhat.com>
28405
28406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28407 strcasestr-nonascii.
28408 (CFLAGS-strcasestr-nonascii.c): Define.
28409 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28410 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28411 Remove unused attribute.
28412
5dbc3b6c
RM
284132010-07-20 Roland McGrath <roland@redhat.com>
28414
28415 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28416 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28417 ld.so.cache was broken. With it, there is no way to disable dsocaps
28418 like LD_HWCAP_MASK can disable hwcaps.
28419
23d101d8
EPM
284202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28421
28422 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28423
cc9f2e47
UD
284242010-07-16 Ulrich Drepper <drepper@redhat.com>
28425
28426 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28427 call in strcasestr.
28428 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28429 __strcasestr_sse42_nonascii.
28430 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28431 strcasestr-nonascii.c.
28432 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28433
77c1b069
LM
284342010-06-15 Luis Machado <luisgpm@br.ibm.com>
28435
28436 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28437 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28438 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28439 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28440
440566c3
UD
284412010-07-09 Ulrich Drepper <drepper@redhat.com>
28442
28443 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28444 fcntl.
28445
5be9d05d
AS
284462010-07-06 Andreas Schwab <schwab@redhat.com>
28447
c30b7ee2 28448 [BZ #11577]
5be9d05d
AS
28449 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28450 dl_signal_cerror.
28451
8a492a67
UD
284522010-07-06 Ulrich Drepper <drepper@redhat.com>
28453
28454 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28455 _PC_PIPE_BUF using F_GETPIPE_SZ.
28456
713df3d5
RM
284572010-07-05 Roland McGrath <roland@redhat.com>
28458
28459 * manual/arith.texi (Rounding Functions): Fix rint description
28460 implicit in round description.
28461
702e8f14
UD
284622010-07-02 Ulrich Drepper <drepper@redhat.com>
28463
28464 * elf/Makefile: Fix linking for a few tests to make recent linker
28465 happy.
28466
52ed8be9
AS
284672010-06-30 Andreas Schwab <schwab@redhat.com>
28468
28469 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28470 $(common-objpfx)libc_nonshared.a.
28471
f47c9a11
LM
284722010-06-21 Luis Machado <luisgpm@br.ibm.com>
28473
28474 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28475 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28476 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28477 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28478 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28479 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28480 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28481 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28496 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28497 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28498 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28499 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28500 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28501 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28502 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28503 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28504 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28505 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28506 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28507 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28522
6fb8cbcb
L
285232010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28524
28525 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28526 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28527 * string/memmove.c (memmove): Renamed to ...
28528 (MEMMOVE): ...this. Default to memmove.
28529 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28530 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28531 (END_CHK): Define.
28532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28533 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28534 mempcpy-ssse3-back memmove-ssse3-back.
28535 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28536 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28538 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28539 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28540 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28541 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28542 * sysdeps/x86_64/multiarch/memmove.c: New file.
28543 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28544 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28545 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28546 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28547 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28548 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28549 Define.
28550 (index_Fast_Copy_Backward): Define.
28551 (HAS_ARCH_FEATURE): Define.
28552 (HAS_FAST_REP_STRING): Define.
28553 (HAS_FAST_COPY_BACKWARD): Define.
28554
4e733bac 285552010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28556
28557 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28558 Restore proper fallback handling.
28559
63c4ed22
UD
285602010-06-19 Ulrich Drepper <drepper@redhat.com>
28561
ac2b484c
UD
28562 [BZ #11701]
28563 * posix/group_member.c (__group_member): Correct checking loop.
28564
63c4ed22
UD
28565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28566 OOM in getpwuid_r correctly. Return error number when the caller
28567 should return, otherwise -1.
28568 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28569 call returning > 0 value.
28570 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28571
765ade4b
AS
285722010-06-07 Andreas Schwab <schwab@redhat.com>
28573
28574 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28575 libc_nonshared.a from targets in modules-names.
28576
80da2e09
KS
285772010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28578
28579 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28580 requires it.
28581
158db122
LM
285822010-06-10 Luis Machado <luisgpm@br.ibm.com>
28583
28584 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28585 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28588
caa78cf8
AS
285892010-06-02 Andreas Schwab <schwab@redhat.com>
28590
28591 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28592
b2ef2c01
UD
285932010-06-14 Ulrich Drepper <drepper@redhat.com>
28594
28595 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28596 and F_GETPIPE_SZ.
28597 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28598 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28602 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28603
fbd643b6
RM
286042010-06-14 Roland McGrath <roland@redhat.com>
28605
28606 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28607
f32f2869
JJ
286082010-06-07 Jakub Jelinek <jakub@redhat.com>
28609
28610 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28611 __REDIRECT followed by __THROW.
28612 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28613 * posix/getopt.h (getopt): Likewise.
28614
2a50c078
EPM
286152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28616
28617 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28618 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28619 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28620 in AT_FLAGS.
28621 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28622 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28623
eb5ad2eb
LM
286242010-05-28 Luis Machado <luisgpm@br.ibm.com>
28625
28626 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28627
3c88fe1e
L
286282010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28629
28630 [BZ #11640]
28631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28632 Properly check family and model.
28633
d2f73151
TY
286342010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28635
28636 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28637
ebd2e13d
LM
286382010-05-24 Luis Machado <luisgpm@br.ibm.com>
28639
28640 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28641
b32b8b45
UD
286422010-05-21 Ulrich Drepper <drepper@redhat.com>
28643
28644 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28645 symbol reference.
28646
9acbe24d
AS
286472010-05-19 Andreas Schwab <schwab@redhat.com>
28648
28649 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28650 symbol reference.
28651
f0ccf6ea
AS
286522010-05-21 Andreas Schwab <schwab@redhat.com>
28653
3d04ff3a
AS
28654 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28655 and internal_recvmmsg.
28656 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28657 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28658 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28659 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28660
f0ccf6ea
AS
28661 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28662 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28663 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28664
5b08ac57
AS
286652010-05-20 Andreas Schwab <schwab@redhat.com>
28666
28667 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28668
4828935d
LM
286692010-05-17 Luis Machado <luisgpm@br.ibm.com>
28670
28671 POWER7 optimizations.
28672 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28673 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28674
373d545e
UD
286752010-05-19 Ulrich Drepper <drepper@redhat.com>
28676
28677 * version.h: Update for 2.13 development version.
28678
21a2b1ae
AS
286792010-05-12 Andrew Stubbs <ams@codesourcery.com>
28680
28681 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28682 exceptions. Return 0.
28683
3f7dcb2b
RM
286842010-05-07 Roland McGrath <roland@redhat.com>
28685
28686 * elf/ldconfig.c (main): Add a const.
28687
5f24d53a 286882010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28689
a160f8d8
UD
28690 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28691 (args_options): Add no-idn option.
28692 (ahosts_keys_int): Add idn_flags to ai_flags.
28693 (parse_option): Handle 'i' option to clear idn_flags.
28694
5f24d53a
UD
28695 * malloc/malloc.c (_int_free): Possible race in the most recently
28696 added check. Only act on the data if no current modification
28697 happened.
265bb1ce
UD
28698
28699See ChangeLog.17 for earlier changes.
This page took 3.654633 seconds and 5 git commands to generate.